@ikas/api-client 1.0.5 → 1.0.7

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.
@@ -23,6 +23,23 @@ export declare type Scalars = {
23
23
  /** The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch. */
24
24
  Timestamp: any;
25
25
  };
26
+ export declare type AbandonedCartFlow = {
27
+ __typename?: 'AbandonedCartFlow';
28
+ campaignId?: Maybe<Scalars['String']>;
29
+ canApplicable: Scalars['Boolean'];
30
+ couponId?: Maybe<Scalars['String']>;
31
+ customerFilters?: Maybe<AbandonedCartFlowCustomerFilter>;
32
+ flowId: Scalars['String'];
33
+ mailSendDate?: Maybe<Scalars['Timestamp']>;
34
+ mailTranslationId?: Maybe<Scalars['String']>;
35
+ recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
36
+ sendAfter: Scalars['Float'];
37
+ };
38
+ export declare type AbandonedCartFlowCustomerFilter = {
39
+ __typename?: 'AbandonedCartFlowCustomerFilter';
40
+ sendOnlyActiveAccount?: Maybe<Scalars['Boolean']>;
41
+ sendOnlySubscribedToEmail?: Maybe<Scalars['Boolean']>;
42
+ };
26
43
  export declare type AddOrderInvoiceInput = {
27
44
  /** It is the app id for which the invoice is issued. */
28
45
  appId: Scalars['String'];
@@ -64,6 +81,10 @@ export declare enum AppScopeEnum {
64
81
  WRITE_PRODUCTS = "WRITE_PRODUCTS",
65
82
  WRITE_STOREFRONT = "WRITE_STOREFRONT"
66
83
  }
84
+ export declare type ApproveOrderTransactionsInput = {
85
+ orderId: Scalars['String'];
86
+ paymentMethods?: InputMaybe<Array<PaymentMethodEnum>>;
87
+ };
67
88
  export declare type AuthorizedApp = {
68
89
  __typename?: 'AuthorizedApp';
69
90
  /** The date the app was added. */
@@ -81,6 +102,14 @@ export declare type AuthorizedApp = {
81
102
  supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
82
103
  updatedAt?: Maybe<Scalars['Timestamp']>;
83
104
  };
105
+ export declare type AvailableShippingMethod = {
106
+ __typename?: 'AvailableShippingMethod';
107
+ price: Scalars['Float'];
108
+ rateName: Scalars['String'];
109
+ shippingMethod: ShippingMethodEnum;
110
+ shippingSettingsId: Scalars['String'];
111
+ shippingZoneRateId: Scalars['String'];
112
+ };
84
113
  export declare type BulkUpdateProductBrandInput = {
85
114
  /** Description of the brand. */
86
115
  description?: InputMaybe<Scalars['String']>;
@@ -123,6 +152,8 @@ export declare type BulkUpdateProductImageInput = {
123
152
  imageUrl: Scalars['String'];
124
153
  /** Whether the image is main image for the product or not. */
125
154
  isMain: Scalars['Boolean'];
155
+ /** True if this the media type is video */
156
+ isVideo?: InputMaybe<Scalars['Boolean']>;
126
157
  /** Order of the product image. */
127
158
  order: Scalars['Float'];
128
159
  };
@@ -238,6 +269,10 @@ export declare type CSVImportResponse = {
238
269
  csvContent?: Maybe<Scalars['String']>;
239
270
  isSuccess: Scalars['Boolean'];
240
271
  };
272
+ export declare enum CampaignOfferTargetPageTypeEnum {
273
+ CHECKOUT = "CHECKOUT",
274
+ POST_CHECKOUT = "POST_CHECKOUT"
275
+ }
241
276
  /** Campaign Type Enum */
242
277
  export declare enum CampaignTypeEnum {
243
278
  BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
@@ -249,6 +284,17 @@ export declare type CancelFulfillmentInput = {
249
284
  orderId: Scalars['String'];
250
285
  orderPackageId: Scalars['String'];
251
286
  };
287
+ export declare type CancelOrderLineInput = {
288
+ orderId: Scalars['String'];
289
+ orderLineItems: Array<CancelOrderLineItemInput>;
290
+ paymentGatewayId: Scalars['String'];
291
+ reason?: InputMaybe<Scalars['String']>;
292
+ };
293
+ export declare type CancelOrderLineItemInput = {
294
+ orderLineItemId: Scalars['String'];
295
+ quantity: Scalars['Float'];
296
+ restockItems?: InputMaybe<Scalars['Boolean']>;
297
+ };
252
298
  /** Cancelled Reason Enum */
253
299
  export declare enum CancelledReasonEnum {
254
300
  CUSTOMER = "CUSTOMER",
@@ -256,10 +302,41 @@ export declare enum CancelledReasonEnum {
256
302
  INVENTORY = "INVENTORY",
257
303
  OTHER = "OTHER"
258
304
  }
305
+ export declare enum CartCampaignOfferStatus {
306
+ ACCEPTED = "ACCEPTED",
307
+ REJECTED = "REJECTED",
308
+ REMOVED = "REMOVED",
309
+ WAITING_FOR_ACTION = "WAITING_FOR_ACTION"
310
+ }
311
+ /** Cart Created By Enum */
312
+ export declare enum CartCreatedByEnum {
313
+ ADMIN = "ADMIN",
314
+ CUSTOMER = "CUSTOMER"
315
+ }
316
+ export declare type CartV2CampaignOffer = {
317
+ __typename?: 'CartV2CampaignOffer';
318
+ appliedOrderLineId?: Maybe<Scalars['String']>;
319
+ campaignOfferId: Scalars['String'];
320
+ campaignOfferProductId?: Maybe<Scalars['String']>;
321
+ offerEndDate?: Maybe<Scalars['Timestamp']>;
322
+ offerStartDate: Scalars['Timestamp'];
323
+ status: CartCampaignOfferStatus;
324
+ targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
325
+ triggerSourceOrderLineId: Scalars['String'];
326
+ };
327
+ /** CartV2 Status Enum */
328
+ export declare enum CartV2StatusEnum {
329
+ COMPLETED = "COMPLETED",
330
+ FREEZE = "FREEZE",
331
+ KILLED = "KILLED",
332
+ OPEN = "OPEN"
333
+ }
259
334
  export declare type Category = {
260
335
  __typename?: 'Category';
261
336
  /** It is the id list information where the ids of all the superclasses of the category are found. */
262
337
  categoryPath?: Maybe<Array<Scalars['String']>>;
338
+ /** It is the id list information where the ids of all the superclasses of the category are found. */
339
+ categoryPathItems?: Maybe<Array<CategoryPathItem>>;
263
340
  conditions?: Maybe<Array<CategoryCondition>>;
264
341
  createdAt?: Maybe<Scalars['Timestamp']>;
265
342
  deleted?: Maybe<Scalars['Boolean']>;
@@ -331,6 +408,24 @@ export declare type CategoryInput = {
331
408
  export declare type CategoryPathFilterInput = {
332
409
  in?: InputMaybe<Array<Scalars['String']>>;
333
410
  };
411
+ export declare type CategoryPathItem = {
412
+ __typename?: 'CategoryPathItem';
413
+ createdAt?: Maybe<Scalars['Timestamp']>;
414
+ deleted?: Maybe<Scalars['Boolean']>;
415
+ /** It is the description of the category of the product. */
416
+ description?: Maybe<Scalars['String']>;
417
+ id: Scalars['ID'];
418
+ /** It is the id where the picture of the category is kept in the system. */
419
+ imageId?: Maybe<Scalars['String']>;
420
+ isAutomated?: Maybe<Scalars['Boolean']>;
421
+ /** It is the metadata information of the product category. */
422
+ metaData?: Maybe<HTMLMetaData>;
423
+ /** It is the name of the category in which the product is located. */
424
+ name: Scalars['String'];
425
+ /** It is the translation information of the product category. */
426
+ translations?: Maybe<Array<CategoryTranslation>>;
427
+ updatedAt?: Maybe<Scalars['Timestamp']>;
428
+ };
334
429
  /** CategoryProductsOrder Types */
335
430
  export declare enum CategoryProductsOrderTypeEnum {
336
431
  BEST_SELLER = "BEST_SELLER",
@@ -359,6 +454,16 @@ export declare type CategoryTranslationInput = {
359
454
  /** It is the information in which language the translation is saved. */
360
455
  name?: InputMaybe<Scalars['String']>;
361
456
  };
457
+ /** Checkout Recovery Email Status Enum */
458
+ export declare enum CheckoutRecoveryEmailStatusEnum {
459
+ NOT_SENT = "NOT_SENT",
460
+ SENT = "SENT"
461
+ }
462
+ /** Checkout Recovery Status Enum */
463
+ export declare enum CheckoutRecoveryStatusEnum {
464
+ NOT_RECOVERED = "NOT_RECOVERED",
465
+ RECOVERED = "RECOVERED"
466
+ }
362
467
  export declare type City = {
363
468
  __typename?: 'City';
364
469
  /** The two-letter city code corresponding to the city. */
@@ -642,7 +747,7 @@ export declare enum CustomerRegistrationSourceEnum {
642
747
  google = "google"
643
748
  }
644
749
  export declare type DateFilterInput = {
645
- /** `equal`. The filter used for equality. */
750
+ /** `equal`. The filter used for equality. */
646
751
  eq?: InputMaybe<Scalars['Timestamp']>;
647
752
  /** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
648
753
  gt?: InputMaybe<Scalars['Timestamp']>;
@@ -654,6 +759,10 @@ export declare type DateFilterInput = {
654
759
  lt?: InputMaybe<Scalars['Timestamp']>;
655
760
  /** `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.) */
656
761
  lte?: InputMaybe<Scalars['Timestamp']>;
762
+ /** `not equal`. The filter used for not equality. */
763
+ ne?: InputMaybe<Scalars['Timestamp']>;
764
+ /** Returns a boolean indicating whether a specified value is not in an array. */
765
+ nin?: InputMaybe<Scalars['Timestamp']>;
657
766
  };
658
767
  export declare type District = {
659
768
  __typename?: 'District';
@@ -1117,11 +1226,14 @@ export declare type Mutation = {
1117
1226
  __typename?: 'Mutation';
1118
1227
  addCustomTimelineEntry: Scalars['Boolean'];
1119
1228
  /** Use this mutation to add invoice to order. */
1120
- addOrderInvoice: Order;
1229
+ addOrderInvoice?: Maybe<Order>;
1230
+ approvePendingOrderTransactions: Scalars['Boolean'];
1121
1231
  /** Response indicating the status of operation. */
1122
1232
  bulkUpdateProducts: Scalars['Boolean'];
1123
1233
  /** Use this mutation to cancel the already created package for an order. */
1124
1234
  cancelFulfillment: Order;
1235
+ /** Use this mutation to cancel given order lines. */
1236
+ cancelOrderLine: Order;
1125
1237
  /** Using this api, you can add payment features to a merchant app. */
1126
1238
  createMerchantAppPayment: MerchantAppPayment;
1127
1239
  /** Use this mutation if you want to create a new order with transactions. */
@@ -1145,7 +1257,7 @@ export declare type Mutation = {
1145
1257
  /** Use this mutation to fulfill order line items. */
1146
1258
  fulfillOrder: Order;
1147
1259
  productAttributeImport: CSVImportResponse;
1148
- /** Use this mutation to refund operations. */
1260
+ /** Use this mutation to refund given order lines. */
1149
1261
  refundOrderLine: Order;
1150
1262
  /** Using this api, you can update the categories of products. */
1151
1263
  saveCategory: Category;
@@ -1184,12 +1296,18 @@ export declare type MutationaddCustomTimelineEntryArgs = {
1184
1296
  export declare type MutationaddOrderInvoiceArgs = {
1185
1297
  input: AddOrderInvoiceInput;
1186
1298
  };
1299
+ export declare type MutationapprovePendingOrderTransactionsArgs = {
1300
+ input: ApproveOrderTransactionsInput;
1301
+ };
1187
1302
  export declare type MutationbulkUpdateProductsArgs = {
1188
1303
  input: Array<BulkUpdateProductsInput>;
1189
1304
  };
1190
1305
  export declare type MutationcancelFulfillmentArgs = {
1191
1306
  input: CancelFulfillmentInput;
1192
1307
  };
1308
+ export declare type MutationcancelOrderLineArgs = {
1309
+ input: CancelOrderLineInput;
1310
+ };
1193
1311
  export declare type MutationcreateMerchantAppPaymentArgs = {
1194
1312
  input: MerchantAppPaymentInput;
1195
1313
  };
@@ -1276,6 +1394,8 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1276
1394
  };
1277
1395
  export declare type Order = {
1278
1396
  __typename?: 'Order';
1397
+ abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
1398
+ availableShippingMethods?: Maybe<Array<AvailableShippingMethod>>;
1279
1399
  /** It is the billing address of the order. */
1280
1400
  billingAddress?: Maybe<OrderAddress>;
1281
1401
  /** It is the `branch` information of the orders created via ikasPOS. */
@@ -1283,21 +1403,30 @@ export declare type Order = {
1283
1403
  /** It is the `branchSession` information of the orders created via ikasPOS. */
1284
1404
  branchSession?: Maybe<OrderBranchSession>;
1285
1405
  branchSessionId?: Maybe<Scalars['String']>;
1406
+ campaignOffers?: Maybe<Array<CartV2CampaignOffer>>;
1286
1407
  /** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
1287
1408
  cancelReason?: Maybe<CancelledReasonEnum>;
1288
1409
  /** If the order has been cancelled, it indicates the cancellation date of the order. */
1289
1410
  cancelledAt?: Maybe<Scalars['Timestamp']>;
1411
+ cartId?: Maybe<Scalars['String']>;
1412
+ /** Shows the status of the cart linked to the order. */
1413
+ cartStatus?: Maybe<CartV2StatusEnum>;
1290
1414
  checkoutId?: Maybe<Scalars['String']>;
1291
1415
  /** The client ip address. */
1292
1416
  clientIp?: Maybe<Scalars['String']>;
1417
+ couponCode?: Maybe<Scalars['String']>;
1293
1418
  createdAt?: Maybe<Scalars['Timestamp']>;
1419
+ /** Indicates who created the order. The order can be created by the customer or the store owner. */
1420
+ createdBy?: Maybe<CartCreatedByEnum>;
1294
1421
  /** It is the currency value of the order. */
1295
1422
  currencyCode: Scalars['String'];
1296
1423
  /** A list of currency rate objects. */
1297
1424
  currencyRates: Array<OrderCurrencyRate>;
1298
1425
  /** 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. */
1299
1426
  customer?: Maybe<OrderCustomer>;
1427
+ customerId?: Maybe<Scalars['String']>;
1300
1428
  deleted?: Maybe<Scalars['Boolean']>;
1429
+ dueDate?: Maybe<Scalars['Timestamp']>;
1301
1430
  /** A list of gift package line objects, each containing information about a gift package pricing in the order. */
1302
1431
  giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
1303
1432
  /** An optional gift package note, can attach to the order. */
@@ -1309,6 +1438,7 @@ export declare type Order = {
1309
1438
  invoices?: Maybe<Array<Invoice>>;
1310
1439
  /** Indicates whether there is a gift package in the order. **isGiftPackage** returns `true` if the order has gift package */
1311
1440
  isGiftPackage?: Maybe<Scalars['Boolean']>;
1441
+ itemCount?: Maybe<Scalars['Float']>;
1312
1442
  merchantId: Scalars['String'];
1313
1443
  /** An optional note, can attach to the order. */
1314
1444
  note?: Maybe<Scalars['String']>;
@@ -1336,8 +1466,12 @@ export declare type Order = {
1336
1466
  paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
1337
1467
  /** Information about the `priceList` used when the order was created. */
1338
1468
  priceList?: Maybe<OrderPriceList>;
1469
+ priceListId?: Maybe<Scalars['String']>;
1470
+ recoverEmailStatus?: Maybe<CheckoutRecoveryEmailStatusEnum>;
1471
+ recoveryStatus?: Maybe<CheckoutRecoveryStatusEnum>;
1339
1472
  /** Information about the `salesChannel` where the order was created. */
1340
1473
  salesChannel: OrderSalesChannel;
1474
+ salesChannelId?: Maybe<Scalars['String']>;
1341
1475
  sessionInfo?: Maybe<OrderSessionInfo>;
1342
1476
  /** It is the shipping address of the order. */
1343
1477
  shippingAddress?: Maybe<OrderAddress>;
@@ -1345,18 +1479,24 @@ export declare type Order = {
1345
1479
  shippingLines?: Maybe<Array<OrderShippingLine>>;
1346
1480
  /** It is the shipping method enum of the order */
1347
1481
  shippingMethod: ShippingMethodEnum;
1482
+ shippingSettingsId?: Maybe<Scalars['String']>;
1483
+ shippingZoneRateId?: Maybe<Scalars['String']>;
1348
1484
  /** It is the `staff` information of the orders created via ikasPOS. */
1349
1485
  staff?: Maybe<OrderStaff>;
1350
1486
  /** It is the status enum of the order */
1351
1487
  status: OrderStatusEnum;
1352
1488
  /** It is the `stock location` information of the orders. */
1353
1489
  stockLocation?: Maybe<OrderStockLocation>;
1490
+ stockLocationId?: Maybe<Scalars['String']>;
1354
1491
  /** Information about the `storefront` where the order was created. */
1355
1492
  storefront?: Maybe<OrderStorefront>;
1493
+ storefrontId?: Maybe<Scalars['String']>;
1356
1494
  /** Information about the `storefrontRouting` used by the storefront at the time the order was created. */
1357
1495
  storefrontRouting?: Maybe<OrderStorefrontRouting>;
1496
+ storefrontRoutingId?: Maybe<Scalars['String']>;
1358
1497
  /** Information about the `storefrontTheme` used by the storefront at the time the order was created. */
1359
1498
  storefrontTheme?: Maybe<OrderStorefrontTheme>;
1499
+ storefrontThemeId?: Maybe<Scalars['String']>;
1360
1500
  /** A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines. */
1361
1501
  taxLines?: Maybe<Array<OrderTaxLine>>;
1362
1502
  /** It is the `terminalId`` information of the orders created via ikasPOS. */
@@ -1569,6 +1709,9 @@ export declare type OrderCurrencyRate = {
1569
1709
  };
1570
1710
  export declare type OrderCustomer = {
1571
1711
  __typename?: 'OrderCustomer';
1712
+ accountStatus?: Maybe<CustomerAccountStatusEnum>;
1713
+ /** It is the phone number of the customer who created the order. */
1714
+ customerGroupIds?: Maybe<Array<Scalars['String']>>;
1572
1715
  /** It is the email of the customer who created the order. */
1573
1716
  email?: Maybe<Scalars['String']>;
1574
1717
  /** It is the first name of the customer who created the order. */
@@ -1583,8 +1726,10 @@ export declare type OrderCustomer = {
1583
1726
  isGuestCheckout?: Maybe<Scalars['Boolean']>;
1584
1727
  /** It is the last name of the customer who created the order. */
1585
1728
  lastName?: Maybe<Scalars['String']>;
1729
+ notificationsAccepted?: Maybe<Scalars['Boolean']>;
1586
1730
  /** It is the phone number of the customer who created the order. */
1587
1731
  phone?: Maybe<Scalars['String']>;
1732
+ subscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
1588
1733
  };
1589
1734
  export declare type OrderCustomerInput = {
1590
1735
  /** It is the email of the customer who created the order. */
@@ -1867,10 +2012,14 @@ export declare enum OrderPackageStatusEnum {
1867
2012
  UNFULFILLED = "UNFULFILLED"
1868
2013
  }
1869
2014
  export declare type OrderPackageStatusEnumInputFilter = {
1870
- /** `equal`. The filter used for equality. */
2015
+ /** `equal`. The filter used for equality. */
1871
2016
  eq?: InputMaybe<OrderPackageStatusEnum>;
1872
2017
  /** Returns a boolean indicating whether a specified value is in an array. */
1873
2018
  in?: InputMaybe<Array<OrderPackageStatusEnum>>;
2019
+ /** `not equal`. The filter used for not equality. */
2020
+ ne?: InputMaybe<OrderPackageStatusEnum>;
2021
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2022
+ nin?: InputMaybe<OrderPackageStatusEnum>;
1874
2023
  };
1875
2024
  export declare type OrderPaginationResponse = {
1876
2025
  __typename?: 'OrderPaginationResponse';
@@ -1919,10 +2068,14 @@ export declare enum OrderPaymentStatusEnum {
1919
2068
  WAITING = "WAITING"
1920
2069
  }
1921
2070
  export declare type OrderPaymentStatusEnumInputFilter = {
1922
- /** `equal`. The filter used for equality. */
2071
+ /** `equal`. The filter used for equality. */
1923
2072
  eq?: InputMaybe<OrderPaymentStatusEnum>;
1924
2073
  /** Returns a boolean indicating whether a specified value is in an array. */
1925
2074
  in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2075
+ /** `not equal`. The filter used for not equality. */
2076
+ ne?: InputMaybe<OrderPaymentStatusEnum>;
2077
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2078
+ nin?: InputMaybe<OrderPaymentStatusEnum>;
1926
2079
  };
1927
2080
  export declare type OrderPriceList = {
1928
2081
  __typename?: 'OrderPriceList';
@@ -2033,10 +2186,14 @@ export declare enum OrderStatusEnum {
2033
2186
  REFUND_REQUESTED = "REFUND_REQUESTED"
2034
2187
  }
2035
2188
  export declare type OrderStatusEnumInputFilter = {
2036
- /** `equal`. The filter used for equality. */
2189
+ /** `equal`. The filter used for equality. */
2037
2190
  eq?: InputMaybe<OrderStatusEnum>;
2038
2191
  /** Returns a boolean indicating whether a specified value is in an array. */
2039
2192
  in?: InputMaybe<Array<OrderStatusEnum>>;
2193
+ /** `not equal`. The filter used for not equality. */
2194
+ ne?: InputMaybe<OrderStatusEnum>;
2195
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2196
+ nin?: InputMaybe<OrderStatusEnum>;
2040
2197
  };
2041
2198
  export declare type OrderStockLocation = {
2042
2199
  __typename?: 'OrderStockLocation';
@@ -2056,6 +2213,7 @@ export declare type OrderStorefrontRouting = {
2056
2213
  __typename?: 'OrderStorefrontRouting';
2057
2214
  /** It is the domain of the storefront routing. */
2058
2215
  domain?: Maybe<Scalars['String']>;
2216
+ dynamicCurrencySettings?: Maybe<OrderStorefrontRoutingDynamicCurrencySettings>;
2059
2217
  /** It is the storefront routing id used by the storefront when the order was created. */
2060
2218
  id: Scalars['String'];
2061
2219
  /** It is the locale of the storefront routing. */
@@ -2065,6 +2223,12 @@ export declare type OrderStorefrontRouting = {
2065
2223
  /** It is the price list id that associated on the storefront routing. */
2066
2224
  priceListId?: Maybe<Scalars['String']>;
2067
2225
  };
2226
+ export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
2227
+ __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
2228
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' */
2229
+ roundingFormat?: Maybe<Scalars['String']>;
2230
+ targetCurrencyCode: Scalars['String'];
2231
+ };
2068
2232
  export declare type OrderStorefrontTheme = {
2069
2233
  __typename?: 'OrderStorefrontTheme';
2070
2234
  /** It is the theme id customized by the merchant used by the storefront when the order was created. */
@@ -2106,6 +2270,18 @@ export declare type PaginationInput = {
2106
2270
  */
2107
2271
  page?: InputMaybe<Scalars['Int']>;
2108
2272
  };
2273
+ export declare enum PaymentMethodEnum {
2274
+ APP_PAYMENT = "APP_PAYMENT",
2275
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2276
+ CASH = "CASH",
2277
+ CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2278
+ CREDIT_CARD = "CREDIT_CARD",
2279
+ CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
2280
+ GIFT_CARD = "GIFT_CARD",
2281
+ MONEY_ORDER = "MONEY_ORDER",
2282
+ OTHER = "OTHER",
2283
+ WALLET = "WALLET"
2284
+ }
2109
2285
  export declare enum PaymentMethodTypeEnum {
2110
2286
  APP_PAYMENT = "APP_PAYMENT",
2111
2287
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
@@ -2279,6 +2455,7 @@ export declare enum ProductAttributeTypeEnum {
2279
2455
  CHOICE = "CHOICE",
2280
2456
  DATETIME = "DATETIME",
2281
2457
  HTML = "HTML",
2458
+ IMAGE = "IMAGE",
2282
2459
  MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
2283
2460
  NUMERIC = "NUMERIC",
2284
2461
  PRODUCT = "PRODUCT",
@@ -2287,6 +2464,8 @@ export declare enum ProductAttributeTypeEnum {
2287
2464
  }
2288
2465
  export declare type ProductAttributeValue = {
2289
2466
  __typename?: 'ProductAttributeValue';
2467
+ /** Image ids of the product attribute */
2468
+ imageIds?: Maybe<Array<Scalars['String']>>;
2290
2469
  /** Identifier of the product attribute */
2291
2470
  productAttributeId?: Maybe<Scalars['String']>;
2292
2471
  /** Option identifier for the product attribute */
@@ -2295,6 +2474,7 @@ export declare type ProductAttributeValue = {
2295
2474
  value?: Maybe<Scalars['String']>;
2296
2475
  };
2297
2476
  export declare type ProductAttributeValueInput = {
2477
+ imageIds?: InputMaybe<Array<Scalars['String']>>;
2298
2478
  productAttributeId?: InputMaybe<Scalars['String']>;
2299
2479
  productAttributeOptionId?: InputMaybe<Scalars['String']>;
2300
2480
  value?: InputMaybe<Scalars['String']>;
@@ -2361,6 +2541,7 @@ export declare type ProductImage = {
2361
2541
  imageId?: Maybe<Scalars['String']>;
2362
2542
  /** Whether the image is main image for the product or not. */
2363
2543
  isMain: Scalars['Boolean'];
2544
+ /** True if this the media type is video */
2364
2545
  isVideo?: Maybe<Scalars['Boolean']>;
2365
2546
  /** Order of the product image. */
2366
2547
  order: Scalars['Float'];
@@ -2368,6 +2549,7 @@ export declare type ProductImage = {
2368
2549
  export declare type ProductImageInput = {
2369
2550
  imageId: Scalars['String'];
2370
2551
  isMain: Scalars['Boolean'];
2552
+ isVideo?: InputMaybe<Scalars['Boolean']>;
2371
2553
  order: Scalars['Float'];
2372
2554
  };
2373
2555
  export declare type ProductInput = {
@@ -2559,6 +2741,8 @@ export declare type ProductSearchResponse = {
2559
2741
  limit: Scalars['Float'];
2560
2742
  /** Current page number of the search results. */
2561
2743
  page: Scalars['Float'];
2744
+ /** Search result */
2745
+ results: Array<SearchProduct>;
2562
2746
  /** Total number of search results. */
2563
2747
  totalCount: Scalars['Float'];
2564
2748
  };
@@ -2764,14 +2948,12 @@ export declare type QuerylistCategoryArgs = {
2764
2948
  export declare type QuerylistCityArgs = {
2765
2949
  countryId?: InputMaybe<StringFilterInput>;
2766
2950
  id?: InputMaybe<StringFilterInput>;
2767
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2768
2951
  search?: InputMaybe<Scalars['String']>;
2769
2952
  stateId: StringFilterInput;
2770
2953
  updatedAt?: InputMaybe<DateFilterInput>;
2771
2954
  };
2772
2955
  export declare type QuerylistCountryArgs = {
2773
2956
  id?: InputMaybe<StringFilterInput>;
2774
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2775
2957
  iso2?: InputMaybe<StringFilterInput>;
2776
2958
  iso3?: InputMaybe<StringFilterInput>;
2777
2959
  search?: InputMaybe<Scalars['String']>;
@@ -2791,7 +2973,6 @@ export declare type QuerylistDistrictArgs = {
2791
2973
  cityId: StringFilterInput;
2792
2974
  countryId?: InputMaybe<StringFilterInput>;
2793
2975
  id?: InputMaybe<StringFilterInput>;
2794
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2795
2976
  search?: InputMaybe<Scalars['String']>;
2796
2977
  stateId?: InputMaybe<StringFilterInput>;
2797
2978
  updatedAt?: InputMaybe<DateFilterInput>;
@@ -2864,7 +3045,6 @@ export declare type QuerylistSalesChannelArgs = {
2864
3045
  export declare type QuerylistStateArgs = {
2865
3046
  countryId: StringFilterInput;
2866
3047
  id?: InputMaybe<StringFilterInput>;
2867
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2868
3048
  search?: InputMaybe<Scalars['String']>;
2869
3049
  updatedAt?: InputMaybe<DateFilterInput>;
2870
3050
  };
@@ -2882,7 +3062,6 @@ export declare type QuerylistStorefrontJSScriptArgs = {
2882
3062
  export declare type QuerylistTownArgs = {
2883
3063
  districtId: StringFilterInput;
2884
3064
  id?: InputMaybe<StringFilterInput>;
2885
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2886
3065
  search?: InputMaybe<Scalars['String']>;
2887
3066
  updatedAt?: InputMaybe<DateFilterInput>;
2888
3067
  };
@@ -2971,16 +3150,174 @@ export declare type SaveVariantPricesInput = {
2971
3150
  /** List of variants to be updated. Maximum 3000 entries allowed. */
2972
3151
  variantPriceInputs: Array<VariantPriceInput>;
2973
3152
  };
3153
+ export declare type SearchCategory = {
3154
+ __typename?: 'SearchCategory';
3155
+ id: Scalars['String'];
3156
+ name: Scalars['String'];
3157
+ path: Array<SearchCategoryPath>;
3158
+ slug?: Maybe<Scalars['String']>;
3159
+ translations?: Maybe<Array<CategoryTranslation>>;
3160
+ };
3161
+ export declare type SearchCategoryPath = {
3162
+ __typename?: 'SearchCategoryPath';
3163
+ id: Scalars['String'];
3164
+ name: Scalars['String'];
3165
+ slug?: Maybe<Scalars['String']>;
3166
+ translations?: Maybe<Array<CategoryTranslation>>;
3167
+ };
3168
+ export declare type SearchHTMLMetaData = {
3169
+ __typename?: 'SearchHTMLMetaData';
3170
+ description?: Maybe<Scalars['String']>;
3171
+ metadataOverrides?: Maybe<Array<SearchHTMLMetaDataOverride>>;
3172
+ pageTitle?: Maybe<Scalars['String']>;
3173
+ redirectTo?: Maybe<Scalars['String']>;
3174
+ slug: Scalars['String'];
3175
+ translations?: Maybe<Array<HTMLMetaDataTranslation>>;
3176
+ };
3177
+ export declare type SearchHTMLMetaDataOverride = {
3178
+ __typename?: 'SearchHTMLMetaDataOverride';
3179
+ description: Scalars['String'];
3180
+ language?: Maybe<Scalars['String']>;
3181
+ pageTitle: Scalars['String'];
3182
+ storefrontId?: Maybe<Scalars['String']>;
3183
+ storefrontRegionId?: Maybe<Scalars['String']>;
3184
+ };
2974
3185
  export declare type SearchInput = {
2975
- /** Barcode list search products. */
3186
+ /** List of barcodes to search. */
2976
3187
  barcodeList?: InputMaybe<Array<Scalars['String']>>;
2977
3188
  /** Pagination input */
2978
3189
  pagination?: InputMaybe<PaginationInput>;
3190
+ /** List of product ids to search. */
3191
+ productIdList?: InputMaybe<Array<Scalars['String']>>;
2979
3192
  /** Query string to search products. */
2980
3193
  query?: InputMaybe<Scalars['String']>;
2981
- /** SKU list search products. */
3194
+ /** List of SKUs to search. */
2982
3195
  skuList?: InputMaybe<Array<Scalars['String']>>;
2983
3196
  };
3197
+ export declare type SearchProduct = {
3198
+ __typename?: 'SearchProduct';
3199
+ attributes?: Maybe<Array<SearchProductAttributeValue>>;
3200
+ brand?: Maybe<SearchProductBrand>;
3201
+ categories?: Maybe<Array<SearchCategory>>;
3202
+ deleted?: Maybe<Scalars['Boolean']>;
3203
+ description?: Maybe<Scalars['String']>;
3204
+ groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
3205
+ id: Scalars['String'];
3206
+ metaData?: Maybe<SearchHTMLMetaData>;
3207
+ name: Scalars['String'];
3208
+ productOptionSetId?: Maybe<Scalars['String']>;
3209
+ productVariantTypes: Array<SearchProductVariantType>;
3210
+ salesChannelIds?: Maybe<Array<Scalars['String']>>;
3211
+ shortDescription?: Maybe<Scalars['String']>;
3212
+ tags?: Maybe<Array<SearchProductTag>>;
3213
+ translations?: Maybe<Array<ProductTranslation>>;
3214
+ type: Scalars['String'];
3215
+ variants: Array<SearchVariant>;
3216
+ weight?: Maybe<Scalars['Float']>;
3217
+ };
3218
+ export declare type SearchProductAttribute = {
3219
+ __typename?: 'SearchProductAttribute';
3220
+ id: Scalars['String'];
3221
+ name: Scalars['String'];
3222
+ tableTemplate?: Maybe<SearchProductAttributeTableTemplate>;
3223
+ translations?: Maybe<Array<ProductAttributeTranslation>>;
3224
+ type: Scalars['String'];
3225
+ };
3226
+ export declare type SearchProductAttributeOption = {
3227
+ __typename?: 'SearchProductAttributeOption';
3228
+ id: Scalars['String'];
3229
+ name: Scalars['String'];
3230
+ };
3231
+ export declare type SearchProductAttributeTableCellData = {
3232
+ __typename?: 'SearchProductAttributeTableCellData';
3233
+ id: Scalars['String'];
3234
+ name: Scalars['String'];
3235
+ };
3236
+ export declare type SearchProductAttributeTableTemplate = {
3237
+ __typename?: 'SearchProductAttributeTableTemplate';
3238
+ columns: Array<SearchProductAttributeTableCellData>;
3239
+ rows: Array<SearchProductAttributeTableCellData>;
3240
+ };
3241
+ export declare type SearchProductAttributeValue = {
3242
+ __typename?: 'SearchProductAttributeValue';
3243
+ productAttribute?: Maybe<SearchProductAttribute>;
3244
+ productAttributeOption?: Maybe<SearchProductAttributeOption>;
3245
+ value?: Maybe<Scalars['String']>;
3246
+ };
3247
+ export declare type SearchProductBrand = {
3248
+ __typename?: 'SearchProductBrand';
3249
+ id: Scalars['String'];
3250
+ name: Scalars['String'];
3251
+ slug?: Maybe<Scalars['String']>;
3252
+ translations?: Maybe<Array<ProductBrandTranslation>>;
3253
+ };
3254
+ export declare type SearchProductImage = {
3255
+ __typename?: 'SearchProductImage';
3256
+ id: Scalars['String'];
3257
+ isMain?: Maybe<Scalars['Boolean']>;
3258
+ isVideo?: Maybe<Scalars['Boolean']>;
3259
+ order: Scalars['Float'];
3260
+ };
3261
+ export declare type SearchProductPrice = {
3262
+ __typename?: 'SearchProductPrice';
3263
+ buyPrice?: Maybe<Scalars['Float']>;
3264
+ currency?: Maybe<Scalars['String']>;
3265
+ discountPrice?: Maybe<Scalars['Float']>;
3266
+ priceListId?: Maybe<Scalars['String']>;
3267
+ sellPrice: Scalars['Float'];
3268
+ };
3269
+ export declare type SearchProductStockLocation = {
3270
+ __typename?: 'SearchProductStockLocation';
3271
+ stockCount: Scalars['Float'];
3272
+ stockLocationId: Scalars['String'];
3273
+ };
3274
+ export declare type SearchProductTag = {
3275
+ __typename?: 'SearchProductTag';
3276
+ id: Scalars['String'];
3277
+ name: Scalars['String'];
3278
+ translations?: Maybe<Array<ProductTagTranslation>>;
3279
+ };
3280
+ export declare type SearchProductVariantType = {
3281
+ __typename?: 'SearchProductVariantType';
3282
+ order: Scalars['Float'];
3283
+ variantType: SearchVariantType;
3284
+ variantValueIds: Array<Scalars['String']>;
3285
+ };
3286
+ export declare type SearchVariant = {
3287
+ __typename?: 'SearchVariant';
3288
+ attributes?: Maybe<Array<SearchProductAttributeValue>>;
3289
+ barcodeList?: Maybe<Array<Scalars['String']>>;
3290
+ deleted?: Maybe<Scalars['Boolean']>;
3291
+ id: Scalars['String'];
3292
+ images?: Maybe<Array<SearchProductImage>>;
3293
+ isActive?: Maybe<Scalars['Boolean']>;
3294
+ prices?: Maybe<Array<SearchProductPrice>>;
3295
+ sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
3296
+ sku?: Maybe<Scalars['String']>;
3297
+ stocks?: Maybe<Array<SearchProductStockLocation>>;
3298
+ variantValues?: Maybe<Array<SearchVariationValueRelation>>;
3299
+ weight?: Maybe<Scalars['Float']>;
3300
+ };
3301
+ export declare type SearchVariantType = {
3302
+ __typename?: 'SearchVariantType';
3303
+ id: Scalars['String'];
3304
+ name: Scalars['String'];
3305
+ selectionType: Scalars['String'];
3306
+ translations?: Maybe<Array<VariantTypeTranslation>>;
3307
+ values: Array<SearchVariantValue>;
3308
+ };
3309
+ export declare type SearchVariantValue = {
3310
+ __typename?: 'SearchVariantValue';
3311
+ colorCode?: Maybe<Scalars['String']>;
3312
+ id: Scalars['String'];
3313
+ name: Scalars['String'];
3314
+ thumbnailImageId?: Maybe<Scalars['String']>;
3315
+ };
3316
+ export declare type SearchVariationValueRelation = {
3317
+ __typename?: 'SearchVariationValueRelation';
3318
+ variantTypeId: Scalars['String'];
3319
+ variantValueId: Scalars['String'];
3320
+ };
2984
3321
  /** Shipping Method Enum */
2985
3322
  export declare enum ShippingMethodEnum {
2986
3323
  CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
@@ -3162,7 +3499,7 @@ export declare type StorefrontJSScriptInput = {
3162
3499
  storefrontId: Scalars['String'];
3163
3500
  };
3164
3501
  export declare type StringFilterInput = {
3165
- /** `equal`. The filter used for equality. */
3502
+ /** `equal`. The filter used for equality. */
3166
3503
  eq?: InputMaybe<Scalars['String']>;
3167
3504
  /** Returns a boolean indicating whether a specified value is in an array. */
3168
3505
  in?: InputMaybe<Array<Scalars['String']>>;
@@ -3174,6 +3511,10 @@ export declare type StringFilterInput = {
3174
3511
  * :::
3175
3512
  */
3176
3513
  like?: InputMaybe<Scalars['String']>;
3514
+ /** `not equal`. The filter used for not equality. */
3515
+ ne?: InputMaybe<Scalars['String']>;
3516
+ /** Returns a boolean indicating whether a specified value is not in an array. */
3517
+ nin?: InputMaybe<Array<Scalars['String']>>;
3177
3518
  };
3178
3519
  export declare enum SubscriptionCodeEnum {
3179
3520
  CUSTOM = "CUSTOM",