@ikas/api-client 0.0.1-canary.7 → 1.0.0
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/api/admin/admin-client.d.ts +2 -0
- package/dist/api/admin/admin-client.js +2 -0
- package/dist/api/admin/admin-client.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +631 -7
- package/dist/api/admin/generated/index.js.map +1 -1
- 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/oauth/index.d.ts +2 -1
- package/dist/api/oauth/index.js +11 -0
- package/dist/api/oauth/index.js.map +1 -1
- package/dist/api/oauth/models.d.ts +5 -0
- package/dist/globals/constants.d.ts +9 -0
- package/dist/globals/constants.js +11 -1
- package/dist/globals/constants.js.map +1 -1
- package/dist/helpers/webhook-validate.d.ts +4 -1
- package/dist/helpers/webhook-validate.js +22 -9
- package/dist/helpers/webhook-validate.js.map +1 -1
- package/dist/models/webhook/models.d.ts +1 -0
- package/package.json +6 -5
- package/Jenkinsfile +0 -92
- package/codegen/admin.yml +0 -9
- package/src/api/admin/admin-client.ts +0 -15
- package/src/api/admin/common-gql.ts +0 -425
- package/src/api/admin/generated/index.ts +0 -2708
- package/src/api/admin/index.ts +0 -4
- package/src/api/admin/mutation-gql.ts +0 -255
- package/src/api/admin/mutation.ts +0 -195
- package/src/api/admin/query-gql.ts +0 -521
- package/src/api/admin/query.ts +0 -144
- package/src/api/base.ts +0 -134
- package/src/api/index.ts +0 -2
- package/src/api/oauth/index.ts +0 -47
- package/src/api/oauth/models.ts +0 -37
- package/src/globals/constants.ts +0 -19
- package/src/globals/index.ts +0 -1
- package/src/helpers/index.ts +0 -1
- package/src/helpers/webhook-validate.ts +0 -17
- package/src/index.ts +0 -34
- package/src/models/base.ts +0 -7
- package/src/models/index.ts +0 -1
- package/src/models/webhook/index.ts +0 -1
- package/src/models/webhook/models.ts +0 -90
- package/tsconfig.json +0 -25
|
@@ -24,11 +24,20 @@ export declare type Scalars = {
|
|
|
24
24
|
Timestamp: any;
|
|
25
25
|
};
|
|
26
26
|
export declare type AddOrderInvoiceInput = {
|
|
27
|
+
/** It is the app id for which the invoice is issued. */
|
|
27
28
|
appId: Scalars['String'];
|
|
29
|
+
/** It is the content of invoice. Is the entered value must be in base64 format. */
|
|
28
30
|
base64: Scalars['String'];
|
|
31
|
+
/** It is the number of the order invoice. */
|
|
29
32
|
invoiceNumber: Scalars['String'];
|
|
33
|
+
/**
|
|
34
|
+
* It is the order id for which the invoice is issued.
|
|
35
|
+
* * Is the entered id must be exist in ikas.
|
|
36
|
+
*/
|
|
30
37
|
orderId: Scalars['String'];
|
|
38
|
+
/** If the customer is to be informed after the invoice information is saved, this field can be sent as "true". */
|
|
31
39
|
sendNotificationToCustomer: Scalars['Boolean'];
|
|
40
|
+
/** It is the type enum of the invoice. */
|
|
32
41
|
type: InvoiceTypeEnum;
|
|
33
42
|
};
|
|
34
43
|
/** OrderAdjustment Enum */
|
|
@@ -65,7 +74,6 @@ export declare type AuthorizedApp = {
|
|
|
65
74
|
partnerId: Scalars['String'];
|
|
66
75
|
/** The id of the sales channel owned by the merchant. */
|
|
67
76
|
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
77
|
scope: Scalars['String'];
|
|
70
78
|
/** The application's id in the store. */
|
|
71
79
|
storeAppId: Scalars['String'];
|
|
@@ -74,90 +82,148 @@ export declare type AuthorizedApp = {
|
|
|
74
82
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
75
83
|
};
|
|
76
84
|
export declare type BulkUpdateProductBrandInput = {
|
|
85
|
+
/** Description of the brand. */
|
|
77
86
|
description?: InputMaybe<Scalars['String']>;
|
|
87
|
+
/** Image id of brand. */
|
|
78
88
|
imageId?: InputMaybe<Scalars['String']>;
|
|
89
|
+
/** Name of the brand. */
|
|
79
90
|
name: Scalars['String'];
|
|
80
91
|
};
|
|
81
92
|
export declare type BulkUpdateProductCategoryInput = {
|
|
93
|
+
/** Name of the category. */
|
|
82
94
|
name: Array<Scalars['String']>;
|
|
83
95
|
};
|
|
84
96
|
export declare type BulkUpdateProductHTMLMetaDataInput = {
|
|
97
|
+
/** Description of the product in HTML metadata. */
|
|
85
98
|
description?: InputMaybe<Scalars['String']>;
|
|
86
|
-
id
|
|
99
|
+
id: Scalars['String'];
|
|
100
|
+
/** Metadata overrides for the product */
|
|
87
101
|
metadataOverrides?: InputMaybe<Array<BulkUpdateProductHTMLMetaDataOverrideInput>>;
|
|
102
|
+
/** Page title for the product */
|
|
88
103
|
pageTitle?: InputMaybe<Scalars['String']>;
|
|
104
|
+
/** Redirect URL for the product. */
|
|
89
105
|
redirectTo?: InputMaybe<Scalars['String']>;
|
|
106
|
+
/** Slug of the product */
|
|
90
107
|
slug: Scalars['String'];
|
|
108
|
+
/** Target of HTML metadata. */
|
|
91
109
|
target?: InputMaybe<Scalars['String']>;
|
|
110
|
+
/** Target type for HTML metadata. */
|
|
92
111
|
targetType?: InputMaybe<Scalars['String']>;
|
|
93
112
|
};
|
|
94
113
|
export declare type BulkUpdateProductHTMLMetaDataOverrideInput = {
|
|
114
|
+
/** Description of the product in HTML metadata. */
|
|
95
115
|
description: Scalars['String'];
|
|
116
|
+
/** Language metadata for the product. */
|
|
96
117
|
language?: InputMaybe<Scalars['String']>;
|
|
118
|
+
/** Page title for the product */
|
|
97
119
|
pageTitle: Scalars['String'];
|
|
98
120
|
};
|
|
99
121
|
export declare type BulkUpdateProductImageInput = {
|
|
122
|
+
/** URL of the image */
|
|
100
123
|
imageUrl: Scalars['String'];
|
|
124
|
+
/** Whether the image is main image for the product or not. */
|
|
101
125
|
isMain: Scalars['Boolean'];
|
|
126
|
+
/** Order of the product image. */
|
|
102
127
|
order: Scalars['Float'];
|
|
103
128
|
};
|
|
104
129
|
export declare type BulkUpdateProductPriceInput = {
|
|
130
|
+
/** Buy price of product. */
|
|
105
131
|
buyPrice?: InputMaybe<Scalars['Float']>;
|
|
132
|
+
/** Currency code for the price of product. */
|
|
106
133
|
currencyCode?: InputMaybe<Scalars['String']>;
|
|
134
|
+
/** Discount price of product. */
|
|
107
135
|
discountPrice?: InputMaybe<Scalars['Float']>;
|
|
136
|
+
/** Id of the price list that the product belongs to. */
|
|
108
137
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
138
|
+
/** Sell price of product. */
|
|
109
139
|
sellPrice: Scalars['Float'];
|
|
110
140
|
};
|
|
111
141
|
export declare type BulkUpdateProductStockInput = {
|
|
142
|
+
/** Number of available items in the stock location. */
|
|
112
143
|
stockCount: Scalars['Float'];
|
|
144
|
+
/** Id of the stock location. */
|
|
113
145
|
stockLocationId: Scalars['String'];
|
|
114
146
|
};
|
|
115
147
|
export declare type BulkUpdateProductTagInput = {
|
|
148
|
+
/** Name of the product tag. */
|
|
116
149
|
name: Scalars['String'];
|
|
117
150
|
};
|
|
118
151
|
export declare type BulkUpdateProductVariantInput = {
|
|
152
|
+
/** List of barcode for the variant. */
|
|
119
153
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
154
|
+
/** Whether the variant is deleted or not */
|
|
120
155
|
deleted: Scalars['Boolean'];
|
|
121
|
-
id
|
|
156
|
+
id: Scalars['String'];
|
|
157
|
+
/** List of images for variant. */
|
|
122
158
|
images?: InputMaybe<Array<BulkUpdateProductImageInput>>;
|
|
159
|
+
/** Whether the variant is active or not. */
|
|
123
160
|
isActive: Scalars['Boolean'];
|
|
161
|
+
/** List of prices for the variant. */
|
|
124
162
|
prices: Array<BulkUpdateProductPriceInput>;
|
|
163
|
+
/** SKU of the variant. */
|
|
125
164
|
sku?: InputMaybe<Scalars['String']>;
|
|
165
|
+
/** Source id for variant. */
|
|
126
166
|
sourceId?: InputMaybe<Scalars['String']>;
|
|
167
|
+
/** List of stocks for the variant. */
|
|
127
168
|
stocks?: InputMaybe<Array<BulkUpdateProductStockInput>>;
|
|
169
|
+
/** List of variant values. */
|
|
128
170
|
variantValues: Array<BulkUpdateProductVariationValueRelationInput>;
|
|
171
|
+
/** Weight of the variant. */
|
|
129
172
|
weight?: InputMaybe<Scalars['Float']>;
|
|
130
173
|
};
|
|
131
174
|
export declare type BulkUpdateProductVariantTypeImportInput = {
|
|
175
|
+
/** Order of the variant type. */
|
|
132
176
|
order: Scalars['Float'];
|
|
177
|
+
/** Name of variant type. */
|
|
133
178
|
variantTypeName?: InputMaybe<Scalars['String']>;
|
|
179
|
+
/** List of variant values. */
|
|
134
180
|
variantValues: Array<BulkUpdateProductVariantValueImportInput>;
|
|
135
181
|
};
|
|
136
182
|
export declare type BulkUpdateProductVariantValueImportInput = {
|
|
183
|
+
/** Hex color code for the variant value. */
|
|
137
184
|
colorCode?: InputMaybe<Scalars['String']>;
|
|
185
|
+
/** Name of the variant value. */
|
|
138
186
|
name: Scalars['String'];
|
|
187
|
+
/** Source id for variant value. */
|
|
139
188
|
sourceId?: InputMaybe<Scalars['String']>;
|
|
189
|
+
/** Thumbnail image url for the variant value. */
|
|
140
190
|
thumbnailImageUrl?: InputMaybe<Scalars['String']>;
|
|
141
191
|
};
|
|
142
192
|
export declare type BulkUpdateProductVariationValueRelationInput = {
|
|
193
|
+
/** Name of variant type. */
|
|
143
194
|
variantTypeName: Scalars['String'];
|
|
195
|
+
/** Name of the variant value. */
|
|
144
196
|
variantValueName: Scalars['String'];
|
|
145
197
|
};
|
|
146
198
|
export declare type BulkUpdateProductsInput = {
|
|
199
|
+
/** Brand of the product. */
|
|
147
200
|
brand?: InputMaybe<BulkUpdateProductBrandInput>;
|
|
201
|
+
/** List of categories of the product. */
|
|
148
202
|
categories: Array<BulkUpdateProductCategoryInput>;
|
|
203
|
+
/** Whether the product is deleted or not */
|
|
149
204
|
deleted: Scalars['Boolean'];
|
|
205
|
+
/** Description of the product. */
|
|
150
206
|
description?: InputMaybe<Scalars['String']>;
|
|
151
|
-
id
|
|
207
|
+
id: Scalars['String'];
|
|
208
|
+
/** HTML Metadata identifier of the product. */
|
|
152
209
|
metaData?: InputMaybe<BulkUpdateProductHTMLMetaDataInput>;
|
|
210
|
+
/** Name of the product */
|
|
153
211
|
name: Scalars['String'];
|
|
212
|
+
/** Variant types of the product. */
|
|
154
213
|
productVariantTypes: Array<BulkUpdateProductVariantTypeImportInput>;
|
|
214
|
+
/** Short description of the product. */
|
|
155
215
|
shortDescription?: InputMaybe<Scalars['String']>;
|
|
216
|
+
/** Source id for bulk update. */
|
|
156
217
|
sourceId?: InputMaybe<Scalars['String']>;
|
|
218
|
+
/** List of product tags. */
|
|
157
219
|
tags?: InputMaybe<Array<BulkUpdateProductTagInput>>;
|
|
220
|
+
/** Type of the product. */
|
|
158
221
|
type: ProductTypeEnum;
|
|
222
|
+
/** List of product variants. */
|
|
159
223
|
variants: Array<BulkUpdateProductVariantInput>;
|
|
224
|
+
/** Vendor of the product. */
|
|
160
225
|
vendor?: InputMaybe<Scalars['String']>;
|
|
226
|
+
/** Weight of the product. */
|
|
161
227
|
weight?: InputMaybe<Scalars['String']>;
|
|
162
228
|
};
|
|
163
229
|
export declare type CancelFulfillmentInput = {
|
|
@@ -173,20 +239,28 @@ export declare enum CancelledReasonEnum {
|
|
|
173
239
|
}
|
|
174
240
|
export declare type Category = {
|
|
175
241
|
__typename?: 'Category';
|
|
242
|
+
/** It is the id list information where the ids of all the superclasses of the category are found. */
|
|
176
243
|
categoryPath?: Maybe<Array<Scalars['String']>>;
|
|
177
244
|
conditions?: Maybe<Array<CategoryCondition>>;
|
|
178
245
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
179
246
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
247
|
+
/** It is the description of the category of the product. */
|
|
180
248
|
description?: Maybe<Scalars['String']>;
|
|
181
249
|
id: Scalars['ID'];
|
|
250
|
+
/** It is the id where the picture of the category is kept in the system. */
|
|
182
251
|
imageId?: Maybe<Scalars['String']>;
|
|
183
252
|
isAutomated?: Maybe<Scalars['Boolean']>;
|
|
253
|
+
/** It is the metadata information of the product category. */
|
|
184
254
|
metaData?: Maybe<HTMLMetaData>;
|
|
255
|
+
/** It is the name of the category in which the product is located. */
|
|
185
256
|
name: Scalars['String'];
|
|
186
257
|
orderType?: Maybe<CategoryProductsOrderTypeEnum>;
|
|
258
|
+
/** It is the id of the superclass category of the category. */
|
|
187
259
|
parentId?: Maybe<Scalars['String']>;
|
|
260
|
+
/** It is the information of which sales channel the product category is in. */
|
|
188
261
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
189
262
|
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
263
|
+
/** It is the translation information of the product category. */
|
|
190
264
|
translations?: Maybe<Array<CategoryTranslation>>;
|
|
191
265
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
192
266
|
};
|
|
@@ -210,16 +284,23 @@ export declare type CategoryInput = {
|
|
|
210
284
|
conditions?: InputMaybe<Array<CategoryConditionInput>>;
|
|
211
285
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
212
286
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
287
|
+
/** It is the description of the category of the product. */
|
|
213
288
|
description?: InputMaybe<Scalars['String']>;
|
|
214
289
|
id?: InputMaybe<Scalars['ID']>;
|
|
290
|
+
/** It is the id where the picture of the category is kept in the system. */
|
|
215
291
|
imageId?: InputMaybe<Scalars['String']>;
|
|
216
292
|
isAutomated?: InputMaybe<Scalars['Boolean']>;
|
|
293
|
+
/** It is the metadata information of the product category. */
|
|
217
294
|
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
295
|
+
/** It is the name of the category in which the product is located. */
|
|
218
296
|
name: Scalars['String'];
|
|
219
297
|
orderType?: InputMaybe<CategoryProductsOrderTypeEnum>;
|
|
298
|
+
/** It is the id of the superclass category of the category. */
|
|
220
299
|
parentId?: InputMaybe<Scalars['String']>;
|
|
300
|
+
/** It is the information of which sales channel the product category is in. */
|
|
221
301
|
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
222
302
|
shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
|
|
303
|
+
/** It is the translation information of the product category. */
|
|
223
304
|
translations?: InputMaybe<Array<CategoryTranslationInput>>;
|
|
224
305
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
225
306
|
};
|
|
@@ -239,13 +320,19 @@ export declare enum CategoryProductsOrderTypeEnum {
|
|
|
239
320
|
}
|
|
240
321
|
export declare type CategoryTranslation = {
|
|
241
322
|
__typename?: 'CategoryTranslation';
|
|
323
|
+
/** It is the description information of the translation. */
|
|
242
324
|
description?: Maybe<Scalars['String']>;
|
|
325
|
+
/** It is the name information of the translation. */
|
|
243
326
|
locale: Scalars['String'];
|
|
327
|
+
/** It is the information in which language the translation is saved. */
|
|
244
328
|
name?: Maybe<Scalars['String']>;
|
|
245
329
|
};
|
|
246
330
|
export declare type CategoryTranslationInput = {
|
|
331
|
+
/** It is the description information of the translation. */
|
|
247
332
|
description?: InputMaybe<Scalars['String']>;
|
|
333
|
+
/** It is the name information of the translation. */
|
|
248
334
|
locale: Scalars['String'];
|
|
335
|
+
/** It is the information in which language the translation is saved. */
|
|
249
336
|
name?: InputMaybe<Scalars['String']>;
|
|
250
337
|
};
|
|
251
338
|
export declare type City = {
|
|
@@ -301,29 +388,59 @@ export declare type Country = {
|
|
|
301
388
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
302
389
|
};
|
|
303
390
|
export declare type CreateOrderInput = {
|
|
391
|
+
/** It is the address to which the order will be billing. */
|
|
304
392
|
billingAddress?: InputMaybe<OrderAddressInput>;
|
|
393
|
+
/** It is the branch session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
|
|
305
394
|
branchSessionId?: InputMaybe<Scalars['String']>;
|
|
306
395
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
396
|
+
/** It is the currency code of the order. */
|
|
307
397
|
currencyCode?: InputMaybe<Scalars['String']>;
|
|
398
|
+
/** It is the customer information in the order. */
|
|
308
399
|
customer?: InputMaybe<OrderCustomerInput>;
|
|
309
400
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
310
401
|
id?: InputMaybe<Scalars['ID']>;
|
|
402
|
+
/** It is an order note. */
|
|
311
403
|
note?: InputMaybe<Scalars['String']>;
|
|
404
|
+
/** A list of adjustment objects, each containing information about a adjustment in the order. */
|
|
312
405
|
orderAdjustments?: InputMaybe<Array<OrderAdjustmentInput>>;
|
|
406
|
+
/** A list of line item objects, each containing information about an item in the order. */
|
|
313
407
|
orderLineItems: Array<OrderLineItemInput>;
|
|
408
|
+
/**
|
|
409
|
+
* It is the id list of the tags in the order.
|
|
410
|
+
* * Is the entered tag id list must be exist in ikas.
|
|
411
|
+
*/
|
|
314
412
|
orderTagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
413
|
+
/** The date the order was ordered. */
|
|
315
414
|
orderedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
415
|
+
/**
|
|
416
|
+
* It is the id of the price list that includes the prices of the products in the order.
|
|
417
|
+
* * Is the entered id must be exist in ikas.
|
|
418
|
+
*/
|
|
316
419
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
420
|
+
/**
|
|
421
|
+
* It is the sales channel id where the order was created.
|
|
422
|
+
* * Is the entered id must be exist in ikas.
|
|
423
|
+
*/
|
|
317
424
|
salesChannelId?: InputMaybe<Scalars['String']>;
|
|
425
|
+
/** It is the address to which the order will be shipping. */
|
|
318
426
|
shippingAddress?: InputMaybe<OrderAddressInput>;
|
|
427
|
+
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
319
428
|
shippingLines?: InputMaybe<Array<OrderShippingLineInput>>;
|
|
429
|
+
/** It is the shipping method enum of the order */
|
|
320
430
|
shippingMethod?: InputMaybe<ShippingMethodEnum>;
|
|
431
|
+
/** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
|
|
321
432
|
terminalId?: InputMaybe<Scalars['String']>;
|
|
322
433
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
323
434
|
};
|
|
324
435
|
export declare type CreateOrderWithTransactionsInput = {
|
|
436
|
+
/** If there is no customer connected to the e-mail in the order and it is not desired to create a new customer with this e-mail, it can be sent as ```true```. */
|
|
325
437
|
disableAutoCreateCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
438
|
+
/** Contains the order information to be created. */
|
|
326
439
|
order: CreateOrderInput;
|
|
440
|
+
/**
|
|
441
|
+
* A list of transaction objects.
|
|
442
|
+
* * The list must contain at least one transaction.
|
|
443
|
+
*/
|
|
327
444
|
transactions: Array<OrderTransactionInput>;
|
|
328
445
|
};
|
|
329
446
|
export declare type Customer = {
|
|
@@ -519,14 +636,18 @@ export declare type HTMLMetaData = {
|
|
|
519
636
|
__typename?: 'HTMLMetaData';
|
|
520
637
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
521
638
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
639
|
+
/** The description of the metadata. */
|
|
522
640
|
description?: Maybe<Scalars['String']>;
|
|
523
641
|
id: Scalars['ID'];
|
|
524
642
|
metadataOverrides?: Maybe<Array<HTMLMetaDataOverride>>;
|
|
643
|
+
/** The page title of the metadata. */
|
|
525
644
|
pageTitle?: Maybe<Scalars['String']>;
|
|
526
645
|
redirectTo?: Maybe<Scalars['String']>;
|
|
646
|
+
/** The token of the metadata. It is saved as completely unique. */
|
|
527
647
|
slug: Scalars['String'];
|
|
528
648
|
targetId?: Maybe<Scalars['String']>;
|
|
529
649
|
targetType?: Maybe<HTMLMetaDataTargetTypeEnum>;
|
|
650
|
+
/** The translations information of the metadata. */
|
|
530
651
|
translations?: Maybe<Array<HTMLMetaDataTranslation>>;
|
|
531
652
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
532
653
|
};
|
|
@@ -578,12 +699,19 @@ export declare type HTMLMetaDataTranslationInput = {
|
|
|
578
699
|
};
|
|
579
700
|
export declare type Invoice = {
|
|
580
701
|
__typename?: 'Invoice';
|
|
702
|
+
/** It is the id of the order invoice. */
|
|
581
703
|
appId: Scalars['String'];
|
|
704
|
+
/** It is the id of the order invoice. */
|
|
582
705
|
appName: Scalars['String'];
|
|
706
|
+
/** It is the id of the order invoice. */
|
|
583
707
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
708
|
+
/** It is the id of the order invoice. */
|
|
584
709
|
id: Scalars['String'];
|
|
710
|
+
/** It is the id of the order invoice. */
|
|
585
711
|
invoiceNumber: Scalars['String'];
|
|
712
|
+
/** It is the id of the order invoice. */
|
|
586
713
|
storeAppId: Scalars['String'];
|
|
714
|
+
/** It is the type enum of the invoice. */
|
|
587
715
|
type: InvoiceTypeEnum;
|
|
588
716
|
};
|
|
589
717
|
/** Invoice Type Enum */
|
|
@@ -608,8 +736,8 @@ export declare type MeResponse = {
|
|
|
608
736
|
partnerId?: Maybe<Scalars['String']>;
|
|
609
737
|
/** The id of the sales channel owned by the merchant. */
|
|
610
738
|
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
739
|
scope?: Maybe<Scalars['String']>;
|
|
740
|
+
/** It keeps the information of the operations that this application can access and perform.For more information please review [Scopes section](/docs/getting-started/api-overview#api-scopes). */
|
|
613
741
|
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
614
742
|
/** The application's id in the store. */
|
|
615
743
|
storeAppId?: Maybe<Scalars['String']>;
|
|
@@ -675,23 +803,33 @@ export declare type MerchantAddressState = {
|
|
|
675
803
|
};
|
|
676
804
|
export declare type MerchantAppPayment = {
|
|
677
805
|
__typename?: 'MerchantAppPayment';
|
|
806
|
+
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
678
807
|
appPaymentKey: Scalars['String'];
|
|
808
|
+
/** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
|
|
679
809
|
authorizedAppId?: Maybe<Scalars['String']>;
|
|
680
810
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
681
811
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
682
812
|
id: Scalars['ID'];
|
|
813
|
+
/** The url where the Merchant will be redirected to the payment screen. On this page, the payment process is performed by obtaining the card information. */
|
|
683
814
|
merchantPaymentUrl: Scalars['String'];
|
|
815
|
+
/** The created merchant app keeps the name of the payment. */
|
|
684
816
|
name: Scalars['String'];
|
|
817
|
+
/** The merchant app keeps the date of completion of the payment. In other words, it keeps the information of the date the payment was received. */
|
|
685
818
|
paymentDate?: Maybe<Scalars['Timestamp']>;
|
|
819
|
+
/** Merchant app payment pricing description. */
|
|
686
820
|
prices: Array<MerchantAppPaymentPrice>;
|
|
687
821
|
status: MerchantAppPaymentStatusEnum;
|
|
822
|
+
/** The id of the application for which payment will be created in the store */
|
|
688
823
|
storeAppId: Scalars['String'];
|
|
689
824
|
type: MerchantAppPaymentTypeEnum;
|
|
690
825
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
691
826
|
};
|
|
692
827
|
export declare type MerchantAppPaymentInput = {
|
|
828
|
+
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
693
829
|
appPaymentKey: Scalars['String'];
|
|
830
|
+
/** The created merchant app keeps the name of the payment. */
|
|
694
831
|
name: Scalars['String'];
|
|
832
|
+
/** Merchant app payment pricing description. */
|
|
695
833
|
prices: Array<MerchantAppPaymentPriceInput>;
|
|
696
834
|
type: MerchantAppPaymentTypeEnum;
|
|
697
835
|
};
|
|
@@ -710,10 +848,12 @@ export declare type MerchantAppPaymentPaginationResponse = {
|
|
|
710
848
|
export declare type MerchantAppPaymentPrice = {
|
|
711
849
|
__typename?: 'MerchantAppPaymentPrice';
|
|
712
850
|
period: SubscriptionPeriodEnum;
|
|
851
|
+
/** The area where the price information of the product is kept. Here, one-time, monthly or annual payments can be made and the information is kept in this way. */
|
|
713
852
|
price: Scalars['Float'];
|
|
714
853
|
};
|
|
715
854
|
export declare type MerchantAppPaymentPriceInput = {
|
|
716
855
|
period: SubscriptionPeriodEnum;
|
|
856
|
+
/** The area where the price information of the product is kept. Input array can be sent a minimum of one element and a maximum of 2 elements. */
|
|
717
857
|
price: Scalars['Float'];
|
|
718
858
|
};
|
|
719
859
|
export declare enum MerchantAppPaymentStatusEnum {
|
|
@@ -727,42 +867,60 @@ export declare enum MerchantAppPaymentTypeEnum {
|
|
|
727
867
|
}
|
|
728
868
|
export declare type MerchantAppSubscription = {
|
|
729
869
|
__typename?: 'MerchantAppSubscription';
|
|
870
|
+
/** The date the app licence was added. */
|
|
730
871
|
addedDate?: Maybe<Scalars['Timestamp']>;
|
|
872
|
+
/** It is the information of which type of app license is obtained. */
|
|
731
873
|
appPaymentKey: Scalars['String'];
|
|
874
|
+
/** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
|
|
732
875
|
authorizedAppId?: Maybe<Scalars['String']>;
|
|
733
876
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
734
877
|
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
735
878
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
736
879
|
id: Scalars['ID'];
|
|
880
|
+
/** It is the date of receipt of the last payment for the license subscription. */
|
|
737
881
|
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
882
|
+
/** The discount rate on the last payment for the app license subscription. */
|
|
738
883
|
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
739
884
|
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
885
|
+
/** The payment period of the license last payment. The purpose of keeping this information is to adjust the controls according to the last month if the subscription is withdrawn from annual to monthly. */
|
|
740
886
|
lastPaymentPeriodInDays: Scalars['Float'];
|
|
887
|
+
/** It is the last payment information for the app license subscription. */
|
|
741
888
|
lastPaymentPrice: Scalars['Float'];
|
|
889
|
+
/** It is the price information including KDV, for which the last payment is made for the app license subscription. */
|
|
742
890
|
lastPaymentPriceWithTax: Scalars['Float'];
|
|
743
891
|
merchantAppPaymentId: Scalars['String'];
|
|
892
|
+
/** The name of the created application license is the information. */
|
|
744
893
|
name: Scalars['String'];
|
|
745
894
|
status: MerchantSubscriptionStatusEnum;
|
|
895
|
+
/** The id of the application to be licensed in the store */
|
|
746
896
|
storeAppId: Scalars['String'];
|
|
747
897
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
748
898
|
};
|
|
749
899
|
export declare type MerchantLicence = {
|
|
750
900
|
__typename?: 'MerchantLicence';
|
|
751
901
|
activeSubscriptionCode: SubscriptionCodeEnum;
|
|
902
|
+
/** It is the id of the subscription to which the license is connected. */
|
|
752
903
|
activeSubscriptionId: Scalars['String'];
|
|
904
|
+
/** If the license is attached to an app, its properties are kept in this domain. */
|
|
753
905
|
appSubscriptions?: Maybe<Array<MerchantAppSubscription>>;
|
|
754
906
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
907
|
+
/** It is the field where private subscription information is kept. */
|
|
755
908
|
customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
|
|
756
909
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
910
|
+
/** It is the information of the start date of the license. */
|
|
757
911
|
fromDate?: Maybe<Scalars['Timestamp']>;
|
|
758
912
|
id: Scalars['ID'];
|
|
913
|
+
/** It is the information of the last date the license was active. */
|
|
759
914
|
licenceActivationDate?: Maybe<Scalars['Timestamp']>;
|
|
760
915
|
limits: Array<MerchantLimit>;
|
|
761
916
|
period?: Maybe<SubscriptionPeriodEnum>;
|
|
762
917
|
region: MerchantRegionEnum;
|
|
763
918
|
status: MerchantLicenceStatusEnum;
|
|
919
|
+
/** The date the Merchant license status was updated. */
|
|
764
920
|
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
921
|
+
/** It is the subscription properties information of the license. */
|
|
765
922
|
subscriptions: Array<MerchantSubscription>;
|
|
923
|
+
/** It is the information of the expiry date of the license. */
|
|
766
924
|
toDate?: Maybe<Scalars['Timestamp']>;
|
|
767
925
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
768
926
|
};
|
|
@@ -839,16 +997,24 @@ export declare type MerchantSubscription = {
|
|
|
839
997
|
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
840
998
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
841
999
|
id: Scalars['ID'];
|
|
1000
|
+
/** It is the date of receipt of the last payment for the license subscription. */
|
|
842
1001
|
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
1002
|
+
/** The discount rate on the last payment for the license subscription. */
|
|
843
1003
|
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
844
1004
|
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
1005
|
+
/** The payment period of the license last payment. The purpose of keeping this information is to adjust the controls according to the last month if the subscription is withdrawn from annual to monthly. */
|
|
845
1006
|
lastPaymentPeriodInDays: Scalars['Float'];
|
|
1007
|
+
/** It is the last payment information for the license subscription. */
|
|
846
1008
|
lastPaymentPrice: Scalars['Float'];
|
|
1009
|
+
/** It is the price information including KDV, for which the last payment is made for the license subscription. */
|
|
847
1010
|
lastPaymentPriceWithTax: Scalars['Float'];
|
|
848
1011
|
limits: Array<MerchantLimit>;
|
|
1012
|
+
/** It is the subscription name of the license. */
|
|
849
1013
|
name?: Maybe<Scalars['String']>;
|
|
1014
|
+
/** It is the Id information of the sales channel to which the subscription of the license is connected. */
|
|
850
1015
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
851
1016
|
status: MerchantSubscriptionStatusEnum;
|
|
1017
|
+
/** It is the subscription id of the license. */
|
|
852
1018
|
subscriptionId: Scalars['String'];
|
|
853
1019
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
854
1020
|
};
|
|
@@ -860,39 +1026,63 @@ export declare enum MerchantSubscriptionStatusEnum {
|
|
|
860
1026
|
export declare type Mutation = {
|
|
861
1027
|
__typename?: 'Mutation';
|
|
862
1028
|
addCustomTimelineEntry: Scalars['Boolean'];
|
|
1029
|
+
/** Use this mutation to add invoice to order. */
|
|
863
1030
|
addOrderInvoice: Order;
|
|
1031
|
+
/** Response indicating the status of operation. */
|
|
864
1032
|
bulkUpdateProducts: Scalars['Boolean'];
|
|
1033
|
+
/** Use this mutation to cancel the already created package for an order. */
|
|
865
1034
|
cancelFulfillment: Order;
|
|
1035
|
+
/** Using this api, you can add payment features to a merchant app. */
|
|
866
1036
|
createMerchantAppPayment: MerchantAppPayment;
|
|
1037
|
+
/** Use this mutation if you want to create a new order with transactions. */
|
|
867
1038
|
createOrderWithTransactions: Order;
|
|
1039
|
+
/** Using this api, you can delete the categories of products. */
|
|
868
1040
|
deleteCategoryList: Scalars['Boolean'];
|
|
1041
|
+
/** Use this mutation to delete product attributes with specific ids. */
|
|
869
1042
|
deleteProductAttributeList: Scalars['Boolean'];
|
|
1043
|
+
/** Using this api, you can delete the brands of products. */
|
|
870
1044
|
deleteProductBrandList: Scalars['Boolean'];
|
|
1045
|
+
/** Use this mutation to delete products with specific product ids. */
|
|
871
1046
|
deleteProductList: Scalars['Boolean'];
|
|
1047
|
+
/** Using this api, you can delete the tags of products. */
|
|
872
1048
|
deleteProductTagList: Scalars['Boolean'];
|
|
873
1049
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
874
1050
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
1051
|
+
/** Using this api, you can delete the brands of products. */
|
|
875
1052
|
deleteVariantTypeList: Scalars['Boolean'];
|
|
876
1053
|
/** Use this mutation to delete webhooks by giving `scope` list. */
|
|
877
1054
|
deleteWebhook: Scalars['Boolean'];
|
|
1055
|
+
/** Use this mutation to fulfill order line items. */
|
|
878
1056
|
fulfillOrder: Order;
|
|
1057
|
+
/** Use this mutation to refund operations. */
|
|
879
1058
|
refundOrderLine: Order;
|
|
1059
|
+
/** Using this api, you can update the categories of products. */
|
|
880
1060
|
saveCategory: Category;
|
|
1061
|
+
/** Use this mutation to create or update a product with provided input values. */
|
|
881
1062
|
saveProduct: Product;
|
|
1063
|
+
/** Use this mutation to create or update product attributes with provided input values. */
|
|
882
1064
|
saveProductAttribute: ProductAttribute;
|
|
1065
|
+
/** Using this api, you can update the brands of products. */
|
|
883
1066
|
saveProductBrand: ProductBrand;
|
|
1067
|
+
/** Use this mutation to define new stock or update stocks by location. */
|
|
884
1068
|
saveProductStockLocations: Scalars['Boolean'];
|
|
1069
|
+
/** Using this api, you can update the tags of products. */
|
|
885
1070
|
saveProductTag: ProductTag;
|
|
886
1071
|
/** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
|
|
887
1072
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
888
1073
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
889
1074
|
saveStorefrontJSScript: StorefrontJSScript;
|
|
1075
|
+
/** Using this api, you can update the brands of products. */
|
|
890
1076
|
saveVariantType: VariantType;
|
|
891
1077
|
/** 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
1078
|
saveWebhook?: Maybe<Array<Webhook>>;
|
|
1079
|
+
/** Use this mutation for order address information changes. */
|
|
893
1080
|
updateOrderAddresses: Order;
|
|
1081
|
+
/** Use this mutation to cancel the fulfillment of the already created package for an order. */
|
|
894
1082
|
updateOrderLine: Order;
|
|
1083
|
+
/** Use this mutation to update the status of packages linked to an order and the status of the order based on the status of those packages. */
|
|
895
1084
|
updateOrderPackageStatus: Order;
|
|
1085
|
+
/** Response indicating the status of operation. */
|
|
896
1086
|
updateProductSalesChannelStatus: Scalars['Boolean'];
|
|
897
1087
|
};
|
|
898
1088
|
export declare type MutationaddCustomTimelineEntryArgs = {
|
|
@@ -1001,76 +1191,136 @@ export declare type NumberFilterInput = {
|
|
|
1001
1191
|
};
|
|
1002
1192
|
export declare type Order = {
|
|
1003
1193
|
__typename?: 'Order';
|
|
1194
|
+
/** It is the billing address of the order. */
|
|
1004
1195
|
billingAddress?: Maybe<OrderAddress>;
|
|
1196
|
+
/** It is the ```branch`` information of the orders created via ikasPOS. */
|
|
1005
1197
|
branch?: Maybe<OrderBranch>;
|
|
1198
|
+
/** It is the ```branchSessionId`` information of the orders created via ikasPOS. */
|
|
1006
1199
|
branchSessionId?: Maybe<Scalars['String']>;
|
|
1200
|
+
/** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
|
|
1007
1201
|
cancelReason?: Maybe<CancelledReasonEnum>;
|
|
1202
|
+
/** If the order has been cancelled, it indicates the cancellation date of the order. */
|
|
1008
1203
|
cancelledAt?: Maybe<Scalars['Timestamp']>;
|
|
1204
|
+
/** The client ip address. */
|
|
1009
1205
|
clientIp?: Maybe<Scalars['String']>;
|
|
1010
1206
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1207
|
+
/** It is the currency value of the order. */
|
|
1011
1208
|
currencyCode: Scalars['String'];
|
|
1209
|
+
/** A list of currency rate objects. */
|
|
1012
1210
|
currencyRates: Array<OrderCurrencyRate>;
|
|
1211
|
+
/** Information about the customer. The order does not have to be a customer information. If the order was created by ikasPOS, the customer information may be null. */
|
|
1013
1212
|
customer?: Maybe<OrderCustomer>;
|
|
1014
1213
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1214
|
+
/** A list of gift package line objects, each containing information about a gift package pricing in the order. */
|
|
1015
1215
|
giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
|
|
1216
|
+
/** An optional gift package note, can attach to the order. */
|
|
1016
1217
|
giftPackageNote?: Maybe<Scalars['String']>;
|
|
1218
|
+
/** It is the host where the order was created. */
|
|
1017
1219
|
host?: Maybe<Scalars['String']>;
|
|
1018
1220
|
id: Scalars['ID'];
|
|
1221
|
+
/** A list of invoice objects, each containing information about an invoice. */
|
|
1019
1222
|
invoices?: Maybe<Array<Invoice>>;
|
|
1223
|
+
/** Indicates whether there is a gift package in the order. ***isGiftPackage*** returns ```true``` if the order has gift package */
|
|
1020
1224
|
isGiftPackage?: Maybe<Scalars['Boolean']>;
|
|
1021
1225
|
merchantId: Scalars['String'];
|
|
1226
|
+
/** An optional note, can attach to the order. */
|
|
1022
1227
|
note?: Maybe<Scalars['String']>;
|
|
1228
|
+
/** A list of adjustment objects, each containing information about a adjustment in the order. */
|
|
1023
1229
|
orderAdjustments?: Maybe<Array<OrderAdjustment>>;
|
|
1230
|
+
/** A list of line item objects, each containing information about an item in the order. */
|
|
1024
1231
|
orderLineItems: Array<OrderLineItem>;
|
|
1232
|
+
/** The position of the order in the store's order count starting from 1001. Order numbers are sequential and start from 1001. */
|
|
1025
1233
|
orderNumber?: Maybe<Scalars['String']>;
|
|
1234
|
+
/** is the sequence value of the packages in the order. */
|
|
1026
1235
|
orderPackageSequence?: Maybe<Scalars['Float']>;
|
|
1236
|
+
/** It is the package status enum of the order */
|
|
1027
1237
|
orderPackageStatus?: Maybe<OrderPackageStatusEnum>;
|
|
1238
|
+
/** A list of order package objects. */
|
|
1028
1239
|
orderPackages?: Maybe<Array<OrderPackage>>;
|
|
1240
|
+
/** It is the payment status enum of the order */
|
|
1029
1241
|
orderPaymentStatus?: Maybe<OrderPaymentStatusEnum>;
|
|
1242
|
+
/** It is the sequence value of the order_number. The sequence value starts from 1 and an order with order number 1001 has a sequence value of 1. */
|
|
1030
1243
|
orderSequence?: Maybe<Scalars['Float']>;
|
|
1244
|
+
/** It is the tag id list in the order. */
|
|
1031
1245
|
orderTagIds?: Maybe<Array<Scalars['String']>>;
|
|
1246
|
+
/** The date the order was ordered. */
|
|
1032
1247
|
orderedAt?: Maybe<Scalars['Timestamp']>;
|
|
1248
|
+
/** A list of payment method objects, each containing information about a payment method in the order. */
|
|
1033
1249
|
paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
|
|
1250
|
+
/** Information about the ```priceList``` used when the order was created. */
|
|
1034
1251
|
priceList?: Maybe<OrderPriceList>;
|
|
1252
|
+
/** Information about the ```salesChannel``` where the order was created. */
|
|
1035
1253
|
salesChannel: OrderSalesChannel;
|
|
1254
|
+
/** It is the shipping address of the order. */
|
|
1036
1255
|
shippingAddress?: Maybe<OrderAddress>;
|
|
1256
|
+
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
1037
1257
|
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1258
|
+
/** It is the shipping method enum of the order */
|
|
1038
1259
|
shippingMethod: ShippingMethodEnum;
|
|
1260
|
+
/** It is the ```staff`` information of the orders created via ikasPOS. */
|
|
1039
1261
|
staff?: Maybe<OrderStaff>;
|
|
1262
|
+
/** It is the status enum of the order */
|
|
1040
1263
|
status: OrderStatusEnum;
|
|
1264
|
+
/** Information about the ```storefront``` where the order was created. */
|
|
1041
1265
|
storefront?: Maybe<OrderStorefront>;
|
|
1266
|
+
/** Information about the ```storefrontRouting``` used by the storefront at the time the order was created. */
|
|
1042
1267
|
storefrontRouting?: Maybe<OrderStorefrontRouting>;
|
|
1268
|
+
/** Information about the ```storefrontTheme``` used by the storefront at the time the order was created. */
|
|
1043
1269
|
storefrontTheme?: Maybe<OrderStorefrontTheme>;
|
|
1270
|
+
/** A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines. */
|
|
1044
1271
|
taxLines?: Maybe<Array<OrderTaxLine>>;
|
|
1272
|
+
/** It is the ```terminalId`` information of the orders created via ikasPOS. */
|
|
1045
1273
|
terminalId?: Maybe<Scalars['String']>;
|
|
1274
|
+
/** The total final price of the order resulting from the apply of ``orderAdjustments`` , ```shippingLines```, and ```giftPackageLines``` pricing to the order total price. */
|
|
1046
1275
|
totalFinalPrice: Scalars['Float'];
|
|
1276
|
+
/** It is the sum of the net prices of the line items in the order. */
|
|
1047
1277
|
totalPrice: Scalars['Float'];
|
|
1048
1278
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1279
|
+
/** Details of the browsing client, including software and operating versions. */
|
|
1049
1280
|
userAgent?: Maybe<Scalars['String']>;
|
|
1050
1281
|
};
|
|
1051
1282
|
export declare type OrderAddress = {
|
|
1052
1283
|
__typename?: 'OrderAddress';
|
|
1284
|
+
/** The street address of the address. */
|
|
1053
1285
|
addressLine1: Scalars['String'];
|
|
1286
|
+
/** An optional additional field for the street address of the address. */
|
|
1054
1287
|
addressLine2?: Maybe<Scalars['String']>;
|
|
1288
|
+
/** The city information of the address. */
|
|
1055
1289
|
city: OrderAddressCity;
|
|
1290
|
+
/** The company of the person associated with the address. */
|
|
1056
1291
|
company?: Maybe<Scalars['String']>;
|
|
1292
|
+
/** The country information of the address. */
|
|
1057
1293
|
country: OrderAddressCountry;
|
|
1294
|
+
/** The district information of the address. */
|
|
1058
1295
|
district?: Maybe<OrderAddressDistrict>;
|
|
1296
|
+
/** The first name of the person associated with the address */
|
|
1059
1297
|
firstName: Scalars['String'];
|
|
1298
|
+
/** The address"s id of the order address. */
|
|
1060
1299
|
id?: Maybe<Scalars['String']>;
|
|
1300
|
+
/** The identity number of the person associated with the address. */
|
|
1061
1301
|
identityNumber?: Maybe<Scalars['String']>;
|
|
1302
|
+
/** The address"s id of the order address. */
|
|
1062
1303
|
isDefault: Scalars['Boolean'];
|
|
1304
|
+
/** The last name of the person associated with the address */
|
|
1063
1305
|
lastName: Scalars['String'];
|
|
1306
|
+
/** The phone of the person associated with the address. */
|
|
1064
1307
|
phone?: Maybe<Scalars['String']>;
|
|
1308
|
+
/** The postal code of the address. */
|
|
1065
1309
|
postalCode?: Maybe<Scalars['String']>;
|
|
1310
|
+
/** The state information of the address. */
|
|
1066
1311
|
state?: Maybe<OrderAddressState>;
|
|
1312
|
+
/** The tax number of the person associated with the address. */
|
|
1067
1313
|
taxNumber?: Maybe<Scalars['String']>;
|
|
1314
|
+
/** The tax office of the person associated with the address. */
|
|
1068
1315
|
taxOffice?: Maybe<Scalars['String']>;
|
|
1069
1316
|
};
|
|
1070
1317
|
export declare type OrderAddressCity = {
|
|
1071
1318
|
__typename?: 'OrderAddressCity';
|
|
1319
|
+
/** It is the code of the city of the address. */
|
|
1072
1320
|
code?: Maybe<Scalars['String']>;
|
|
1321
|
+
/** It is the id of the city of the address. */
|
|
1073
1322
|
id?: Maybe<Scalars['String']>;
|
|
1323
|
+
/** It is the name of the city of the address. */
|
|
1074
1324
|
name: Scalars['String'];
|
|
1075
1325
|
};
|
|
1076
1326
|
export declare type OrderAddressCityInput = {
|
|
@@ -1080,10 +1330,15 @@ export declare type OrderAddressCityInput = {
|
|
|
1080
1330
|
};
|
|
1081
1331
|
export declare type OrderAddressCountry = {
|
|
1082
1332
|
__typename?: 'OrderAddressCountry';
|
|
1333
|
+
/** It is the code of the country of the address. */
|
|
1083
1334
|
code?: Maybe<Scalars['String']>;
|
|
1335
|
+
/** It is the id of the country of the address. */
|
|
1084
1336
|
id?: Maybe<Scalars['String']>;
|
|
1337
|
+
/** It is the two-letter code of the country of the address. */
|
|
1085
1338
|
iso2?: Maybe<Scalars['String']>;
|
|
1339
|
+
/** It is the three-letter code of the country of the address. */
|
|
1086
1340
|
iso3?: Maybe<Scalars['String']>;
|
|
1341
|
+
/** It is the name of the country of the address. */
|
|
1087
1342
|
name: Scalars['String'];
|
|
1088
1343
|
};
|
|
1089
1344
|
export declare type OrderAddressCountryInput = {
|
|
@@ -1095,8 +1350,11 @@ export declare type OrderAddressCountryInput = {
|
|
|
1095
1350
|
};
|
|
1096
1351
|
export declare type OrderAddressDistrict = {
|
|
1097
1352
|
__typename?: 'OrderAddressDistrict';
|
|
1353
|
+
/** It is the code of the district of the address. */
|
|
1098
1354
|
code?: Maybe<Scalars['String']>;
|
|
1355
|
+
/** It is the id of the district of the address. */
|
|
1099
1356
|
id?: Maybe<Scalars['String']>;
|
|
1357
|
+
/** It is the name of the district of the address. */
|
|
1100
1358
|
name?: Maybe<Scalars['String']>;
|
|
1101
1359
|
};
|
|
1102
1360
|
export declare type OrderAddressDistrictInput = {
|
|
@@ -1105,27 +1363,46 @@ export declare type OrderAddressDistrictInput = {
|
|
|
1105
1363
|
name?: InputMaybe<Scalars['String']>;
|
|
1106
1364
|
};
|
|
1107
1365
|
export declare type OrderAddressInput = {
|
|
1366
|
+
/** The street address of the address. */
|
|
1108
1367
|
addressLine1: Scalars['String'];
|
|
1368
|
+
/** An optional additional field for the street address of the address. */
|
|
1109
1369
|
addressLine2?: InputMaybe<Scalars['String']>;
|
|
1370
|
+
/** The name of the city of the address. */
|
|
1110
1371
|
city: OrderAddressCityInput;
|
|
1372
|
+
/** The company of the person associated with the address. */
|
|
1111
1373
|
company?: InputMaybe<Scalars['String']>;
|
|
1374
|
+
/** The name of the country of the address. */
|
|
1112
1375
|
country: OrderAddressCountryInput;
|
|
1376
|
+
/** The name of the district of the address. */
|
|
1113
1377
|
district?: InputMaybe<OrderAddressDistrictInput>;
|
|
1378
|
+
/** The first name of the person associated with the address */
|
|
1114
1379
|
firstName: Scalars['String'];
|
|
1380
|
+
/** If the address to be updated is registered in ikas, this field must be filled. If the Id field is sent blank, a new address is generated. */
|
|
1115
1381
|
id?: InputMaybe<Scalars['String']>;
|
|
1382
|
+
/** The identity number of the person associated with the address. */
|
|
1116
1383
|
identityNumber?: InputMaybe<Scalars['String']>;
|
|
1384
|
+
/** If the address is to be saved as default, this field can be sent as ```true```. */
|
|
1117
1385
|
isDefault: Scalars['Boolean'];
|
|
1386
|
+
/** The last name of the person associated with the address */
|
|
1118
1387
|
lastName: Scalars['String'];
|
|
1388
|
+
/** The phone of the person associated with the address. */
|
|
1119
1389
|
phone?: InputMaybe<Scalars['String']>;
|
|
1390
|
+
/** The postal code of the address. */
|
|
1120
1391
|
postalCode?: InputMaybe<Scalars['String']>;
|
|
1392
|
+
/** The name of the state of the address. */
|
|
1121
1393
|
state?: InputMaybe<OrderAddressStateInput>;
|
|
1394
|
+
/** The tax number of the person associated with the address. */
|
|
1122
1395
|
taxNumber?: InputMaybe<Scalars['String']>;
|
|
1396
|
+
/** The tax office of the person associated with the address. */
|
|
1123
1397
|
taxOffice?: InputMaybe<Scalars['String']>;
|
|
1124
1398
|
};
|
|
1125
1399
|
export declare type OrderAddressState = {
|
|
1126
1400
|
__typename?: 'OrderAddressState';
|
|
1401
|
+
/** It is the code of the state of the address. */
|
|
1127
1402
|
code?: Maybe<Scalars['String']>;
|
|
1403
|
+
/** It is the id of the state of the address. */
|
|
1128
1404
|
id?: Maybe<Scalars['String']>;
|
|
1405
|
+
/** It is the name of the state of the address. */
|
|
1129
1406
|
name?: Maybe<Scalars['String']>;
|
|
1130
1407
|
};
|
|
1131
1408
|
export declare type OrderAddressStateInput = {
|
|
@@ -1135,60 +1412,93 @@ export declare type OrderAddressStateInput = {
|
|
|
1135
1412
|
};
|
|
1136
1413
|
export declare type OrderAdjustment = {
|
|
1137
1414
|
__typename?: 'OrderAdjustment';
|
|
1415
|
+
/** It is the adjustment amount in the order. This amount can be positive or negative. */
|
|
1138
1416
|
amount: Scalars['Float'];
|
|
1139
1417
|
amountType: AmountTypeEnum;
|
|
1418
|
+
/** A list of order line items, each containing information about a order line item in the order. */
|
|
1140
1419
|
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1420
|
+
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
1141
1421
|
campaignId?: Maybe<Scalars['String']>;
|
|
1422
|
+
/** It is the coupon id generated depending on the campaign. */
|
|
1142
1423
|
couponId?: Maybe<Scalars['String']>;
|
|
1424
|
+
/** It is the name of the adjustment. */
|
|
1143
1425
|
name: Scalars['String'];
|
|
1426
|
+
/** It is the order of the adjustment. Adjustments are applied in this order. */
|
|
1144
1427
|
order: Scalars['Float'];
|
|
1145
1428
|
type: AdjustmentEnum;
|
|
1146
1429
|
};
|
|
1147
1430
|
export declare type OrderAdjustmentAppliedOrderLine = {
|
|
1148
1431
|
__typename?: 'OrderAdjustmentAppliedOrderLine';
|
|
1432
|
+
/** Is he amount of the applied adjustment. */
|
|
1149
1433
|
amount: Scalars['Float'];
|
|
1434
|
+
/** It is the quantity of variants within the order line item to which the adjustment is applied. */
|
|
1150
1435
|
appliedQuantity: Scalars['Float'];
|
|
1436
|
+
/** It is the id of the order line item to which the adjustment is applied. */
|
|
1151
1437
|
orderLineId: Scalars['String'];
|
|
1152
1438
|
};
|
|
1153
1439
|
export declare type OrderAdjustmentInput = {
|
|
1440
|
+
/** It is the amount of the order adjustment. */
|
|
1154
1441
|
amount: Scalars['Float'];
|
|
1442
|
+
/** It is the amount type of the order adjustment */
|
|
1155
1443
|
amountType: AmountTypeEnum;
|
|
1444
|
+
/** It is the campaign information that adjustment depends on. */
|
|
1156
1445
|
campaignId?: InputMaybe<Scalars['String']>;
|
|
1446
|
+
/** It is the coupon information of the campaign that adjustment is connected to. */
|
|
1157
1447
|
couponId?: InputMaybe<Scalars['String']>;
|
|
1448
|
+
/** It is the name of the order adjustment. */
|
|
1158
1449
|
name: Scalars['String'];
|
|
1450
|
+
/** It is the order information in which the adjustment will be applied. */
|
|
1159
1451
|
order: Scalars['Float'];
|
|
1452
|
+
/** It is the type enum of the order adjustment */
|
|
1160
1453
|
type: AdjustmentEnum;
|
|
1161
1454
|
};
|
|
1162
1455
|
export declare type OrderBranch = {
|
|
1163
1456
|
__typename?: 'OrderBranch';
|
|
1457
|
+
/** It is the id of the branch where the order was created. */
|
|
1164
1458
|
id: Scalars['String'];
|
|
1459
|
+
/** It is the id of the branch where the order was created. */
|
|
1165
1460
|
name?: Maybe<Scalars['String']>;
|
|
1166
1461
|
};
|
|
1167
1462
|
export declare type OrderCurrencyRate = {
|
|
1168
1463
|
__typename?: 'OrderCurrencyRate';
|
|
1464
|
+
/** It is the code of the currency. */
|
|
1169
1465
|
code: Scalars['String'];
|
|
1466
|
+
/** It is the original rate of the currency. */
|
|
1170
1467
|
originalRate: Scalars['Float'];
|
|
1468
|
+
/** It is the rate of the currency. */
|
|
1171
1469
|
rate: Scalars['Float'];
|
|
1172
1470
|
};
|
|
1173
1471
|
export declare type OrderCustomer = {
|
|
1174
1472
|
__typename?: 'OrderCustomer';
|
|
1473
|
+
/** It is the email of the customer who created the order. */
|
|
1175
1474
|
email?: Maybe<Scalars['String']>;
|
|
1475
|
+
/** It is the first name of the customer who created the order. */
|
|
1176
1476
|
firstName?: Maybe<Scalars['String']>;
|
|
1477
|
+
/** It is the id of the customer who created the order. */
|
|
1177
1478
|
id?: Maybe<Scalars['String']>;
|
|
1479
|
+
/** It is the identity number of the customer who created the order. */
|
|
1178
1480
|
identityNumber?: Maybe<Scalars['String']>;
|
|
1481
|
+
/** Indicates whether the order was created by a new customer with no email record. ***isGuestCheckout*** returns true if the order was created without customer email information. */
|
|
1179
1482
|
isGuestCheckout?: Maybe<Scalars['Boolean']>;
|
|
1483
|
+
/** It is the last name of the customer who created the order. */
|
|
1180
1484
|
lastName?: Maybe<Scalars['String']>;
|
|
1485
|
+
/** It is the phone number of the customer who created the order. */
|
|
1181
1486
|
phone?: Maybe<Scalars['String']>;
|
|
1182
1487
|
};
|
|
1183
1488
|
export declare type OrderCustomerInput = {
|
|
1489
|
+
/** It is the email of the customer who created the order. */
|
|
1184
1490
|
email?: InputMaybe<Scalars['String']>;
|
|
1491
|
+
/** It is the first name of the customer who created the order. */
|
|
1185
1492
|
firstName?: InputMaybe<Scalars['String']>;
|
|
1186
1493
|
id?: InputMaybe<Scalars['ID']>;
|
|
1494
|
+
/** It is the last name of the customer who created the order. */
|
|
1187
1495
|
lastName?: InputMaybe<Scalars['String']>;
|
|
1188
1496
|
};
|
|
1189
1497
|
export declare type OrderGiftPackageLine = {
|
|
1190
1498
|
__typename?: 'OrderGiftPackageLine';
|
|
1499
|
+
/** It is the price of the order gift package line. */
|
|
1191
1500
|
price: Scalars['Float'];
|
|
1501
|
+
/** It is the tax value of the order gift package line price. */
|
|
1192
1502
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1193
1503
|
};
|
|
1194
1504
|
export declare type OrderLineDiscount = {
|
|
@@ -1198,40 +1508,62 @@ export declare type OrderLineDiscount = {
|
|
|
1198
1508
|
reason?: Maybe<Scalars['String']>;
|
|
1199
1509
|
};
|
|
1200
1510
|
export declare type OrderLineDiscountInput = {
|
|
1511
|
+
/** It is the amount of the discount. */
|
|
1201
1512
|
amount: Scalars['Float'];
|
|
1513
|
+
/** It is the amount type enum. */
|
|
1202
1514
|
amountType: AmountTypeEnum;
|
|
1515
|
+
/** It is the reason of the discount. */
|
|
1203
1516
|
reason?: InputMaybe<Scalars['String']>;
|
|
1204
1517
|
};
|
|
1205
1518
|
export declare type OrderLineItem = {
|
|
1206
1519
|
__typename?: 'OrderLineItem';
|
|
1207
1520
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1521
|
+
/** It is the currency code of the order line item. */
|
|
1208
1522
|
currencyCode?: Maybe<Scalars['String']>;
|
|
1209
1523
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1524
|
+
/** Information about the discount. Shows the details of the discount applied to the order line item. */
|
|
1210
1525
|
discount?: Maybe<OrderLineDiscount>;
|
|
1526
|
+
/** It is the discount price of the order line item. */
|
|
1211
1527
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
1528
|
+
/** It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price. */
|
|
1212
1529
|
finalPrice?: Maybe<Scalars['Float']>;
|
|
1213
1530
|
id: Scalars['ID'];
|
|
1531
|
+
/** It is the option information of the variant value in the order line item. */
|
|
1214
1532
|
options?: Maybe<Array<OrderLineOption>>;
|
|
1533
|
+
/** It is the original order line item id of the line item. If the line item is derived from another line item, this field is filled. */
|
|
1215
1534
|
originalOrderLineItemId?: Maybe<Scalars['String']>;
|
|
1535
|
+
/** It is the selling price of the order line item. */
|
|
1216
1536
|
price: Scalars['Float'];
|
|
1537
|
+
/** It is the quantity of variant in the order line item. */
|
|
1217
1538
|
quantity: Scalars['Float'];
|
|
1539
|
+
/** It is the status enum of the order line item */
|
|
1218
1540
|
status: OrderLineItemStatusEnum;
|
|
1541
|
+
/** It is the date when the last status of the order line item was updated. */
|
|
1219
1542
|
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1543
|
+
/** It is the stock location id of the variant value in the order line item. */
|
|
1220
1544
|
stockLocationId?: Maybe<Scalars['String']>;
|
|
1545
|
+
/** It is the tax value of the order line item. */
|
|
1221
1546
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1222
1547
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1548
|
+
/** Information about the variant of the order line item. */
|
|
1223
1549
|
variant: OrderLineVariant;
|
|
1224
1550
|
};
|
|
1225
1551
|
export declare type OrderLineItemInput = {
|
|
1226
1552
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1227
1553
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1554
|
+
/** It is the discount information that will be applied to the line item. */
|
|
1228
1555
|
discount?: InputMaybe<OrderLineDiscountInput>;
|
|
1556
|
+
/** It is the discount price of the line item. */
|
|
1229
1557
|
discountPrice?: InputMaybe<Scalars['Float']>;
|
|
1230
1558
|
id?: InputMaybe<Scalars['ID']>;
|
|
1559
|
+
/** It is the options information in the order line item. */
|
|
1231
1560
|
options?: InputMaybe<Array<OrderLineOptionInput>>;
|
|
1561
|
+
/** It is the price of the line item. */
|
|
1232
1562
|
price: Scalars['Float'];
|
|
1563
|
+
/** It is the quantity of the line item. */
|
|
1233
1564
|
quantity: Scalars['Float'];
|
|
1234
1565
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1566
|
+
/** It is the variant information in the order line item. */
|
|
1235
1567
|
variant: OrderLineVariantInput;
|
|
1236
1568
|
};
|
|
1237
1569
|
/** Order Line Item Status Enum */
|
|
@@ -1249,15 +1581,25 @@ export declare enum OrderLineItemStatusEnum {
|
|
|
1249
1581
|
}
|
|
1250
1582
|
export declare type OrderLineOption = {
|
|
1251
1583
|
__typename?: 'OrderLineOption';
|
|
1584
|
+
/** It is the name of order line option in the order line item. */
|
|
1252
1585
|
name: Scalars['String'];
|
|
1586
|
+
/** It is the product option id of the product in the order line item. */
|
|
1253
1587
|
productOptionId: Scalars['String'];
|
|
1588
|
+
/** It is the product option set id of the product in the order line item. */
|
|
1254
1589
|
productOptionsSetId: Scalars['String'];
|
|
1590
|
+
/** It is the type of the order line option. */
|
|
1255
1591
|
type: ProductOptionTypeEnum;
|
|
1256
1592
|
values: Array<OrderLineOptionValue>;
|
|
1257
1593
|
};
|
|
1258
1594
|
export declare type OrderLineOptionInput = {
|
|
1595
|
+
/** It is the option id. */
|
|
1259
1596
|
productOptionId: Scalars['String'];
|
|
1597
|
+
/**
|
|
1598
|
+
* It is the options set id information that option is connected to.
|
|
1599
|
+
* * Is the entered id must be exist in ikas.
|
|
1600
|
+
*/
|
|
1260
1601
|
productOptionsSetId: Scalars['String'];
|
|
1602
|
+
/** A list of option value objects, each containing input about an option value. */
|
|
1261
1603
|
values: Array<OrderLineOptionValueInput>;
|
|
1262
1604
|
};
|
|
1263
1605
|
export declare type OrderLineOptionValue = {
|
|
@@ -1267,69 +1609,119 @@ export declare type OrderLineOptionValue = {
|
|
|
1267
1609
|
value: Scalars['String'];
|
|
1268
1610
|
};
|
|
1269
1611
|
export declare type OrderLineOptionValueInput = {
|
|
1612
|
+
/** It is the price of the order line option */
|
|
1270
1613
|
price?: InputMaybe<Scalars['Float']>;
|
|
1614
|
+
/** It is the value of the order line option */
|
|
1271
1615
|
value: Scalars['String'];
|
|
1272
1616
|
};
|
|
1273
1617
|
export declare type OrderLineVariant = {
|
|
1274
1618
|
__typename?: 'OrderLineVariant';
|
|
1619
|
+
/** It is the barcode list of the variant. */
|
|
1275
1620
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
1621
|
+
/** Information about the brand of variant. */
|
|
1276
1622
|
brand?: Maybe<OrderLineVariantBrand>;
|
|
1623
|
+
/** A list of category objects, each containing information about a category in the variant. */
|
|
1277
1624
|
categories?: Maybe<Array<OrderLineVariantCategory>>;
|
|
1625
|
+
/** It is the id of the variant. */
|
|
1278
1626
|
id?: Maybe<Scalars['String']>;
|
|
1627
|
+
/** It is the main image id of the variant. */
|
|
1279
1628
|
mainImageId?: Maybe<Scalars['String']>;
|
|
1629
|
+
/** It is the name of the variant. */
|
|
1280
1630
|
name: Scalars['String'];
|
|
1631
|
+
/** It is the price list of the variant. Different price lists may have different pricing. */
|
|
1281
1632
|
prices?: Maybe<Array<OrderLineVariantPrice>>;
|
|
1633
|
+
/** It is the product id of the variant. */
|
|
1282
1634
|
productId?: Maybe<Scalars['String']>;
|
|
1635
|
+
/** It is the sku of the variant. */
|
|
1283
1636
|
sku?: Maybe<Scalars['String']>;
|
|
1637
|
+
/** It is the slug of the variant. The slug value is unique each variant and product. */
|
|
1284
1638
|
slug?: Maybe<Scalars['String']>;
|
|
1639
|
+
/** It is the the tag id list */
|
|
1285
1640
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
1286
|
-
/**
|
|
1641
|
+
/**
|
|
1642
|
+
* It is the tax value of the variant.
|
|
1643
|
+
* @deprecated Will be removed use OrderLineItem.taxValue
|
|
1644
|
+
*/
|
|
1287
1645
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1288
1646
|
type?: Maybe<Scalars['Float']>;
|
|
1647
|
+
/** It is the variant values of the variant. */
|
|
1289
1648
|
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
1290
1649
|
};
|
|
1291
1650
|
export declare type OrderLineVariantBrand = {
|
|
1292
1651
|
__typename?: 'OrderLineVariantBrand';
|
|
1652
|
+
/** It is the id of the brand of the variant. */
|
|
1293
1653
|
id: Scalars['String'];
|
|
1654
|
+
/** It is the name of the category. */
|
|
1294
1655
|
name: Scalars['String'];
|
|
1295
1656
|
};
|
|
1296
1657
|
export declare type OrderLineVariantCategory = {
|
|
1297
1658
|
__typename?: 'OrderLineVariantCategory';
|
|
1298
|
-
|
|
1659
|
+
/** It is the path of the category. */
|
|
1660
|
+
categoryPath?: Maybe<Array<OrderLineVariantCategoryPath>>;
|
|
1661
|
+
/** It is the id of the category of the variant. */
|
|
1299
1662
|
id: Scalars['String'];
|
|
1663
|
+
/** It is the name of the category. */
|
|
1664
|
+
name: Scalars['String'];
|
|
1665
|
+
};
|
|
1666
|
+
export declare type OrderLineVariantCategoryPath = {
|
|
1667
|
+
__typename?: 'OrderLineVariantCategoryPath';
|
|
1668
|
+
/** It is the id of the category of the variant. */
|
|
1669
|
+
id: Scalars['String'];
|
|
1670
|
+
/** It is the name of the category. */
|
|
1300
1671
|
name: Scalars['String'];
|
|
1301
1672
|
};
|
|
1302
1673
|
export declare type OrderLineVariantInput = {
|
|
1674
|
+
/**
|
|
1675
|
+
* It is the id of the variant. This field can be left blank if a product that is not registered in ikas will be sold.
|
|
1676
|
+
* * Is the entered id must be exist in ikas.
|
|
1677
|
+
*/
|
|
1303
1678
|
id?: InputMaybe<Scalars['String']>;
|
|
1679
|
+
/** It is the name of the variant. */
|
|
1304
1680
|
name?: InputMaybe<Scalars['String']>;
|
|
1305
1681
|
};
|
|
1306
1682
|
export declare type OrderLineVariantPrice = {
|
|
1307
1683
|
__typename?: 'OrderLineVariantPrice';
|
|
1684
|
+
/** It is the buy price of variant. */
|
|
1308
1685
|
buyPrice?: Maybe<Scalars['Float']>;
|
|
1686
|
+
/** It is the currency code of variant. */
|
|
1309
1687
|
currency?: Maybe<Scalars['String']>;
|
|
1688
|
+
/** It is the discount price of variant. */
|
|
1310
1689
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
1690
|
+
/** It is the id of the price list to which the variant is associated. */
|
|
1311
1691
|
priceListId?: Maybe<Scalars['String']>;
|
|
1692
|
+
/** It is the sell price of variant. */
|
|
1312
1693
|
sellPrice: Scalars['Float'];
|
|
1313
1694
|
};
|
|
1314
1695
|
export declare type OrderLineVariantVariantValues = {
|
|
1315
1696
|
__typename?: 'OrderLineVariantVariantValues';
|
|
1697
|
+
/** It is the order of variant value. The variant value order starts from 0. */
|
|
1316
1698
|
order: Scalars['Float'];
|
|
1699
|
+
/** It is the order of variant value. The variant value order starts from 0. */
|
|
1317
1700
|
variantTypeId: Scalars['String'];
|
|
1701
|
+
/** It is the order of variant value. The variant value order starts from 0. */
|
|
1318
1702
|
variantTypeName?: Maybe<Scalars['String']>;
|
|
1703
|
+
/** It is the order of variant value. The variant value order starts from 0. */
|
|
1319
1704
|
variantValueId: Scalars['String'];
|
|
1705
|
+
/** It is the order of variant value. The variant value order starts from 0. */
|
|
1320
1706
|
variantValueName?: Maybe<Scalars['String']>;
|
|
1321
1707
|
};
|
|
1322
1708
|
export declare type OrderPackage = {
|
|
1323
1709
|
__typename?: 'OrderPackage';
|
|
1324
1710
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1325
1711
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1712
|
+
/** If the package was sent via the cargo application and received an error, this field is filled with an error message. */
|
|
1326
1713
|
errorMessage?: Maybe<Scalars['String']>;
|
|
1327
1714
|
id: Scalars['ID'];
|
|
1715
|
+
/** An optional note, can attach to the order package. */
|
|
1328
1716
|
note?: Maybe<Scalars['String']>;
|
|
1717
|
+
/** It is the id list of the order line items in the package. */
|
|
1329
1718
|
orderLineItemIds: Array<Scalars['String']>;
|
|
1719
|
+
/** It is the fulfill status of the package */
|
|
1330
1720
|
orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
|
|
1721
|
+
/** It is the number of order package. Order package number is created with the order number - order package sequence format. */
|
|
1331
1722
|
orderPackageNumber: Scalars['String'];
|
|
1332
1723
|
stockLocationId: Scalars['String'];
|
|
1724
|
+
/** It is the stock location id information where the package will be shipped. */
|
|
1333
1725
|
trackingInfo?: Maybe<TrackingInfo>;
|
|
1334
1726
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1335
1727
|
};
|
|
@@ -1380,7 +1772,9 @@ export declare type OrderPaginationResponse = {
|
|
|
1380
1772
|
};
|
|
1381
1773
|
export declare type OrderPaymentMethod = {
|
|
1382
1774
|
__typename?: 'OrderPaymentMethod';
|
|
1775
|
+
/** It is the amount charged by the payment method. */
|
|
1383
1776
|
price: Scalars['Float'];
|
|
1777
|
+
/** It is the type enum of the order payment method. */
|
|
1384
1778
|
type: PaymentMethodTypeEnum;
|
|
1385
1779
|
};
|
|
1386
1780
|
/** Order Payment Status Enum */
|
|
@@ -1391,7 +1785,9 @@ export declare enum OrderPaymentStatusEnum {
|
|
|
1391
1785
|
}
|
|
1392
1786
|
export declare type OrderPriceList = {
|
|
1393
1787
|
__typename?: 'OrderPriceList';
|
|
1788
|
+
/** It is the id of the price list. */
|
|
1394
1789
|
id: Scalars['String'];
|
|
1790
|
+
/** It is the name of the price list. */
|
|
1395
1791
|
name?: Maybe<Scalars['String']>;
|
|
1396
1792
|
};
|
|
1397
1793
|
export declare type OrderRefundInput = {
|
|
@@ -1409,28 +1805,43 @@ export declare type OrderRefundLineInput = {
|
|
|
1409
1805
|
};
|
|
1410
1806
|
export declare type OrderSalesChannel = {
|
|
1411
1807
|
__typename?: 'OrderSalesChannel';
|
|
1808
|
+
/** It is the sales channel id where the order was created. */
|
|
1412
1809
|
id: Scalars['String'];
|
|
1810
|
+
/** It is the sales channel name where the order was created. */
|
|
1413
1811
|
name?: Maybe<Scalars['String']>;
|
|
1812
|
+
/** It is the sales channel type where the order was created. */
|
|
1414
1813
|
type?: Maybe<Scalars['Float']>;
|
|
1415
1814
|
};
|
|
1416
1815
|
export declare type OrderShippingLine = {
|
|
1417
1816
|
__typename?: 'OrderShippingLine';
|
|
1817
|
+
/** Indicates whether the shipping cost is refunded if the order is refunded. ***isRefunded*** returns ```true``` if the amount is refunded. */
|
|
1418
1818
|
isRefunded?: Maybe<Scalars['Boolean']>;
|
|
1819
|
+
/** It is the price of the order shipping line. */
|
|
1419
1820
|
price: Scalars['Float'];
|
|
1821
|
+
/** It is the shipping settings id of the order shipping line. */
|
|
1420
1822
|
shippingSettingsId?: Maybe<Scalars['String']>;
|
|
1823
|
+
/** It is the shipping zone rate id of the order shipping line. */
|
|
1421
1824
|
shippingZoneRateId?: Maybe<Scalars['String']>;
|
|
1825
|
+
/** It is the tax value of the order shipping line price. */
|
|
1422
1826
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1827
|
+
/** It is the title of the order shipping line. */
|
|
1423
1828
|
title: Scalars['String'];
|
|
1424
1829
|
};
|
|
1425
1830
|
export declare type OrderShippingLineInput = {
|
|
1831
|
+
/** It is the price of the order shipping line. */
|
|
1426
1832
|
price: Scalars['Float'];
|
|
1833
|
+
/** It is the tax value of the order shipping line. */
|
|
1427
1834
|
taxValue?: InputMaybe<Scalars['Float']>;
|
|
1835
|
+
/** It is the title of the order shipping line. */
|
|
1428
1836
|
title: Scalars['String'];
|
|
1429
1837
|
};
|
|
1430
1838
|
export declare type OrderStaff = {
|
|
1431
1839
|
__typename?: 'OrderStaff';
|
|
1840
|
+
/** It is the email of the staff who created the order. */
|
|
1432
1841
|
email: Scalars['String'];
|
|
1842
|
+
/** It is the first name of the staff who created the order. */
|
|
1433
1843
|
firstName: Scalars['String'];
|
|
1844
|
+
/** It is the last name of the staff who created the order. */
|
|
1434
1845
|
lastName: Scalars['String'];
|
|
1435
1846
|
};
|
|
1436
1847
|
/** Order Status Enum */
|
|
@@ -1446,27 +1857,40 @@ export declare enum OrderStatusEnum {
|
|
|
1446
1857
|
}
|
|
1447
1858
|
export declare type OrderStorefront = {
|
|
1448
1859
|
__typename?: 'OrderStorefront';
|
|
1860
|
+
/** It is the storefront id where the order was created. */
|
|
1449
1861
|
id: Scalars['String'];
|
|
1862
|
+
/** It is the storefront name id where the order was created. */
|
|
1450
1863
|
name?: Maybe<Scalars['String']>;
|
|
1451
1864
|
};
|
|
1452
1865
|
export declare type OrderStorefrontRouting = {
|
|
1453
1866
|
__typename?: 'OrderStorefrontRouting';
|
|
1867
|
+
/** It is the domain of the storefront routing. */
|
|
1454
1868
|
domain?: Maybe<Scalars['String']>;
|
|
1869
|
+
/** It is the storefront routing id used by the storefront when the order was created. */
|
|
1455
1870
|
id: Scalars['String'];
|
|
1871
|
+
/** It is the locale of the storefront routing. */
|
|
1456
1872
|
locale?: Maybe<Scalars['String']>;
|
|
1873
|
+
/** It is the path of the storefront routing. */
|
|
1457
1874
|
path?: Maybe<Scalars['String']>;
|
|
1875
|
+
/** It is the price list id that associated on the storefront routing. */
|
|
1458
1876
|
priceListId?: Maybe<Scalars['String']>;
|
|
1459
1877
|
};
|
|
1460
1878
|
export declare type OrderStorefrontTheme = {
|
|
1461
1879
|
__typename?: 'OrderStorefrontTheme';
|
|
1880
|
+
/** It is the theme id customized by the merchant used by the storefront when the order was created. */
|
|
1462
1881
|
id: Scalars['String'];
|
|
1882
|
+
/** It is the theme theme name customized by the merchant used by the storefront when the order was created. */
|
|
1463
1883
|
name?: Maybe<Scalars['String']>;
|
|
1884
|
+
/** It is the ikas theme id used by the storefront when the order was created. */
|
|
1464
1885
|
themeId?: Maybe<Scalars['String']>;
|
|
1886
|
+
/** It is the ikas theme version id used by the storefront when the order was created. */
|
|
1465
1887
|
themeVersionId?: Maybe<Scalars['String']>;
|
|
1466
1888
|
};
|
|
1467
1889
|
export declare type OrderTaxLine = {
|
|
1468
1890
|
__typename?: 'OrderTaxLine';
|
|
1891
|
+
/** It is the price of the order tax. */
|
|
1469
1892
|
price: Scalars['Float'];
|
|
1893
|
+
/** It is the percentage of the slice to which the calculated tax amount belongs. */
|
|
1470
1894
|
rate: Scalars['Float'];
|
|
1471
1895
|
};
|
|
1472
1896
|
export declare type OrderTransactionInput = {
|
|
@@ -1493,49 +1917,77 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
1493
1917
|
export declare type PriceList = {
|
|
1494
1918
|
__typename?: 'PriceList';
|
|
1495
1919
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1920
|
+
/** The currency of the product's price list. */
|
|
1496
1921
|
currency: Scalars['String'];
|
|
1497
1922
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1498
1923
|
id: Scalars['ID'];
|
|
1924
|
+
/** It is the name of the price list of the product. */
|
|
1499
1925
|
name: Scalars['String'];
|
|
1500
1926
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1501
1927
|
};
|
|
1502
1928
|
export declare type Product = {
|
|
1503
1929
|
__typename?: 'Product';
|
|
1930
|
+
/** List of product attributes. */
|
|
1504
1931
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
1932
|
+
/** Brand of the product. */
|
|
1505
1933
|
brand?: Maybe<ProductBrand>;
|
|
1934
|
+
/** Brand id of the product. */
|
|
1506
1935
|
brandId?: Maybe<Scalars['String']>;
|
|
1936
|
+
/** List of categories of the product. */
|
|
1507
1937
|
categories?: Maybe<Array<Category>>;
|
|
1938
|
+
/** List category identifiers of the product. */
|
|
1508
1939
|
categoryIds?: Maybe<Array<Scalars['String']>>;
|
|
1509
1940
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1510
1941
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1942
|
+
/** Description of the product. */
|
|
1511
1943
|
description?: Maybe<Scalars['String']>;
|
|
1944
|
+
/** This is the variant type id that can be used to group variants by a specific variant type id. */
|
|
1512
1945
|
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
1513
1946
|
id: Scalars['ID'];
|
|
1947
|
+
/** HTML Metadata identifier of the product. */
|
|
1514
1948
|
metaData?: Maybe<HTMLMetaData>;
|
|
1949
|
+
/** Unique identifier of the product. */
|
|
1515
1950
|
name: Scalars['String'];
|
|
1951
|
+
/** Option set id of the product. */
|
|
1516
1952
|
productOptionSetId?: Maybe<Scalars['String']>;
|
|
1953
|
+
/** Variant types of the product. */
|
|
1517
1954
|
productVariantTypes?: Maybe<Array<ProductVariantType>>;
|
|
1955
|
+
/** List of sales channel ids of the product. */
|
|
1518
1956
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
1957
|
+
/** Short description of the product. */
|
|
1519
1958
|
shortDescription?: Maybe<Scalars['String']>;
|
|
1959
|
+
/** List of product tag identifiers. */
|
|
1520
1960
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
1961
|
+
/** List of product tags. */
|
|
1521
1962
|
tags?: Maybe<Array<ProductTag>>;
|
|
1963
|
+
/** Translations for the product. */
|
|
1522
1964
|
translations?: Maybe<Array<ProductTranslation>>;
|
|
1965
|
+
/** Type of the product. */
|
|
1523
1966
|
type: ProductTypeEnum;
|
|
1524
1967
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1968
|
+
/** List of product variants. */
|
|
1525
1969
|
variants: Array<Variant>;
|
|
1970
|
+
/** Vendor id of the product. */
|
|
1526
1971
|
vendorId?: Maybe<Scalars['String']>;
|
|
1972
|
+
/** Weight of the product. */
|
|
1527
1973
|
weight?: Maybe<Scalars['Float']>;
|
|
1528
1974
|
};
|
|
1529
1975
|
export declare type ProductAttribute = {
|
|
1530
1976
|
__typename?: 'ProductAttribute';
|
|
1531
1977
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1532
1978
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1979
|
+
/** Description of the attribute */
|
|
1533
1980
|
description?: Maybe<Scalars['String']>;
|
|
1534
1981
|
id: Scalars['ID'];
|
|
1982
|
+
/** Name of the attribute */
|
|
1535
1983
|
name: Scalars['String'];
|
|
1984
|
+
/** Options of the attribute */
|
|
1536
1985
|
options?: Maybe<Array<ProductAttributeOption>>;
|
|
1986
|
+
/** Table template description for product attribute */
|
|
1537
1987
|
tableTemplate?: Maybe<ProductAttributeTableTemplate>;
|
|
1988
|
+
/** Translations for the attribute */
|
|
1538
1989
|
translations?: Maybe<Array<ProductAttributeTranslation>>;
|
|
1990
|
+
/** Type of the attribute */
|
|
1539
1991
|
type: ProductAttributeTypeEnum;
|
|
1540
1992
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1541
1993
|
};
|
|
@@ -1556,6 +2008,7 @@ export declare type ProductAttributeOption = {
|
|
|
1556
2008
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1557
2009
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1558
2010
|
id: Scalars['ID'];
|
|
2011
|
+
/** Name of the product attribute option */
|
|
1559
2012
|
name: Scalars['String'];
|
|
1560
2013
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1561
2014
|
};
|
|
@@ -1569,6 +2022,7 @@ export declare type ProductAttributeOptionInput = {
|
|
|
1569
2022
|
export declare type ProductAttributeOptionTranslation = {
|
|
1570
2023
|
__typename?: 'ProductAttributeOptionTranslation';
|
|
1571
2024
|
id: Scalars['String'];
|
|
2025
|
+
/** Name of the attribute option for translation. */
|
|
1572
2026
|
name?: Maybe<Scalars['String']>;
|
|
1573
2027
|
};
|
|
1574
2028
|
export declare type ProductAttributeOptionTranslationInput = {
|
|
@@ -1578,6 +2032,7 @@ export declare type ProductAttributeOptionTranslationInput = {
|
|
|
1578
2032
|
export declare type ProductAttributeTableCellData = {
|
|
1579
2033
|
__typename?: 'ProductAttributeTableCellData';
|
|
1580
2034
|
id: Scalars['String'];
|
|
2035
|
+
/** Name of the product attribute table */
|
|
1581
2036
|
name: Scalars['String'];
|
|
1582
2037
|
};
|
|
1583
2038
|
export declare type ProductAttributeTableCellDataInput = {
|
|
@@ -1586,7 +2041,9 @@ export declare type ProductAttributeTableCellDataInput = {
|
|
|
1586
2041
|
};
|
|
1587
2042
|
export declare type ProductAttributeTableTemplate = {
|
|
1588
2043
|
__typename?: 'ProductAttributeTableTemplate';
|
|
2044
|
+
/** List of columns for product attribute table. */
|
|
1589
2045
|
columns: Array<ProductAttributeTableCellData>;
|
|
2046
|
+
/** List of rows for product attribute table. */
|
|
1590
2047
|
rows: Array<ProductAttributeTableCellData>;
|
|
1591
2048
|
};
|
|
1592
2049
|
export declare type ProductAttributeTableTemplateInput = {
|
|
@@ -1595,9 +2052,13 @@ export declare type ProductAttributeTableTemplateInput = {
|
|
|
1595
2052
|
};
|
|
1596
2053
|
export declare type ProductAttributeTranslation = {
|
|
1597
2054
|
__typename?: 'ProductAttributeTranslation';
|
|
2055
|
+
/** It is the description information of the translation. */
|
|
1598
2056
|
description?: Maybe<Scalars['String']>;
|
|
2057
|
+
/** It is the name information of the translation. */
|
|
1599
2058
|
locale: Scalars['String'];
|
|
2059
|
+
/** It is the information in which language the translation is saved. */
|
|
1600
2060
|
name?: Maybe<Scalars['String']>;
|
|
2061
|
+
/** List of translations for attribute options */
|
|
1601
2062
|
options?: Maybe<Array<ProductAttributeOptionTranslation>>;
|
|
1602
2063
|
};
|
|
1603
2064
|
export declare type ProductAttributeTranslationInput = {
|
|
@@ -1620,8 +2081,11 @@ export declare enum ProductAttributeTypeEnum {
|
|
|
1620
2081
|
}
|
|
1621
2082
|
export declare type ProductAttributeValue = {
|
|
1622
2083
|
__typename?: 'ProductAttributeValue';
|
|
2084
|
+
/** Identifier of the product attribute */
|
|
1623
2085
|
productAttributeId?: Maybe<Scalars['String']>;
|
|
2086
|
+
/** Option identifier for the product attribute */
|
|
1624
2087
|
productAttributeOptionId?: Maybe<Scalars['String']>;
|
|
2088
|
+
/** Value of the product attribute */
|
|
1625
2089
|
value?: Maybe<Scalars['String']>;
|
|
1626
2090
|
};
|
|
1627
2091
|
export declare type ProductAttributeValueInput = {
|
|
@@ -1633,44 +2097,65 @@ export declare type ProductBrand = {
|
|
|
1633
2097
|
__typename?: 'ProductBrand';
|
|
1634
2098
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1635
2099
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2100
|
+
/** The description of the product's brand. */
|
|
1636
2101
|
description?: Maybe<Scalars['String']>;
|
|
1637
2102
|
id: Scalars['ID'];
|
|
2103
|
+
/** The image information of the product's brand. */
|
|
1638
2104
|
imageId?: Maybe<Scalars['String']>;
|
|
2105
|
+
/** It is the metadata information of the product brand. */
|
|
1639
2106
|
metaData?: Maybe<HTMLMetaData>;
|
|
2107
|
+
/** The name of the product's brand. */
|
|
1640
2108
|
name: Scalars['String'];
|
|
1641
2109
|
orderType?: Maybe<CategoryProductsOrderTypeEnum>;
|
|
2110
|
+
/** It is the information of which sales channel the product brand is in. */
|
|
1642
2111
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
2112
|
+
/** It is the translation information of the product brand. */
|
|
1643
2113
|
translations?: Maybe<Array<ProductBrandTranslation>>;
|
|
1644
2114
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1645
2115
|
};
|
|
1646
2116
|
export declare type ProductBrandInput = {
|
|
1647
2117
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1648
2118
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2119
|
+
/** The description of the product's brand. */
|
|
1649
2120
|
description?: InputMaybe<Scalars['String']>;
|
|
1650
2121
|
id?: InputMaybe<Scalars['ID']>;
|
|
2122
|
+
/** The image information of the product's brand. */
|
|
1651
2123
|
imageId?: InputMaybe<Scalars['String']>;
|
|
2124
|
+
/** It is the metadata information of the product brand. */
|
|
1652
2125
|
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
2126
|
+
/** The name of the product's brand. */
|
|
1653
2127
|
name: Scalars['String'];
|
|
1654
2128
|
orderType?: InputMaybe<CategoryProductsOrderTypeEnum>;
|
|
2129
|
+
/** It is the information of which sales channel the product brand is in. */
|
|
1655
2130
|
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
2131
|
+
/** It is the translation information of the product brand. */
|
|
1656
2132
|
translations?: InputMaybe<Array<ProductBrandTranslationInput>>;
|
|
1657
2133
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1658
2134
|
};
|
|
1659
2135
|
export declare type ProductBrandTranslation = {
|
|
1660
2136
|
__typename?: 'ProductBrandTranslation';
|
|
2137
|
+
/** It is the description information of the translation. */
|
|
1661
2138
|
description?: Maybe<Scalars['String']>;
|
|
2139
|
+
/** It is the name information of the translation. */
|
|
1662
2140
|
locale: Scalars['String'];
|
|
2141
|
+
/** It is the information in which language the translation is saved. */
|
|
1663
2142
|
name?: Maybe<Scalars['String']>;
|
|
1664
2143
|
};
|
|
1665
2144
|
export declare type ProductBrandTranslationInput = {
|
|
2145
|
+
/** It is the description information of the translation. */
|
|
1666
2146
|
description?: InputMaybe<Scalars['String']>;
|
|
2147
|
+
/** It is the name information of the translation. */
|
|
1667
2148
|
locale: Scalars['String'];
|
|
2149
|
+
/** It is the information in which language the translation is saved. */
|
|
1668
2150
|
name?: InputMaybe<Scalars['String']>;
|
|
1669
2151
|
};
|
|
1670
2152
|
export declare type ProductImage = {
|
|
1671
2153
|
__typename?: 'ProductImage';
|
|
2154
|
+
/** Id of the product image. */
|
|
1672
2155
|
imageId?: Maybe<Scalars['String']>;
|
|
2156
|
+
/** Whether the image is main image for the product or not. */
|
|
1673
2157
|
isMain: Scalars['Boolean'];
|
|
2158
|
+
/** Order of the product image. */
|
|
1674
2159
|
order: Scalars['Float'];
|
|
1675
2160
|
};
|
|
1676
2161
|
export declare type ProductImageInput = {
|
|
@@ -1725,10 +2210,15 @@ export declare type ProductPaginationResponse = {
|
|
|
1725
2210
|
};
|
|
1726
2211
|
export declare type ProductPrice = {
|
|
1727
2212
|
__typename?: 'ProductPrice';
|
|
2213
|
+
/** Buy price of product. */
|
|
1728
2214
|
buyPrice?: Maybe<Scalars['Float']>;
|
|
2215
|
+
/** Currency for the price of product. */
|
|
1729
2216
|
currency?: Maybe<Scalars['String']>;
|
|
2217
|
+
/** Discount price of product. */
|
|
1730
2218
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
2219
|
+
/** Id of the price list that the product belongs to. */
|
|
1731
2220
|
priceListId?: Maybe<Scalars['String']>;
|
|
2221
|
+
/** Sell price of product. */
|
|
1732
2222
|
sellPrice: Scalars['Float'];
|
|
1733
2223
|
};
|
|
1734
2224
|
export declare type ProductPriceInput = {
|
|
@@ -1740,10 +2230,15 @@ export declare type ProductPriceInput = {
|
|
|
1740
2230
|
};
|
|
1741
2231
|
export declare type ProductSearchResponse = {
|
|
1742
2232
|
__typename?: 'ProductSearchResponse';
|
|
2233
|
+
/** Number of search results listed in current page. */
|
|
1743
2234
|
count: Scalars['Float'];
|
|
2235
|
+
/** Search result */
|
|
1744
2236
|
data: Scalars['JSON'];
|
|
2237
|
+
/** Maximum number of results returned in each page. */
|
|
1745
2238
|
limit: Scalars['Float'];
|
|
2239
|
+
/** Current page number of the search results. */
|
|
1746
2240
|
page: Scalars['Float'];
|
|
2241
|
+
/** Total number of search results. */
|
|
1747
2242
|
totalCount: Scalars['Float'];
|
|
1748
2243
|
};
|
|
1749
2244
|
export declare type ProductStockLocation = {
|
|
@@ -1761,10 +2256,14 @@ export declare type ProductStockLocationInput = {
|
|
|
1761
2256
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1762
2257
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1763
2258
|
id?: InputMaybe<Scalars['ID']>;
|
|
2259
|
+
/** It is the product id to which the variant associated. */
|
|
1764
2260
|
productId: Scalars['String'];
|
|
2261
|
+
/** It is the stock quantity of the variant. */
|
|
1765
2262
|
stockCount: Scalars['Float'];
|
|
2263
|
+
/** It is the stock location id information where the stock information will be edited. */
|
|
1766
2264
|
stockLocationId: Scalars['String'];
|
|
1767
2265
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2266
|
+
/** It is the of the variant. */
|
|
1768
2267
|
variantId: Scalars['String'];
|
|
1769
2268
|
};
|
|
1770
2269
|
export declare type ProductStockLocationPaginationResponse = {
|
|
@@ -1784,7 +2283,9 @@ export declare type ProductTag = {
|
|
|
1784
2283
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1785
2284
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1786
2285
|
id: Scalars['ID'];
|
|
2286
|
+
/** The name of the product's tag. */
|
|
1787
2287
|
name: Scalars['String'];
|
|
2288
|
+
/** The name of the product's tag. */
|
|
1788
2289
|
translations?: Maybe<Array<ProductTagTranslation>>;
|
|
1789
2290
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1790
2291
|
};
|
|
@@ -1792,25 +2293,36 @@ export declare type ProductTagInput = {
|
|
|
1792
2293
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1793
2294
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1794
2295
|
id?: InputMaybe<Scalars['ID']>;
|
|
2296
|
+
/** The name of the product's tag. */
|
|
1795
2297
|
name: Scalars['String'];
|
|
2298
|
+
/** The name of the product's tag. */
|
|
1796
2299
|
translations?: InputMaybe<Array<ProductTagTranslationInput>>;
|
|
1797
2300
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1798
2301
|
};
|
|
1799
2302
|
export declare type ProductTagTranslation = {
|
|
1800
2303
|
__typename?: 'ProductTagTranslation';
|
|
2304
|
+
/** It is the description information of the translation. */
|
|
1801
2305
|
description?: Maybe<Scalars['String']>;
|
|
2306
|
+
/** It is the name information of the translation. */
|
|
1802
2307
|
locale: Scalars['String'];
|
|
2308
|
+
/** It is the information in which language the translation is saved. */
|
|
1803
2309
|
name?: Maybe<Scalars['String']>;
|
|
1804
2310
|
};
|
|
1805
2311
|
export declare type ProductTagTranslationInput = {
|
|
2312
|
+
/** It is the description information of the translation. */
|
|
1806
2313
|
description?: InputMaybe<Scalars['String']>;
|
|
2314
|
+
/** It is the name information of the translation. */
|
|
1807
2315
|
locale: Scalars['String'];
|
|
2316
|
+
/** It is the information in which language the translation is saved. */
|
|
1808
2317
|
name?: InputMaybe<Scalars['String']>;
|
|
1809
2318
|
};
|
|
1810
2319
|
export declare type ProductTranslation = {
|
|
1811
2320
|
__typename?: 'ProductTranslation';
|
|
2321
|
+
/** It is the description information of the translation. */
|
|
1812
2322
|
description?: Maybe<Scalars['String']>;
|
|
2323
|
+
/** It is the name information of the translation. */
|
|
1813
2324
|
locale: Scalars['String'];
|
|
2325
|
+
/** It is the information in which language the translation is saved. */
|
|
1814
2326
|
name?: Maybe<Scalars['String']>;
|
|
1815
2327
|
};
|
|
1816
2328
|
export declare type ProductTranslationInput = {
|
|
@@ -1826,8 +2338,11 @@ export declare enum ProductTypeEnum {
|
|
|
1826
2338
|
}
|
|
1827
2339
|
export declare type ProductVariantType = {
|
|
1828
2340
|
__typename?: 'ProductVariantType';
|
|
2341
|
+
/** Order of the variant type. */
|
|
1829
2342
|
order: Scalars['Float'];
|
|
2343
|
+
/** Id of variant type. */
|
|
1830
2344
|
variantTypeId: Scalars['String'];
|
|
2345
|
+
/** List of variant value identifiers. */
|
|
1831
2346
|
variantValueIds?: Maybe<Array<Scalars['String']>>;
|
|
1832
2347
|
};
|
|
1833
2348
|
export declare type ProductVariantTypeInput = {
|
|
@@ -1839,24 +2354,41 @@ export declare type Query = {
|
|
|
1839
2354
|
__typename?: 'Query';
|
|
1840
2355
|
/** By using this api you can get properties of merchant and merchant staff. */
|
|
1841
2356
|
getAuthorizedApp?: Maybe<AuthorizedApp>;
|
|
2357
|
+
/** Upload url for the specified image. */
|
|
1842
2358
|
getImageUploadUrl: Scalars['String'];
|
|
1843
2359
|
/** By using this api you can get properties of merchant and merchant staff. */
|
|
1844
2360
|
getMerchant: MerchantResponse;
|
|
2361
|
+
/** Using this api you can view all licenses owned by merchant. */
|
|
1845
2362
|
getMerchantLicence: MerchantLicence;
|
|
1846
2363
|
/** Using this api, you can view your sales channel. */
|
|
1847
2364
|
getSalesChannel?: Maybe<SalesChannel>;
|
|
2365
|
+
/**
|
|
2366
|
+
* Using this api, you can view the categories of products.
|
|
2367
|
+
* Search applies to following fields: `name`
|
|
2368
|
+
*/
|
|
1848
2369
|
listCategory: Array<Category>;
|
|
1849
2370
|
listCity: Array<City>;
|
|
1850
2371
|
listCountry: Array<Country>;
|
|
1851
2372
|
listCustomer: CustomerPaginationResponse;
|
|
1852
2373
|
listDistrict: Array<District>;
|
|
2374
|
+
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
1853
2375
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
1854
2376
|
listOrder: OrderPaginationResponse;
|
|
1855
2377
|
listPriceList: Array<PriceList>;
|
|
2378
|
+
/**
|
|
2379
|
+
* Use this query to list products.
|
|
2380
|
+
* Sort applies to following fields: `updatedAt`
|
|
2381
|
+
*/
|
|
1856
2382
|
listProduct: ProductPaginationResponse;
|
|
2383
|
+
/** Use this query to list product attributes. */
|
|
1857
2384
|
listProductAttribute: Array<ProductAttribute>;
|
|
2385
|
+
/**
|
|
2386
|
+
* Using this api, you can view the brands of products.
|
|
2387
|
+
* Search applies to following fields: `name`
|
|
2388
|
+
*/
|
|
1858
2389
|
listProductBrand: Array<ProductBrand>;
|
|
1859
2390
|
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
2391
|
+
/** Using this api, you can view the tags of products. */
|
|
1860
2392
|
listProductTag: Array<ProductTag>;
|
|
1861
2393
|
listSalesChannel: Array<SalesChannel>;
|
|
1862
2394
|
listState: Array<State>;
|
|
@@ -1865,10 +2397,12 @@ export declare type Query = {
|
|
|
1865
2397
|
/** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
|
|
1866
2398
|
listStorefrontJSScript: Array<StorefrontJSScript>;
|
|
1867
2399
|
listTown: Array<Town>;
|
|
2400
|
+
/** Using this api, you can view the brands of products. */
|
|
1868
2401
|
listVariantType: Array<VariantType>;
|
|
1869
2402
|
/** Use this query to list active webhooks of your application. */
|
|
1870
2403
|
listWebhook: Array<Webhook>;
|
|
1871
2404
|
me?: Maybe<MeResponse>;
|
|
2405
|
+
/** Result(s) containing searched products. */
|
|
1872
2406
|
searchProducts: ProductSearchResponse;
|
|
1873
2407
|
};
|
|
1874
2408
|
export declare type QuerygetImageUploadUrlArgs = {
|
|
@@ -1944,6 +2478,7 @@ export declare type QuerylistProductArgs = {
|
|
|
1944
2478
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
1945
2479
|
pagination?: InputMaybe<PaginationInput>;
|
|
1946
2480
|
sku?: InputMaybe<StringFilterInput>;
|
|
2481
|
+
sort?: InputMaybe<Scalars['String']>;
|
|
1947
2482
|
};
|
|
1948
2483
|
export declare type QuerylistProductAttributeArgs = {
|
|
1949
2484
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -2061,9 +2596,13 @@ export declare type SaveStockLocationsInput = {
|
|
|
2061
2596
|
productStockLocationInputs?: InputMaybe<Array<ProductStockLocationInput>>;
|
|
2062
2597
|
};
|
|
2063
2598
|
export declare type SearchInput = {
|
|
2599
|
+
/** Barcode list search products. */
|
|
2064
2600
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
2601
|
+
/** Pagination input */
|
|
2065
2602
|
pagination?: InputMaybe<PaginationInput>;
|
|
2603
|
+
/** Query string to search products. */
|
|
2066
2604
|
query?: InputMaybe<Scalars['String']>;
|
|
2605
|
+
/** SKU list search products. */
|
|
2067
2606
|
skuList?: InputMaybe<Array<Scalars['String']>>;
|
|
2068
2607
|
};
|
|
2069
2608
|
/** Shipping Method Enum */
|
|
@@ -2093,46 +2632,68 @@ export declare type State = {
|
|
|
2093
2632
|
};
|
|
2094
2633
|
export declare type StockLocation = {
|
|
2095
2634
|
__typename?: 'StockLocation';
|
|
2635
|
+
/** It is the address information of the stock location. */
|
|
2096
2636
|
address?: Maybe<StockLocationAddress>;
|
|
2097
2637
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2098
2638
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2099
2639
|
id: Scalars['ID'];
|
|
2640
|
+
/** It is the name of the stock location. */
|
|
2100
2641
|
name: Scalars['String'];
|
|
2642
|
+
/** It is the type enum of the stock location. */
|
|
2101
2643
|
type?: Maybe<StockLocationTypeEnum>;
|
|
2102
2644
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2103
2645
|
};
|
|
2104
2646
|
export declare type StockLocationAddress = {
|
|
2105
2647
|
__typename?: 'StockLocationAddress';
|
|
2648
|
+
/** It is the full address of the stock location. */
|
|
2106
2649
|
address?: Maybe<Scalars['String']>;
|
|
2650
|
+
/** It is the city information of the address. */
|
|
2107
2651
|
city?: Maybe<StockLocationAddressCity>;
|
|
2652
|
+
/** It is the country information of the address. */
|
|
2108
2653
|
country?: Maybe<StockLocationAddressCountry>;
|
|
2654
|
+
/** It is the district information of the address. */
|
|
2109
2655
|
district?: Maybe<StockLocationAddressDistrict>;
|
|
2656
|
+
/** It is the phone number of the address. */
|
|
2110
2657
|
phone?: Maybe<Scalars['String']>;
|
|
2658
|
+
/** It is the postal code of the address. */
|
|
2111
2659
|
postalCode?: Maybe<Scalars['String']>;
|
|
2660
|
+
/** It is the state information of the address. */
|
|
2112
2661
|
state?: Maybe<StockLocationAddressState>;
|
|
2113
2662
|
};
|
|
2114
2663
|
export declare type StockLocationAddressCity = {
|
|
2115
2664
|
__typename?: 'StockLocationAddressCity';
|
|
2665
|
+
/** It is the code of the city of the address. */
|
|
2116
2666
|
code?: Maybe<Scalars['String']>;
|
|
2667
|
+
/** It is the id of the city of the address. */
|
|
2117
2668
|
id?: Maybe<Scalars['String']>;
|
|
2669
|
+
/** It is the name of the city of the address. */
|
|
2118
2670
|
name: Scalars['String'];
|
|
2119
2671
|
};
|
|
2120
2672
|
export declare type StockLocationAddressCountry = {
|
|
2121
2673
|
__typename?: 'StockLocationAddressCountry';
|
|
2674
|
+
/** It is the code of the country of the address. */
|
|
2122
2675
|
code?: Maybe<Scalars['String']>;
|
|
2676
|
+
/** It is the id of the country of the address. */
|
|
2123
2677
|
id?: Maybe<Scalars['String']>;
|
|
2678
|
+
/** It is the name of the country of the address. */
|
|
2124
2679
|
name: Scalars['String'];
|
|
2125
2680
|
};
|
|
2126
2681
|
export declare type StockLocationAddressDistrict = {
|
|
2127
2682
|
__typename?: 'StockLocationAddressDistrict';
|
|
2683
|
+
/** It is the code of the district of the address. */
|
|
2128
2684
|
code?: Maybe<Scalars['String']>;
|
|
2685
|
+
/** It is the id of the district of the address. */
|
|
2129
2686
|
id?: Maybe<Scalars['String']>;
|
|
2687
|
+
/** It is the name of the district of the address. */
|
|
2130
2688
|
name?: Maybe<Scalars['String']>;
|
|
2131
2689
|
};
|
|
2132
2690
|
export declare type StockLocationAddressState = {
|
|
2133
2691
|
__typename?: 'StockLocationAddressState';
|
|
2692
|
+
/** It is the code of the state of the address. */
|
|
2134
2693
|
code?: Maybe<Scalars['String']>;
|
|
2694
|
+
/** It is the id of the state of the address. */
|
|
2135
2695
|
id?: Maybe<Scalars['String']>;
|
|
2696
|
+
/** It is the name of the state of the address. */
|
|
2136
2697
|
name?: Maybe<Scalars['String']>;
|
|
2137
2698
|
};
|
|
2138
2699
|
/** Stock Location Types */
|
|
@@ -2219,22 +2780,38 @@ export declare type Town = {
|
|
|
2219
2780
|
};
|
|
2220
2781
|
export declare type TrackingInfo = {
|
|
2221
2782
|
__typename?: 'TrackingInfo';
|
|
2783
|
+
/** It is the barcode of the order package. */
|
|
2222
2784
|
barcode?: Maybe<Scalars['String']>;
|
|
2785
|
+
/** It is the name of the cargo company. */
|
|
2223
2786
|
cargoCompany?: Maybe<Scalars['String']>;
|
|
2787
|
+
/** Indicates whether the notification is sent to the customer after the cargo is delivered. ***isSendNotification*** returns true if the notification is sent. */
|
|
2224
2788
|
isSendNotification?: Maybe<Scalars['Boolean']>;
|
|
2789
|
+
/** It is the tracking link of the order package. */
|
|
2225
2790
|
trackingLink?: Maybe<Scalars['String']>;
|
|
2791
|
+
/** It is the tracking number of the order package. */
|
|
2226
2792
|
trackingNumber?: Maybe<Scalars['String']>;
|
|
2227
2793
|
};
|
|
2228
2794
|
export declare type TrackingInfoDetailInput = {
|
|
2795
|
+
/** It is the barcode of the order package. */
|
|
2229
2796
|
barcode?: InputMaybe<Scalars['String']>;
|
|
2797
|
+
/** It is the name of the cargo company. */
|
|
2230
2798
|
cargoCompany?: InputMaybe<Scalars['String']>;
|
|
2799
|
+
/** If the customer is to be informed after the cargo is delivered, this field can be sent as ```true```. */
|
|
2231
2800
|
isSendNotification?: InputMaybe<Scalars['Boolean']>;
|
|
2801
|
+
/** It is the tracking link of the order package. */
|
|
2232
2802
|
trackingLink?: InputMaybe<Scalars['String']>;
|
|
2803
|
+
/** It is the tracking number of the order package. */
|
|
2233
2804
|
trackingNumber?: InputMaybe<Scalars['String']>;
|
|
2234
2805
|
};
|
|
2235
2806
|
export declare type UpdateOrderAddressesInput = {
|
|
2807
|
+
/** The address information to which the order will be billing. */
|
|
2236
2808
|
billingAddress?: InputMaybe<OrderAddressInput>;
|
|
2809
|
+
/**
|
|
2810
|
+
* It is the order id for which the invoice is issued.
|
|
2811
|
+
* * Is the entered id must be exist in ikas.
|
|
2812
|
+
*/
|
|
2237
2813
|
orderId: Scalars['String'];
|
|
2814
|
+
/** The address information to which the order will be shipping. */
|
|
2238
2815
|
shippingAddress?: InputMaybe<OrderAddressInput>;
|
|
2239
2816
|
};
|
|
2240
2817
|
export declare type UpdateOrderInput = {
|
|
@@ -2244,33 +2821,56 @@ export declare type UpdateOrderInput = {
|
|
|
2244
2821
|
restockItems?: InputMaybe<Scalars['Boolean']>;
|
|
2245
2822
|
};
|
|
2246
2823
|
export declare type UpdateOrderPackageStatusInput = {
|
|
2824
|
+
/**
|
|
2825
|
+
* It is the order id whose status will be updated.
|
|
2826
|
+
* * Is the entered id must be exist in ikas.
|
|
2827
|
+
*/
|
|
2247
2828
|
orderId: Scalars['String'];
|
|
2829
|
+
/** A list of package objects, each containing input about an package in the order. */
|
|
2248
2830
|
packages: Array<UpdateOrderPackageStatusPackagesInput>;
|
|
2249
2831
|
};
|
|
2250
2832
|
export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
2833
|
+
/** If the package fulfill status is an ```ERROR``` , this field can be sent as full. */
|
|
2251
2834
|
errorMessage?: InputMaybe<Scalars['String']>;
|
|
2835
|
+
/**
|
|
2836
|
+
* It is the package id whose status will be updated.
|
|
2837
|
+
* * Is the entered id must be exist in ikas.
|
|
2838
|
+
*/
|
|
2252
2839
|
packageId: Scalars['String'];
|
|
2840
|
+
/** It is the status enum of the will be updated package */
|
|
2253
2841
|
status: OrderPackageFulfillStatusEnum;
|
|
2842
|
+
/** It is the tracking information of the package */
|
|
2254
2843
|
trackingInfo?: InputMaybe<TrackingInfoDetailInput>;
|
|
2255
2844
|
};
|
|
2256
2845
|
export declare type UpdateProductSalesChannelStatusInput = {
|
|
2846
|
+
/** Status of the product in the updated sales channels. */
|
|
2257
2847
|
active: Scalars['Boolean'];
|
|
2848
|
+
/** Id of the product to update its sales channels. */
|
|
2258
2849
|
productId: Scalars['String'];
|
|
2259
2850
|
};
|
|
2260
2851
|
export declare type Variant = {
|
|
2261
2852
|
__typename?: 'Variant';
|
|
2853
|
+
/** List of variant attributes. */
|
|
2262
2854
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
2855
|
+
/** List of barcode for the variant. */
|
|
2263
2856
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
2264
2857
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2265
2858
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2266
2859
|
id: Scalars['ID'];
|
|
2860
|
+
/** List of images for variant. */
|
|
2267
2861
|
images?: Maybe<Array<ProductImage>>;
|
|
2862
|
+
/** Whether the variant is active or not. */
|
|
2268
2863
|
isActive?: Maybe<Scalars['Boolean']>;
|
|
2864
|
+
/** List of prices for the variant. */
|
|
2269
2865
|
prices: Array<ProductPrice>;
|
|
2866
|
+
/** Whether to sell if variant is out of stock or not. */
|
|
2270
2867
|
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
2868
|
+
/** SKU of the variant. */
|
|
2271
2869
|
sku?: Maybe<Scalars['String']>;
|
|
2272
2870
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2871
|
+
/** List of variant value ids. */
|
|
2273
2872
|
variantValueIds?: Maybe<Array<VariantValueRelation>>;
|
|
2873
|
+
/** Weight of the variant. */
|
|
2274
2874
|
weight?: Maybe<Scalars['Float']>;
|
|
2275
2875
|
};
|
|
2276
2876
|
export declare type VariantInput = {
|
|
@@ -2298,55 +2898,77 @@ export declare type VariantType = {
|
|
|
2298
2898
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2299
2899
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2300
2900
|
id: Scalars['ID'];
|
|
2901
|
+
/** Product variant type name information. ***For example: Size, Color, Number etc.***.It can be a maximum of 100 characters. */
|
|
2301
2902
|
name: Scalars['String'];
|
|
2903
|
+
/** Product variant type selection type. It can be choice or color. */
|
|
2302
2904
|
selectionType: VariantSelectionTypeEnum;
|
|
2905
|
+
/** It is the translation information of the product variant types. */
|
|
2303
2906
|
translations?: Maybe<Array<VariantTypeTranslation>>;
|
|
2304
2907
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2908
|
+
/** Variant values used in Variant type. *** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. ***It is unique according to the value name.Values array size must have at least one element. */
|
|
2305
2909
|
values: Array<VariantValue>;
|
|
2306
2910
|
};
|
|
2307
2911
|
export declare type VariantTypeInput = {
|
|
2308
2912
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2309
2913
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2310
2914
|
id?: InputMaybe<Scalars['ID']>;
|
|
2915
|
+
/** Product variant type name information. ***For example: Size, Color, Number etc.***.It can be a maximum of 100 characters. */
|
|
2311
2916
|
name: Scalars['String'];
|
|
2917
|
+
/** Product variant type selection type. It can be choice or color. */
|
|
2312
2918
|
selectionType: VariantSelectionTypeEnum;
|
|
2919
|
+
/** It is the translation information of the product variant types. */
|
|
2313
2920
|
translations?: InputMaybe<Array<VariantTypeTranslationInput>>;
|
|
2314
2921
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2922
|
+
/** Variant values used in Variant type. *** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. ***It is unique according to the value name.Values array size must have at least one element. */
|
|
2315
2923
|
values: Array<VariantValueInput>;
|
|
2316
2924
|
};
|
|
2317
2925
|
export declare type VariantTypeTranslation = {
|
|
2318
2926
|
__typename?: 'VariantTypeTranslation';
|
|
2927
|
+
/** It is the name information of the translation. */
|
|
2319
2928
|
locale: Scalars['String'];
|
|
2929
|
+
/** It is the information in which language the translation is saved. */
|
|
2320
2930
|
name?: Maybe<Scalars['String']>;
|
|
2931
|
+
/** It is the translation information of the values of variant types. */
|
|
2321
2932
|
values?: Maybe<Array<VariantValueTranslation>>;
|
|
2322
2933
|
};
|
|
2323
2934
|
export declare type VariantTypeTranslationInput = {
|
|
2935
|
+
/** It is the name information of the translation. */
|
|
2324
2936
|
locale: Scalars['String'];
|
|
2937
|
+
/** It is the information in which language the translation is saved. */
|
|
2325
2938
|
name?: InputMaybe<Scalars['String']>;
|
|
2939
|
+
/** It is the translation information of the values of variant types. */
|
|
2326
2940
|
values?: InputMaybe<Array<VariantValueTranslationInput>>;
|
|
2327
2941
|
};
|
|
2328
2942
|
export declare type VariantValue = {
|
|
2329
2943
|
__typename?: 'VariantValue';
|
|
2944
|
+
/** It is the color code information of the variant values. It can be a maximum of 7 characters. */
|
|
2330
2945
|
colorCode?: Maybe<Scalars['String']>;
|
|
2331
2946
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2332
2947
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2333
2948
|
id: Scalars['ID'];
|
|
2949
|
+
/** It is the name information of the values used in the Variant type. Value information of Variant type is unique according to name.It can be a maximum of 100 characters. */
|
|
2334
2950
|
name: Scalars['String'];
|
|
2951
|
+
/** It is the image information of the variant values. */
|
|
2335
2952
|
thumbnailImageId?: Maybe<Scalars['String']>;
|
|
2336
2953
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2337
2954
|
};
|
|
2338
2955
|
export declare type VariantValueInput = {
|
|
2956
|
+
/** It is the color code information of the variant values. It can be a maximum of 7 characters. */
|
|
2339
2957
|
colorCode?: InputMaybe<Scalars['String']>;
|
|
2340
2958
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2341
2959
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2342
2960
|
id?: InputMaybe<Scalars['ID']>;
|
|
2961
|
+
/** It is the name information of the values used in the Variant type. Value information of Variant type is unique according to name.It can be a maximum of 100 characters. */
|
|
2343
2962
|
name: Scalars['String'];
|
|
2963
|
+
/** It is the image information of the variant values. */
|
|
2344
2964
|
thumbnailImageId?: InputMaybe<Scalars['String']>;
|
|
2345
2965
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2346
2966
|
};
|
|
2347
2967
|
export declare type VariantValueRelation = {
|
|
2348
2968
|
__typename?: 'VariantValueRelation';
|
|
2969
|
+
/** Id of variant type. */
|
|
2349
2970
|
variantTypeId: Scalars['String'];
|
|
2971
|
+
/** iD of the variant value. */
|
|
2350
2972
|
variantValueId: Scalars['String'];
|
|
2351
2973
|
};
|
|
2352
2974
|
export declare type VariantValueRelationInput = {
|
|
@@ -2356,10 +2978,12 @@ export declare type VariantValueRelationInput = {
|
|
|
2356
2978
|
export declare type VariantValueTranslation = {
|
|
2357
2979
|
__typename?: 'VariantValueTranslation';
|
|
2358
2980
|
id: Scalars['String'];
|
|
2981
|
+
/** It is the information in which language the translation is saved. */
|
|
2359
2982
|
name?: Maybe<Scalars['String']>;
|
|
2360
2983
|
};
|
|
2361
2984
|
export declare type VariantValueTranslationInput = {
|
|
2362
2985
|
id: Scalars['String'];
|
|
2986
|
+
/** It is the information in which language the translation is saved. */
|
|
2363
2987
|
name?: InputMaybe<Scalars['String']>;
|
|
2364
2988
|
};
|
|
2365
2989
|
/** **Webhook** model description. */
|