@ikas/api-client 0.0.1-canary.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api/admin/admin-client.d.ts +10 -0
- package/dist/api/admin/admin-client.js +35 -0
- package/dist/api/admin/admin-client.js.map +1 -0
- package/dist/api/admin/common-gql.d.ts +4 -0
- package/dist/api/admin/common-gql.js +14 -0
- package/dist/api/admin/common-gql.js.map +1 -0
- package/dist/api/admin/generated/index.d.ts +2384 -0
- package/dist/api/admin/generated/index.js +319 -0
- package/dist/api/admin/generated/index.js.map +1 -0
- package/dist/api/admin/index.d.ts +4 -0
- package/dist/api/admin/index.js +17 -0
- package/dist/api/admin/index.js.map +1 -0
- package/dist/api/admin/mutation-gql.d.ts +6 -0
- package/dist/api/admin/mutation-gql.js +40 -0
- package/dist/api/admin/mutation-gql.js.map +1 -0
- package/dist/api/admin/mutation.d.ts +41 -0
- package/dist/api/admin/mutation.js +268 -0
- package/dist/api/admin/mutation.js.map +1 -0
- package/dist/api/admin/query-gql.d.ts +6 -0
- package/dist/api/admin/query-gql.js +39 -0
- package/dist/api/admin/query-gql.js.map +1 -0
- package/dist/api/admin/query.d.ts +38 -0
- package/dist/api/admin/query.js +220 -0
- package/dist/api/admin/query.js.map +1 -0
- package/dist/api/admin/rest.d.ts +21 -0
- package/dist/api/admin/rest.js +75 -0
- package/dist/api/admin/rest.js.map +1 -0
- package/dist/api/base.d.ts +47 -0
- package/dist/api/base.js +182 -0
- package/dist/api/base.js.map +1 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.js +15 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/oauth/index.d.ts +12 -0
- package/dist/api/oauth/index.js +111 -0
- package/dist/api/oauth/index.js.map +1 -0
- package/dist/api/oauth/models.d.ts +40 -0
- package/dist/api/oauth/models.js +23 -0
- package/dist/api/oauth/models.js.map +1 -0
- package/dist/globals/constants.d.ts +13 -0
- package/dist/globals/constants.js +15 -0
- package/dist/globals/constants.js.map +1 -0
- package/dist/globals/index.d.ts +1 -0
- package/dist/globals/index.js +14 -0
- package/dist/globals/index.js.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.js +14 -0
- package/dist/helpers/index.js.map +1 -0
- package/dist/helpers/webhook-validate.d.ts +1 -0
- package/dist/helpers/webhook-validate.js +67 -0
- package/dist/helpers/webhook-validate.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/models/base.d.ts +7 -0
- package/dist/models/base.js +3 -0
- package/dist/models/base.js.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +14 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/webhook/index.d.ts +1 -0
- package/dist/models/webhook/index.js +14 -0
- package/dist/models/webhook/index.js.map +1 -0
- package/dist/models/webhook/models.d.ts +68 -0
- package/dist/models/webhook/models.js +19 -0
- package/dist/models/webhook/models.js.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,2384 @@
|
|
|
1
|
+
export declare type Maybe<T> = T | null;
|
|
2
|
+
export declare type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export declare type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
+
};
|
|
11
|
+
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
+
};
|
|
14
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
|
+
export declare type Scalars = {
|
|
16
|
+
ID: string;
|
|
17
|
+
String: string;
|
|
18
|
+
Boolean: boolean;
|
|
19
|
+
Int: number;
|
|
20
|
+
Float: number;
|
|
21
|
+
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
22
|
+
JSON: any;
|
|
23
|
+
/** The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch. */
|
|
24
|
+
Timestamp: any;
|
|
25
|
+
};
|
|
26
|
+
export declare type AddOrderInvoiceInput = {
|
|
27
|
+
appId: Scalars['String'];
|
|
28
|
+
base64: Scalars['String'];
|
|
29
|
+
invoiceNumber: Scalars['String'];
|
|
30
|
+
orderId: Scalars['String'];
|
|
31
|
+
sendNotificationToCustomer: Scalars['Boolean'];
|
|
32
|
+
type: InvoiceTypeEnum;
|
|
33
|
+
};
|
|
34
|
+
/** OrderAdjustment Enum */
|
|
35
|
+
export declare enum AdjustmentEnum {
|
|
36
|
+
DECREMENT = "DECREMENT",
|
|
37
|
+
INCREMENT = "INCREMENT"
|
|
38
|
+
}
|
|
39
|
+
/** Amount Type Enum */
|
|
40
|
+
export declare enum AmountTypeEnum {
|
|
41
|
+
AMOUNT = "AMOUNT",
|
|
42
|
+
RATIO = "RATIO"
|
|
43
|
+
}
|
|
44
|
+
/** Scope Enum for Apps */
|
|
45
|
+
export declare enum AppScopeEnum {
|
|
46
|
+
READ_CAMPAIGNS = "READ_CAMPAIGNS",
|
|
47
|
+
READ_CUSTOMERS = "READ_CUSTOMERS",
|
|
48
|
+
READ_INVENTORIES = "READ_INVENTORIES",
|
|
49
|
+
READ_ORDERS = "READ_ORDERS",
|
|
50
|
+
READ_PRODUCTS = "READ_PRODUCTS",
|
|
51
|
+
WRITE_CAMPAIGNS = "WRITE_CAMPAIGNS",
|
|
52
|
+
WRITE_CUSTOMERS = "WRITE_CUSTOMERS",
|
|
53
|
+
WRITE_INVENTORIES = "WRITE_INVENTORIES",
|
|
54
|
+
WRITE_ORDERS = "WRITE_ORDERS",
|
|
55
|
+
WRITE_PRODUCTS = "WRITE_PRODUCTS",
|
|
56
|
+
WRITE_STOREFRONT = "WRITE_STOREFRONT"
|
|
57
|
+
}
|
|
58
|
+
export declare type AuthorizedApp = {
|
|
59
|
+
__typename?: 'AuthorizedApp';
|
|
60
|
+
/** The date the app was added. */
|
|
61
|
+
addedDate: Scalars['Timestamp'];
|
|
62
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
63
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
64
|
+
id: Scalars['ID'];
|
|
65
|
+
partnerId: Scalars['String'];
|
|
66
|
+
/** The id of the sales channel owned by the merchant. */
|
|
67
|
+
salesChannelId?: Maybe<Scalars['String']>;
|
|
68
|
+
/** It keeps the information of the operations that this application can access and perform.Valid scopes are `store/order/created` `store/order/updated` `store/product/created` `store/product/updated` `store/customer/created` `store/customer/updated` `store/customerFavoriteProducts/created` `store/customerFavoriteProducts/updated` `store/stock/created` `store/stock/updated`. */
|
|
69
|
+
scope: Scalars['String'];
|
|
70
|
+
/** The application's id in the store. */
|
|
71
|
+
storeAppId: Scalars['String'];
|
|
72
|
+
/** It keeps the information that a merchant cn install more than one application. If ```true```, merchant can add more than one application. */
|
|
73
|
+
supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
|
|
74
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
75
|
+
};
|
|
76
|
+
export declare type BulkUpdateProductBrandInput = {
|
|
77
|
+
description?: InputMaybe<Scalars['String']>;
|
|
78
|
+
imageId?: InputMaybe<Scalars['String']>;
|
|
79
|
+
name: Scalars['String'];
|
|
80
|
+
};
|
|
81
|
+
export declare type BulkUpdateProductCategoryInput = {
|
|
82
|
+
name: Array<Scalars['String']>;
|
|
83
|
+
};
|
|
84
|
+
export declare type BulkUpdateProductHTMLMetaDataInput = {
|
|
85
|
+
description?: InputMaybe<Scalars['String']>;
|
|
86
|
+
id?: InputMaybe<Scalars['String']>;
|
|
87
|
+
metadataOverrides?: InputMaybe<Array<BulkUpdateProductHTMLMetaDataOverrideInput>>;
|
|
88
|
+
pageTitle?: InputMaybe<Scalars['String']>;
|
|
89
|
+
redirectTo?: InputMaybe<Scalars['String']>;
|
|
90
|
+
slug: Scalars['String'];
|
|
91
|
+
target?: InputMaybe<Scalars['String']>;
|
|
92
|
+
targetType?: InputMaybe<Scalars['String']>;
|
|
93
|
+
};
|
|
94
|
+
export declare type BulkUpdateProductHTMLMetaDataOverrideInput = {
|
|
95
|
+
description: Scalars['String'];
|
|
96
|
+
language?: InputMaybe<Scalars['String']>;
|
|
97
|
+
pageTitle: Scalars['String'];
|
|
98
|
+
};
|
|
99
|
+
export declare type BulkUpdateProductImageInput = {
|
|
100
|
+
imageUrl: Scalars['String'];
|
|
101
|
+
isMain: Scalars['Boolean'];
|
|
102
|
+
order: Scalars['Float'];
|
|
103
|
+
};
|
|
104
|
+
export declare type BulkUpdateProductPriceInput = {
|
|
105
|
+
buyPrice?: InputMaybe<Scalars['Float']>;
|
|
106
|
+
currencyCode?: InputMaybe<Scalars['String']>;
|
|
107
|
+
discountPrice?: InputMaybe<Scalars['Float']>;
|
|
108
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
109
|
+
sellPrice: Scalars['Float'];
|
|
110
|
+
};
|
|
111
|
+
export declare type BulkUpdateProductStockInput = {
|
|
112
|
+
stockCount: Scalars['Float'];
|
|
113
|
+
stockLocationId: Scalars['String'];
|
|
114
|
+
};
|
|
115
|
+
export declare type BulkUpdateProductTagInput = {
|
|
116
|
+
name: Scalars['String'];
|
|
117
|
+
};
|
|
118
|
+
export declare type BulkUpdateProductVariantInput = {
|
|
119
|
+
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
120
|
+
deleted: Scalars['Boolean'];
|
|
121
|
+
id?: InputMaybe<Scalars['String']>;
|
|
122
|
+
images?: InputMaybe<Array<BulkUpdateProductImageInput>>;
|
|
123
|
+
isActive: Scalars['Boolean'];
|
|
124
|
+
prices: Array<BulkUpdateProductPriceInput>;
|
|
125
|
+
sku?: InputMaybe<Scalars['String']>;
|
|
126
|
+
sourceId?: InputMaybe<Scalars['String']>;
|
|
127
|
+
stocks?: InputMaybe<Array<BulkUpdateProductStockInput>>;
|
|
128
|
+
variantValues: Array<BulkUpdateProductVariationValueRelationInput>;
|
|
129
|
+
weight?: InputMaybe<Scalars['Float']>;
|
|
130
|
+
};
|
|
131
|
+
export declare type BulkUpdateProductVariantTypeImportInput = {
|
|
132
|
+
order: Scalars['Float'];
|
|
133
|
+
variantTypeName?: InputMaybe<Scalars['String']>;
|
|
134
|
+
variantValues: Array<BulkUpdateProductVariantValueImportInput>;
|
|
135
|
+
};
|
|
136
|
+
export declare type BulkUpdateProductVariantValueImportInput = {
|
|
137
|
+
colorCode?: InputMaybe<Scalars['String']>;
|
|
138
|
+
name: Scalars['String'];
|
|
139
|
+
sourceId?: InputMaybe<Scalars['String']>;
|
|
140
|
+
thumbnailImageUrl?: InputMaybe<Scalars['String']>;
|
|
141
|
+
};
|
|
142
|
+
export declare type BulkUpdateProductVariationValueRelationInput = {
|
|
143
|
+
variantTypeName: Scalars['String'];
|
|
144
|
+
variantValueName: Scalars['String'];
|
|
145
|
+
};
|
|
146
|
+
export declare type BulkUpdateProductsInput = {
|
|
147
|
+
brand?: InputMaybe<BulkUpdateProductBrandInput>;
|
|
148
|
+
categories: Array<BulkUpdateProductCategoryInput>;
|
|
149
|
+
deleted: Scalars['Boolean'];
|
|
150
|
+
description?: InputMaybe<Scalars['String']>;
|
|
151
|
+
id?: InputMaybe<Scalars['String']>;
|
|
152
|
+
metaData?: InputMaybe<BulkUpdateProductHTMLMetaDataInput>;
|
|
153
|
+
name: Scalars['String'];
|
|
154
|
+
productVariantTypes: Array<BulkUpdateProductVariantTypeImportInput>;
|
|
155
|
+
shortDescription?: InputMaybe<Scalars['String']>;
|
|
156
|
+
sourceId?: InputMaybe<Scalars['String']>;
|
|
157
|
+
tags?: InputMaybe<Array<BulkUpdateProductTagInput>>;
|
|
158
|
+
type: ProductTypeEnum;
|
|
159
|
+
variants: Array<BulkUpdateProductVariantInput>;
|
|
160
|
+
vendor?: InputMaybe<Scalars['String']>;
|
|
161
|
+
weight?: InputMaybe<Scalars['String']>;
|
|
162
|
+
};
|
|
163
|
+
export declare type CancelFulfillmentInput = {
|
|
164
|
+
orderId: Scalars['String'];
|
|
165
|
+
orderPackageId: Scalars['String'];
|
|
166
|
+
};
|
|
167
|
+
/** Cancelled Reason Enum */
|
|
168
|
+
export declare enum CancelledReasonEnum {
|
|
169
|
+
CUSTOMER = "CUSTOMER",
|
|
170
|
+
DECLINED = "DECLINED",
|
|
171
|
+
INVENTORY = "INVENTORY",
|
|
172
|
+
OTHER = "OTHER"
|
|
173
|
+
}
|
|
174
|
+
export declare type Category = {
|
|
175
|
+
__typename?: 'Category';
|
|
176
|
+
categoryPath?: Maybe<Array<Scalars['String']>>;
|
|
177
|
+
conditions?: Maybe<Array<CategoryCondition>>;
|
|
178
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
179
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
180
|
+
description?: Maybe<Scalars['String']>;
|
|
181
|
+
id: Scalars['ID'];
|
|
182
|
+
imageId?: Maybe<Scalars['String']>;
|
|
183
|
+
isAutomated?: Maybe<Scalars['Boolean']>;
|
|
184
|
+
metaData?: Maybe<HTMLMetaData>;
|
|
185
|
+
name: Scalars['String'];
|
|
186
|
+
orderType?: Maybe<CategoryProductsOrderTypeEnum>;
|
|
187
|
+
parentId?: Maybe<Scalars['String']>;
|
|
188
|
+
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
189
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
190
|
+
translations?: Maybe<Array<CategoryTranslation>>;
|
|
191
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
192
|
+
};
|
|
193
|
+
export declare type CategoryCondition = {
|
|
194
|
+
__typename?: 'CategoryCondition';
|
|
195
|
+
conditionType: CategoryConditionTypeEnum;
|
|
196
|
+
valueList: Array<Scalars['String']>;
|
|
197
|
+
};
|
|
198
|
+
export declare type CategoryConditionInput = {
|
|
199
|
+
conditionType: CategoryConditionTypeEnum;
|
|
200
|
+
valueList: Array<Scalars['String']>;
|
|
201
|
+
};
|
|
202
|
+
/** CategoryCondition Types */
|
|
203
|
+
export declare enum CategoryConditionTypeEnum {
|
|
204
|
+
DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
|
|
205
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
206
|
+
PRODUCT_TAG = "PRODUCT_TAG",
|
|
207
|
+
VARIANT_VALUE = "VARIANT_VALUE"
|
|
208
|
+
}
|
|
209
|
+
export declare type CategoryInput = {
|
|
210
|
+
conditions?: InputMaybe<Array<CategoryConditionInput>>;
|
|
211
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
212
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
213
|
+
description?: InputMaybe<Scalars['String']>;
|
|
214
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
215
|
+
imageId?: InputMaybe<Scalars['String']>;
|
|
216
|
+
isAutomated?: InputMaybe<Scalars['Boolean']>;
|
|
217
|
+
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
218
|
+
name: Scalars['String'];
|
|
219
|
+
orderType?: InputMaybe<CategoryProductsOrderTypeEnum>;
|
|
220
|
+
parentId?: InputMaybe<Scalars['String']>;
|
|
221
|
+
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
222
|
+
shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
|
|
223
|
+
translations?: InputMaybe<Array<CategoryTranslationInput>>;
|
|
224
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
225
|
+
};
|
|
226
|
+
export declare type CategoryPathFilterInput = {
|
|
227
|
+
in?: InputMaybe<Array<Scalars['String']>>;
|
|
228
|
+
};
|
|
229
|
+
/** CategoryProductsOrder Types */
|
|
230
|
+
export declare enum CategoryProductsOrderTypeEnum {
|
|
231
|
+
BEST_SELLER = "BEST_SELLER",
|
|
232
|
+
HIGHEST_DISCOUNT_RATIO = "HIGHEST_DISCOUNT_RATIO",
|
|
233
|
+
HIGHEST_PRICE = "HIGHEST_PRICE",
|
|
234
|
+
LOWEST_DISCOUNT_RATIO = "LOWEST_DISCOUNT_RATIO",
|
|
235
|
+
LOWEST_PRICE = "LOWEST_PRICE",
|
|
236
|
+
MANUALLY = "MANUALLY",
|
|
237
|
+
NEWEST = "NEWEST",
|
|
238
|
+
OLDEST = "OLDEST"
|
|
239
|
+
}
|
|
240
|
+
export declare type CategoryTranslation = {
|
|
241
|
+
__typename?: 'CategoryTranslation';
|
|
242
|
+
description?: Maybe<Scalars['String']>;
|
|
243
|
+
locale: Scalars['String'];
|
|
244
|
+
name?: Maybe<Scalars['String']>;
|
|
245
|
+
};
|
|
246
|
+
export declare type CategoryTranslationInput = {
|
|
247
|
+
description?: InputMaybe<Scalars['String']>;
|
|
248
|
+
locale: Scalars['String'];
|
|
249
|
+
name?: InputMaybe<Scalars['String']>;
|
|
250
|
+
};
|
|
251
|
+
export declare type City = {
|
|
252
|
+
__typename?: 'City';
|
|
253
|
+
/** The two-letter city code corresponding to the city. */
|
|
254
|
+
cityCode?: Maybe<Scalars['String']>;
|
|
255
|
+
/** ID indicating which country the city belongs to. */
|
|
256
|
+
countryId: Scalars['String'];
|
|
257
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
258
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
259
|
+
id: Scalars['ID'];
|
|
260
|
+
/** Indicates the latitude of the city. */
|
|
261
|
+
latitude?: Maybe<Scalars['String']>;
|
|
262
|
+
/** Indicates the longitude of the city. */
|
|
263
|
+
longitude?: Maybe<Scalars['String']>;
|
|
264
|
+
/** City's name. */
|
|
265
|
+
name: Scalars['String'];
|
|
266
|
+
/** Specifies the order of cities. */
|
|
267
|
+
order?: Maybe<Scalars['Float']>;
|
|
268
|
+
/** ID indicating which state the city belongs to. */
|
|
269
|
+
stateId: Scalars['String'];
|
|
270
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
271
|
+
};
|
|
272
|
+
export declare type Country = {
|
|
273
|
+
__typename?: 'Country';
|
|
274
|
+
/** Indicates the capital of the county. */
|
|
275
|
+
capital?: Maybe<Scalars['String']>;
|
|
276
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
277
|
+
/** Indicates the currency of the county. */
|
|
278
|
+
currency?: Maybe<Scalars['String']>;
|
|
279
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
280
|
+
/** Indicates the flag emoji of the county. */
|
|
281
|
+
emoji?: Maybe<Scalars['String']>;
|
|
282
|
+
/** Indicates the flag emoji code of the county. */
|
|
283
|
+
emojiString?: Maybe<Scalars['String']>;
|
|
284
|
+
id: Scalars['ID'];
|
|
285
|
+
/** The two-letter country code corresponding to the country. */
|
|
286
|
+
iso2?: Maybe<Scalars['String']>;
|
|
287
|
+
/** The three-letter country code corresponding to the country. */
|
|
288
|
+
iso3?: Maybe<Scalars['String']>;
|
|
289
|
+
/** Shows spellings of country name in different languages. */
|
|
290
|
+
locationTranslations: LocationTranslations;
|
|
291
|
+
/** Country's name. */
|
|
292
|
+
name: Scalars['String'];
|
|
293
|
+
/** Indicates the name of the country in the local language. */
|
|
294
|
+
native?: Maybe<Scalars['String']>;
|
|
295
|
+
/** The phone code corresponding to the country. */
|
|
296
|
+
phoneCode?: Maybe<Scalars['String']>;
|
|
297
|
+
/** Indicates the region of the county. */
|
|
298
|
+
region?: Maybe<Scalars['String']>;
|
|
299
|
+
/** Indicates the subregion of the county. */
|
|
300
|
+
subregion?: Maybe<Scalars['String']>;
|
|
301
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
302
|
+
};
|
|
303
|
+
export declare type CreateOrderInput = {
|
|
304
|
+
billingAddress?: InputMaybe<OrderAddressInput>;
|
|
305
|
+
branchSessionId?: InputMaybe<Scalars['String']>;
|
|
306
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
307
|
+
currencyCode?: InputMaybe<Scalars['String']>;
|
|
308
|
+
customer?: InputMaybe<OrderCustomerInput>;
|
|
309
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
310
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
311
|
+
note?: InputMaybe<Scalars['String']>;
|
|
312
|
+
orderAdjustments?: InputMaybe<Array<OrderAdjustmentInput>>;
|
|
313
|
+
orderLineItems: Array<OrderLineItemInput>;
|
|
314
|
+
orderTagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
315
|
+
orderedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
316
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
317
|
+
salesChannelId?: InputMaybe<Scalars['String']>;
|
|
318
|
+
shippingAddress?: InputMaybe<OrderAddressInput>;
|
|
319
|
+
shippingLines?: InputMaybe<Array<OrderShippingLineInput>>;
|
|
320
|
+
shippingMethod?: InputMaybe<ShippingMethodEnum>;
|
|
321
|
+
terminalId?: InputMaybe<Scalars['String']>;
|
|
322
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
323
|
+
};
|
|
324
|
+
export declare type CreateOrderWithTransactionsInput = {
|
|
325
|
+
disableAutoCreateCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
326
|
+
order: CreateOrderInput;
|
|
327
|
+
transactions: Array<OrderTransactionInput>;
|
|
328
|
+
};
|
|
329
|
+
export declare type Customer = {
|
|
330
|
+
__typename?: 'Customer';
|
|
331
|
+
/** CustomerAccountStatusEnum */
|
|
332
|
+
accountStatus?: Maybe<CustomerAccountStatusEnum>;
|
|
333
|
+
accountStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
334
|
+
/** A list of the ten most recently updated addresses for the customer. */
|
|
335
|
+
addresses?: Maybe<Array<CustomerAddress>>;
|
|
336
|
+
attributes?: Maybe<Array<CustomerAttributeValue>>;
|
|
337
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
338
|
+
/** Groups that the store owner attaches to the customer. */
|
|
339
|
+
customerGroupIds?: Maybe<Array<Scalars['String']>>;
|
|
340
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
341
|
+
/** The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error. */
|
|
342
|
+
email?: Maybe<Scalars['String']>;
|
|
343
|
+
/** The date the ***email*** was verified. */
|
|
344
|
+
emailVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
345
|
+
/** The customer's first name. */
|
|
346
|
+
firstName: Scalars['String'];
|
|
347
|
+
/** Customer's full name. Firstname plus lastname if firstname and lastname exist. Otherwise, it is saved as firstname only. */
|
|
348
|
+
fullName?: Maybe<Scalars['String']>;
|
|
349
|
+
id: Scalars['ID'];
|
|
350
|
+
/** Email verification status. ***isEmailVerified*** returns ```true``` if the email is verified. */
|
|
351
|
+
isEmailVerified?: Maybe<Scalars['Boolean']>;
|
|
352
|
+
/** Phone verification status. ***isPhoneVerified*** returns ```true``` if the email is verified. */
|
|
353
|
+
isPhoneVerified?: Maybe<Scalars['Boolean']>;
|
|
354
|
+
/** The customer's last name. */
|
|
355
|
+
lastName?: Maybe<Scalars['String']>;
|
|
356
|
+
/** A note about the customer. */
|
|
357
|
+
note?: Maybe<Scalars['String']>;
|
|
358
|
+
/** Number of orders placed by the customer. */
|
|
359
|
+
orderCount?: Maybe<Scalars['Float']>;
|
|
360
|
+
/** Date the customer last changed their password. */
|
|
361
|
+
passwordUpdateDate?: Maybe<Scalars['Timestamp']>;
|
|
362
|
+
/** The customer's phone number */
|
|
363
|
+
phone?: Maybe<Scalars['String']>;
|
|
364
|
+
/** The date the ***email*** was verified. */
|
|
365
|
+
phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
366
|
+
/** CustomerEmailSubscriptionStatusesEnum */
|
|
367
|
+
subscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
368
|
+
subscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
369
|
+
/** Tags that the store owner attaches to the customer. */
|
|
370
|
+
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
371
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
372
|
+
};
|
|
373
|
+
/** Customer Account Statuses */
|
|
374
|
+
export declare enum CustomerAccountStatusEnum {
|
|
375
|
+
ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
|
|
376
|
+
DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
|
|
377
|
+
DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
|
|
378
|
+
INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
|
|
379
|
+
}
|
|
380
|
+
export declare type CustomerAddress = {
|
|
381
|
+
__typename?: 'CustomerAddress';
|
|
382
|
+
/** The customer's mailing address. */
|
|
383
|
+
addressLine1: Scalars['String'];
|
|
384
|
+
/** An additional field for the customer's mailing address. */
|
|
385
|
+
addressLine2?: Maybe<Scalars['String']>;
|
|
386
|
+
attributes?: Maybe<Array<CustomerAttributeValue>>;
|
|
387
|
+
/** The customer's city. */
|
|
388
|
+
city: CustomerAddressCity;
|
|
389
|
+
/** The customer's company. */
|
|
390
|
+
company?: Maybe<Scalars['String']>;
|
|
391
|
+
/** The customer's country. */
|
|
392
|
+
country: CustomerAddressCountry;
|
|
393
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
394
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
395
|
+
/** The customer's district in city. */
|
|
396
|
+
district?: Maybe<CustomerAddressDistrict>;
|
|
397
|
+
/** The customer's first name. */
|
|
398
|
+
firstName: Scalars['String'];
|
|
399
|
+
id: Scalars['ID'];
|
|
400
|
+
/** The customer's identity numbers. */
|
|
401
|
+
identityNumber?: Maybe<Scalars['String']>;
|
|
402
|
+
/** Whether this address is the default address for the customer. Returns ```true``` for each default address. */
|
|
403
|
+
isDefault?: Maybe<Scalars['Boolean']>;
|
|
404
|
+
/** The customer's last name. */
|
|
405
|
+
lastName: Scalars['String'];
|
|
406
|
+
/** The customer's phone number at this address */
|
|
407
|
+
phone?: Maybe<Scalars['String']>;
|
|
408
|
+
/** The customer's postal code, also known as zip, postcode, etc. */
|
|
409
|
+
postalCode?: Maybe<Scalars['String']>;
|
|
410
|
+
state?: Maybe<CustomerAddressState>;
|
|
411
|
+
/** Tax number that the customer will use for orders */
|
|
412
|
+
taxNumber?: Maybe<Scalars['String']>;
|
|
413
|
+
/** If customer is corporate, customer can use that field to fill their Tax Office name. */
|
|
414
|
+
taxOffice?: Maybe<Scalars['String']>;
|
|
415
|
+
title: Scalars['String'];
|
|
416
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
417
|
+
};
|
|
418
|
+
export declare type CustomerAddressCity = {
|
|
419
|
+
__typename?: 'CustomerAddressCity';
|
|
420
|
+
/** The two-letter country code corresponding to the customer's country. */
|
|
421
|
+
code?: Maybe<Scalars['String']>;
|
|
422
|
+
id?: Maybe<Scalars['String']>;
|
|
423
|
+
/** The customer's normalized city name. */
|
|
424
|
+
name: Scalars['String'];
|
|
425
|
+
};
|
|
426
|
+
export declare type CustomerAddressCountry = {
|
|
427
|
+
__typename?: 'CustomerAddressCountry';
|
|
428
|
+
/** The two-letter country code corresponding to the customer's country. */
|
|
429
|
+
code?: Maybe<Scalars['String']>;
|
|
430
|
+
id?: Maybe<Scalars['String']>;
|
|
431
|
+
/** The customer's normalized country name. */
|
|
432
|
+
name: Scalars['String'];
|
|
433
|
+
};
|
|
434
|
+
export declare type CustomerAddressDistrict = {
|
|
435
|
+
__typename?: 'CustomerAddressDistrict';
|
|
436
|
+
/** The two-letter district code corresponding to the customer's district. */
|
|
437
|
+
code?: Maybe<Scalars['String']>;
|
|
438
|
+
id?: Maybe<Scalars['String']>;
|
|
439
|
+
/** The customer's normalized district name. */
|
|
440
|
+
name?: Maybe<Scalars['String']>;
|
|
441
|
+
};
|
|
442
|
+
export declare type CustomerAddressState = {
|
|
443
|
+
__typename?: 'CustomerAddressState';
|
|
444
|
+
code?: Maybe<Scalars['String']>;
|
|
445
|
+
id?: Maybe<Scalars['String']>;
|
|
446
|
+
name?: Maybe<Scalars['String']>;
|
|
447
|
+
};
|
|
448
|
+
export declare type CustomerAttributeValue = {
|
|
449
|
+
__typename?: 'CustomerAttributeValue';
|
|
450
|
+
customerAttributeId: Scalars['String'];
|
|
451
|
+
customerAttributeOptionId: Scalars['String'];
|
|
452
|
+
value?: Maybe<Scalars['String']>;
|
|
453
|
+
};
|
|
454
|
+
/** Customer Email Subscription Statuses */
|
|
455
|
+
export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
456
|
+
NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
|
|
457
|
+
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
|
|
458
|
+
SUBSCRIBED = "SUBSCRIBED"
|
|
459
|
+
}
|
|
460
|
+
export declare type CustomerPaginationResponse = {
|
|
461
|
+
__typename?: 'CustomerPaginationResponse';
|
|
462
|
+
/** Returns the first three records of each page in the records returned as a response. For example, ***let's say page = 3, limit = 30, count = 3.*** The records that will return as a response are the records ***between 60-62.*** */
|
|
463
|
+
count: Scalars['Int'];
|
|
464
|
+
data: Array<Customer>;
|
|
465
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is ```true``` despite these records, ***it means there are more records.*** If hasNext is ```false```, it means there are a total of ***90 records.*** */
|
|
466
|
+
hasNext: Scalars['Boolean'];
|
|
467
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
468
|
+
limit: Scalars['Int'];
|
|
469
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
470
|
+
page: Scalars['Int'];
|
|
471
|
+
};
|
|
472
|
+
export declare type DateFilterInput = {
|
|
473
|
+
/** ```equal```. The filter used for equality. */
|
|
474
|
+
eq?: InputMaybe<Scalars['Timestamp']>;
|
|
475
|
+
/** ```greater than``` selects the documents where the value of the ```input``` is greater than to (i.e. ```>```) a specified value (e.g. value.) */
|
|
476
|
+
gt?: InputMaybe<Scalars['Timestamp']>;
|
|
477
|
+
/** ```greater than or equals``` selects the documents where the value of the ```input``` is greater than or equal to (i.e. ```>=```) a specified value (e.g. value.) */
|
|
478
|
+
gte?: InputMaybe<Scalars['Timestamp']>;
|
|
479
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
480
|
+
in?: InputMaybe<Array<Scalars['Timestamp']>>;
|
|
481
|
+
/** ```less than``` selects the documents where the value of the ```input``` is less than or equal to (i.e. ```<```) a specified value (e.g. value.) */
|
|
482
|
+
lt?: InputMaybe<Scalars['Timestamp']>;
|
|
483
|
+
/** ```less than or equals``` selects the documents where the value of the ```input``` is less than or equal to (i.e. ```<=```) a specified value (e.g. value.) */
|
|
484
|
+
lte?: InputMaybe<Scalars['Timestamp']>;
|
|
485
|
+
};
|
|
486
|
+
export declare type District = {
|
|
487
|
+
__typename?: 'District';
|
|
488
|
+
/** ID indicating which city the district belongs to. */
|
|
489
|
+
cityId: Scalars['String'];
|
|
490
|
+
/** ID indicating which country the district belongs to. */
|
|
491
|
+
countryId: Scalars['String'];
|
|
492
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
493
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
494
|
+
id: Scalars['ID'];
|
|
495
|
+
/** Indicates the latitude of the city. */
|
|
496
|
+
latitude?: Maybe<Scalars['String']>;
|
|
497
|
+
/** Indicates the longitude of the city. */
|
|
498
|
+
longitude?: Maybe<Scalars['String']>;
|
|
499
|
+
/** District's name. */
|
|
500
|
+
name: Scalars['String'];
|
|
501
|
+
/** Specifies the order of districts. */
|
|
502
|
+
order?: Maybe<Scalars['Float']>;
|
|
503
|
+
/** ID indicating which state the district belongs to. */
|
|
504
|
+
stateId: Scalars['String'];
|
|
505
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
506
|
+
};
|
|
507
|
+
export declare type FulFillOrderInput = {
|
|
508
|
+
lines: Array<FulfillOrderLineInput>;
|
|
509
|
+
markAsReadyForShipment?: InputMaybe<Scalars['Boolean']>;
|
|
510
|
+
orderId: Scalars['String'];
|
|
511
|
+
sendNotificationToCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
512
|
+
trackingInfoDetail?: InputMaybe<TrackingInfoDetailInput>;
|
|
513
|
+
};
|
|
514
|
+
export declare type FulfillOrderLineInput = {
|
|
515
|
+
orderLineItemId: Scalars['String'];
|
|
516
|
+
quantity: Scalars['Float'];
|
|
517
|
+
};
|
|
518
|
+
export declare type HTMLMetaData = {
|
|
519
|
+
__typename?: 'HTMLMetaData';
|
|
520
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
521
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
522
|
+
description?: Maybe<Scalars['String']>;
|
|
523
|
+
id: Scalars['ID'];
|
|
524
|
+
metadataOverrides?: Maybe<Array<HTMLMetaDataOverride>>;
|
|
525
|
+
pageTitle?: Maybe<Scalars['String']>;
|
|
526
|
+
redirectTo?: Maybe<Scalars['String']>;
|
|
527
|
+
slug: Scalars['String'];
|
|
528
|
+
targetId?: Maybe<Scalars['String']>;
|
|
529
|
+
targetType?: Maybe<HTMLMetaDataTargetTypeEnum>;
|
|
530
|
+
translations?: Maybe<Array<HTMLMetaDataTranslation>>;
|
|
531
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
532
|
+
};
|
|
533
|
+
export declare type HTMLMetaDataInput = {
|
|
534
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
535
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
536
|
+
description?: InputMaybe<Scalars['String']>;
|
|
537
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
538
|
+
metadataOverrides?: InputMaybe<Array<HTMLMetaDataOverrideInput>>;
|
|
539
|
+
pageTitle?: InputMaybe<Scalars['String']>;
|
|
540
|
+
slug: Scalars['String'];
|
|
541
|
+
targetId?: InputMaybe<Scalars['String']>;
|
|
542
|
+
targetType?: InputMaybe<HTMLMetaDataTargetTypeEnum>;
|
|
543
|
+
translations?: InputMaybe<Array<HTMLMetaDataTranslationInput>>;
|
|
544
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
545
|
+
};
|
|
546
|
+
export declare type HTMLMetaDataOverride = {
|
|
547
|
+
__typename?: 'HTMLMetaDataOverride';
|
|
548
|
+
description: Scalars['String'];
|
|
549
|
+
language?: Maybe<Scalars['String']>;
|
|
550
|
+
pageTitle: Scalars['String'];
|
|
551
|
+
storefrontId?: Maybe<Scalars['String']>;
|
|
552
|
+
storefrontRegionId?: Maybe<Scalars['String']>;
|
|
553
|
+
};
|
|
554
|
+
export declare type HTMLMetaDataOverrideInput = {
|
|
555
|
+
description: Scalars['String'];
|
|
556
|
+
language?: InputMaybe<Scalars['String']>;
|
|
557
|
+
pageTitle: Scalars['String'];
|
|
558
|
+
storefrontId?: InputMaybe<Scalars['String']>;
|
|
559
|
+
storefrontRegionId?: InputMaybe<Scalars['String']>;
|
|
560
|
+
};
|
|
561
|
+
/** Url Slug Target Type Enum Codes */
|
|
562
|
+
export declare enum HTMLMetaDataTargetTypeEnum {
|
|
563
|
+
BRAND = "BRAND",
|
|
564
|
+
CATEGORY = "CATEGORY",
|
|
565
|
+
PAGE = "PAGE",
|
|
566
|
+
PRODUCT = "PRODUCT"
|
|
567
|
+
}
|
|
568
|
+
export declare type HTMLMetaDataTranslation = {
|
|
569
|
+
__typename?: 'HTMLMetaDataTranslation';
|
|
570
|
+
description?: Maybe<Scalars['String']>;
|
|
571
|
+
locale: Scalars['String'];
|
|
572
|
+
pageTitle?: Maybe<Scalars['String']>;
|
|
573
|
+
};
|
|
574
|
+
export declare type HTMLMetaDataTranslationInput = {
|
|
575
|
+
description?: InputMaybe<Scalars['String']>;
|
|
576
|
+
locale: Scalars['String'];
|
|
577
|
+
pageTitle?: InputMaybe<Scalars['String']>;
|
|
578
|
+
};
|
|
579
|
+
export declare type Invoice = {
|
|
580
|
+
__typename?: 'Invoice';
|
|
581
|
+
appId: Scalars['String'];
|
|
582
|
+
appName: Scalars['String'];
|
|
583
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
584
|
+
id: Scalars['String'];
|
|
585
|
+
invoiceNumber: Scalars['String'];
|
|
586
|
+
storeAppId: Scalars['String'];
|
|
587
|
+
type: InvoiceTypeEnum;
|
|
588
|
+
};
|
|
589
|
+
/** Invoice Type Enum */
|
|
590
|
+
export declare enum InvoiceTypeEnum {
|
|
591
|
+
COMPANY = "COMPANY",
|
|
592
|
+
INDIVIDUAL = "INDIVIDUAL",
|
|
593
|
+
OTHER = "OTHER"
|
|
594
|
+
}
|
|
595
|
+
export declare type LocationTranslations = {
|
|
596
|
+
__typename?: 'LocationTranslations';
|
|
597
|
+
en: Scalars['String'];
|
|
598
|
+
tr: Scalars['String'];
|
|
599
|
+
};
|
|
600
|
+
export declare type MeResponse = {
|
|
601
|
+
__typename?: 'MeResponse';
|
|
602
|
+
/** The date the app was added. */
|
|
603
|
+
addedDate?: Maybe<Scalars['Timestamp']>;
|
|
604
|
+
/** The merchant staff's email address. */
|
|
605
|
+
email?: Maybe<Scalars['String']>;
|
|
606
|
+
id?: Maybe<Scalars['String']>;
|
|
607
|
+
name?: Maybe<Scalars['String']>;
|
|
608
|
+
partnerId?: Maybe<Scalars['String']>;
|
|
609
|
+
/** The id of the sales channel owned by the merchant. */
|
|
610
|
+
salesChannelId?: Maybe<Scalars['String']>;
|
|
611
|
+
/** It keeps the information of the operations that this application can access and perform.Valid scopes are `store/order/created` `store/order/updated` `store/product/created` `store/product/updated` `store/customer/created` `store/customer/updated` `store/customerFavoriteProducts/created` `store/customerFavoriteProducts/updated` `store/stock/created` `store/stock/updated`. */
|
|
612
|
+
scope?: Maybe<Scalars['String']>;
|
|
613
|
+
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
614
|
+
/** The application's id in the store. */
|
|
615
|
+
storeAppId?: Maybe<Scalars['String']>;
|
|
616
|
+
/** It keeps the information that a merchant cn install more than one application. If ```true```, merchant can add more than one application. */
|
|
617
|
+
supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
|
|
618
|
+
};
|
|
619
|
+
export declare type MerchantAddress = {
|
|
620
|
+
__typename?: 'MerchantAddress';
|
|
621
|
+
/** The merchant's mailing address. */
|
|
622
|
+
addressLine1?: Maybe<Scalars['String']>;
|
|
623
|
+
/** An additional field for the merchant's mailing address. */
|
|
624
|
+
addressLine2?: Maybe<Scalars['String']>;
|
|
625
|
+
/** The merchant's city. */
|
|
626
|
+
city?: Maybe<MerchantAddressCity>;
|
|
627
|
+
/** The merchant's country. */
|
|
628
|
+
country?: Maybe<MerchantAddressCountry>;
|
|
629
|
+
/** The merchant's district in city. */
|
|
630
|
+
district?: Maybe<MerchantAddressDistrict>;
|
|
631
|
+
/** The merchant staff's first name. */
|
|
632
|
+
firstName?: Maybe<Scalars['String']>;
|
|
633
|
+
/** The merchant's identity numbers. */
|
|
634
|
+
identityNumber?: Maybe<Scalars['String']>;
|
|
635
|
+
/** The merchant staff's last name. */
|
|
636
|
+
lastName?: Maybe<Scalars['String']>;
|
|
637
|
+
/** The merchant's postal code, also known as zip, postcode, etc. */
|
|
638
|
+
postalCode?: Maybe<Scalars['String']>;
|
|
639
|
+
state?: Maybe<MerchantAddressState>;
|
|
640
|
+
/** If merchant is corporate, merchant can use that field to fill their Tax Office name. */
|
|
641
|
+
taxOffice?: Maybe<Scalars['String']>;
|
|
642
|
+
title?: Maybe<Scalars['String']>;
|
|
643
|
+
type?: Maybe<MerchantSettingsAddressTypeEnum>;
|
|
644
|
+
vkn?: Maybe<Scalars['String']>;
|
|
645
|
+
};
|
|
646
|
+
export declare type MerchantAddressCity = {
|
|
647
|
+
__typename?: 'MerchantAddressCity';
|
|
648
|
+
/** The two-letter city code corresponding to the merchant's city. */
|
|
649
|
+
code?: Maybe<Scalars['String']>;
|
|
650
|
+
id?: Maybe<Scalars['String']>;
|
|
651
|
+
/** The merchant's normalized city name. */
|
|
652
|
+
name?: Maybe<Scalars['String']>;
|
|
653
|
+
};
|
|
654
|
+
export declare type MerchantAddressCountry = {
|
|
655
|
+
__typename?: 'MerchantAddressCountry';
|
|
656
|
+
/** The two-letter country code corresponding to the merchant's country. */
|
|
657
|
+
code?: Maybe<Scalars['String']>;
|
|
658
|
+
id?: Maybe<Scalars['String']>;
|
|
659
|
+
/** The merchant's normalized country name. */
|
|
660
|
+
name?: Maybe<Scalars['String']>;
|
|
661
|
+
};
|
|
662
|
+
export declare type MerchantAddressDistrict = {
|
|
663
|
+
__typename?: 'MerchantAddressDistrict';
|
|
664
|
+
/** The two-letter district code corresponding to the merchant's district. */
|
|
665
|
+
code?: Maybe<Scalars['String']>;
|
|
666
|
+
id?: Maybe<Scalars['String']>;
|
|
667
|
+
/** The merchant's normalized district name. */
|
|
668
|
+
name?: Maybe<Scalars['String']>;
|
|
669
|
+
};
|
|
670
|
+
export declare type MerchantAddressState = {
|
|
671
|
+
__typename?: 'MerchantAddressState';
|
|
672
|
+
code?: Maybe<Scalars['String']>;
|
|
673
|
+
id?: Maybe<Scalars['String']>;
|
|
674
|
+
name?: Maybe<Scalars['String']>;
|
|
675
|
+
};
|
|
676
|
+
export declare type MerchantAppPayment = {
|
|
677
|
+
__typename?: 'MerchantAppPayment';
|
|
678
|
+
appPaymentKey: Scalars['String'];
|
|
679
|
+
authorizedAppId?: Maybe<Scalars['String']>;
|
|
680
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
681
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
682
|
+
id: Scalars['ID'];
|
|
683
|
+
merchantPaymentUrl: Scalars['String'];
|
|
684
|
+
name: Scalars['String'];
|
|
685
|
+
paymentDate?: Maybe<Scalars['Timestamp']>;
|
|
686
|
+
prices: Array<MerchantAppPaymentPrice>;
|
|
687
|
+
status: MerchantAppPaymentStatusEnum;
|
|
688
|
+
storeAppId: Scalars['String'];
|
|
689
|
+
type: MerchantAppPaymentTypeEnum;
|
|
690
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
691
|
+
};
|
|
692
|
+
export declare type MerchantAppPaymentInput = {
|
|
693
|
+
appPaymentKey: Scalars['String'];
|
|
694
|
+
name: Scalars['String'];
|
|
695
|
+
prices: Array<MerchantAppPaymentPriceInput>;
|
|
696
|
+
type: MerchantAppPaymentTypeEnum;
|
|
697
|
+
};
|
|
698
|
+
export declare type MerchantAppPaymentPaginationResponse = {
|
|
699
|
+
__typename?: 'MerchantAppPaymentPaginationResponse';
|
|
700
|
+
/** Returns the first three records of each page in the records returned as a response. For example, ***let's say page = 3, limit = 30, count = 3.*** The records that will return as a response are the records ***between 60-62.*** */
|
|
701
|
+
count: Scalars['Int'];
|
|
702
|
+
data: Array<MerchantAppPayment>;
|
|
703
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is ```true``` despite these records, ***it means there are more records.*** If hasNext is ```false```, it means there are a total of ***90 records.*** */
|
|
704
|
+
hasNext: Scalars['Boolean'];
|
|
705
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
706
|
+
limit: Scalars['Int'];
|
|
707
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
708
|
+
page: Scalars['Int'];
|
|
709
|
+
};
|
|
710
|
+
export declare type MerchantAppPaymentPrice = {
|
|
711
|
+
__typename?: 'MerchantAppPaymentPrice';
|
|
712
|
+
period: SubscriptionPeriodEnum;
|
|
713
|
+
price: Scalars['Float'];
|
|
714
|
+
};
|
|
715
|
+
export declare type MerchantAppPaymentPriceInput = {
|
|
716
|
+
period: SubscriptionPeriodEnum;
|
|
717
|
+
price: Scalars['Float'];
|
|
718
|
+
};
|
|
719
|
+
export declare enum MerchantAppPaymentStatusEnum {
|
|
720
|
+
PAID = "PAID",
|
|
721
|
+
PAYMENT_FAILED = "PAYMENT_FAILED",
|
|
722
|
+
WAITING_FOR_PAYMENT = "WAITING_FOR_PAYMENT"
|
|
723
|
+
}
|
|
724
|
+
export declare enum MerchantAppPaymentTypeEnum {
|
|
725
|
+
ONE_TIME = "ONE_TIME",
|
|
726
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
727
|
+
}
|
|
728
|
+
export declare type MerchantAppSubscription = {
|
|
729
|
+
__typename?: 'MerchantAppSubscription';
|
|
730
|
+
addedDate?: Maybe<Scalars['Timestamp']>;
|
|
731
|
+
appPaymentKey: Scalars['String'];
|
|
732
|
+
authorizedAppId?: Maybe<Scalars['String']>;
|
|
733
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
734
|
+
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
735
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
736
|
+
id: Scalars['ID'];
|
|
737
|
+
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
738
|
+
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
739
|
+
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
740
|
+
lastPaymentPeriodInDays: Scalars['Float'];
|
|
741
|
+
lastPaymentPrice: Scalars['Float'];
|
|
742
|
+
lastPaymentPriceWithTax: Scalars['Float'];
|
|
743
|
+
merchantAppPaymentId: Scalars['String'];
|
|
744
|
+
name: Scalars['String'];
|
|
745
|
+
status: MerchantSubscriptionStatusEnum;
|
|
746
|
+
storeAppId: Scalars['String'];
|
|
747
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
748
|
+
};
|
|
749
|
+
export declare type MerchantLicence = {
|
|
750
|
+
__typename?: 'MerchantLicence';
|
|
751
|
+
activeSubscriptionCode: SubscriptionCodeEnum;
|
|
752
|
+
activeSubscriptionId: Scalars['String'];
|
|
753
|
+
appSubscriptions?: Maybe<Array<MerchantAppSubscription>>;
|
|
754
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
755
|
+
customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
|
|
756
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
757
|
+
fromDate?: Maybe<Scalars['Timestamp']>;
|
|
758
|
+
id: Scalars['ID'];
|
|
759
|
+
licenceActivationDate?: Maybe<Scalars['Timestamp']>;
|
|
760
|
+
limits: Array<MerchantLimit>;
|
|
761
|
+
period?: Maybe<SubscriptionPeriodEnum>;
|
|
762
|
+
region: MerchantRegionEnum;
|
|
763
|
+
status: MerchantLicenceStatusEnum;
|
|
764
|
+
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
765
|
+
subscriptions: Array<MerchantSubscription>;
|
|
766
|
+
toDate?: Maybe<Scalars['Timestamp']>;
|
|
767
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
768
|
+
};
|
|
769
|
+
export declare enum MerchantLicenceStatusEnum {
|
|
770
|
+
CHURN = "CHURN",
|
|
771
|
+
CONTRACTION = "CONTRACTION",
|
|
772
|
+
EXPANSION = "EXPANSION",
|
|
773
|
+
FREEMIUM = "FREEMIUM",
|
|
774
|
+
NEW = "NEW",
|
|
775
|
+
REACTIVATION = "REACTIVATION",
|
|
776
|
+
RENEWAL = "RENEWAL"
|
|
777
|
+
}
|
|
778
|
+
export declare type MerchantLimit = {
|
|
779
|
+
__typename?: 'MerchantLimit';
|
|
780
|
+
code: MerchantLimitCodeEnum;
|
|
781
|
+
value: Scalars['Float'];
|
|
782
|
+
};
|
|
783
|
+
export declare enum MerchantLimitCodeEnum {
|
|
784
|
+
ABANDONED_CHECKOUT_SUPPORT = "ABANDONED_CHECKOUT_SUPPORT",
|
|
785
|
+
ADDITIONAL_POS_BRANCH = "ADDITIONAL_POS_BRANCH",
|
|
786
|
+
ADDITIONAL_STOREFRONT = "ADDITIONAL_STOREFRONT",
|
|
787
|
+
CAMPAIGN_SUPPORT = "CAMPAIGN_SUPPORT",
|
|
788
|
+
CROSS_SELL_SUPPORT = "CROSS_SELL_SUPPORT",
|
|
789
|
+
DOMAIN_SUPPORT = "DOMAIN_SUPPORT",
|
|
790
|
+
LOCALIZATION_ROUTING_SUPPORT = "LOCALIZATION_ROUTING_SUPPORT",
|
|
791
|
+
OMNI_CHANNEL_SUPPORT = "OMNI_CHANNEL_SUPPORT",
|
|
792
|
+
PAYMENT_GATEWAY_RATE = "PAYMENT_GATEWAY_RATE",
|
|
793
|
+
PRICE_LISTS_SUPPORT = "PRICE_LISTS_SUPPORT",
|
|
794
|
+
PRODUCT_LIMIT = "PRODUCT_LIMIT",
|
|
795
|
+
PRODUCT_SUBSCRIPTIONS_SUPPORT = "PRODUCT_SUBSCRIPTIONS_SUPPORT",
|
|
796
|
+
REFUND_SUPPORT = "REFUND_SUPPORT",
|
|
797
|
+
STAFF_LIMIT = "STAFF_LIMIT",
|
|
798
|
+
STOCK_LOCATION_LIMIT = "STOCK_LOCATION_LIMIT",
|
|
799
|
+
THEME_SUPPORT = "THEME_SUPPORT",
|
|
800
|
+
UP_SELL_SUPPORT = "UP_SELL_SUPPORT"
|
|
801
|
+
}
|
|
802
|
+
export declare enum MerchantRegionEnum {
|
|
803
|
+
AF = "AF",
|
|
804
|
+
AN = "AN",
|
|
805
|
+
AS = "AS",
|
|
806
|
+
EU = "EU",
|
|
807
|
+
OC = "OC",
|
|
808
|
+
PL = "PL",
|
|
809
|
+
TR = "TR",
|
|
810
|
+
US = "US"
|
|
811
|
+
}
|
|
812
|
+
export declare type MerchantResponse = {
|
|
813
|
+
__typename?: 'MerchantResponse';
|
|
814
|
+
/** Merchant's address information. */
|
|
815
|
+
address?: Maybe<MerchantAddress>;
|
|
816
|
+
/** The merchant staff's email address. */
|
|
817
|
+
email: Scalars['String'];
|
|
818
|
+
/** The merchant's first name. */
|
|
819
|
+
firstName: Scalars['String'];
|
|
820
|
+
id: Scalars['String'];
|
|
821
|
+
/** The merchant's last name. */
|
|
822
|
+
lastName: Scalars['String'];
|
|
823
|
+
/** The merchant staff's last name. */
|
|
824
|
+
merchantName?: Maybe<Scalars['String']>;
|
|
825
|
+
merchantSequence?: Maybe<Scalars['Float']>;
|
|
826
|
+
/** The merchant's phone number. */
|
|
827
|
+
phoneNumber?: Maybe<Scalars['String']>;
|
|
828
|
+
/** The merchant's store name. */
|
|
829
|
+
storeName?: Maybe<Scalars['String']>;
|
|
830
|
+
};
|
|
831
|
+
export declare enum MerchantSettingsAddressTypeEnum {
|
|
832
|
+
CORPORATE = "CORPORATE",
|
|
833
|
+
INDIVIDUAL = "INDIVIDUAL"
|
|
834
|
+
}
|
|
835
|
+
export declare type MerchantSubscription = {
|
|
836
|
+
__typename?: 'MerchantSubscription';
|
|
837
|
+
code: SubscriptionCodeEnum;
|
|
838
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
839
|
+
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
840
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
841
|
+
id: Scalars['ID'];
|
|
842
|
+
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
843
|
+
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
844
|
+
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
845
|
+
lastPaymentPeriodInDays: Scalars['Float'];
|
|
846
|
+
lastPaymentPrice: Scalars['Float'];
|
|
847
|
+
lastPaymentPriceWithTax: Scalars['Float'];
|
|
848
|
+
limits: Array<MerchantLimit>;
|
|
849
|
+
name?: Maybe<Scalars['String']>;
|
|
850
|
+
salesChannelId?: Maybe<Scalars['String']>;
|
|
851
|
+
status: MerchantSubscriptionStatusEnum;
|
|
852
|
+
subscriptionId: Scalars['String'];
|
|
853
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
854
|
+
};
|
|
855
|
+
export declare enum MerchantSubscriptionStatusEnum {
|
|
856
|
+
ACTIVE = "ACTIVE",
|
|
857
|
+
REMOVED = "REMOVED",
|
|
858
|
+
WILL_BE_REMOVED = "WILL_BE_REMOVED"
|
|
859
|
+
}
|
|
860
|
+
export declare type Mutation = {
|
|
861
|
+
__typename?: 'Mutation';
|
|
862
|
+
addCustomTimelineEntry: Scalars['Boolean'];
|
|
863
|
+
addOrderInvoice: Order;
|
|
864
|
+
bulkUpdateProducts: Scalars['Boolean'];
|
|
865
|
+
cancelFulfillment: Order;
|
|
866
|
+
createMerchantAppPayment: MerchantAppPayment;
|
|
867
|
+
createOrderWithTransactions: Order;
|
|
868
|
+
deleteCategoryList: Scalars['Boolean'];
|
|
869
|
+
deleteProductAttributeList: Scalars['Boolean'];
|
|
870
|
+
deleteProductBrandList: Scalars['Boolean'];
|
|
871
|
+
deleteProductList: Scalars['Boolean'];
|
|
872
|
+
deleteProductTagList: Scalars['Boolean'];
|
|
873
|
+
/** Using this api, you can delete javascript script from a the storefront. */
|
|
874
|
+
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
875
|
+
deleteVariantTypeList: Scalars['Boolean'];
|
|
876
|
+
/** Use this mutation to delete webhooks by giving `scope` list. */
|
|
877
|
+
deleteWebhook: Scalars['Boolean'];
|
|
878
|
+
fulfillOrder: Order;
|
|
879
|
+
refundOrderLine: Order;
|
|
880
|
+
saveCategory: Category;
|
|
881
|
+
saveProduct: Product;
|
|
882
|
+
saveProductAttribute: ProductAttribute;
|
|
883
|
+
saveProductBrand: ProductBrand;
|
|
884
|
+
saveProductStockLocations: Scalars['Boolean'];
|
|
885
|
+
saveProductTag: ProductTag;
|
|
886
|
+
/** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
|
|
887
|
+
saveSalesChannel?: Maybe<SalesChannel>;
|
|
888
|
+
/** Using this api, you can save javascript script to a the storefront. */
|
|
889
|
+
saveStorefrontJSScript: StorefrontJSScript;
|
|
890
|
+
saveVariantType: VariantType;
|
|
891
|
+
/** Use this mutation to save webhooks by using multiple `scope` variables. After saving a webhook, **ikas** will start to push new webhooks to given url `endpoint`. If **endpoint** is unreachable or returns an error code other than `HTTP 200` **ikas** will try to push webhook for 3 times then stops sending webhook. */
|
|
892
|
+
saveWebhook?: Maybe<Array<Webhook>>;
|
|
893
|
+
updateOrderAddresses: Order;
|
|
894
|
+
updateOrderLine: Order;
|
|
895
|
+
updateOrderPackageStatus: Order;
|
|
896
|
+
updateProductSalesChannelStatus: Scalars['Boolean'];
|
|
897
|
+
};
|
|
898
|
+
export declare type MutationaddCustomTimelineEntryArgs = {
|
|
899
|
+
input: TimelineInput;
|
|
900
|
+
};
|
|
901
|
+
export declare type MutationaddOrderInvoiceArgs = {
|
|
902
|
+
input: AddOrderInvoiceInput;
|
|
903
|
+
};
|
|
904
|
+
export declare type MutationbulkUpdateProductsArgs = {
|
|
905
|
+
input: Array<BulkUpdateProductsInput>;
|
|
906
|
+
};
|
|
907
|
+
export declare type MutationcancelFulfillmentArgs = {
|
|
908
|
+
input: CancelFulfillmentInput;
|
|
909
|
+
};
|
|
910
|
+
export declare type MutationcreateMerchantAppPaymentArgs = {
|
|
911
|
+
input: MerchantAppPaymentInput;
|
|
912
|
+
};
|
|
913
|
+
export declare type MutationcreateOrderWithTransactionsArgs = {
|
|
914
|
+
input: CreateOrderWithTransactionsInput;
|
|
915
|
+
};
|
|
916
|
+
export declare type MutationdeleteCategoryListArgs = {
|
|
917
|
+
idList: Array<Scalars['String']>;
|
|
918
|
+
};
|
|
919
|
+
export declare type MutationdeleteProductAttributeListArgs = {
|
|
920
|
+
idList: Array<Scalars['String']>;
|
|
921
|
+
};
|
|
922
|
+
export declare type MutationdeleteProductBrandListArgs = {
|
|
923
|
+
idList: Array<Scalars['String']>;
|
|
924
|
+
};
|
|
925
|
+
export declare type MutationdeleteProductListArgs = {
|
|
926
|
+
idList: Array<Scalars['String']>;
|
|
927
|
+
};
|
|
928
|
+
export declare type MutationdeleteProductTagListArgs = {
|
|
929
|
+
idList: Array<Scalars['String']>;
|
|
930
|
+
};
|
|
931
|
+
export declare type MutationdeleteStorefrontJSScriptArgs = {
|
|
932
|
+
storefrontIdList: Array<Scalars['String']>;
|
|
933
|
+
};
|
|
934
|
+
export declare type MutationdeleteVariantTypeListArgs = {
|
|
935
|
+
idList: Array<Scalars['String']>;
|
|
936
|
+
};
|
|
937
|
+
export declare type MutationdeleteWebhookArgs = {
|
|
938
|
+
scopes: Array<Scalars['String']>;
|
|
939
|
+
};
|
|
940
|
+
export declare type MutationfulfillOrderArgs = {
|
|
941
|
+
input: FulFillOrderInput;
|
|
942
|
+
};
|
|
943
|
+
export declare type MutationrefundOrderLineArgs = {
|
|
944
|
+
input: OrderRefundInput;
|
|
945
|
+
};
|
|
946
|
+
export declare type MutationsaveCategoryArgs = {
|
|
947
|
+
input: CategoryInput;
|
|
948
|
+
};
|
|
949
|
+
export declare type MutationsaveProductArgs = {
|
|
950
|
+
input: ProductInput;
|
|
951
|
+
};
|
|
952
|
+
export declare type MutationsaveProductAttributeArgs = {
|
|
953
|
+
input: ProductAttributeInput;
|
|
954
|
+
};
|
|
955
|
+
export declare type MutationsaveProductBrandArgs = {
|
|
956
|
+
input: ProductBrandInput;
|
|
957
|
+
};
|
|
958
|
+
export declare type MutationsaveProductStockLocationsArgs = {
|
|
959
|
+
input: SaveStockLocationsInput;
|
|
960
|
+
};
|
|
961
|
+
export declare type MutationsaveProductTagArgs = {
|
|
962
|
+
input: ProductTagInput;
|
|
963
|
+
};
|
|
964
|
+
export declare type MutationsaveSalesChannelArgs = {
|
|
965
|
+
input: SalesChannelInput;
|
|
966
|
+
};
|
|
967
|
+
export declare type MutationsaveStorefrontJSScriptArgs = {
|
|
968
|
+
input: StorefrontJSScriptInput;
|
|
969
|
+
};
|
|
970
|
+
export declare type MutationsaveVariantTypeArgs = {
|
|
971
|
+
input: VariantTypeInput;
|
|
972
|
+
};
|
|
973
|
+
export declare type MutationsaveWebhookArgs = {
|
|
974
|
+
input: WebhookInput;
|
|
975
|
+
};
|
|
976
|
+
export declare type MutationupdateOrderAddressesArgs = {
|
|
977
|
+
input: UpdateOrderAddressesInput;
|
|
978
|
+
};
|
|
979
|
+
export declare type MutationupdateOrderLineArgs = {
|
|
980
|
+
input: UpdateOrderInput;
|
|
981
|
+
};
|
|
982
|
+
export declare type MutationupdateOrderPackageStatusArgs = {
|
|
983
|
+
input: UpdateOrderPackageStatusInput;
|
|
984
|
+
};
|
|
985
|
+
export declare type MutationupdateProductSalesChannelStatusArgs = {
|
|
986
|
+
input: Array<UpdateProductSalesChannelStatusInput>;
|
|
987
|
+
};
|
|
988
|
+
export declare type NumberFilterInput = {
|
|
989
|
+
/** ```equal```. The filter used for equality. */
|
|
990
|
+
eq?: InputMaybe<Scalars['Float']>;
|
|
991
|
+
/** ```greater than``` selects the documents where the value of the ```input``` is greater than to (i.e. ```>```) a specified value (e.g. value.) */
|
|
992
|
+
gt?: InputMaybe<Scalars['Float']>;
|
|
993
|
+
/** ```greater than or equals``` selects the documents where the value of the ```input``` is greater than or equal to (i.e. ```>=```) a specified value (e.g. value.) */
|
|
994
|
+
gte?: InputMaybe<Scalars['Float']>;
|
|
995
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
996
|
+
in?: InputMaybe<Array<Scalars['Float']>>;
|
|
997
|
+
/** ```less than``` selects the documents where the value of the ```input``` is less than or equal to (i.e. ```<```) a specified value (e.g. value.) */
|
|
998
|
+
lt?: InputMaybe<Scalars['Float']>;
|
|
999
|
+
/** ```less than or equals``` selects the documents where the value of the ```input``` is less than or equal to (i.e. ```<=```) a specified value (e.g. value.) */
|
|
1000
|
+
lte?: InputMaybe<Scalars['Float']>;
|
|
1001
|
+
};
|
|
1002
|
+
export declare type Order = {
|
|
1003
|
+
__typename?: 'Order';
|
|
1004
|
+
billingAddress?: Maybe<OrderAddress>;
|
|
1005
|
+
branch?: Maybe<OrderBranch>;
|
|
1006
|
+
branchSessionId?: Maybe<Scalars['String']>;
|
|
1007
|
+
cancelReason?: Maybe<CancelledReasonEnum>;
|
|
1008
|
+
cancelledAt?: Maybe<Scalars['Timestamp']>;
|
|
1009
|
+
clientIp?: Maybe<Scalars['String']>;
|
|
1010
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1011
|
+
currencyCode: Scalars['String'];
|
|
1012
|
+
currencyRates: Array<OrderCurrencyRate>;
|
|
1013
|
+
customer?: Maybe<OrderCustomer>;
|
|
1014
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1015
|
+
giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
|
|
1016
|
+
giftPackageNote?: Maybe<Scalars['String']>;
|
|
1017
|
+
host?: Maybe<Scalars['String']>;
|
|
1018
|
+
id: Scalars['ID'];
|
|
1019
|
+
invoices?: Maybe<Array<Invoice>>;
|
|
1020
|
+
isGiftPackage?: Maybe<Scalars['Boolean']>;
|
|
1021
|
+
merchantId: Scalars['String'];
|
|
1022
|
+
note?: Maybe<Scalars['String']>;
|
|
1023
|
+
orderAdjustments?: Maybe<Array<OrderAdjustment>>;
|
|
1024
|
+
orderLineItems: Array<OrderLineItem>;
|
|
1025
|
+
orderNumber?: Maybe<Scalars['String']>;
|
|
1026
|
+
orderPackageSequence?: Maybe<Scalars['Float']>;
|
|
1027
|
+
orderPackageStatus?: Maybe<OrderPackageStatusEnum>;
|
|
1028
|
+
orderPackages?: Maybe<Array<OrderPackage>>;
|
|
1029
|
+
orderPaymentStatus?: Maybe<OrderPaymentStatusEnum>;
|
|
1030
|
+
orderSequence?: Maybe<Scalars['Float']>;
|
|
1031
|
+
orderTagIds?: Maybe<Array<Scalars['String']>>;
|
|
1032
|
+
orderedAt?: Maybe<Scalars['Timestamp']>;
|
|
1033
|
+
paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
|
|
1034
|
+
priceList?: Maybe<OrderPriceList>;
|
|
1035
|
+
salesChannel: OrderSalesChannel;
|
|
1036
|
+
shippingAddress?: Maybe<OrderAddress>;
|
|
1037
|
+
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1038
|
+
shippingMethod: ShippingMethodEnum;
|
|
1039
|
+
staff?: Maybe<OrderStaff>;
|
|
1040
|
+
status: OrderStatusEnum;
|
|
1041
|
+
storefront?: Maybe<OrderStorefront>;
|
|
1042
|
+
storefrontRouting?: Maybe<OrderStorefrontRouting>;
|
|
1043
|
+
storefrontTheme?: Maybe<OrderStorefrontTheme>;
|
|
1044
|
+
taxLines?: Maybe<Array<OrderTaxLine>>;
|
|
1045
|
+
terminalId?: Maybe<Scalars['String']>;
|
|
1046
|
+
totalFinalPrice: Scalars['Float'];
|
|
1047
|
+
totalPrice: Scalars['Float'];
|
|
1048
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1049
|
+
userAgent?: Maybe<Scalars['String']>;
|
|
1050
|
+
};
|
|
1051
|
+
export declare type OrderAddress = {
|
|
1052
|
+
__typename?: 'OrderAddress';
|
|
1053
|
+
addressLine1: Scalars['String'];
|
|
1054
|
+
addressLine2?: Maybe<Scalars['String']>;
|
|
1055
|
+
city: OrderAddressCity;
|
|
1056
|
+
company?: Maybe<Scalars['String']>;
|
|
1057
|
+
country: OrderAddressCountry;
|
|
1058
|
+
district?: Maybe<OrderAddressDistrict>;
|
|
1059
|
+
firstName: Scalars['String'];
|
|
1060
|
+
id?: Maybe<Scalars['String']>;
|
|
1061
|
+
identityNumber?: Maybe<Scalars['String']>;
|
|
1062
|
+
isDefault: Scalars['Boolean'];
|
|
1063
|
+
lastName: Scalars['String'];
|
|
1064
|
+
phone?: Maybe<Scalars['String']>;
|
|
1065
|
+
postalCode?: Maybe<Scalars['String']>;
|
|
1066
|
+
state?: Maybe<OrderAddressState>;
|
|
1067
|
+
taxNumber?: Maybe<Scalars['String']>;
|
|
1068
|
+
taxOffice?: Maybe<Scalars['String']>;
|
|
1069
|
+
};
|
|
1070
|
+
export declare type OrderAddressCity = {
|
|
1071
|
+
__typename?: 'OrderAddressCity';
|
|
1072
|
+
code?: Maybe<Scalars['String']>;
|
|
1073
|
+
id?: Maybe<Scalars['String']>;
|
|
1074
|
+
name: Scalars['String'];
|
|
1075
|
+
};
|
|
1076
|
+
export declare type OrderAddressCityInput = {
|
|
1077
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1078
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1079
|
+
name: Scalars['String'];
|
|
1080
|
+
};
|
|
1081
|
+
export declare type OrderAddressCountry = {
|
|
1082
|
+
__typename?: 'OrderAddressCountry';
|
|
1083
|
+
code?: Maybe<Scalars['String']>;
|
|
1084
|
+
id?: Maybe<Scalars['String']>;
|
|
1085
|
+
iso2?: Maybe<Scalars['String']>;
|
|
1086
|
+
iso3?: Maybe<Scalars['String']>;
|
|
1087
|
+
name: Scalars['String'];
|
|
1088
|
+
};
|
|
1089
|
+
export declare type OrderAddressCountryInput = {
|
|
1090
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1091
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1092
|
+
iso2?: InputMaybe<Scalars['String']>;
|
|
1093
|
+
iso3?: InputMaybe<Scalars['String']>;
|
|
1094
|
+
name: Scalars['String'];
|
|
1095
|
+
};
|
|
1096
|
+
export declare type OrderAddressDistrict = {
|
|
1097
|
+
__typename?: 'OrderAddressDistrict';
|
|
1098
|
+
code?: Maybe<Scalars['String']>;
|
|
1099
|
+
id?: Maybe<Scalars['String']>;
|
|
1100
|
+
name?: Maybe<Scalars['String']>;
|
|
1101
|
+
};
|
|
1102
|
+
export declare type OrderAddressDistrictInput = {
|
|
1103
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1104
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1105
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1106
|
+
};
|
|
1107
|
+
export declare type OrderAddressInput = {
|
|
1108
|
+
addressLine1: Scalars['String'];
|
|
1109
|
+
addressLine2?: InputMaybe<Scalars['String']>;
|
|
1110
|
+
city: OrderAddressCityInput;
|
|
1111
|
+
company?: InputMaybe<Scalars['String']>;
|
|
1112
|
+
country: OrderAddressCountryInput;
|
|
1113
|
+
district?: InputMaybe<OrderAddressDistrictInput>;
|
|
1114
|
+
firstName: Scalars['String'];
|
|
1115
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1116
|
+
identityNumber?: InputMaybe<Scalars['String']>;
|
|
1117
|
+
isDefault: Scalars['Boolean'];
|
|
1118
|
+
lastName: Scalars['String'];
|
|
1119
|
+
phone?: InputMaybe<Scalars['String']>;
|
|
1120
|
+
postalCode?: InputMaybe<Scalars['String']>;
|
|
1121
|
+
state?: InputMaybe<OrderAddressStateInput>;
|
|
1122
|
+
taxNumber?: InputMaybe<Scalars['String']>;
|
|
1123
|
+
taxOffice?: InputMaybe<Scalars['String']>;
|
|
1124
|
+
};
|
|
1125
|
+
export declare type OrderAddressState = {
|
|
1126
|
+
__typename?: 'OrderAddressState';
|
|
1127
|
+
code?: Maybe<Scalars['String']>;
|
|
1128
|
+
id?: Maybe<Scalars['String']>;
|
|
1129
|
+
name?: Maybe<Scalars['String']>;
|
|
1130
|
+
};
|
|
1131
|
+
export declare type OrderAddressStateInput = {
|
|
1132
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1133
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1134
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1135
|
+
};
|
|
1136
|
+
export declare type OrderAdjustment = {
|
|
1137
|
+
__typename?: 'OrderAdjustment';
|
|
1138
|
+
amount: Scalars['Float'];
|
|
1139
|
+
amountType: AmountTypeEnum;
|
|
1140
|
+
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1141
|
+
campaignId?: Maybe<Scalars['String']>;
|
|
1142
|
+
couponId?: Maybe<Scalars['String']>;
|
|
1143
|
+
name: Scalars['String'];
|
|
1144
|
+
order: Scalars['Float'];
|
|
1145
|
+
type: AdjustmentEnum;
|
|
1146
|
+
};
|
|
1147
|
+
export declare type OrderAdjustmentAppliedOrderLine = {
|
|
1148
|
+
__typename?: 'OrderAdjustmentAppliedOrderLine';
|
|
1149
|
+
amount: Scalars['Float'];
|
|
1150
|
+
appliedQuantity: Scalars['Float'];
|
|
1151
|
+
orderLineId: Scalars['String'];
|
|
1152
|
+
};
|
|
1153
|
+
export declare type OrderAdjustmentInput = {
|
|
1154
|
+
amount: Scalars['Float'];
|
|
1155
|
+
amountType: AmountTypeEnum;
|
|
1156
|
+
campaignId?: InputMaybe<Scalars['String']>;
|
|
1157
|
+
couponId?: InputMaybe<Scalars['String']>;
|
|
1158
|
+
name: Scalars['String'];
|
|
1159
|
+
order: Scalars['Float'];
|
|
1160
|
+
type: AdjustmentEnum;
|
|
1161
|
+
};
|
|
1162
|
+
export declare type OrderBranch = {
|
|
1163
|
+
__typename?: 'OrderBranch';
|
|
1164
|
+
id: Scalars['String'];
|
|
1165
|
+
name?: Maybe<Scalars['String']>;
|
|
1166
|
+
};
|
|
1167
|
+
export declare type OrderCurrencyRate = {
|
|
1168
|
+
__typename?: 'OrderCurrencyRate';
|
|
1169
|
+
code: Scalars['String'];
|
|
1170
|
+
originalRate: Scalars['Float'];
|
|
1171
|
+
rate: Scalars['Float'];
|
|
1172
|
+
};
|
|
1173
|
+
export declare type OrderCustomer = {
|
|
1174
|
+
__typename?: 'OrderCustomer';
|
|
1175
|
+
email?: Maybe<Scalars['String']>;
|
|
1176
|
+
firstName?: Maybe<Scalars['String']>;
|
|
1177
|
+
id?: Maybe<Scalars['String']>;
|
|
1178
|
+
identityNumber?: Maybe<Scalars['String']>;
|
|
1179
|
+
isGuestCheckout?: Maybe<Scalars['Boolean']>;
|
|
1180
|
+
lastName?: Maybe<Scalars['String']>;
|
|
1181
|
+
phone?: Maybe<Scalars['String']>;
|
|
1182
|
+
};
|
|
1183
|
+
export declare type OrderCustomerInput = {
|
|
1184
|
+
email?: InputMaybe<Scalars['String']>;
|
|
1185
|
+
firstName?: InputMaybe<Scalars['String']>;
|
|
1186
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1187
|
+
lastName?: InputMaybe<Scalars['String']>;
|
|
1188
|
+
};
|
|
1189
|
+
export declare type OrderGiftPackageLine = {
|
|
1190
|
+
__typename?: 'OrderGiftPackageLine';
|
|
1191
|
+
price: Scalars['Float'];
|
|
1192
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
1193
|
+
};
|
|
1194
|
+
export declare type OrderLineDiscount = {
|
|
1195
|
+
__typename?: 'OrderLineDiscount';
|
|
1196
|
+
amount: Scalars['Float'];
|
|
1197
|
+
amountType: AmountTypeEnum;
|
|
1198
|
+
reason?: Maybe<Scalars['String']>;
|
|
1199
|
+
};
|
|
1200
|
+
export declare type OrderLineDiscountInput = {
|
|
1201
|
+
amount: Scalars['Float'];
|
|
1202
|
+
amountType: AmountTypeEnum;
|
|
1203
|
+
reason?: InputMaybe<Scalars['String']>;
|
|
1204
|
+
};
|
|
1205
|
+
export declare type OrderLineItem = {
|
|
1206
|
+
__typename?: 'OrderLineItem';
|
|
1207
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1208
|
+
currencyCode?: Maybe<Scalars['String']>;
|
|
1209
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1210
|
+
discount?: Maybe<OrderLineDiscount>;
|
|
1211
|
+
discountPrice?: Maybe<Scalars['Float']>;
|
|
1212
|
+
finalPrice?: Maybe<Scalars['Float']>;
|
|
1213
|
+
id: Scalars['ID'];
|
|
1214
|
+
options?: Maybe<Array<OrderLineOption>>;
|
|
1215
|
+
originalOrderLineItemId?: Maybe<Scalars['String']>;
|
|
1216
|
+
price: Scalars['Float'];
|
|
1217
|
+
quantity: Scalars['Float'];
|
|
1218
|
+
status: OrderLineItemStatusEnum;
|
|
1219
|
+
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1220
|
+
stockLocationId?: Maybe<Scalars['String']>;
|
|
1221
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
1222
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1223
|
+
variant: OrderLineVariant;
|
|
1224
|
+
};
|
|
1225
|
+
export declare type OrderLineItemInput = {
|
|
1226
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1227
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1228
|
+
discount?: InputMaybe<OrderLineDiscountInput>;
|
|
1229
|
+
discountPrice?: InputMaybe<Scalars['Float']>;
|
|
1230
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1231
|
+
options?: InputMaybe<Array<OrderLineOptionInput>>;
|
|
1232
|
+
price: Scalars['Float'];
|
|
1233
|
+
quantity: Scalars['Float'];
|
|
1234
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1235
|
+
variant: OrderLineVariantInput;
|
|
1236
|
+
};
|
|
1237
|
+
/** Order Line Item Status Enum */
|
|
1238
|
+
export declare enum OrderLineItemStatusEnum {
|
|
1239
|
+
CANCELLED = "CANCELLED",
|
|
1240
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
1241
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
1242
|
+
DELIVERED = "DELIVERED",
|
|
1243
|
+
FULFILLED = "FULFILLED",
|
|
1244
|
+
REFUNDED = "REFUNDED",
|
|
1245
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1246
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
1247
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
1248
|
+
UNFULFILLED = "UNFULFILLED"
|
|
1249
|
+
}
|
|
1250
|
+
export declare type OrderLineOption = {
|
|
1251
|
+
__typename?: 'OrderLineOption';
|
|
1252
|
+
name: Scalars['String'];
|
|
1253
|
+
productOptionId: Scalars['String'];
|
|
1254
|
+
productOptionsSetId: Scalars['String'];
|
|
1255
|
+
type: ProductOptionTypeEnum;
|
|
1256
|
+
values: Array<OrderLineOptionValue>;
|
|
1257
|
+
};
|
|
1258
|
+
export declare type OrderLineOptionInput = {
|
|
1259
|
+
productOptionId: Scalars['String'];
|
|
1260
|
+
productOptionsSetId: Scalars['String'];
|
|
1261
|
+
values: Array<OrderLineOptionValueInput>;
|
|
1262
|
+
};
|
|
1263
|
+
export declare type OrderLineOptionValue = {
|
|
1264
|
+
__typename?: 'OrderLineOptionValue';
|
|
1265
|
+
name?: Maybe<Scalars['String']>;
|
|
1266
|
+
price?: Maybe<Scalars['Float']>;
|
|
1267
|
+
value: Scalars['String'];
|
|
1268
|
+
};
|
|
1269
|
+
export declare type OrderLineOptionValueInput = {
|
|
1270
|
+
price?: InputMaybe<Scalars['Float']>;
|
|
1271
|
+
value: Scalars['String'];
|
|
1272
|
+
};
|
|
1273
|
+
export declare type OrderLineVariant = {
|
|
1274
|
+
__typename?: 'OrderLineVariant';
|
|
1275
|
+
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
1276
|
+
brand?: Maybe<OrderLineVariantBrand>;
|
|
1277
|
+
categories?: Maybe<Array<OrderLineVariantCategory>>;
|
|
1278
|
+
id?: Maybe<Scalars['String']>;
|
|
1279
|
+
mainImageId?: Maybe<Scalars['String']>;
|
|
1280
|
+
name: Scalars['String'];
|
|
1281
|
+
prices?: Maybe<Array<OrderLineVariantPrice>>;
|
|
1282
|
+
productId?: Maybe<Scalars['String']>;
|
|
1283
|
+
sku?: Maybe<Scalars['String']>;
|
|
1284
|
+
slug?: Maybe<Scalars['String']>;
|
|
1285
|
+
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
1286
|
+
/** @deprecated Will be removed use OrderLineItem.taxValue */
|
|
1287
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
1288
|
+
type?: Maybe<Scalars['Float']>;
|
|
1289
|
+
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
1290
|
+
};
|
|
1291
|
+
export declare type OrderLineVariantBrand = {
|
|
1292
|
+
__typename?: 'OrderLineVariantBrand';
|
|
1293
|
+
id: Scalars['String'];
|
|
1294
|
+
name: Scalars['String'];
|
|
1295
|
+
};
|
|
1296
|
+
export declare type OrderLineVariantCategory = {
|
|
1297
|
+
__typename?: 'OrderLineVariantCategory';
|
|
1298
|
+
categoryPath?: Maybe<Array<OrderLineVariantCategory>>;
|
|
1299
|
+
id: Scalars['String'];
|
|
1300
|
+
name: Scalars['String'];
|
|
1301
|
+
};
|
|
1302
|
+
export declare type OrderLineVariantInput = {
|
|
1303
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1304
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1305
|
+
};
|
|
1306
|
+
export declare type OrderLineVariantPrice = {
|
|
1307
|
+
__typename?: 'OrderLineVariantPrice';
|
|
1308
|
+
buyPrice?: Maybe<Scalars['Float']>;
|
|
1309
|
+
currency?: Maybe<Scalars['String']>;
|
|
1310
|
+
discountPrice?: Maybe<Scalars['Float']>;
|
|
1311
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
1312
|
+
sellPrice: Scalars['Float'];
|
|
1313
|
+
};
|
|
1314
|
+
export declare type OrderLineVariantVariantValues = {
|
|
1315
|
+
__typename?: 'OrderLineVariantVariantValues';
|
|
1316
|
+
order: Scalars['Float'];
|
|
1317
|
+
variantTypeId: Scalars['String'];
|
|
1318
|
+
variantTypeName?: Maybe<Scalars['String']>;
|
|
1319
|
+
variantValueId: Scalars['String'];
|
|
1320
|
+
variantValueName?: Maybe<Scalars['String']>;
|
|
1321
|
+
};
|
|
1322
|
+
export declare type OrderPackage = {
|
|
1323
|
+
__typename?: 'OrderPackage';
|
|
1324
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1325
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1326
|
+
errorMessage?: Maybe<Scalars['String']>;
|
|
1327
|
+
id: Scalars['ID'];
|
|
1328
|
+
note?: Maybe<Scalars['String']>;
|
|
1329
|
+
orderLineItemIds: Array<Scalars['String']>;
|
|
1330
|
+
orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
|
|
1331
|
+
orderPackageNumber: Scalars['String'];
|
|
1332
|
+
stockLocationId: Scalars['String'];
|
|
1333
|
+
trackingInfo?: Maybe<TrackingInfo>;
|
|
1334
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1335
|
+
};
|
|
1336
|
+
/** Order Package Fulfill Status Enum */
|
|
1337
|
+
export declare enum OrderPackageFulfillStatusEnum {
|
|
1338
|
+
CANCELLED = "CANCELLED",
|
|
1339
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
1340
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
1341
|
+
DELIVERED = "DELIVERED",
|
|
1342
|
+
ERROR = "ERROR",
|
|
1343
|
+
FULFILLED = "FULFILLED",
|
|
1344
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1345
|
+
REFUNDED = "REFUNDED",
|
|
1346
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1347
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
1348
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED"
|
|
1349
|
+
}
|
|
1350
|
+
/** Order Package Status Enum */
|
|
1351
|
+
export declare enum OrderPackageStatusEnum {
|
|
1352
|
+
CANCELLED = "CANCELLED",
|
|
1353
|
+
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
1354
|
+
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
1355
|
+
DELIVERED = "DELIVERED",
|
|
1356
|
+
FULFILLED = "FULFILLED",
|
|
1357
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
1358
|
+
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
1359
|
+
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
1360
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
1361
|
+
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1362
|
+
REFUNDED = "REFUNDED",
|
|
1363
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1364
|
+
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
1365
|
+
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
1366
|
+
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
1367
|
+
UNFULFILLED = "UNFULFILLED"
|
|
1368
|
+
}
|
|
1369
|
+
export declare type OrderPaginationResponse = {
|
|
1370
|
+
__typename?: 'OrderPaginationResponse';
|
|
1371
|
+
/** Returns the first three records of each page in the records returned as a response. For example, ***let's say page = 3, limit = 30, count = 3.*** The records that will return as a response are the records ***between 60-62.*** */
|
|
1372
|
+
count: Scalars['Int'];
|
|
1373
|
+
data: Array<Order>;
|
|
1374
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is ```true``` despite these records, ***it means there are more records.*** If hasNext is ```false```, it means there are a total of ***90 records.*** */
|
|
1375
|
+
hasNext: Scalars['Boolean'];
|
|
1376
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
1377
|
+
limit: Scalars['Int'];
|
|
1378
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
1379
|
+
page: Scalars['Int'];
|
|
1380
|
+
};
|
|
1381
|
+
export declare type OrderPaymentMethod = {
|
|
1382
|
+
__typename?: 'OrderPaymentMethod';
|
|
1383
|
+
price: Scalars['Float'];
|
|
1384
|
+
type: PaymentMethodTypeEnum;
|
|
1385
|
+
};
|
|
1386
|
+
/** Order Payment Status Enum */
|
|
1387
|
+
export declare enum OrderPaymentStatusEnum {
|
|
1388
|
+
PAID = "PAID",
|
|
1389
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
1390
|
+
WAITING = "WAITING"
|
|
1391
|
+
}
|
|
1392
|
+
export declare type OrderPriceList = {
|
|
1393
|
+
__typename?: 'OrderPriceList';
|
|
1394
|
+
id: Scalars['String'];
|
|
1395
|
+
name?: Maybe<Scalars['String']>;
|
|
1396
|
+
};
|
|
1397
|
+
export declare type OrderRefundInput = {
|
|
1398
|
+
orderId: Scalars['String'];
|
|
1399
|
+
orderRefundLines: Array<OrderRefundLineInput>;
|
|
1400
|
+
paymentGatewayId: Scalars['String'];
|
|
1401
|
+
reason?: InputMaybe<Scalars['String']>;
|
|
1402
|
+
refundShipping?: InputMaybe<Scalars['Boolean']>;
|
|
1403
|
+
stockLocationId: Scalars['String'];
|
|
1404
|
+
};
|
|
1405
|
+
export declare type OrderRefundLineInput = {
|
|
1406
|
+
orderLineItemId: Scalars['String'];
|
|
1407
|
+
quantity: Scalars['Float'];
|
|
1408
|
+
restockItems?: InputMaybe<Scalars['Boolean']>;
|
|
1409
|
+
};
|
|
1410
|
+
export declare type OrderSalesChannel = {
|
|
1411
|
+
__typename?: 'OrderSalesChannel';
|
|
1412
|
+
id: Scalars['String'];
|
|
1413
|
+
name?: Maybe<Scalars['String']>;
|
|
1414
|
+
type?: Maybe<Scalars['Float']>;
|
|
1415
|
+
};
|
|
1416
|
+
export declare type OrderShippingLine = {
|
|
1417
|
+
__typename?: 'OrderShippingLine';
|
|
1418
|
+
isRefunded?: Maybe<Scalars['Boolean']>;
|
|
1419
|
+
price: Scalars['Float'];
|
|
1420
|
+
shippingSettingsId?: Maybe<Scalars['String']>;
|
|
1421
|
+
shippingZoneRateId?: Maybe<Scalars['String']>;
|
|
1422
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
1423
|
+
title: Scalars['String'];
|
|
1424
|
+
};
|
|
1425
|
+
export declare type OrderShippingLineInput = {
|
|
1426
|
+
price: Scalars['Float'];
|
|
1427
|
+
taxValue?: InputMaybe<Scalars['Float']>;
|
|
1428
|
+
title: Scalars['String'];
|
|
1429
|
+
};
|
|
1430
|
+
export declare type OrderStaff = {
|
|
1431
|
+
__typename?: 'OrderStaff';
|
|
1432
|
+
email: Scalars['String'];
|
|
1433
|
+
firstName: Scalars['String'];
|
|
1434
|
+
lastName: Scalars['String'];
|
|
1435
|
+
};
|
|
1436
|
+
/** Order Status Enum */
|
|
1437
|
+
export declare enum OrderStatusEnum {
|
|
1438
|
+
CANCELLED = "CANCELLED",
|
|
1439
|
+
CREATED = "CREATED",
|
|
1440
|
+
DRAFT = "DRAFT",
|
|
1441
|
+
PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
|
|
1442
|
+
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
1443
|
+
REFUNDED = "REFUNDED",
|
|
1444
|
+
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1445
|
+
REFUND_REQUESTED = "REFUND_REQUESTED"
|
|
1446
|
+
}
|
|
1447
|
+
export declare type OrderStorefront = {
|
|
1448
|
+
__typename?: 'OrderStorefront';
|
|
1449
|
+
id: Scalars['String'];
|
|
1450
|
+
name?: Maybe<Scalars['String']>;
|
|
1451
|
+
};
|
|
1452
|
+
export declare type OrderStorefrontRouting = {
|
|
1453
|
+
__typename?: 'OrderStorefrontRouting';
|
|
1454
|
+
domain?: Maybe<Scalars['String']>;
|
|
1455
|
+
id: Scalars['String'];
|
|
1456
|
+
locale?: Maybe<Scalars['String']>;
|
|
1457
|
+
path?: Maybe<Scalars['String']>;
|
|
1458
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
1459
|
+
};
|
|
1460
|
+
export declare type OrderStorefrontTheme = {
|
|
1461
|
+
__typename?: 'OrderStorefrontTheme';
|
|
1462
|
+
id: Scalars['String'];
|
|
1463
|
+
name?: Maybe<Scalars['String']>;
|
|
1464
|
+
themeId?: Maybe<Scalars['String']>;
|
|
1465
|
+
themeVersionId?: Maybe<Scalars['String']>;
|
|
1466
|
+
};
|
|
1467
|
+
export declare type OrderTaxLine = {
|
|
1468
|
+
__typename?: 'OrderTaxLine';
|
|
1469
|
+
price: Scalars['Float'];
|
|
1470
|
+
rate: Scalars['Float'];
|
|
1471
|
+
};
|
|
1472
|
+
export declare type OrderTransactionInput = {
|
|
1473
|
+
amount: Scalars['Float'];
|
|
1474
|
+
paymentGatewayId?: InputMaybe<Scalars['String']>;
|
|
1475
|
+
};
|
|
1476
|
+
export declare type PaginationInput = {
|
|
1477
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
1478
|
+
limit?: InputMaybe<Scalars['Int']>;
|
|
1479
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
1480
|
+
page?: InputMaybe<Scalars['Int']>;
|
|
1481
|
+
};
|
|
1482
|
+
export declare enum PaymentMethodTypeEnum {
|
|
1483
|
+
APP_PAYMENT = "APP_PAYMENT",
|
|
1484
|
+
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
1485
|
+
CASH = "CASH",
|
|
1486
|
+
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
1487
|
+
CREDIT_CARD = "CREDIT_CARD",
|
|
1488
|
+
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
1489
|
+
GIFT_CARD = "GIFT_CARD",
|
|
1490
|
+
MONEY_ORDER = "MONEY_ORDER",
|
|
1491
|
+
OTHER = "OTHER"
|
|
1492
|
+
}
|
|
1493
|
+
export declare type PriceList = {
|
|
1494
|
+
__typename?: 'PriceList';
|
|
1495
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1496
|
+
currency: Scalars['String'];
|
|
1497
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1498
|
+
id: Scalars['ID'];
|
|
1499
|
+
name: Scalars['String'];
|
|
1500
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1501
|
+
};
|
|
1502
|
+
export declare type Product = {
|
|
1503
|
+
__typename?: 'Product';
|
|
1504
|
+
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
1505
|
+
brand?: Maybe<ProductBrand>;
|
|
1506
|
+
brandId?: Maybe<Scalars['String']>;
|
|
1507
|
+
categories?: Maybe<Array<Category>>;
|
|
1508
|
+
categoryIds?: Maybe<Array<Scalars['String']>>;
|
|
1509
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1510
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1511
|
+
description?: Maybe<Scalars['String']>;
|
|
1512
|
+
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
1513
|
+
id: Scalars['ID'];
|
|
1514
|
+
metaData?: Maybe<HTMLMetaData>;
|
|
1515
|
+
name: Scalars['String'];
|
|
1516
|
+
productOptionSetId?: Maybe<Scalars['String']>;
|
|
1517
|
+
productVariantTypes?: Maybe<Array<ProductVariantType>>;
|
|
1518
|
+
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
1519
|
+
shortDescription?: Maybe<Scalars['String']>;
|
|
1520
|
+
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
1521
|
+
tags?: Maybe<Array<ProductTag>>;
|
|
1522
|
+
translations?: Maybe<Array<ProductTranslation>>;
|
|
1523
|
+
type: ProductTypeEnum;
|
|
1524
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1525
|
+
variants: Array<Variant>;
|
|
1526
|
+
vendorId?: Maybe<Scalars['String']>;
|
|
1527
|
+
weight?: Maybe<Scalars['Float']>;
|
|
1528
|
+
};
|
|
1529
|
+
export declare type ProductAttribute = {
|
|
1530
|
+
__typename?: 'ProductAttribute';
|
|
1531
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1532
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1533
|
+
description?: Maybe<Scalars['String']>;
|
|
1534
|
+
id: Scalars['ID'];
|
|
1535
|
+
name: Scalars['String'];
|
|
1536
|
+
options?: Maybe<Array<ProductAttributeOption>>;
|
|
1537
|
+
tableTemplate?: Maybe<ProductAttributeTableTemplate>;
|
|
1538
|
+
translations?: Maybe<Array<ProductAttributeTranslation>>;
|
|
1539
|
+
type: ProductAttributeTypeEnum;
|
|
1540
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1541
|
+
};
|
|
1542
|
+
export declare type ProductAttributeInput = {
|
|
1543
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1544
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1545
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1546
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1547
|
+
name: Scalars['String'];
|
|
1548
|
+
options?: InputMaybe<Array<ProductAttributeOptionInput>>;
|
|
1549
|
+
tableTemplate?: InputMaybe<ProductAttributeTableTemplateInput>;
|
|
1550
|
+
translations?: InputMaybe<Array<ProductAttributeTranslationInput>>;
|
|
1551
|
+
type: ProductAttributeTypeEnum;
|
|
1552
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1553
|
+
};
|
|
1554
|
+
export declare type ProductAttributeOption = {
|
|
1555
|
+
__typename?: 'ProductAttributeOption';
|
|
1556
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1557
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1558
|
+
id: Scalars['ID'];
|
|
1559
|
+
name: Scalars['String'];
|
|
1560
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1561
|
+
};
|
|
1562
|
+
export declare type ProductAttributeOptionInput = {
|
|
1563
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1564
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1565
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1566
|
+
name: Scalars['String'];
|
|
1567
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1568
|
+
};
|
|
1569
|
+
export declare type ProductAttributeOptionTranslation = {
|
|
1570
|
+
__typename?: 'ProductAttributeOptionTranslation';
|
|
1571
|
+
id: Scalars['String'];
|
|
1572
|
+
name?: Maybe<Scalars['String']>;
|
|
1573
|
+
};
|
|
1574
|
+
export declare type ProductAttributeOptionTranslationInput = {
|
|
1575
|
+
id: Scalars['String'];
|
|
1576
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1577
|
+
};
|
|
1578
|
+
export declare type ProductAttributeTableCellData = {
|
|
1579
|
+
__typename?: 'ProductAttributeTableCellData';
|
|
1580
|
+
id: Scalars['String'];
|
|
1581
|
+
name: Scalars['String'];
|
|
1582
|
+
};
|
|
1583
|
+
export declare type ProductAttributeTableCellDataInput = {
|
|
1584
|
+
id: Scalars['String'];
|
|
1585
|
+
name: Scalars['String'];
|
|
1586
|
+
};
|
|
1587
|
+
export declare type ProductAttributeTableTemplate = {
|
|
1588
|
+
__typename?: 'ProductAttributeTableTemplate';
|
|
1589
|
+
columns: Array<ProductAttributeTableCellData>;
|
|
1590
|
+
rows: Array<ProductAttributeTableCellData>;
|
|
1591
|
+
};
|
|
1592
|
+
export declare type ProductAttributeTableTemplateInput = {
|
|
1593
|
+
columns: Array<ProductAttributeTableCellDataInput>;
|
|
1594
|
+
rows: Array<ProductAttributeTableCellDataInput>;
|
|
1595
|
+
};
|
|
1596
|
+
export declare type ProductAttributeTranslation = {
|
|
1597
|
+
__typename?: 'ProductAttributeTranslation';
|
|
1598
|
+
description?: Maybe<Scalars['String']>;
|
|
1599
|
+
locale: Scalars['String'];
|
|
1600
|
+
name?: Maybe<Scalars['String']>;
|
|
1601
|
+
options?: Maybe<Array<ProductAttributeOptionTranslation>>;
|
|
1602
|
+
};
|
|
1603
|
+
export declare type ProductAttributeTranslationInput = {
|
|
1604
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1605
|
+
locale: Scalars['String'];
|
|
1606
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1607
|
+
options?: InputMaybe<Array<ProductAttributeOptionTranslationInput>>;
|
|
1608
|
+
};
|
|
1609
|
+
/** ProductAttribute Types */
|
|
1610
|
+
export declare enum ProductAttributeTypeEnum {
|
|
1611
|
+
BOOLEAN = "BOOLEAN",
|
|
1612
|
+
CHOICE = "CHOICE",
|
|
1613
|
+
DATETIME = "DATETIME",
|
|
1614
|
+
HTML = "HTML",
|
|
1615
|
+
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
1616
|
+
NUMERIC = "NUMERIC",
|
|
1617
|
+
PRODUCT = "PRODUCT",
|
|
1618
|
+
TABLE = "TABLE",
|
|
1619
|
+
TEXT = "TEXT"
|
|
1620
|
+
}
|
|
1621
|
+
export declare type ProductAttributeValue = {
|
|
1622
|
+
__typename?: 'ProductAttributeValue';
|
|
1623
|
+
productAttributeId?: Maybe<Scalars['String']>;
|
|
1624
|
+
productAttributeOptionId?: Maybe<Scalars['String']>;
|
|
1625
|
+
value?: Maybe<Scalars['String']>;
|
|
1626
|
+
};
|
|
1627
|
+
export declare type ProductAttributeValueInput = {
|
|
1628
|
+
productAttributeId?: InputMaybe<Scalars['String']>;
|
|
1629
|
+
productAttributeOptionId?: InputMaybe<Scalars['String']>;
|
|
1630
|
+
value?: InputMaybe<Scalars['String']>;
|
|
1631
|
+
};
|
|
1632
|
+
export declare type ProductBrand = {
|
|
1633
|
+
__typename?: 'ProductBrand';
|
|
1634
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1635
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1636
|
+
description?: Maybe<Scalars['String']>;
|
|
1637
|
+
id: Scalars['ID'];
|
|
1638
|
+
imageId?: Maybe<Scalars['String']>;
|
|
1639
|
+
metaData?: Maybe<HTMLMetaData>;
|
|
1640
|
+
name: Scalars['String'];
|
|
1641
|
+
orderType?: Maybe<CategoryProductsOrderTypeEnum>;
|
|
1642
|
+
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
1643
|
+
translations?: Maybe<Array<ProductBrandTranslation>>;
|
|
1644
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1645
|
+
};
|
|
1646
|
+
export declare type ProductBrandInput = {
|
|
1647
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1648
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1649
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1650
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1651
|
+
imageId?: InputMaybe<Scalars['String']>;
|
|
1652
|
+
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
1653
|
+
name: Scalars['String'];
|
|
1654
|
+
orderType?: InputMaybe<CategoryProductsOrderTypeEnum>;
|
|
1655
|
+
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1656
|
+
translations?: InputMaybe<Array<ProductBrandTranslationInput>>;
|
|
1657
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1658
|
+
};
|
|
1659
|
+
export declare type ProductBrandTranslation = {
|
|
1660
|
+
__typename?: 'ProductBrandTranslation';
|
|
1661
|
+
description?: Maybe<Scalars['String']>;
|
|
1662
|
+
locale: Scalars['String'];
|
|
1663
|
+
name?: Maybe<Scalars['String']>;
|
|
1664
|
+
};
|
|
1665
|
+
export declare type ProductBrandTranslationInput = {
|
|
1666
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1667
|
+
locale: Scalars['String'];
|
|
1668
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1669
|
+
};
|
|
1670
|
+
export declare type ProductImage = {
|
|
1671
|
+
__typename?: 'ProductImage';
|
|
1672
|
+
imageId?: Maybe<Scalars['String']>;
|
|
1673
|
+
isMain: Scalars['Boolean'];
|
|
1674
|
+
order: Scalars['Float'];
|
|
1675
|
+
};
|
|
1676
|
+
export declare type ProductImageInput = {
|
|
1677
|
+
imageId: Scalars['String'];
|
|
1678
|
+
isMain: Scalars['Boolean'];
|
|
1679
|
+
order: Scalars['Float'];
|
|
1680
|
+
};
|
|
1681
|
+
export declare type ProductInput = {
|
|
1682
|
+
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
1683
|
+
brandId?: InputMaybe<Scalars['String']>;
|
|
1684
|
+
categoryIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1685
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1686
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1687
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1688
|
+
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
1689
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1690
|
+
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
1691
|
+
name: Scalars['String'];
|
|
1692
|
+
productOptionSetId?: InputMaybe<Scalars['String']>;
|
|
1693
|
+
productVariantTypes?: InputMaybe<Array<ProductVariantTypeInput>>;
|
|
1694
|
+
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1695
|
+
shortDescription?: InputMaybe<Scalars['String']>;
|
|
1696
|
+
tagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1697
|
+
translations?: InputMaybe<Array<ProductTranslationInput>>;
|
|
1698
|
+
type: ProductTypeEnum;
|
|
1699
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1700
|
+
variants: Array<VariantInput>;
|
|
1701
|
+
vendorId?: InputMaybe<Scalars['String']>;
|
|
1702
|
+
weight?: InputMaybe<Scalars['Float']>;
|
|
1703
|
+
};
|
|
1704
|
+
export declare enum ProductOptionTypeEnum {
|
|
1705
|
+
CHECKBOX = "CHECKBOX",
|
|
1706
|
+
CHOICE = "CHOICE",
|
|
1707
|
+
COLOR_PICKER = "COLOR_PICKER",
|
|
1708
|
+
DATE_PICKER = "DATE_PICKER",
|
|
1709
|
+
FILE = "FILE",
|
|
1710
|
+
IMAGE = "IMAGE",
|
|
1711
|
+
TEXT = "TEXT",
|
|
1712
|
+
TEXT_AREA = "TEXT_AREA"
|
|
1713
|
+
}
|
|
1714
|
+
export declare type ProductPaginationResponse = {
|
|
1715
|
+
__typename?: 'ProductPaginationResponse';
|
|
1716
|
+
/** Returns the first three records of each page in the records returned as a response. For example, ***let's say page = 3, limit = 30, count = 3.*** The records that will return as a response are the records ***between 60-62.*** */
|
|
1717
|
+
count: Scalars['Int'];
|
|
1718
|
+
data: Array<Product>;
|
|
1719
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is ```true``` despite these records, ***it means there are more records.*** If hasNext is ```false```, it means there are a total of ***90 records.*** */
|
|
1720
|
+
hasNext: Scalars['Boolean'];
|
|
1721
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
1722
|
+
limit: Scalars['Int'];
|
|
1723
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
1724
|
+
page: Scalars['Int'];
|
|
1725
|
+
};
|
|
1726
|
+
export declare type ProductPrice = {
|
|
1727
|
+
__typename?: 'ProductPrice';
|
|
1728
|
+
buyPrice?: Maybe<Scalars['Float']>;
|
|
1729
|
+
currency?: Maybe<Scalars['String']>;
|
|
1730
|
+
discountPrice?: Maybe<Scalars['Float']>;
|
|
1731
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
1732
|
+
sellPrice: Scalars['Float'];
|
|
1733
|
+
};
|
|
1734
|
+
export declare type ProductPriceInput = {
|
|
1735
|
+
buyPrice?: InputMaybe<Scalars['Float']>;
|
|
1736
|
+
currency?: InputMaybe<Scalars['String']>;
|
|
1737
|
+
discountPrice?: InputMaybe<Scalars['Float']>;
|
|
1738
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
1739
|
+
sellPrice: Scalars['Float'];
|
|
1740
|
+
};
|
|
1741
|
+
export declare type ProductSearchResponse = {
|
|
1742
|
+
__typename?: 'ProductSearchResponse';
|
|
1743
|
+
count: Scalars['Float'];
|
|
1744
|
+
data: Scalars['JSON'];
|
|
1745
|
+
limit: Scalars['Float'];
|
|
1746
|
+
page: Scalars['Float'];
|
|
1747
|
+
totalCount: Scalars['Float'];
|
|
1748
|
+
};
|
|
1749
|
+
export declare type ProductStockLocation = {
|
|
1750
|
+
__typename?: 'ProductStockLocation';
|
|
1751
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1752
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1753
|
+
id: Scalars['ID'];
|
|
1754
|
+
productId: Scalars['String'];
|
|
1755
|
+
stockCount: Scalars['Float'];
|
|
1756
|
+
stockLocationId: Scalars['String'];
|
|
1757
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1758
|
+
variantId: Scalars['String'];
|
|
1759
|
+
};
|
|
1760
|
+
export declare type ProductStockLocationInput = {
|
|
1761
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1762
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1763
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1764
|
+
productId: Scalars['String'];
|
|
1765
|
+
stockCount: Scalars['Float'];
|
|
1766
|
+
stockLocationId: Scalars['String'];
|
|
1767
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1768
|
+
variantId: Scalars['String'];
|
|
1769
|
+
};
|
|
1770
|
+
export declare type ProductStockLocationPaginationResponse = {
|
|
1771
|
+
__typename?: 'ProductStockLocationPaginationResponse';
|
|
1772
|
+
/** Returns the first three records of each page in the records returned as a response. For example, ***let's say page = 3, limit = 30, count = 3.*** The records that will return as a response are the records ***between 60-62.*** */
|
|
1773
|
+
count: Scalars['Int'];
|
|
1774
|
+
data: Array<ProductStockLocation>;
|
|
1775
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is ```true``` despite these records, ***it means there are more records.*** If hasNext is ```false```, it means there are a total of ***90 records.*** */
|
|
1776
|
+
hasNext: Scalars['Boolean'];
|
|
1777
|
+
/** The maximum number of data you want to see on a page in the records returned as a response. For example, if the limit is ***20***, the data will be displayed ***as 20 each.***<br />:::note<br />min 1, max 200 values can be given. If no value is entered, default 50 is accepted.<br />::: */
|
|
1778
|
+
limit: Scalars['Int'];
|
|
1779
|
+
/** The number of the page you want to see in the records that return as response. For example: We entered the page field as ***3***.And let our limit field be ***30***. The records that will return as a response are the records ***between 60-90.***<br />:::note<br />If no value is entered, default 1 is accepted.<br /> ::: */
|
|
1780
|
+
page: Scalars['Int'];
|
|
1781
|
+
};
|
|
1782
|
+
export declare type ProductTag = {
|
|
1783
|
+
__typename?: 'ProductTag';
|
|
1784
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1785
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1786
|
+
id: Scalars['ID'];
|
|
1787
|
+
name: Scalars['String'];
|
|
1788
|
+
translations?: Maybe<Array<ProductTagTranslation>>;
|
|
1789
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1790
|
+
};
|
|
1791
|
+
export declare type ProductTagInput = {
|
|
1792
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1793
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1794
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1795
|
+
name: Scalars['String'];
|
|
1796
|
+
translations?: InputMaybe<Array<ProductTagTranslationInput>>;
|
|
1797
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1798
|
+
};
|
|
1799
|
+
export declare type ProductTagTranslation = {
|
|
1800
|
+
__typename?: 'ProductTagTranslation';
|
|
1801
|
+
description?: Maybe<Scalars['String']>;
|
|
1802
|
+
locale: Scalars['String'];
|
|
1803
|
+
name?: Maybe<Scalars['String']>;
|
|
1804
|
+
};
|
|
1805
|
+
export declare type ProductTagTranslationInput = {
|
|
1806
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1807
|
+
locale: Scalars['String'];
|
|
1808
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1809
|
+
};
|
|
1810
|
+
export declare type ProductTranslation = {
|
|
1811
|
+
__typename?: 'ProductTranslation';
|
|
1812
|
+
description?: Maybe<Scalars['String']>;
|
|
1813
|
+
locale: Scalars['String'];
|
|
1814
|
+
name?: Maybe<Scalars['String']>;
|
|
1815
|
+
};
|
|
1816
|
+
export declare type ProductTranslationInput = {
|
|
1817
|
+
description?: InputMaybe<Scalars['String']>;
|
|
1818
|
+
locale: Scalars['String'];
|
|
1819
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1820
|
+
};
|
|
1821
|
+
/** Product Types */
|
|
1822
|
+
export declare enum ProductTypeEnum {
|
|
1823
|
+
DIGITAL = "DIGITAL",
|
|
1824
|
+
MEMBERSHIP = "MEMBERSHIP",
|
|
1825
|
+
PHYSICAL = "PHYSICAL"
|
|
1826
|
+
}
|
|
1827
|
+
export declare type ProductVariantType = {
|
|
1828
|
+
__typename?: 'ProductVariantType';
|
|
1829
|
+
order: Scalars['Float'];
|
|
1830
|
+
variantTypeId: Scalars['String'];
|
|
1831
|
+
variantValueIds?: Maybe<Array<Scalars['String']>>;
|
|
1832
|
+
};
|
|
1833
|
+
export declare type ProductVariantTypeInput = {
|
|
1834
|
+
order: Scalars['Float'];
|
|
1835
|
+
variantTypeId: Scalars['String'];
|
|
1836
|
+
variantValueIds: Array<Scalars['String']>;
|
|
1837
|
+
};
|
|
1838
|
+
export declare type Query = {
|
|
1839
|
+
__typename?: 'Query';
|
|
1840
|
+
/** By using this api you can get properties of merchant and merchant staff. */
|
|
1841
|
+
getAuthorizedApp?: Maybe<AuthorizedApp>;
|
|
1842
|
+
getImageUploadUrl: Scalars['String'];
|
|
1843
|
+
/** By using this api you can get properties of merchant and merchant staff. */
|
|
1844
|
+
getMerchant: MerchantResponse;
|
|
1845
|
+
getMerchantLicence: MerchantLicence;
|
|
1846
|
+
/** Using this api, you can view your sales channel. */
|
|
1847
|
+
getSalesChannel?: Maybe<SalesChannel>;
|
|
1848
|
+
listCategory: Array<Category>;
|
|
1849
|
+
listCity: Array<City>;
|
|
1850
|
+
listCountry: Array<Country>;
|
|
1851
|
+
listCustomer: CustomerPaginationResponse;
|
|
1852
|
+
listDistrict: Array<District>;
|
|
1853
|
+
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
1854
|
+
listOrder: OrderPaginationResponse;
|
|
1855
|
+
listPriceList: Array<PriceList>;
|
|
1856
|
+
listProduct: ProductPaginationResponse;
|
|
1857
|
+
listProductAttribute: Array<ProductAttribute>;
|
|
1858
|
+
listProductBrand: Array<ProductBrand>;
|
|
1859
|
+
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
1860
|
+
listProductTag: Array<ProductTag>;
|
|
1861
|
+
listSalesChannel: Array<SalesChannel>;
|
|
1862
|
+
listState: Array<State>;
|
|
1863
|
+
listStockLocation: Array<StockLocation>;
|
|
1864
|
+
listStorefront: Array<Storefront>;
|
|
1865
|
+
/** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
|
|
1866
|
+
listStorefrontJSScript: Array<StorefrontJSScript>;
|
|
1867
|
+
listTown: Array<Town>;
|
|
1868
|
+
listVariantType: Array<VariantType>;
|
|
1869
|
+
/** Use this query to list active webhooks of your application. */
|
|
1870
|
+
listWebhook: Array<Webhook>;
|
|
1871
|
+
me?: Maybe<MeResponse>;
|
|
1872
|
+
searchProducts: ProductSearchResponse;
|
|
1873
|
+
};
|
|
1874
|
+
export declare type QuerygetImageUploadUrlArgs = {
|
|
1875
|
+
imageDir?: InputMaybe<Scalars['String']>;
|
|
1876
|
+
imageId: Scalars['String'];
|
|
1877
|
+
};
|
|
1878
|
+
export declare type QuerylistCategoryArgs = {
|
|
1879
|
+
categoryPath?: InputMaybe<CategoryPathFilterInput>;
|
|
1880
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1881
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1882
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1883
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1884
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1885
|
+
};
|
|
1886
|
+
export declare type QuerylistCityArgs = {
|
|
1887
|
+
countryId?: InputMaybe<StringFilterInput>;
|
|
1888
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1889
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1890
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1891
|
+
stateId: StringFilterInput;
|
|
1892
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1893
|
+
};
|
|
1894
|
+
export declare type QuerylistCountryArgs = {
|
|
1895
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1896
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1897
|
+
iso2?: InputMaybe<StringFilterInput>;
|
|
1898
|
+
iso3?: InputMaybe<StringFilterInput>;
|
|
1899
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1900
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1901
|
+
};
|
|
1902
|
+
export declare type QuerylistCustomerArgs = {
|
|
1903
|
+
email?: InputMaybe<StringFilterInput>;
|
|
1904
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1905
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1906
|
+
merchantId?: InputMaybe<StringFilterInput>;
|
|
1907
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1908
|
+
phone?: InputMaybe<StringFilterInput>;
|
|
1909
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1910
|
+
sort?: InputMaybe<Scalars['String']>;
|
|
1911
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1912
|
+
};
|
|
1913
|
+
export declare type QuerylistDistrictArgs = {
|
|
1914
|
+
cityId: StringFilterInput;
|
|
1915
|
+
countryId?: InputMaybe<StringFilterInput>;
|
|
1916
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1917
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1918
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1919
|
+
stateId?: InputMaybe<StringFilterInput>;
|
|
1920
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1921
|
+
};
|
|
1922
|
+
export declare type QuerylistMerchantAppPaymentArgs = {
|
|
1923
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1924
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1925
|
+
};
|
|
1926
|
+
export declare type QuerylistOrderArgs = {
|
|
1927
|
+
closedAt?: InputMaybe<DateFilterInput>;
|
|
1928
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1929
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1930
|
+
orderNumber?: InputMaybe<StringFilterInput>;
|
|
1931
|
+
orderedAt?: InputMaybe<DateFilterInput>;
|
|
1932
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1933
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1934
|
+
sort?: InputMaybe<Scalars['String']>;
|
|
1935
|
+
status?: InputMaybe<NumberFilterInput>;
|
|
1936
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1937
|
+
};
|
|
1938
|
+
export declare type QuerylistPriceListArgs = {
|
|
1939
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1940
|
+
};
|
|
1941
|
+
export declare type QuerylistProductArgs = {
|
|
1942
|
+
barcodeList?: InputMaybe<StringFilterInput>;
|
|
1943
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1944
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1945
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1946
|
+
sku?: InputMaybe<StringFilterInput>;
|
|
1947
|
+
};
|
|
1948
|
+
export declare type QuerylistProductAttributeArgs = {
|
|
1949
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1950
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1951
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1952
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1953
|
+
};
|
|
1954
|
+
export declare type QuerylistProductBrandArgs = {
|
|
1955
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1956
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1957
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1958
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1959
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1960
|
+
};
|
|
1961
|
+
export declare type QuerylistProductStockLocationArgs = {
|
|
1962
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1963
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1964
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
1965
|
+
productId?: InputMaybe<StringFilterInput>;
|
|
1966
|
+
sort?: InputMaybe<Scalars['String']>;
|
|
1967
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1968
|
+
variantId?: InputMaybe<StringFilterInput>;
|
|
1969
|
+
};
|
|
1970
|
+
export declare type QuerylistProductTagArgs = {
|
|
1971
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1972
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1973
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1974
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1975
|
+
};
|
|
1976
|
+
export declare type QuerylistSalesChannelArgs = {
|
|
1977
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1978
|
+
};
|
|
1979
|
+
export declare type QuerylistStateArgs = {
|
|
1980
|
+
countryId: StringFilterInput;
|
|
1981
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1982
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1983
|
+
search?: InputMaybe<Scalars['String']>;
|
|
1984
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1985
|
+
};
|
|
1986
|
+
export declare type QuerylistStockLocationArgs = {
|
|
1987
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1988
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1989
|
+
name?: InputMaybe<StringFilterInput>;
|
|
1990
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
1991
|
+
};
|
|
1992
|
+
export declare type QuerylistStorefrontArgs = {
|
|
1993
|
+
id?: InputMaybe<StringFilterInput>;
|
|
1994
|
+
};
|
|
1995
|
+
export declare type QuerylistStorefrontJSScriptArgs = {
|
|
1996
|
+
storefrontId?: InputMaybe<Scalars['String']>;
|
|
1997
|
+
};
|
|
1998
|
+
export declare type QuerylistTownArgs = {
|
|
1999
|
+
districtId: StringFilterInput;
|
|
2000
|
+
id?: InputMaybe<StringFilterInput>;
|
|
2001
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2002
|
+
search?: InputMaybe<Scalars['String']>;
|
|
2003
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2004
|
+
};
|
|
2005
|
+
export declare type QuerylistVariantTypeArgs = {
|
|
2006
|
+
id?: InputMaybe<StringFilterInput>;
|
|
2007
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2008
|
+
name?: InputMaybe<StringFilterInput>;
|
|
2009
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2010
|
+
};
|
|
2011
|
+
export declare type QuerysearchProductsArgs = {
|
|
2012
|
+
input: SearchInput;
|
|
2013
|
+
};
|
|
2014
|
+
export declare type SalesChannel = {
|
|
2015
|
+
__typename?: 'SalesChannel';
|
|
2016
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2017
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2018
|
+
id: Scalars['ID'];
|
|
2019
|
+
/** The sales channel name field. */
|
|
2020
|
+
name: Scalars['String'];
|
|
2021
|
+
/** The sales channel payment gateway field. */
|
|
2022
|
+
paymentGateways?: Maybe<Array<SalesChannelPaymentGateway>>;
|
|
2023
|
+
/** The sales channel priceList field. */
|
|
2024
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
2025
|
+
/** The sales channel stock locations field. */
|
|
2026
|
+
stockLocations?: Maybe<Array<SalesChannelStockLocation>>;
|
|
2027
|
+
type: SalesChannelTypeEnum;
|
|
2028
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2029
|
+
};
|
|
2030
|
+
export declare type SalesChannelInput = {
|
|
2031
|
+
name?: InputMaybe<Scalars['String']>;
|
|
2032
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
2033
|
+
stockLocations: Array<SalesChannelStockLocationInput>;
|
|
2034
|
+
};
|
|
2035
|
+
export declare type SalesChannelPaymentGateway = {
|
|
2036
|
+
__typename?: 'SalesChannelPaymentGateway';
|
|
2037
|
+
id: Scalars['String'];
|
|
2038
|
+
/** The field where the Sales Channel Stock Position order is kept. */
|
|
2039
|
+
order: Scalars['Float'];
|
|
2040
|
+
};
|
|
2041
|
+
export declare type SalesChannelStockLocation = {
|
|
2042
|
+
__typename?: 'SalesChannelStockLocation';
|
|
2043
|
+
id: Scalars['String'];
|
|
2044
|
+
/** The field where the Sales Channel Stock Position order is kept. */
|
|
2045
|
+
order: Scalars['Float'];
|
|
2046
|
+
};
|
|
2047
|
+
export declare type SalesChannelStockLocationInput = {
|
|
2048
|
+
id: Scalars['String'];
|
|
2049
|
+
/** The field where the Sales Channel Stock Position order is kept. */
|
|
2050
|
+
order: Scalars['Float'];
|
|
2051
|
+
};
|
|
2052
|
+
/** Sales Channel Type */
|
|
2053
|
+
export declare enum SalesChannelTypeEnum {
|
|
2054
|
+
APP = "APP",
|
|
2055
|
+
FACEBOOK = "FACEBOOK",
|
|
2056
|
+
GOOGLE = "GOOGLE",
|
|
2057
|
+
POS = "POS",
|
|
2058
|
+
STOREFRONT = "STOREFRONT"
|
|
2059
|
+
}
|
|
2060
|
+
export declare type SaveStockLocationsInput = {
|
|
2061
|
+
productStockLocationInputs?: InputMaybe<Array<ProductStockLocationInput>>;
|
|
2062
|
+
};
|
|
2063
|
+
export declare type SearchInput = {
|
|
2064
|
+
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
2065
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
2066
|
+
query?: InputMaybe<Scalars['String']>;
|
|
2067
|
+
skuList?: InputMaybe<Array<Scalars['String']>>;
|
|
2068
|
+
};
|
|
2069
|
+
/** Shipping Method Enum */
|
|
2070
|
+
export declare enum ShippingMethodEnum {
|
|
2071
|
+
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
2072
|
+
NO_SHIPMENT = "NO_SHIPMENT",
|
|
2073
|
+
SHIPMENT = "SHIPMENT"
|
|
2074
|
+
}
|
|
2075
|
+
/** Timeline Source Types */
|
|
2076
|
+
export declare enum SourceTypeEnum {
|
|
2077
|
+
CUSTOMER = "CUSTOMER",
|
|
2078
|
+
EMAIL = "EMAIL",
|
|
2079
|
+
ORDER = "ORDER"
|
|
2080
|
+
}
|
|
2081
|
+
export declare type State = {
|
|
2082
|
+
__typename?: 'State';
|
|
2083
|
+
/** ID indicating which country the state belongs to. */
|
|
2084
|
+
countryId: Scalars['String'];
|
|
2085
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2086
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2087
|
+
id: Scalars['ID'];
|
|
2088
|
+
/** State's name. */
|
|
2089
|
+
name: Scalars['String'];
|
|
2090
|
+
/** The two-letter state code corresponding to the state. */
|
|
2091
|
+
stateCode?: Maybe<Scalars['String']>;
|
|
2092
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2093
|
+
};
|
|
2094
|
+
export declare type StockLocation = {
|
|
2095
|
+
__typename?: 'StockLocation';
|
|
2096
|
+
address?: Maybe<StockLocationAddress>;
|
|
2097
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2098
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2099
|
+
id: Scalars['ID'];
|
|
2100
|
+
name: Scalars['String'];
|
|
2101
|
+
type?: Maybe<StockLocationTypeEnum>;
|
|
2102
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2103
|
+
};
|
|
2104
|
+
export declare type StockLocationAddress = {
|
|
2105
|
+
__typename?: 'StockLocationAddress';
|
|
2106
|
+
address?: Maybe<Scalars['String']>;
|
|
2107
|
+
city?: Maybe<StockLocationAddressCity>;
|
|
2108
|
+
country?: Maybe<StockLocationAddressCountry>;
|
|
2109
|
+
district?: Maybe<StockLocationAddressDistrict>;
|
|
2110
|
+
phone?: Maybe<Scalars['String']>;
|
|
2111
|
+
postalCode?: Maybe<Scalars['String']>;
|
|
2112
|
+
state?: Maybe<StockLocationAddressState>;
|
|
2113
|
+
};
|
|
2114
|
+
export declare type StockLocationAddressCity = {
|
|
2115
|
+
__typename?: 'StockLocationAddressCity';
|
|
2116
|
+
code?: Maybe<Scalars['String']>;
|
|
2117
|
+
id?: Maybe<Scalars['String']>;
|
|
2118
|
+
name: Scalars['String'];
|
|
2119
|
+
};
|
|
2120
|
+
export declare type StockLocationAddressCountry = {
|
|
2121
|
+
__typename?: 'StockLocationAddressCountry';
|
|
2122
|
+
code?: Maybe<Scalars['String']>;
|
|
2123
|
+
id?: Maybe<Scalars['String']>;
|
|
2124
|
+
name: Scalars['String'];
|
|
2125
|
+
};
|
|
2126
|
+
export declare type StockLocationAddressDistrict = {
|
|
2127
|
+
__typename?: 'StockLocationAddressDistrict';
|
|
2128
|
+
code?: Maybe<Scalars['String']>;
|
|
2129
|
+
id?: Maybe<Scalars['String']>;
|
|
2130
|
+
name?: Maybe<Scalars['String']>;
|
|
2131
|
+
};
|
|
2132
|
+
export declare type StockLocationAddressState = {
|
|
2133
|
+
__typename?: 'StockLocationAddressState';
|
|
2134
|
+
code?: Maybe<Scalars['String']>;
|
|
2135
|
+
id?: Maybe<Scalars['String']>;
|
|
2136
|
+
name?: Maybe<Scalars['String']>;
|
|
2137
|
+
};
|
|
2138
|
+
/** Stock Location Types */
|
|
2139
|
+
export declare enum StockLocationTypeEnum {
|
|
2140
|
+
PHYSICAL = "PHYSICAL",
|
|
2141
|
+
VIRTUAL = "VIRTUAL"
|
|
2142
|
+
}
|
|
2143
|
+
export declare type Storefront = {
|
|
2144
|
+
__typename?: 'Storefront';
|
|
2145
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2146
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2147
|
+
id: Scalars['ID'];
|
|
2148
|
+
/** The storefront's name. */
|
|
2149
|
+
name: Scalars['String'];
|
|
2150
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2151
|
+
};
|
|
2152
|
+
export declare type StorefrontJSScript = {
|
|
2153
|
+
__typename?: 'StorefrontJSScript';
|
|
2154
|
+
/** The id of the logged in application. */
|
|
2155
|
+
authorizedAppId?: Maybe<Scalars['String']>;
|
|
2156
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2157
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2158
|
+
id: Scalars['ID'];
|
|
2159
|
+
/** Shows the availability status of the storefront. */
|
|
2160
|
+
isActive: Scalars['Boolean'];
|
|
2161
|
+
/** The storefront javascript script's name. */
|
|
2162
|
+
name: Scalars['String'];
|
|
2163
|
+
/** The storefront javascript script's content. */
|
|
2164
|
+
scriptContent: Scalars['String'];
|
|
2165
|
+
/** The store app's id. */
|
|
2166
|
+
storeAppId?: Maybe<Scalars['String']>;
|
|
2167
|
+
/** The storefront's id. */
|
|
2168
|
+
storefrontId: Scalars['String'];
|
|
2169
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2170
|
+
};
|
|
2171
|
+
export declare type StorefrontJSScriptInput = {
|
|
2172
|
+
name: Scalars['String'];
|
|
2173
|
+
scriptContent: Scalars['String'];
|
|
2174
|
+
storefrontId: Scalars['String'];
|
|
2175
|
+
};
|
|
2176
|
+
export declare type StringFilterInput = {
|
|
2177
|
+
/** ```equal```. The filter used for equality. */
|
|
2178
|
+
eq?: InputMaybe<Scalars['String']>;
|
|
2179
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2180
|
+
in?: InputMaybe<Array<Scalars['String']>>;
|
|
2181
|
+
/** It allows using regex code in queries.The following example matches all documents where the name field is like "%AAA":example usage: ````merchantId: { like: AAA }```` */
|
|
2182
|
+
like?: InputMaybe<Scalars['String']>;
|
|
2183
|
+
};
|
|
2184
|
+
export declare enum SubscriptionCodeEnum {
|
|
2185
|
+
CUSTOM = "CUSTOM",
|
|
2186
|
+
EXTENSION = "EXTENSION",
|
|
2187
|
+
FREEMIUM = "FREEMIUM",
|
|
2188
|
+
GROW = "GROW",
|
|
2189
|
+
SCALE = "SCALE",
|
|
2190
|
+
START = "START"
|
|
2191
|
+
}
|
|
2192
|
+
export declare enum SubscriptionPeriodEnum {
|
|
2193
|
+
MONTHLY = "MONTHLY",
|
|
2194
|
+
ONE_TIME = "ONE_TIME",
|
|
2195
|
+
YEARLY = "YEARLY"
|
|
2196
|
+
}
|
|
2197
|
+
export declare enum SubscriptionPriceCurrencyEnum {
|
|
2198
|
+
EUR = "EUR",
|
|
2199
|
+
TRY = "TRY",
|
|
2200
|
+
USD = "USD"
|
|
2201
|
+
}
|
|
2202
|
+
export declare type TimelineInput = {
|
|
2203
|
+
message: Scalars['String'];
|
|
2204
|
+
sourceId: Scalars['String'];
|
|
2205
|
+
sourceType: SourceTypeEnum;
|
|
2206
|
+
};
|
|
2207
|
+
export declare type Town = {
|
|
2208
|
+
__typename?: 'Town';
|
|
2209
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2210
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2211
|
+
/** ID indicating which district the town belongs to. */
|
|
2212
|
+
districtId: Scalars['String'];
|
|
2213
|
+
id: Scalars['ID'];
|
|
2214
|
+
/** Town's name. */
|
|
2215
|
+
name: Scalars['String'];
|
|
2216
|
+
/** Specifies the order of towns. */
|
|
2217
|
+
order?: Maybe<Scalars['Float']>;
|
|
2218
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2219
|
+
};
|
|
2220
|
+
export declare type TrackingInfo = {
|
|
2221
|
+
__typename?: 'TrackingInfo';
|
|
2222
|
+
barcode?: Maybe<Scalars['String']>;
|
|
2223
|
+
cargoCompany?: Maybe<Scalars['String']>;
|
|
2224
|
+
isSendNotification?: Maybe<Scalars['Boolean']>;
|
|
2225
|
+
trackingLink?: Maybe<Scalars['String']>;
|
|
2226
|
+
trackingNumber?: Maybe<Scalars['String']>;
|
|
2227
|
+
};
|
|
2228
|
+
export declare type TrackingInfoDetailInput = {
|
|
2229
|
+
barcode?: InputMaybe<Scalars['String']>;
|
|
2230
|
+
cargoCompany?: InputMaybe<Scalars['String']>;
|
|
2231
|
+
isSendNotification?: InputMaybe<Scalars['Boolean']>;
|
|
2232
|
+
trackingLink?: InputMaybe<Scalars['String']>;
|
|
2233
|
+
trackingNumber?: InputMaybe<Scalars['String']>;
|
|
2234
|
+
};
|
|
2235
|
+
export declare type UpdateOrderAddressesInput = {
|
|
2236
|
+
billingAddress?: InputMaybe<OrderAddressInput>;
|
|
2237
|
+
orderId: Scalars['String'];
|
|
2238
|
+
shippingAddress?: InputMaybe<OrderAddressInput>;
|
|
2239
|
+
};
|
|
2240
|
+
export declare type UpdateOrderInput = {
|
|
2241
|
+
editReason: Scalars['String'];
|
|
2242
|
+
orderId: Scalars['String'];
|
|
2243
|
+
orderLineItems: Array<OrderLineItemInput>;
|
|
2244
|
+
restockItems?: InputMaybe<Scalars['Boolean']>;
|
|
2245
|
+
};
|
|
2246
|
+
export declare type UpdateOrderPackageStatusInput = {
|
|
2247
|
+
orderId: Scalars['String'];
|
|
2248
|
+
packages: Array<UpdateOrderPackageStatusPackagesInput>;
|
|
2249
|
+
};
|
|
2250
|
+
export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
2251
|
+
errorMessage?: InputMaybe<Scalars['String']>;
|
|
2252
|
+
packageId: Scalars['String'];
|
|
2253
|
+
status: OrderPackageFulfillStatusEnum;
|
|
2254
|
+
trackingInfo?: InputMaybe<TrackingInfoDetailInput>;
|
|
2255
|
+
};
|
|
2256
|
+
export declare type UpdateProductSalesChannelStatusInput = {
|
|
2257
|
+
active: Scalars['Boolean'];
|
|
2258
|
+
productId: Scalars['String'];
|
|
2259
|
+
};
|
|
2260
|
+
export declare type Variant = {
|
|
2261
|
+
__typename?: 'Variant';
|
|
2262
|
+
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
2263
|
+
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
2264
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2265
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2266
|
+
id: Scalars['ID'];
|
|
2267
|
+
images?: Maybe<Array<ProductImage>>;
|
|
2268
|
+
isActive?: Maybe<Scalars['Boolean']>;
|
|
2269
|
+
prices: Array<ProductPrice>;
|
|
2270
|
+
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
2271
|
+
sku?: Maybe<Scalars['String']>;
|
|
2272
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2273
|
+
variantValueIds?: Maybe<Array<VariantValueRelation>>;
|
|
2274
|
+
weight?: Maybe<Scalars['Float']>;
|
|
2275
|
+
};
|
|
2276
|
+
export declare type VariantInput = {
|
|
2277
|
+
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
2278
|
+
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
2279
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2280
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2281
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
2282
|
+
images?: InputMaybe<Array<ProductImageInput>>;
|
|
2283
|
+
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
2284
|
+
prices: Array<ProductPriceInput>;
|
|
2285
|
+
sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
|
|
2286
|
+
sku?: InputMaybe<Scalars['String']>;
|
|
2287
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2288
|
+
variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
|
|
2289
|
+
weight?: InputMaybe<Scalars['Float']>;
|
|
2290
|
+
};
|
|
2291
|
+
/** Variant Selection Types */
|
|
2292
|
+
export declare enum VariantSelectionTypeEnum {
|
|
2293
|
+
CHOICE = "CHOICE",
|
|
2294
|
+
COLOR = "COLOR"
|
|
2295
|
+
}
|
|
2296
|
+
export declare type VariantType = {
|
|
2297
|
+
__typename?: 'VariantType';
|
|
2298
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2299
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2300
|
+
id: Scalars['ID'];
|
|
2301
|
+
name: Scalars['String'];
|
|
2302
|
+
selectionType: VariantSelectionTypeEnum;
|
|
2303
|
+
translations?: Maybe<Array<VariantTypeTranslation>>;
|
|
2304
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2305
|
+
values: Array<VariantValue>;
|
|
2306
|
+
};
|
|
2307
|
+
export declare type VariantTypeInput = {
|
|
2308
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2309
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2310
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
2311
|
+
name: Scalars['String'];
|
|
2312
|
+
selectionType: VariantSelectionTypeEnum;
|
|
2313
|
+
translations?: InputMaybe<Array<VariantTypeTranslationInput>>;
|
|
2314
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2315
|
+
values: Array<VariantValueInput>;
|
|
2316
|
+
};
|
|
2317
|
+
export declare type VariantTypeTranslation = {
|
|
2318
|
+
__typename?: 'VariantTypeTranslation';
|
|
2319
|
+
locale: Scalars['String'];
|
|
2320
|
+
name?: Maybe<Scalars['String']>;
|
|
2321
|
+
values?: Maybe<Array<VariantValueTranslation>>;
|
|
2322
|
+
};
|
|
2323
|
+
export declare type VariantTypeTranslationInput = {
|
|
2324
|
+
locale: Scalars['String'];
|
|
2325
|
+
name?: InputMaybe<Scalars['String']>;
|
|
2326
|
+
values?: InputMaybe<Array<VariantValueTranslationInput>>;
|
|
2327
|
+
};
|
|
2328
|
+
export declare type VariantValue = {
|
|
2329
|
+
__typename?: 'VariantValue';
|
|
2330
|
+
colorCode?: Maybe<Scalars['String']>;
|
|
2331
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2332
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2333
|
+
id: Scalars['ID'];
|
|
2334
|
+
name: Scalars['String'];
|
|
2335
|
+
thumbnailImageId?: Maybe<Scalars['String']>;
|
|
2336
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2337
|
+
};
|
|
2338
|
+
export declare type VariantValueInput = {
|
|
2339
|
+
colorCode?: InputMaybe<Scalars['String']>;
|
|
2340
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2341
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2342
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
2343
|
+
name: Scalars['String'];
|
|
2344
|
+
thumbnailImageId?: InputMaybe<Scalars['String']>;
|
|
2345
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2346
|
+
};
|
|
2347
|
+
export declare type VariantValueRelation = {
|
|
2348
|
+
__typename?: 'VariantValueRelation';
|
|
2349
|
+
variantTypeId: Scalars['String'];
|
|
2350
|
+
variantValueId: Scalars['String'];
|
|
2351
|
+
};
|
|
2352
|
+
export declare type VariantValueRelationInput = {
|
|
2353
|
+
variantTypeId: Scalars['String'];
|
|
2354
|
+
variantValueId: Scalars['String'];
|
|
2355
|
+
};
|
|
2356
|
+
export declare type VariantValueTranslation = {
|
|
2357
|
+
__typename?: 'VariantValueTranslation';
|
|
2358
|
+
id: Scalars['String'];
|
|
2359
|
+
name?: Maybe<Scalars['String']>;
|
|
2360
|
+
};
|
|
2361
|
+
export declare type VariantValueTranslationInput = {
|
|
2362
|
+
id: Scalars['String'];
|
|
2363
|
+
name?: InputMaybe<Scalars['String']>;
|
|
2364
|
+
};
|
|
2365
|
+
/** **Webhook** model description. */
|
|
2366
|
+
export declare type Webhook = {
|
|
2367
|
+
__typename?: 'Webhook';
|
|
2368
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2369
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2370
|
+
/** URL address that webhooks will be pushed. */
|
|
2371
|
+
endpoint: Scalars['String'];
|
|
2372
|
+
id: Scalars['ID'];
|
|
2373
|
+
/** Scope of webhook that defines content of webhook. */
|
|
2374
|
+
scope: Scalars['String'];
|
|
2375
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2376
|
+
};
|
|
2377
|
+
export declare type WebhookInput = {
|
|
2378
|
+
/** `endpoint` must be a valid `URL` address. */
|
|
2379
|
+
endpoint: Scalars['String'];
|
|
2380
|
+
/** You can filter webhooks by using specific **SalesChannel** id. Please check `listSalesChannel` query to retrieve active sales channel ids. */
|
|
2381
|
+
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
2382
|
+
/** Valid scopes are `store/order/created` `store/order/updated` `store/product/created` `store/product/updated` `store/customer/created` `store/customer/updated` `store/customerFavoriteProducts/created` `store/customerFavoriteProducts/updated` `store/stock/created` `store/stock/updated`. */
|
|
2383
|
+
scopes: Array<Scalars['String']>;
|
|
2384
|
+
};
|