@ikas/api-client 1.0.5 → 1.0.6-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.
@@ -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",
@@ -256,10 +291,41 @@ export declare enum CancelledReasonEnum {
256
291
  INVENTORY = "INVENTORY",
257
292
  OTHER = "OTHER"
258
293
  }
294
+ export declare enum CartCampaignOfferStatus {
295
+ ACCEPTED = "ACCEPTED",
296
+ REJECTED = "REJECTED",
297
+ REMOVED = "REMOVED",
298
+ WAITING_FOR_ACTION = "WAITING_FOR_ACTION"
299
+ }
300
+ /** Cart Created By Enum */
301
+ export declare enum CartCreatedByEnum {
302
+ ADMIN = "ADMIN",
303
+ CUSTOMER = "CUSTOMER"
304
+ }
305
+ export declare type CartV2CampaignOffer = {
306
+ __typename?: 'CartV2CampaignOffer';
307
+ appliedOrderLineId?: Maybe<Scalars['String']>;
308
+ campaignOfferId: Scalars['String'];
309
+ campaignOfferProductId?: Maybe<Scalars['String']>;
310
+ offerEndDate?: Maybe<Scalars['Timestamp']>;
311
+ offerStartDate: Scalars['Timestamp'];
312
+ status: CartCampaignOfferStatus;
313
+ targetPageTypes: Array<CampaignOfferTargetPageTypeEnum>;
314
+ triggerSourceOrderLineId: Scalars['String'];
315
+ };
316
+ /** CartV2 Status Enum */
317
+ export declare enum CartV2StatusEnum {
318
+ COMPLETED = "COMPLETED",
319
+ FREEZE = "FREEZE",
320
+ KILLED = "KILLED",
321
+ OPEN = "OPEN"
322
+ }
259
323
  export declare type Category = {
260
324
  __typename?: 'Category';
261
325
  /** It is the id list information where the ids of all the superclasses of the category are found. */
262
326
  categoryPath?: Maybe<Array<Scalars['String']>>;
327
+ /** It is the id list information where the ids of all the superclasses of the category are found. */
328
+ categoryPathItems?: Maybe<Array<CategoryPathItem>>;
263
329
  conditions?: Maybe<Array<CategoryCondition>>;
264
330
  createdAt?: Maybe<Scalars['Timestamp']>;
265
331
  deleted?: Maybe<Scalars['Boolean']>;
@@ -331,6 +397,24 @@ export declare type CategoryInput = {
331
397
  export declare type CategoryPathFilterInput = {
332
398
  in?: InputMaybe<Array<Scalars['String']>>;
333
399
  };
400
+ export declare type CategoryPathItem = {
401
+ __typename?: 'CategoryPathItem';
402
+ createdAt?: Maybe<Scalars['Timestamp']>;
403
+ deleted?: Maybe<Scalars['Boolean']>;
404
+ /** It is the description of the category of the product. */
405
+ description?: Maybe<Scalars['String']>;
406
+ id: Scalars['ID'];
407
+ /** It is the id where the picture of the category is kept in the system. */
408
+ imageId?: Maybe<Scalars['String']>;
409
+ isAutomated?: Maybe<Scalars['Boolean']>;
410
+ /** It is the metadata information of the product category. */
411
+ metaData?: Maybe<HTMLMetaData>;
412
+ /** It is the name of the category in which the product is located. */
413
+ name: Scalars['String'];
414
+ /** It is the translation information of the product category. */
415
+ translations?: Maybe<Array<CategoryTranslation>>;
416
+ updatedAt?: Maybe<Scalars['Timestamp']>;
417
+ };
334
418
  /** CategoryProductsOrder Types */
335
419
  export declare enum CategoryProductsOrderTypeEnum {
336
420
  BEST_SELLER = "BEST_SELLER",
@@ -359,6 +443,16 @@ export declare type CategoryTranslationInput = {
359
443
  /** It is the information in which language the translation is saved. */
360
444
  name?: InputMaybe<Scalars['String']>;
361
445
  };
446
+ /** Checkout Recovery Email Status Enum */
447
+ export declare enum CheckoutRecoveryEmailStatusEnum {
448
+ NOT_SENT = "NOT_SENT",
449
+ SENT = "SENT"
450
+ }
451
+ /** Checkout Recovery Status Enum */
452
+ export declare enum CheckoutRecoveryStatusEnum {
453
+ NOT_RECOVERED = "NOT_RECOVERED",
454
+ RECOVERED = "RECOVERED"
455
+ }
362
456
  export declare type City = {
363
457
  __typename?: 'City';
364
458
  /** The two-letter city code corresponding to the city. */
@@ -642,7 +736,7 @@ export declare enum CustomerRegistrationSourceEnum {
642
736
  google = "google"
643
737
  }
644
738
  export declare type DateFilterInput = {
645
- /** `equal`. The filter used for equality. */
739
+ /** `equal`. The filter used for equality. */
646
740
  eq?: InputMaybe<Scalars['Timestamp']>;
647
741
  /** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
648
742
  gt?: InputMaybe<Scalars['Timestamp']>;
@@ -654,6 +748,10 @@ export declare type DateFilterInput = {
654
748
  lt?: InputMaybe<Scalars['Timestamp']>;
655
749
  /** `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
750
  lte?: InputMaybe<Scalars['Timestamp']>;
751
+ /** `not equal`. The filter used for not equality. */
752
+ ne?: InputMaybe<Scalars['Timestamp']>;
753
+ /** Returns a boolean indicating whether a specified value is not in an array. */
754
+ nin?: InputMaybe<Scalars['Timestamp']>;
657
755
  };
658
756
  export declare type District = {
659
757
  __typename?: 'District';
@@ -1118,6 +1216,7 @@ export declare type Mutation = {
1118
1216
  addCustomTimelineEntry: Scalars['Boolean'];
1119
1217
  /** Use this mutation to add invoice to order. */
1120
1218
  addOrderInvoice: Order;
1219
+ approvePendingOrderTransactions: Scalars['Boolean'];
1121
1220
  /** Response indicating the status of operation. */
1122
1221
  bulkUpdateProducts: Scalars['Boolean'];
1123
1222
  /** Use this mutation to cancel the already created package for an order. */
@@ -1184,6 +1283,9 @@ export declare type MutationaddCustomTimelineEntryArgs = {
1184
1283
  export declare type MutationaddOrderInvoiceArgs = {
1185
1284
  input: AddOrderInvoiceInput;
1186
1285
  };
1286
+ export declare type MutationapprovePendingOrderTransactionsArgs = {
1287
+ input: ApproveOrderTransactionsInput;
1288
+ };
1187
1289
  export declare type MutationbulkUpdateProductsArgs = {
1188
1290
  input: Array<BulkUpdateProductsInput>;
1189
1291
  };
@@ -1276,6 +1378,8 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
1276
1378
  };
1277
1379
  export declare type Order = {
1278
1380
  __typename?: 'Order';
1381
+ abandonedCartFlows?: Maybe<Array<AbandonedCartFlow>>;
1382
+ availableShippingMethods?: Maybe<Array<AvailableShippingMethod>>;
1279
1383
  /** It is the billing address of the order. */
1280
1384
  billingAddress?: Maybe<OrderAddress>;
1281
1385
  /** It is the `branch` information of the orders created via ikasPOS. */
@@ -1283,21 +1387,30 @@ export declare type Order = {
1283
1387
  /** It is the `branchSession` information of the orders created via ikasPOS. */
1284
1388
  branchSession?: Maybe<OrderBranchSession>;
1285
1389
  branchSessionId?: Maybe<Scalars['String']>;
1390
+ campaignOffers?: Maybe<Array<CartV2CampaignOffer>>;
1286
1391
  /** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
1287
1392
  cancelReason?: Maybe<CancelledReasonEnum>;
1288
1393
  /** If the order has been cancelled, it indicates the cancellation date of the order. */
1289
1394
  cancelledAt?: Maybe<Scalars['Timestamp']>;
1395
+ cartId?: Maybe<Scalars['String']>;
1396
+ /** Shows the status of the cart linked to the order. */
1397
+ cartStatus?: Maybe<CartV2StatusEnum>;
1290
1398
  checkoutId?: Maybe<Scalars['String']>;
1291
1399
  /** The client ip address. */
1292
1400
  clientIp?: Maybe<Scalars['String']>;
1401
+ couponCode?: Maybe<Scalars['String']>;
1293
1402
  createdAt?: Maybe<Scalars['Timestamp']>;
1403
+ /** Indicates who created the order. The order can be created by the customer or the store owner. */
1404
+ createdBy?: Maybe<CartCreatedByEnum>;
1294
1405
  /** It is the currency value of the order. */
1295
1406
  currencyCode: Scalars['String'];
1296
1407
  /** A list of currency rate objects. */
1297
1408
  currencyRates: Array<OrderCurrencyRate>;
1298
1409
  /** 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
1410
  customer?: Maybe<OrderCustomer>;
1411
+ customerId?: Maybe<Scalars['String']>;
1300
1412
  deleted?: Maybe<Scalars['Boolean']>;
1413
+ dueDate?: Maybe<Scalars['Timestamp']>;
1301
1414
  /** A list of gift package line objects, each containing information about a gift package pricing in the order. */
1302
1415
  giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
1303
1416
  /** An optional gift package note, can attach to the order. */
@@ -1309,6 +1422,7 @@ export declare type Order = {
1309
1422
  invoices?: Maybe<Array<Invoice>>;
1310
1423
  /** Indicates whether there is a gift package in the order. **isGiftPackage** returns `true` if the order has gift package */
1311
1424
  isGiftPackage?: Maybe<Scalars['Boolean']>;
1425
+ itemCount?: Maybe<Scalars['Float']>;
1312
1426
  merchantId: Scalars['String'];
1313
1427
  /** An optional note, can attach to the order. */
1314
1428
  note?: Maybe<Scalars['String']>;
@@ -1336,8 +1450,12 @@ export declare type Order = {
1336
1450
  paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
1337
1451
  /** Information about the `priceList` used when the order was created. */
1338
1452
  priceList?: Maybe<OrderPriceList>;
1453
+ priceListId?: Maybe<Scalars['String']>;
1454
+ recoverEmailStatus?: Maybe<CheckoutRecoveryEmailStatusEnum>;
1455
+ recoveryStatus?: Maybe<CheckoutRecoveryStatusEnum>;
1339
1456
  /** Information about the `salesChannel` where the order was created. */
1340
1457
  salesChannel: OrderSalesChannel;
1458
+ salesChannelId?: Maybe<Scalars['String']>;
1341
1459
  sessionInfo?: Maybe<OrderSessionInfo>;
1342
1460
  /** It is the shipping address of the order. */
1343
1461
  shippingAddress?: Maybe<OrderAddress>;
@@ -1345,18 +1463,24 @@ export declare type Order = {
1345
1463
  shippingLines?: Maybe<Array<OrderShippingLine>>;
1346
1464
  /** It is the shipping method enum of the order */
1347
1465
  shippingMethod: ShippingMethodEnum;
1466
+ shippingSettingsId?: Maybe<Scalars['String']>;
1467
+ shippingZoneRateId?: Maybe<Scalars['String']>;
1348
1468
  /** It is the `staff` information of the orders created via ikasPOS. */
1349
1469
  staff?: Maybe<OrderStaff>;
1350
1470
  /** It is the status enum of the order */
1351
1471
  status: OrderStatusEnum;
1352
1472
  /** It is the `stock location` information of the orders. */
1353
1473
  stockLocation?: Maybe<OrderStockLocation>;
1474
+ stockLocationId?: Maybe<Scalars['String']>;
1354
1475
  /** Information about the `storefront` where the order was created. */
1355
1476
  storefront?: Maybe<OrderStorefront>;
1477
+ storefrontId?: Maybe<Scalars['String']>;
1356
1478
  /** Information about the `storefrontRouting` used by the storefront at the time the order was created. */
1357
1479
  storefrontRouting?: Maybe<OrderStorefrontRouting>;
1480
+ storefrontRoutingId?: Maybe<Scalars['String']>;
1358
1481
  /** Information about the `storefrontTheme` used by the storefront at the time the order was created. */
1359
1482
  storefrontTheme?: Maybe<OrderStorefrontTheme>;
1483
+ storefrontThemeId?: Maybe<Scalars['String']>;
1360
1484
  /** A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines. */
1361
1485
  taxLines?: Maybe<Array<OrderTaxLine>>;
1362
1486
  /** It is the `terminalId`` information of the orders created via ikasPOS. */
@@ -1569,6 +1693,9 @@ export declare type OrderCurrencyRate = {
1569
1693
  };
1570
1694
  export declare type OrderCustomer = {
1571
1695
  __typename?: 'OrderCustomer';
1696
+ accountStatus?: Maybe<CustomerAccountStatusEnum>;
1697
+ /** It is the phone number of the customer who created the order. */
1698
+ customerGroupIds?: Maybe<Array<Scalars['String']>>;
1572
1699
  /** It is the email of the customer who created the order. */
1573
1700
  email?: Maybe<Scalars['String']>;
1574
1701
  /** It is the first name of the customer who created the order. */
@@ -1583,8 +1710,10 @@ export declare type OrderCustomer = {
1583
1710
  isGuestCheckout?: Maybe<Scalars['Boolean']>;
1584
1711
  /** It is the last name of the customer who created the order. */
1585
1712
  lastName?: Maybe<Scalars['String']>;
1713
+ notificationsAccepted?: Maybe<Scalars['Boolean']>;
1586
1714
  /** It is the phone number of the customer who created the order. */
1587
1715
  phone?: Maybe<Scalars['String']>;
1716
+ subscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
1588
1717
  };
1589
1718
  export declare type OrderCustomerInput = {
1590
1719
  /** It is the email of the customer who created the order. */
@@ -1867,10 +1996,14 @@ export declare enum OrderPackageStatusEnum {
1867
1996
  UNFULFILLED = "UNFULFILLED"
1868
1997
  }
1869
1998
  export declare type OrderPackageStatusEnumInputFilter = {
1870
- /** `equal`. The filter used for equality. */
1999
+ /** `equal`. The filter used for equality. */
1871
2000
  eq?: InputMaybe<OrderPackageStatusEnum>;
1872
2001
  /** Returns a boolean indicating whether a specified value is in an array. */
1873
2002
  in?: InputMaybe<Array<OrderPackageStatusEnum>>;
2003
+ /** `not equal`. The filter used for not equality. */
2004
+ ne?: InputMaybe<OrderPackageStatusEnum>;
2005
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2006
+ nin?: InputMaybe<OrderPackageStatusEnum>;
1874
2007
  };
1875
2008
  export declare type OrderPaginationResponse = {
1876
2009
  __typename?: 'OrderPaginationResponse';
@@ -1919,10 +2052,14 @@ export declare enum OrderPaymentStatusEnum {
1919
2052
  WAITING = "WAITING"
1920
2053
  }
1921
2054
  export declare type OrderPaymentStatusEnumInputFilter = {
1922
- /** `equal`. The filter used for equality. */
2055
+ /** `equal`. The filter used for equality. */
1923
2056
  eq?: InputMaybe<OrderPaymentStatusEnum>;
1924
2057
  /** Returns a boolean indicating whether a specified value is in an array. */
1925
2058
  in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2059
+ /** `not equal`. The filter used for not equality. */
2060
+ ne?: InputMaybe<OrderPaymentStatusEnum>;
2061
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2062
+ nin?: InputMaybe<OrderPaymentStatusEnum>;
1926
2063
  };
1927
2064
  export declare type OrderPriceList = {
1928
2065
  __typename?: 'OrderPriceList';
@@ -2033,10 +2170,14 @@ export declare enum OrderStatusEnum {
2033
2170
  REFUND_REQUESTED = "REFUND_REQUESTED"
2034
2171
  }
2035
2172
  export declare type OrderStatusEnumInputFilter = {
2036
- /** `equal`. The filter used for equality. */
2173
+ /** `equal`. The filter used for equality. */
2037
2174
  eq?: InputMaybe<OrderStatusEnum>;
2038
2175
  /** Returns a boolean indicating whether a specified value is in an array. */
2039
2176
  in?: InputMaybe<Array<OrderStatusEnum>>;
2177
+ /** `not equal`. The filter used for not equality. */
2178
+ ne?: InputMaybe<OrderStatusEnum>;
2179
+ /** Returns a boolean indicating whether a specified value is not in an array. */
2180
+ nin?: InputMaybe<OrderStatusEnum>;
2040
2181
  };
2041
2182
  export declare type OrderStockLocation = {
2042
2183
  __typename?: 'OrderStockLocation';
@@ -2056,6 +2197,7 @@ export declare type OrderStorefrontRouting = {
2056
2197
  __typename?: 'OrderStorefrontRouting';
2057
2198
  /** It is the domain of the storefront routing. */
2058
2199
  domain?: Maybe<Scalars['String']>;
2200
+ dynamicCurrencySettings?: Maybe<OrderStorefrontRoutingDynamicCurrencySettings>;
2059
2201
  /** It is the storefront routing id used by the storefront when the order was created. */
2060
2202
  id: Scalars['String'];
2061
2203
  /** It is the locale of the storefront routing. */
@@ -2065,6 +2207,12 @@ export declare type OrderStorefrontRouting = {
2065
2207
  /** It is the price list id that associated on the storefront routing. */
2066
2208
  priceListId?: Maybe<Scalars['String']>;
2067
2209
  };
2210
+ export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
2211
+ __typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
2212
+ /** One of '.x0' | '.x9' | '.00' | '.90' | '.99' */
2213
+ roundingFormat?: Maybe<Scalars['String']>;
2214
+ targetCurrencyCode: Scalars['String'];
2215
+ };
2068
2216
  export declare type OrderStorefrontTheme = {
2069
2217
  __typename?: 'OrderStorefrontTheme';
2070
2218
  /** It is the theme id customized by the merchant used by the storefront when the order was created. */
@@ -2106,6 +2254,18 @@ export declare type PaginationInput = {
2106
2254
  */
2107
2255
  page?: InputMaybe<Scalars['Int']>;
2108
2256
  };
2257
+ export declare enum PaymentMethodEnum {
2258
+ APP_PAYMENT = "APP_PAYMENT",
2259
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
2260
+ CASH = "CASH",
2261
+ CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
2262
+ CREDIT_CARD = "CREDIT_CARD",
2263
+ CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
2264
+ GIFT_CARD = "GIFT_CARD",
2265
+ MONEY_ORDER = "MONEY_ORDER",
2266
+ OTHER = "OTHER",
2267
+ WALLET = "WALLET"
2268
+ }
2109
2269
  export declare enum PaymentMethodTypeEnum {
2110
2270
  APP_PAYMENT = "APP_PAYMENT",
2111
2271
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
@@ -2279,6 +2439,7 @@ export declare enum ProductAttributeTypeEnum {
2279
2439
  CHOICE = "CHOICE",
2280
2440
  DATETIME = "DATETIME",
2281
2441
  HTML = "HTML",
2442
+ IMAGE = "IMAGE",
2282
2443
  MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
2283
2444
  NUMERIC = "NUMERIC",
2284
2445
  PRODUCT = "PRODUCT",
@@ -2287,6 +2448,8 @@ export declare enum ProductAttributeTypeEnum {
2287
2448
  }
2288
2449
  export declare type ProductAttributeValue = {
2289
2450
  __typename?: 'ProductAttributeValue';
2451
+ /** Image ids of the product attribute */
2452
+ imageIds?: Maybe<Array<Scalars['String']>>;
2290
2453
  /** Identifier of the product attribute */
2291
2454
  productAttributeId?: Maybe<Scalars['String']>;
2292
2455
  /** Option identifier for the product attribute */
@@ -2295,6 +2458,7 @@ export declare type ProductAttributeValue = {
2295
2458
  value?: Maybe<Scalars['String']>;
2296
2459
  };
2297
2460
  export declare type ProductAttributeValueInput = {
2461
+ imageIds?: InputMaybe<Array<Scalars['String']>>;
2298
2462
  productAttributeId?: InputMaybe<Scalars['String']>;
2299
2463
  productAttributeOptionId?: InputMaybe<Scalars['String']>;
2300
2464
  value?: InputMaybe<Scalars['String']>;
@@ -2361,6 +2525,7 @@ export declare type ProductImage = {
2361
2525
  imageId?: Maybe<Scalars['String']>;
2362
2526
  /** Whether the image is main image for the product or not. */
2363
2527
  isMain: Scalars['Boolean'];
2528
+ /** True if this the media type is video */
2364
2529
  isVideo?: Maybe<Scalars['Boolean']>;
2365
2530
  /** Order of the product image. */
2366
2531
  order: Scalars['Float'];
@@ -2368,6 +2533,7 @@ export declare type ProductImage = {
2368
2533
  export declare type ProductImageInput = {
2369
2534
  imageId: Scalars['String'];
2370
2535
  isMain: Scalars['Boolean'];
2536
+ isVideo?: InputMaybe<Scalars['Boolean']>;
2371
2537
  order: Scalars['Float'];
2372
2538
  };
2373
2539
  export declare type ProductInput = {
@@ -2559,6 +2725,8 @@ export declare type ProductSearchResponse = {
2559
2725
  limit: Scalars['Float'];
2560
2726
  /** Current page number of the search results. */
2561
2727
  page: Scalars['Float'];
2728
+ /** Search result */
2729
+ results: Array<SearchProduct>;
2562
2730
  /** Total number of search results. */
2563
2731
  totalCount: Scalars['Float'];
2564
2732
  };
@@ -2764,14 +2932,12 @@ export declare type QuerylistCategoryArgs = {
2764
2932
  export declare type QuerylistCityArgs = {
2765
2933
  countryId?: InputMaybe<StringFilterInput>;
2766
2934
  id?: InputMaybe<StringFilterInput>;
2767
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2768
2935
  search?: InputMaybe<Scalars['String']>;
2769
2936
  stateId: StringFilterInput;
2770
2937
  updatedAt?: InputMaybe<DateFilterInput>;
2771
2938
  };
2772
2939
  export declare type QuerylistCountryArgs = {
2773
2940
  id?: InputMaybe<StringFilterInput>;
2774
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2775
2941
  iso2?: InputMaybe<StringFilterInput>;
2776
2942
  iso3?: InputMaybe<StringFilterInput>;
2777
2943
  search?: InputMaybe<Scalars['String']>;
@@ -2791,7 +2957,6 @@ export declare type QuerylistDistrictArgs = {
2791
2957
  cityId: StringFilterInput;
2792
2958
  countryId?: InputMaybe<StringFilterInput>;
2793
2959
  id?: InputMaybe<StringFilterInput>;
2794
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2795
2960
  search?: InputMaybe<Scalars['String']>;
2796
2961
  stateId?: InputMaybe<StringFilterInput>;
2797
2962
  updatedAt?: InputMaybe<DateFilterInput>;
@@ -2864,7 +3029,6 @@ export declare type QuerylistSalesChannelArgs = {
2864
3029
  export declare type QuerylistStateArgs = {
2865
3030
  countryId: StringFilterInput;
2866
3031
  id?: InputMaybe<StringFilterInput>;
2867
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2868
3032
  search?: InputMaybe<Scalars['String']>;
2869
3033
  updatedAt?: InputMaybe<DateFilterInput>;
2870
3034
  };
@@ -2882,7 +3046,6 @@ export declare type QuerylistStorefrontJSScriptArgs = {
2882
3046
  export declare type QuerylistTownArgs = {
2883
3047
  districtId: StringFilterInput;
2884
3048
  id?: InputMaybe<StringFilterInput>;
2885
- includeDeleted?: InputMaybe<Scalars['Boolean']>;
2886
3049
  search?: InputMaybe<Scalars['String']>;
2887
3050
  updatedAt?: InputMaybe<DateFilterInput>;
2888
3051
  };
@@ -2971,16 +3134,174 @@ export declare type SaveVariantPricesInput = {
2971
3134
  /** List of variants to be updated. Maximum 3000 entries allowed. */
2972
3135
  variantPriceInputs: Array<VariantPriceInput>;
2973
3136
  };
3137
+ export declare type SearchCategory = {
3138
+ __typename?: 'SearchCategory';
3139
+ id: Scalars['String'];
3140
+ name: Scalars['String'];
3141
+ path: Array<SearchCategoryPath>;
3142
+ slug?: Maybe<Scalars['String']>;
3143
+ translations?: Maybe<Array<CategoryTranslation>>;
3144
+ };
3145
+ export declare type SearchCategoryPath = {
3146
+ __typename?: 'SearchCategoryPath';
3147
+ id: Scalars['String'];
3148
+ name: Scalars['String'];
3149
+ slug?: Maybe<Scalars['String']>;
3150
+ translations?: Maybe<Array<CategoryTranslation>>;
3151
+ };
3152
+ export declare type SearchHTMLMetaData = {
3153
+ __typename?: 'SearchHTMLMetaData';
3154
+ description?: Maybe<Scalars['String']>;
3155
+ metadataOverrides?: Maybe<Array<SearchHTMLMetaDataOverride>>;
3156
+ pageTitle?: Maybe<Scalars['String']>;
3157
+ redirectTo?: Maybe<Scalars['String']>;
3158
+ slug: Scalars['String'];
3159
+ translations?: Maybe<Array<HTMLMetaDataTranslation>>;
3160
+ };
3161
+ export declare type SearchHTMLMetaDataOverride = {
3162
+ __typename?: 'SearchHTMLMetaDataOverride';
3163
+ description: Scalars['String'];
3164
+ language?: Maybe<Scalars['String']>;
3165
+ pageTitle: Scalars['String'];
3166
+ storefrontId?: Maybe<Scalars['String']>;
3167
+ storefrontRegionId?: Maybe<Scalars['String']>;
3168
+ };
2974
3169
  export declare type SearchInput = {
2975
- /** Barcode list search products. */
3170
+ /** List of barcodes to search. */
2976
3171
  barcodeList?: InputMaybe<Array<Scalars['String']>>;
2977
3172
  /** Pagination input */
2978
3173
  pagination?: InputMaybe<PaginationInput>;
3174
+ /** List of product ids to search. */
3175
+ productIdList?: InputMaybe<Array<Scalars['String']>>;
2979
3176
  /** Query string to search products. */
2980
3177
  query?: InputMaybe<Scalars['String']>;
2981
- /** SKU list search products. */
3178
+ /** List of SKUs to search. */
2982
3179
  skuList?: InputMaybe<Array<Scalars['String']>>;
2983
3180
  };
3181
+ export declare type SearchProduct = {
3182
+ __typename?: 'SearchProduct';
3183
+ attributes?: Maybe<Array<SearchProductAttributeValue>>;
3184
+ brand?: Maybe<SearchProductBrand>;
3185
+ categories?: Maybe<Array<SearchCategory>>;
3186
+ deleted?: Maybe<Scalars['Boolean']>;
3187
+ description?: Maybe<Scalars['String']>;
3188
+ groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
3189
+ id: Scalars['String'];
3190
+ metaData?: Maybe<SearchHTMLMetaData>;
3191
+ name: Scalars['String'];
3192
+ productOptionSetId?: Maybe<Scalars['String']>;
3193
+ productVariantTypes: Array<SearchProductVariantType>;
3194
+ salesChannelIds?: Maybe<Array<Scalars['String']>>;
3195
+ shortDescription?: Maybe<Scalars['String']>;
3196
+ tags?: Maybe<Array<SearchProductTag>>;
3197
+ translations?: Maybe<Array<ProductTranslation>>;
3198
+ type: Scalars['String'];
3199
+ variants: Array<SearchVariant>;
3200
+ weight?: Maybe<Scalars['Float']>;
3201
+ };
3202
+ export declare type SearchProductAttribute = {
3203
+ __typename?: 'SearchProductAttribute';
3204
+ id: Scalars['String'];
3205
+ name: Scalars['String'];
3206
+ tableTemplate?: Maybe<SearchProductAttributeTableTemplate>;
3207
+ translations?: Maybe<Array<ProductAttributeTranslation>>;
3208
+ type: Scalars['String'];
3209
+ };
3210
+ export declare type SearchProductAttributeOption = {
3211
+ __typename?: 'SearchProductAttributeOption';
3212
+ id: Scalars['String'];
3213
+ name: Scalars['String'];
3214
+ };
3215
+ export declare type SearchProductAttributeTableCellData = {
3216
+ __typename?: 'SearchProductAttributeTableCellData';
3217
+ id: Scalars['String'];
3218
+ name: Scalars['String'];
3219
+ };
3220
+ export declare type SearchProductAttributeTableTemplate = {
3221
+ __typename?: 'SearchProductAttributeTableTemplate';
3222
+ columns: Array<SearchProductAttributeTableCellData>;
3223
+ rows: Array<SearchProductAttributeTableCellData>;
3224
+ };
3225
+ export declare type SearchProductAttributeValue = {
3226
+ __typename?: 'SearchProductAttributeValue';
3227
+ productAttribute?: Maybe<SearchProductAttribute>;
3228
+ productAttributeOption?: Maybe<SearchProductAttributeOption>;
3229
+ value?: Maybe<Scalars['String']>;
3230
+ };
3231
+ export declare type SearchProductBrand = {
3232
+ __typename?: 'SearchProductBrand';
3233
+ id: Scalars['String'];
3234
+ name: Scalars['String'];
3235
+ slug?: Maybe<Scalars['String']>;
3236
+ translations?: Maybe<Array<ProductBrandTranslation>>;
3237
+ };
3238
+ export declare type SearchProductImage = {
3239
+ __typename?: 'SearchProductImage';
3240
+ id: Scalars['String'];
3241
+ isMain?: Maybe<Scalars['Boolean']>;
3242
+ isVideo?: Maybe<Scalars['Boolean']>;
3243
+ order: Scalars['Float'];
3244
+ };
3245
+ export declare type SearchProductPrice = {
3246
+ __typename?: 'SearchProductPrice';
3247
+ buyPrice?: Maybe<Scalars['Float']>;
3248
+ currency?: Maybe<Scalars['String']>;
3249
+ discountPrice?: Maybe<Scalars['Float']>;
3250
+ priceListId?: Maybe<Scalars['String']>;
3251
+ sellPrice: Scalars['Float'];
3252
+ };
3253
+ export declare type SearchProductStockLocation = {
3254
+ __typename?: 'SearchProductStockLocation';
3255
+ stockCount: Scalars['Float'];
3256
+ stockLocationId: Scalars['String'];
3257
+ };
3258
+ export declare type SearchProductTag = {
3259
+ __typename?: 'SearchProductTag';
3260
+ id: Scalars['String'];
3261
+ name: Scalars['String'];
3262
+ translations?: Maybe<Array<ProductTagTranslation>>;
3263
+ };
3264
+ export declare type SearchProductVariantType = {
3265
+ __typename?: 'SearchProductVariantType';
3266
+ order: Scalars['Float'];
3267
+ variantType: SearchVariantType;
3268
+ variantValueIds: Array<Scalars['String']>;
3269
+ };
3270
+ export declare type SearchVariant = {
3271
+ __typename?: 'SearchVariant';
3272
+ attributes?: Maybe<Array<SearchProductAttributeValue>>;
3273
+ barcodeList?: Maybe<Array<Scalars['String']>>;
3274
+ deleted?: Maybe<Scalars['Boolean']>;
3275
+ id: Scalars['String'];
3276
+ images?: Maybe<Array<SearchProductImage>>;
3277
+ isActive?: Maybe<Scalars['Boolean']>;
3278
+ prices?: Maybe<Array<SearchProductPrice>>;
3279
+ sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
3280
+ sku?: Maybe<Scalars['String']>;
3281
+ stocks?: Maybe<Array<SearchProductStockLocation>>;
3282
+ variantValues?: Maybe<Array<SearchVariationValueRelation>>;
3283
+ weight?: Maybe<Scalars['Float']>;
3284
+ };
3285
+ export declare type SearchVariantType = {
3286
+ __typename?: 'SearchVariantType';
3287
+ id: Scalars['String'];
3288
+ name: Scalars['String'];
3289
+ selectionType: Scalars['String'];
3290
+ translations?: Maybe<Array<VariantTypeTranslation>>;
3291
+ values: Array<SearchVariantValue>;
3292
+ };
3293
+ export declare type SearchVariantValue = {
3294
+ __typename?: 'SearchVariantValue';
3295
+ colorCode?: Maybe<Scalars['String']>;
3296
+ id: Scalars['String'];
3297
+ name: Scalars['String'];
3298
+ thumbnailImageId?: Maybe<Scalars['String']>;
3299
+ };
3300
+ export declare type SearchVariationValueRelation = {
3301
+ __typename?: 'SearchVariationValueRelation';
3302
+ variantTypeId: Scalars['String'];
3303
+ variantValueId: Scalars['String'];
3304
+ };
2984
3305
  /** Shipping Method Enum */
2985
3306
  export declare enum ShippingMethodEnum {
2986
3307
  CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
@@ -3162,7 +3483,7 @@ export declare type StorefrontJSScriptInput = {
3162
3483
  storefrontId: Scalars['String'];
3163
3484
  };
3164
3485
  export declare type StringFilterInput = {
3165
- /** `equal`. The filter used for equality. */
3486
+ /** `equal`. The filter used for equality. */
3166
3487
  eq?: InputMaybe<Scalars['String']>;
3167
3488
  /** Returns a boolean indicating whether a specified value is in an array. */
3168
3489
  in?: InputMaybe<Array<Scalars['String']>>;
@@ -3174,6 +3495,10 @@ export declare type StringFilterInput = {
3174
3495
  * :::
3175
3496
  */
3176
3497
  like?: InputMaybe<Scalars['String']>;
3498
+ /** `not equal`. The filter used for not equality. */
3499
+ ne?: InputMaybe<Scalars['String']>;
3500
+ /** Returns a boolean indicating whether a specified value is not in an array. */
3501
+ nin?: InputMaybe<Array<Scalars['String']>>;
3177
3502
  };
3178
3503
  export declare enum SubscriptionCodeEnum {
3179
3504
  CUSTOM = "CUSTOM",