@ikas/api-client 1.0.17 → 1.0.19
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 +5 -0
- package/dist/api/admin/generated/default-gqls.js +23 -18
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +224 -145
- package/dist/api/admin/generated/index.js +35 -88
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +5 -1
- package/dist/api/admin/generated/mutation.js +28 -0
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +2 -1
- package/dist/api/admin/generated/query.js +7 -0
- package/dist/api/admin/generated/query.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"
|
|
@@ -633,7 +655,7 @@ export declare type CreateOrderInput = {
|
|
|
633
655
|
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
634
656
|
shippingLines?: InputMaybe<Array<OrderShippingLineInput>>;
|
|
635
657
|
/** It is the shipping method enum of the order */
|
|
636
|
-
shippingMethod?: InputMaybe<
|
|
658
|
+
shippingMethod?: InputMaybe<OrderShippingMethodEnum>;
|
|
637
659
|
/** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
|
|
638
660
|
terminalId?: InputMaybe<Scalars['String']>;
|
|
639
661
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
@@ -688,6 +710,7 @@ export declare type Customer = {
|
|
|
688
710
|
phone?: Maybe<Scalars['String']>;
|
|
689
711
|
/** The date the **email** was verified. */
|
|
690
712
|
phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
713
|
+
preferredLanguage?: Maybe<Scalars['String']>;
|
|
691
714
|
/** Registration source of customer. */
|
|
692
715
|
registrationSource?: Maybe<CustomerRegistrationSourceEnum>;
|
|
693
716
|
/** CustomerEmailSubscriptionStatusesEnum */
|
|
@@ -993,7 +1016,6 @@ export declare type Invoice = {
|
|
|
993
1016
|
/** It is the type enum of the invoice. */
|
|
994
1017
|
type: InvoiceTypeEnum;
|
|
995
1018
|
};
|
|
996
|
-
/** Invoice Type Enum */
|
|
997
1019
|
export declare enum InvoiceTypeEnum {
|
|
998
1020
|
COMPANY = "COMPANY",
|
|
999
1021
|
INDIVIDUAL = "INDIVIDUAL",
|
|
@@ -1026,7 +1048,7 @@ export declare type MeResponse = {
|
|
|
1026
1048
|
/** The id of the sales channel owned by the merchant. */
|
|
1027
1049
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
1028
1050
|
scope?: Maybe<Scalars['String']>;
|
|
1029
|
-
/** 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). */
|
|
1030
1052
|
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
1031
1053
|
/** The application's id in the store. */
|
|
1032
1054
|
storeAppId?: Maybe<Scalars['String']>;
|
|
@@ -1062,7 +1084,7 @@ export declare type MerchantAddress = {
|
|
|
1062
1084
|
};
|
|
1063
1085
|
export declare type MerchantAddressCity = {
|
|
1064
1086
|
__typename?: 'MerchantAddressCity';
|
|
1065
|
-
/** The
|
|
1087
|
+
/** The city code corresponding to the merchant's city. */
|
|
1066
1088
|
code?: Maybe<Scalars['String']>;
|
|
1067
1089
|
id?: Maybe<Scalars['String']>;
|
|
1068
1090
|
/** The merchant's normalized city name. */
|
|
@@ -1070,7 +1092,7 @@ export declare type MerchantAddressCity = {
|
|
|
1070
1092
|
};
|
|
1071
1093
|
export declare type MerchantAddressCountry = {
|
|
1072
1094
|
__typename?: 'MerchantAddressCountry';
|
|
1073
|
-
/** The
|
|
1095
|
+
/** The ISO3 country code corresponding to the merchant's country. */
|
|
1074
1096
|
code?: Maybe<Scalars['String']>;
|
|
1075
1097
|
id?: Maybe<Scalars['String']>;
|
|
1076
1098
|
/** The merchant's normalized country name. */
|
|
@@ -1078,7 +1100,7 @@ export declare type MerchantAddressCountry = {
|
|
|
1078
1100
|
};
|
|
1079
1101
|
export declare type MerchantAddressDistrict = {
|
|
1080
1102
|
__typename?: 'MerchantAddressDistrict';
|
|
1081
|
-
/** The
|
|
1103
|
+
/** The district code corresponding to the merchant's district. */
|
|
1082
1104
|
code?: Maybe<Scalars['String']>;
|
|
1083
1105
|
id?: Maybe<Scalars['String']>;
|
|
1084
1106
|
/** The merchant's normalized district name. */
|
|
@@ -1203,68 +1225,20 @@ export declare type MerchantAppSubscription = {
|
|
|
1203
1225
|
export declare type MerchantLicence = {
|
|
1204
1226
|
__typename?: 'MerchantLicence';
|
|
1205
1227
|
activeSubscriptionCode: SubscriptionCodeEnum;
|
|
1206
|
-
/** It is the id of the subscription to which the license is connected. */
|
|
1207
|
-
activeSubscriptionId: Scalars['String'];
|
|
1208
1228
|
/** If the license is attached to an app, its properties are kept in this domain. */
|
|
1209
1229
|
appSubscriptions?: Maybe<Array<MerchantAppSubscription>>;
|
|
1210
1230
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1211
|
-
/** It is the field where private subscription information is kept. */
|
|
1212
|
-
customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
|
|
1213
1231
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1214
1232
|
developmentStore?: Maybe<Scalars['Boolean']>;
|
|
1215
1233
|
/** It is the information of the start date of the license. */
|
|
1216
1234
|
fromDate?: Maybe<Scalars['Timestamp']>;
|
|
1217
1235
|
id: Scalars['ID'];
|
|
1218
|
-
/** It is the information of the last date the license was active. */
|
|
1219
|
-
licenceActivationDate?: Maybe<Scalars['Timestamp']>;
|
|
1220
|
-
limits: Array<MerchantLimit>;
|
|
1221
1236
|
period?: Maybe<SubscriptionPeriodEnum>;
|
|
1222
1237
|
region: MerchantRegionEnum;
|
|
1223
|
-
status: MerchantLicenceStatusEnum;
|
|
1224
|
-
/** The date the Merchant license status was updated. */
|
|
1225
|
-
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1226
|
-
/** It is the subscription properties information of the license. */
|
|
1227
|
-
subscriptions: Array<MerchantSubscription>;
|
|
1228
1238
|
/** It is the information of the expiry date of the license. */
|
|
1229
1239
|
toDate?: Maybe<Scalars['Timestamp']>;
|
|
1230
1240
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1231
1241
|
};
|
|
1232
|
-
export declare enum MerchantLicenceStatusEnum {
|
|
1233
|
-
CHURN = "CHURN",
|
|
1234
|
-
CONTRACTION = "CONTRACTION",
|
|
1235
|
-
EXPANSION = "EXPANSION",
|
|
1236
|
-
FREEMIUM = "FREEMIUM",
|
|
1237
|
-
NEW = "NEW",
|
|
1238
|
-
REACTIVATION = "REACTIVATION",
|
|
1239
|
-
RENEWAL = "RENEWAL"
|
|
1240
|
-
}
|
|
1241
|
-
export declare type MerchantLimit = {
|
|
1242
|
-
__typename?: 'MerchantLimit';
|
|
1243
|
-
code: MerchantLimitCodeEnum;
|
|
1244
|
-
value: Scalars['Float'];
|
|
1245
|
-
};
|
|
1246
|
-
export declare enum MerchantLimitCodeEnum {
|
|
1247
|
-
ABANDONED_CHECKOUT_SUPPORT = "ABANDONED_CHECKOUT_SUPPORT",
|
|
1248
|
-
ADDITIONAL_POS_BRANCH = "ADDITIONAL_POS_BRANCH",
|
|
1249
|
-
ADDITIONAL_STOREFRONT = "ADDITIONAL_STOREFRONT",
|
|
1250
|
-
CAMPAIGN_SUPPORT = "CAMPAIGN_SUPPORT",
|
|
1251
|
-
CROSS_SELL_SUPPORT = "CROSS_SELL_SUPPORT",
|
|
1252
|
-
DOMAIN_SUPPORT = "DOMAIN_SUPPORT",
|
|
1253
|
-
LOCALIZATION_ROUTING_SUPPORT = "LOCALIZATION_ROUTING_SUPPORT",
|
|
1254
|
-
OMNI_CHANNEL_SUPPORT = "OMNI_CHANNEL_SUPPORT",
|
|
1255
|
-
PAYMENT_GATEWAY_RATE = "PAYMENT_GATEWAY_RATE",
|
|
1256
|
-
PAYMENT_GATEWAY_RESTRICTION = "PAYMENT_GATEWAY_RESTRICTION",
|
|
1257
|
-
PRICE_LISTS_SUPPORT = "PRICE_LISTS_SUPPORT",
|
|
1258
|
-
PRODUCT_LIMIT = "PRODUCT_LIMIT",
|
|
1259
|
-
PRODUCT_SUBSCRIPTIONS_SUPPORT = "PRODUCT_SUBSCRIPTIONS_SUPPORT",
|
|
1260
|
-
RAFFLE_SUPPORT = "RAFFLE_SUPPORT",
|
|
1261
|
-
REFUND_SUPPORT = "REFUND_SUPPORT",
|
|
1262
|
-
REPORTING_SUPPORT = "REPORTING_SUPPORT",
|
|
1263
|
-
STAFF_LIMIT = "STAFF_LIMIT",
|
|
1264
|
-
STOCK_LOCATION_LIMIT = "STOCK_LOCATION_LIMIT",
|
|
1265
|
-
THEME_SUPPORT = "THEME_SUPPORT",
|
|
1266
|
-
UP_SELL_SUPPORT = "UP_SELL_SUPPORT"
|
|
1267
|
-
}
|
|
1268
1242
|
export declare enum MerchantRegionEnum {
|
|
1269
1243
|
AF = "AF",
|
|
1270
1244
|
AN = "AN",
|
|
@@ -1298,36 +1272,6 @@ export declare enum MerchantSettingsAddressTypeEnum {
|
|
|
1298
1272
|
CORPORATE = "CORPORATE",
|
|
1299
1273
|
INDIVIDUAL = "INDIVIDUAL"
|
|
1300
1274
|
}
|
|
1301
|
-
export declare type MerchantSubscription = {
|
|
1302
|
-
__typename?: 'MerchantSubscription';
|
|
1303
|
-
code: SubscriptionCodeEnum;
|
|
1304
|
-
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1305
|
-
currency?: Maybe<SubscriptionPriceCurrencyEnum>;
|
|
1306
|
-
currencyCode?: Maybe<Scalars['String']>;
|
|
1307
|
-
currencySymbol?: Maybe<Scalars['String']>;
|
|
1308
|
-
deleted?: Maybe<Scalars['Boolean']>;
|
|
1309
|
-
id: Scalars['ID'];
|
|
1310
|
-
/** It is the date of receipt of the last payment for the license subscription. */
|
|
1311
|
-
lastPaymentDate?: Maybe<Scalars['Timestamp']>;
|
|
1312
|
-
/** The discount rate on the last payment for the license subscription. */
|
|
1313
|
-
lastPaymentDiscountRatio?: Maybe<Scalars['Float']>;
|
|
1314
|
-
lastPaymentPeriod: SubscriptionPeriodEnum;
|
|
1315
|
-
/** 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. */
|
|
1316
|
-
lastPaymentPeriodInDays: Scalars['Float'];
|
|
1317
|
-
/** It is the last payment information for the license subscription. */
|
|
1318
|
-
lastPaymentPrice: Scalars['Float'];
|
|
1319
|
-
/** It is the price information including KDV, for which the last payment is made for the license subscription. */
|
|
1320
|
-
lastPaymentPriceWithTax: Scalars['Float'];
|
|
1321
|
-
limits: Array<MerchantLimit>;
|
|
1322
|
-
/** It is the subscription name of the license. */
|
|
1323
|
-
name?: Maybe<Scalars['String']>;
|
|
1324
|
-
/** It is the Id information of the sales channel to which the subscription of the license is connected. */
|
|
1325
|
-
salesChannelId?: Maybe<Scalars['String']>;
|
|
1326
|
-
status: MerchantSubscriptionStatusEnum;
|
|
1327
|
-
/** It is the subscription id of the license. */
|
|
1328
|
-
subscriptionId: Scalars['String'];
|
|
1329
|
-
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1330
|
-
};
|
|
1331
1275
|
export declare enum MerchantSubscriptionStatusEnum {
|
|
1332
1276
|
ACTIVE = "ACTIVE",
|
|
1333
1277
|
REMOVED = "REMOVED",
|
|
@@ -1338,6 +1282,7 @@ export declare type Mutation = {
|
|
|
1338
1282
|
addCustomTimelineEntry: Scalars['Boolean'];
|
|
1339
1283
|
/** Use this mutation to add invoice to order. */
|
|
1340
1284
|
addOrderInvoice?: Maybe<Order>;
|
|
1285
|
+
addOrderTag: Scalars['Boolean'];
|
|
1341
1286
|
approvePendingOrderTransactions: Scalars['Boolean'];
|
|
1342
1287
|
/** Response indicating the status of operation. */
|
|
1343
1288
|
bulkUpdateProducts: Scalars['String'];
|
|
@@ -1353,6 +1298,7 @@ export declare type Mutation = {
|
|
|
1353
1298
|
createOrderWithTransactions: Order;
|
|
1354
1299
|
/** Using this api, you can delete the categories of products. */
|
|
1355
1300
|
deleteCategoryList: Scalars['Boolean'];
|
|
1301
|
+
deleteOrderTagList: Scalars['Boolean'];
|
|
1356
1302
|
/** Use this mutation to delete product attributes with specific ids. */
|
|
1357
1303
|
deleteProductAttributeList: Scalars['Boolean'];
|
|
1358
1304
|
/** Using this api, you can delete the brands of products. */
|
|
@@ -1378,8 +1324,10 @@ export declare type Mutation = {
|
|
|
1378
1324
|
productAttributeImport: CSVImportResponse;
|
|
1379
1325
|
/** Use this mutation to refund given order lines. */
|
|
1380
1326
|
refundOrderLine: Order;
|
|
1327
|
+
removeOrderTag: Scalars['Boolean'];
|
|
1381
1328
|
/** Using this api, you can update the categories of products. */
|
|
1382
1329
|
saveCategory: Category;
|
|
1330
|
+
saveOrderTag: OrderTag;
|
|
1383
1331
|
/** Use this mutation to create or update a product with provided input values. */
|
|
1384
1332
|
saveProduct: Product;
|
|
1385
1333
|
/** Use this mutation to create or update product attributes with provided input values. */
|
|
@@ -1419,6 +1367,9 @@ export declare type MutationaddCustomTimelineEntryArgs = {
|
|
|
1419
1367
|
export declare type MutationaddOrderInvoiceArgs = {
|
|
1420
1368
|
input: AddOrderInvoiceInput;
|
|
1421
1369
|
};
|
|
1370
|
+
export declare type MutationaddOrderTagArgs = {
|
|
1371
|
+
input: UpdateOrderTagInput;
|
|
1372
|
+
};
|
|
1422
1373
|
export declare type MutationapprovePendingOrderTransactionsArgs = {
|
|
1423
1374
|
input: ApproveOrderTransactionsInput;
|
|
1424
1375
|
};
|
|
@@ -1443,6 +1394,9 @@ export declare type MutationcreateOrderWithTransactionsArgs = {
|
|
|
1443
1394
|
export declare type MutationdeleteCategoryListArgs = {
|
|
1444
1395
|
idList: Array<Scalars['String']>;
|
|
1445
1396
|
};
|
|
1397
|
+
export declare type MutationdeleteOrderTagListArgs = {
|
|
1398
|
+
idList: Array<Scalars['String']>;
|
|
1399
|
+
};
|
|
1446
1400
|
export declare type MutationdeleteProductAttributeListArgs = {
|
|
1447
1401
|
idList: Array<Scalars['String']>;
|
|
1448
1402
|
};
|
|
@@ -1482,9 +1436,15 @@ export declare type MutationproductAttributeImportArgs = {
|
|
|
1482
1436
|
export declare type MutationrefundOrderLineArgs = {
|
|
1483
1437
|
input: OrderRefundInput;
|
|
1484
1438
|
};
|
|
1439
|
+
export declare type MutationremoveOrderTagArgs = {
|
|
1440
|
+
input: UpdateOrderTagInput;
|
|
1441
|
+
};
|
|
1485
1442
|
export declare type MutationsaveCategoryArgs = {
|
|
1486
1443
|
input: CategoryInput;
|
|
1487
1444
|
};
|
|
1445
|
+
export declare type MutationsaveOrderTagArgs = {
|
|
1446
|
+
input: OrderTagInput;
|
|
1447
|
+
};
|
|
1488
1448
|
export declare type MutationsaveProductArgs = {
|
|
1489
1449
|
input: ProductInput;
|
|
1490
1450
|
};
|
|
@@ -1547,7 +1507,7 @@ export declare type Order = {
|
|
|
1547
1507
|
branchSessionId?: Maybe<Scalars['String']>;
|
|
1548
1508
|
campaignOffers?: Maybe<Array<CartV2CampaignOffer>>;
|
|
1549
1509
|
/** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
|
|
1550
|
-
cancelReason?: Maybe<
|
|
1510
|
+
cancelReason?: Maybe<OrderCancelledReasonEnum>;
|
|
1551
1511
|
/** If the order has been cancelled, it indicates the cancellation date of the order. */
|
|
1552
1512
|
cancelledAt?: Maybe<Scalars['Timestamp']>;
|
|
1553
1513
|
cartId?: Maybe<Scalars['String']>;
|
|
@@ -1568,6 +1528,8 @@ export declare type Order = {
|
|
|
1568
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. */
|
|
1569
1529
|
customer?: Maybe<OrderCustomer>;
|
|
1570
1530
|
customerId?: Maybe<Scalars['String']>;
|
|
1531
|
+
/** It shows the number of orders given by the relevant customer. */
|
|
1532
|
+
customerOrderCount?: Maybe<Scalars['Float']>;
|
|
1571
1533
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
1572
1534
|
dueDate?: Maybe<Scalars['Timestamp']>;
|
|
1573
1535
|
/** A list of gift package line objects, each containing information about a gift package pricing in the order. */
|
|
@@ -1621,7 +1583,7 @@ export declare type Order = {
|
|
|
1621
1583
|
/** A list of shipping line objects, each containing information about a shipping in the order. */
|
|
1622
1584
|
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1623
1585
|
/** It is the shipping method enum of the order */
|
|
1624
|
-
shippingMethod:
|
|
1586
|
+
shippingMethod: OrderShippingMethodEnum;
|
|
1625
1587
|
shippingSettingsId?: Maybe<Scalars['String']>;
|
|
1626
1588
|
shippingZoneRateId?: Maybe<Scalars['String']>;
|
|
1627
1589
|
/** It is the `staff` information of the orders created via ikasPOS. */
|
|
@@ -1787,7 +1749,7 @@ export declare type OrderAdjustment = {
|
|
|
1787
1749
|
__typename?: 'OrderAdjustment';
|
|
1788
1750
|
/** It is the adjustment amount in the order. This amount can be positive or negative. */
|
|
1789
1751
|
amount: Scalars['Float'];
|
|
1790
|
-
amountType:
|
|
1752
|
+
amountType: OrderAmountTypeEnum;
|
|
1791
1753
|
/** A list of order line items, each containing information about a order line item in the order. */
|
|
1792
1754
|
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1793
1755
|
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
@@ -1800,7 +1762,7 @@ export declare type OrderAdjustment = {
|
|
|
1800
1762
|
name: Scalars['String'];
|
|
1801
1763
|
/** It is the order of the adjustment. Adjustments are applied in this order. */
|
|
1802
1764
|
order: Scalars['Float'];
|
|
1803
|
-
type:
|
|
1765
|
+
type: OrderAdjustmentEnum;
|
|
1804
1766
|
};
|
|
1805
1767
|
export declare type OrderAdjustmentAppliedOrderLine = {
|
|
1806
1768
|
__typename?: 'OrderAdjustmentAppliedOrderLine';
|
|
@@ -1813,11 +1775,15 @@ export declare type OrderAdjustmentAppliedOrderLine = {
|
|
|
1813
1775
|
/** It is the id of the order line item to which the adjustment is applied. */
|
|
1814
1776
|
orderLineId: Scalars['String'];
|
|
1815
1777
|
};
|
|
1778
|
+
export declare enum OrderAdjustmentEnum {
|
|
1779
|
+
DECREMENT = "DECREMENT",
|
|
1780
|
+
INCREMENT = "INCREMENT"
|
|
1781
|
+
}
|
|
1816
1782
|
export declare type OrderAdjustmentInput = {
|
|
1817
1783
|
/** It is the amount of the order adjustment. */
|
|
1818
1784
|
amount: Scalars['Float'];
|
|
1819
1785
|
/** It is the amount type of the order adjustment */
|
|
1820
|
-
amountType:
|
|
1786
|
+
amountType: OrderAmountTypeEnum;
|
|
1821
1787
|
/** It is the campaign information that adjustment depends on. */
|
|
1822
1788
|
campaignId?: InputMaybe<Scalars['String']>;
|
|
1823
1789
|
/** It is the coupon information of the campaign that adjustment is connected to. */
|
|
@@ -1827,8 +1793,12 @@ export declare type OrderAdjustmentInput = {
|
|
|
1827
1793
|
/** It is the order information in which the adjustment will be applied. */
|
|
1828
1794
|
order: Scalars['Float'];
|
|
1829
1795
|
/** It is the type enum of the order adjustment */
|
|
1830
|
-
type:
|
|
1796
|
+
type: OrderAdjustmentEnum;
|
|
1831
1797
|
};
|
|
1798
|
+
export declare enum OrderAmountTypeEnum {
|
|
1799
|
+
AMOUNT = "AMOUNT",
|
|
1800
|
+
RATIO = "RATIO"
|
|
1801
|
+
}
|
|
1832
1802
|
export declare type OrderBranch = {
|
|
1833
1803
|
__typename?: 'OrderBranch';
|
|
1834
1804
|
/** It is the id of the branch where the order was created. */
|
|
@@ -1843,6 +1813,12 @@ export declare type OrderBranchSession = {
|
|
|
1843
1813
|
/** It is the name of the branch session where the order was created. */
|
|
1844
1814
|
name?: Maybe<Scalars['String']>;
|
|
1845
1815
|
};
|
|
1816
|
+
export declare enum OrderCancelledReasonEnum {
|
|
1817
|
+
CUSTOMER = "CUSTOMER",
|
|
1818
|
+
DECLINED = "DECLINED",
|
|
1819
|
+
INVENTORY = "INVENTORY",
|
|
1820
|
+
OTHER = "OTHER"
|
|
1821
|
+
}
|
|
1846
1822
|
export declare type OrderCurrencyRate = {
|
|
1847
1823
|
__typename?: 'OrderCurrencyRate';
|
|
1848
1824
|
/** It is the code of the currency. */
|
|
@@ -1895,10 +1871,50 @@ export declare type OrderLineBaseUnit = {
|
|
|
1895
1871
|
/** It is the amount of the unit. */
|
|
1896
1872
|
unit?: Maybe<OrderLineVariantUnitType>;
|
|
1897
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
|
+
};
|
|
1898
1914
|
export declare type OrderLineDiscount = {
|
|
1899
1915
|
__typename?: 'OrderLineDiscount';
|
|
1900
1916
|
amount: Scalars['Float'];
|
|
1901
|
-
amountType:
|
|
1917
|
+
amountType: OrderAmountTypeEnum;
|
|
1902
1918
|
campaignOfferId?: Maybe<Scalars['String']>;
|
|
1903
1919
|
campaignOfferProductId?: Maybe<Scalars['String']>;
|
|
1904
1920
|
maxApplicableQuantity?: Maybe<Scalars['Float']>;
|
|
@@ -1908,7 +1924,7 @@ export declare type OrderLineDiscountInput = {
|
|
|
1908
1924
|
/** It is the amount of the discount. */
|
|
1909
1925
|
amount: Scalars['Float'];
|
|
1910
1926
|
/** It is the amount type enum. */
|
|
1911
|
-
amountType:
|
|
1927
|
+
amountType: OrderAmountTypeEnum;
|
|
1912
1928
|
maxApplicableQuantity?: InputMaybe<Scalars['Float']>;
|
|
1913
1929
|
/** It is the reason of the discount. */
|
|
1914
1930
|
reason?: InputMaybe<Scalars['String']>;
|
|
@@ -1969,7 +1985,6 @@ export declare type OrderLineItemInput = {
|
|
|
1969
1985
|
/** It is the variant information in the order line item. */
|
|
1970
1986
|
variant: OrderLineVariantInput;
|
|
1971
1987
|
};
|
|
1972
|
-
/** Order Line Item Status Enum */
|
|
1973
1988
|
export declare enum OrderLineItemStatusEnum {
|
|
1974
1989
|
CANCELLED = "CANCELLED",
|
|
1975
1990
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -2025,8 +2040,12 @@ export declare type OrderLineVariant = {
|
|
|
2025
2040
|
baseUnit?: Maybe<OrderLineBaseUnit>;
|
|
2026
2041
|
/** Information about the brand of variant. */
|
|
2027
2042
|
brand?: Maybe<OrderLineVariantBrand>;
|
|
2043
|
+
/** Shows the list of bundle products in the line item. */
|
|
2044
|
+
bundleProducts?: Maybe<Array<OrderLineVariantBundleProductModel>>;
|
|
2028
2045
|
/** A list of category objects, each containing information about a category in the variant. */
|
|
2029
2046
|
categories?: Maybe<Array<OrderLineVariantCategory>>;
|
|
2047
|
+
/** It is the hasCode of the variant. */
|
|
2048
|
+
hsCode?: Maybe<Scalars['String']>;
|
|
2030
2049
|
/** It is the id of the variant. */
|
|
2031
2050
|
id?: Maybe<Scalars['String']>;
|
|
2032
2051
|
/** It is the main image id of the variant. */
|
|
@@ -2062,6 +2081,27 @@ export declare type OrderLineVariantBrand = {
|
|
|
2062
2081
|
/** It is the name of the category. */
|
|
2063
2082
|
name: Scalars['String'];
|
|
2064
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
|
+
};
|
|
2065
2105
|
export declare type OrderLineVariantCategory = {
|
|
2066
2106
|
__typename?: 'OrderLineVariantCategory';
|
|
2067
2107
|
/** It is the path of the category. */
|
|
@@ -2150,7 +2190,6 @@ export declare type OrderPackage = {
|
|
|
2150
2190
|
trackingInfo?: Maybe<TrackingInfo>;
|
|
2151
2191
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2152
2192
|
};
|
|
2153
|
-
/** Order Package Fulfill Status Enum */
|
|
2154
2193
|
export declare enum OrderPackageFulfillStatusEnum {
|
|
2155
2194
|
CANCELLED = "CANCELLED",
|
|
2156
2195
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -2166,7 +2205,6 @@ export declare enum OrderPackageFulfillStatusEnum {
|
|
|
2166
2205
|
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
2167
2206
|
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER"
|
|
2168
2207
|
}
|
|
2169
|
-
/** Order Package Status Enum */
|
|
2170
2208
|
export declare enum OrderPackageStatusEnum {
|
|
2171
2209
|
CANCELLED = "CANCELLED",
|
|
2172
2210
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -2239,7 +2277,6 @@ export declare type OrderPaymentMethod = {
|
|
|
2239
2277
|
/** It is the type enum of the order payment method. */
|
|
2240
2278
|
type: PaymentMethodTypeEnum;
|
|
2241
2279
|
};
|
|
2242
|
-
/** Order Payment Status Enum */
|
|
2243
2280
|
export declare enum OrderPaymentStatusEnum {
|
|
2244
2281
|
PAID = "PAID",
|
|
2245
2282
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
@@ -2348,6 +2385,12 @@ export declare type OrderShippingLineInput = {
|
|
|
2348
2385
|
/** It is the title of the order shipping line. */
|
|
2349
2386
|
title: Scalars['String'];
|
|
2350
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
|
+
}
|
|
2351
2394
|
export declare type OrderStaff = {
|
|
2352
2395
|
__typename?: 'OrderStaff';
|
|
2353
2396
|
/** It is the email of the staff who created the order. */
|
|
@@ -2357,7 +2400,6 @@ export declare type OrderStaff = {
|
|
|
2357
2400
|
/** It is the last name of the staff who created the order. */
|
|
2358
2401
|
lastName: Scalars['String'];
|
|
2359
2402
|
};
|
|
2360
|
-
/** Order Status Enum */
|
|
2361
2403
|
export declare enum OrderStatusEnum {
|
|
2362
2404
|
CANCELLED = "CANCELLED",
|
|
2363
2405
|
CREATED = "CREATED",
|
|
@@ -2423,6 +2465,22 @@ export declare type OrderStorefrontTheme = {
|
|
|
2423
2465
|
/** It is the ikas theme version id used by the storefront when the order was created. */
|
|
2424
2466
|
themeVersionId?: Maybe<Scalars['String']>;
|
|
2425
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
|
+
};
|
|
2426
2484
|
export declare type OrderTaxLine = {
|
|
2427
2485
|
__typename?: 'OrderTaxLine';
|
|
2428
2486
|
/** It is the price of the order tax. */
|
|
@@ -2453,18 +2511,6 @@ export declare type PaginationInput = {
|
|
|
2453
2511
|
*/
|
|
2454
2512
|
page?: InputMaybe<Scalars['Int']>;
|
|
2455
2513
|
};
|
|
2456
|
-
export declare enum PaymentMethodEnum {
|
|
2457
|
-
APP_PAYMENT = "APP_PAYMENT",
|
|
2458
|
-
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
2459
|
-
CASH = "CASH",
|
|
2460
|
-
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
2461
|
-
CREDIT_CARD = "CREDIT_CARD",
|
|
2462
|
-
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
2463
|
-
GIFT_CARD = "GIFT_CARD",
|
|
2464
|
-
MONEY_ORDER = "MONEY_ORDER",
|
|
2465
|
-
OTHER = "OTHER",
|
|
2466
|
-
WALLET = "WALLET"
|
|
2467
|
-
}
|
|
2468
2514
|
export declare enum PaymentMethodTypeEnum {
|
|
2469
2515
|
APP_PAYMENT = "APP_PAYMENT",
|
|
2470
2516
|
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
@@ -2494,7 +2540,7 @@ export declare type Product = {
|
|
|
2494
2540
|
__typename?: 'Product';
|
|
2495
2541
|
/** List of product attributes. */
|
|
2496
2542
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
2497
|
-
/**
|
|
2543
|
+
/** Base unit of the product. */
|
|
2498
2544
|
baseUnit?: Maybe<ProductBaseUnitModel>;
|
|
2499
2545
|
/** Brand of the product. */
|
|
2500
2546
|
brand?: Maybe<SimpleProductBrand>;
|
|
@@ -3061,6 +3107,7 @@ export declare type ProductTranslationInput = {
|
|
|
3061
3107
|
};
|
|
3062
3108
|
/** Product Types */
|
|
3063
3109
|
export declare enum ProductTypeEnum {
|
|
3110
|
+
BUNDLE = "BUNDLE",
|
|
3064
3111
|
DIGITAL = "DIGITAL",
|
|
3065
3112
|
MEMBERSHIP = "MEMBERSHIP",
|
|
3066
3113
|
PHYSICAL = "PHYSICAL"
|
|
@@ -3147,7 +3194,7 @@ export declare type PublicTransaction = {
|
|
|
3147
3194
|
paymentGatewayCode?: Maybe<Scalars['String']>;
|
|
3148
3195
|
paymentGatewayId: Scalars['String'];
|
|
3149
3196
|
paymentGatewayName: Scalars['String'];
|
|
3150
|
-
paymentMethod?: Maybe<
|
|
3197
|
+
paymentMethod?: Maybe<PaymentMethodTypeEnum>;
|
|
3151
3198
|
paymentMethodDetail?: Maybe<TransactionPaymentMethodDetail>;
|
|
3152
3199
|
processedAt?: Maybe<Scalars['Timestamp']>;
|
|
3153
3200
|
refundReason?: Maybe<Scalars['String']>;
|
|
@@ -3184,6 +3231,7 @@ export declare type Query = {
|
|
|
3184
3231
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
3185
3232
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
3186
3233
|
listOrder: OrderPaginationResponse;
|
|
3234
|
+
listOrderTag: Array<OrderTag>;
|
|
3187
3235
|
listOrderTransactions: Array<PublicTransaction>;
|
|
3188
3236
|
listPriceList: Array<PriceList>;
|
|
3189
3237
|
/**
|
|
@@ -3284,6 +3332,7 @@ export declare type QuerylistOrderArgs = {
|
|
|
3284
3332
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
3285
3333
|
orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
|
|
3286
3334
|
orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
3335
|
+
orderTagIds?: InputMaybe<StringFilterInput>;
|
|
3287
3336
|
orderedAt?: InputMaybe<DateFilterInput>;
|
|
3288
3337
|
pagination?: InputMaybe<PaginationInput>;
|
|
3289
3338
|
search?: InputMaybe<Scalars['String']>;
|
|
@@ -3291,6 +3340,13 @@ export declare type QuerylistOrderArgs = {
|
|
|
3291
3340
|
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
3292
3341
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3293
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
|
+
};
|
|
3294
3350
|
export declare type QuerylistOrderTransactionsArgs = {
|
|
3295
3351
|
orderId: Scalars['String'];
|
|
3296
3352
|
};
|
|
@@ -3299,11 +3355,18 @@ export declare type QuerylistPriceListArgs = {
|
|
|
3299
3355
|
};
|
|
3300
3356
|
export declare type QuerylistProductArgs = {
|
|
3301
3357
|
barcodeList?: InputMaybe<StringFilterInput>;
|
|
3358
|
+
brandId?: InputMaybe<StringFilterInput>;
|
|
3359
|
+
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
3302
3360
|
id?: InputMaybe<StringFilterInput>;
|
|
3303
3361
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3362
|
+
name?: InputMaybe<StringFilterInput>;
|
|
3304
3363
|
pagination?: InputMaybe<PaginationInput>;
|
|
3364
|
+
salesChannelIds?: InputMaybe<StringFilterInput>;
|
|
3305
3365
|
sku?: InputMaybe<StringFilterInput>;
|
|
3306
3366
|
sort?: InputMaybe<Scalars['String']>;
|
|
3367
|
+
tagIds?: InputMaybe<StringFilterInput>;
|
|
3368
|
+
variantStockLocationId?: InputMaybe<StringFilterInput>;
|
|
3369
|
+
vendorId?: InputMaybe<StringFilterInput>;
|
|
3307
3370
|
};
|
|
3308
3371
|
export declare type QuerylistProductAttributeArgs = {
|
|
3309
3372
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -3383,7 +3446,6 @@ export declare type QueryproductAttributeExportArgs = {
|
|
|
3383
3446
|
export declare type QuerysearchProductsArgs = {
|
|
3384
3447
|
input: SearchInput;
|
|
3385
3448
|
};
|
|
3386
|
-
/** Enum for SF Analytics Traffic Source */
|
|
3387
3449
|
export declare enum SFAnalyticsTrafficSourceEnum {
|
|
3388
3450
|
ADS_OTHER = "ADS_OTHER",
|
|
3389
3451
|
AFFILIATE = "AFFILIATE",
|
|
@@ -3615,6 +3677,7 @@ export declare type SearchVariant = {
|
|
|
3615
3677
|
__typename?: 'SearchVariant';
|
|
3616
3678
|
attributes?: Maybe<Array<SearchProductAttributeValue>>;
|
|
3617
3679
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
3680
|
+
bundleSettings?: Maybe<BundleSettingsModel>;
|
|
3618
3681
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3619
3682
|
id: Scalars['String'];
|
|
3620
3683
|
images?: Maybe<Array<SearchProductImage>>;
|
|
@@ -3647,13 +3710,6 @@ export declare type SearchVariationValueRelation = {
|
|
|
3647
3710
|
variantTypeId: Scalars['String'];
|
|
3648
3711
|
variantValueId: Scalars['String'];
|
|
3649
3712
|
};
|
|
3650
|
-
/** Shipping Method Enum */
|
|
3651
|
-
export declare enum ShippingMethodEnum {
|
|
3652
|
-
CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
|
|
3653
|
-
DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
|
|
3654
|
-
NO_SHIPMENT = "NO_SHIPMENT",
|
|
3655
|
-
SHIPMENT = "SHIPMENT"
|
|
3656
|
-
}
|
|
3657
3713
|
export declare type SimpleCategory = {
|
|
3658
3714
|
__typename?: 'SimpleCategory';
|
|
3659
3715
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -3702,8 +3758,12 @@ export declare type State = {
|
|
|
3702
3758
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3703
3759
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3704
3760
|
id: Scalars['ID'];
|
|
3761
|
+
/** Shows spellings of state name in different languages. */
|
|
3762
|
+
locationTranslations?: Maybe<LocationTranslations>;
|
|
3705
3763
|
/** State's name. */
|
|
3706
3764
|
name: Scalars['String'];
|
|
3765
|
+
/** Indicates the name of the state in the local language. */
|
|
3766
|
+
native?: Maybe<Scalars['String']>;
|
|
3707
3767
|
/** The two-letter state code corresponding to the state. */
|
|
3708
3768
|
stateCode?: Maybe<Scalars['String']>;
|
|
3709
3769
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -3807,8 +3867,12 @@ export declare type StorefrontJSScript = {
|
|
|
3807
3867
|
__typename?: 'StorefrontJSScript';
|
|
3808
3868
|
/** The id of the logged in application. */
|
|
3809
3869
|
authorizedAppId?: Maybe<Scalars['String']>;
|
|
3870
|
+
/** The type of javascript script content. */
|
|
3871
|
+
contentType?: Maybe<StorefrontJSScriptContentTypeEnum>;
|
|
3810
3872
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3811
3873
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3874
|
+
/** The type of javascript script content. */
|
|
3875
|
+
fileName?: Maybe<Scalars['String']>;
|
|
3812
3876
|
id: Scalars['ID'];
|
|
3813
3877
|
/** Shows the availability status of the storefront. */
|
|
3814
3878
|
isActive: Scalars['Boolean'];
|
|
@@ -3824,7 +3888,13 @@ export declare type StorefrontJSScript = {
|
|
|
3824
3888
|
storefrontId: Scalars['String'];
|
|
3825
3889
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3826
3890
|
};
|
|
3891
|
+
export declare enum StorefrontJSScriptContentTypeEnum {
|
|
3892
|
+
FILE = "FILE",
|
|
3893
|
+
SCRIPT = "SCRIPT"
|
|
3894
|
+
}
|
|
3827
3895
|
export declare type StorefrontJSScriptInput = {
|
|
3896
|
+
contentType: StorefrontJSScriptContentTypeEnum;
|
|
3897
|
+
fileName?: InputMaybe<Scalars['String']>;
|
|
3828
3898
|
name: Scalars['String'];
|
|
3829
3899
|
scriptContent: Scalars['String'];
|
|
3830
3900
|
storefrontId: Scalars['String'];
|
|
@@ -3852,8 +3922,10 @@ export declare enum SubscriptionCodeEnum {
|
|
|
3852
3922
|
EXTENSION = "EXTENSION",
|
|
3853
3923
|
FREEMIUM = "FREEMIUM",
|
|
3854
3924
|
GROW = "GROW",
|
|
3925
|
+
PREMIUM = "PREMIUM",
|
|
3855
3926
|
SCALE = "SCALE",
|
|
3856
|
-
START = "START"
|
|
3927
|
+
START = "START",
|
|
3928
|
+
TRIAL = "TRIAL"
|
|
3857
3929
|
}
|
|
3858
3930
|
export declare enum SubscriptionPeriodEnum {
|
|
3859
3931
|
MONTHLY = "MONTHLY",
|
|
@@ -3997,6 +4069,10 @@ export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
|
3997
4069
|
/** It is the tracking information of the package */
|
|
3998
4070
|
trackingInfo?: InputMaybe<TrackingInfoDetailInput>;
|
|
3999
4071
|
};
|
|
4072
|
+
export declare type UpdateOrderTagInput = {
|
|
4073
|
+
orderId: Scalars['String'];
|
|
4074
|
+
orderTagId: Scalars['String'];
|
|
4075
|
+
};
|
|
4000
4076
|
export declare type UpdateProductSalesChannelStatusInput = {
|
|
4001
4077
|
/** Status of the product in the updated sales channels. */
|
|
4002
4078
|
active: Scalars['Boolean'];
|
|
@@ -4026,6 +4102,8 @@ export declare type Variant = {
|
|
|
4026
4102
|
attributes?: Maybe<Array<ProductAttributeValue>>;
|
|
4027
4103
|
/** List of barcode for the variant. */
|
|
4028
4104
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
4105
|
+
/** Show the product bundle settings. */
|
|
4106
|
+
bundleSettings?: Maybe<BundleSettingsModel>;
|
|
4029
4107
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
4030
4108
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
4031
4109
|
/** Hs code of the variant. */
|
|
@@ -4053,6 +4131,7 @@ export declare type Variant = {
|
|
|
4053
4131
|
export declare type VariantInput = {
|
|
4054
4132
|
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
4055
4133
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
4134
|
+
bundleSettings?: InputMaybe<BundleSettingsInput>;
|
|
4056
4135
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
4057
4136
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
4058
4137
|
hsCode?: InputMaybe<Scalars['String']>;
|