New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vendure/common

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vendure/common - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2-beta.0

LICENSE

2127

lib/generated-shop-types.d.ts
export declare type Maybe<T> = T | null;
export interface OrderListOptions {
skip?: Maybe<number>;
take?: Maybe<number>;
sort?: Maybe<OrderSortParameter>;
filter?: Maybe<OrderFilterParameter>;
export declare type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
DateTime: any;
JSON: any;
Upload: any;
};
export declare type Address = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
fullName?: Maybe<Scalars['String']>;
company?: Maybe<Scalars['String']>;
streetLine1: Scalars['String'];
streetLine2?: Maybe<Scalars['String']>;
city?: Maybe<Scalars['String']>;
province?: Maybe<Scalars['String']>;
postalCode?: Maybe<Scalars['String']>;
country: Country;
phoneNumber?: Maybe<Scalars['String']>;
defaultShippingAddress?: Maybe<Scalars['Boolean']>;
defaultBillingAddress?: Maybe<Scalars['Boolean']>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type Adjustment = {
adjustmentSource: Scalars['String'];
type: AdjustmentType;
description: Scalars['String'];
amount: Scalars['Int'];
};
export declare type AdjustmentOperations = {
conditions: Array<ConfigurableOperation>;
actions: Array<ConfigurableOperation>;
};
export declare enum AdjustmentType {
TAX = "TAX",
PROMOTION = "PROMOTION",
SHIPPING = "SHIPPING",
REFUND = "REFUND",
TAX_REFUND = "TAX_REFUND",
PROMOTION_REFUND = "PROMOTION_REFUND",
SHIPPING_REFUND = "SHIPPING_REFUND"
}
export interface OrderSortParameter {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
code?: Maybe<SortOrder>;
state?: Maybe<SortOrder>;
subTotalBeforeTax?: Maybe<SortOrder>;
subTotal?: Maybe<SortOrder>;
shipping?: Maybe<SortOrder>;
totalBeforeTax?: Maybe<SortOrder>;
total?: Maybe<SortOrder>;
export declare type Administrator = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
firstName: Scalars['String'];
lastName: Scalars['String'];
emailAddress: Scalars['String'];
user: User;
};
export declare type AdministratorList = PaginatedList & {
items: Array<Administrator>;
totalItems: Scalars['Int'];
};
export declare type Asset = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
type: AssetType;
fileSize: Scalars['Int'];
mimeType: Scalars['String'];
source: Scalars['String'];
preview: Scalars['String'];
};
export declare type AssetList = PaginatedList & {
items: Array<Asset>;
totalItems: Scalars['Int'];
};
export declare enum AssetType {
IMAGE = "IMAGE",
VIDEO = "VIDEO",
BINARY = "BINARY"
}
export interface OrderFilterParameter {
export declare type BooleanOperators = {
eq?: Maybe<Scalars['Boolean']>;
};
export declare type Cancellation = Node & StockMovement & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
type: StockMovementType;
quantity: Scalars['Int'];
orderLine: OrderLine;
};
export declare type Channel = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
code: Scalars['String'];
token: Scalars['String'];
defaultTaxZone?: Maybe<Zone>;
defaultShippingZone?: Maybe<Zone>;
defaultLanguageCode: LanguageCode;
currencyCode: CurrencyCode;
pricesIncludeTax: Scalars['Boolean'];
};
export declare type Collection = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode?: Maybe<LanguageCode>;
name: Scalars['String'];
breadcrumbs: Array<CollectionBreadcrumb>;
position: Scalars['Int'];
description: Scalars['String'];
featuredAsset?: Maybe<Asset>;
assets: Array<Asset>;
parent?: Maybe<Collection>;
children?: Maybe<Array<Collection>>;
filters: Array<ConfigurableOperation>;
translations: Array<CollectionTranslation>;
productVariants: ProductVariantList;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type CollectionProductVariantsArgs = {
options?: Maybe<ProductVariantListOptions>;
};
export declare type CollectionBreadcrumb = {
id: Scalars['ID'];
name: Scalars['String'];
};
export declare type CollectionFilterParameter = {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
code?: Maybe<StringOperators>;
state?: Maybe<StringOperators>;
active?: Maybe<BooleanOperators>;
subTotalBeforeTax?: Maybe<NumberOperators>;
subTotal?: Maybe<NumberOperators>;
currencyCode?: Maybe<StringOperators>;
shipping?: Maybe<NumberOperators>;
totalBeforeTax?: Maybe<NumberOperators>;
total?: Maybe<NumberOperators>;
}
export interface DateOperators {
eq?: Maybe<DateTime>;
before?: Maybe<DateTime>;
after?: Maybe<DateTime>;
between?: Maybe<DateRange>;
}
export interface DateRange {
start: DateTime;
end: DateTime;
}
export interface StringOperators {
eq?: Maybe<string>;
contains?: Maybe<string>;
}
export interface BooleanOperators {
eq?: Maybe<boolean>;
}
export interface NumberOperators {
eq?: Maybe<number>;
lt?: Maybe<number>;
lte?: Maybe<number>;
gt?: Maybe<number>;
gte?: Maybe<number>;
between?: Maybe<NumberRange>;
}
export interface NumberRange {
start: number;
end: number;
}
export interface CollectionListOptions {
skip?: Maybe<number>;
take?: Maybe<number>;
sort?: Maybe<CollectionSortParameter>;
filter?: Maybe<CollectionFilterParameter>;
}
export interface CollectionSortParameter {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
name?: Maybe<SortOrder>;
position?: Maybe<SortOrder>;
description?: Maybe<SortOrder>;
}
export interface CollectionFilterParameter {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
languageCode?: Maybe<StringOperators>;

@@ -83,130 +137,366 @@ name?: Maybe<StringOperators>;

description?: Maybe<StringOperators>;
}
export interface ProductVariantListOptions {
skip?: Maybe<number>;
take?: Maybe<number>;
sort?: Maybe<ProductVariantSortParameter>;
filter?: Maybe<ProductVariantFilterParameter>;
}
export interface ProductVariantSortParameter {
};
export declare type CollectionList = PaginatedList & {
items: Array<Collection>;
totalItems: Scalars['Int'];
};
export declare type CollectionListOptions = {
skip?: Maybe<Scalars['Int']>;
take?: Maybe<Scalars['Int']>;
sort?: Maybe<CollectionSortParameter>;
filter?: Maybe<CollectionFilterParameter>;
};
export declare type CollectionSortParameter = {
id?: Maybe<SortOrder>;
productId?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
sku?: Maybe<SortOrder>;
name?: Maybe<SortOrder>;
price?: Maybe<SortOrder>;
priceWithTax?: Maybe<SortOrder>;
}
export interface ProductVariantFilterParameter {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
languageCode?: Maybe<StringOperators>;
sku?: Maybe<StringOperators>;
name?: Maybe<StringOperators>;
price?: Maybe<NumberOperators>;
currencyCode?: Maybe<StringOperators>;
priceIncludesTax?: Maybe<BooleanOperators>;
priceWithTax?: Maybe<NumberOperators>;
}
export interface ProductListOptions {
skip?: Maybe<number>;
take?: Maybe<number>;
sort?: Maybe<ProductSortParameter>;
filter?: Maybe<ProductFilterParameter>;
}
export interface ProductSortParameter {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
name?: Maybe<SortOrder>;
slug?: Maybe<SortOrder>;
position?: Maybe<SortOrder>;
description?: Maybe<SortOrder>;
};
export declare type CollectionTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
description: Scalars['String'];
};
export declare type ConfigArg = {
name: Scalars['String'];
type: ConfigArgType;
value?: Maybe<Scalars['String']>;
};
export declare type ConfigArgInput = {
name: Scalars['String'];
type: ConfigArgType;
value?: Maybe<Scalars['String']>;
};
export declare enum ConfigArgType {
PERCENTAGE = "PERCENTAGE",
MONEY = "MONEY",
INT = "INT",
STRING = "STRING",
DATETIME = "DATETIME",
BOOLEAN = "BOOLEAN",
FACET_VALUE_IDS = "FACET_VALUE_IDS",
STRING_OPERATOR = "STRING_OPERATOR"
}
export interface ProductFilterParameter {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
languageCode?: Maybe<StringOperators>;
name?: Maybe<StringOperators>;
slug?: Maybe<StringOperators>;
description?: Maybe<StringOperators>;
export declare type ConfigurableOperation = {
code: Scalars['String'];
args: Array<ConfigArg>;
description: Scalars['String'];
};
export declare type ConfigurableOperationInput = {
code: Scalars['String'];
arguments: Array<ConfigArgInput>;
};
export declare type Country = Node & {
id: Scalars['ID'];
languageCode: LanguageCode;
code: Scalars['String'];
name: Scalars['String'];
enabled: Scalars['Boolean'];
translations: Array<CountryTranslation>;
};
export declare type CountryList = PaginatedList & {
items: Array<Country>;
totalItems: Scalars['Int'];
};
export declare type CountryTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type CreateAddressInput = {
fullName?: Maybe<Scalars['String']>;
company?: Maybe<Scalars['String']>;
streetLine1: Scalars['String'];
streetLine2?: Maybe<Scalars['String']>;
city?: Maybe<Scalars['String']>;
province?: Maybe<Scalars['String']>;
postalCode?: Maybe<Scalars['String']>;
countryCode: Scalars['String'];
phoneNumber?: Maybe<Scalars['String']>;
defaultShippingAddress?: Maybe<Scalars['Boolean']>;
defaultBillingAddress?: Maybe<Scalars['Boolean']>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type CreateCustomerInput = {
title?: Maybe<Scalars['String']>;
firstName: Scalars['String'];
lastName: Scalars['String'];
phoneNumber?: Maybe<Scalars['String']>;
emailAddress: Scalars['String'];
customFields?: Maybe<Scalars['JSON']>;
};
export declare enum CurrencyCode {
AED = "AED",
AFN = "AFN",
ALL = "ALL",
AMD = "AMD",
ANG = "ANG",
AOA = "AOA",
ARS = "ARS",
AUD = "AUD",
AWG = "AWG",
AZN = "AZN",
BAM = "BAM",
BBD = "BBD",
BDT = "BDT",
BGN = "BGN",
BHD = "BHD",
BIF = "BIF",
BMD = "BMD",
BND = "BND",
BOB = "BOB",
BRL = "BRL",
BSD = "BSD",
BTN = "BTN",
BWP = "BWP",
BYN = "BYN",
BZD = "BZD",
CAD = "CAD",
CHE = "CHE",
CHW = "CHW",
CLP = "CLP",
CNY = "CNY",
COP = "COP",
CRC = "CRC",
CUC = "CUC",
CUP = "CUP",
CVE = "CVE",
CZK = "CZK",
DJF = "DJF",
DKK = "DKK",
DOP = "DOP",
DZD = "DZD",
EGP = "EGP",
ERN = "ERN",
ETB = "ETB",
EUR = "EUR",
FJD = "FJD",
FKP = "FKP",
GBP = "GBP",
GEL = "GEL",
GHS = "GHS",
GIP = "GIP",
GMD = "GMD",
GNF = "GNF",
GTQ = "GTQ",
GYD = "GYD",
HKD = "HKD",
HNL = "HNL",
HRK = "HRK",
HTG = "HTG",
HUF = "HUF",
IDR = "IDR",
ILS = "ILS",
INR = "INR",
IQD = "IQD",
IRR = "IRR",
ISK = "ISK",
JMD = "JMD",
JOD = "JOD",
JPY = "JPY",
KES = "KES",
KGS = "KGS",
KHR = "KHR",
KMF = "KMF",
KPW = "KPW",
KRW = "KRW",
KWD = "KWD",
KYD = "KYD",
KZT = "KZT",
LAK = "LAK",
LBP = "LBP",
LKR = "LKR",
LRD = "LRD",
LSL = "LSL",
LYD = "LYD",
MAD = "MAD",
MDL = "MDL",
MGA = "MGA",
MKD = "MKD",
MMK = "MMK",
MNT = "MNT",
MOP = "MOP",
MRU = "MRU",
MUR = "MUR",
MVR = "MVR",
MWK = "MWK",
MXN = "MXN",
MYR = "MYR",
MZN = "MZN",
NAD = "NAD",
NGN = "NGN",
NIO = "NIO",
NOK = "NOK",
NPR = "NPR",
NZD = "NZD",
OMR = "OMR",
PAB = "PAB",
PEN = "PEN",
PGK = "PGK",
PHP = "PHP",
PKR = "PKR",
PLN = "PLN",
PYG = "PYG",
QAR = "QAR",
RON = "RON",
RSD = "RSD",
RUB = "RUB",
RWF = "RWF",
SAR = "SAR",
SBD = "SBD",
SCR = "SCR",
SDG = "SDG",
SEK = "SEK",
SGD = "SGD",
SHP = "SHP",
SLL = "SLL",
SOS = "SOS",
SRD = "SRD",
SSP = "SSP",
STN = "STN",
SVC = "SVC",
SYP = "SYP",
SZL = "SZL",
THB = "THB",
TJS = "TJS",
TMT = "TMT",
TND = "TND",
TOP = "TOP",
TRY = "TRY",
TTD = "TTD",
TWD = "TWD",
TZS = "TZS",
UAH = "UAH",
UGX = "UGX",
USD = "USD",
UYU = "UYU",
UZS = "UZS",
VES = "VES",
VND = "VND",
VUV = "VUV",
WST = "WST",
XAF = "XAF",
XCD = "XCD",
XOF = "XOF",
XPF = "XPF",
YER = "YER",
ZAR = "ZAR",
ZMW = "ZMW",
ZWL = "ZWL"
}
export interface SearchInput {
term?: Maybe<string>;
facetIds?: Maybe<string[]>;
collectionId?: Maybe<string>;
groupByProduct?: Maybe<boolean>;
take?: Maybe<number>;
skip?: Maybe<number>;
sort?: Maybe<SearchResultSortParameter>;
export declare type CurrentUser = {
id: Scalars['ID'];
identifier: Scalars['String'];
channelTokens: Array<Scalars['String']>;
};
export declare type Customer = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
title?: Maybe<Scalars['String']>;
firstName: Scalars['String'];
lastName: Scalars['String'];
phoneNumber?: Maybe<Scalars['String']>;
emailAddress: Scalars['String'];
addresses?: Maybe<Array<Address>>;
orders: OrderList;
user?: Maybe<User>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type CustomerOrdersArgs = {
options?: Maybe<OrderListOptions>;
};
export declare type CustomerGroup = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
};
export declare type CustomerList = PaginatedList & {
items: Array<Customer>;
totalItems: Scalars['Int'];
};
export declare type DateOperators = {
eq?: Maybe<Scalars['DateTime']>;
before?: Maybe<Scalars['DateTime']>;
after?: Maybe<Scalars['DateTime']>;
between?: Maybe<DateRange>;
};
export declare type DateRange = {
start: Scalars['DateTime'];
end: Scalars['DateTime'];
};
export declare type DeletionResponse = {
result: DeletionResult;
message?: Maybe<Scalars['String']>;
};
export declare enum DeletionResult {
DELETED = "DELETED",
NOT_DELETED = "NOT_DELETED"
}
export interface SearchResultSortParameter {
name?: Maybe<SortOrder>;
price?: Maybe<SortOrder>;
}
export interface CreateAddressInput {
fullName?: Maybe<string>;
company?: Maybe<string>;
streetLine1: string;
streetLine2?: Maybe<string>;
city?: Maybe<string>;
province?: Maybe<string>;
postalCode?: Maybe<string>;
countryCode: string;
phoneNumber?: Maybe<string>;
defaultShippingAddress?: Maybe<boolean>;
defaultBillingAddress?: Maybe<boolean>;
customFields?: Maybe<Json>;
}
export interface PaymentInput {
method: string;
metadata: Json;
}
export interface CreateCustomerInput {
title?: Maybe<string>;
firstName: string;
lastName: string;
phoneNumber?: Maybe<string>;
emailAddress: string;
customFields?: Maybe<Json>;
}
export interface RegisterCustomerInput {
emailAddress: string;
title?: Maybe<string>;
firstName?: Maybe<string>;
lastName?: Maybe<string>;
password?: Maybe<string>;
}
export interface UpdateCustomerInput {
title?: Maybe<string>;
firstName?: Maybe<string>;
lastName?: Maybe<string>;
phoneNumber?: Maybe<string>;
emailAddress?: Maybe<string>;
customFields?: Maybe<Json>;
}
export interface UpdateAddressInput {
id: string;
fullName?: Maybe<string>;
company?: Maybe<string>;
streetLine1?: Maybe<string>;
streetLine2?: Maybe<string>;
city?: Maybe<string>;
province?: Maybe<string>;
postalCode?: Maybe<string>;
countryCode?: Maybe<string>;
phoneNumber?: Maybe<string>;
defaultShippingAddress?: Maybe<boolean>;
defaultBillingAddress?: Maybe<boolean>;
customFields?: Maybe<Json>;
}
export interface ConfigArgInput {
name: string;
type: ConfigArgType;
value?: Maybe<string>;
}
export interface ConfigurableOperationInput {
code: string;
arguments: ConfigArgInput[];
}
export declare type Facet = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
code: Scalars['String'];
values: Array<FacetValue>;
translations: Array<FacetTranslation>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type FacetList = PaginatedList & {
items: Array<Facet>;
totalItems: Scalars['Int'];
};
export declare type FacetTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type FacetValue = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
facet: Facet;
name: Scalars['String'];
code: Scalars['String'];
translations: Array<FacetValueTranslation>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type FacetValueResult = {
facetValue: FacetValue;
count: Scalars['Int'];
};
export declare type FacetValueTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type GlobalSettings = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
availableLanguages: Array<LanguageCode>;
trackInventory: Scalars['Boolean'];
serverConfig: ServerConfig;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ImportInfo = {
errors?: Maybe<Array<Scalars['String']>>;
processed: Scalars['Int'];
imported: Scalars['Int'];
};
export declare enum LanguageCode {

@@ -398,188 +688,236 @@ aa = "aa",

}
export declare enum CurrencyCode {
AED = "AED",
AFN = "AFN",
ALL = "ALL",
AMD = "AMD",
ANG = "ANG",
AOA = "AOA",
ARS = "ARS",
AUD = "AUD",
AWG = "AWG",
AZN = "AZN",
BAM = "BAM",
BBD = "BBD",
BDT = "BDT",
BGN = "BGN",
BHD = "BHD",
BIF = "BIF",
BMD = "BMD",
BND = "BND",
BOB = "BOB",
BRL = "BRL",
BSD = "BSD",
BTN = "BTN",
BWP = "BWP",
BYN = "BYN",
BZD = "BZD",
CAD = "CAD",
CHE = "CHE",
CHW = "CHW",
CLP = "CLP",
CNY = "CNY",
COP = "COP",
CRC = "CRC",
CUC = "CUC",
CUP = "CUP",
CVE = "CVE",
CZK = "CZK",
DJF = "DJF",
DKK = "DKK",
DOP = "DOP",
DZD = "DZD",
EGP = "EGP",
ERN = "ERN",
ETB = "ETB",
EUR = "EUR",
FJD = "FJD",
FKP = "FKP",
GBP = "GBP",
GEL = "GEL",
GHS = "GHS",
GIP = "GIP",
GMD = "GMD",
GNF = "GNF",
GTQ = "GTQ",
GYD = "GYD",
HKD = "HKD",
HNL = "HNL",
HRK = "HRK",
HTG = "HTG",
HUF = "HUF",
IDR = "IDR",
ILS = "ILS",
INR = "INR",
IQD = "IQD",
IRR = "IRR",
ISK = "ISK",
JMD = "JMD",
JOD = "JOD",
JPY = "JPY",
KES = "KES",
KGS = "KGS",
KHR = "KHR",
KMF = "KMF",
KPW = "KPW",
KRW = "KRW",
KWD = "KWD",
KYD = "KYD",
KZT = "KZT",
LAK = "LAK",
LBP = "LBP",
LKR = "LKR",
LRD = "LRD",
LSL = "LSL",
LYD = "LYD",
MAD = "MAD",
MDL = "MDL",
MGA = "MGA",
MKD = "MKD",
MMK = "MMK",
MNT = "MNT",
MOP = "MOP",
MRU = "MRU",
MUR = "MUR",
MVR = "MVR",
MWK = "MWK",
MXN = "MXN",
MYR = "MYR",
MZN = "MZN",
NAD = "NAD",
NGN = "NGN",
NIO = "NIO",
NOK = "NOK",
NPR = "NPR",
NZD = "NZD",
OMR = "OMR",
PAB = "PAB",
PEN = "PEN",
PGK = "PGK",
PHP = "PHP",
PKR = "PKR",
PLN = "PLN",
PYG = "PYG",
QAR = "QAR",
RON = "RON",
RSD = "RSD",
RUB = "RUB",
RWF = "RWF",
SAR = "SAR",
SBD = "SBD",
SCR = "SCR",
SDG = "SDG",
SEK = "SEK",
SGD = "SGD",
SHP = "SHP",
SLL = "SLL",
SOS = "SOS",
SRD = "SRD",
SSP = "SSP",
STN = "STN",
SVC = "SVC",
SYP = "SYP",
SZL = "SZL",
THB = "THB",
TJS = "TJS",
TMT = "TMT",
TND = "TND",
TOP = "TOP",
TRY = "TRY",
TTD = "TTD",
TWD = "TWD",
TZS = "TZS",
UAH = "UAH",
UGX = "UGX",
USD = "USD",
UYU = "UYU",
UZS = "UZS",
VES = "VES",
VND = "VND",
VUV = "VUV",
WST = "WST",
XAF = "XAF",
XCD = "XCD",
XOF = "XOF",
XPF = "XPF",
YER = "YER",
ZAR = "ZAR",
ZMW = "ZMW",
ZWL = "ZWL"
}
export declare enum SortOrder {
ASC = "ASC",
DESC = "DESC"
}
export declare enum AssetType {
IMAGE = "IMAGE",
VIDEO = "VIDEO",
BINARY = "BINARY"
}
export declare enum AdjustmentType {
TAX = "TAX",
PROMOTION = "PROMOTION",
SHIPPING = "SHIPPING",
REFUND = "REFUND",
TAX_REFUND = "TAX_REFUND",
PROMOTION_REFUND = "PROMOTION_REFUND",
SHIPPING_REFUND = "SHIPPING_REFUND"
}
export declare enum ConfigArgType {
PERCENTAGE = "PERCENTAGE",
MONEY = "MONEY",
INT = "INT",
STRING = "STRING",
DATETIME = "DATETIME",
BOOLEAN = "BOOLEAN",
FACET_VALUE_IDS = "FACET_VALUE_IDS"
}
export declare type LoginResult = {
user: CurrentUser;
};
export declare type Mutation = {
addItemToOrder?: Maybe<Order>;
removeItemFromOrder?: Maybe<Order>;
adjustItemQuantity?: Maybe<Order>;
transitionOrderToState?: Maybe<Order>;
setOrderShippingAddress?: Maybe<Order>;
setOrderShippingMethod?: Maybe<Order>;
addPaymentToOrder?: Maybe<Order>;
setCustomerForOrder?: Maybe<Order>;
login: LoginResult;
logout: Scalars['Boolean'];
refreshCustomerVerification: Scalars['Boolean'];
registerCustomerAccount: Scalars['Boolean'];
updateCustomer: Customer;
createCustomerAddress: Address;
updateCustomerAddress: Address;
deleteCustomerAddress: Scalars['Boolean'];
verifyCustomerAccount: LoginResult;
updateCustomerPassword?: Maybe<Scalars['Boolean']>;
requestUpdateCustomerEmailAddress?: Maybe<Scalars['Boolean']>;
updateCustomerEmailAddress?: Maybe<Scalars['Boolean']>;
requestPasswordReset?: Maybe<Scalars['Boolean']>;
resetPassword: LoginResult;
};
export declare type MutationAddItemToOrderArgs = {
productVariantId: Scalars['ID'];
quantity: Scalars['Int'];
};
export declare type MutationRemoveItemFromOrderArgs = {
orderItemId: Scalars['ID'];
};
export declare type MutationAdjustItemQuantityArgs = {
orderItemId: Scalars['ID'];
quantity: Scalars['Int'];
};
export declare type MutationTransitionOrderToStateArgs = {
state: Scalars['String'];
};
export declare type MutationSetOrderShippingAddressArgs = {
input: CreateAddressInput;
};
export declare type MutationSetOrderShippingMethodArgs = {
shippingMethodId: Scalars['ID'];
};
export declare type MutationAddPaymentToOrderArgs = {
input: PaymentInput;
};
export declare type MutationSetCustomerForOrderArgs = {
input: CreateCustomerInput;
};
export declare type MutationLoginArgs = {
username: Scalars['String'];
password: Scalars['String'];
rememberMe?: Maybe<Scalars['Boolean']>;
};
export declare type MutationRefreshCustomerVerificationArgs = {
emailAddress: Scalars['String'];
};
export declare type MutationRegisterCustomerAccountArgs = {
input: RegisterCustomerInput;
};
export declare type MutationUpdateCustomerArgs = {
input: UpdateCustomerInput;
};
export declare type MutationCreateCustomerAddressArgs = {
input: CreateAddressInput;
};
export declare type MutationUpdateCustomerAddressArgs = {
input: UpdateAddressInput;
};
export declare type MutationDeleteCustomerAddressArgs = {
id: Scalars['ID'];
};
export declare type MutationVerifyCustomerAccountArgs = {
token: Scalars['String'];
password: Scalars['String'];
};
export declare type MutationUpdateCustomerPasswordArgs = {
currentPassword: Scalars['String'];
newPassword: Scalars['String'];
};
export declare type MutationRequestUpdateCustomerEmailAddressArgs = {
password: Scalars['String'];
newEmailAddress: Scalars['String'];
};
export declare type MutationUpdateCustomerEmailAddressArgs = {
token: Scalars['String'];
};
export declare type MutationRequestPasswordResetArgs = {
emailAddress: Scalars['String'];
};
export declare type MutationResetPasswordArgs = {
token: Scalars['String'];
password: Scalars['String'];
};
export declare type Node = {
id: Scalars['ID'];
};
export declare type NumberOperators = {
eq?: Maybe<Scalars['Float']>;
lt?: Maybe<Scalars['Float']>;
lte?: Maybe<Scalars['Float']>;
gt?: Maybe<Scalars['Float']>;
gte?: Maybe<Scalars['Float']>;
between?: Maybe<NumberRange>;
};
export declare type NumberRange = {
start: Scalars['Float'];
end: Scalars['Float'];
};
export declare type Order = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
code: Scalars['String'];
state: Scalars['String'];
active: Scalars['Boolean'];
customer?: Maybe<Customer>;
shippingAddress?: Maybe<OrderAddress>;
billingAddress?: Maybe<OrderAddress>;
lines: Array<OrderLine>;
adjustments: Array<Adjustment>;
payments?: Maybe<Array<Payment>>;
subTotalBeforeTax: Scalars['Int'];
subTotal: Scalars['Int'];
currencyCode: CurrencyCode;
shipping: Scalars['Int'];
shippingWithTax: Scalars['Int'];
shippingMethod?: Maybe<ShippingMethod>;
totalBeforeTax: Scalars['Int'];
total: Scalars['Int'];
};
export declare type OrderAddress = {
fullName?: Maybe<Scalars['String']>;
company?: Maybe<Scalars['String']>;
streetLine1?: Maybe<Scalars['String']>;
streetLine2?: Maybe<Scalars['String']>;
city?: Maybe<Scalars['String']>;
province?: Maybe<Scalars['String']>;
postalCode?: Maybe<Scalars['String']>;
country?: Maybe<Scalars['String']>;
countryCode?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
};
export declare type OrderFilterParameter = {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
code?: Maybe<StringOperators>;
state?: Maybe<StringOperators>;
active?: Maybe<BooleanOperators>;
subTotalBeforeTax?: Maybe<NumberOperators>;
subTotal?: Maybe<NumberOperators>;
currencyCode?: Maybe<StringOperators>;
shipping?: Maybe<NumberOperators>;
shippingWithTax?: Maybe<NumberOperators>;
totalBeforeTax?: Maybe<NumberOperators>;
total?: Maybe<NumberOperators>;
};
export declare type OrderItem = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
unitPrice: Scalars['Int'];
unitPriceWithTax: Scalars['Int'];
unitPriceIncludesTax: Scalars['Boolean'];
taxRate: Scalars['Float'];
adjustments: Array<Adjustment>;
};
export declare type OrderLine = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
featuredAsset?: Maybe<Asset>;
unitPrice: Scalars['Int'];
unitPriceWithTax: Scalars['Int'];
quantity: Scalars['Int'];
items: Array<OrderItem>;
totalPrice: Scalars['Int'];
adjustments: Array<Adjustment>;
order: Order;
};
export declare type OrderList = PaginatedList & {
items: Array<Order>;
totalItems: Scalars['Int'];
};
export declare type OrderListOptions = {
skip?: Maybe<Scalars['Int']>;
take?: Maybe<Scalars['Int']>;
sort?: Maybe<OrderSortParameter>;
filter?: Maybe<OrderFilterParameter>;
};
export declare type OrderSortParameter = {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
code?: Maybe<SortOrder>;
state?: Maybe<SortOrder>;
subTotalBeforeTax?: Maybe<SortOrder>;
subTotal?: Maybe<SortOrder>;
shipping?: Maybe<SortOrder>;
shippingWithTax?: Maybe<SortOrder>;
totalBeforeTax?: Maybe<SortOrder>;
total?: Maybe<SortOrder>;
};
export declare type PaginatedList = {
items: Array<Node>;
totalItems: Scalars['Int'];
};
export declare type Payment = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
method: Scalars['String'];
amount: Scalars['Int'];
state: Scalars['String'];
transactionId?: Maybe<Scalars['String']>;
metadata?: Maybe<Scalars['JSON']>;
};
export declare type PaymentInput = {
method: Scalars['String'];
metadata: Scalars['JSON'];
};
export declare type PaymentMethod = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
code: Scalars['String'];
enabled: Scalars['Boolean'];
configArgs: Array<ConfigArg>;
};
export declare enum Permission {

@@ -611,26 +949,175 @@ Authenticated = "Authenticated",

}
export declare enum DeletionResult {
DELETED = "DELETED",
NOT_DELETED = "NOT_DELETED"
}
export declare type DateTime = any;
export declare type Json = any;
export declare type Upload = any;
export interface Node {
id: string;
}
export interface PaginatedList {
items: Node[];
totalItems: number;
}
export interface Query {
export declare type PriceRange = {
min: Scalars['Int'];
max: Scalars['Int'];
};
export declare type Product = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
slug: Scalars['String'];
description: Scalars['String'];
featuredAsset?: Maybe<Asset>;
assets: Array<Asset>;
variants: Array<ProductVariant>;
optionGroups: Array<ProductOptionGroup>;
facetValues: Array<FacetValue>;
translations: Array<ProductTranslation>;
collections: Array<Collection>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ProductFilterParameter = {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
languageCode?: Maybe<StringOperators>;
name?: Maybe<StringOperators>;
slug?: Maybe<StringOperators>;
description?: Maybe<StringOperators>;
};
export declare type ProductList = PaginatedList & {
items: Array<Product>;
totalItems: Scalars['Int'];
};
export declare type ProductListOptions = {
skip?: Maybe<Scalars['Int']>;
take?: Maybe<Scalars['Int']>;
sort?: Maybe<ProductSortParameter>;
filter?: Maybe<ProductFilterParameter>;
};
export declare type ProductOption = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode?: Maybe<LanguageCode>;
code?: Maybe<Scalars['String']>;
name?: Maybe<Scalars['String']>;
translations: Array<ProductOptionTranslation>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ProductOptionGroup = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
code: Scalars['String'];
name: Scalars['String'];
options: Array<ProductOption>;
translations: Array<ProductOptionGroupTranslation>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ProductOptionGroupTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type ProductOptionTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type ProductSortParameter = {
id?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
name?: Maybe<SortOrder>;
slug?: Maybe<SortOrder>;
description?: Maybe<SortOrder>;
};
export declare type ProductTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
slug: Scalars['String'];
description: Scalars['String'];
};
export declare type ProductVariant = Node & {
id: Scalars['ID'];
productId: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
sku: Scalars['String'];
name: Scalars['String'];
featuredAsset?: Maybe<Asset>;
assets: Array<Asset>;
price: Scalars['Int'];
currencyCode: CurrencyCode;
priceIncludesTax: Scalars['Boolean'];
priceWithTax: Scalars['Int'];
taxRateApplied: TaxRate;
taxCategory: TaxCategory;
options: Array<ProductOption>;
facetValues: Array<FacetValue>;
translations: Array<ProductVariantTranslation>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ProductVariantFilterParameter = {
createdAt?: Maybe<DateOperators>;
updatedAt?: Maybe<DateOperators>;
languageCode?: Maybe<StringOperators>;
sku?: Maybe<StringOperators>;
name?: Maybe<StringOperators>;
price?: Maybe<NumberOperators>;
currencyCode?: Maybe<StringOperators>;
priceIncludesTax?: Maybe<BooleanOperators>;
priceWithTax?: Maybe<NumberOperators>;
};
export declare type ProductVariantList = PaginatedList & {
items: Array<ProductVariant>;
totalItems: Scalars['Int'];
};
export declare type ProductVariantListOptions = {
skip?: Maybe<Scalars['Int']>;
take?: Maybe<Scalars['Int']>;
sort?: Maybe<ProductVariantSortParameter>;
filter?: Maybe<ProductVariantFilterParameter>;
};
export declare type ProductVariantSortParameter = {
id?: Maybe<SortOrder>;
productId?: Maybe<SortOrder>;
createdAt?: Maybe<SortOrder>;
updatedAt?: Maybe<SortOrder>;
sku?: Maybe<SortOrder>;
name?: Maybe<SortOrder>;
price?: Maybe<SortOrder>;
priceWithTax?: Maybe<SortOrder>;
};
export declare type ProductVariantTranslation = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
languageCode: LanguageCode;
name: Scalars['String'];
};
export declare type Promotion = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
enabled: Scalars['Boolean'];
conditions: Array<ConfigurableOperation>;
actions: Array<ConfigurableOperation>;
};
export declare type PromotionList = PaginatedList & {
items: Array<Promotion>;
totalItems: Scalars['Int'];
};
export declare type Query = {
activeChannel: Channel;
activeCustomer?: Maybe<Customer>;
activeOrder?: Maybe<Order>;
availableCountries: Country[];
availableCountries: Array<Country>;
collections: CollectionList;
collection?: Maybe<Collection>;
eligibleShippingMethods: ShippingMethodQuote[];
eligibleShippingMethods: Array<ShippingMethodQuote>;
me?: Maybe<CurrentUser>;
nextOrderStates: string[];
nextOrderStates: Array<Scalars['String']>;
order?: Maybe<Order>;

@@ -641,638 +1128,228 @@ orderByCode?: Maybe<Order>;

search: SearchResponse;
temp__?: Maybe<boolean>;
}
export interface Channel extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
code: string;
token: string;
defaultTaxZone?: Maybe<Zone>;
defaultShippingZone?: Maybe<Zone>;
defaultLanguageCode: LanguageCode;
currencyCode: CurrencyCode;
pricesIncludeTax: boolean;
}
export interface Zone extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
name: string;
members: Country[];
}
export interface Country extends Node {
id: string;
languageCode: LanguageCode;
code: string;
name: string;
enabled: boolean;
translations: CountryTranslation[];
}
export interface CountryTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface Customer extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
title?: Maybe<string>;
firstName: string;
lastName: string;
phoneNumber?: Maybe<string>;
emailAddress: string;
addresses?: Maybe<Address[]>;
orders: OrderList;
user?: Maybe<User>;
customFields?: Maybe<Json>;
}
export interface Address extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
fullName?: Maybe<string>;
company?: Maybe<string>;
streetLine1: string;
streetLine2?: Maybe<string>;
city?: Maybe<string>;
province?: Maybe<string>;
postalCode?: Maybe<string>;
country: Country;
phoneNumber?: Maybe<string>;
defaultShippingAddress?: Maybe<boolean>;
defaultBillingAddress?: Maybe<boolean>;
customFields?: Maybe<Json>;
}
export interface OrderList extends PaginatedList {
items: Order[];
totalItems: number;
}
export interface Order extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
code: string;
state: string;
active: boolean;
customer?: Maybe<Customer>;
shippingAddress?: Maybe<OrderAddress>;
billingAddress?: Maybe<OrderAddress>;
lines: OrderLine[];
adjustments: Adjustment[];
payments?: Maybe<Payment[]>;
subTotalBeforeTax: number;
subTotal: number;
currencyCode: CurrencyCode;
shipping: number;
shippingMethod?: Maybe<ShippingMethod>;
totalBeforeTax: number;
total: number;
}
export interface OrderAddress {
fullName?: Maybe<string>;
company?: Maybe<string>;
streetLine1?: Maybe<string>;
streetLine2?: Maybe<string>;
city?: Maybe<string>;
province?: Maybe<string>;
postalCode?: Maybe<string>;
country?: Maybe<string>;
countryCode?: Maybe<string>;
phoneNumber?: Maybe<string>;
}
export interface OrderLine extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
productVariant: ProductVariant;
featuredAsset?: Maybe<Asset>;
unitPrice: number;
unitPriceWithTax: number;
quantity: number;
items: OrderItem[];
totalPrice: number;
adjustments: Adjustment[];
order: Order;
}
export interface ProductVariant extends Node {
id: string;
productId: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
sku: string;
name: string;
featuredAsset?: Maybe<Asset>;
assets: Asset[];
price: number;
currencyCode: CurrencyCode;
priceIncludesTax: boolean;
priceWithTax: number;
taxRateApplied: TaxRate;
taxCategory: TaxCategory;
options: ProductOption[];
facetValues: FacetValue[];
translations: ProductVariantTranslation[];
customFields?: Maybe<Json>;
}
export interface Asset extends Node {
id: string;
name: string;
type: AssetType;
fileSize: number;
mimeType: string;
source: string;
preview: string;
}
export interface TaxRate extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
name: string;
enabled: boolean;
value: number;
category: TaxCategory;
zone: Zone;
customerGroup?: Maybe<CustomerGroup>;
}
export interface TaxCategory extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
name: string;
}
export interface CustomerGroup extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
name: string;
}
export interface ProductOption extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
temp__?: Maybe<Scalars['Boolean']>;
};
export declare type QueryCollectionsArgs = {
languageCode?: Maybe<LanguageCode>;
code?: Maybe<string>;
name?: Maybe<string>;
translations: ProductOptionTranslation[];
customFields?: Maybe<Json>;
}
export interface ProductOptionTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface FacetValue extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
facet: Facet;
name: string;
code: string;
translations: FacetValueTranslation[];
customFields?: Maybe<Json>;
}
export interface Facet extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
code: string;
values: FacetValue[];
translations: FacetTranslation[];
customFields?: Maybe<Json>;
}
export interface FacetTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface FacetValueTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface ProductVariantTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface OrderItem extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
unitPrice: number;
unitPriceWithTax: number;
unitPriceIncludesTax: boolean;
taxRate: number;
adjustments: Adjustment[];
}
export interface Adjustment {
adjustmentSource: string;
type: AdjustmentType;
description: string;
amount: number;
}
export interface Payment extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
method: string;
amount: number;
state: string;
transactionId?: Maybe<string>;
metadata?: Maybe<Json>;
}
export interface ShippingMethod extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
code: string;
description: string;
checker: ConfigurableOperation;
calculator: ConfigurableOperation;
}
export interface ConfigurableOperation {
code: string;
args: ConfigArg[];
description: string;
}
export interface ConfigArg {
name: string;
type: ConfigArgType;
value?: Maybe<string>;
}
export interface User extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
identifier: string;
verified: boolean;
roles: Role[];
lastLogin?: Maybe<string>;
customFields?: Maybe<Json>;
}
export interface Role extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
code: string;
description: string;
permissions: Permission[];
channels: Channel[];
}
export interface CollectionList extends PaginatedList {
items: Collection[];
totalItems: number;
}
export interface Collection extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode?: Maybe<LanguageCode>;
name: string;
breadcrumbs: CollectionBreadcrumb[];
position: number;
description: string;
featuredAsset?: Maybe<Asset>;
assets: Asset[];
parent?: Maybe<Collection>;
children?: Maybe<Collection[]>;
filters: ConfigurableOperation[];
translations: CollectionTranslation[];
productVariants: ProductVariantList;
customFields?: Maybe<Json>;
}
export interface CollectionBreadcrumb {
id: string;
name: string;
}
export interface CollectionTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
description: string;
}
export interface ProductVariantList extends PaginatedList {
items: ProductVariant[];
totalItems: number;
}
export interface ShippingMethodQuote {
id: string;
price: number;
description: string;
}
export interface CurrentUser {
id: string;
identifier: string;
channelTokens: string[];
}
export interface Product extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
slug: string;
description: string;
featuredAsset?: Maybe<Asset>;
assets: Asset[];
variants: ProductVariant[];
optionGroups: ProductOptionGroup[];
facetValues: FacetValue[];
translations: ProductTranslation[];
collections: Collection[];
customFields?: Maybe<Json>;
}
export interface ProductOptionGroup extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
code: string;
name: string;
options: ProductOption[];
translations: ProductOptionGroupTranslation[];
customFields?: Maybe<Json>;
}
export interface ProductOptionGroupTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
}
export interface ProductTranslation {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
languageCode: LanguageCode;
name: string;
slug: string;
description: string;
}
export interface ProductList extends PaginatedList {
items: Product[];
totalItems: number;
}
export interface SearchResponse {
items: SearchResult[];
totalItems: number;
facetValues: FacetValueResult[];
}
export interface SearchResult {
sku: string;
slug: string;
productId: string;
productName: string;
productPreview: string;
productVariantId: string;
productVariantName: string;
productVariantPreview: string;
price: SearchResultPrice;
priceWithTax: SearchResultPrice;
currencyCode: CurrencyCode;
description: string;
facetIds: string[];
facetValueIds: string[];
collectionIds: string[];
score: number;
}
export interface PriceRange {
min: number;
max: number;
}
export interface SinglePrice {
value: number;
}
export interface FacetValueResult {
facetValue: FacetValue;
count: number;
}
export interface Mutation {
addItemToOrder?: Maybe<Order>;
removeItemFromOrder?: Maybe<Order>;
adjustItemQuantity?: Maybe<Order>;
transitionOrderToState?: Maybe<Order>;
setOrderShippingAddress?: Maybe<Order>;
setOrderShippingMethod?: Maybe<Order>;
addPaymentToOrder?: Maybe<Order>;
setCustomerForOrder?: Maybe<Order>;
login: LoginResult;
logout: boolean;
refreshCustomerVerification: boolean;
registerCustomerAccount: boolean;
updateCustomer: Customer;
createCustomerAddress: Address;
updateCustomerAddress: Address;
deleteCustomerAddress: boolean;
verifyCustomerAccount: LoginResult;
updateCustomerPassword?: Maybe<boolean>;
requestPasswordReset?: Maybe<boolean>;
resetPassword: LoginResult;
}
export interface LoginResult {
user: CurrentUser;
}
export interface AdjustmentOperations {
conditions: ConfigurableOperation[];
actions: ConfigurableOperation[];
}
export interface Administrator extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
firstName: string;
lastName: string;
emailAddress: string;
user: User;
}
export interface AdministratorList extends PaginatedList {
items: Administrator[];
totalItems: number;
}
export interface AssetList extends PaginatedList {
items: Asset[];
totalItems: number;
}
export interface CountryList extends PaginatedList {
items: Country[];
totalItems: number;
}
export interface CustomerList extends PaginatedList {
items: Customer[];
totalItems: number;
}
export interface DeletionResponse {
result: DeletionResult;
message?: Maybe<string>;
}
export interface FacetList extends PaginatedList {
items: Facet[];
totalItems: number;
}
export interface GlobalSettings {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
availableLanguages: LanguageCode[];
serverConfig: ServerConfig;
customFields?: Maybe<Json>;
}
export interface ServerConfig {
customFields?: Maybe<Json>;
}
export interface ImportInfo {
errors?: Maybe<string[]>;
processed: number;
imported: number;
}
export interface PaymentMethod extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
code: string;
enabled: boolean;
configArgs: ConfigArg[];
}
export interface Promotion extends Node {
id: string;
createdAt: DateTime;
updatedAt: DateTime;
name: string;
enabled: boolean;
conditions: ConfigurableOperation[];
actions: ConfigurableOperation[];
}
export interface PromotionList extends PaginatedList {
items: Promotion[];
totalItems: number;
}
export interface RoleList extends PaginatedList {
items: Role[];
totalItems: number;
}
export interface SearchReindexResponse {
success: boolean;
timeTaken: number;
indexedItemCount: number;
}
export interface ShippingMethodList extends PaginatedList {
items: ShippingMethod[];
totalItems: number;
}
export interface TaxRateList extends PaginatedList {
items: TaxRate[];
totalItems: number;
}
export interface CollectionsQueryArgs {
languageCode?: Maybe<LanguageCode>;
options?: Maybe<CollectionListOptions>;
}
export interface CollectionQueryArgs {
id: string;
};
export declare type QueryCollectionArgs = {
id: Scalars['ID'];
languageCode?: Maybe<LanguageCode>;
}
export interface OrderQueryArgs {
id: string;
}
export interface OrderByCodeQueryArgs {
code: string;
}
export interface ProductQueryArgs {
id: string;
};
export declare type QueryOrderArgs = {
id: Scalars['ID'];
};
export declare type QueryOrderByCodeArgs = {
code: Scalars['String'];
};
export declare type QueryProductArgs = {
id: Scalars['ID'];
languageCode?: Maybe<LanguageCode>;
}
export interface ProductsQueryArgs {
};
export declare type QueryProductsArgs = {
languageCode?: Maybe<LanguageCode>;
options?: Maybe<ProductListOptions>;
}
export interface SearchQueryArgs {
};
export declare type QuerySearchArgs = {
input: SearchInput;
};
export declare type RegisterCustomerInput = {
emailAddress: Scalars['String'];
title?: Maybe<Scalars['String']>;
firstName?: Maybe<Scalars['String']>;
lastName?: Maybe<Scalars['String']>;
password?: Maybe<Scalars['String']>;
};
export declare type Return = Node & StockMovement & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
type: StockMovementType;
quantity: Scalars['Int'];
orderItem: OrderItem;
};
export declare type Role = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
code: Scalars['String'];
description: Scalars['String'];
permissions: Array<Permission>;
channels: Array<Channel>;
};
export declare type RoleList = PaginatedList & {
items: Array<Role>;
totalItems: Scalars['Int'];
};
export declare type Sale = Node & StockMovement & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
type: StockMovementType;
quantity: Scalars['Int'];
orderLine: OrderLine;
};
export declare type SearchInput = {
term?: Maybe<Scalars['String']>;
facetIds?: Maybe<Array<Scalars['String']>>;
collectionId?: Maybe<Scalars['String']>;
groupByProduct?: Maybe<Scalars['Boolean']>;
take?: Maybe<Scalars['Int']>;
skip?: Maybe<Scalars['Int']>;
sort?: Maybe<SearchResultSortParameter>;
};
export declare type SearchReindexResponse = {
success: Scalars['Boolean'];
timeTaken: Scalars['Int'];
indexedItemCount: Scalars['Int'];
};
export declare type SearchResponse = {
items: Array<SearchResult>;
totalItems: Scalars['Int'];
facetValues: Array<FacetValueResult>;
};
export declare type SearchResult = {
sku: Scalars['String'];
slug: Scalars['String'];
productId: Scalars['ID'];
productName: Scalars['String'];
productPreview: Scalars['String'];
productVariantId: Scalars['ID'];
productVariantName: Scalars['String'];
productVariantPreview: Scalars['String'];
price: SearchResultPrice;
priceWithTax: SearchResultPrice;
currencyCode: CurrencyCode;
description: Scalars['String'];
facetIds: Array<Scalars['String']>;
facetValueIds: Array<Scalars['String']>;
collectionIds: Array<Scalars['String']>;
score: Scalars['Float'];
};
export declare type SearchResultPrice = PriceRange | SinglePrice;
export declare type SearchResultSortParameter = {
name?: Maybe<SortOrder>;
price?: Maybe<SortOrder>;
};
export declare type ServerConfig = {
customFields?: Maybe<Scalars['JSON']>;
};
export declare type ShippingMethod = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
code: Scalars['String'];
description: Scalars['String'];
checker: ConfigurableOperation;
calculator: ConfigurableOperation;
};
export declare type ShippingMethodList = PaginatedList & {
items: Array<ShippingMethod>;
totalItems: Scalars['Int'];
};
export declare type ShippingMethodQuote = {
id: Scalars['ID'];
price: Scalars['Int'];
priceWithTax: Scalars['Int'];
description: Scalars['String'];
};
export declare type SinglePrice = {
value: Scalars['Int'];
};
export declare enum SortOrder {
ASC = "ASC",
DESC = "DESC"
}
export interface OrdersCustomerArgs {
options?: Maybe<OrderListOptions>;
export declare type StockAdjustment = Node & StockMovement & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
type: StockMovementType;
quantity: Scalars['Int'];
};
export declare type StockMovement = {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
productVariant: ProductVariant;
type: StockMovementType;
quantity: Scalars['Int'];
};
export declare type StockMovementItem = StockAdjustment | Sale | Cancellation | Return;
export declare type StockMovementList = {
items: Array<StockMovementItem>;
totalItems: Scalars['Int'];
};
export declare enum StockMovementType {
ADJUSTMENT = "ADJUSTMENT",
SALE = "SALE",
CANCELLATION = "CANCELLATION",
RETURN = "RETURN"
}
export interface ProductVariantsCollectionArgs {
options?: Maybe<ProductVariantListOptions>;
}
export interface AddItemToOrderMutationArgs {
productVariantId: string;
quantity: number;
}
export interface RemoveItemFromOrderMutationArgs {
orderItemId: string;
}
export interface AdjustItemQuantityMutationArgs {
orderItemId: string;
quantity: number;
}
export interface TransitionOrderToStateMutationArgs {
state: string;
}
export interface SetOrderShippingAddressMutationArgs {
input: CreateAddressInput;
}
export interface SetOrderShippingMethodMutationArgs {
shippingMethodId: string;
}
export interface AddPaymentToOrderMutationArgs {
input: PaymentInput;
}
export interface SetCustomerForOrderMutationArgs {
input: CreateCustomerInput;
}
export interface LoginMutationArgs {
username: string;
password: string;
rememberMe?: Maybe<boolean>;
}
export interface RefreshCustomerVerificationMutationArgs {
emailAddress: string;
}
export interface RegisterCustomerAccountMutationArgs {
input: RegisterCustomerInput;
}
export interface UpdateCustomerMutationArgs {
input: UpdateCustomerInput;
}
export interface CreateCustomerAddressMutationArgs {
input: CreateAddressInput;
}
export interface UpdateCustomerAddressMutationArgs {
input: UpdateAddressInput;
}
export interface DeleteCustomerAddressMutationArgs {
id: string;
}
export interface VerifyCustomerAccountMutationArgs {
token: string;
password: string;
}
export interface UpdateCustomerPasswordMutationArgs {
currentPassword: string;
newPassword: string;
}
export interface RequestPasswordResetMutationArgs {
emailAddress: string;
}
export interface ResetPasswordMutationArgs {
token: string;
password: string;
}
export declare type SearchResultPrice = PriceRange | SinglePrice;
export declare type StringOperators = {
eq?: Maybe<Scalars['String']>;
contains?: Maybe<Scalars['String']>;
};
export declare type TaxCategory = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
};
export declare type TaxRate = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
enabled: Scalars['Boolean'];
value: Scalars['Int'];
category: TaxCategory;
zone: Zone;
customerGroup?: Maybe<CustomerGroup>;
};
export declare type TaxRateList = PaginatedList & {
items: Array<TaxRate>;
totalItems: Scalars['Int'];
};
export declare type UpdateAddressInput = {
id: Scalars['ID'];
fullName?: Maybe<Scalars['String']>;
company?: Maybe<Scalars['String']>;
streetLine1?: Maybe<Scalars['String']>;
streetLine2?: Maybe<Scalars['String']>;
city?: Maybe<Scalars['String']>;
province?: Maybe<Scalars['String']>;
postalCode?: Maybe<Scalars['String']>;
countryCode?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
defaultShippingAddress?: Maybe<Scalars['Boolean']>;
defaultBillingAddress?: Maybe<Scalars['Boolean']>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type UpdateCustomerInput = {
title?: Maybe<Scalars['String']>;
firstName?: Maybe<Scalars['String']>;
lastName?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type User = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
identifier: Scalars['String'];
verified: Scalars['Boolean'];
roles: Array<Role>;
lastLogin?: Maybe<Scalars['String']>;
customFields?: Maybe<Scalars['JSON']>;
};
export declare type Zone = Node & {
id: Scalars['ID'];
createdAt: Scalars['DateTime'];
updatedAt: Scalars['DateTime'];
name: Scalars['String'];
members: Array<Country>;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var AdjustmentType;
(function (AdjustmentType) {
AdjustmentType["TAX"] = "TAX";
AdjustmentType["PROMOTION"] = "PROMOTION";
AdjustmentType["SHIPPING"] = "SHIPPING";
AdjustmentType["REFUND"] = "REFUND";
AdjustmentType["TAX_REFUND"] = "TAX_REFUND";
AdjustmentType["PROMOTION_REFUND"] = "PROMOTION_REFUND";
AdjustmentType["SHIPPING_REFUND"] = "SHIPPING_REFUND";
})(AdjustmentType = exports.AdjustmentType || (exports.AdjustmentType = {}));
var AssetType;
(function (AssetType) {
AssetType["IMAGE"] = "IMAGE";
AssetType["VIDEO"] = "VIDEO";
AssetType["BINARY"] = "BINARY";
})(AssetType = exports.AssetType || (exports.AssetType = {}));
var ConfigArgType;
(function (ConfigArgType) {
ConfigArgType["PERCENTAGE"] = "PERCENTAGE";
ConfigArgType["MONEY"] = "MONEY";
ConfigArgType["INT"] = "INT";
ConfigArgType["STRING"] = "STRING";
ConfigArgType["DATETIME"] = "DATETIME";
ConfigArgType["BOOLEAN"] = "BOOLEAN";
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS";
ConfigArgType["STRING_OPERATOR"] = "STRING_OPERATOR";
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {}));
var CurrencyCode;
(function (CurrencyCode) {
CurrencyCode["AED"] = "AED";
CurrencyCode["AFN"] = "AFN";
CurrencyCode["ALL"] = "ALL";
CurrencyCode["AMD"] = "AMD";
CurrencyCode["ANG"] = "ANG";
CurrencyCode["AOA"] = "AOA";
CurrencyCode["ARS"] = "ARS";
CurrencyCode["AUD"] = "AUD";
CurrencyCode["AWG"] = "AWG";
CurrencyCode["AZN"] = "AZN";
CurrencyCode["BAM"] = "BAM";
CurrencyCode["BBD"] = "BBD";
CurrencyCode["BDT"] = "BDT";
CurrencyCode["BGN"] = "BGN";
CurrencyCode["BHD"] = "BHD";
CurrencyCode["BIF"] = "BIF";
CurrencyCode["BMD"] = "BMD";
CurrencyCode["BND"] = "BND";
CurrencyCode["BOB"] = "BOB";
CurrencyCode["BRL"] = "BRL";
CurrencyCode["BSD"] = "BSD";
CurrencyCode["BTN"] = "BTN";
CurrencyCode["BWP"] = "BWP";
CurrencyCode["BYN"] = "BYN";
CurrencyCode["BZD"] = "BZD";
CurrencyCode["CAD"] = "CAD";
CurrencyCode["CHE"] = "CHE";
CurrencyCode["CHW"] = "CHW";
CurrencyCode["CLP"] = "CLP";
CurrencyCode["CNY"] = "CNY";
CurrencyCode["COP"] = "COP";
CurrencyCode["CRC"] = "CRC";
CurrencyCode["CUC"] = "CUC";
CurrencyCode["CUP"] = "CUP";
CurrencyCode["CVE"] = "CVE";
CurrencyCode["CZK"] = "CZK";
CurrencyCode["DJF"] = "DJF";
CurrencyCode["DKK"] = "DKK";
CurrencyCode["DOP"] = "DOP";
CurrencyCode["DZD"] = "DZD";
CurrencyCode["EGP"] = "EGP";
CurrencyCode["ERN"] = "ERN";
CurrencyCode["ETB"] = "ETB";
CurrencyCode["EUR"] = "EUR";
CurrencyCode["FJD"] = "FJD";
CurrencyCode["FKP"] = "FKP";
CurrencyCode["GBP"] = "GBP";
CurrencyCode["GEL"] = "GEL";
CurrencyCode["GHS"] = "GHS";
CurrencyCode["GIP"] = "GIP";
CurrencyCode["GMD"] = "GMD";
CurrencyCode["GNF"] = "GNF";
CurrencyCode["GTQ"] = "GTQ";
CurrencyCode["GYD"] = "GYD";
CurrencyCode["HKD"] = "HKD";
CurrencyCode["HNL"] = "HNL";
CurrencyCode["HRK"] = "HRK";
CurrencyCode["HTG"] = "HTG";
CurrencyCode["HUF"] = "HUF";
CurrencyCode["IDR"] = "IDR";
CurrencyCode["ILS"] = "ILS";
CurrencyCode["INR"] = "INR";
CurrencyCode["IQD"] = "IQD";
CurrencyCode["IRR"] = "IRR";
CurrencyCode["ISK"] = "ISK";
CurrencyCode["JMD"] = "JMD";
CurrencyCode["JOD"] = "JOD";
CurrencyCode["JPY"] = "JPY";
CurrencyCode["KES"] = "KES";
CurrencyCode["KGS"] = "KGS";
CurrencyCode["KHR"] = "KHR";
CurrencyCode["KMF"] = "KMF";
CurrencyCode["KPW"] = "KPW";
CurrencyCode["KRW"] = "KRW";
CurrencyCode["KWD"] = "KWD";
CurrencyCode["KYD"] = "KYD";
CurrencyCode["KZT"] = "KZT";
CurrencyCode["LAK"] = "LAK";
CurrencyCode["LBP"] = "LBP";
CurrencyCode["LKR"] = "LKR";
CurrencyCode["LRD"] = "LRD";
CurrencyCode["LSL"] = "LSL";
CurrencyCode["LYD"] = "LYD";
CurrencyCode["MAD"] = "MAD";
CurrencyCode["MDL"] = "MDL";
CurrencyCode["MGA"] = "MGA";
CurrencyCode["MKD"] = "MKD";
CurrencyCode["MMK"] = "MMK";
CurrencyCode["MNT"] = "MNT";
CurrencyCode["MOP"] = "MOP";
CurrencyCode["MRU"] = "MRU";
CurrencyCode["MUR"] = "MUR";
CurrencyCode["MVR"] = "MVR";
CurrencyCode["MWK"] = "MWK";
CurrencyCode["MXN"] = "MXN";
CurrencyCode["MYR"] = "MYR";
CurrencyCode["MZN"] = "MZN";
CurrencyCode["NAD"] = "NAD";
CurrencyCode["NGN"] = "NGN";
CurrencyCode["NIO"] = "NIO";
CurrencyCode["NOK"] = "NOK";
CurrencyCode["NPR"] = "NPR";
CurrencyCode["NZD"] = "NZD";
CurrencyCode["OMR"] = "OMR";
CurrencyCode["PAB"] = "PAB";
CurrencyCode["PEN"] = "PEN";
CurrencyCode["PGK"] = "PGK";
CurrencyCode["PHP"] = "PHP";
CurrencyCode["PKR"] = "PKR";
CurrencyCode["PLN"] = "PLN";
CurrencyCode["PYG"] = "PYG";
CurrencyCode["QAR"] = "QAR";
CurrencyCode["RON"] = "RON";
CurrencyCode["RSD"] = "RSD";
CurrencyCode["RUB"] = "RUB";
CurrencyCode["RWF"] = "RWF";
CurrencyCode["SAR"] = "SAR";
CurrencyCode["SBD"] = "SBD";
CurrencyCode["SCR"] = "SCR";
CurrencyCode["SDG"] = "SDG";
CurrencyCode["SEK"] = "SEK";
CurrencyCode["SGD"] = "SGD";
CurrencyCode["SHP"] = "SHP";
CurrencyCode["SLL"] = "SLL";
CurrencyCode["SOS"] = "SOS";
CurrencyCode["SRD"] = "SRD";
CurrencyCode["SSP"] = "SSP";
CurrencyCode["STN"] = "STN";
CurrencyCode["SVC"] = "SVC";
CurrencyCode["SYP"] = "SYP";
CurrencyCode["SZL"] = "SZL";
CurrencyCode["THB"] = "THB";
CurrencyCode["TJS"] = "TJS";
CurrencyCode["TMT"] = "TMT";
CurrencyCode["TND"] = "TND";
CurrencyCode["TOP"] = "TOP";
CurrencyCode["TRY"] = "TRY";
CurrencyCode["TTD"] = "TTD";
CurrencyCode["TWD"] = "TWD";
CurrencyCode["TZS"] = "TZS";
CurrencyCode["UAH"] = "UAH";
CurrencyCode["UGX"] = "UGX";
CurrencyCode["USD"] = "USD";
CurrencyCode["UYU"] = "UYU";
CurrencyCode["UZS"] = "UZS";
CurrencyCode["VES"] = "VES";
CurrencyCode["VND"] = "VND";
CurrencyCode["VUV"] = "VUV";
CurrencyCode["WST"] = "WST";
CurrencyCode["XAF"] = "XAF";
CurrencyCode["XCD"] = "XCD";
CurrencyCode["XOF"] = "XOF";
CurrencyCode["XPF"] = "XPF";
CurrencyCode["YER"] = "YER";
CurrencyCode["ZAR"] = "ZAR";
CurrencyCode["ZMW"] = "ZMW";
CurrencyCode["ZWL"] = "ZWL";
})(CurrencyCode = exports.CurrencyCode || (exports.CurrencyCode = {}));
var DeletionResult;
(function (DeletionResult) {
DeletionResult["DELETED"] = "DELETED";
DeletionResult["NOT_DELETED"] = "NOT_DELETED";
})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var LanguageCode;

@@ -190,193 +382,2 @@ (function (LanguageCode) {

})(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
var CurrencyCode;
(function (CurrencyCode) {
CurrencyCode["AED"] = "AED";
CurrencyCode["AFN"] = "AFN";
CurrencyCode["ALL"] = "ALL";
CurrencyCode["AMD"] = "AMD";
CurrencyCode["ANG"] = "ANG";
CurrencyCode["AOA"] = "AOA";
CurrencyCode["ARS"] = "ARS";
CurrencyCode["AUD"] = "AUD";
CurrencyCode["AWG"] = "AWG";
CurrencyCode["AZN"] = "AZN";
CurrencyCode["BAM"] = "BAM";
CurrencyCode["BBD"] = "BBD";
CurrencyCode["BDT"] = "BDT";
CurrencyCode["BGN"] = "BGN";
CurrencyCode["BHD"] = "BHD";
CurrencyCode["BIF"] = "BIF";
CurrencyCode["BMD"] = "BMD";
CurrencyCode["BND"] = "BND";
CurrencyCode["BOB"] = "BOB";
CurrencyCode["BRL"] = "BRL";
CurrencyCode["BSD"] = "BSD";
CurrencyCode["BTN"] = "BTN";
CurrencyCode["BWP"] = "BWP";
CurrencyCode["BYN"] = "BYN";
CurrencyCode["BZD"] = "BZD";
CurrencyCode["CAD"] = "CAD";
CurrencyCode["CHE"] = "CHE";
CurrencyCode["CHW"] = "CHW";
CurrencyCode["CLP"] = "CLP";
CurrencyCode["CNY"] = "CNY";
CurrencyCode["COP"] = "COP";
CurrencyCode["CRC"] = "CRC";
CurrencyCode["CUC"] = "CUC";
CurrencyCode["CUP"] = "CUP";
CurrencyCode["CVE"] = "CVE";
CurrencyCode["CZK"] = "CZK";
CurrencyCode["DJF"] = "DJF";
CurrencyCode["DKK"] = "DKK";
CurrencyCode["DOP"] = "DOP";
CurrencyCode["DZD"] = "DZD";
CurrencyCode["EGP"] = "EGP";
CurrencyCode["ERN"] = "ERN";
CurrencyCode["ETB"] = "ETB";
CurrencyCode["EUR"] = "EUR";
CurrencyCode["FJD"] = "FJD";
CurrencyCode["FKP"] = "FKP";
CurrencyCode["GBP"] = "GBP";
CurrencyCode["GEL"] = "GEL";
CurrencyCode["GHS"] = "GHS";
CurrencyCode["GIP"] = "GIP";
CurrencyCode["GMD"] = "GMD";
CurrencyCode["GNF"] = "GNF";
CurrencyCode["GTQ"] = "GTQ";
CurrencyCode["GYD"] = "GYD";
CurrencyCode["HKD"] = "HKD";
CurrencyCode["HNL"] = "HNL";
CurrencyCode["HRK"] = "HRK";
CurrencyCode["HTG"] = "HTG";
CurrencyCode["HUF"] = "HUF";
CurrencyCode["IDR"] = "IDR";
CurrencyCode["ILS"] = "ILS";
CurrencyCode["INR"] = "INR";
CurrencyCode["IQD"] = "IQD";
CurrencyCode["IRR"] = "IRR";
CurrencyCode["ISK"] = "ISK";
CurrencyCode["JMD"] = "JMD";
CurrencyCode["JOD"] = "JOD";
CurrencyCode["JPY"] = "JPY";
CurrencyCode["KES"] = "KES";
CurrencyCode["KGS"] = "KGS";
CurrencyCode["KHR"] = "KHR";
CurrencyCode["KMF"] = "KMF";
CurrencyCode["KPW"] = "KPW";
CurrencyCode["KRW"] = "KRW";
CurrencyCode["KWD"] = "KWD";
CurrencyCode["KYD"] = "KYD";
CurrencyCode["KZT"] = "KZT";
CurrencyCode["LAK"] = "LAK";
CurrencyCode["LBP"] = "LBP";
CurrencyCode["LKR"] = "LKR";
CurrencyCode["LRD"] = "LRD";
CurrencyCode["LSL"] = "LSL";
CurrencyCode["LYD"] = "LYD";
CurrencyCode["MAD"] = "MAD";
CurrencyCode["MDL"] = "MDL";
CurrencyCode["MGA"] = "MGA";
CurrencyCode["MKD"] = "MKD";
CurrencyCode["MMK"] = "MMK";
CurrencyCode["MNT"] = "MNT";
CurrencyCode["MOP"] = "MOP";
CurrencyCode["MRU"] = "MRU";
CurrencyCode["MUR"] = "MUR";
CurrencyCode["MVR"] = "MVR";
CurrencyCode["MWK"] = "MWK";
CurrencyCode["MXN"] = "MXN";
CurrencyCode["MYR"] = "MYR";
CurrencyCode["MZN"] = "MZN";
CurrencyCode["NAD"] = "NAD";
CurrencyCode["NGN"] = "NGN";
CurrencyCode["NIO"] = "NIO";
CurrencyCode["NOK"] = "NOK";
CurrencyCode["NPR"] = "NPR";
CurrencyCode["NZD"] = "NZD";
CurrencyCode["OMR"] = "OMR";
CurrencyCode["PAB"] = "PAB";
CurrencyCode["PEN"] = "PEN";
CurrencyCode["PGK"] = "PGK";
CurrencyCode["PHP"] = "PHP";
CurrencyCode["PKR"] = "PKR";
CurrencyCode["PLN"] = "PLN";
CurrencyCode["PYG"] = "PYG";
CurrencyCode["QAR"] = "QAR";
CurrencyCode["RON"] = "RON";
CurrencyCode["RSD"] = "RSD";
CurrencyCode["RUB"] = "RUB";
CurrencyCode["RWF"] = "RWF";
CurrencyCode["SAR"] = "SAR";
CurrencyCode["SBD"] = "SBD";
CurrencyCode["SCR"] = "SCR";
CurrencyCode["SDG"] = "SDG";
CurrencyCode["SEK"] = "SEK";
CurrencyCode["SGD"] = "SGD";
CurrencyCode["SHP"] = "SHP";
CurrencyCode["SLL"] = "SLL";
CurrencyCode["SOS"] = "SOS";
CurrencyCode["SRD"] = "SRD";
CurrencyCode["SSP"] = "SSP";
CurrencyCode["STN"] = "STN";
CurrencyCode["SVC"] = "SVC";
CurrencyCode["SYP"] = "SYP";
CurrencyCode["SZL"] = "SZL";
CurrencyCode["THB"] = "THB";
CurrencyCode["TJS"] = "TJS";
CurrencyCode["TMT"] = "TMT";
CurrencyCode["TND"] = "TND";
CurrencyCode["TOP"] = "TOP";
CurrencyCode["TRY"] = "TRY";
CurrencyCode["TTD"] = "TTD";
CurrencyCode["TWD"] = "TWD";
CurrencyCode["TZS"] = "TZS";
CurrencyCode["UAH"] = "UAH";
CurrencyCode["UGX"] = "UGX";
CurrencyCode["USD"] = "USD";
CurrencyCode["UYU"] = "UYU";
CurrencyCode["UZS"] = "UZS";
CurrencyCode["VES"] = "VES";
CurrencyCode["VND"] = "VND";
CurrencyCode["VUV"] = "VUV";
CurrencyCode["WST"] = "WST";
CurrencyCode["XAF"] = "XAF";
CurrencyCode["XCD"] = "XCD";
CurrencyCode["XOF"] = "XOF";
CurrencyCode["XPF"] = "XPF";
CurrencyCode["YER"] = "YER";
CurrencyCode["ZAR"] = "ZAR";
CurrencyCode["ZMW"] = "ZMW";
CurrencyCode["ZWL"] = "ZWL";
})(CurrencyCode = exports.CurrencyCode || (exports.CurrencyCode = {}));
var SortOrder;
(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
var AssetType;
(function (AssetType) {
AssetType["IMAGE"] = "IMAGE";
AssetType["VIDEO"] = "VIDEO";
AssetType["BINARY"] = "BINARY";
})(AssetType = exports.AssetType || (exports.AssetType = {}));
var AdjustmentType;
(function (AdjustmentType) {
AdjustmentType["TAX"] = "TAX";
AdjustmentType["PROMOTION"] = "PROMOTION";
AdjustmentType["SHIPPING"] = "SHIPPING";
AdjustmentType["REFUND"] = "REFUND";
AdjustmentType["TAX_REFUND"] = "TAX_REFUND";
AdjustmentType["PROMOTION_REFUND"] = "PROMOTION_REFUND";
AdjustmentType["SHIPPING_REFUND"] = "SHIPPING_REFUND";
})(AdjustmentType = exports.AdjustmentType || (exports.AdjustmentType = {}));
var ConfigArgType;
(function (ConfigArgType) {
ConfigArgType["PERCENTAGE"] = "PERCENTAGE";
ConfigArgType["MONEY"] = "MONEY";
ConfigArgType["INT"] = "INT";
ConfigArgType["STRING"] = "STRING";
ConfigArgType["DATETIME"] = "DATETIME";
ConfigArgType["BOOLEAN"] = "BOOLEAN";
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS";
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {}));
var Permission;

@@ -409,7 +410,14 @@ (function (Permission) {

})(Permission = exports.Permission || (exports.Permission = {}));
var DeletionResult;
(function (DeletionResult) {
DeletionResult["DELETED"] = "DELETED";
DeletionResult["NOT_DELETED"] = "NOT_DELETED";
})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var SortOrder;
(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
var StockMovementType;
(function (StockMovementType) {
StockMovementType["ADJUSTMENT"] = "ADJUSTMENT";
StockMovementType["SALE"] = "SALE";
StockMovementType["CANCELLATION"] = "CANCELLATION";
StockMovementType["RETURN"] = "RETURN";
})(StockMovementType = exports.StockMovementType || (exports.StockMovementType = {}));
//# sourceMappingURL=generated-shop-types.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SortOrder;
(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
var Permission;
(function (Permission) {
Permission["Authenticated"] = "Authenticated";
Permission["SuperAdmin"] = "SuperAdmin";
Permission["Owner"] = "Owner";
Permission["Public"] = "Public";
Permission["CreateCatalog"] = "CreateCatalog";
Permission["ReadCatalog"] = "ReadCatalog";
Permission["UpdateCatalog"] = "UpdateCatalog";
Permission["DeleteCatalog"] = "DeleteCatalog";
Permission["CreateCustomer"] = "CreateCustomer";
Permission["ReadCustomer"] = "ReadCustomer";
Permission["UpdateCustomer"] = "UpdateCustomer";
Permission["DeleteCustomer"] = "DeleteCustomer";
Permission["CreateAdministrator"] = "CreateAdministrator";
Permission["ReadAdministrator"] = "ReadAdministrator";
Permission["UpdateAdministrator"] = "UpdateAdministrator";
Permission["DeleteAdministrator"] = "DeleteAdministrator";
Permission["CreateOrder"] = "CreateOrder";
Permission["ReadOrder"] = "ReadOrder";
Permission["UpdateOrder"] = "UpdateOrder";
Permission["DeleteOrder"] = "DeleteOrder";
Permission["CreateSettings"] = "CreateSettings";
Permission["ReadSettings"] = "ReadSettings";
Permission["UpdateSettings"] = "UpdateSettings";
Permission["DeleteSettings"] = "DeleteSettings";
})(Permission = exports.Permission || (exports.Permission = {}));
var AdjustmentType;
(function (AdjustmentType) {
AdjustmentType["TAX"] = "TAX";
AdjustmentType["PROMOTION"] = "PROMOTION";
AdjustmentType["SHIPPING"] = "SHIPPING";
AdjustmentType["REFUND"] = "REFUND";
AdjustmentType["TAX_REFUND"] = "TAX_REFUND";
AdjustmentType["PROMOTION_REFUND"] = "PROMOTION_REFUND";
AdjustmentType["SHIPPING_REFUND"] = "SHIPPING_REFUND";
})(AdjustmentType = exports.AdjustmentType || (exports.AdjustmentType = {}));
var AssetType;
(function (AssetType) {
AssetType["IMAGE"] = "IMAGE";
AssetType["VIDEO"] = "VIDEO";
AssetType["BINARY"] = "BINARY";
})(AssetType = exports.AssetType || (exports.AssetType = {}));
var ConfigArgType;
(function (ConfigArgType) {
ConfigArgType["PERCENTAGE"] = "PERCENTAGE";
ConfigArgType["MONEY"] = "MONEY";
ConfigArgType["INT"] = "INT";
ConfigArgType["STRING"] = "STRING";
ConfigArgType["DATETIME"] = "DATETIME";
ConfigArgType["BOOLEAN"] = "BOOLEAN";
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS";
ConfigArgType["STRING_OPERATOR"] = "STRING_OPERATOR";
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {}));
var CurrencyCode;
(function (CurrencyCode) {
CurrencyCode["AED"] = "AED";
CurrencyCode["AFN"] = "AFN";
CurrencyCode["ALL"] = "ALL";
CurrencyCode["AMD"] = "AMD";
CurrencyCode["ANG"] = "ANG";
CurrencyCode["AOA"] = "AOA";
CurrencyCode["ARS"] = "ARS";
CurrencyCode["AUD"] = "AUD";
CurrencyCode["AWG"] = "AWG";
CurrencyCode["AZN"] = "AZN";
CurrencyCode["BAM"] = "BAM";
CurrencyCode["BBD"] = "BBD";
CurrencyCode["BDT"] = "BDT";
CurrencyCode["BGN"] = "BGN";
CurrencyCode["BHD"] = "BHD";
CurrencyCode["BIF"] = "BIF";
CurrencyCode["BMD"] = "BMD";
CurrencyCode["BND"] = "BND";
CurrencyCode["BOB"] = "BOB";
CurrencyCode["BRL"] = "BRL";
CurrencyCode["BSD"] = "BSD";
CurrencyCode["BTN"] = "BTN";
CurrencyCode["BWP"] = "BWP";
CurrencyCode["BYN"] = "BYN";
CurrencyCode["BZD"] = "BZD";
CurrencyCode["CAD"] = "CAD";
CurrencyCode["CHE"] = "CHE";
CurrencyCode["CHW"] = "CHW";
CurrencyCode["CLP"] = "CLP";
CurrencyCode["CNY"] = "CNY";
CurrencyCode["COP"] = "COP";
CurrencyCode["CRC"] = "CRC";
CurrencyCode["CUC"] = "CUC";
CurrencyCode["CUP"] = "CUP";
CurrencyCode["CVE"] = "CVE";
CurrencyCode["CZK"] = "CZK";
CurrencyCode["DJF"] = "DJF";
CurrencyCode["DKK"] = "DKK";
CurrencyCode["DOP"] = "DOP";
CurrencyCode["DZD"] = "DZD";
CurrencyCode["EGP"] = "EGP";
CurrencyCode["ERN"] = "ERN";
CurrencyCode["ETB"] = "ETB";
CurrencyCode["EUR"] = "EUR";
CurrencyCode["FJD"] = "FJD";
CurrencyCode["FKP"] = "FKP";
CurrencyCode["GBP"] = "GBP";
CurrencyCode["GEL"] = "GEL";
CurrencyCode["GHS"] = "GHS";
CurrencyCode["GIP"] = "GIP";
CurrencyCode["GMD"] = "GMD";
CurrencyCode["GNF"] = "GNF";
CurrencyCode["GTQ"] = "GTQ";
CurrencyCode["GYD"] = "GYD";
CurrencyCode["HKD"] = "HKD";
CurrencyCode["HNL"] = "HNL";
CurrencyCode["HRK"] = "HRK";
CurrencyCode["HTG"] = "HTG";
CurrencyCode["HUF"] = "HUF";
CurrencyCode["IDR"] = "IDR";
CurrencyCode["ILS"] = "ILS";
CurrencyCode["INR"] = "INR";
CurrencyCode["IQD"] = "IQD";
CurrencyCode["IRR"] = "IRR";
CurrencyCode["ISK"] = "ISK";
CurrencyCode["JMD"] = "JMD";
CurrencyCode["JOD"] = "JOD";
CurrencyCode["JPY"] = "JPY";
CurrencyCode["KES"] = "KES";
CurrencyCode["KGS"] = "KGS";
CurrencyCode["KHR"] = "KHR";
CurrencyCode["KMF"] = "KMF";
CurrencyCode["KPW"] = "KPW";
CurrencyCode["KRW"] = "KRW";
CurrencyCode["KWD"] = "KWD";
CurrencyCode["KYD"] = "KYD";
CurrencyCode["KZT"] = "KZT";
CurrencyCode["LAK"] = "LAK";
CurrencyCode["LBP"] = "LBP";
CurrencyCode["LKR"] = "LKR";
CurrencyCode["LRD"] = "LRD";
CurrencyCode["LSL"] = "LSL";
CurrencyCode["LYD"] = "LYD";
CurrencyCode["MAD"] = "MAD";
CurrencyCode["MDL"] = "MDL";
CurrencyCode["MGA"] = "MGA";
CurrencyCode["MKD"] = "MKD";
CurrencyCode["MMK"] = "MMK";
CurrencyCode["MNT"] = "MNT";
CurrencyCode["MOP"] = "MOP";
CurrencyCode["MRU"] = "MRU";
CurrencyCode["MUR"] = "MUR";
CurrencyCode["MVR"] = "MVR";
CurrencyCode["MWK"] = "MWK";
CurrencyCode["MXN"] = "MXN";
CurrencyCode["MYR"] = "MYR";
CurrencyCode["MZN"] = "MZN";
CurrencyCode["NAD"] = "NAD";
CurrencyCode["NGN"] = "NGN";
CurrencyCode["NIO"] = "NIO";
CurrencyCode["NOK"] = "NOK";
CurrencyCode["NPR"] = "NPR";
CurrencyCode["NZD"] = "NZD";
CurrencyCode["OMR"] = "OMR";
CurrencyCode["PAB"] = "PAB";
CurrencyCode["PEN"] = "PEN";
CurrencyCode["PGK"] = "PGK";
CurrencyCode["PHP"] = "PHP";
CurrencyCode["PKR"] = "PKR";
CurrencyCode["PLN"] = "PLN";
CurrencyCode["PYG"] = "PYG";
CurrencyCode["QAR"] = "QAR";
CurrencyCode["RON"] = "RON";
CurrencyCode["RSD"] = "RSD";
CurrencyCode["RUB"] = "RUB";
CurrencyCode["RWF"] = "RWF";
CurrencyCode["SAR"] = "SAR";
CurrencyCode["SBD"] = "SBD";
CurrencyCode["SCR"] = "SCR";
CurrencyCode["SDG"] = "SDG";
CurrencyCode["SEK"] = "SEK";
CurrencyCode["SGD"] = "SGD";
CurrencyCode["SHP"] = "SHP";
CurrencyCode["SLL"] = "SLL";
CurrencyCode["SOS"] = "SOS";
CurrencyCode["SRD"] = "SRD";
CurrencyCode["SSP"] = "SSP";
CurrencyCode["STN"] = "STN";
CurrencyCode["SVC"] = "SVC";
CurrencyCode["SYP"] = "SYP";
CurrencyCode["SZL"] = "SZL";
CurrencyCode["THB"] = "THB";
CurrencyCode["TJS"] = "TJS";
CurrencyCode["TMT"] = "TMT";
CurrencyCode["TND"] = "TND";
CurrencyCode["TOP"] = "TOP";
CurrencyCode["TRY"] = "TRY";
CurrencyCode["TTD"] = "TTD";
CurrencyCode["TWD"] = "TWD";
CurrencyCode["TZS"] = "TZS";
CurrencyCode["UAH"] = "UAH";
CurrencyCode["UGX"] = "UGX";
CurrencyCode["USD"] = "USD";
CurrencyCode["UYU"] = "UYU";
CurrencyCode["UZS"] = "UZS";
CurrencyCode["VES"] = "VES";
CurrencyCode["VND"] = "VND";
CurrencyCode["VUV"] = "VUV";
CurrencyCode["WST"] = "WST";
CurrencyCode["XAF"] = "XAF";
CurrencyCode["XCD"] = "XCD";
CurrencyCode["XOF"] = "XOF";
CurrencyCode["XPF"] = "XPF";
CurrencyCode["YER"] = "YER";
CurrencyCode["ZAR"] = "ZAR";
CurrencyCode["ZMW"] = "ZMW";
CurrencyCode["ZWL"] = "ZWL";
})(CurrencyCode = exports.CurrencyCode || (exports.CurrencyCode = {}));
var DeletionResult;
(function (DeletionResult) {
DeletionResult["DELETED"] = "DELETED";
DeletionResult["NOT_DELETED"] = "NOT_DELETED";
})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var LanguageCode;

@@ -222,193 +382,41 @@ (function (LanguageCode) {

})(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
var CurrencyCode;
(function (CurrencyCode) {
CurrencyCode["AED"] = "AED";
CurrencyCode["AFN"] = "AFN";
CurrencyCode["ALL"] = "ALL";
CurrencyCode["AMD"] = "AMD";
CurrencyCode["ANG"] = "ANG";
CurrencyCode["AOA"] = "AOA";
CurrencyCode["ARS"] = "ARS";
CurrencyCode["AUD"] = "AUD";
CurrencyCode["AWG"] = "AWG";
CurrencyCode["AZN"] = "AZN";
CurrencyCode["BAM"] = "BAM";
CurrencyCode["BBD"] = "BBD";
CurrencyCode["BDT"] = "BDT";
CurrencyCode["BGN"] = "BGN";
CurrencyCode["BHD"] = "BHD";
CurrencyCode["BIF"] = "BIF";
CurrencyCode["BMD"] = "BMD";
CurrencyCode["BND"] = "BND";
CurrencyCode["BOB"] = "BOB";
CurrencyCode["BRL"] = "BRL";
CurrencyCode["BSD"] = "BSD";
CurrencyCode["BTN"] = "BTN";
CurrencyCode["BWP"] = "BWP";
CurrencyCode["BYN"] = "BYN";
CurrencyCode["BZD"] = "BZD";
CurrencyCode["CAD"] = "CAD";
CurrencyCode["CHE"] = "CHE";
CurrencyCode["CHW"] = "CHW";
CurrencyCode["CLP"] = "CLP";
CurrencyCode["CNY"] = "CNY";
CurrencyCode["COP"] = "COP";
CurrencyCode["CRC"] = "CRC";
CurrencyCode["CUC"] = "CUC";
CurrencyCode["CUP"] = "CUP";
CurrencyCode["CVE"] = "CVE";
CurrencyCode["CZK"] = "CZK";
CurrencyCode["DJF"] = "DJF";
CurrencyCode["DKK"] = "DKK";
CurrencyCode["DOP"] = "DOP";
CurrencyCode["DZD"] = "DZD";
CurrencyCode["EGP"] = "EGP";
CurrencyCode["ERN"] = "ERN";
CurrencyCode["ETB"] = "ETB";
CurrencyCode["EUR"] = "EUR";
CurrencyCode["FJD"] = "FJD";
CurrencyCode["FKP"] = "FKP";
CurrencyCode["GBP"] = "GBP";
CurrencyCode["GEL"] = "GEL";
CurrencyCode["GHS"] = "GHS";
CurrencyCode["GIP"] = "GIP";
CurrencyCode["GMD"] = "GMD";
CurrencyCode["GNF"] = "GNF";
CurrencyCode["GTQ"] = "GTQ";
CurrencyCode["GYD"] = "GYD";
CurrencyCode["HKD"] = "HKD";
CurrencyCode["HNL"] = "HNL";
CurrencyCode["HRK"] = "HRK";
CurrencyCode["HTG"] = "HTG";
CurrencyCode["HUF"] = "HUF";
CurrencyCode["IDR"] = "IDR";
CurrencyCode["ILS"] = "ILS";
CurrencyCode["INR"] = "INR";
CurrencyCode["IQD"] = "IQD";
CurrencyCode["IRR"] = "IRR";
CurrencyCode["ISK"] = "ISK";
CurrencyCode["JMD"] = "JMD";
CurrencyCode["JOD"] = "JOD";
CurrencyCode["JPY"] = "JPY";
CurrencyCode["KES"] = "KES";
CurrencyCode["KGS"] = "KGS";
CurrencyCode["KHR"] = "KHR";
CurrencyCode["KMF"] = "KMF";
CurrencyCode["KPW"] = "KPW";
CurrencyCode["KRW"] = "KRW";
CurrencyCode["KWD"] = "KWD";
CurrencyCode["KYD"] = "KYD";
CurrencyCode["KZT"] = "KZT";
CurrencyCode["LAK"] = "LAK";
CurrencyCode["LBP"] = "LBP";
CurrencyCode["LKR"] = "LKR";
CurrencyCode["LRD"] = "LRD";
CurrencyCode["LSL"] = "LSL";
CurrencyCode["LYD"] = "LYD";
CurrencyCode["MAD"] = "MAD";
CurrencyCode["MDL"] = "MDL";
CurrencyCode["MGA"] = "MGA";
CurrencyCode["MKD"] = "MKD";
CurrencyCode["MMK"] = "MMK";
CurrencyCode["MNT"] = "MNT";
CurrencyCode["MOP"] = "MOP";
CurrencyCode["MRU"] = "MRU";
CurrencyCode["MUR"] = "MUR";
CurrencyCode["MVR"] = "MVR";
CurrencyCode["MWK"] = "MWK";
CurrencyCode["MXN"] = "MXN";
CurrencyCode["MYR"] = "MYR";
CurrencyCode["MZN"] = "MZN";
CurrencyCode["NAD"] = "NAD";
CurrencyCode["NGN"] = "NGN";
CurrencyCode["NIO"] = "NIO";
CurrencyCode["NOK"] = "NOK";
CurrencyCode["NPR"] = "NPR";
CurrencyCode["NZD"] = "NZD";
CurrencyCode["OMR"] = "OMR";
CurrencyCode["PAB"] = "PAB";
CurrencyCode["PEN"] = "PEN";
CurrencyCode["PGK"] = "PGK";
CurrencyCode["PHP"] = "PHP";
CurrencyCode["PKR"] = "PKR";
CurrencyCode["PLN"] = "PLN";
CurrencyCode["PYG"] = "PYG";
CurrencyCode["QAR"] = "QAR";
CurrencyCode["RON"] = "RON";
CurrencyCode["RSD"] = "RSD";
CurrencyCode["RUB"] = "RUB";
CurrencyCode["RWF"] = "RWF";
CurrencyCode["SAR"] = "SAR";
CurrencyCode["SBD"] = "SBD";
CurrencyCode["SCR"] = "SCR";
CurrencyCode["SDG"] = "SDG";
CurrencyCode["SEK"] = "SEK";
CurrencyCode["SGD"] = "SGD";
CurrencyCode["SHP"] = "SHP";
CurrencyCode["SLL"] = "SLL";
CurrencyCode["SOS"] = "SOS";
CurrencyCode["SRD"] = "SRD";
CurrencyCode["SSP"] = "SSP";
CurrencyCode["STN"] = "STN";
CurrencyCode["SVC"] = "SVC";
CurrencyCode["SYP"] = "SYP";
CurrencyCode["SZL"] = "SZL";
CurrencyCode["THB"] = "THB";
CurrencyCode["TJS"] = "TJS";
CurrencyCode["TMT"] = "TMT";
CurrencyCode["TND"] = "TND";
CurrencyCode["TOP"] = "TOP";
CurrencyCode["TRY"] = "TRY";
CurrencyCode["TTD"] = "TTD";
CurrencyCode["TWD"] = "TWD";
CurrencyCode["TZS"] = "TZS";
CurrencyCode["UAH"] = "UAH";
CurrencyCode["UGX"] = "UGX";
CurrencyCode["USD"] = "USD";
CurrencyCode["UYU"] = "UYU";
CurrencyCode["UZS"] = "UZS";
CurrencyCode["VES"] = "VES";
CurrencyCode["VND"] = "VND";
CurrencyCode["VUV"] = "VUV";
CurrencyCode["WST"] = "WST";
CurrencyCode["XAF"] = "XAF";
CurrencyCode["XCD"] = "XCD";
CurrencyCode["XOF"] = "XOF";
CurrencyCode["XPF"] = "XPF";
CurrencyCode["YER"] = "YER";
CurrencyCode["ZAR"] = "ZAR";
CurrencyCode["ZMW"] = "ZMW";
CurrencyCode["ZWL"] = "ZWL";
})(CurrencyCode = exports.CurrencyCode || (exports.CurrencyCode = {}));
var AssetType;
(function (AssetType) {
AssetType["IMAGE"] = "IMAGE";
AssetType["VIDEO"] = "VIDEO";
AssetType["BINARY"] = "BINARY";
})(AssetType = exports.AssetType || (exports.AssetType = {}));
var ConfigArgType;
(function (ConfigArgType) {
ConfigArgType["PERCENTAGE"] = "PERCENTAGE";
ConfigArgType["MONEY"] = "MONEY";
ConfigArgType["INT"] = "INT";
ConfigArgType["STRING"] = "STRING";
ConfigArgType["DATETIME"] = "DATETIME";
ConfigArgType["BOOLEAN"] = "BOOLEAN";
ConfigArgType["FACET_VALUE_IDS"] = "FACET_VALUE_IDS";
})(ConfigArgType = exports.ConfigArgType || (exports.ConfigArgType = {}));
var AdjustmentType;
(function (AdjustmentType) {
AdjustmentType["TAX"] = "TAX";
AdjustmentType["PROMOTION"] = "PROMOTION";
AdjustmentType["SHIPPING"] = "SHIPPING";
AdjustmentType["REFUND"] = "REFUND";
AdjustmentType["TAX_REFUND"] = "TAX_REFUND";
AdjustmentType["PROMOTION_REFUND"] = "PROMOTION_REFUND";
AdjustmentType["SHIPPING_REFUND"] = "SHIPPING_REFUND";
})(AdjustmentType = exports.AdjustmentType || (exports.AdjustmentType = {}));
var DeletionResult;
(function (DeletionResult) {
DeletionResult["DELETED"] = "DELETED";
DeletionResult["NOT_DELETED"] = "NOT_DELETED";
})(DeletionResult = exports.DeletionResult || (exports.DeletionResult = {}));
var Permission;
(function (Permission) {
Permission["Authenticated"] = "Authenticated";
Permission["SuperAdmin"] = "SuperAdmin";
Permission["Owner"] = "Owner";
Permission["Public"] = "Public";
Permission["CreateCatalog"] = "CreateCatalog";
Permission["ReadCatalog"] = "ReadCatalog";
Permission["UpdateCatalog"] = "UpdateCatalog";
Permission["DeleteCatalog"] = "DeleteCatalog";
Permission["CreateCustomer"] = "CreateCustomer";
Permission["ReadCustomer"] = "ReadCustomer";
Permission["UpdateCustomer"] = "UpdateCustomer";
Permission["DeleteCustomer"] = "DeleteCustomer";
Permission["CreateAdministrator"] = "CreateAdministrator";
Permission["ReadAdministrator"] = "ReadAdministrator";
Permission["UpdateAdministrator"] = "UpdateAdministrator";
Permission["DeleteAdministrator"] = "DeleteAdministrator";
Permission["CreateOrder"] = "CreateOrder";
Permission["ReadOrder"] = "ReadOrder";
Permission["UpdateOrder"] = "UpdateOrder";
Permission["DeleteOrder"] = "DeleteOrder";
Permission["CreateSettings"] = "CreateSettings";
Permission["ReadSettings"] = "ReadSettings";
Permission["UpdateSettings"] = "UpdateSettings";
Permission["DeleteSettings"] = "DeleteSettings";
})(Permission = exports.Permission || (exports.Permission = {}));
var SortOrder;
(function (SortOrder) {
SortOrder["ASC"] = "ASC";
SortOrder["DESC"] = "DESC";
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
var StockMovementType;
(function (StockMovementType) {
StockMovementType["ADJUSTMENT"] = "ADJUSTMENT";
StockMovementType["SALE"] = "SALE";
StockMovementType["CANCELLATION"] = "CANCELLATION";
StockMovementType["RETURN"] = "RETURN";
})(StockMovementType = exports.StockMovementType || (exports.StockMovementType = {}));
//# sourceMappingURL=generated-types.js.map
{
"name": "@vendure/common",
"version": "0.1.0",
"version": "0.1.2-beta.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"watch": "tsc -p ./tsconfig.build.json -w",
"build": "rimraf dist && tsc -p ./tsconfig.build.json"

@@ -22,3 +23,3 @@ },

},
"gitHead": "b57de7fe17fdc179dba99e3a34a2293d4d4f6431"
"gitHead": "7d31d455a71ce1ec43bc322a958b61ee7e6888c0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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