Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/shopify-buy

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/shopify-buy - npm Package Compare versions

Comparing version 2.17.1 to 2.17.2

215

shopify-buy/index.d.ts

@@ -332,90 +332,91 @@ // Type definitions for shopify-buy 2.17

enum ArticleSortKeys {
AUTHOR = 'author',
BLOG_TITLE = 'blog_title',
ID = 'id',
PUBLISHED_AT = 'published_at',
RELEVANCE = 'query',
TITLE = 'title',
UPDATED_AT = 'updated_at',
AUTHOR = "author",
BLOG_TITLE = "blog_title",
ID = "id",
PUBLISHED_AT = "published_at",
RELEVANCE = "query",
TITLE = "title",
UPDATED_AT = "updated_at",
}
enum BlogSortKeys {
HANDLE = 'HANDLE',
ID = 'id',
RELEVANCE = 'query',
TITLE = 'title',
HANDLE = "HANDLE",
ID = "id",
RELEVANCE = "query",
TITLE = "title",
}
enum CardBrand {
AMERICAN_EXPRESS = 'AMERICAN_EXPRESS',
DINERS_CLUB = 'DINERS_CLUB',
DISCOVER = 'DISCOVER',
ELO = 'ELO',
JCB = 'JCB',
MASTERCARD = 'MASTERCARD',
UNIONPAY = 'UNIONPAY',
VISA = 'VISA',
AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
DINERS_CLUB = "DINERS_CLUB",
DISCOVER = "DISCOVER",
ELO = "ELO",
JCB = "JCB",
MASTERCARD = "MASTERCARD",
UNIONPAY = "UNIONPAY",
VISA = "VISA",
}
enum CartErrorCode {
INVALID = 'INVALID',
INVALID_MERCHANDISE_LINE = 'INVALID_MERCHANDISE_LINE',
LESS_THAN = 'LESS_THAN',
MISSING_DISCOUNT_CODE = 'MISSING_DISCOUNT_CODE',
MISSING_NOTE = 'MISSING_NOTE',
INVALID = "INVALID",
INVALID_MERCHANDISE_LINE = "INVALID_MERCHANDISE_LINE",
LESS_THAN = "LESS_THAN",
MISSING_DISCOUNT_CODE = "MISSING_DISCOUNT_CODE",
MISSING_NOTE = "MISSING_NOTE",
}
enum CheckoutErrorCode {
ALREADY_COMPLETED = 'ALREADY_COMPLETED',
BAD_DOMAIN = 'BAD_DOMAIN',
BLANK = 'BLANK',
CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE = 'CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE',
CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE = 'CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE',
DISCOUNT_ALREADY_APPLIED = 'DISCOUNT_ALREADY_APPLIED',
DISCOUNT_DISABLED = 'DISCOUNT_DISABLED',
DISCOUNT_EXPIRED = 'DISCOUNT_EXPIRED',
DISCOUNT_LIMIT_REACHED = 'DISCOUNT_LIMIT_REACHED',
DISCOUNT_NOT_FOUND = 'DISCOUNT_NOT_FOUND',
EMPTY = 'EMPTY',
EXPIRED_QUEUE_TOKEN = 'EXPIRED_QUEUE_TOKEN',
GIFT_CARD_ALREADY_APPLIED = 'GIFT_CARD_ALREADY_APPLIED',
GIFT_CARD_CODE_INVALID = 'GIFT_CARD_CODE_INVALID',
GIFT_CARD_CURRENCY_MISMATCH = 'GIFT_CARD_CURRENCY_MISMATCH',
GIFT_CARD_DEPLETED = 'GIFT_CARD_DEPLETED',
GIFT_CARD_DISABLED = 'GIFT_CARD_DISABLED',
GIFT_CARD_EXPIRED = 'GIFT_CARD_EXPIRED',
GIFT_CARD_NOT_FOUND = 'GIFT_CARD_NOT_FOUND',
GIFT_CARD_UNUSABLE = 'GIFT_CARD_UNUSABLE',
GREATER_THAN_OR_EQUAL_TO = 'GREATER_THAN_OR_EQUAL_TO',
HIGHER_VALUE_DISCOUNT_APPLIED = 'HIGHER_VALUE_DISCOUNT_APPLIED',
INVALID = 'INVALID',
INVALID_COUNTRY_AND_CURRENCY = 'INVALID_COUNTRY_AND_CURRENCY',
INVALID_FOR_COUNTRY = 'INVALID_FOR_COUNTRY',
INVALID_FOR_COUNTRY_AND_PROVINCE = 'INVALID_FOR_COUNTRY_AND_PROVINCE',
INVALID_PROVINCE_IN_COUNTRY = 'INVALID_PROVINCE_IN_COUNTRY',
INVALID_QUEUE_TOKEN = 'INVALID_QUEUE_TOKEN',
INVALID_REGION_IN_COUNTRY = 'INVALID_REGION_IN_COUNTRY',
INVALID_STATE_IN_COUNTRY = 'INVALID_STATE_IN_COUNTRY',
LESS_THAN = 'LESS_THAN',
LESS_THAN_OR_EQUAL_TO = 'LESS_THAN_OR_EQUAL_TO',
LINE_ITEM_NOT_FOUND = 'LINE_ITEM_NOT_FOUND',
LOCKED = 'LOCKED',
MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED = 'MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED',
MISSING_PAYMENT_INPUT = 'MISSING_PAYMENT_INPUT',
NOT_ENOUGH_IN_STOCK = 'NOT_ENOUGH_IN_STOCK',
NOT_SUPPORTED = 'NOT_SUPPORTED',
PRESENT = 'PRESENT',
PRODUCT_NOT_AVAILABLE = 'PRODUCT_NOT_AVAILABLE',
SHIPPING_RATE_EXPIRED = 'SHIPPING_RATE_EXPIRED',
THROTTLED_DURING_CHECKOUT = 'THROTTLED_DURING_CHECKOUT',
TOO_LONG = 'TOO_LONG',
TOTAL_PRICE_MISMATCH = 'TOTAL_PRICE_MISMATCH',
UNABLE_TO_APPLY = 'UNABLE_TO_APPLY',
ALREADY_COMPLETED = "ALREADY_COMPLETED",
BAD_DOMAIN = "BAD_DOMAIN",
BLANK = "BLANK",
CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE = "CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE",
CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE =
"CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE",
DISCOUNT_ALREADY_APPLIED = "DISCOUNT_ALREADY_APPLIED",
DISCOUNT_DISABLED = "DISCOUNT_DISABLED",
DISCOUNT_EXPIRED = "DISCOUNT_EXPIRED",
DISCOUNT_LIMIT_REACHED = "DISCOUNT_LIMIT_REACHED",
DISCOUNT_NOT_FOUND = "DISCOUNT_NOT_FOUND",
EMPTY = "EMPTY",
EXPIRED_QUEUE_TOKEN = "EXPIRED_QUEUE_TOKEN",
GIFT_CARD_ALREADY_APPLIED = "GIFT_CARD_ALREADY_APPLIED",
GIFT_CARD_CODE_INVALID = "GIFT_CARD_CODE_INVALID",
GIFT_CARD_CURRENCY_MISMATCH = "GIFT_CARD_CURRENCY_MISMATCH",
GIFT_CARD_DEPLETED = "GIFT_CARD_DEPLETED",
GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED",
GIFT_CARD_EXPIRED = "GIFT_CARD_EXPIRED",
GIFT_CARD_NOT_FOUND = "GIFT_CARD_NOT_FOUND",
GIFT_CARD_UNUSABLE = "GIFT_CARD_UNUSABLE",
GREATER_THAN_OR_EQUAL_TO = "GREATER_THAN_OR_EQUAL_TO",
HIGHER_VALUE_DISCOUNT_APPLIED = "HIGHER_VALUE_DISCOUNT_APPLIED",
INVALID = "INVALID",
INVALID_COUNTRY_AND_CURRENCY = "INVALID_COUNTRY_AND_CURRENCY",
INVALID_FOR_COUNTRY = "INVALID_FOR_COUNTRY",
INVALID_FOR_COUNTRY_AND_PROVINCE = "INVALID_FOR_COUNTRY_AND_PROVINCE",
INVALID_PROVINCE_IN_COUNTRY = "INVALID_PROVINCE_IN_COUNTRY",
INVALID_QUEUE_TOKEN = "INVALID_QUEUE_TOKEN",
INVALID_REGION_IN_COUNTRY = "INVALID_REGION_IN_COUNTRY",
INVALID_STATE_IN_COUNTRY = "INVALID_STATE_IN_COUNTRY",
LESS_THAN = "LESS_THAN",
LESS_THAN_OR_EQUAL_TO = "LESS_THAN_OR_EQUAL_TO",
LINE_ITEM_NOT_FOUND = "LINE_ITEM_NOT_FOUND",
LOCKED = "LOCKED",
MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED = "MAXIMUM_DISCOUNT_CODE_LIMIT_REACHED",
MISSING_PAYMENT_INPUT = "MISSING_PAYMENT_INPUT",
NOT_ENOUGH_IN_STOCK = "NOT_ENOUGH_IN_STOCK",
NOT_SUPPORTED = "NOT_SUPPORTED",
PRESENT = "PRESENT",
PRODUCT_NOT_AVAILABLE = "PRODUCT_NOT_AVAILABLE",
SHIPPING_RATE_EXPIRED = "SHIPPING_RATE_EXPIRED",
THROTTLED_DURING_CHECKOUT = "THROTTLED_DURING_CHECKOUT",
TOO_LONG = "TOO_LONG",
TOTAL_PRICE_MISMATCH = "TOTAL_PRICE_MISMATCH",
UNABLE_TO_APPLY = "UNABLE_TO_APPLY",
}
enum CollectionSortKeys {
ID = 'id',
RELEVANCE = 'query',
TITLE = 'title',
UPDATED_AT = 'updated_at',
ID = "id",
RELEVANCE = "query",
TITLE = "title",
UPDATED_AT = "updated_at",
}

@@ -427,7 +428,7 @@

enum CropRegion {
BOTTOM = 'BOTTOM',
CENTER = 'CENTER',
LEFT = 'LEFT',
RIGHT = 'RIGHT',
TOP = 'TOP',
BOTTOM = "BOTTOM",
CENTER = "CENTER",
LEFT = "LEFT",
RIGHT = "RIGHT",
TOP = "TOP",
}

@@ -439,43 +440,43 @@

enum CustomerErrorCode {
ALREADY_ENABLED = 'ALREADY_ENABLED',
BAD_DOMAIN = 'BAD_DOMAIN',
BLANK = 'BLANK',
CONTAINS_HTML_TAGS = 'CONTAINS_HTML_TAGS',
CONTAINS_URL = 'CONTAINS_URL',
CUSTOMER_DISABLED = 'CUSTOMER_DISABLED',
INVALID = 'INVALID',
INVALID_MULTIPASS_REQUEST = 'INVALID_MULTIPASS_REQUEST',
NOT_FOUND = 'NOT_FOUND',
PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE = 'PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE',
TAKEN = 'TAKEN',
TOKEN_INVALID = 'TOKEN_INVALID',
TOO_LONG = 'TOO_LONG',
TOO_SHORT = 'TOO_SHORT',
UNIDENTIFIED_CUSTOMER = 'UNIDENTIFIED_CUSTOMER',
ALREADY_ENABLED = "ALREADY_ENABLED",
BAD_DOMAIN = "BAD_DOMAIN",
BLANK = "BLANK",
CONTAINS_HTML_TAGS = "CONTAINS_HTML_TAGS",
CONTAINS_URL = "CONTAINS_URL",
CUSTOMER_DISABLED = "CUSTOMER_DISABLED",
INVALID = "INVALID",
INVALID_MULTIPASS_REQUEST = "INVALID_MULTIPASS_REQUEST",
NOT_FOUND = "NOT_FOUND",
PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE = "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE",
TAKEN = "TAKEN",
TOKEN_INVALID = "TOKEN_INVALID",
TOO_LONG = "TOO_LONG",
TOO_SHORT = "TOO_SHORT",
UNIDENTIFIED_CUSTOMER = "UNIDENTIFIED_CUSTOMER",
}
enum DeliveryMethodType {
LOCAL = 'LOCAL',
NONE = 'NONE',
PICKUP_POINT = 'PICKUP_POINT',
PICK_UP = 'PICK_UP',
RETAIL = 'RETAIL',
SHIPPING = 'SHIPPING',
LOCAL = "LOCAL",
NONE = "NONE",
PICKUP_POINT = "PICKUP_POINT",
PICK_UP = "PICK_UP",
RETAIL = "RETAIL",
SHIPPING = "SHIPPING",
}
enum DigitalWallet {
ANDROID_PAY = 'ANDROID_PAY',
APPLE_PAY = 'APPLE_PAY',
FACEBOOK_PAY = 'FACEBOOK_PAY',
GOOGLE_PAY = 'GOOGLE_PAY',
SHOPIFY_PAY = 'SHOPIFY_PAY',
ANDROID_PAY = "ANDROID_PAY",
APPLE_PAY = "APPLE_PAY",
FACEBOOK_PAY = "FACEBOOK_PAY",
GOOGLE_PAY = "GOOGLE_PAY",
SHOPIFY_PAY = "SHOPIFY_PAY",
}
enum DiscountApplicationAllocationMethod {
ACROSS = 'ACROSS',
EACH = 'EACH',
ACROSS = "ACROSS",
EACH = "EACH",
/**
* @deprecated
*/
ONE = 'ONE',
ONE = "ONE",
}

@@ -482,0 +483,0 @@

{
"name": "@types/shopify-buy",
"version": "2.17.1",
"version": "2.17.2",
"description": "TypeScript definitions for shopify-buy",

@@ -48,4 +48,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shopify-buy",

"dependencies": {},
"typesPublisherContentHash": "c7448a39caf8cb048b083658566ebdce690a202f6a6d6888c1d8287b0135abe4",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "e02766e958b0a6c4d9163a3ef1baf14d36d68ef3dc3456ede0698a7def2da28d",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 03 Apr 2023 07:33:11 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `ShopifyBuy`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc