@ikas/api-client 1.0.16 → 1.0.18
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/dist/api/admin/generated/default-gqls.d.ts +11 -0
- package/dist/api/admin/generated/default-gqls.js +30 -19
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +398 -155
- package/dist/api/admin/generated/index.js +45 -86
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +9 -1
- package/dist/api/admin/generated/mutation.js +56 -0
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +4 -1
- package/dist/api/admin/generated/query.js +21 -0
- package/dist/api/admin/generated/query.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/webhook/models.d.ts +2 -2
- package/dist/models/webhook/models.js.map +1 -1
- package/package.json +1 -1
|
@@ -57,16 +57,6 @@ export declare type AddOrderInvoiceInput = {
|
|
|
57
57
|
/** It is the type enum of the invoice. */
|
|
58
58
|
type: InvoiceTypeEnum;
|
|
59
59
|
};
|
|
60
|
-
/** OrderAdjustment Enum */
|
|
61
|
-
export declare enum AdjustmentEnum {
|
|
62
|
-
DECREMENT = "DECREMENT",
|
|
63
|
-
INCREMENT = "INCREMENT"
|
|
64
|
-
}
|
|
65
|
-
/** Amount Type Enum */
|
|
66
|
-
export declare enum AmountTypeEnum {
|
|
67
|
-
AMOUNT = "AMOUNT",
|
|
68
|
-
RATIO = "RATIO"
|
|
69
|
-
}
|
|
70
60
|
/** Scope Enum for Apps */
|
|
71
61
|
export declare enum AppScopeEnum {
|
|
72
62
|
READ_CAMPAIGNS = "READ_CAMPAIGNS",
|
|
@@ -83,7 +73,7 @@ export declare enum AppScopeEnum {
|
|
|
83
73
|
}
|
|
84
74
|
export declare type ApproveOrderTransactionsInput = {
|
|
85
75
|
orderId: Scalars['String'];
|
|
86
|
-
paymentMethods?: InputMaybe<Array<
|
|
76
|
+
paymentMethods?: InputMaybe<Array<PaymentMethodTypeEnum>>;
|
|
87
77
|
};
|
|
88
78
|
export declare type AuthorizedApp = {
|
|
89
79
|
__typename?: 'AuthorizedApp';
|
|
@@ -106,7 +96,7 @@ export declare type AvailableShippingMethod = {
|
|
|
106
96
|
__typename?: 'AvailableShippingMethod';
|
|
107
97
|
price: Scalars['Float'];
|
|
108
98
|
rateName: Scalars['String'];
|
|
109
|
-
shippingMethod:
|
|
99
|
+
shippingMethod: OrderShippingMethodEnum;
|
|
110
100
|
shippingSettingsId: Scalars['String'];
|
|
111
101
|
shippingZoneRateId: Scalars['String'];
|
|
112
102
|
};
|
|
@@ -265,6 +255,49 @@ export declare type BulkUpdateProductsInput = {
|
|
|
265
255
|
/** Weight of the product. */
|
|
266
256
|
weight?: InputMaybe<Scalars['Float']>;
|
|
267
257
|
};
|
|
258
|
+
export declare type BundleProductInput = {
|
|
259
|
+
addToBundleBasePrice?: InputMaybe<Scalars['Boolean']>;
|
|
260
|
+
discountRatio?: InputMaybe<Scalars['Float']>;
|
|
261
|
+
filteredVariantIds: Array<Scalars['String']>;
|
|
262
|
+
maxQuantity?: InputMaybe<Scalars['Float']>;
|
|
263
|
+
minQuantity?: InputMaybe<Scalars['Float']>;
|
|
264
|
+
order: Scalars['Float'];
|
|
265
|
+
productId: Scalars['String'];
|
|
266
|
+
quantity: Scalars['Float'];
|
|
267
|
+
};
|
|
268
|
+
export declare type BundleProductModel = {
|
|
269
|
+
__typename?: 'BundleProductModel';
|
|
270
|
+
/** The setting that specifies whether the prices of the products to be added to the bundle product will be added to the base price of the bundle. If this setting is selected, the sales prices of the products in the bundle product are included on the bundle price. */
|
|
271
|
+
addToBundleBasePrice?: Maybe<Scalars['Boolean']>;
|
|
272
|
+
/** The discount rate that will be applied specifically to the product to be added to the bundle product. If the addToBundleBasePrice setting is selected, the discount is applied. */
|
|
273
|
+
discountRatio?: Maybe<Scalars['Float']>;
|
|
274
|
+
/** Selectable variant ids of the product that can be included in the bundle product. */
|
|
275
|
+
filteredVariantIds: Array<Scalars['String']>;
|
|
276
|
+
/** Maximum quantity of product that can be included in the bundle product. */
|
|
277
|
+
maxQuantity?: Maybe<Scalars['Float']>;
|
|
278
|
+
/** Minimum quantity of product that can be included in the bundle product. */
|
|
279
|
+
minQuantity?: Maybe<Scalars['Float']>;
|
|
280
|
+
/** Order of the product that can be included in the bundle product. */
|
|
281
|
+
order: Scalars['Float'];
|
|
282
|
+
/** Id of the product that can be included in the bundle product. */
|
|
283
|
+
productId: Scalars['String'];
|
|
284
|
+
/** Quantity of the product that can be included in the bundle product. */
|
|
285
|
+
quantity: Scalars['Float'];
|
|
286
|
+
};
|
|
287
|
+
export declare type BundleSettingsInput = {
|
|
288
|
+
maxBundleQuantity?: InputMaybe<Scalars['Float']>;
|
|
289
|
+
minBundleQuantity?: InputMaybe<Scalars['Float']>;
|
|
290
|
+
products: Array<BundleProductInput>;
|
|
291
|
+
};
|
|
292
|
+
export declare type BundleSettingsModel = {
|
|
293
|
+
__typename?: 'BundleSettingsModel';
|
|
294
|
+
/** Maximum quantity of products that can be in the bundle product. */
|
|
295
|
+
maxBundleQuantity?: Maybe<Scalars['Float']>;
|
|
296
|
+
/** Minimum quantity of products that can be in the bundle product. */
|
|
297
|
+
minBundleQuantity?: Maybe<Scalars['Float']>;
|
|
298
|
+
/** List of products that can be included in the bundle product. */
|
|
299
|
+
products: Array<BundleProductModel>;
|
|
300
|
+
};
|
|
268
301
|
export declare type CSVExportFilterInput = {
|
|
269
302
|
brandId?: InputMaybe<StringFilterInput>;
|
|
270
303
|
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
@@ -302,7 +335,7 @@ export declare type CampaignOfferProduct = {
|
|
|
302
335
|
countdownMinutes?: Maybe<Scalars['Float']>;
|
|
303
336
|
description?: Maybe<Scalars['String']>;
|
|
304
337
|
discountAmount?: Maybe<Scalars['Float']>;
|
|
305
|
-
discountType?: Maybe<
|
|
338
|
+
discountType?: Maybe<OrderAmountTypeEnum>;
|
|
306
339
|
excludedVariantIdList?: Maybe<Array<Scalars['String']>>;
|
|
307
340
|
id: Scalars['String'];
|
|
308
341
|
order: Scalars['Float'];
|
|
@@ -342,7 +375,6 @@ export declare enum CampaignOfferTypeEnum {
|
|
|
342
375
|
CROSS_SELL = "CROSS_SELL",
|
|
343
376
|
UPSELL = "UPSELL"
|
|
344
377
|
}
|
|
345
|
-
/** Campaign Type Enum */
|
|
346
378
|
export declare enum CampaignTypeEnum {
|
|
347
379
|
BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
|
|
348
380
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
@@ -362,20 +394,12 @@ export declare type CancelOrderLineItemInput = {
|
|
|
362
394
|
quantity: Scalars['Float'];
|
|
363
395
|
restockItems?: InputMaybe<Scalars['Boolean']>;
|
|
364
396
|
};
|
|
365
|
-
/** Cancelled Reason Enum */
|
|
366
|
-
export declare enum CancelledReasonEnum {
|
|
367
|
-
CUSTOMER = "CUSTOMER",
|
|
368
|
-
DECLINED = "DECLINED",
|
|
369
|
-
INVENTORY = "INVENTORY",
|
|
370
|
-
OTHER = "OTHER"
|
|
371
|
-
}
|
|
372
397
|
export declare enum CartCampaignOfferStatus {
|
|
373
398
|
ACCEPTED = "ACCEPTED",
|
|
374
399
|
REJECTED = "REJECTED",
|
|
375
400
|
REMOVED = "REMOVED",
|
|
376
401
|
WAITING_FOR_ACTION = "WAITING_FOR_ACTION"
|
|
377
402
|
}
|
|
378
|
-
/** Cart Created By Enum */
|
|
379
403
|
export declare enum CartCreatedByEnum {
|
|
380
404
|
ADMIN = "ADMIN",
|
|
381
405
|
CUSTOMER = "CUSTOMER"
|
|
@@ -392,7 +416,6 @@ export declare type CartV2CampaignOffer = {
|
|
|
392
416
|
targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
|
|
393
417
|
triggerSourceOrderLineId: Scalars['String'];
|
|
394
418
|
};
|
|
395
|
-
/** CartV2 Status Enum */
|
|
396
419
|
export declare enum CartV2StatusEnum {
|
|
397
420
|
COMPLETED = "COMPLETED",
|
|
398
421
|
FREEZE = "FREEZE",
|
|
@@ -441,6 +464,7 @@ export declare type CategoryConditionInput = {
|
|
|
441
464
|
export declare enum CategoryConditionTypeEnum {
|
|
442
465
|
CREATED_AT = "CREATED_AT",
|
|
443
466
|
DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
|
|
467
|
+
PRICE_RANGE = "PRICE_RANGE",
|
|
444
468
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
445
469
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
446
470
|
VARIANT_VALUE = "VARIANT_VALUE"
|
|
@@ -523,12 +547,10 @@ export declare type CategoryTranslationInput = {
|
|
|
523
547
|
/** It is the information in which language the translation is saved. */
|
|
524
548
|
name?: InputMaybe<Scalars['String']>;
|
|
525
549
|
};
|
|
526
|
-
/** Checkout Recovery Email Status Enum */
|
|
527
550
|
export declare enum CheckoutRecoveryEmailStatusEnum {
|
|
528
551
|
NOT_SENT = "NOT_SENT",
|
|
529
552
|
SENT = "SENT"
|
|
530
553
|
}
|
|
531
|
-
/** Checkout Recovery Status Enum */
|
|
532
554
|
export declare enum CheckoutRecoveryStatusEnum {
|
|
533
555
|
NOT_RECOVERED = "NOT_RECOVERED",
|
|
534
556
|
RECOVERED = "RECOVERED"
|
|
@@ -587,6 +609,10 @@ export declare type Country = {
|
|
|
587
609
|
subregion?: Maybe<Scalars['String']>;
|
|
588
610
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
589
611
|
};
|
|
612
|
+
export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
|
|
613
|
+
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
614
|
+
storeAppListingSubscriptionKey: Scalars['String'];
|
|
615
|
+
};
|
|
590
616
|
export declare type CreateOrderInput = {
|
|
591
617
|
/** It is the address to which the order will be billing. */
|
|
592
618
|
billingAddress?: InputMaybe<OrderAddressInput>;
|
|
@@ -629,7 +655,7 @@ export declare type CreateOrderInput = {
|
|
|
629
655
|
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
630
656
|
shippingLines?: InputMaybe<Array<OrderShippingLineInput>>;
|
|
631
657
|
/** It is the shipping method enum of the order */
|
|
632
|
-
shippingMethod?: InputMaybe<
|
|
658
|
+
shippingMethod?: InputMaybe<OrderShippingMethodEnum>;
|
|
633
659
|
/** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
|
|
634
660
|
terminalId?: InputMaybe<Scalars['String']>;
|
|
635
661
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
@@ -684,6 +710,7 @@ export declare type Customer = {
|
|
|
684
710
|
phone?: Maybe<Scalars['String']>;
|
|
685
711
|
/** The date the **email** was verified. */
|
|
686
712
|
phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
713
|
+
preferredLanguage?: Maybe<Scalars['String']>;
|
|
687
714
|
/** Registration source of customer. */
|
|
688
715
|
registrationSource?: Maybe<CustomerRegistrationSourceEnum>;
|
|
689
716
|
/** CustomerEmailSubscriptionStatusesEnum */
|
|
@@ -883,6 +910,15 @@ export declare type GetVideoUploadURLResponse = {
|
|
|
883
910
|
/** Upload url for the specified video. */
|
|
884
911
|
url: Scalars['String'];
|
|
885
912
|
};
|
|
913
|
+
export declare type GlobalTaxSettings = {
|
|
914
|
+
__typename?: 'GlobalTaxSettings';
|
|
915
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
916
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
917
|
+
id: Scalars['ID'];
|
|
918
|
+
isTaxExcludedOnPrices: Scalars['Boolean'];
|
|
919
|
+
isTaxExcludedOnShippingPrices: Scalars['Boolean'];
|
|
920
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
921
|
+
};
|
|
886
922
|
export declare type HTMLMetaData = {
|
|
887
923
|
__typename?: 'HTMLMetaData';
|
|
888
924
|
/** Canonical URL list of entity. */
|
|
@@ -980,7 +1016,6 @@ export declare type Invoice = {
|
|
|
980
1016
|
/** It is the type enum of the invoice. */
|
|
981
1017
|
type: InvoiceTypeEnum;
|
|
982
1018
|
};
|
|
983
|
-
/** Invoice Type Enum */
|
|
984
1019
|
export declare enum InvoiceTypeEnum {
|
|
985
1020
|
COMPANY = "COMPANY",
|
|
986
1021
|
INDIVIDUAL = "INDIVIDUAL",
|
|
@@ -997,6 +1032,7 @@ export declare type Language = {
|
|
|
997
1032
|
};
|
|
998
1033
|
export declare type LocationTranslations = {
|
|
999
1034
|
__typename?: 'LocationTranslations';
|
|
1035
|
+
de?: Maybe<Scalars['String']>;
|
|
1000
1036
|
en: Scalars['String'];
|
|
1001
1037
|
tr: Scalars['String'];
|
|
1002
1038
|
};
|
|
@@ -1012,7 +1048,7 @@ export declare type MeResponse = {
|
|
|
1012
1048
|
/** The id of the sales channel owned by the merchant. */
|
|
1013
1049
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
1014
1050
|
scope?: Maybe<Scalars['String']>;
|
|
1015
|
-
/** It keeps the information of the operations that this application can access and perform.For more information please review [Scopes section](/docs/intro#api-scopes). */
|
|
1051
|
+
/** It keeps the information of the operations that this application can access and perform. For more information please review [Scopes section](/docs/intro#api-scopes). */
|
|
1016
1052
|
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
1017
1053
|
/** The application's id in the store. */
|
|
1018
1054
|
storeAppId?: Maybe<Scalars['String']>;
|
|
@@ -1048,7 +1084,7 @@ export declare type MerchantAddress = {
|
|
|
1048
1084
|
};
|
|
1049
1085
|
export declare type MerchantAddressCity = {
|
|
1050
1086
|
__typename?: 'MerchantAddressCity';
|
|
1051
|
-
/** The
|
|
1087
|
+
/** The city code corresponding to the merchant's city. */
|
|
1052
1088
|
code?: Maybe<Scalars['String']>;
|
|
1053
1089
|
id?: Maybe<Scalars['String']>;
|
|
1054
1090
|
/** The merchant's normalized city name. */
|
|
@@ -1056,7 +1092,7 @@ export declare type MerchantAddressCity = {
|
|
|
1056
1092
|
};
|
|
1057
1093
|
export declare type MerchantAddressCountry = {
|
|
1058
1094
|
__typename?: 'MerchantAddressCountry';
|
|
1059
|
-
/** The
|
|
1095
|
+
/** The ISO3 country code corresponding to the merchant's country. */
|
|
1060
1096
|
code?: Maybe<Scalars['String']>;
|
|
1061
1097
|
id?: Maybe<Scalars['String']>;
|
|
1062
1098
|
/** The merchant's normalized country name. */
|
|
@@ -1064,7 +1100,7 @@ export declare type MerchantAddressCountry = {
|
|
|
1064
1100
|
};
|
|
1065
1101
|
export declare type MerchantAddressDistrict = {
|
|
1066
1102
|
__typename?: 'MerchantAddressDistrict';
|
|
1067
|
-
/** The
|
|
1103
|
+
/** The district code corresponding to the merchant's district. */
|
|
1068
1104
|
code?: Maybe<Scalars['String']>;
|
|
1069
1105
|
id?: Maybe<Scalars['String']>;
|
|
1070
1106
|
/** The merchant's normalized district name. */
|
|
@@ -1079,7 +1115,7 @@ export declare type MerchantAddressState = {
|
|
|
1079
1115
|
export declare type MerchantAppPayment = {
|
|
1080
1116
|
__typename?: 'MerchantAppPayment';
|
|
1081
1117
|
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
1082
|
-
appPaymentKey
|
|
1118
|
+
appPaymentKey?: Maybe<Scalars['String']>;
|
|
1083
1119
|
/** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
|
|
1084
1120
|
authorizedAppId?: Maybe<Scalars['String']>;
|
|
1085
1121
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1096,17 +1132,16 @@ export declare type MerchantAppPayment = {
|
|
|
1096
1132
|
status: MerchantAppPaymentStatusEnum;
|
|
1097
1133
|
/** The id of the application for which payment will be created in the store */
|
|
1098
1134
|
storeAppId: Scalars['String'];
|
|
1135
|
+
storeAppListingSubscriptionId?: Maybe<Scalars['String']>;
|
|
1136
|
+
storeAppListingSubscriptionKey?: Maybe<Scalars['String']>;
|
|
1099
1137
|
type: MerchantAppPaymentTypeEnum;
|
|
1100
1138
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1101
1139
|
};
|
|
1102
1140
|
export declare type MerchantAppPaymentInput = {
|
|
1103
|
-
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
1104
|
-
appPaymentKey: Scalars['String'];
|
|
1105
1141
|
/** The created merchant app keeps the name of the payment. */
|
|
1106
1142
|
name: Scalars['String'];
|
|
1107
|
-
/**
|
|
1108
|
-
|
|
1109
|
-
type: MerchantAppPaymentTypeEnum;
|
|
1143
|
+
/** 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. */
|
|
1144
|
+
price: Scalars['Float'];
|
|
1110
1145
|
};
|
|
1111
1146
|
export declare type MerchantAppPaymentPaginationResponse = {
|
|
1112
1147
|
__typename?: 'MerchantAppPaymentPaginationResponse';
|
|
@@ -1143,11 +1178,6 @@ export declare type MerchantAppPaymentPrice = {
|
|
|
1143
1178
|
/** 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. */
|
|
1144
1179
|
price: Scalars['Float'];
|
|
1145
1180
|
};
|
|
1146
|
-
export declare type MerchantAppPaymentPriceInput = {
|
|
1147
|
-
period: SubscriptionPeriodEnum;
|
|
1148
|
-
/** 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. */
|
|
1149
|
-
price: Scalars['Float'];
|
|
1150
|
-
};
|
|
1151
1181
|
export declare enum MerchantAppPaymentStatusEnum {
|
|
1152
1182
|
PAID = "PAID",
|
|
1153
1183
|
PAYMENT_FAILED = "PAYMENT_FAILED",
|
|
@@ -1162,7 +1192,7 @@ export declare type MerchantAppSubscription = {
|
|
|
1162
1192
|
/** The date the app licence was added. */
|
|
1163
1193
|
addedDate?: Maybe<Scalars['Timestamp']>;
|
|
1164
1194
|
/** It is the information of which type of app license is obtained. */
|
|
1165
|
-
appPaymentKey
|
|
1195
|
+
appPaymentKey?: Maybe<Scalars['String']>;
|
|
1166
1196
|
/** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
|
|
1167
1197
|
authorizedAppId?: Maybe<Scalars['String']>;
|
|
1168
1198
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1182,77 +1212,33 @@ export declare type MerchantAppSubscription = {
|
|
|
1182
1212
|
lastPaymentPrice: Scalars['Float'];
|
|
1183
1213
|
/** It is the price information including KDV, for which the last payment is made for the app license subscription. */
|
|
1184
1214
|
lastPaymentPriceWithTax: Scalars['Float'];
|
|
1185
|
-
merchantAppPaymentId
|
|
1215
|
+
merchantAppPaymentId?: Maybe<Scalars['String']>;
|
|
1186
1216
|
/** The name of the created application license is the information. */
|
|
1187
1217
|
name: Scalars['String'];
|
|
1188
1218
|
status: MerchantSubscriptionStatusEnum;
|
|
1189
1219
|
/** The id of the application to be licensed in the store */
|
|
1190
1220
|
storeAppId: Scalars['String'];
|
|
1221
|
+
storeAppListingSubscriptionId: Scalars['String'];
|
|
1222
|
+
storeAppListingSubscriptionKey: Scalars['String'];
|
|
1191
1223
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1192
1224
|
};
|
|
1193
1225
|
export declare type MerchantLicence = {
|
|
1194
1226
|
__typename?: 'MerchantLicence';
|
|
1195
1227
|
activeSubscriptionCode: SubscriptionCodeEnum;
|
|
1196
|
-
/** It is the id of the subscription to which the license is connected. */
|
|
1197
|
-
activeSubscriptionId: Scalars['String'];
|
|
1198
1228
|
/** If the license is attached to an app, its properties are kept in this domain. */
|
|
1199
1229
|
appSubscriptions?: Maybe<Array<MerchantAppSubscription>>;
|
|
1200
1230
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1201
|
-
/** It is the field where private subscription information is kept. */
|
|
1202
|
-
customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
|
|
1203
1231
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1232
|
+
developmentStore?: Maybe<Scalars['Boolean']>;
|
|
1204
1233
|
/** It is the information of the start date of the license. */
|
|
1205
1234
|
fromDate?: Maybe<Scalars['Timestamp']>;
|
|
1206
1235
|
id: Scalars['ID'];
|
|
1207
|
-
/** It is the information of the last date the license was active. */
|
|
1208
|
-
licenceActivationDate?: Maybe<Scalars['Timestamp']>;
|
|
1209
|
-
limits: Array<MerchantLimit>;
|
|
1210
1236
|
period?: Maybe<SubscriptionPeriodEnum>;
|
|
1211
1237
|
region: MerchantRegionEnum;
|
|
1212
|
-
status: MerchantLicenceStatusEnum;
|
|
1213
|
-
/** The date the Merchant license status was updated. */
|
|
1214
|
-
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1215
|
-
/** It is the subscription properties information of the license. */
|
|
1216
|
-
subscriptions: Array<MerchantSubscription>;
|
|
1217
1238
|
/** It is the information of the expiry date of the license. */
|
|
1218
1239
|
toDate?: Maybe<Scalars['Timestamp']>;
|
|
1219
1240
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1220
1241
|
};
|
|
1221
|
-
export declare enum MerchantLicenceStatusEnum {
|
|
1222
|
-
CHURN = "CHURN",
|
|
1223
|
-
CONTRACTION = "CONTRACTION",
|
|
1224
|
-
EXPANSION = "EXPANSION",
|
|
1225
|
-
FREEMIUM = "FREEMIUM",
|
|
1226
|
-
NEW = "NEW",
|
|
1227
|
-
REACTIVATION = "REACTIVATION",
|
|
1228
|
-
RENEWAL = "RENEWAL"
|
|
1229
|
-
}
|
|
1230
|
-
export declare type MerchantLimit = {
|
|
1231
|
-
__typename?: 'MerchantLimit';
|
|
1232
|
-
code: MerchantLimitCodeEnum;
|
|
1233
|
-
value: Scalars['Float'];
|
|
1234
|
-
};
|
|
1235
|
-
export declare enum MerchantLimitCodeEnum {
|
|
1236
|
-
ABANDONED_CHECKOUT_SUPPORT = "ABANDONED_CHECKOUT_SUPPORT",
|
|
1237
|
-
ADDITIONAL_POS_BRANCH = "ADDITIONAL_POS_BRANCH",
|
|
1238
|
-
ADDITIONAL_STOREFRONT = "ADDITIONAL_STOREFRONT",
|
|
1239
|
-
CAMPAIGN_SUPPORT = "CAMPAIGN_SUPPORT",
|
|
1240
|
-
CROSS_SELL_SUPPORT = "CROSS_SELL_SUPPORT",
|
|
1241
|
-
DOMAIN_SUPPORT = "DOMAIN_SUPPORT",
|
|
1242
|
-
LOCALIZATION_ROUTING_SUPPORT = "LOCALIZATION_ROUTING_SUPPORT",
|
|
1243
|
-
OMNI_CHANNEL_SUPPORT = "OMNI_CHANNEL_SUPPORT",
|
|
1244
|
-
PAYMENT_GATEWAY_RATE = "PAYMENT_GATEWAY_RATE",
|
|
1245
|
-
PRICE_LISTS_SUPPORT = "PRICE_LISTS_SUPPORT",
|
|
1246
|
-
PRODUCT_LIMIT = "PRODUCT_LIMIT",
|
|
1247
|
-
PRODUCT_SUBSCRIPTIONS_SUPPORT = "PRODUCT_SUBSCRIPTIONS_SUPPORT",
|
|
1248
|
-
RAFFLE_SUPPORT = "RAFFLE_SUPPORT",
|
|
1249
|
-
REFUND_SUPPORT = "REFUND_SUPPORT",
|
|
1250
|
-
REPORTING_SUPPORT = "REPORTING_SUPPORT",
|
|
1251
|
-
STAFF_LIMIT = "STAFF_LIMIT",
|
|
1252
|
-
STOCK_LOCATION_LIMIT = "STOCK_LOCATION_LIMIT",
|
|
1253
|
-
THEME_SUPPORT = "THEME_SUPPORT",
|
|
1254
|
-
UP_SELL_SUPPORT = "UP_SELL_SUPPORT"
|
|
1255
|
-
}
|
|
1256
1242
|
export declare enum MerchantRegionEnum {
|
|
1257
1243
|
AF = "AF",
|
|
1258
1244
|
AN = "AN",
|
|
@@ -1286,36 +1272,6 @@ export declare enum MerchantSettingsAddressTypeEnum {
|
|
|
1286
1272
|
CORPORATE = "CORPORATE",
|
|
1287
1273
|
INDIVIDUAL = "INDIVIDUAL"
|
|
1288
1274
|
}
|
|
1289
|
-
export declare type MerchantSubscription = {
|
|
1290
|
-
__typename?: 'MerchantSubscription';
|
|
1291
|
-
code: SubscriptionCodeEnum;
|
|
1292
|
-
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1293
|
-
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
1294
|
-
currencyCode?: Maybe<Scalars['String']>;
|
|
1295
|
-
currencySymbol?: Maybe<Scalars['String']>;
|
|
1296
|
-
deleted?: Maybe<Scalars['Boolean']>;
|
|
1297
|
-
id: Scalars['ID'];
|
|
1298
|
-
/** It is the date of receipt of the last payment for the license subscription. */
|
|
1299
|
-
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
1300
|
-
/** The discount rate on the last payment for the license subscription. */
|
|
1301
|
-
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
1302
|
-
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
1303
|
-
/** 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. */
|
|
1304
|
-
lastPaymentPeriodInDays: Scalars['Float'];
|
|
1305
|
-
/** It is the last payment information for the license subscription. */
|
|
1306
|
-
lastPaymentPrice: Scalars['Float'];
|
|
1307
|
-
/** It is the price information including KDV, for which the last payment is made for the license subscription. */
|
|
1308
|
-
lastPaymentPriceWithTax: Scalars['Float'];
|
|
1309
|
-
limits: Array<MerchantLimit>;
|
|
1310
|
-
/** It is the subscription name of the license. */
|
|
1311
|
-
name?: Maybe<Scalars['String']>;
|
|
1312
|
-
/** It is the Id information of the sales channel to which the subscription of the license is connected. */
|
|
1313
|
-
salesChannelId?: Maybe<Scalars['String']>;
|
|
1314
|
-
status: MerchantSubscriptionStatusEnum;
|
|
1315
|
-
/** It is the subscription id of the license. */
|
|
1316
|
-
subscriptionId: Scalars['String'];
|
|
1317
|
-
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1318
|
-
};
|
|
1319
1275
|
export declare enum MerchantSubscriptionStatusEnum {
|
|
1320
1276
|
ACTIVE = "ACTIVE",
|
|
1321
1277
|
REMOVED = "REMOVED",
|
|
@@ -1326,6 +1282,7 @@ export declare type Mutation = {
|
|
|
1326
1282
|
addCustomTimelineEntry: Scalars['Boolean'];
|
|
1327
1283
|
/** Use this mutation to add invoice to order. */
|
|
1328
1284
|
addOrderInvoice?: Maybe<Order>;
|
|
1285
|
+
addOrderTag: Scalars['Boolean'];
|
|
1329
1286
|
approvePendingOrderTransactions: Scalars['Boolean'];
|
|
1330
1287
|
/** Response indicating the status of operation. */
|
|
1331
1288
|
bulkUpdateProducts: Scalars['String'];
|
|
@@ -1335,10 +1292,13 @@ export declare type Mutation = {
|
|
|
1335
1292
|
cancelOrderLine: Order;
|
|
1336
1293
|
/** Using this api, you can add payment features to a merchant app. */
|
|
1337
1294
|
createMerchantAppPayment: MerchantAppPayment;
|
|
1295
|
+
/** Using this api, you can add payment features to a merchant app with app subscription id. */
|
|
1296
|
+
createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
|
|
1338
1297
|
/** Use this mutation if you want to create a new order with transactions. */
|
|
1339
1298
|
createOrderWithTransactions: Order;
|
|
1340
1299
|
/** Using this api, you can delete the categories of products. */
|
|
1341
1300
|
deleteCategoryList: Scalars['Boolean'];
|
|
1301
|
+
deleteOrderTagList: Scalars['Boolean'];
|
|
1342
1302
|
/** Use this mutation to delete product attributes with specific ids. */
|
|
1343
1303
|
deleteProductAttributeList: Scalars['Boolean'];
|
|
1344
1304
|
/** Using this api, you can delete the brands of products. */
|
|
@@ -1347,6 +1307,8 @@ export declare type Mutation = {
|
|
|
1347
1307
|
deleteProductList: Scalars['Boolean'];
|
|
1348
1308
|
/** Using this api, you can delete the tags of products. */
|
|
1349
1309
|
deleteProductTagList: Scalars['Boolean'];
|
|
1310
|
+
/** Using this api, you can delete the units of products. */
|
|
1311
|
+
deleteProductUnitList: Scalars['Boolean'];
|
|
1350
1312
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
1351
1313
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
1352
1314
|
/** Using this api, you can delete the variant types of products. */
|
|
@@ -1357,11 +1319,15 @@ export declare type Mutation = {
|
|
|
1357
1319
|
deleteWebhook: Scalars['Boolean'];
|
|
1358
1320
|
/** Use this mutation to fulfill order line items. */
|
|
1359
1321
|
fulfillOrder: Order;
|
|
1322
|
+
/** Using this api, you can collect demo day. */
|
|
1323
|
+
getAppDemoDay?: Maybe<Scalars['Float']>;
|
|
1360
1324
|
productAttributeImport: CSVImportResponse;
|
|
1361
1325
|
/** Use this mutation to refund given order lines. */
|
|
1362
1326
|
refundOrderLine: Order;
|
|
1327
|
+
removeOrderTag: Scalars['Boolean'];
|
|
1363
1328
|
/** Using this api, you can update the categories of products. */
|
|
1364
1329
|
saveCategory: Category;
|
|
1330
|
+
saveOrderTag: OrderTag;
|
|
1365
1331
|
/** Use this mutation to create or update a product with provided input values. */
|
|
1366
1332
|
saveProduct: Product;
|
|
1367
1333
|
/** Use this mutation to create or update product attributes with provided input values. */
|
|
@@ -1372,6 +1338,8 @@ export declare type Mutation = {
|
|
|
1372
1338
|
saveProductStockLocations: Scalars['Boolean'];
|
|
1373
1339
|
/** Using this api, you can update the tags of products. */
|
|
1374
1340
|
saveProductTag: ProductTag;
|
|
1341
|
+
/** Using this api, you can update the units of products. */
|
|
1342
|
+
saveProductUnit: ProductUnit;
|
|
1375
1343
|
/** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
|
|
1376
1344
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
1377
1345
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
@@ -1399,6 +1367,9 @@ export declare type MutationaddCustomTimelineEntryArgs = {
|
|
|
1399
1367
|
export declare type MutationaddOrderInvoiceArgs = {
|
|
1400
1368
|
input: AddOrderInvoiceInput;
|
|
1401
1369
|
};
|
|
1370
|
+
export declare type MutationaddOrderTagArgs = {
|
|
1371
|
+
input: UpdateOrderTagInput;
|
|
1372
|
+
};
|
|
1402
1373
|
export declare type MutationapprovePendingOrderTransactionsArgs = {
|
|
1403
1374
|
input: ApproveOrderTransactionsInput;
|
|
1404
1375
|
};
|
|
@@ -1414,12 +1385,18 @@ export declare type MutationcancelOrderLineArgs = {
|
|
|
1414
1385
|
export declare type MutationcreateMerchantAppPaymentArgs = {
|
|
1415
1386
|
input: MerchantAppPaymentInput;
|
|
1416
1387
|
};
|
|
1388
|
+
export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
|
|
1389
|
+
input: CreateMerchantAppPaymentWithSubscriptionInput;
|
|
1390
|
+
};
|
|
1417
1391
|
export declare type MutationcreateOrderWithTransactionsArgs = {
|
|
1418
1392
|
input: CreateOrderWithTransactionsInput;
|
|
1419
1393
|
};
|
|
1420
1394
|
export declare type MutationdeleteCategoryListArgs = {
|
|
1421
1395
|
idList: Array<Scalars['String']>;
|
|
1422
1396
|
};
|
|
1397
|
+
export declare type MutationdeleteOrderTagListArgs = {
|
|
1398
|
+
idList: Array<Scalars['String']>;
|
|
1399
|
+
};
|
|
1423
1400
|
export declare type MutationdeleteProductAttributeListArgs = {
|
|
1424
1401
|
idList: Array<Scalars['String']>;
|
|
1425
1402
|
};
|
|
@@ -1432,6 +1409,9 @@ export declare type MutationdeleteProductListArgs = {
|
|
|
1432
1409
|
export declare type MutationdeleteProductTagListArgs = {
|
|
1433
1410
|
idList: Array<Scalars['String']>;
|
|
1434
1411
|
};
|
|
1412
|
+
export declare type MutationdeleteProductUnitListArgs = {
|
|
1413
|
+
idList: Array<Scalars['String']>;
|
|
1414
|
+
};
|
|
1435
1415
|
export declare type MutationdeleteStorefrontJSScriptArgs = {
|
|
1436
1416
|
storefrontIdList: Array<Scalars['String']>;
|
|
1437
1417
|
};
|
|
@@ -1447,15 +1427,24 @@ export declare type MutationdeleteWebhookArgs = {
|
|
|
1447
1427
|
export declare type MutationfulfillOrderArgs = {
|
|
1448
1428
|
input: FulFillOrderInput;
|
|
1449
1429
|
};
|
|
1430
|
+
export declare type MutationgetAppDemoDayArgs = {
|
|
1431
|
+
input: CreateMerchantAppPaymentWithSubscriptionInput;
|
|
1432
|
+
};
|
|
1450
1433
|
export declare type MutationproductAttributeImportArgs = {
|
|
1451
1434
|
file: Scalars['String'];
|
|
1452
1435
|
};
|
|
1453
1436
|
export declare type MutationrefundOrderLineArgs = {
|
|
1454
1437
|
input: OrderRefundInput;
|
|
1455
1438
|
};
|
|
1439
|
+
export declare type MutationremoveOrderTagArgs = {
|
|
1440
|
+
input: UpdateOrderTagInput;
|
|
1441
|
+
};
|
|
1456
1442
|
export declare type MutationsaveCategoryArgs = {
|
|
1457
1443
|
input: CategoryInput;
|
|
1458
1444
|
};
|
|
1445
|
+
export declare type MutationsaveOrderTagArgs = {
|
|
1446
|
+
input: OrderTagInput;
|
|
1447
|
+
};
|
|
1459
1448
|
export declare type MutationsaveProductArgs = {
|
|
1460
1449
|
input: ProductInput;
|
|
1461
1450
|
};
|
|
@@ -1471,6 +1460,9 @@ export declare type MutationsaveProductStockLocationsArgs = {
|
|
|
1471
1460
|
export declare type MutationsaveProductTagArgs = {
|
|
1472
1461
|
input: ProductTagInput;
|
|
1473
1462
|
};
|
|
1463
|
+
export declare type MutationsaveProductUnitArgs = {
|
|
1464
|
+
input: ProductUnitInput;
|
|
1465
|
+
};
|
|
1474
1466
|
export declare type MutationsaveSalesChannelArgs = {
|
|
1475
1467
|
input: SalesChannelInput;
|
|
1476
1468
|
};
|
|
@@ -1515,7 +1507,7 @@ export declare type Order = {
|
|
|
1515
1507
|
branchSessionId?: Maybe<Scalars['String']>;
|
|
1516
1508
|
campaignOffers?: Maybe<Array<CartV2CampaignOffer>>;
|
|
1517
1509
|
/** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
|
|
1518
|
-
cancelReason?: Maybe<
|
|
1510
|
+
cancelReason?: Maybe<OrderCancelledReasonEnum>;
|
|
1519
1511
|
/** If the order has been cancelled, it indicates the cancellation date of the order. */
|
|
1520
1512
|
cancelledAt?: Maybe<Scalars['Timestamp']>;
|
|
1521
1513
|
cartId?: Maybe<Scalars['String']>;
|
|
@@ -1536,6 +1528,8 @@ export declare type Order = {
|
|
|
1536
1528
|
/** 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. */
|
|
1537
1529
|
customer?: Maybe<OrderCustomer>;
|
|
1538
1530
|
customerId?: Maybe<Scalars['String']>;
|
|
1531
|
+
/** It shows the number of orders given by the relevant customer. */
|
|
1532
|
+
customerOrderCount?: Maybe<Scalars['Float']>;
|
|
1539
1533
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1540
1534
|
dueDate?: Maybe<Scalars['Timestamp']>;
|
|
1541
1535
|
/** A list of gift package line objects, each containing information about a gift package pricing in the order. */
|
|
@@ -1589,7 +1583,7 @@ export declare type Order = {
|
|
|
1589
1583
|
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
1590
1584
|
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1591
1585
|
/** It is the shipping method enum of the order */
|
|
1592
|
-
shippingMethod:
|
|
1586
|
+
shippingMethod: OrderShippingMethodEnum;
|
|
1593
1587
|
shippingSettingsId?: Maybe<Scalars['String']>;
|
|
1594
1588
|
shippingZoneRateId?: Maybe<Scalars['String']>;
|
|
1595
1589
|
/** It is the `staff` information of the orders created via ikasPOS. */
|
|
@@ -1755,7 +1749,7 @@ export declare type OrderAdjustment = {
|
|
|
1755
1749
|
__typename?: 'OrderAdjustment';
|
|
1756
1750
|
/** It is the adjustment amount in the order. This amount can be positive or negative. */
|
|
1757
1751
|
amount: Scalars['Float'];
|
|
1758
|
-
amountType:
|
|
1752
|
+
amountType: OrderAmountTypeEnum;
|
|
1759
1753
|
/** A list of order line items, each containing information about a order line item in the order. */
|
|
1760
1754
|
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1761
1755
|
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
@@ -1768,7 +1762,7 @@ export declare type OrderAdjustment = {
|
|
|
1768
1762
|
name: Scalars['String'];
|
|
1769
1763
|
/** It is the order of the adjustment. Adjustments are applied in this order. */
|
|
1770
1764
|
order: Scalars['Float'];
|
|
1771
|
-
type:
|
|
1765
|
+
type: OrderAdjustmentEnum;
|
|
1772
1766
|
};
|
|
1773
1767
|
export declare type OrderAdjustmentAppliedOrderLine = {
|
|
1774
1768
|
__typename?: 'OrderAdjustmentAppliedOrderLine';
|
|
@@ -1781,11 +1775,15 @@ export declare type OrderAdjustmentAppliedOrderLine = {
|
|
|
1781
1775
|
/** It is the id of the order line item to which the adjustment is applied. */
|
|
1782
1776
|
orderLineId: Scalars['String'];
|
|
1783
1777
|
};
|
|
1778
|
+
export declare enum OrderAdjustmentEnum {
|
|
1779
|
+
DECREMENT = "DECREMENT",
|
|
1780
|
+
INCREMENT = "INCREMENT"
|
|
1781
|
+
}
|
|
1784
1782
|
export declare type OrderAdjustmentInput = {
|
|
1785
1783
|
/** It is the amount of the order adjustment. */
|
|
1786
1784
|
amount: Scalars['Float'];
|
|
1787
1785
|
/** It is the amount type of the order adjustment */
|
|
1788
|
-
amountType:
|
|
1786
|
+
amountType: OrderAmountTypeEnum;
|
|
1789
1787
|
/** It is the campaign information that adjustment depends on. */
|
|
1790
1788
|
campaignId?: InputMaybe<Scalars['String']>;
|
|
1791
1789
|
/** It is the coupon information of the campaign that adjustment is connected to. */
|
|
@@ -1795,8 +1793,12 @@ export declare type OrderAdjustmentInput = {
|
|
|
1795
1793
|
/** It is the order information in which the adjustment will be applied. */
|
|
1796
1794
|
order: Scalars['Float'];
|
|
1797
1795
|
/** It is the type enum of the order adjustment */
|
|
1798
|
-
type:
|
|
1796
|
+
type: OrderAdjustmentEnum;
|
|
1799
1797
|
};
|
|
1798
|
+
export declare enum OrderAmountTypeEnum {
|
|
1799
|
+
AMOUNT = "AMOUNT",
|
|
1800
|
+
RATIO = "RATIO"
|
|
1801
|
+
}
|
|
1800
1802
|
export declare type OrderBranch = {
|
|
1801
1803
|
__typename?: 'OrderBranch';
|
|
1802
1804
|
/** It is the id of the branch where the order was created. */
|
|
@@ -1811,6 +1813,12 @@ export declare type OrderBranchSession = {
|
|
|
1811
1813
|
/** It is the name of the branch session where the order was created. */
|
|
1812
1814
|
name?: Maybe<Scalars['String']>;
|
|
1813
1815
|
};
|
|
1816
|
+
export declare enum OrderCancelledReasonEnum {
|
|
1817
|
+
CUSTOMER = "CUSTOMER",
|
|
1818
|
+
DECLINED = "DECLINED",
|
|
1819
|
+
INVENTORY = "INVENTORY",
|
|
1820
|
+
OTHER = "OTHER"
|
|
1821
|
+
}
|
|
1814
1822
|
export declare type OrderCurrencyRate = {
|
|
1815
1823
|
__typename?: 'OrderCurrencyRate';
|
|
1816
1824
|
/** It is the code of the currency. */
|
|
@@ -1854,10 +1862,59 @@ export declare type OrderGiftPackageLine = {
|
|
|
1854
1862
|
/** It is the tax value of the order gift package line price. */
|
|
1855
1863
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1856
1864
|
};
|
|
1865
|
+
export declare type OrderLineBaseUnit = {
|
|
1866
|
+
__typename?: 'OrderLineBaseUnit';
|
|
1867
|
+
/** It is the amount of the unit. */
|
|
1868
|
+
baseAmount: Scalars['Float'];
|
|
1869
|
+
/** It is the type of the unit of the variant. */
|
|
1870
|
+
type: ProductUnitTypeEnum;
|
|
1871
|
+
/** It is the amount of the unit. */
|
|
1872
|
+
unit?: Maybe<OrderLineVariantUnitType>;
|
|
1873
|
+
};
|
|
1874
|
+
export declare type OrderLineBundleVariant = {
|
|
1875
|
+
__typename?: 'OrderLineBundleVariant';
|
|
1876
|
+
/** It is the barcode list of the variant. */
|
|
1877
|
+
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
1878
|
+
/** Information about the brand of variant. */
|
|
1879
|
+
baseUnit?: Maybe<OrderLineBaseUnit>;
|
|
1880
|
+
/** Information about the brand of variant. */
|
|
1881
|
+
brand?: Maybe<OrderLineVariantBrand>;
|
|
1882
|
+
/** A list of category objects, each containing information about a category in the variant. */
|
|
1883
|
+
categories?: Maybe<Array<OrderLineVariantCategory>>;
|
|
1884
|
+
/** It is the hasCode of the variant. */
|
|
1885
|
+
hsCode?: Maybe<Scalars['String']>;
|
|
1886
|
+
/** It is the id of the variant. */
|
|
1887
|
+
id?: Maybe<Scalars['String']>;
|
|
1888
|
+
/** It is the main image id of the variant. */
|
|
1889
|
+
mainImageId?: Maybe<Scalars['String']>;
|
|
1890
|
+
/** It is the name of the variant. */
|
|
1891
|
+
name: Scalars['String'];
|
|
1892
|
+
/** It is the price list of the variant. Different price lists may have different pricing. */
|
|
1893
|
+
prices?: Maybe<Array<OrderLineVariantPrice>>;
|
|
1894
|
+
/** It is the product id of the variant. */
|
|
1895
|
+
productId?: Maybe<Scalars['String']>;
|
|
1896
|
+
/** It is the sku of the variant. */
|
|
1897
|
+
sku?: Maybe<Scalars['String']>;
|
|
1898
|
+
/** It is the slug of the variant. The slug value is unique each variant and product. */
|
|
1899
|
+
slug?: Maybe<Scalars['String']>;
|
|
1900
|
+
/** It is the the tag id list */
|
|
1901
|
+
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
1902
|
+
/**
|
|
1903
|
+
* It is the tax value of the variant.
|
|
1904
|
+
* @deprecated Will be removed use OrderLineItem.taxValue
|
|
1905
|
+
*/
|
|
1906
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
1907
|
+
type?: Maybe<Scalars['Float']>;
|
|
1908
|
+
/** Information about the brand of variant. */
|
|
1909
|
+
unit?: Maybe<OrderLineVariantUnit>;
|
|
1910
|
+
/** It is the variant values of the variant. */
|
|
1911
|
+
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
1912
|
+
weight?: Maybe<Scalars['Float']>;
|
|
1913
|
+
};
|
|
1857
1914
|
export declare type OrderLineDiscount = {
|
|
1858
1915
|
__typename?: 'OrderLineDiscount';
|
|
1859
1916
|
amount: Scalars['Float'];
|
|
1860
|
-
amountType:
|
|
1917
|
+
amountType: OrderAmountTypeEnum;
|
|
1861
1918
|
campaignOfferId?: Maybe<Scalars['String']>;
|
|
1862
1919
|
campaignOfferProductId?: Maybe<Scalars['String']>;
|
|
1863
1920
|
maxApplicableQuantity?: Maybe<Scalars['Float']>;
|
|
@@ -1867,7 +1924,7 @@ export declare type OrderLineDiscountInput = {
|
|
|
1867
1924
|
/** It is the amount of the discount. */
|
|
1868
1925
|
amount: Scalars['Float'];
|
|
1869
1926
|
/** It is the amount type enum. */
|
|
1870
|
-
amountType:
|
|
1927
|
+
amountType: OrderAmountTypeEnum;
|
|
1871
1928
|
maxApplicableQuantity?: InputMaybe<Scalars['Float']>;
|
|
1872
1929
|
/** It is the reason of the discount. */
|
|
1873
1930
|
reason?: InputMaybe<Scalars['String']>;
|
|
@@ -1885,6 +1942,8 @@ export declare type OrderLineItem = {
|
|
|
1885
1942
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
1886
1943
|
/** 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. */
|
|
1887
1944
|
finalPrice?: Maybe<Scalars['Float']>;
|
|
1945
|
+
/** It is the unit price of the order line item. */
|
|
1946
|
+
finalUnitPrice?: Maybe<Scalars['Float']>;
|
|
1888
1947
|
id: Scalars['ID'];
|
|
1889
1948
|
/** It is the option information of the variant value in the order line item. */
|
|
1890
1949
|
options?: Maybe<Array<OrderLineOption>>;
|
|
@@ -1902,6 +1961,8 @@ export declare type OrderLineItem = {
|
|
|
1902
1961
|
stockLocationId?: Maybe<Scalars['String']>;
|
|
1903
1962
|
/** It is the tax value of the order line item. */
|
|
1904
1963
|
taxValue?: Maybe<Scalars['Float']>;
|
|
1964
|
+
/** It is the unit price of the order line item. */
|
|
1965
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
1905
1966
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1906
1967
|
/** Information about the variant of the order line item. */
|
|
1907
1968
|
variant: OrderLineVariant;
|
|
@@ -1924,7 +1985,6 @@ export declare type OrderLineItemInput = {
|
|
|
1924
1985
|
/** It is the variant information in the order line item. */
|
|
1925
1986
|
variant: OrderLineVariantInput;
|
|
1926
1987
|
};
|
|
1927
|
-
/** Order Line Item Status Enum */
|
|
1928
1988
|
export declare enum OrderLineItemStatusEnum {
|
|
1929
1989
|
CANCELLED = "CANCELLED",
|
|
1930
1990
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -1977,9 +2037,15 @@ export declare type OrderLineVariant = {
|
|
|
1977
2037
|
/** It is the barcode list of the variant. */
|
|
1978
2038
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
1979
2039
|
/** Information about the brand of variant. */
|
|
2040
|
+
baseUnit?: Maybe<OrderLineBaseUnit>;
|
|
2041
|
+
/** Information about the brand of variant. */
|
|
1980
2042
|
brand?: Maybe<OrderLineVariantBrand>;
|
|
2043
|
+
/** Shows the list of bundle products in the line item. */
|
|
2044
|
+
bundleProducts?: Maybe<Array<OrderLineVariantBundleProductModel>>;
|
|
1981
2045
|
/** A list of category objects, each containing information about a category in the variant. */
|
|
1982
2046
|
categories?: Maybe<Array<OrderLineVariantCategory>>;
|
|
2047
|
+
/** It is the hasCode of the variant. */
|
|
2048
|
+
hsCode?: Maybe<Scalars['String']>;
|
|
1983
2049
|
/** It is the id of the variant. */
|
|
1984
2050
|
id?: Maybe<Scalars['String']>;
|
|
1985
2051
|
/** It is the main image id of the variant. */
|
|
@@ -2002,6 +2068,8 @@ export declare type OrderLineVariant = {
|
|
|
2002
2068
|
*/
|
|
2003
2069
|
taxValue?: Maybe<Scalars['Float']>;
|
|
2004
2070
|
type?: Maybe<Scalars['Float']>;
|
|
2071
|
+
/** Information about the brand of variant. */
|
|
2072
|
+
unit?: Maybe<OrderLineVariantUnit>;
|
|
2005
2073
|
/** It is the variant values of the variant. */
|
|
2006
2074
|
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
2007
2075
|
weight?: Maybe<Scalars['Float']>;
|
|
@@ -2013,6 +2081,27 @@ export declare type OrderLineVariantBrand = {
|
|
|
2013
2081
|
/** It is the name of the category. */
|
|
2014
2082
|
name: Scalars['String'];
|
|
2015
2083
|
};
|
|
2084
|
+
export declare type OrderLineVariantBundleProductModel = {
|
|
2085
|
+
__typename?: 'OrderLineVariantBundleProductModel';
|
|
2086
|
+
/** It is the value that indicates whether the product has been deleted or not. */
|
|
2087
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2088
|
+
/** It is the final price of the variant. */
|
|
2089
|
+
discountPrice?: Maybe<Scalars['Float']>;
|
|
2090
|
+
/** It is the discount ratio of the variant. */
|
|
2091
|
+
discountRatio?: Maybe<Scalars['Float']>;
|
|
2092
|
+
/** It is the final price of the variant. */
|
|
2093
|
+
finalPrice?: Maybe<Scalars['Float']>;
|
|
2094
|
+
/** Indicates the order of the product in the bundle. */
|
|
2095
|
+
order: Scalars['Float'];
|
|
2096
|
+
/** It is the price of the variant. */
|
|
2097
|
+
price: Scalars['Float'];
|
|
2098
|
+
/** It is the quantity of the variant. */
|
|
2099
|
+
quantity: Scalars['Float'];
|
|
2100
|
+
/** It is the tax value of the variant. */
|
|
2101
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
2102
|
+
/** Information about the variant of the order line item. */
|
|
2103
|
+
variant: OrderLineBundleVariant;
|
|
2104
|
+
};
|
|
2016
2105
|
export declare type OrderLineVariantCategory = {
|
|
2017
2106
|
__typename?: 'OrderLineVariantCategory';
|
|
2018
2107
|
/** It is the path of the category. */
|
|
@@ -2051,6 +2140,22 @@ export declare type OrderLineVariantPrice = {
|
|
|
2051
2140
|
priceListId?: Maybe<Scalars['String']>;
|
|
2052
2141
|
/** It is the sell price of variant. */
|
|
2053
2142
|
sellPrice: Scalars['Float'];
|
|
2143
|
+
/** It is the unit price of variant. */
|
|
2144
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
2145
|
+
};
|
|
2146
|
+
export declare type OrderLineVariantUnit = {
|
|
2147
|
+
__typename?: 'OrderLineVariantUnit';
|
|
2148
|
+
/** It is the amount of the unit. */
|
|
2149
|
+
amount: Scalars['Float'];
|
|
2150
|
+
/** It is the type of the unit of the variant. */
|
|
2151
|
+
type: ProductUnitTypeEnum;
|
|
2152
|
+
};
|
|
2153
|
+
export declare type OrderLineVariantUnitType = {
|
|
2154
|
+
__typename?: 'OrderLineVariantUnitType';
|
|
2155
|
+
/** It is the id of the category of the variant. */
|
|
2156
|
+
id: Scalars['String'];
|
|
2157
|
+
/** It is the amount of the unit. */
|
|
2158
|
+
name: Scalars['String'];
|
|
2054
2159
|
};
|
|
2055
2160
|
export declare type OrderLineVariantVariantValues = {
|
|
2056
2161
|
__typename?: 'OrderLineVariantVariantValues';
|
|
@@ -2085,7 +2190,6 @@ export declare type OrderPackage = {
|
|
|
2085
2190
|
trackingInfo?: Maybe<TrackingInfo>;
|
|
2086
2191
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2087
2192
|
};
|
|
2088
|
-
/** Order Package Fulfill Status Enum */
|
|
2089
2193
|
export declare enum OrderPackageFulfillStatusEnum {
|
|
2090
2194
|
CANCELLED = "CANCELLED",
|
|
2091
2195
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -2101,7 +2205,6 @@ export declare enum OrderPackageFulfillStatusEnum {
|
|
|
2101
2205
|
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
2102
2206
|
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER"
|
|
2103
2207
|
}
|
|
2104
|
-
/** Order Package Status Enum */
|
|
2105
2208
|
export declare enum OrderPackageStatusEnum {
|
|
2106
2209
|
CANCELLED = "CANCELLED",
|
|
2107
2210
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -2174,7 +2277,6 @@ export declare type OrderPaymentMethod = {
|
|
|
2174
2277
|
/** It is the type enum of the order payment method. */
|
|
2175
2278
|
type: PaymentMethodTypeEnum;
|
|
2176
2279
|
};
|
|
2177
|
-
/** Order Payment Status Enum */
|
|
2178
2280
|
export declare enum OrderPaymentStatusEnum {
|
|
2179
2281
|
PAID = "PAID",
|
|
2180
2282
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
@@ -2283,6 +2385,12 @@ export declare type OrderShippingLineInput = {
|
|
|
2283
2385
|
/** It is the title of the order shipping line. */
|
|
2284
2386
|
title: Scalars['String'];
|
|
2285
2387
|
};
|
|
2388
|
+
export declare enum OrderShippingMethodEnum {
|
|
2389
|
+
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
2390
|
+
DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
|
|
2391
|
+
NO_SHIPMENT = "NO_SHIPMENT",
|
|
2392
|
+
SHIPMENT = "SHIPMENT"
|
|
2393
|
+
}
|
|
2286
2394
|
export declare type OrderStaff = {
|
|
2287
2395
|
__typename?: 'OrderStaff';
|
|
2288
2396
|
/** It is the email of the staff who created the order. */
|
|
@@ -2292,7 +2400,6 @@ export declare type OrderStaff = {
|
|
|
2292
2400
|
/** It is the last name of the staff who created the order. */
|
|
2293
2401
|
lastName: Scalars['String'];
|
|
2294
2402
|
};
|
|
2295
|
-
/** Order Status Enum */
|
|
2296
2403
|
export declare enum OrderStatusEnum {
|
|
2297
2404
|
CANCELLED = "CANCELLED",
|
|
2298
2405
|
CREATED = "CREATED",
|
|
@@ -2358,6 +2465,22 @@ export declare type OrderStorefrontTheme = {
|
|
|
2358
2465
|
/** It is the ikas theme version id used by the storefront when the order was created. */
|
|
2359
2466
|
themeVersionId?: Maybe<Scalars['String']>;
|
|
2360
2467
|
};
|
|
2468
|
+
export declare type OrderTag = {
|
|
2469
|
+
__typename?: 'OrderTag';
|
|
2470
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2471
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2472
|
+
id: Scalars['ID'];
|
|
2473
|
+
merchantId: Scalars['String'];
|
|
2474
|
+
name: Scalars['String'];
|
|
2475
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2476
|
+
};
|
|
2477
|
+
export declare type OrderTagInput = {
|
|
2478
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2479
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2480
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
2481
|
+
name: Scalars['String'];
|
|
2482
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2483
|
+
};
|
|
2361
2484
|
export declare type OrderTaxLine = {
|
|
2362
2485
|
__typename?: 'OrderTaxLine';
|
|
2363
2486
|
/** It is the price of the order tax. */
|
|
@@ -2388,18 +2511,6 @@ export declare type PaginationInput = {
|
|
|
2388
2511
|
*/
|
|
2389
2512
|
page?: InputMaybe<Scalars['Int']>;
|
|
2390
2513
|
};
|
|
2391
|
-
export declare enum PaymentMethodEnum {
|
|
2392
|
-
APP_PAYMENT = "APP_PAYMENT",
|
|
2393
|
-
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
2394
|
-
CASH = "CASH",
|
|
2395
|
-
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
2396
|
-
CREDIT_CARD = "CREDIT_CARD",
|
|
2397
|
-
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
2398
|
-
GIFT_CARD = "GIFT_CARD",
|
|
2399
|
-
MONEY_ORDER = "MONEY_ORDER",
|
|
2400
|
-
OTHER = "OTHER",
|
|
2401
|
-
WALLET = "WALLET"
|
|
2402
|
-
}
|
|
2403
2514
|
export declare enum PaymentMethodTypeEnum {
|
|
2404
2515
|
APP_PAYMENT = "APP_PAYMENT",
|
|
2405
2516
|
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
@@ -2429,6 +2540,8 @@ export declare type Product = {
|
|
|
2429
2540
|
__typename?: 'Product';
|
|
2430
2541
|
/** List of product attributes. */
|
|
2431
2542
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
2543
|
+
/** Base unit of the product. */
|
|
2544
|
+
baseUnit?: Maybe<ProductBaseUnitModel>;
|
|
2432
2545
|
/** Brand of the product. */
|
|
2433
2546
|
brand?: Maybe<SimpleProductBrand>;
|
|
2434
2547
|
/** Brand id of the product. */
|
|
@@ -2441,6 +2554,7 @@ export declare type Product = {
|
|
|
2441
2554
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2442
2555
|
/** Description of the product. */
|
|
2443
2556
|
description?: Maybe<Scalars['String']>;
|
|
2557
|
+
googleTaxonomyId?: Maybe<Scalars['String']>;
|
|
2444
2558
|
/** This is the variant type id that can be used to group variants by a specific variant type id. */
|
|
2445
2559
|
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
2446
2560
|
id: Scalars['ID'];
|
|
@@ -2599,6 +2713,20 @@ export declare type ProductAttributeValueInput = {
|
|
|
2599
2713
|
productAttributeOptionId?: InputMaybe<Scalars['String']>;
|
|
2600
2714
|
value?: InputMaybe<Scalars['String']>;
|
|
2601
2715
|
};
|
|
2716
|
+
export declare type ProductBaseUnitModel = {
|
|
2717
|
+
__typename?: 'ProductBaseUnitModel';
|
|
2718
|
+
/** Amount of the product unit. */
|
|
2719
|
+
baseAmount?: Maybe<Scalars['Float']>;
|
|
2720
|
+
/** Type of the product unit. */
|
|
2721
|
+
type: ProductUnitTypeEnum;
|
|
2722
|
+
/** Unit id of the product unit. */
|
|
2723
|
+
unitId?: Maybe<Scalars['String']>;
|
|
2724
|
+
};
|
|
2725
|
+
export declare type ProductBaseUnitModelInput = {
|
|
2726
|
+
baseAmount: Scalars['Float'];
|
|
2727
|
+
type: ProductUnitTypeEnum;
|
|
2728
|
+
unitId?: InputMaybe<Scalars['String']>;
|
|
2729
|
+
};
|
|
2602
2730
|
export declare type ProductBrand = {
|
|
2603
2731
|
__typename?: 'ProductBrand';
|
|
2604
2732
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -2674,11 +2802,13 @@ export declare type ProductImageInput = {
|
|
|
2674
2802
|
};
|
|
2675
2803
|
export declare type ProductInput = {
|
|
2676
2804
|
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
2805
|
+
baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
|
|
2677
2806
|
brandId?: InputMaybe<Scalars['String']>;
|
|
2678
2807
|
categoryIds?: InputMaybe<Array<Scalars['String']>>;
|
|
2679
2808
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2680
2809
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2681
2810
|
description?: InputMaybe<Scalars['String']>;
|
|
2811
|
+
googleTaxonomyId?: InputMaybe<Scalars['String']>;
|
|
2682
2812
|
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
2683
2813
|
id?: InputMaybe<Scalars['ID']>;
|
|
2684
2814
|
/** Max purchasable quantity of the product for per cart. */
|
|
@@ -2977,10 +3107,63 @@ export declare type ProductTranslationInput = {
|
|
|
2977
3107
|
};
|
|
2978
3108
|
/** Product Types */
|
|
2979
3109
|
export declare enum ProductTypeEnum {
|
|
3110
|
+
BUNDLE = "BUNDLE",
|
|
2980
3111
|
DIGITAL = "DIGITAL",
|
|
2981
3112
|
MEMBERSHIP = "MEMBERSHIP",
|
|
2982
3113
|
PHYSICAL = "PHYSICAL"
|
|
2983
3114
|
}
|
|
3115
|
+
export declare type ProductUnit = {
|
|
3116
|
+
__typename?: 'ProductUnit';
|
|
3117
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3118
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
3119
|
+
id: Scalars['ID'];
|
|
3120
|
+
/** The name of the product's unit. */
|
|
3121
|
+
name: Scalars['String'];
|
|
3122
|
+
/** The name of the product's unit. */
|
|
3123
|
+
translations?: Maybe<Array<ProductUnitTranslation>>;
|
|
3124
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3125
|
+
};
|
|
3126
|
+
export declare type ProductUnitInput = {
|
|
3127
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
3128
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3129
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
3130
|
+
/** The name of the product's unit. */
|
|
3131
|
+
name: Scalars['String'];
|
|
3132
|
+
/** The name of the product's unit. */
|
|
3133
|
+
translations?: InputMaybe<Array<ProductUnitTranslationInput>>;
|
|
3134
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
3135
|
+
};
|
|
3136
|
+
export declare type ProductUnitTranslation = {
|
|
3137
|
+
__typename?: 'ProductUnitTranslation';
|
|
3138
|
+
/** It is the description information of the translation. */
|
|
3139
|
+
description?: Maybe<Scalars['String']>;
|
|
3140
|
+
/** It is the name information of the translation. */
|
|
3141
|
+
locale: Scalars['String'];
|
|
3142
|
+
/** It is the information in which language the translation is saved. */
|
|
3143
|
+
name?: Maybe<Scalars['String']>;
|
|
3144
|
+
};
|
|
3145
|
+
export declare type ProductUnitTranslationInput = {
|
|
3146
|
+
/** It is the description information of the translation. */
|
|
3147
|
+
description?: InputMaybe<Scalars['String']>;
|
|
3148
|
+
/** It is the name information of the translation. */
|
|
3149
|
+
locale: Scalars['String'];
|
|
3150
|
+
/** It is the information in which language the translation is saved. */
|
|
3151
|
+
name?: InputMaybe<Scalars['String']>;
|
|
3152
|
+
};
|
|
3153
|
+
export declare enum ProductUnitTypeEnum {
|
|
3154
|
+
CENTILITER = "CENTILITER",
|
|
3155
|
+
CENTIMETER = "CENTIMETER",
|
|
3156
|
+
CUBIC_METERS = "CUBIC_METERS",
|
|
3157
|
+
CUSTOM = "CUSTOM",
|
|
3158
|
+
GRAM = "GRAM",
|
|
3159
|
+
KILOGRAM = "KILOGRAM",
|
|
3160
|
+
LITER = "LITER",
|
|
3161
|
+
METER = "METER",
|
|
3162
|
+
MILLIGRAM = "MILLIGRAM",
|
|
3163
|
+
MILLILITER = "MILLILITER",
|
|
3164
|
+
MILLIMETER = "MILLIMETER",
|
|
3165
|
+
SQUARE_METERS = "SQUARE_METERS"
|
|
3166
|
+
}
|
|
2984
3167
|
export declare type ProductVariantType = {
|
|
2985
3168
|
__typename?: 'ProductVariantType';
|
|
2986
3169
|
/** Order of the variant type. */
|
|
@@ -3011,7 +3194,7 @@ export declare type PublicTransaction = {
|
|
|
3011
3194
|
paymentGatewayCode?: Maybe<Scalars['String']>;
|
|
3012
3195
|
paymentGatewayId: Scalars['String'];
|
|
3013
3196
|
paymentGatewayName: Scalars['String'];
|
|
3014
|
-
paymentMethod?: Maybe<
|
|
3197
|
+
paymentMethod?: Maybe<PaymentMethodTypeEnum>;
|
|
3015
3198
|
paymentMethodDetail?: Maybe<TransactionPaymentMethodDetail>;
|
|
3016
3199
|
processedAt?: Maybe<Scalars['Timestamp']>;
|
|
3017
3200
|
refundReason?: Maybe<Scalars['String']>;
|
|
@@ -3023,6 +3206,8 @@ export declare type Query = {
|
|
|
3023
3206
|
__typename?: 'Query';
|
|
3024
3207
|
/** By using this api you can get properties of merchant and merchant staff. */
|
|
3025
3208
|
getAuthorizedApp?: Maybe<AuthorizedApp>;
|
|
3209
|
+
/** Use this mutation to get global settings. */
|
|
3210
|
+
getGlobalTaxSettings?: Maybe<GlobalTaxSettings>;
|
|
3026
3211
|
/** Upload url for the specified image. */
|
|
3027
3212
|
getImageUploadUrl: Scalars['String'];
|
|
3028
3213
|
getImportJobData: GetImportJobDataResponse;
|
|
@@ -3046,6 +3231,7 @@ export declare type Query = {
|
|
|
3046
3231
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
3047
3232
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
3048
3233
|
listOrder: OrderPaginationResponse;
|
|
3234
|
+
listOrderTag: Array<OrderTag>;
|
|
3049
3235
|
listOrderTransactions: Array<PublicTransaction>;
|
|
3050
3236
|
listPriceList: Array<PriceList>;
|
|
3051
3237
|
/**
|
|
@@ -3064,6 +3250,8 @@ export declare type Query = {
|
|
|
3064
3250
|
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
3065
3251
|
/** Using this api, you can view the tags of products. */
|
|
3066
3252
|
listProductTag: Array<ProductTag>;
|
|
3253
|
+
/** Using this api, you can view the units of products. */
|
|
3254
|
+
listProductUnit: Array<ProductUnit>;
|
|
3067
3255
|
listSalesChannel: Array<SalesChannel>;
|
|
3068
3256
|
listState: Array<State>;
|
|
3069
3257
|
listStockLocation: Array<StockLocation>;
|
|
@@ -3144,6 +3332,7 @@ export declare type QuerylistOrderArgs = {
|
|
|
3144
3332
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
3145
3333
|
orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
|
|
3146
3334
|
orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
3335
|
+
orderTagIds?: InputMaybe<StringFilterInput>;
|
|
3147
3336
|
orderedAt?: InputMaybe<DateFilterInput>;
|
|
3148
3337
|
pagination?: InputMaybe<PaginationInput>;
|
|
3149
3338
|
search?: InputMaybe<Scalars['String']>;
|
|
@@ -3151,6 +3340,13 @@ export declare type QuerylistOrderArgs = {
|
|
|
3151
3340
|
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
3152
3341
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3153
3342
|
};
|
|
3343
|
+
export declare type QuerylistOrderTagArgs = {
|
|
3344
|
+
id?: InputMaybe<StringFilterInput>;
|
|
3345
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3346
|
+
name?: InputMaybe<StringFilterInput>;
|
|
3347
|
+
search?: InputMaybe<Scalars['String']>;
|
|
3348
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3349
|
+
};
|
|
3154
3350
|
export declare type QuerylistOrderTransactionsArgs = {
|
|
3155
3351
|
orderId: Scalars['String'];
|
|
3156
3352
|
};
|
|
@@ -3159,11 +3355,18 @@ export declare type QuerylistPriceListArgs = {
|
|
|
3159
3355
|
};
|
|
3160
3356
|
export declare type QuerylistProductArgs = {
|
|
3161
3357
|
barcodeList?: InputMaybe<StringFilterInput>;
|
|
3358
|
+
brandId?: InputMaybe<StringFilterInput>;
|
|
3359
|
+
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
3162
3360
|
id?: InputMaybe<StringFilterInput>;
|
|
3163
3361
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3362
|
+
name?: InputMaybe<StringFilterInput>;
|
|
3164
3363
|
pagination?: InputMaybe<PaginationInput>;
|
|
3364
|
+
salesChannelIds?: InputMaybe<StringFilterInput>;
|
|
3165
3365
|
sku?: InputMaybe<StringFilterInput>;
|
|
3166
3366
|
sort?: InputMaybe<Scalars['String']>;
|
|
3367
|
+
tagIds?: InputMaybe<StringFilterInput>;
|
|
3368
|
+
variantStockLocationId?: InputMaybe<StringFilterInput>;
|
|
3369
|
+
vendorId?: InputMaybe<StringFilterInput>;
|
|
3167
3370
|
};
|
|
3168
3371
|
export declare type QuerylistProductAttributeArgs = {
|
|
3169
3372
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -3196,6 +3399,9 @@ export declare type QuerylistProductTagArgs = {
|
|
|
3196
3399
|
name?: InputMaybe<StringFilterInput>;
|
|
3197
3400
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3198
3401
|
};
|
|
3402
|
+
export declare type QuerylistProductUnitArgs = {
|
|
3403
|
+
id?: InputMaybe<StringFilterInput>;
|
|
3404
|
+
};
|
|
3199
3405
|
export declare type QuerylistSalesChannelArgs = {
|
|
3200
3406
|
id?: InputMaybe<StringFilterInput>;
|
|
3201
3407
|
};
|
|
@@ -3240,7 +3446,6 @@ export declare type QueryproductAttributeExportArgs = {
|
|
|
3240
3446
|
export declare type QuerysearchProductsArgs = {
|
|
3241
3447
|
input: SearchInput;
|
|
3242
3448
|
};
|
|
3243
|
-
/** Enum for SF Analytics Traffic Source */
|
|
3244
3449
|
export declare enum SFAnalyticsTrafficSourceEnum {
|
|
3245
3450
|
ADS_OTHER = "ADS_OTHER",
|
|
3246
3451
|
AFFILIATE = "AFFILIATE",
|
|
@@ -3364,6 +3569,8 @@ export declare type SearchInput = {
|
|
|
3364
3569
|
export declare type SearchProduct = {
|
|
3365
3570
|
__typename?: 'SearchProduct';
|
|
3366
3571
|
attributes?: Maybe<Array<SearchProductAttributeValue>>;
|
|
3572
|
+
averageRating?: Maybe<Scalars['Float']>;
|
|
3573
|
+
baseUnit?: Maybe<SearchProductProductBaseUnit>;
|
|
3367
3574
|
brand?: Maybe<SearchProductBrand>;
|
|
3368
3575
|
categories?: Maybe<Array<SearchCategory>>;
|
|
3369
3576
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
@@ -3374,6 +3581,7 @@ export declare type SearchProduct = {
|
|
|
3374
3581
|
name: Scalars['String'];
|
|
3375
3582
|
productOptionSetId?: Maybe<Scalars['String']>;
|
|
3376
3583
|
productVariantTypes: Array<SearchProductVariantType>;
|
|
3584
|
+
reviewCount?: Maybe<Scalars['Float']>;
|
|
3377
3585
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
3378
3586
|
shortDescription?: Maybe<Scalars['String']>;
|
|
3379
3587
|
tags?: Maybe<Array<SearchProductTag>>;
|
|
@@ -3435,6 +3643,18 @@ export declare type SearchProductPrice = {
|
|
|
3435
3643
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
3436
3644
|
priceListId?: Maybe<Scalars['String']>;
|
|
3437
3645
|
sellPrice: Scalars['Float'];
|
|
3646
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
3647
|
+
};
|
|
3648
|
+
export declare type SearchProductProductBaseUnit = {
|
|
3649
|
+
__typename?: 'SearchProductProductBaseUnit';
|
|
3650
|
+
baseAmount: Scalars['Float'];
|
|
3651
|
+
type: ProductUnitTypeEnum;
|
|
3652
|
+
unit?: Maybe<SearchProductProductUnit>;
|
|
3653
|
+
};
|
|
3654
|
+
export declare type SearchProductProductUnit = {
|
|
3655
|
+
__typename?: 'SearchProductProductUnit';
|
|
3656
|
+
id: Scalars['String'];
|
|
3657
|
+
name: Scalars['String'];
|
|
3438
3658
|
};
|
|
3439
3659
|
export declare type SearchProductStockLocation = {
|
|
3440
3660
|
__typename?: 'SearchProductStockLocation';
|
|
@@ -3457,6 +3677,7 @@ export declare type SearchVariant = {
|
|
|
3457
3677
|
__typename?: 'SearchVariant';
|
|
3458
3678
|
attributes?: Maybe<Array<SearchProductAttributeValue>>;
|
|
3459
3679
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
3680
|
+
bundleSettings?: Maybe<BundleSettingsModel>;
|
|
3460
3681
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3461
3682
|
id: Scalars['String'];
|
|
3462
3683
|
images?: Maybe<Array<SearchProductImage>>;
|
|
@@ -3465,6 +3686,7 @@ export declare type SearchVariant = {
|
|
|
3465
3686
|
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
3466
3687
|
sku?: Maybe<Scalars['String']>;
|
|
3467
3688
|
stocks?: Maybe<Array<SearchProductStockLocation>>;
|
|
3689
|
+
unit?: Maybe<VariantUnitModel>;
|
|
3468
3690
|
variantValues?: Maybe<Array<SearchVariationValueRelation>>;
|
|
3469
3691
|
weight?: Maybe<Scalars['Float']>;
|
|
3470
3692
|
};
|
|
@@ -3488,12 +3710,6 @@ export declare type SearchVariationValueRelation = {
|
|
|
3488
3710
|
variantTypeId: Scalars['String'];
|
|
3489
3711
|
variantValueId: Scalars['String'];
|
|
3490
3712
|
};
|
|
3491
|
-
/** Shipping Method Enum */
|
|
3492
|
-
export declare enum ShippingMethodEnum {
|
|
3493
|
-
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
3494
|
-
NO_SHIPMENT = "NO_SHIPMENT",
|
|
3495
|
-
SHIPMENT = "SHIPMENT"
|
|
3496
|
-
}
|
|
3497
3713
|
export declare type SimpleCategory = {
|
|
3498
3714
|
__typename?: 'SimpleCategory';
|
|
3499
3715
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -3542,8 +3758,12 @@ export declare type State = {
|
|
|
3542
3758
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3543
3759
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3544
3760
|
id: Scalars['ID'];
|
|
3761
|
+
/** Shows spellings of state name in different languages. */
|
|
3762
|
+
locationTranslations?: Maybe<LocationTranslations>;
|
|
3545
3763
|
/** State's name. */
|
|
3546
3764
|
name: Scalars['String'];
|
|
3765
|
+
/** Indicates the name of the state in the local language. */
|
|
3766
|
+
native?: Maybe<Scalars['String']>;
|
|
3547
3767
|
/** The two-letter state code corresponding to the state. */
|
|
3548
3768
|
stateCode?: Maybe<Scalars['String']>;
|
|
3549
3769
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -3692,8 +3912,10 @@ export declare enum SubscriptionCodeEnum {
|
|
|
3692
3912
|
EXTENSION = "EXTENSION",
|
|
3693
3913
|
FREEMIUM = "FREEMIUM",
|
|
3694
3914
|
GROW = "GROW",
|
|
3915
|
+
PREMIUM = "PREMIUM",
|
|
3695
3916
|
SCALE = "SCALE",
|
|
3696
|
-
START = "START"
|
|
3917
|
+
START = "START",
|
|
3918
|
+
TRIAL = "TRIAL"
|
|
3697
3919
|
}
|
|
3698
3920
|
export declare enum SubscriptionPeriodEnum {
|
|
3699
3921
|
MONTHLY = "MONTHLY",
|
|
@@ -3837,6 +4059,10 @@ export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
|
3837
4059
|
/** It is the tracking information of the package */
|
|
3838
4060
|
trackingInfo?: InputMaybe<TrackingInfoDetailInput>;
|
|
3839
4061
|
};
|
|
4062
|
+
export declare type UpdateOrderTagInput = {
|
|
4063
|
+
orderId: Scalars['String'];
|
|
4064
|
+
orderTagId: Scalars['String'];
|
|
4065
|
+
};
|
|
3840
4066
|
export declare type UpdateProductSalesChannelStatusInput = {
|
|
3841
4067
|
/** Status of the product in the updated sales channels. */
|
|
3842
4068
|
active: Scalars['Boolean'];
|
|
@@ -3866,6 +4092,8 @@ export declare type Variant = {
|
|
|
3866
4092
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
3867
4093
|
/** List of barcode for the variant. */
|
|
3868
4094
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
4095
|
+
/** Show the product bundle settings. */
|
|
4096
|
+
bundleSettings?: Maybe<BundleSettingsModel>;
|
|
3869
4097
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3870
4098
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3871
4099
|
/** Hs code of the variant. */
|
|
@@ -3882,6 +4110,8 @@ export declare type Variant = {
|
|
|
3882
4110
|
/** SKU of the variant. */
|
|
3883
4111
|
sku?: Maybe<Scalars['String']>;
|
|
3884
4112
|
stocks?: Maybe<Array<VariantStock>>;
|
|
4113
|
+
/** Translations for the product. */
|
|
4114
|
+
unit?: Maybe<VariantUnitModel>;
|
|
3885
4115
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3886
4116
|
/** List of variant value ids. */
|
|
3887
4117
|
variantValueIds?: Maybe<Array<VariantValueRelation>>;
|
|
@@ -3891,6 +4121,7 @@ export declare type Variant = {
|
|
|
3891
4121
|
export declare type VariantInput = {
|
|
3892
4122
|
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
3893
4123
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
4124
|
+
bundleSettings?: InputMaybe<BundleSettingsInput>;
|
|
3894
4125
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
3895
4126
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3896
4127
|
hsCode?: InputMaybe<Scalars['String']>;
|
|
@@ -3900,6 +4131,7 @@ export declare type VariantInput = {
|
|
|
3900
4131
|
prices: Array<ProductPriceInput>;
|
|
3901
4132
|
sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
|
|
3902
4133
|
sku?: InputMaybe<Scalars['String']>;
|
|
4134
|
+
unit?: InputMaybe<VariantUnitModelInput>;
|
|
3903
4135
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
3904
4136
|
variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
|
|
3905
4137
|
weight?: InputMaybe<Scalars['Float']>;
|
|
@@ -3969,6 +4201,17 @@ export declare type VariantTypeTranslationInput = {
|
|
|
3969
4201
|
/** It is the translation information of the values of variant types. */
|
|
3970
4202
|
values?: InputMaybe<Array<VariantValueTranslationInput>>;
|
|
3971
4203
|
};
|
|
4204
|
+
export declare type VariantUnitModel = {
|
|
4205
|
+
__typename?: 'VariantUnitModel';
|
|
4206
|
+
/** Amount of the product unit. */
|
|
4207
|
+
amount?: Maybe<Scalars['Float']>;
|
|
4208
|
+
/** Type of the product unit. */
|
|
4209
|
+
type: ProductUnitTypeEnum;
|
|
4210
|
+
};
|
|
4211
|
+
export declare type VariantUnitModelInput = {
|
|
4212
|
+
amount: Scalars['Float'];
|
|
4213
|
+
type: ProductUnitTypeEnum;
|
|
4214
|
+
};
|
|
3972
4215
|
export declare type VariantValue = {
|
|
3973
4216
|
__typename?: 'VariantValue';
|
|
3974
4217
|
/** It is the color code information of the variant values. It can be a maximum of 7 characters. */
|