@ikas/api-client 1.0.37 → 1.0.40-alpha.1
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 +26 -21
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +234 -5
- package/dist/api/admin/generated/index.js +43 -2
- 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/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/index.js.map +1 -1
- package/dist/models/webhook/models.d.ts +1 -0
- package/dist/models/webhook/models.js +1 -0
- package/dist/models/webhook/models.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-gqls.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/default-gqls.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,kBAAkB,EAAE,gKAAgK;IACpL,sBAAsB,EAAE,wJAAwJ;IAChL,mBAAmB,EAAE,6HAA6H;IAClJ,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"default-gqls.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/default-gqls.ts"],"names":[],"mappings":"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"}
|
|
@@ -18,9 +18,7 @@ export declare type Scalars = {
|
|
|
18
18
|
Boolean: boolean;
|
|
19
19
|
Int: number;
|
|
20
20
|
Float: number;
|
|
21
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
22
21
|
JSON: any;
|
|
23
|
-
/** The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch. */
|
|
24
22
|
Timestamp: any;
|
|
25
23
|
};
|
|
26
24
|
export declare type AbandonedCartFlow = {
|
|
@@ -115,6 +113,10 @@ export declare type AvailableShippingMethod = {
|
|
|
115
113
|
shippingSettingsId: Scalars['String'];
|
|
116
114
|
shippingZoneRateId: Scalars['String'];
|
|
117
115
|
};
|
|
116
|
+
export declare type BooleanFilterInput = {
|
|
117
|
+
/** `equal`. The filter used for equality. */
|
|
118
|
+
eq?: InputMaybe<Scalars['Boolean']>;
|
|
119
|
+
};
|
|
118
120
|
export declare type Branch = {
|
|
119
121
|
__typename?: 'Branch';
|
|
120
122
|
address: BranchAddress;
|
|
@@ -255,6 +257,17 @@ export declare type BulkUpdateProductPriceInput = {
|
|
|
255
257
|
/** Sell price of product. */
|
|
256
258
|
sellPrice: Scalars['Float'];
|
|
257
259
|
};
|
|
260
|
+
export declare type BulkUpdateProductSalesChannels = {
|
|
261
|
+
/** Sales channels id for bulk update. */
|
|
262
|
+
id: Scalars['String'];
|
|
263
|
+
/** Max purchasable quantity of the sales channel for per cart. */
|
|
264
|
+
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
265
|
+
/** Min purchasable quantity of the sales channel for per cart. */
|
|
266
|
+
minQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
267
|
+
quantitySettings?: InputMaybe<Array<Scalars['Float']>>;
|
|
268
|
+
/** Sales channels id for bulk update. */
|
|
269
|
+
status?: InputMaybe<SalesChannelStatusEnum>;
|
|
270
|
+
};
|
|
258
271
|
export declare type BulkUpdateProductStockInput = {
|
|
259
272
|
/** Number of available items in the stock location. */
|
|
260
273
|
stockCount: Scalars['Float'];
|
|
@@ -336,6 +349,8 @@ export declare type BulkUpdateProductsInput = {
|
|
|
336
349
|
productVariantTypes: Array<BulkUpdateProductVariantTypeImportInput>;
|
|
337
350
|
/** Sales channel ids for bulk update. */
|
|
338
351
|
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
352
|
+
/** Sales channels for bulk update. */
|
|
353
|
+
salesChannels?: InputMaybe<Array<BulkUpdateProductSalesChannels>>;
|
|
339
354
|
/** Short description of the product. */
|
|
340
355
|
shortDescription?: InputMaybe<Scalars['String']>;
|
|
341
356
|
/** Source id for bulk update. */
|
|
@@ -390,6 +405,8 @@ export declare type BundleProductOrderLine = {
|
|
|
390
405
|
bundleLineQuantity: Scalars['Float'];
|
|
391
406
|
/** If the order line is derived from a package product, it shows the bundle product name of the package product */
|
|
392
407
|
name?: Maybe<Scalars['String']>;
|
|
408
|
+
/** It is the option information of the variant value in the order line item. */
|
|
409
|
+
options?: Maybe<Array<OrderLineOption>>;
|
|
393
410
|
/** Information about the variant of the order line item. */
|
|
394
411
|
variant: OrderLineVariant;
|
|
395
412
|
};
|
|
@@ -433,6 +450,7 @@ export declare type Campaign = {
|
|
|
433
450
|
__typename?: 'Campaign';
|
|
434
451
|
applicableCustomerGroupIds?: Maybe<Array<Scalars['String']>>;
|
|
435
452
|
applicableCustomerIds?: Maybe<Array<Scalars['String']>>;
|
|
453
|
+
applicableCustomerSegmentIds?: Maybe<Array<Scalars['String']>>;
|
|
436
454
|
applicablePrice: CampaignApplicablePriceEnum;
|
|
437
455
|
applyCampaignToProductPrice?: Maybe<Scalars['Boolean']>;
|
|
438
456
|
buyXThenGetY?: Maybe<BuyXThenGetY>;
|
|
@@ -449,6 +467,7 @@ export declare type Campaign = {
|
|
|
449
467
|
isFreeShipping?: Maybe<Scalars['Boolean']>;
|
|
450
468
|
onlyUseCustomer?: Maybe<Scalars['Boolean']>;
|
|
451
469
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
470
|
+
tieredDiscount?: Maybe<CampaignTieredDiscount>;
|
|
452
471
|
title: Scalars['String'];
|
|
453
472
|
translations?: Maybe<Array<CampaignTranslation>>;
|
|
454
473
|
type: CampaignTypeEnum;
|
|
@@ -486,14 +505,21 @@ export declare type CampaignFilterInput = {
|
|
|
486
505
|
};
|
|
487
506
|
export declare enum CampaignFilterTypeEnum {
|
|
488
507
|
CATEGORY = "CATEGORY",
|
|
508
|
+
DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
|
|
489
509
|
PRODUCT = "PRODUCT",
|
|
490
510
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
491
511
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
492
512
|
VARIANT = "VARIANT"
|
|
493
513
|
}
|
|
514
|
+
export declare enum CampaignGetYDiscountTypeEnum {
|
|
515
|
+
AMOUNT = "AMOUNT",
|
|
516
|
+
FIXED_PRODUCT_PRICE = "FIXED_PRODUCT_PRICE",
|
|
517
|
+
RATIO = "RATIO"
|
|
518
|
+
}
|
|
494
519
|
export declare type CampaignInput = {
|
|
495
520
|
applicableCustomerGroupIds?: InputMaybe<Array<Scalars['String']>>;
|
|
496
521
|
applicableCustomerIds?: InputMaybe<Array<Scalars['String']>>;
|
|
522
|
+
applicableCustomerSegmentIds?: InputMaybe<Array<Scalars['String']>>;
|
|
497
523
|
applicablePrice: CampaignApplicablePriceEnum;
|
|
498
524
|
applyCampaignToProductPrice?: InputMaybe<Scalars['Boolean']>;
|
|
499
525
|
buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
|
|
@@ -510,6 +536,7 @@ export declare type CampaignInput = {
|
|
|
510
536
|
isFreeShipping?: InputMaybe<Scalars['Boolean']>;
|
|
511
537
|
onlyUseCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
512
538
|
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
539
|
+
tieredDiscount?: InputMaybe<TieredDiscountInput>;
|
|
513
540
|
title: Scalars['String'];
|
|
514
541
|
translations?: InputMaybe<Array<CampaignTranslationInput>>;
|
|
515
542
|
type: CampaignTypeEnum;
|
|
@@ -632,6 +659,19 @@ export declare type CampaignPaginationResponse = {
|
|
|
632
659
|
*/
|
|
633
660
|
page: Scalars['Int'];
|
|
634
661
|
};
|
|
662
|
+
export declare type CampaignTieredDiscount = {
|
|
663
|
+
__typename?: 'CampaignTieredDiscount';
|
|
664
|
+
filters?: Maybe<Array<CampaignFilter>>;
|
|
665
|
+
isApplyByCartAmount?: Maybe<Scalars['Boolean']>;
|
|
666
|
+
rules: Array<CampaignTieredDiscountRule>;
|
|
667
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
668
|
+
};
|
|
669
|
+
export declare type CampaignTieredDiscountRule = {
|
|
670
|
+
__typename?: 'CampaignTieredDiscountRule';
|
|
671
|
+
amount: Scalars['Float'];
|
|
672
|
+
lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
|
|
673
|
+
priceRange?: Maybe<CampaignMinMaxRangeField>;
|
|
674
|
+
};
|
|
635
675
|
export declare type CampaignTranslation = {
|
|
636
676
|
__typename?: 'CampaignTranslation';
|
|
637
677
|
/** It is the name information of the translation. */
|
|
@@ -649,6 +689,16 @@ export declare enum CampaignTypeEnum {
|
|
|
649
689
|
FREE_SHIPPING = "FREE_SHIPPING",
|
|
650
690
|
RATIO = "RATIO"
|
|
651
691
|
}
|
|
692
|
+
export declare type CampaignTypeEnumFilterInput = {
|
|
693
|
+
/** `equal`. The filter used for equality. */
|
|
694
|
+
eq?: InputMaybe<CampaignTypeEnum>;
|
|
695
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
696
|
+
in?: InputMaybe<Array<InputMaybe<CampaignTypeEnum>>>;
|
|
697
|
+
/** `not equal`. The filter used for not equality. */
|
|
698
|
+
ne?: InputMaybe<CampaignTypeEnum>;
|
|
699
|
+
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
700
|
+
nin?: InputMaybe<Array<InputMaybe<CampaignTypeEnum>>>;
|
|
701
|
+
};
|
|
652
702
|
export declare type CancelFulfillmentInput = {
|
|
653
703
|
lines?: InputMaybe<Array<CancelFulfillmentOrderLineInput>>;
|
|
654
704
|
orderId: Scalars['String'];
|
|
@@ -1051,6 +1101,7 @@ export declare type Country = {
|
|
|
1051
1101
|
};
|
|
1052
1102
|
export declare type Coupon = {
|
|
1053
1103
|
__typename?: 'Coupon';
|
|
1104
|
+
applicableCustomerId?: Maybe<Scalars['String']>;
|
|
1054
1105
|
campaignId: Scalars['String'];
|
|
1055
1106
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
1056
1107
|
code: Scalars['String'];
|
|
@@ -1165,6 +1216,7 @@ export declare type Customer = {
|
|
|
1165
1216
|
/** A list of the ten most recently updated addresses for the customer. */
|
|
1166
1217
|
addresses?: Maybe<Array<CustomerAddress>>;
|
|
1167
1218
|
attributes?: Maybe<Array<CustomerAttributeValue>>;
|
|
1219
|
+
birthDate?: Maybe<Scalars['Timestamp']>;
|
|
1168
1220
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1169
1221
|
/** Groups that the store owner attaches to the customer. */
|
|
1170
1222
|
customerGroupIds?: Maybe<Array<Scalars['String']>>;
|
|
@@ -1183,6 +1235,7 @@ export declare type Customer = {
|
|
|
1183
1235
|
firstOrderDate?: Maybe<Scalars['Timestamp']>;
|
|
1184
1236
|
/** Customer's full name. Firstname plus lastname if firstname and lastname exist. Otherwise, it is saved as firstname only. */
|
|
1185
1237
|
fullName?: Maybe<Scalars['String']>;
|
|
1238
|
+
gender?: Maybe<CustomerGenderTypeEnum>;
|
|
1186
1239
|
id: Scalars['ID'];
|
|
1187
1240
|
ip?: Maybe<Scalars['String']>;
|
|
1188
1241
|
/** Email verification status. **isEmailVerified** returns `true` if the email is verified. */
|
|
@@ -1205,6 +1258,9 @@ export declare type Customer = {
|
|
|
1205
1258
|
passwordUpdateDate?: Maybe<Scalars['Timestamp']>;
|
|
1206
1259
|
/** The customer's phone number */
|
|
1207
1260
|
phone?: Maybe<Scalars['String']>;
|
|
1261
|
+
/** CustomerEmailSubscriptionStatusesEnum */
|
|
1262
|
+
phoneSubscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1263
|
+
phoneSubscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1208
1264
|
/** The date the **email** was verified. */
|
|
1209
1265
|
phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
1210
1266
|
preferredLanguage?: Maybe<Scalars['String']>;
|
|
@@ -1213,6 +1269,9 @@ export declare type Customer = {
|
|
|
1213
1269
|
/** Registration source of customer. */
|
|
1214
1270
|
registrationSource?: Maybe<CustomerRegistrationSourceEnum>;
|
|
1215
1271
|
/** CustomerEmailSubscriptionStatusesEnum */
|
|
1272
|
+
smsSubscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1273
|
+
smsSubscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1274
|
+
/** CustomerEmailSubscriptionStatusesEnum */
|
|
1216
1275
|
subscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1217
1276
|
subscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1218
1277
|
/** Tags that the store owner attaches to the customer. */
|
|
@@ -1390,6 +1449,11 @@ export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
|
1390
1449
|
PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
|
|
1391
1450
|
SUBSCRIBED = "SUBSCRIBED"
|
|
1392
1451
|
}
|
|
1452
|
+
export declare enum CustomerGenderTypeEnum {
|
|
1453
|
+
FEMALE = "FEMALE",
|
|
1454
|
+
MALE = "MALE",
|
|
1455
|
+
OTHER = "OTHER"
|
|
1456
|
+
}
|
|
1393
1457
|
export declare type CustomerPaginationResponse = {
|
|
1394
1458
|
__typename?: 'CustomerPaginationResponse';
|
|
1395
1459
|
/**
|
|
@@ -1498,6 +1562,7 @@ export declare type FixedDiscount = {
|
|
|
1498
1562
|
isApplyByCartAmount?: Maybe<Scalars['Boolean']>;
|
|
1499
1563
|
lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
|
|
1500
1564
|
priceRange?: Maybe<CampaignMinMaxRangeField>;
|
|
1565
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
1501
1566
|
};
|
|
1502
1567
|
export declare type FixedDiscountInput = {
|
|
1503
1568
|
amount?: InputMaybe<Scalars['Float']>;
|
|
@@ -1505,6 +1570,7 @@ export declare type FixedDiscountInput = {
|
|
|
1505
1570
|
isApplyByCartAmount?: InputMaybe<Scalars['Boolean']>;
|
|
1506
1571
|
lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
1507
1572
|
priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
1573
|
+
shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
|
|
1508
1574
|
};
|
|
1509
1575
|
export declare type FulFillOrderInput = {
|
|
1510
1576
|
lines: Array<FulfillOrderLineInput>;
|
|
@@ -1519,6 +1585,7 @@ export declare type FulfillOrderLineInput = {
|
|
|
1519
1585
|
quantity: Scalars['Float'];
|
|
1520
1586
|
};
|
|
1521
1587
|
export declare type GenerateCouponInput = {
|
|
1588
|
+
applicableCustomerId?: InputMaybe<Scalars['String']>;
|
|
1522
1589
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
1523
1590
|
prefix: Scalars['String'];
|
|
1524
1591
|
quantity: Scalars['Int'];
|
|
@@ -1553,12 +1620,14 @@ export declare type GetY = {
|
|
|
1553
1620
|
amount: Scalars['Float'];
|
|
1554
1621
|
automaticallyAddItemToCart?: Maybe<Scalars['Boolean']>;
|
|
1555
1622
|
discountRatio: Scalars['Float'];
|
|
1623
|
+
discountType?: Maybe<CampaignGetYDiscountTypeEnum>;
|
|
1556
1624
|
filter: CampaignFilter;
|
|
1557
1625
|
};
|
|
1558
1626
|
export declare type GetYInput = {
|
|
1559
1627
|
amount: Scalars['Float'];
|
|
1560
1628
|
automaticallyAddItemToCart?: InputMaybe<Scalars['Boolean']>;
|
|
1561
1629
|
discountRatio: Scalars['Float'];
|
|
1630
|
+
discountType?: InputMaybe<CampaignGetYDiscountTypeEnum>;
|
|
1562
1631
|
filter: CampaignFilterInput;
|
|
1563
1632
|
};
|
|
1564
1633
|
export declare type GlobalTaxSettings = {
|
|
@@ -1571,6 +1640,15 @@ export declare type GlobalTaxSettings = {
|
|
|
1571
1640
|
storefrontId?: Maybe<Scalars['String']>;
|
|
1572
1641
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1573
1642
|
};
|
|
1643
|
+
export declare type GlobalTaxSettingsInput = {
|
|
1644
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1645
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1646
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1647
|
+
isTaxExcludedOnPrices?: Scalars['Boolean'];
|
|
1648
|
+
isTaxExcludedOnShippingPrices?: Scalars['Boolean'];
|
|
1649
|
+
storefrontId?: InputMaybe<Scalars['String']>;
|
|
1650
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1651
|
+
};
|
|
1574
1652
|
export declare type HTMLMetaData = {
|
|
1575
1653
|
__typename?: 'HTMLMetaData';
|
|
1576
1654
|
/** Canonical URL list of entity. */
|
|
@@ -1653,6 +1731,31 @@ export declare enum ImportStatusEnum {
|
|
|
1653
1731
|
WAITING = "WAITING",
|
|
1654
1732
|
WAITING_FOR_IMPORT = "WAITING_FOR_IMPORT"
|
|
1655
1733
|
}
|
|
1734
|
+
/** Import Type */
|
|
1735
|
+
export declare enum ImportTypeEnum {
|
|
1736
|
+
CUSTOMER = "CUSTOMER",
|
|
1737
|
+
CUSTOMER_ATTRIBUTE = "CUSTOMER_ATTRIBUTE",
|
|
1738
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
|
|
1739
|
+
ORDER = "ORDER",
|
|
1740
|
+
ORDER_COUPON = "ORDER_COUPON",
|
|
1741
|
+
ORDER_RAFFLE_PARTICIPANT = "ORDER_RAFFLE_PARTICIPANT",
|
|
1742
|
+
PRODUCT = "PRODUCT",
|
|
1743
|
+
PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
|
|
1744
|
+
PRODUCT_BACK_IN_STOCK_REMINDER = "PRODUCT_BACK_IN_STOCK_REMINDER",
|
|
1745
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
1746
|
+
PRODUCT_CATEGORY = "PRODUCT_CATEGORY",
|
|
1747
|
+
PRODUCT_ORDER = "PRODUCT_ORDER",
|
|
1748
|
+
PRODUCT_PRICE_LIST = "PRODUCT_PRICE_LIST",
|
|
1749
|
+
PRODUCT_PURCHASE_ORDER = "PRODUCT_PURCHASE_ORDER",
|
|
1750
|
+
PRODUCT_STOCK_COUNT = "PRODUCT_STOCK_COUNT",
|
|
1751
|
+
PRODUCT_STOCK_TRANSFER = "PRODUCT_STOCK_TRANSFER",
|
|
1752
|
+
REPORT_PURCHASE_ORDER_BY_DATE = "REPORT_PURCHASE_ORDER_BY_DATE",
|
|
1753
|
+
REPORT_SALES_BY_DATE = "REPORT_SALES_BY_DATE",
|
|
1754
|
+
REPORT_SALES_BY_GROUP_FIELDS = "REPORT_SALES_BY_GROUP_FIELDS",
|
|
1755
|
+
STOREFRONT_REDIRECT = "STOREFRONT_REDIRECT",
|
|
1756
|
+
STORE_FRONT_THEME_LOCALIZATION = "STORE_FRONT_THEME_LOCALIZATION",
|
|
1757
|
+
TRANSLATION = "TRANSLATION"
|
|
1758
|
+
}
|
|
1656
1759
|
export declare type Invoice = {
|
|
1657
1760
|
__typename?: 'Invoice';
|
|
1658
1761
|
/** It is the id of the order invoice. */
|
|
@@ -2008,6 +2111,7 @@ export declare type Mutation = {
|
|
|
2008
2111
|
/** Using this api, you can delete the categories of products. */
|
|
2009
2112
|
deleteCategoryList: Scalars['Boolean'];
|
|
2010
2113
|
deleteCouponList: Scalars['String'];
|
|
2114
|
+
deleteGlobalTaxSettingsList: Scalars['Boolean'];
|
|
2011
2115
|
deleteOrderTagList: Scalars['Boolean'];
|
|
2012
2116
|
/** Use this mutation to delete product attributes with specific ids. */
|
|
2013
2117
|
deleteProductAttributeList: Scalars['Boolean'];
|
|
@@ -2024,6 +2128,7 @@ export declare type Mutation = {
|
|
|
2024
2128
|
deleteProductVolumeDiscountList: Scalars['Boolean'];
|
|
2025
2129
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
2026
2130
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
2131
|
+
deleteTaxSettingsList: Scalars['Boolean'];
|
|
2027
2132
|
/** Using this api, you can delete the variant types of products. */
|
|
2028
2133
|
deleteVariantTypeList: Scalars['Boolean'];
|
|
2029
2134
|
/** Use this mutation to delete vendors with specific vendor ids. */
|
|
@@ -2041,6 +2146,7 @@ export declare type Mutation = {
|
|
|
2041
2146
|
saveCampaign: Campaign;
|
|
2042
2147
|
/** Using this api, you can update the categories of products. */
|
|
2043
2148
|
saveCategory: Category;
|
|
2149
|
+
saveGlobalTaxSettings: GlobalTaxSettings;
|
|
2044
2150
|
saveOrderTag: OrderTag;
|
|
2045
2151
|
/** Use this mutation to create or update a product with provided input values. */
|
|
2046
2152
|
saveProduct: Product;
|
|
@@ -2061,6 +2167,7 @@ export declare type Mutation = {
|
|
|
2061
2167
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
2062
2168
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
2063
2169
|
saveStorefrontJSScript: StorefrontJSScript;
|
|
2170
|
+
saveTaxSettings: TaxSettings;
|
|
2064
2171
|
/** Response indicating the status of operation. */
|
|
2065
2172
|
saveVariantPrices: Scalars['Boolean'];
|
|
2066
2173
|
/** Using this api, you can update the variant types of products. */
|
|
@@ -2121,6 +2228,9 @@ export declare type MutationdeleteCategoryListArgs = {
|
|
|
2121
2228
|
export declare type MutationdeleteCouponListArgs = {
|
|
2122
2229
|
idList: Array<Scalars['String']>;
|
|
2123
2230
|
};
|
|
2231
|
+
export declare type MutationdeleteGlobalTaxSettingsListArgs = {
|
|
2232
|
+
idList: Array<Scalars['String']>;
|
|
2233
|
+
};
|
|
2124
2234
|
export declare type MutationdeleteOrderTagListArgs = {
|
|
2125
2235
|
idList: Array<Scalars['String']>;
|
|
2126
2236
|
};
|
|
@@ -2148,6 +2258,9 @@ export declare type MutationdeleteProductVolumeDiscountListArgs = {
|
|
|
2148
2258
|
export declare type MutationdeleteStorefrontJSScriptArgs = {
|
|
2149
2259
|
storefrontIdList: Array<Scalars['String']>;
|
|
2150
2260
|
};
|
|
2261
|
+
export declare type MutationdeleteTaxSettingsListArgs = {
|
|
2262
|
+
idList: Array<Scalars['String']>;
|
|
2263
|
+
};
|
|
2151
2264
|
export declare type MutationdeleteVariantTypeListArgs = {
|
|
2152
2265
|
idList: Array<Scalars['String']>;
|
|
2153
2266
|
};
|
|
@@ -2178,6 +2291,9 @@ export declare type MutationsaveCampaignArgs = {
|
|
|
2178
2291
|
export declare type MutationsaveCategoryArgs = {
|
|
2179
2292
|
input: CategoryInput;
|
|
2180
2293
|
};
|
|
2294
|
+
export declare type MutationsaveGlobalTaxSettingsArgs = {
|
|
2295
|
+
input: GlobalTaxSettingsInput;
|
|
2296
|
+
};
|
|
2181
2297
|
export declare type MutationsaveOrderTagArgs = {
|
|
2182
2298
|
input: OrderTagInput;
|
|
2183
2299
|
};
|
|
@@ -2211,6 +2327,9 @@ export declare type MutationsaveSalesChannelArgs = {
|
|
|
2211
2327
|
export declare type MutationsaveStorefrontJSScriptArgs = {
|
|
2212
2328
|
input: StorefrontJSScriptInput;
|
|
2213
2329
|
};
|
|
2330
|
+
export declare type MutationsaveTaxSettingsArgs = {
|
|
2331
|
+
input: TaxSettingsInput;
|
|
2332
|
+
};
|
|
2214
2333
|
export declare type MutationsaveVariantPricesArgs = {
|
|
2215
2334
|
input: SaveVariantPricesInput;
|
|
2216
2335
|
};
|
|
@@ -2241,6 +2360,7 @@ export declare type MutationupdateSubscriptionStatusArgs = {
|
|
|
2241
2360
|
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum;
|
|
2242
2361
|
};
|
|
2243
2362
|
export declare type NewCouponInput = {
|
|
2363
|
+
applicableCustomerId?: InputMaybe<Scalars['String']>;
|
|
2244
2364
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
2245
2365
|
code: Scalars['String'];
|
|
2246
2366
|
id?: InputMaybe<Scalars['ID']>;
|
|
@@ -2919,7 +3039,11 @@ export declare type OrderLineVariantBundleProductModel = {
|
|
|
2919
3039
|
discountRatio?: Maybe<Scalars['Float']>;
|
|
2920
3040
|
/** It is the final price of the variant. */
|
|
2921
3041
|
finalPrice?: Maybe<Scalars['Float']>;
|
|
3042
|
+
/** It is the unit price of the variant */
|
|
3043
|
+
finalUnitPrice?: Maybe<Scalars['Float']>;
|
|
2922
3044
|
id: Scalars['String'];
|
|
3045
|
+
/** It is the option information of the variant value in the order line item. */
|
|
3046
|
+
options?: Maybe<Array<OrderLineOption>>;
|
|
2923
3047
|
/** Indicates the order of the product in the bundle. */
|
|
2924
3048
|
order: Scalars['Float'];
|
|
2925
3049
|
/** It is the price of the variant. */
|
|
@@ -2928,6 +3052,8 @@ export declare type OrderLineVariantBundleProductModel = {
|
|
|
2928
3052
|
quantity: Scalars['Float'];
|
|
2929
3053
|
/** It is the tax value of the variant. */
|
|
2930
3054
|
taxValue?: Maybe<Scalars['Float']>;
|
|
3055
|
+
/** It is the unit price of the variant */
|
|
3056
|
+
unitPrice?: Maybe<Scalars['Float']>;
|
|
2931
3057
|
/** Information about the variant of the order line item. */
|
|
2932
3058
|
variant: OrderLineBundleVariant;
|
|
2933
3059
|
};
|
|
@@ -3103,6 +3229,8 @@ export declare type OrderPaginationResponse = {
|
|
|
3103
3229
|
};
|
|
3104
3230
|
export declare type OrderPaymentMethod = {
|
|
3105
3231
|
__typename?: 'OrderPaymentMethod';
|
|
3232
|
+
/** The indication of whether the payment was received through a gateway that is part of the payment group and does not have primary priority */
|
|
3233
|
+
isAlternativeGateway?: Maybe<Scalars['Boolean']>;
|
|
3106
3234
|
/** It is the gateway code of the order payment method. */
|
|
3107
3235
|
paymentGatewayCode?: Maybe<Scalars['String']>;
|
|
3108
3236
|
/** It is the gateway name of the order payment method. */
|
|
@@ -3148,6 +3276,7 @@ export declare type OrderPriceList = {
|
|
|
3148
3276
|
name?: Maybe<Scalars['String']>;
|
|
3149
3277
|
};
|
|
3150
3278
|
export declare type OrderRefundInput = {
|
|
3279
|
+
forceRefund?: InputMaybe<Scalars['Boolean']>;
|
|
3151
3280
|
orderId: Scalars['String'];
|
|
3152
3281
|
orderRefundLines: Array<OrderRefundLineInput>;
|
|
3153
3282
|
paymentGatewayId: Scalars['String'];
|
|
@@ -3493,6 +3622,8 @@ export declare type Product = {
|
|
|
3493
3622
|
productVolumeDiscountId?: Maybe<Scalars['String']>;
|
|
3494
3623
|
/** List of sales channel ids of the product. */
|
|
3495
3624
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
3625
|
+
/** List of hidden sales channels of the product. */
|
|
3626
|
+
salesChannels?: Maybe<Array<ProductSalesChannel>>;
|
|
3496
3627
|
/** Short description of the product. */
|
|
3497
3628
|
shortDescription?: Maybe<Scalars['String']>;
|
|
3498
3629
|
/** List of product tag identifiers. */
|
|
@@ -3746,6 +3877,7 @@ export declare type ProductInput = {
|
|
|
3746
3877
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
3747
3878
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3748
3879
|
description?: InputMaybe<Scalars['String']>;
|
|
3880
|
+
dynamicPriceListIds?: InputMaybe<Array<Scalars['String']>>;
|
|
3749
3881
|
googleTaxonomyId?: InputMaybe<Scalars['String']>;
|
|
3750
3882
|
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
3751
3883
|
hiddenSalesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -3758,6 +3890,8 @@ export declare type ProductInput = {
|
|
|
3758
3890
|
productVariantTypes?: InputMaybe<Array<ProductVariantTypeInput>>;
|
|
3759
3891
|
productVolumeDiscountId?: InputMaybe<Scalars['String']>;
|
|
3760
3892
|
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
3893
|
+
/** List of sales channels of the product. */
|
|
3894
|
+
salesChannels?: InputMaybe<Array<ProductSalesChannelInput>>;
|
|
3761
3895
|
shortDescription?: InputMaybe<Scalars['String']>;
|
|
3762
3896
|
tagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
3763
3897
|
translations?: InputMaybe<Array<ProductTranslationInput>>;
|
|
@@ -3953,6 +4087,28 @@ export declare type ProductPriceInput = {
|
|
|
3953
4087
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
3954
4088
|
sellPrice: Scalars['Float'];
|
|
3955
4089
|
};
|
|
4090
|
+
export declare type ProductSalesChannel = {
|
|
4091
|
+
__typename?: 'ProductSalesChannel';
|
|
4092
|
+
id: Scalars['String'];
|
|
4093
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
4094
|
+
maxQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
4095
|
+
/** Min purchasable quantity of the product for per cart. */
|
|
4096
|
+
minQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
4097
|
+
/** Volume discount id of the product. */
|
|
4098
|
+
productVolumeDiscountId?: Maybe<Scalars['String']>;
|
|
4099
|
+
quantitySettings?: Maybe<Array<Scalars['Float']>>;
|
|
4100
|
+
status: SalesChannelStatusEnum;
|
|
4101
|
+
};
|
|
4102
|
+
export declare type ProductSalesChannelInput = {
|
|
4103
|
+
id: Scalars['String'];
|
|
4104
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
4105
|
+
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
4106
|
+
/** Min purchasable quantity of the product for per cart. */
|
|
4107
|
+
minQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
4108
|
+
productVolumeDiscountId?: InputMaybe<Scalars['String']>;
|
|
4109
|
+
quantitySettings?: InputMaybe<Array<Scalars['Float']>>;
|
|
4110
|
+
status: SalesChannelStatusEnum;
|
|
4111
|
+
};
|
|
3956
4112
|
export declare type ProductSearchCustomerReviewSummaries = {
|
|
3957
4113
|
__typename?: 'ProductSearchCustomerReviewSummaries';
|
|
3958
4114
|
averageRating?: Maybe<Scalars['Float']>;
|
|
@@ -4255,6 +4411,7 @@ export declare type Query = {
|
|
|
4255
4411
|
listCustomer: CustomerPaginationResponse;
|
|
4256
4412
|
listCustomerAttribute: Array<CustomerAttribute>;
|
|
4257
4413
|
listDistrict: Array<District>;
|
|
4414
|
+
listGlobalTaxSettings: Array<GlobalTaxSettings>;
|
|
4258
4415
|
listLanguage: Array<Language>;
|
|
4259
4416
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
4260
4417
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
@@ -4309,6 +4466,7 @@ export declare type QuerygetImageUploadUrlArgs = {
|
|
|
4309
4466
|
};
|
|
4310
4467
|
export declare type QuerygetImportJobDataArgs = {
|
|
4311
4468
|
importJobId: Scalars['String'];
|
|
4469
|
+
importType: ImportTypeEnum;
|
|
4312
4470
|
};
|
|
4313
4471
|
export declare type QuerygetVideoUploadUrlArgs = {
|
|
4314
4472
|
videoId: Scalars['String'];
|
|
@@ -4316,10 +4474,10 @@ export declare type QuerygetVideoUploadUrlArgs = {
|
|
|
4316
4474
|
export declare type QuerylistAbandonedCheckoutsArgs = {
|
|
4317
4475
|
id?: InputMaybe<StringFilterInput>;
|
|
4318
4476
|
input: ListAbandonedCartInput;
|
|
4477
|
+
lastActivityDate?: InputMaybe<DateFilterInput>;
|
|
4319
4478
|
mailSendDate?: InputMaybe<DateFilterInput>;
|
|
4320
4479
|
pagination?: InputMaybe<PaginationInput>;
|
|
4321
4480
|
sort?: InputMaybe<Scalars['String']>;
|
|
4322
|
-
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4323
4481
|
};
|
|
4324
4482
|
export declare type QuerylistBranchArgs = {
|
|
4325
4483
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -4329,10 +4487,13 @@ export declare type QuerylistBranchArgs = {
|
|
|
4329
4487
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4330
4488
|
};
|
|
4331
4489
|
export declare type QuerylistCampaignArgs = {
|
|
4490
|
+
canCombineWithOtherCampaigns?: InputMaybe<BooleanFilterInput>;
|
|
4332
4491
|
id?: InputMaybe<StringFilterInput>;
|
|
4333
4492
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
4334
4493
|
pagination?: InputMaybe<PaginationInput>;
|
|
4335
4494
|
search?: InputMaybe<Scalars['String']>;
|
|
4495
|
+
sort?: InputMaybe<Scalars['String']>;
|
|
4496
|
+
type?: InputMaybe<CampaignTypeEnumFilterInput>;
|
|
4336
4497
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4337
4498
|
};
|
|
4338
4499
|
export declare type QuerylistCargoCompanyArgs = {
|
|
@@ -4388,6 +4549,10 @@ export declare type QuerylistDistrictArgs = {
|
|
|
4388
4549
|
stateId?: InputMaybe<StringFilterInput>;
|
|
4389
4550
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4390
4551
|
};
|
|
4552
|
+
export declare type QuerylistGlobalTaxSettingsArgs = {
|
|
4553
|
+
id?: InputMaybe<StringFilterInput>;
|
|
4554
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
4555
|
+
};
|
|
4391
4556
|
export declare type QuerylistLanguageArgs = {
|
|
4392
4557
|
id?: InputMaybe<StringFilterInput>;
|
|
4393
4558
|
};
|
|
@@ -4436,6 +4601,7 @@ export declare type QuerylistProductArgs = {
|
|
|
4436
4601
|
attributeId?: InputMaybe<ProductAttributeFilterInput>;
|
|
4437
4602
|
barcodeList?: InputMaybe<StringFilterInput>;
|
|
4438
4603
|
brandId?: InputMaybe<StringFilterInput>;
|
|
4604
|
+
bundleProductsProductId?: InputMaybe<StringFilterInput>;
|
|
4439
4605
|
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
4440
4606
|
id?: InputMaybe<StringFilterInput>;
|
|
4441
4607
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -4593,6 +4759,7 @@ export declare type SalesChannelPaymentGateway = {
|
|
|
4593
4759
|
};
|
|
4594
4760
|
export declare enum SalesChannelStatusEnum {
|
|
4595
4761
|
HIDDEN = "HIDDEN",
|
|
4762
|
+
PASSIVE = "PASSIVE",
|
|
4596
4763
|
VISIBLE = "VISIBLE"
|
|
4597
4764
|
}
|
|
4598
4765
|
export declare type SalesChannelStockLocation = {
|
|
@@ -4614,7 +4781,8 @@ export declare enum SalesChannelTypeEnum {
|
|
|
4614
4781
|
FACEBOOK = "FACEBOOK",
|
|
4615
4782
|
GOOGLE = "GOOGLE",
|
|
4616
4783
|
POS = "POS",
|
|
4617
|
-
STOREFRONT = "STOREFRONT"
|
|
4784
|
+
STOREFRONT = "STOREFRONT",
|
|
4785
|
+
STOREFRONT_APP = "STOREFRONT_APP"
|
|
4618
4786
|
}
|
|
4619
4787
|
export declare type SaveStockLocationsInput = {
|
|
4620
4788
|
productStockLocationInputs?: InputMaybe<Array<ProductStockLocationInput>>;
|
|
@@ -4705,6 +4873,7 @@ export declare type SearchProduct = {
|
|
|
4705
4873
|
productVolumeDiscountId?: Maybe<Scalars['String']>;
|
|
4706
4874
|
reviewCount?: Maybe<Scalars['Float']>;
|
|
4707
4875
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
4876
|
+
salesChannels?: Maybe<Array<SearchProductSalesChannel>>;
|
|
4708
4877
|
shortDescription?: Maybe<Scalars['String']>;
|
|
4709
4878
|
stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
|
|
4710
4879
|
tags?: Maybe<Array<SearchProductTag>>;
|
|
@@ -4802,6 +4971,8 @@ export declare type SearchProductCampaignFixedDiscount = {
|
|
|
4802
4971
|
__typename?: 'SearchProductCampaignFixedDiscount';
|
|
4803
4972
|
amount?: Maybe<Scalars['Float']>;
|
|
4804
4973
|
filters?: Maybe<Array<SearchProductCampaignFilter>>;
|
|
4974
|
+
lineItemQuantityRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
4975
|
+
priceRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
4805
4976
|
};
|
|
4806
4977
|
export declare type SearchProductCampaignGetY = {
|
|
4807
4978
|
__typename?: 'SearchProductCampaignGetY';
|
|
@@ -4810,6 +4981,11 @@ export declare type SearchProductCampaignGetY = {
|
|
|
4810
4981
|
discountRatio: Scalars['Float'];
|
|
4811
4982
|
filter?: Maybe<SearchProductCampaignFilter>;
|
|
4812
4983
|
};
|
|
4984
|
+
export declare type SearchProductCampaignMinMaxRangeField = {
|
|
4985
|
+
__typename?: 'SearchProductCampaignMinMaxRangeField';
|
|
4986
|
+
max?: Maybe<Scalars['Float']>;
|
|
4987
|
+
min?: Maybe<Scalars['Float']>;
|
|
4988
|
+
};
|
|
4813
4989
|
export declare type SearchProductCampaignOffer = {
|
|
4814
4990
|
__typename?: 'SearchProductCampaignOffer';
|
|
4815
4991
|
id: Scalars['String'];
|
|
@@ -4829,7 +5005,7 @@ export declare type SearchProductGroup = {
|
|
|
4829
5005
|
groupKey: Scalars['String'];
|
|
4830
5006
|
id: Scalars['String'];
|
|
4831
5007
|
name: Scalars['String'];
|
|
4832
|
-
order
|
|
5008
|
+
order?: Maybe<SearchProductGroupOrder>;
|
|
4833
5009
|
translations?: Maybe<Array<SearchProductGroupTranslation>>;
|
|
4834
5010
|
values: Array<SearchProductGroupValueType>;
|
|
4835
5011
|
};
|
|
@@ -4887,6 +5063,15 @@ export declare type SearchProductProductUnit = {
|
|
|
4887
5063
|
name: Scalars['String'];
|
|
4888
5064
|
translations?: Maybe<Array<ProductUnitTranslation>>;
|
|
4889
5065
|
};
|
|
5066
|
+
export declare type SearchProductSalesChannel = {
|
|
5067
|
+
__typename?: 'SearchProductSalesChannel';
|
|
5068
|
+
id: Scalars['String'];
|
|
5069
|
+
maxQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
5070
|
+
minQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
5071
|
+
productVolumeDiscountId?: Maybe<Scalars['String']>;
|
|
5072
|
+
quantitySettings?: Maybe<Array<Scalars['Float']>>;
|
|
5073
|
+
status: SalesChannelStatusEnum;
|
|
5074
|
+
};
|
|
4890
5075
|
export declare type SearchProductStockLocation = {
|
|
4891
5076
|
__typename?: 'SearchProductStockLocation';
|
|
4892
5077
|
stockCount: Scalars['Float'];
|
|
@@ -5131,6 +5316,10 @@ export declare type StockLocationAddressCountry = {
|
|
|
5131
5316
|
code?: Maybe<Scalars['String']>;
|
|
5132
5317
|
/** It is the id of the country of the address. */
|
|
5133
5318
|
id?: Maybe<Scalars['String']>;
|
|
5319
|
+
/** It is the code of the country of the address. */
|
|
5320
|
+
iso2?: Maybe<Scalars['String']>;
|
|
5321
|
+
/** It is the code of the country of the address. */
|
|
5322
|
+
iso3?: Maybe<Scalars['String']>;
|
|
5134
5323
|
/** It is the name of the country of the address. */
|
|
5135
5324
|
name: Scalars['String'];
|
|
5136
5325
|
};
|
|
@@ -5272,22 +5461,51 @@ export declare type TaxSettingsGiftPackageTaxRate = {
|
|
|
5272
5461
|
stateId?: Maybe<Scalars['String']>;
|
|
5273
5462
|
taxRate: Scalars['Float'];
|
|
5274
5463
|
};
|
|
5464
|
+
export declare type TaxSettingsGiftPackageTaxRateInput = {
|
|
5465
|
+
stateId?: InputMaybe<Scalars['String']>;
|
|
5466
|
+
taxRate: Scalars['Float'];
|
|
5467
|
+
};
|
|
5468
|
+
export declare type TaxSettingsInput = {
|
|
5469
|
+
countryId: Scalars['String'];
|
|
5470
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
5471
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
5472
|
+
giftPackageTaxRates?: InputMaybe<Array<TaxSettingsGiftPackageTaxRateInput>>;
|
|
5473
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
5474
|
+
productOverrides: Array<TaxSettingsProductOverrideInput>;
|
|
5475
|
+
rates?: InputMaybe<Array<TaxSettingsRateInput>>;
|
|
5476
|
+
shippingTaxRates?: InputMaybe<Array<TaxSettingsShippingTaxRateInput>>;
|
|
5477
|
+
taxRate: Scalars['Float'];
|
|
5478
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
5479
|
+
};
|
|
5275
5480
|
export declare type TaxSettingsProductOverride = {
|
|
5276
5481
|
__typename?: 'TaxSettingsProductOverride';
|
|
5277
5482
|
productTagIds: Array<Scalars['String']>;
|
|
5278
5483
|
stateId?: Maybe<Scalars['String']>;
|
|
5279
5484
|
taxRate: Scalars['Float'];
|
|
5280
5485
|
};
|
|
5486
|
+
export declare type TaxSettingsProductOverrideInput = {
|
|
5487
|
+
productTagIds: Array<Scalars['String']>;
|
|
5488
|
+
stateId?: InputMaybe<Scalars['String']>;
|
|
5489
|
+
taxRate: Scalars['Float'];
|
|
5490
|
+
};
|
|
5281
5491
|
export declare type TaxSettingsRate = {
|
|
5282
5492
|
__typename?: 'TaxSettingsRate';
|
|
5283
5493
|
stateId: Scalars['String'];
|
|
5284
5494
|
taxRate: Scalars['Float'];
|
|
5285
5495
|
};
|
|
5496
|
+
export declare type TaxSettingsRateInput = {
|
|
5497
|
+
stateId: Scalars['String'];
|
|
5498
|
+
taxRate: Scalars['Float'];
|
|
5499
|
+
};
|
|
5286
5500
|
export declare type TaxSettingsShippingTaxRate = {
|
|
5287
5501
|
__typename?: 'TaxSettingsShippingTaxRate';
|
|
5288
5502
|
stateId?: Maybe<Scalars['String']>;
|
|
5289
5503
|
taxRate: Scalars['Float'];
|
|
5290
5504
|
};
|
|
5505
|
+
export declare type TaxSettingsShippingTaxRateInput = {
|
|
5506
|
+
stateId?: InputMaybe<Scalars['String']>;
|
|
5507
|
+
taxRate: Scalars['Float'];
|
|
5508
|
+
};
|
|
5291
5509
|
export declare type Terminal = {
|
|
5292
5510
|
__typename?: 'Terminal';
|
|
5293
5511
|
branchId: Scalars['String'];
|
|
@@ -5297,6 +5515,17 @@ export declare type Terminal = {
|
|
|
5297
5515
|
name: Scalars['String'];
|
|
5298
5516
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
5299
5517
|
};
|
|
5518
|
+
export declare type TieredDiscountInput = {
|
|
5519
|
+
filters?: InputMaybe<Array<CampaignFilterInput>>;
|
|
5520
|
+
isApplyByCartAmount?: InputMaybe<Scalars['Boolean']>;
|
|
5521
|
+
rules: Array<TieredDiscountRuleInput>;
|
|
5522
|
+
shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
|
|
5523
|
+
};
|
|
5524
|
+
export declare type TieredDiscountRuleInput = {
|
|
5525
|
+
amount: Scalars['Float'];
|
|
5526
|
+
lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
5527
|
+
priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
5528
|
+
};
|
|
5300
5529
|
export declare type TimelineInput = {
|
|
5301
5530
|
/** The message you want to add */
|
|
5302
5531
|
message: Scalars['String'];
|