@ikas/api-client 1.0.35 → 1.0.37

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.
@@ -355,6 +355,7 @@ export declare type BundleProductInput = {
355
355
  addToBundleBasePrice?: InputMaybe<Scalars['Boolean']>;
356
356
  discountRatio?: InputMaybe<Scalars['Float']>;
357
357
  filteredVariantIds: Array<Scalars['String']>;
358
+ id: Scalars['String'];
358
359
  maxQuantity?: InputMaybe<Scalars['Float']>;
359
360
  minQuantity?: InputMaybe<Scalars['Float']>;
360
361
  order: Scalars['Float'];
@@ -369,6 +370,7 @@ export declare type BundleProductModel = {
369
370
  discountRatio?: Maybe<Scalars['Float']>;
370
371
  /** Selectable variant ids of the product that can be included in the bundle product. */
371
372
  filteredVariantIds: Array<Scalars['String']>;
373
+ id: Scalars['String'];
372
374
  /** Maximum quantity of product that can be included in the bundle product. */
373
375
  maxQuantity?: Maybe<Scalars['Float']>;
374
376
  /** Minimum quantity of product that can be included in the bundle product. */
@@ -380,6 +382,17 @@ export declare type BundleProductModel = {
380
382
  /** Quantity of the product that can be included in the bundle product. */
381
383
  quantity: Scalars['Float'];
382
384
  };
385
+ export declare type BundleProductOrderLine = {
386
+ __typename?: 'BundleProductOrderLine';
387
+ /** If the order line is derived from a package product, it shows the bundle line id of the package product */
388
+ bundleLineId: Scalars['String'];
389
+ /** If the order line is derived from a package product, it shows the bundle line id of the package product */
390
+ bundleLineQuantity: Scalars['Float'];
391
+ /** If the order line is derived from a package product, it shows the bundle product name of the package product */
392
+ name?: Maybe<Scalars['String']>;
393
+ /** Information about the variant of the order line item. */
394
+ variant: OrderLineVariant;
395
+ };
383
396
  export declare type BundleSettingsInput = {
384
397
  maxBundleQuantity?: InputMaybe<Scalars['Float']>;
385
398
  minBundleQuantity?: InputMaybe<Scalars['Float']>;
@@ -416,16 +429,12 @@ export declare type BuyXThenGetYInput = {
416
429
  getY: GetYInput;
417
430
  maxUsagePerOrder?: InputMaybe<Scalars['Int']>;
418
431
  };
419
- export declare type CSVImportResponse = {
420
- __typename?: 'CSVImportResponse';
421
- csvContent?: Maybe<Scalars['String']>;
422
- isSuccess: Scalars['Boolean'];
423
- };
424
432
  export declare type Campaign = {
425
433
  __typename?: 'Campaign';
426
434
  applicableCustomerGroupIds?: Maybe<Array<Scalars['String']>>;
427
435
  applicableCustomerIds?: Maybe<Array<Scalars['String']>>;
428
436
  applicablePrice: CampaignApplicablePriceEnum;
437
+ applyCampaignToProductPrice?: Maybe<Scalars['Boolean']>;
429
438
  buyXThenGetY?: Maybe<BuyXThenGetY>;
430
439
  canCombineWithOtherCampaigns: Scalars['Boolean'];
431
440
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -486,6 +495,7 @@ export declare type CampaignInput = {
486
495
  applicableCustomerGroupIds?: InputMaybe<Array<Scalars['String']>>;
487
496
  applicableCustomerIds?: InputMaybe<Array<Scalars['String']>>;
488
497
  applicablePrice: CampaignApplicablePriceEnum;
498
+ applyCampaignToProductPrice?: InputMaybe<Scalars['Boolean']>;
489
499
  buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
490
500
  canCombineWithOtherCampaigns: Scalars['Boolean'];
491
501
  createdAt?: InputMaybe<Scalars['Timestamp']>;
@@ -501,6 +511,7 @@ export declare type CampaignInput = {
501
511
  onlyUseCustomer?: InputMaybe<Scalars['Boolean']>;
502
512
  salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
503
513
  title: Scalars['String'];
514
+ translations?: InputMaybe<Array<CampaignTranslationInput>>;
504
515
  type: CampaignTypeEnum;
505
516
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
506
517
  usageLimit?: InputMaybe<Scalars['Int']>;
@@ -572,7 +583,8 @@ export declare type CampaignOfferProductTranslation = {
572
583
  };
573
584
  export declare enum CampaignOfferTargetPageTypeEnum {
574
585
  CHECKOUT = "CHECKOUT",
575
- POST_CHECKOUT = "POST_CHECKOUT"
586
+ POST_CHECKOUT = "POST_CHECKOUT",
587
+ PRODUCT = "PRODUCT"
576
588
  }
577
589
  export declare enum CampaignOfferTriggerFilterTypeEnum {
578
590
  ALL_PRODUCTS = "ALL_PRODUCTS",
@@ -627,6 +639,10 @@ export declare type CampaignTranslation = {
627
639
  /** It is the title information of the translation. */
628
640
  title?: Maybe<Scalars['String']>;
629
641
  };
642
+ export declare type CampaignTranslationInput = {
643
+ locale: Scalars['String'];
644
+ title?: InputMaybe<Scalars['String']>;
645
+ };
630
646
  export declare enum CampaignTypeEnum {
631
647
  BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
632
648
  FIXED_AMOUNT = "FIXED_AMOUNT",
@@ -701,7 +717,8 @@ export declare enum CartCampaignOfferStatus {
701
717
  }
702
718
  export declare enum CartCreatedByEnum {
703
719
  ADMIN = "ADMIN",
704
- CUSTOMER = "CUSTOMER"
720
+ CUSTOMER = "CUSTOMER",
721
+ UPSELL = "UPSELL"
705
722
  }
706
723
  export declare type CartPaginationResponse = {
707
724
  __typename?: 'CartPaginationResponse';
@@ -1130,6 +1147,8 @@ export declare type CreateOrderInput = {
1130
1147
  export declare type CreateOrderWithTransactionsInput = {
1131
1148
  /** If there is no customer connected to the e-mail in the order and it is not desired to create a new customer with this e-mail, it can be sent as `true`. */
1132
1149
  disableAutoCreateCustomer?: InputMaybe<Scalars['Boolean']>;
1150
+ /** If this value is sent as 'true,' your order lines will not be taxed. */
1151
+ isTaxFreeOrder?: InputMaybe<Scalars['Boolean']>;
1133
1152
  /** Contains the order information to be created. */
1134
1153
  order: CreateOrderInput;
1135
1154
  /**
@@ -1149,6 +1168,8 @@ export declare type Customer = {
1149
1168
  createdAt?: Maybe<Scalars['Timestamp']>;
1150
1169
  /** Groups that the store owner attaches to the customer. */
1151
1170
  customerGroupIds?: Maybe<Array<Scalars['String']>>;
1171
+ /** Segments that the customers are belong to. */
1172
+ customerSegmentIds?: Maybe<Array<Scalars['String']>>;
1152
1173
  /** It is the sequence value of the customer. The sequence value starts from 1. */
1153
1174
  customerSequence?: Maybe<Scalars['Float']>;
1154
1175
  deleted: Scalars['Boolean'];
@@ -1298,6 +1319,7 @@ export declare type CustomerAttribute = {
1298
1319
  name: Scalars['String'];
1299
1320
  options?: Maybe<Array<CustomerAttributeOption>>;
1300
1321
  order?: Maybe<Scalars['Float']>;
1322
+ routings?: Maybe<Array<CustomerAttributeRouting>>;
1301
1323
  salesChannels?: Maybe<Array<CustomerAttributeSalesChannel>>;
1302
1324
  translations?: Maybe<Array<CustomerAttributeTranslation>>;
1303
1325
  type: CustomerAttributeTypeEnum;
@@ -1329,6 +1351,10 @@ export declare enum CustomerAttributeRegisterPageRequirementEnum {
1329
1351
  MANDATORY = "MANDATORY",
1330
1352
  OPTIONAL = "OPTIONAL"
1331
1353
  }
1354
+ export declare type CustomerAttributeRouting = {
1355
+ __typename?: 'CustomerAttributeRouting';
1356
+ storefrontRoutingId: Scalars['String'];
1357
+ };
1332
1358
  export declare type CustomerAttributeSalesChannel = {
1333
1359
  __typename?: 'CustomerAttributeSalesChannel';
1334
1360
  permission: CustomerAttributePermissionEnum;
@@ -1395,9 +1421,12 @@ export declare type CustomerPaginationResponse = {
1395
1421
  };
1396
1422
  export declare type CustomerPriceListRule = {
1397
1423
  __typename?: 'CustomerPriceListRule';
1398
- discountRate: Scalars['Float'];
1424
+ discountRate?: Maybe<Scalars['Float']>;
1399
1425
  filters?: Maybe<Array<CustomerPriceListRuleFilter>>;
1426
+ priceListId?: Maybe<Scalars['String']>;
1400
1427
  shouldMatchAllFilters?: Maybe<Scalars['Boolean']>;
1428
+ value: Scalars['Float'];
1429
+ valueType: CustomerPriceListRuleValueTypeEnum;
1401
1430
  };
1402
1431
  export declare type CustomerPriceListRuleFilter = {
1403
1432
  __typename?: 'CustomerPriceListRuleFilter';
@@ -1410,12 +1439,18 @@ export declare enum CustomerPriceListRuleFilterTypeEnum {
1410
1439
  PRODUCT_BRAND = "PRODUCT_BRAND",
1411
1440
  PRODUCT_TAG = "PRODUCT_TAG"
1412
1441
  }
1442
+ export declare enum CustomerPriceListRuleValueTypeEnum {
1443
+ DISCOUNT_AMOUNT = "DISCOUNT_AMOUNT",
1444
+ DISCOUNT_RATE = "DISCOUNT_RATE",
1445
+ FIXED_PRICE = "FIXED_PRICE"
1446
+ }
1413
1447
  /** Customer Registration Source Enum */
1414
1448
  export declare enum CustomerRegistrationSourceEnum {
1415
1449
  apple = "apple",
1416
1450
  credentials = "credentials",
1417
1451
  facebook = "facebook",
1418
- google = "google"
1452
+ google = "google",
1453
+ twitch = "twitch"
1419
1454
  }
1420
1455
  export declare type DateFilterInput = {
1421
1456
  /** `equal`. The filter used for equality. */
@@ -1460,12 +1495,14 @@ export declare type FixedDiscount = {
1460
1495
  __typename?: 'FixedDiscount';
1461
1496
  amount?: Maybe<Scalars['Float']>;
1462
1497
  filters?: Maybe<Array<CampaignFilter>>;
1498
+ isApplyByCartAmount?: Maybe<Scalars['Boolean']>;
1463
1499
  lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
1464
1500
  priceRange?: Maybe<CampaignMinMaxRangeField>;
1465
1501
  };
1466
1502
  export declare type FixedDiscountInput = {
1467
1503
  amount?: InputMaybe<Scalars['Float']>;
1468
1504
  filters?: InputMaybe<Array<CampaignFilterInput>>;
1505
+ isApplyByCartAmount?: InputMaybe<Scalars['Boolean']>;
1469
1506
  lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1470
1507
  priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
1471
1508
  };
@@ -1495,6 +1532,11 @@ export declare type GetImportJobDataResponse = {
1495
1532
  importJobId?: Maybe<Scalars['String']>;
1496
1533
  status?: Maybe<ImportStatusEnum>;
1497
1534
  };
1535
+ export declare type GetLastImportJobDataResponse = {
1536
+ __typename?: 'GetLastImportJobDataResponse';
1537
+ fileURL?: Maybe<Scalars['String']>;
1538
+ importJobId?: Maybe<Scalars['String']>;
1539
+ };
1498
1540
  export declare type GetOrderInvoicePdfUrlInput = {
1499
1541
  invoiceId: Scalars['String'];
1500
1542
  orderId: Scalars['String'];
@@ -1526,6 +1568,7 @@ export declare type GlobalTaxSettings = {
1526
1568
  id: Scalars['ID'];
1527
1569
  isTaxExcludedOnPrices: Scalars['Boolean'];
1528
1570
  isTaxExcludedOnShippingPrices: Scalars['Boolean'];
1571
+ storefrontId?: Maybe<Scalars['String']>;
1529
1572
  updatedAt?: Maybe<Scalars['Timestamp']>;
1530
1573
  };
1531
1574
  export declare type HTMLMetaData = {
@@ -1972,6 +2015,7 @@ export declare type Mutation = {
1972
2015
  deleteProductBrandList: Scalars['Boolean'];
1973
2016
  /** Use this mutation to delete products with specific product ids. */
1974
2017
  deleteProductList: Scalars['Boolean'];
2018
+ deleteProductOrderList: Scalars['Boolean'];
1975
2019
  /** Using this api, you can delete the tags of products. */
1976
2020
  deleteProductTagList: Scalars['Boolean'];
1977
2021
  /** Using this api, you can delete the units of products. */
@@ -1991,7 +2035,6 @@ export declare type Mutation = {
1991
2035
  /** Using this api, you can collect demo day. */
1992
2036
  getAppDemoDay?: Maybe<Scalars['Float']>;
1993
2037
  getOrderInvoicePdfUrl?: Maybe<Scalars['String']>;
1994
- productAttributeImport: CSVImportResponse;
1995
2038
  /** Use this mutation to refund given order lines. */
1996
2039
  refundOrderLine: Order;
1997
2040
  removeOrderTag: Scalars['Boolean'];
@@ -2005,6 +2048,7 @@ export declare type Mutation = {
2005
2048
  saveProductAttribute: ProductAttribute;
2006
2049
  /** Using this api, you can update the brands of products. */
2007
2050
  saveProductBrand: ProductBrand;
2051
+ saveProductOrder: ProductOrder;
2008
2052
  /** Use this mutation to define new stock or update stocks by location. */
2009
2053
  saveProductStockLocations: Scalars['Boolean'];
2010
2054
  /** Using this api, you can update the tags of products. */
@@ -2034,7 +2078,6 @@ export declare type Mutation = {
2034
2078
  /** Response indicating the status of operation. */
2035
2079
  updateProductSalesChannelStatus: Scalars['Boolean'];
2036
2080
  updateSubscriptionStatus: Scalars['Boolean'];
2037
- variantAttributeImport: CSVImportResponse;
2038
2081
  };
2039
2082
  export declare type MutationaddCustomTimelineEntryArgs = {
2040
2083
  input: TimelineInput;
@@ -2090,6 +2133,9 @@ export declare type MutationdeleteProductBrandListArgs = {
2090
2133
  export declare type MutationdeleteProductListArgs = {
2091
2134
  idList: Array<Scalars['String']>;
2092
2135
  };
2136
+ export declare type MutationdeleteProductOrderListArgs = {
2137
+ idList: Array<Scalars['String']>;
2138
+ };
2093
2139
  export declare type MutationdeleteProductTagListArgs = {
2094
2140
  idList: Array<Scalars['String']>;
2095
2141
  };
@@ -2120,10 +2166,6 @@ export declare type MutationgetAppDemoDayArgs = {
2120
2166
  export declare type MutationgetOrderInvoicePdfUrlArgs = {
2121
2167
  input: GetOrderInvoicePdfUrlInput;
2122
2168
  };
2123
- export declare type MutationproductAttributeImportArgs = {
2124
- file: Scalars['String'];
2125
- fileType?: InputMaybe<ProductImportFileType>;
2126
- };
2127
2169
  export declare type MutationrefundOrderLineArgs = {
2128
2170
  input: OrderRefundInput;
2129
2171
  };
@@ -2148,6 +2190,9 @@ export declare type MutationsaveProductAttributeArgs = {
2148
2190
  export declare type MutationsaveProductBrandArgs = {
2149
2191
  input: ProductBrandInput;
2150
2192
  };
2193
+ export declare type MutationsaveProductOrderArgs = {
2194
+ input: ProductOrderInput;
2195
+ };
2151
2196
  export declare type MutationsaveProductStockLocationsArgs = {
2152
2197
  input: SaveStockLocationsInput;
2153
2198
  };
@@ -2195,10 +2240,6 @@ export declare type MutationupdateSubscriptionStatusArgs = {
2195
2240
  customerId: Scalars['String'];
2196
2241
  subscriptionStatus: CustomerEmailSubscriptionStatusesEnum;
2197
2242
  };
2198
- export declare type MutationvariantAttributeImportArgs = {
2199
- file: Scalars['String'];
2200
- fileType?: InputMaybe<ProductImportFileType>;
2201
- };
2202
2243
  export declare type NewCouponInput = {
2203
2244
  canCombineWithOtherCampaigns: Scalars['Boolean'];
2204
2245
  code: Scalars['String'];
@@ -2206,24 +2247,6 @@ export declare type NewCouponInput = {
2206
2247
  usageLimit?: InputMaybe<Scalars['Int']>;
2207
2248
  usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
2208
2249
  };
2209
- export declare type NumberFilterInput = {
2210
- /** `equal`. The filter used for equality. */
2211
- eq?: InputMaybe<Scalars['Float']>;
2212
- /** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
2213
- gt?: InputMaybe<Scalars['Float']>;
2214
- /** `greater than or equals` selects the documents where the value of the `input` is greater than or equal to (** i.e. >= **) a specified value (e.g. value.) */
2215
- gte?: InputMaybe<Scalars['Float']>;
2216
- /** Returns a boolean indicating whether a specified value is in an array. */
2217
- in?: InputMaybe<Array<Scalars['Float']>>;
2218
- /** `less than` selects the documents where the value of the `input` is less than or equal to (** i.e. < **) a specified value (e.g. value.) */
2219
- lt?: InputMaybe<Scalars['Float']>;
2220
- /** `less than or equals` selects the documents where the value of the `input` is less than or equal to (** i.e. <= **) a specified value (e.g. value.) */
2221
- lte?: InputMaybe<Scalars['Float']>;
2222
- /** `not equal`. The filter used for not equality. */
2223
- ne?: InputMaybe<Scalars['Float']>;
2224
- /** Returns a boolean indicating whether a specified value is not in an array. */
2225
- nin?: InputMaybe<Array<Scalars['Float']>>;
2226
- };
2227
2250
  export declare type Order = {
2228
2251
  __typename?: 'Order';
2229
2252
  abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
@@ -2259,9 +2282,11 @@ export declare type Order = {
2259
2282
  currencySymbol?: Maybe<Scalars['String']>;
2260
2283
  /** 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. */
2261
2284
  customer?: Maybe<OrderCustomer>;
2285
+ customerGroups?: Maybe<Array<OrderCustomerGroup>>;
2262
2286
  customerId?: Maybe<Scalars['String']>;
2263
2287
  /** It shows the number of orders given by the relevant customer. */
2264
2288
  customerOrderCount?: Maybe<Scalars['Float']>;
2289
+ customerSegments?: Maybe<Array<OrderCustomerSegment>>;
2265
2290
  deleted: Scalars['Boolean'];
2266
2291
  dueDate?: Maybe<Scalars['Timestamp']>;
2267
2292
  /** A list of gift package line objects, each containing information about a gift package pricing in the order. */
@@ -2612,6 +2637,13 @@ export declare type OrderCustomer = {
2612
2637
  /** It is the preferred language of the customer who created the order. */
2613
2638
  preferredLanguage?: Maybe<Scalars['String']>;
2614
2639
  };
2640
+ export declare type OrderCustomerGroup = {
2641
+ __typename?: 'OrderCustomerGroup';
2642
+ /** It is the customer's group id */
2643
+ id: Scalars['String'];
2644
+ /** It is the customer's group name */
2645
+ name: Scalars['String'];
2646
+ };
2615
2647
  export declare type OrderCustomerInput = {
2616
2648
  /** It is the email of the customer who created the order. */
2617
2649
  email?: InputMaybe<Scalars['String']>;
@@ -2621,6 +2653,13 @@ export declare type OrderCustomerInput = {
2621
2653
  /** It is the last name of the customer who created the order. */
2622
2654
  lastName?: InputMaybe<Scalars['String']>;
2623
2655
  };
2656
+ export declare type OrderCustomerSegment = {
2657
+ __typename?: 'OrderCustomerSegment';
2658
+ /** It is the customer's segment id */
2659
+ id: Scalars['String'];
2660
+ /** It is the customer's segment name */
2661
+ name: Scalars['String'];
2662
+ };
2624
2663
  export declare type OrderGiftPackageLine = {
2625
2664
  __typename?: 'OrderGiftPackageLine';
2626
2665
  /** Indicates whether the gift cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
@@ -2707,6 +2746,8 @@ export declare type OrderLineDiscountInput = {
2707
2746
  };
2708
2747
  export declare type OrderLineItem = {
2709
2748
  __typename?: 'OrderLineItem';
2749
+ /** It is the option information of the variant value in the order line item. */
2750
+ bundleProductSettings?: Maybe<BundleProductOrderLine>;
2710
2751
  createdAt?: Maybe<Scalars['Timestamp']>;
2711
2752
  /** It is the currency code of the order line item. */
2712
2753
  currencyCode?: Maybe<Scalars['String']>;
@@ -2868,6 +2909,8 @@ export declare type OrderLineVariantBrand = {
2868
2909
  };
2869
2910
  export declare type OrderLineVariantBundleProductModel = {
2870
2911
  __typename?: 'OrderLineVariantBundleProductModel';
2912
+ /** It indicates whether the variant price within the package product will be reflected in the order line or not. */
2913
+ addToBundleBasePrice?: Maybe<Scalars['Boolean']>;
2871
2914
  /** It is the value that indicates whether the product has been deleted or not. */
2872
2915
  deleted?: Maybe<Scalars['Boolean']>;
2873
2916
  /** It is the final price of the variant. */
@@ -2876,6 +2919,7 @@ export declare type OrderLineVariantBundleProductModel = {
2876
2919
  discountRatio?: Maybe<Scalars['Float']>;
2877
2920
  /** It is the final price of the variant. */
2878
2921
  finalPrice?: Maybe<Scalars['Float']>;
2922
+ id: Scalars['String'];
2879
2923
  /** Indicates the order of the product in the bundle. */
2880
2924
  order: Scalars['Float'];
2881
2925
  /** It is the price of the variant. */
@@ -3081,6 +3125,7 @@ export declare type OrderPaymentMethodEnumFilterInput = {
3081
3125
  nin?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
3082
3126
  };
3083
3127
  export declare enum OrderPaymentStatusEnum {
3128
+ FAILED = "FAILED",
3084
3129
  PAID = "PAID",
3085
3130
  PARTIALLY_PAID = "PARTIALLY_PAID",
3086
3131
  WAITING = "WAITING"
@@ -3228,7 +3273,8 @@ export declare enum OrderStatusEnum {
3228
3273
  PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
3229
3274
  REFUNDED = "REFUNDED",
3230
3275
  REFUND_REJECTED = "REFUND_REJECTED",
3231
- REFUND_REQUESTED = "REFUND_REQUESTED"
3276
+ REFUND_REQUESTED = "REFUND_REQUESTED",
3277
+ WAITING_UPSELL_ACTION = "WAITING_UPSELL_ACTION"
3232
3278
  }
3233
3279
  export declare type OrderStatusEnumInputFilter = {
3234
3280
  /** `equal`. The filter used for equality. */
@@ -3349,6 +3395,7 @@ export declare enum PaymentMethodTypeEnum {
3349
3395
  }
3350
3396
  export declare type PriceList = {
3351
3397
  __typename?: 'PriceList';
3398
+ addProductsAutomatically?: Maybe<Scalars['Boolean']>;
3352
3399
  createdAt?: Maybe<Scalars['Timestamp']>;
3353
3400
  /** The currency of the product's price list. */
3354
3401
  currency: Scalars['String'];
@@ -3503,23 +3550,24 @@ export declare type ProductAttributeInput = {
3503
3550
  };
3504
3551
  export declare type ProductAttributeOption = {
3505
3552
  __typename?: 'ProductAttributeOption';
3553
+ /** It is the color code information of the product attribute option. It can be a maximum of 7 characters. */
3554
+ colorCode?: Maybe<Scalars['String']>;
3506
3555
  createdAt?: Maybe<Scalars['Timestamp']>;
3507
3556
  deleted: Scalars['Boolean'];
3508
3557
  id: Scalars['ID'];
3509
3558
  /** Name of the product attribute option */
3510
3559
  name: Scalars['String'];
3560
+ /** It is the image information of the product attribute option. */
3561
+ thumbnailImageId?: Maybe<Scalars['String']>;
3511
3562
  updatedAt?: Maybe<Scalars['Timestamp']>;
3512
3563
  };
3513
- export declare type ProductAttributeOptionFilterInput = {
3514
- eq?: InputMaybe<Scalars['String']>;
3515
- in?: InputMaybe<Array<Scalars['String']>>;
3516
- nin?: InputMaybe<Array<Scalars['String']>>;
3517
- };
3518
3564
  export declare type ProductAttributeOptionInput = {
3565
+ colorCode?: InputMaybe<Scalars['String']>;
3519
3566
  createdAt?: InputMaybe<Scalars['Timestamp']>;
3520
3567
  deleted?: InputMaybe<Scalars['Boolean']>;
3521
3568
  id?: InputMaybe<Scalars['ID']>;
3522
3569
  name: Scalars['String'];
3570
+ thumbnailImageId?: InputMaybe<Scalars['String']>;
3523
3571
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
3524
3572
  };
3525
3573
  export declare type ProductAttributeOptionTranslation = {
@@ -3574,6 +3622,7 @@ export declare type ProductAttributeTranslationInput = {
3574
3622
  export declare enum ProductAttributeTypeEnum {
3575
3623
  BOOLEAN = "BOOLEAN",
3576
3624
  CHOICE = "CHOICE",
3625
+ COLOR_THUMBNAIL_MULTIPLE_CHOICE = "COLOR_THUMBNAIL_MULTIPLE_CHOICE",
3577
3626
  DATETIME = "DATETIME",
3578
3627
  HTML = "HTML",
3579
3628
  IMAGE = "IMAGE",
@@ -3689,11 +3738,6 @@ export declare type ProductImageInput = {
3689
3738
  isVideo?: InputMaybe<Scalars['Boolean']>;
3690
3739
  order: Scalars['Float'];
3691
3740
  };
3692
- export declare enum ProductImportFileType {
3693
- CSV = "CSV",
3694
- XLS = "XLS",
3695
- XLSX = "XLSX"
3696
- }
3697
3741
  export declare type ProductInput = {
3698
3742
  attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
3699
3743
  baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
@@ -3723,10 +3767,6 @@ export declare type ProductInput = {
3723
3767
  vendorId?: InputMaybe<Scalars['String']>;
3724
3768
  weight?: InputMaybe<Scalars['Float']>;
3725
3769
  };
3726
- export declare type ProductLocaleFilterInput = {
3727
- in?: InputMaybe<Array<Scalars['String']>>;
3728
- notIn?: InputMaybe<Array<Scalars['String']>>;
3729
- };
3730
3770
  export declare type ProductOption = {
3731
3771
  __typename?: 'ProductOption';
3732
3772
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -3834,6 +3874,34 @@ export declare enum ProductOptionTypeEnum {
3834
3874
  TEXT = "TEXT",
3835
3875
  TEXT_AREA = "TEXT_AREA"
3836
3876
  }
3877
+ export declare type ProductOrder = {
3878
+ __typename?: 'ProductOrder';
3879
+ brandIds?: Maybe<Array<Scalars['String']>>;
3880
+ categoryIds?: Maybe<Array<Scalars['String']>>;
3881
+ createdAt?: Maybe<Scalars['Timestamp']>;
3882
+ deleted: Scalars['Boolean'];
3883
+ id: Scalars['ID'];
3884
+ products: Array<ProductOrderProduct>;
3885
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3886
+ };
3887
+ export declare type ProductOrderInput = {
3888
+ brandIds?: InputMaybe<Array<Scalars['String']>>;
3889
+ categoryIds?: InputMaybe<Array<Scalars['String']>>;
3890
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
3891
+ deleted?: InputMaybe<Scalars['Boolean']>;
3892
+ id?: InputMaybe<Scalars['ID']>;
3893
+ products: Array<ProductOrderProductInput>;
3894
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
3895
+ };
3896
+ export declare type ProductOrderProduct = {
3897
+ __typename?: 'ProductOrderProduct';
3898
+ order: Scalars['Int'];
3899
+ productId: Scalars['String'];
3900
+ };
3901
+ export declare type ProductOrderProductInput = {
3902
+ order: Scalars['Int'];
3903
+ productId: Scalars['String'];
3904
+ };
3837
3905
  export declare type ProductPaginationResponse = {
3838
3906
  __typename?: 'ProductPaginationResponse';
3839
3907
  /**
@@ -4162,12 +4230,14 @@ export declare type Query = {
4162
4230
  /** Upload url for the specified image. */
4163
4231
  getImageUploadUrl: Scalars['String'];
4164
4232
  getImportJobData: GetImportJobDataResponse;
4233
+ getLastImportJobData: GetLastImportJobDataResponse;
4165
4234
  /** By using this api you can get properties of merchant and merchant staff. */
4166
4235
  getMerchant: MerchantResponse;
4167
4236
  /** Using this api you can view all licenses owned by merchant. */
4168
4237
  getMerchantLicence: MerchantLicence;
4169
4238
  /** Using this api, you can view your sales channel. */
4170
4239
  getSalesChannel?: Maybe<SalesChannel>;
4240
+ getTimelineEntry: Scalars['String'];
4171
4241
  getVideoUploadUrl: GetVideoUploadURLResponse;
4172
4242
  /** Use this query to get abandoned checkouts. */
4173
4243
  listAbandonedCheckouts: CartPaginationResponse;
@@ -4194,7 +4264,7 @@ export declare type Query = {
4194
4264
  listPriceList: Array<PriceList>;
4195
4265
  /**
4196
4266
  * Use this query to list products.
4197
- * Sort applies to following fields: `updatedAt`
4267
+ * Sort applies to following fields: `createdAt` `updatedAt` `name`
4198
4268
  */
4199
4269
  listProduct: ProductPaginationResponse;
4200
4270
  /** Use this query to list product attributes. */
@@ -4205,6 +4275,7 @@ export declare type Query = {
4205
4275
  */
4206
4276
  listProductBrand: Array<ProductBrand>;
4207
4277
  listProductOptionSet: Array<ProductOptionSet>;
4278
+ listProductOrder: Array<ProductOrder>;
4208
4279
  listProductStockLocation: ProductStockLocationPaginationResponse;
4209
4280
  /** Using this api, you can view the tags of products. */
4210
4281
  listProductTag: Array<ProductTag>;
@@ -4229,10 +4300,8 @@ export declare type Query = {
4229
4300
  /** Use this query to list active webhooks of your application. */
4230
4301
  listWebhook: Array<Webhook>;
4231
4302
  me?: Maybe<MeResponse>;
4232
- productAttributeExport: Scalars['String'];
4233
4303
  /** Result(s) containing searched products. */
4234
4304
  searchProducts: ProductSearchResponse;
4235
- variantAttributeExport: Scalars['String'];
4236
4305
  };
4237
4306
  export declare type QuerygetImageUploadUrlArgs = {
4238
4307
  imageDir?: InputMaybe<Scalars['String']>;
@@ -4397,6 +4466,13 @@ export declare type QuerylistProductOptionSetArgs = {
4397
4466
  search?: InputMaybe<Scalars['String']>;
4398
4467
  updatedAt?: InputMaybe<DateFilterInput>;
4399
4468
  };
4469
+ export declare type QuerylistProductOrderArgs = {
4470
+ brandIds?: InputMaybe<StringFilterInput>;
4471
+ categoryIds?: InputMaybe<StringFilterInput>;
4472
+ id?: InputMaybe<StringFilterInput>;
4473
+ includeDeleted?: InputMaybe<Scalars['Boolean']>;
4474
+ updatedAt?: InputMaybe<DateFilterInput>;
4475
+ };
4400
4476
  export declare type QuerylistProductStockLocationArgs = {
4401
4477
  id?: InputMaybe<StringFilterInput>;
4402
4478
  pagination?: InputMaybe<PaginationInput>;
@@ -4466,59 +4542,9 @@ export declare type QuerylistVendorArgs = {
4466
4542
  name?: InputMaybe<StringFilterInput>;
4467
4543
  updatedAt?: InputMaybe<DateFilterInput>;
4468
4544
  };
4469
- export declare type QueryproductAttributeExportArgs = {
4470
- attributeId?: InputMaybe<ProductAttributeFilterInput>;
4471
- attributeOptionId?: InputMaybe<ProductAttributeOptionFilterInput>;
4472
- brandId?: InputMaybe<StringFilterInput>;
4473
- categoryIds?: InputMaybe<CategoryFilterInput>;
4474
- dynamicPriceListIds?: InputMaybe<StringFilterInput>;
4475
- fileType?: InputMaybe<ProductImportFileType>;
4476
- id?: InputMaybe<StringFilterInput>;
4477
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
4478
- locale?: InputMaybe<ProductLocaleFilterInput>;
4479
- name?: InputMaybe<StringFilterInput>;
4480
- pagination?: InputMaybe<PaginationInput>;
4481
- priceListIdFilter?: InputMaybe<StringFilterInput>;
4482
- salesChannelIds?: InputMaybe<StringFilterInput>;
4483
- search?: InputMaybe<Scalars['String']>;
4484
- sort?: InputMaybe<Scalars['String']>;
4485
- stockLocationId?: InputMaybe<StringFilterInput>;
4486
- tagIds?: InputMaybe<StringFilterInput>;
4487
- totalStock?: InputMaybe<NumberFilterInput>;
4488
- updatedAt?: InputMaybe<DateFilterInput>;
4489
- variantId?: InputMaybe<StringFilterInput>;
4490
- variantTypeId?: InputMaybe<StringFilterInput>;
4491
- variantValueId?: InputMaybe<StringFilterInput>;
4492
- vendorId?: InputMaybe<StringFilterInput>;
4493
- };
4494
4545
  export declare type QuerysearchProductsArgs = {
4495
4546
  input: SearchInput;
4496
4547
  };
4497
- export declare type QueryvariantAttributeExportArgs = {
4498
- attributeId?: InputMaybe<ProductAttributeFilterInput>;
4499
- attributeOptionId?: InputMaybe<ProductAttributeOptionFilterInput>;
4500
- brandId?: InputMaybe<StringFilterInput>;
4501
- categoryIds?: InputMaybe<CategoryFilterInput>;
4502
- dynamicPriceListIds?: InputMaybe<StringFilterInput>;
4503
- fileType?: InputMaybe<ProductImportFileType>;
4504
- id?: InputMaybe<StringFilterInput>;
4505
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
4506
- locale?: InputMaybe<ProductLocaleFilterInput>;
4507
- name?: InputMaybe<StringFilterInput>;
4508
- pagination?: InputMaybe<PaginationInput>;
4509
- priceListIdFilter?: InputMaybe<StringFilterInput>;
4510
- salesChannelIds?: InputMaybe<StringFilterInput>;
4511
- search?: InputMaybe<Scalars['String']>;
4512
- sort?: InputMaybe<Scalars['String']>;
4513
- stockLocationId?: InputMaybe<StringFilterInput>;
4514
- tagIds?: InputMaybe<StringFilterInput>;
4515
- totalStock?: InputMaybe<NumberFilterInput>;
4516
- updatedAt?: InputMaybe<DateFilterInput>;
4517
- variantId?: InputMaybe<StringFilterInput>;
4518
- variantTypeId?: InputMaybe<StringFilterInput>;
4519
- variantValueId?: InputMaybe<StringFilterInput>;
4520
- vendorId?: InputMaybe<StringFilterInput>;
4521
- };
4522
4548
  export declare enum SFAnalyticsTrafficSourceEnum {
4523
4549
  ADS_OTHER = "ADS_OTHER",
4524
4550
  AFFILIATE = "AFFILIATE",
@@ -4604,14 +4630,24 @@ export declare type SearchCategory = {
4604
4630
  name: Scalars['String'];
4605
4631
  path: Array<SearchCategoryPath>;
4606
4632
  slug?: Maybe<Scalars['String']>;
4607
- translations?: Maybe<Array<CategoryTranslation>>;
4633
+ translations?: Maybe<Array<SearchCategoryTranslation>>;
4608
4634
  };
4609
4635
  export declare type SearchCategoryPath = {
4610
4636
  __typename?: 'SearchCategoryPath';
4611
4637
  id: Scalars['String'];
4612
4638
  name: Scalars['String'];
4613
4639
  slug?: Maybe<Scalars['String']>;
4614
- translations?: Maybe<Array<CategoryTranslation>>;
4640
+ translations?: Maybe<Array<SearchCategoryTranslation>>;
4641
+ };
4642
+ export declare type SearchCategoryTranslation = {
4643
+ __typename?: 'SearchCategoryTranslation';
4644
+ /** It is the description information of the translation. */
4645
+ description?: Maybe<Scalars['String']>;
4646
+ /** It is the name information of the translation. */
4647
+ locale: Scalars['String'];
4648
+ /** It is the information in which language the translation is saved. */
4649
+ name?: Maybe<Scalars['String']>;
4650
+ slug?: Maybe<Scalars['String']>;
4615
4651
  };
4616
4652
  export declare type SearchHTMLMetaData = {
4617
4653
  __typename?: 'SearchHTMLMetaData';
@@ -4650,6 +4686,7 @@ export declare type SearchProduct = {
4650
4686
  averageRating?: Maybe<Scalars['Float']>;
4651
4687
  baseUnit?: Maybe<SearchProductProductBaseUnit>;
4652
4688
  brand?: Maybe<SearchProductBrand>;
4689
+ campaignOffers?: Maybe<Array<SearchProductCampaignOffer>>;
4653
4690
  campaigns?: Maybe<Array<SearchProductCampaign>>;
4654
4691
  categories?: Maybe<Array<SearchCategory>>;
4655
4692
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -4662,6 +4699,7 @@ export declare type SearchProduct = {
4662
4699
  id: Scalars['String'];
4663
4700
  metaData?: Maybe<SearchHTMLMetaData>;
4664
4701
  name: Scalars['String'];
4702
+ productGroup?: Maybe<SearchProductGroup>;
4665
4703
  productOptionSetId?: Maybe<Scalars['String']>;
4666
4704
  productVariantTypes: Array<SearchProductVariantType>;
4667
4705
  productVolumeDiscountId?: Maybe<Scalars['String']>;
@@ -4712,14 +4750,28 @@ export declare type SearchProductBrand = {
4712
4750
  imageId?: Maybe<Scalars['String']>;
4713
4751
  name: Scalars['String'];
4714
4752
  slug?: Maybe<Scalars['String']>;
4715
- translations?: Maybe<Array<ProductBrandTranslation>>;
4753
+ translations?: Maybe<Array<SearchProductBrandTranslation>>;
4754
+ };
4755
+ export declare type SearchProductBrandTranslation = {
4756
+ __typename?: 'SearchProductBrandTranslation';
4757
+ /** It is the description information of the translation. */
4758
+ description?: Maybe<Scalars['String']>;
4759
+ /** It is the name information of the translation. */
4760
+ locale: Scalars['String'];
4761
+ /** It is the information in which language the translation is saved. */
4762
+ name?: Maybe<Scalars['String']>;
4763
+ slug?: Maybe<Scalars['String']>;
4716
4764
  };
4717
4765
  export declare type SearchProductCampaign = {
4718
4766
  __typename?: 'SearchProductCampaign';
4767
+ applicablePrice?: Maybe<CampaignApplicablePriceEnum>;
4768
+ applyCampaignToProductPrice?: Maybe<Scalars['Boolean']>;
4719
4769
  buyXThenGetY?: Maybe<SearchProductCampaignBuyXThenGetY>;
4720
4770
  currencyCodes?: Maybe<Array<Scalars['String']>>;
4721
4771
  dateRange?: Maybe<SearchProductCampaignDateRangeField>;
4722
4772
  fixedDiscount?: Maybe<SearchProductCampaignFixedDiscount>;
4773
+ id?: Maybe<Scalars['String']>;
4774
+ includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
4723
4775
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
4724
4776
  title: Scalars['String'];
4725
4777
  type: CampaignTypeEnum;
@@ -4728,6 +4780,7 @@ export declare type SearchProductCampaignBuyX = {
4728
4780
  __typename?: 'SearchProductCampaignBuyX';
4729
4781
  amount: Scalars['Float'];
4730
4782
  applyByQuantity: Scalars['Boolean'];
4783
+ filter?: Maybe<SearchProductCampaignFilter>;
4731
4784
  };
4732
4785
  export declare type SearchProductCampaignBuyXThenGetY = {
4733
4786
  __typename?: 'SearchProductCampaignBuyXThenGetY';
@@ -4740,20 +4793,68 @@ export declare type SearchProductCampaignDateRangeField = {
4740
4793
  end?: Maybe<Scalars['Timestamp']>;
4741
4794
  start?: Maybe<Scalars['Timestamp']>;
4742
4795
  };
4796
+ export declare type SearchProductCampaignFilter = {
4797
+ __typename?: 'SearchProductCampaignFilter';
4798
+ idList: Array<Scalars['String']>;
4799
+ type: CampaignFilterTypeEnum;
4800
+ };
4743
4801
  export declare type SearchProductCampaignFixedDiscount = {
4744
4802
  __typename?: 'SearchProductCampaignFixedDiscount';
4745
4803
  amount?: Maybe<Scalars['Float']>;
4804
+ filters?: Maybe<Array<SearchProductCampaignFilter>>;
4746
4805
  };
4747
4806
  export declare type SearchProductCampaignGetY = {
4748
4807
  __typename?: 'SearchProductCampaignGetY';
4749
4808
  amount: Scalars['Float'];
4809
+ automaticallyAddItemToCart?: Maybe<Scalars['Boolean']>;
4750
4810
  discountRatio: Scalars['Float'];
4811
+ filter?: Maybe<SearchProductCampaignFilter>;
4812
+ };
4813
+ export declare type SearchProductCampaignOffer = {
4814
+ __typename?: 'SearchProductCampaignOffer';
4815
+ id: Scalars['String'];
4816
+ };
4817
+ export declare type SearchProductCampaignPrice = {
4818
+ __typename?: 'SearchProductCampaignPrice';
4819
+ campaignId?: Maybe<Scalars['String']>;
4820
+ campaignPrice?: Maybe<Scalars['Float']>;
4751
4821
  };
4752
4822
  export declare type SearchProductCustomerReviewStar = {
4753
4823
  __typename?: 'SearchProductCustomerReviewStar';
4754
4824
  count: Scalars['Float'];
4755
4825
  star: Scalars['Float'];
4756
4826
  };
4827
+ export declare type SearchProductGroup = {
4828
+ __typename?: 'SearchProductGroup';
4829
+ groupKey: Scalars['String'];
4830
+ id: Scalars['String'];
4831
+ name: Scalars['String'];
4832
+ order: SearchProductGroupOrder;
4833
+ translations?: Maybe<Array<SearchProductGroupTranslation>>;
4834
+ values: Array<SearchProductGroupValueType>;
4835
+ };
4836
+ export declare type SearchProductGroupOrder = {
4837
+ __typename?: 'SearchProductGroupOrder';
4838
+ orderAttributeId: Scalars['String'];
4839
+ value: Scalars['String'];
4840
+ };
4841
+ export declare type SearchProductGroupTranslation = {
4842
+ __typename?: 'SearchProductGroupTranslation';
4843
+ locale: Scalars['String'];
4844
+ values?: Maybe<Array<SearchProductGroupValueTranslation>>;
4845
+ };
4846
+ export declare type SearchProductGroupValueTranslation = {
4847
+ __typename?: 'SearchProductGroupValueTranslation';
4848
+ id: Scalars['String'];
4849
+ name?: Maybe<Scalars['String']>;
4850
+ value?: Maybe<Scalars['String']>;
4851
+ };
4852
+ export declare type SearchProductGroupValueType = {
4853
+ __typename?: 'SearchProductGroupValueType';
4854
+ id: Scalars['String'];
4855
+ name: Scalars['String'];
4856
+ value: Scalars['String'];
4857
+ };
4757
4858
  export declare type SearchProductImage = {
4758
4859
  __typename?: 'SearchProductImage';
4759
4860
  fileName?: Maybe<Scalars['String']>;
@@ -4765,6 +4866,7 @@ export declare type SearchProductImage = {
4765
4866
  export declare type SearchProductPrice = {
4766
4867
  __typename?: 'SearchProductPrice';
4767
4868
  buyPrice?: Maybe<Scalars['Float']>;
4869
+ campaignPrice?: Maybe<SearchProductCampaignPrice>;
4768
4870
  currency?: Maybe<Scalars['String']>;
4769
4871
  currencyCode?: Maybe<Scalars['String']>;
4770
4872
  currencySymbol?: Maybe<Scalars['String']>;