@ikas/api-client 1.0.14 → 1.0.17

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.
@@ -448,6 +448,7 @@ export declare enum CategoryConditionTypeEnum {
448
448
  export declare type CategoryFilterInput = {
449
449
  eq?: InputMaybe<Scalars['String']>;
450
450
  in?: InputMaybe<Array<Scalars['String']>>;
451
+ nin?: InputMaybe<Array<Scalars['String']>>;
451
452
  };
452
453
  export declare type CategoryInput = {
453
454
  conditions?: InputMaybe<Array<CategoryConditionInput>>;
@@ -560,6 +561,8 @@ export declare type Country = {
560
561
  createdAt?: Maybe<Scalars['Timestamp']>;
561
562
  /** Indicates the currency of the county. */
562
563
  currency?: Maybe<Scalars['String']>;
564
+ currencyCode?: Maybe<Scalars['String']>;
565
+ currencySymbol?: Maybe<Scalars['String']>;
563
566
  deleted?: Maybe<Scalars['Boolean']>;
564
567
  /** Indicates the flag emoji of the county. */
565
568
  emoji?: Maybe<Scalars['String']>;
@@ -584,6 +587,10 @@ export declare type Country = {
584
587
  subregion?: Maybe<Scalars['String']>;
585
588
  updatedAt?: Maybe<Scalars['Timestamp']>;
586
589
  };
590
+ export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
591
+ /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
592
+ storeAppListingSubscriptionKey: Scalars['String'];
593
+ };
587
594
  export declare type CreateOrderInput = {
588
595
  /** It is the address to which the order will be billing. */
589
596
  billingAddress?: InputMaybe<OrderAddressInput>;
@@ -880,6 +887,15 @@ export declare type GetVideoUploadURLResponse = {
880
887
  /** Upload url for the specified video. */
881
888
  url: Scalars['String'];
882
889
  };
890
+ export declare type GlobalTaxSettings = {
891
+ __typename?: 'GlobalTaxSettings';
892
+ createdAt?: Maybe<Scalars['Timestamp']>;
893
+ deleted?: Maybe<Scalars['Boolean']>;
894
+ id: Scalars['ID'];
895
+ isTaxExcludedOnPrices: Scalars['Boolean'];
896
+ isTaxExcludedOnShippingPrices: Scalars['Boolean'];
897
+ updatedAt?: Maybe<Scalars['Timestamp']>;
898
+ };
883
899
  export declare type HTMLMetaData = {
884
900
  __typename?: 'HTMLMetaData';
885
901
  /** Canonical URL list of entity. */
@@ -994,6 +1010,7 @@ export declare type Language = {
994
1010
  };
995
1011
  export declare type LocationTranslations = {
996
1012
  __typename?: 'LocationTranslations';
1013
+ de?: Maybe<Scalars['String']>;
997
1014
  en: Scalars['String'];
998
1015
  tr: Scalars['String'];
999
1016
  };
@@ -1076,7 +1093,7 @@ export declare type MerchantAddressState = {
1076
1093
  export declare type MerchantAppPayment = {
1077
1094
  __typename?: 'MerchantAppPayment';
1078
1095
  /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
1079
- appPaymentKey: Scalars['String'];
1096
+ appPaymentKey?: Maybe<Scalars['String']>;
1080
1097
  /** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
1081
1098
  authorizedAppId?: Maybe<Scalars['String']>;
1082
1099
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -1093,17 +1110,16 @@ export declare type MerchantAppPayment = {
1093
1110
  status: MerchantAppPaymentStatusEnum;
1094
1111
  /** The id of the application for which payment will be created in the store */
1095
1112
  storeAppId: Scalars['String'];
1113
+ storeAppListingSubscriptionId?: Maybe<Scalars['String']>;
1114
+ storeAppListingSubscriptionKey?: Maybe<Scalars['String']>;
1096
1115
  type: MerchantAppPaymentTypeEnum;
1097
1116
  updatedAt?: Maybe<Scalars['Timestamp']>;
1098
1117
  };
1099
1118
  export declare type MerchantAppPaymentInput = {
1100
- /** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
1101
- appPaymentKey: Scalars['String'];
1102
1119
  /** The created merchant app keeps the name of the payment. */
1103
1120
  name: Scalars['String'];
1104
- /** Merchant app payment pricing description. */
1105
- prices: Array<MerchantAppPaymentPriceInput>;
1106
- type: MerchantAppPaymentTypeEnum;
1121
+ /** The area where the price information of the product is kept. Input array can be sent a minimum of one element and a maximum of 2 elements. */
1122
+ price: Scalars['Float'];
1107
1123
  };
1108
1124
  export declare type MerchantAppPaymentPaginationResponse = {
1109
1125
  __typename?: 'MerchantAppPaymentPaginationResponse';
@@ -1140,11 +1156,6 @@ export declare type MerchantAppPaymentPrice = {
1140
1156
  /** The area where the price information of the product is kept. Here, one-time, monthly or annual payments can be made and the information is kept in this way. */
1141
1157
  price: Scalars['Float'];
1142
1158
  };
1143
- export declare type MerchantAppPaymentPriceInput = {
1144
- period: SubscriptionPeriodEnum;
1145
- /** The area where the price information of the product is kept. Input array can be sent a minimum of one element and a maximum of 2 elements. */
1146
- price: Scalars['Float'];
1147
- };
1148
1159
  export declare enum MerchantAppPaymentStatusEnum {
1149
1160
  PAID = "PAID",
1150
1161
  PAYMENT_FAILED = "PAYMENT_FAILED",
@@ -1159,11 +1170,13 @@ export declare type MerchantAppSubscription = {
1159
1170
  /** The date the app licence was added. */
1160
1171
  addedDate?: Maybe<Scalars['Timestamp']>;
1161
1172
  /** It is the information of which type of app license is obtained. */
1162
- appPaymentKey: Scalars['String'];
1173
+ appPaymentKey?: Maybe<Scalars['String']>;
1163
1174
  /** The id of the app that generated the app payment. Actually, the id of the app for which merchant app payment was created. */
1164
1175
  authorizedAppId?: Maybe<Scalars['String']>;
1165
1176
  createdAt?: Maybe<Scalars['Timestamp']>;
1166
1177
  currency?: Maybe<SubscriptionPriceCurrencyEnum>;
1178
+ currencyCode?: Maybe<Scalars['String']>;
1179
+ currencySymbol?: Maybe<Scalars['String']>;
1167
1180
  deleted?: Maybe<Scalars['Boolean']>;
1168
1181
  id: Scalars['ID'];
1169
1182
  /** It is the date of receipt of the last payment for the license subscription. */
@@ -1177,12 +1190,14 @@ export declare type MerchantAppSubscription = {
1177
1190
  lastPaymentPrice: Scalars['Float'];
1178
1191
  /** It is the price information including KDV, for which the last payment is made for the app license subscription. */
1179
1192
  lastPaymentPriceWithTax: Scalars['Float'];
1180
- merchantAppPaymentId: Scalars['String'];
1193
+ merchantAppPaymentId?: Maybe<Scalars['String']>;
1181
1194
  /** The name of the created application license is the information. */
1182
1195
  name: Scalars['String'];
1183
1196
  status: MerchantSubscriptionStatusEnum;
1184
1197
  /** The id of the application to be licensed in the store */
1185
1198
  storeAppId: Scalars['String'];
1199
+ storeAppListingSubscriptionId: Scalars['String'];
1200
+ storeAppListingSubscriptionKey: Scalars['String'];
1186
1201
  updatedAt?: Maybe<Scalars['Timestamp']>;
1187
1202
  };
1188
1203
  export declare type MerchantLicence = {
@@ -1196,6 +1211,7 @@ export declare type MerchantLicence = {
1196
1211
  /** It is the field where private subscription information is kept. */
1197
1212
  customSubscriptionIds?: Maybe<Array<Scalars['String']>>;
1198
1213
  deleted?: Maybe<Scalars['Boolean']>;
1214
+ developmentStore?: Maybe<Scalars['Boolean']>;
1199
1215
  /** It is the information of the start date of the license. */
1200
1216
  fromDate?: Maybe<Scalars['Timestamp']>;
1201
1217
  id: Scalars['ID'];
@@ -1237,6 +1253,7 @@ export declare enum MerchantLimitCodeEnum {
1237
1253
  LOCALIZATION_ROUTING_SUPPORT = "LOCALIZATION_ROUTING_SUPPORT",
1238
1254
  OMNI_CHANNEL_SUPPORT = "OMNI_CHANNEL_SUPPORT",
1239
1255
  PAYMENT_GATEWAY_RATE = "PAYMENT_GATEWAY_RATE",
1256
+ PAYMENT_GATEWAY_RESTRICTION = "PAYMENT_GATEWAY_RESTRICTION",
1240
1257
  PRICE_LISTS_SUPPORT = "PRICE_LISTS_SUPPORT",
1241
1258
  PRODUCT_LIMIT = "PRODUCT_LIMIT",
1242
1259
  PRODUCT_SUBSCRIPTIONS_SUPPORT = "PRODUCT_SUBSCRIPTIONS_SUPPORT",
@@ -1286,6 +1303,8 @@ export declare type MerchantSubscription = {
1286
1303
  code: SubscriptionCodeEnum;
1287
1304
  createdAt?: Maybe<Scalars['Timestamp']>;
1288
1305
  currency?: Maybe<SubscriptionPriceCurrencyEnum>;
1306
+ currencyCode?: Maybe<Scalars['String']>;
1307
+ currencySymbol?: Maybe<Scalars['String']>;
1289
1308
  deleted?: Maybe<Scalars['Boolean']>;
1290
1309
  id: Scalars['ID'];
1291
1310
  /** It is the date of receipt of the last payment for the license subscription. */
@@ -1328,6 +1347,8 @@ export declare type Mutation = {
1328
1347
  cancelOrderLine: Order;
1329
1348
  /** Using this api, you can add payment features to a merchant app. */
1330
1349
  createMerchantAppPayment: MerchantAppPayment;
1350
+ /** Using this api, you can add payment features to a merchant app with app subscription id. */
1351
+ createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
1331
1352
  /** Use this mutation if you want to create a new order with transactions. */
1332
1353
  createOrderWithTransactions: Order;
1333
1354
  /** Using this api, you can delete the categories of products. */
@@ -1340,6 +1361,8 @@ export declare type Mutation = {
1340
1361
  deleteProductList: Scalars['Boolean'];
1341
1362
  /** Using this api, you can delete the tags of products. */
1342
1363
  deleteProductTagList: Scalars['Boolean'];
1364
+ /** Using this api, you can delete the units of products. */
1365
+ deleteProductUnitList: Scalars['Boolean'];
1343
1366
  /** Using this api, you can delete javascript script from a the storefront. */
1344
1367
  deleteStorefrontJSScript: Scalars['Boolean'];
1345
1368
  /** Using this api, you can delete the variant types of products. */
@@ -1350,6 +1373,8 @@ export declare type Mutation = {
1350
1373
  deleteWebhook: Scalars['Boolean'];
1351
1374
  /** Use this mutation to fulfill order line items. */
1352
1375
  fulfillOrder: Order;
1376
+ /** Using this api, you can collect demo day. */
1377
+ getAppDemoDay?: Maybe<Scalars['Float']>;
1353
1378
  productAttributeImport: CSVImportResponse;
1354
1379
  /** Use this mutation to refund given order lines. */
1355
1380
  refundOrderLine: Order;
@@ -1365,6 +1390,8 @@ export declare type Mutation = {
1365
1390
  saveProductStockLocations: Scalars['Boolean'];
1366
1391
  /** Using this api, you can update the tags of products. */
1367
1392
  saveProductTag: ProductTag;
1393
+ /** Using this api, you can update the units of products. */
1394
+ saveProductUnit: ProductUnit;
1368
1395
  /** Using this api you can update the sales channel name, priceList Id and stockLocations properties. */
1369
1396
  saveSalesChannel?: Maybe<SalesChannel>;
1370
1397
  /** Using this api, you can save javascript script to a the storefront. */
@@ -1407,6 +1434,9 @@ export declare type MutationcancelOrderLineArgs = {
1407
1434
  export declare type MutationcreateMerchantAppPaymentArgs = {
1408
1435
  input: MerchantAppPaymentInput;
1409
1436
  };
1437
+ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
1438
+ input: CreateMerchantAppPaymentWithSubscriptionInput;
1439
+ };
1410
1440
  export declare type MutationcreateOrderWithTransactionsArgs = {
1411
1441
  input: CreateOrderWithTransactionsInput;
1412
1442
  };
@@ -1425,6 +1455,9 @@ export declare type MutationdeleteProductListArgs = {
1425
1455
  export declare type MutationdeleteProductTagListArgs = {
1426
1456
  idList: Array<Scalars['String']>;
1427
1457
  };
1458
+ export declare type MutationdeleteProductUnitListArgs = {
1459
+ idList: Array<Scalars['String']>;
1460
+ };
1428
1461
  export declare type MutationdeleteStorefrontJSScriptArgs = {
1429
1462
  storefrontIdList: Array<Scalars['String']>;
1430
1463
  };
@@ -1440,6 +1473,9 @@ export declare type MutationdeleteWebhookArgs = {
1440
1473
  export declare type MutationfulfillOrderArgs = {
1441
1474
  input: FulFillOrderInput;
1442
1475
  };
1476
+ export declare type MutationgetAppDemoDayArgs = {
1477
+ input: CreateMerchantAppPaymentWithSubscriptionInput;
1478
+ };
1443
1479
  export declare type MutationproductAttributeImportArgs = {
1444
1480
  file: Scalars['String'];
1445
1481
  };
@@ -1464,6 +1500,9 @@ export declare type MutationsaveProductStockLocationsArgs = {
1464
1500
  export declare type MutationsaveProductTagArgs = {
1465
1501
  input: ProductTagInput;
1466
1502
  };
1503
+ export declare type MutationsaveProductUnitArgs = {
1504
+ input: ProductUnitInput;
1505
+ };
1467
1506
  export declare type MutationsaveSalesChannelArgs = {
1468
1507
  input: SalesChannelInput;
1469
1508
  };
@@ -1525,6 +1564,7 @@ export declare type Order = {
1525
1564
  currencyCode: Scalars['String'];
1526
1565
  /** A list of currency rate objects. */
1527
1566
  currencyRates: Array<OrderCurrencyRate>;
1567
+ currencySymbol?: Maybe<Scalars['String']>;
1528
1568
  /** 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. */
1529
1569
  customer?: Maybe<OrderCustomer>;
1530
1570
  customerId?: Maybe<Scalars['String']>;
@@ -1846,6 +1886,15 @@ export declare type OrderGiftPackageLine = {
1846
1886
  /** It is the tax value of the order gift package line price. */
1847
1887
  taxValue?: Maybe<Scalars['Float']>;
1848
1888
  };
1889
+ export declare type OrderLineBaseUnit = {
1890
+ __typename?: 'OrderLineBaseUnit';
1891
+ /** It is the amount of the unit. */
1892
+ baseAmount: Scalars['Float'];
1893
+ /** It is the type of the unit of the variant. */
1894
+ type: ProductUnitTypeEnum;
1895
+ /** It is the amount of the unit. */
1896
+ unit?: Maybe<OrderLineVariantUnitType>;
1897
+ };
1849
1898
  export declare type OrderLineDiscount = {
1850
1899
  __typename?: 'OrderLineDiscount';
1851
1900
  amount: Scalars['Float'];
@@ -1869,6 +1918,7 @@ export declare type OrderLineItem = {
1869
1918
  createdAt?: Maybe<Scalars['Timestamp']>;
1870
1919
  /** It is the currency code of the order line item. */
1871
1920
  currencyCode?: Maybe<Scalars['String']>;
1921
+ currencySymbol?: Maybe<Scalars['String']>;
1872
1922
  deleted?: Maybe<Scalars['Boolean']>;
1873
1923
  /** Information about the discount. Shows the details of the discount applied to the order line item. */
1874
1924
  discount?: Maybe<OrderLineDiscount>;
@@ -1876,6 +1926,8 @@ export declare type OrderLineItem = {
1876
1926
  discountPrice?: Maybe<Scalars['Float']>;
1877
1927
  /** It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price. */
1878
1928
  finalPrice?: Maybe<Scalars['Float']>;
1929
+ /** It is the unit price of the order line item. */
1930
+ finalUnitPrice?: Maybe<Scalars['Float']>;
1879
1931
  id: Scalars['ID'];
1880
1932
  /** It is the option information of the variant value in the order line item. */
1881
1933
  options?: Maybe<Array<OrderLineOption>>;
@@ -1893,6 +1945,8 @@ export declare type OrderLineItem = {
1893
1945
  stockLocationId?: Maybe<Scalars['String']>;
1894
1946
  /** It is the tax value of the order line item. */
1895
1947
  taxValue?: Maybe<Scalars['Float']>;
1948
+ /** It is the unit price of the order line item. */
1949
+ unitPrice?: Maybe<Scalars['Float']>;
1896
1950
  updatedAt?: Maybe<Scalars['Timestamp']>;
1897
1951
  /** Information about the variant of the order line item. */
1898
1952
  variant: OrderLineVariant;
@@ -1968,6 +2022,8 @@ export declare type OrderLineVariant = {
1968
2022
  /** It is the barcode list of the variant. */
1969
2023
  barcodeList?: Maybe<Array<Scalars['String']>>;
1970
2024
  /** Information about the brand of variant. */
2025
+ baseUnit?: Maybe<OrderLineBaseUnit>;
2026
+ /** Information about the brand of variant. */
1971
2027
  brand?: Maybe<OrderLineVariantBrand>;
1972
2028
  /** A list of category objects, each containing information about a category in the variant. */
1973
2029
  categories?: Maybe<Array<OrderLineVariantCategory>>;
@@ -1993,6 +2049,8 @@ export declare type OrderLineVariant = {
1993
2049
  */
1994
2050
  taxValue?: Maybe<Scalars['Float']>;
1995
2051
  type?: Maybe<Scalars['Float']>;
2052
+ /** Information about the brand of variant. */
2053
+ unit?: Maybe<OrderLineVariantUnit>;
1996
2054
  /** It is the variant values of the variant. */
1997
2055
  variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
1998
2056
  weight?: Maybe<Scalars['Float']>;
@@ -2035,12 +2093,29 @@ export declare type OrderLineVariantPrice = {
2035
2093
  buyPrice?: Maybe<Scalars['Float']>;
2036
2094
  /** It is the currency code of variant. */
2037
2095
  currency?: Maybe<Scalars['String']>;
2096
+ currencySymbol?: Maybe<Scalars['String']>;
2038
2097
  /** It is the discount price of variant. */
2039
2098
  discountPrice?: Maybe<Scalars['Float']>;
2040
2099
  /** It is the id of the price list to which the variant is associated. */
2041
2100
  priceListId?: Maybe<Scalars['String']>;
2042
2101
  /** It is the sell price of variant. */
2043
2102
  sellPrice: Scalars['Float'];
2103
+ /** It is the unit price of variant. */
2104
+ unitPrice?: Maybe<Scalars['Float']>;
2105
+ };
2106
+ export declare type OrderLineVariantUnit = {
2107
+ __typename?: 'OrderLineVariantUnit';
2108
+ /** It is the amount of the unit. */
2109
+ amount: Scalars['Float'];
2110
+ /** It is the type of the unit of the variant. */
2111
+ type: ProductUnitTypeEnum;
2112
+ };
2113
+ export declare type OrderLineVariantUnitType = {
2114
+ __typename?: 'OrderLineVariantUnitType';
2115
+ /** It is the id of the category of the variant. */
2116
+ id: Scalars['String'];
2117
+ /** It is the amount of the unit. */
2118
+ name: Scalars['String'];
2044
2119
  };
2045
2120
  export declare type OrderLineVariantVariantValues = {
2046
2121
  __typename?: 'OrderLineVariantVariantValues';
@@ -2101,6 +2176,7 @@ export declare enum OrderPackageStatusEnum {
2101
2176
  PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
2102
2177
  PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
2103
2178
  PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
2179
+ PARTIALLY_READY_FOR_SHIPMENT = "PARTIALLY_READY_FOR_SHIPMENT",
2104
2180
  PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
2105
2181
  READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
2106
2182
  READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
@@ -2115,11 +2191,11 @@ export declare type OrderPackageStatusEnumInputFilter = {
2115
2191
  /** `equal`. The filter used for equality. */
2116
2192
  eq?: InputMaybe<OrderPackageStatusEnum>;
2117
2193
  /** Returns a boolean indicating whether a specified value is in an array. */
2118
- in?: InputMaybe<Array<OrderPackageStatusEnum>>;
2194
+ in?: InputMaybe<Array<InputMaybe<OrderPackageStatusEnum>>>;
2119
2195
  /** `not equal`. The filter used for not equality. */
2120
2196
  ne?: InputMaybe<OrderPackageStatusEnum>;
2121
2197
  /** Returns a boolean indicating whether a specified value is not in an array. */
2122
- nin?: InputMaybe<Array<OrderPackageStatusEnum>>;
2198
+ nin?: InputMaybe<Array<InputMaybe<OrderPackageStatusEnum>>>;
2123
2199
  };
2124
2200
  export declare type OrderPaginationResponse = {
2125
2201
  __typename?: 'OrderPaginationResponse';
@@ -2173,11 +2249,11 @@ export declare type OrderPaymentStatusEnumInputFilter = {
2173
2249
  /** `equal`. The filter used for equality. */
2174
2250
  eq?: InputMaybe<OrderPaymentStatusEnum>;
2175
2251
  /** Returns a boolean indicating whether a specified value is in an array. */
2176
- in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2252
+ in?: InputMaybe<Array<InputMaybe<OrderPaymentStatusEnum>>>;
2177
2253
  /** `not equal`. The filter used for not equality. */
2178
2254
  ne?: InputMaybe<OrderPaymentStatusEnum>;
2179
2255
  /** Returns a boolean indicating whether a specified value is not in an array. */
2180
- nin?: InputMaybe<Array<OrderPaymentStatusEnum>>;
2256
+ nin?: InputMaybe<Array<InputMaybe<OrderPaymentStatusEnum>>>;
2181
2257
  };
2182
2258
  export declare type OrderPriceList = {
2183
2259
  __typename?: 'OrderPriceList';
@@ -2296,11 +2372,11 @@ export declare type OrderStatusEnumInputFilter = {
2296
2372
  /** `equal`. The filter used for equality. */
2297
2373
  eq?: InputMaybe<OrderStatusEnum>;
2298
2374
  /** Returns a boolean indicating whether a specified value is in an array. */
2299
- in?: InputMaybe<Array<OrderStatusEnum>>;
2375
+ in?: InputMaybe<Array<InputMaybe<OrderStatusEnum>>>;
2300
2376
  /** `not equal`. The filter used for not equality. */
2301
2377
  ne?: InputMaybe<OrderStatusEnum>;
2302
2378
  /** Returns a boolean indicating whether a specified value is not in an array. */
2303
- nin?: InputMaybe<Array<OrderStatusEnum>>;
2379
+ nin?: InputMaybe<Array<InputMaybe<OrderStatusEnum>>>;
2304
2380
  };
2305
2381
  export declare type OrderStockLocation = {
2306
2382
  __typename?: 'OrderStockLocation';
@@ -2406,6 +2482,8 @@ export declare type PriceList = {
2406
2482
  createdAt?: Maybe<Scalars['Timestamp']>;
2407
2483
  /** The currency of the product's price list. */
2408
2484
  currency: Scalars['String'];
2485
+ currencyCode?: Maybe<Scalars['String']>;
2486
+ currencySymbol?: Maybe<Scalars['String']>;
2409
2487
  deleted?: Maybe<Scalars['Boolean']>;
2410
2488
  id: Scalars['ID'];
2411
2489
  /** It is the name of the price list of the product. */
@@ -2416,6 +2494,8 @@ export declare type Product = {
2416
2494
  __typename?: 'Product';
2417
2495
  /** List of product attributes. */
2418
2496
  attributes?: Maybe<Array<ProductAttributeValue>>;
2497
+ /** Translations for the product. */
2498
+ baseUnit?: Maybe<ProductBaseUnitModel>;
2419
2499
  /** Brand of the product. */
2420
2500
  brand?: Maybe<SimpleProductBrand>;
2421
2501
  /** Brand id of the product. */
@@ -2428,6 +2508,7 @@ export declare type Product = {
2428
2508
  deleted?: Maybe<Scalars['Boolean']>;
2429
2509
  /** Description of the product. */
2430
2510
  description?: Maybe<Scalars['String']>;
2511
+ googleTaxonomyId?: Maybe<Scalars['String']>;
2431
2512
  /** This is the variant type id that can be used to group variants by a specific variant type id. */
2432
2513
  groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
2433
2514
  id: Scalars['ID'];
@@ -2586,6 +2667,20 @@ export declare type ProductAttributeValueInput = {
2586
2667
  productAttributeOptionId?: InputMaybe<Scalars['String']>;
2587
2668
  value?: InputMaybe<Scalars['String']>;
2588
2669
  };
2670
+ export declare type ProductBaseUnitModel = {
2671
+ __typename?: 'ProductBaseUnitModel';
2672
+ /** Amount of the product unit. */
2673
+ baseAmount?: Maybe<Scalars['Float']>;
2674
+ /** Type of the product unit. */
2675
+ type: ProductUnitTypeEnum;
2676
+ /** Unit id of the product unit. */
2677
+ unitId?: Maybe<Scalars['String']>;
2678
+ };
2679
+ export declare type ProductBaseUnitModelInput = {
2680
+ baseAmount: Scalars['Float'];
2681
+ type: ProductUnitTypeEnum;
2682
+ unitId?: InputMaybe<Scalars['String']>;
2683
+ };
2589
2684
  export declare type ProductBrand = {
2590
2685
  __typename?: 'ProductBrand';
2591
2686
  createdAt?: Maybe<Scalars['Timestamp']>;
@@ -2661,11 +2756,13 @@ export declare type ProductImageInput = {
2661
2756
  };
2662
2757
  export declare type ProductInput = {
2663
2758
  attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
2759
+ baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
2664
2760
  brandId?: InputMaybe<Scalars['String']>;
2665
2761
  categoryIds?: InputMaybe<Array<Scalars['String']>>;
2666
2762
  createdAt?: InputMaybe<Scalars['Timestamp']>;
2667
2763
  deleted?: InputMaybe<Scalars['Boolean']>;
2668
2764
  description?: InputMaybe<Scalars['String']>;
2765
+ googleTaxonomyId?: InputMaybe<Scalars['String']>;
2669
2766
  groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
2670
2767
  id?: InputMaybe<Scalars['ID']>;
2671
2768
  /** Max purchasable quantity of the product for per cart. */
@@ -2745,6 +2842,7 @@ export declare type ProductOptionSelectValue = {
2745
2842
  export declare type ProductOptionSelectValueOtherPrice = {
2746
2843
  __typename?: 'ProductOptionSelectValueOtherPrice';
2747
2844
  currencyCode: Scalars['String'];
2845
+ currencySymbol?: Maybe<Scalars['String']>;
2748
2846
  price: Scalars['Float'];
2749
2847
  };
2750
2848
  export declare type ProductOptionSelectValueTranslations = {
@@ -2824,6 +2922,8 @@ export declare type ProductPrice = {
2824
2922
  buyPrice?: Maybe<Scalars['Float']>;
2825
2923
  /** Currency for the price of product. */
2826
2924
  currency?: Maybe<Scalars['String']>;
2925
+ currencyCode?: Maybe<Scalars['String']>;
2926
+ currencySymbol?: Maybe<Scalars['String']>;
2827
2927
  /** Discount price of product. */
2828
2928
  discountPrice?: Maybe<Scalars['Float']>;
2829
2929
  /** Id of the price list that the product belongs to. */
@@ -2965,6 +3065,58 @@ export declare enum ProductTypeEnum {
2965
3065
  MEMBERSHIP = "MEMBERSHIP",
2966
3066
  PHYSICAL = "PHYSICAL"
2967
3067
  }
3068
+ export declare type ProductUnit = {
3069
+ __typename?: 'ProductUnit';
3070
+ createdAt?: Maybe<Scalars['Timestamp']>;
3071
+ deleted?: Maybe<Scalars['Boolean']>;
3072
+ id: Scalars['ID'];
3073
+ /** The name of the product's unit. */
3074
+ name: Scalars['String'];
3075
+ /** The name of the product's unit. */
3076
+ translations?: Maybe<Array<ProductUnitTranslation>>;
3077
+ updatedAt?: Maybe<Scalars['Timestamp']>;
3078
+ };
3079
+ export declare type ProductUnitInput = {
3080
+ createdAt?: InputMaybe<Scalars['Timestamp']>;
3081
+ deleted?: InputMaybe<Scalars['Boolean']>;
3082
+ id?: InputMaybe<Scalars['ID']>;
3083
+ /** The name of the product's unit. */
3084
+ name: Scalars['String'];
3085
+ /** The name of the product's unit. */
3086
+ translations?: InputMaybe<Array<ProductUnitTranslationInput>>;
3087
+ updatedAt?: InputMaybe<Scalars['Timestamp']>;
3088
+ };
3089
+ export declare type ProductUnitTranslation = {
3090
+ __typename?: 'ProductUnitTranslation';
3091
+ /** It is the description information of the translation. */
3092
+ description?: Maybe<Scalars['String']>;
3093
+ /** It is the name information of the translation. */
3094
+ locale: Scalars['String'];
3095
+ /** It is the information in which language the translation is saved. */
3096
+ name?: Maybe<Scalars['String']>;
3097
+ };
3098
+ export declare type ProductUnitTranslationInput = {
3099
+ /** It is the description information of the translation. */
3100
+ description?: InputMaybe<Scalars['String']>;
3101
+ /** It is the name information of the translation. */
3102
+ locale: Scalars['String'];
3103
+ /** It is the information in which language the translation is saved. */
3104
+ name?: InputMaybe<Scalars['String']>;
3105
+ };
3106
+ export declare enum ProductUnitTypeEnum {
3107
+ CENTILITER = "CENTILITER",
3108
+ CENTIMETER = "CENTIMETER",
3109
+ CUBIC_METERS = "CUBIC_METERS",
3110
+ CUSTOM = "CUSTOM",
3111
+ GRAM = "GRAM",
3112
+ KILOGRAM = "KILOGRAM",
3113
+ LITER = "LITER",
3114
+ METER = "METER",
3115
+ MILLIGRAM = "MILLIGRAM",
3116
+ MILLILITER = "MILLILITER",
3117
+ MILLIMETER = "MILLIMETER",
3118
+ SQUARE_METERS = "SQUARE_METERS"
3119
+ }
2968
3120
  export declare type ProductVariantType = {
2969
3121
  __typename?: 'ProductVariantType';
2970
3122
  /** Order of the variant type. */
@@ -2986,6 +3138,7 @@ export declare type PublicTransaction = {
2986
3138
  checkoutId?: Maybe<Scalars['String']>;
2987
3139
  createdAt?: Maybe<Scalars['Timestamp']>;
2988
3140
  currencyCode: Scalars['String'];
3141
+ currencySymbol?: Maybe<Scalars['String']>;
2989
3142
  customerId?: Maybe<Scalars['String']>;
2990
3143
  deleted?: Maybe<Scalars['Boolean']>;
2991
3144
  error?: Maybe<TransactionError>;
@@ -3006,6 +3159,8 @@ export declare type Query = {
3006
3159
  __typename?: 'Query';
3007
3160
  /** By using this api you can get properties of merchant and merchant staff. */
3008
3161
  getAuthorizedApp?: Maybe<AuthorizedApp>;
3162
+ /** Use this mutation to get global settings. */
3163
+ getGlobalTaxSettings?: Maybe<GlobalTaxSettings>;
3009
3164
  /** Upload url for the specified image. */
3010
3165
  getImageUploadUrl: Scalars['String'];
3011
3166
  getImportJobData: GetImportJobDataResponse;
@@ -3047,6 +3202,8 @@ export declare type Query = {
3047
3202
  listProductStockLocation: ProductStockLocationPaginationResponse;
3048
3203
  /** Using this api, you can view the tags of products. */
3049
3204
  listProductTag: Array<ProductTag>;
3205
+ /** Using this api, you can view the units of products. */
3206
+ listProductUnit: Array<ProductUnit>;
3050
3207
  listSalesChannel: Array<SalesChannel>;
3051
3208
  listState: Array<State>;
3052
3209
  listStockLocation: Array<StockLocation>;
@@ -3179,6 +3336,9 @@ export declare type QuerylistProductTagArgs = {
3179
3336
  name?: InputMaybe<StringFilterInput>;
3180
3337
  updatedAt?: InputMaybe<DateFilterInput>;
3181
3338
  };
3339
+ export declare type QuerylistProductUnitArgs = {
3340
+ id?: InputMaybe<StringFilterInput>;
3341
+ };
3182
3342
  export declare type QuerylistSalesChannelArgs = {
3183
3343
  id?: InputMaybe<StringFilterInput>;
3184
3344
  };
@@ -3283,6 +3443,7 @@ export declare type SalesChannelStockLocationInput = {
3283
3443
  };
3284
3444
  /** Sales Channel Type */
3285
3445
  export declare enum SalesChannelTypeEnum {
3446
+ ADMIN = "ADMIN",
3286
3447
  APP = "APP",
3287
3448
  FACEBOOK = "FACEBOOK",
3288
3449
  GOOGLE = "GOOGLE",
@@ -3346,6 +3507,8 @@ export declare type SearchInput = {
3346
3507
  export declare type SearchProduct = {
3347
3508
  __typename?: 'SearchProduct';
3348
3509
  attributes?: Maybe<Array<SearchProductAttributeValue>>;
3510
+ averageRating?: Maybe<Scalars['Float']>;
3511
+ baseUnit?: Maybe<SearchProductProductBaseUnit>;
3349
3512
  brand?: Maybe<SearchProductBrand>;
3350
3513
  categories?: Maybe<Array<SearchCategory>>;
3351
3514
  deleted?: Maybe<Scalars['Boolean']>;
@@ -3356,6 +3519,7 @@ export declare type SearchProduct = {
3356
3519
  name: Scalars['String'];
3357
3520
  productOptionSetId?: Maybe<Scalars['String']>;
3358
3521
  productVariantTypes: Array<SearchProductVariantType>;
3522
+ reviewCount?: Maybe<Scalars['Float']>;
3359
3523
  salesChannelIds?: Maybe<Array<Scalars['String']>>;
3360
3524
  shortDescription?: Maybe<Scalars['String']>;
3361
3525
  tags?: Maybe<Array<SearchProductTag>>;
@@ -3412,9 +3576,23 @@ export declare type SearchProductPrice = {
3412
3576
  __typename?: 'SearchProductPrice';
3413
3577
  buyPrice?: Maybe<Scalars['Float']>;
3414
3578
  currency?: Maybe<Scalars['String']>;
3579
+ currencyCode?: Maybe<Scalars['String']>;
3580
+ currencySymbol?: Maybe<Scalars['String']>;
3415
3581
  discountPrice?: Maybe<Scalars['Float']>;
3416
3582
  priceListId?: Maybe<Scalars['String']>;
3417
3583
  sellPrice: Scalars['Float'];
3584
+ unitPrice?: Maybe<Scalars['Float']>;
3585
+ };
3586
+ export declare type SearchProductProductBaseUnit = {
3587
+ __typename?: 'SearchProductProductBaseUnit';
3588
+ baseAmount: Scalars['Float'];
3589
+ type: ProductUnitTypeEnum;
3590
+ unit?: Maybe<SearchProductProductUnit>;
3591
+ };
3592
+ export declare type SearchProductProductUnit = {
3593
+ __typename?: 'SearchProductProductUnit';
3594
+ id: Scalars['String'];
3595
+ name: Scalars['String'];
3418
3596
  };
3419
3597
  export declare type SearchProductStockLocation = {
3420
3598
  __typename?: 'SearchProductStockLocation';
@@ -3445,6 +3623,7 @@ export declare type SearchVariant = {
3445
3623
  sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
3446
3624
  sku?: Maybe<Scalars['String']>;
3447
3625
  stocks?: Maybe<Array<SearchProductStockLocation>>;
3626
+ unit?: Maybe<VariantUnitModel>;
3448
3627
  variantValues?: Maybe<Array<SearchVariationValueRelation>>;
3449
3628
  weight?: Maybe<Scalars['Float']>;
3450
3629
  };
@@ -3471,6 +3650,7 @@ export declare type SearchVariationValueRelation = {
3471
3650
  /** Shipping Method Enum */
3472
3651
  export declare enum ShippingMethodEnum {
3473
3652
  CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
3653
+ DIGITAL_DELIVERY = "DIGITAL_DELIVERY",
3474
3654
  NO_SHIPMENT = "NO_SHIPMENT",
3475
3655
  SHIPMENT = "SHIPMENT"
3476
3656
  }
@@ -3862,6 +4042,8 @@ export declare type Variant = {
3862
4042
  /** SKU of the variant. */
3863
4043
  sku?: Maybe<Scalars['String']>;
3864
4044
  stocks?: Maybe<Array<VariantStock>>;
4045
+ /** Translations for the product. */
4046
+ unit?: Maybe<VariantUnitModel>;
3865
4047
  updatedAt?: Maybe<Scalars['Timestamp']>;
3866
4048
  /** List of variant value ids. */
3867
4049
  variantValueIds?: Maybe<Array<VariantValueRelation>>;
@@ -3880,6 +4062,7 @@ export declare type VariantInput = {
3880
4062
  prices: Array<ProductPriceInput>;
3881
4063
  sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
3882
4064
  sku?: InputMaybe<Scalars['String']>;
4065
+ unit?: InputMaybe<VariantUnitModelInput>;
3883
4066
  updatedAt?: InputMaybe<Scalars['Timestamp']>;
3884
4067
  variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
3885
4068
  weight?: InputMaybe<Scalars['Float']>;
@@ -3949,6 +4132,17 @@ export declare type VariantTypeTranslationInput = {
3949
4132
  /** It is the translation information of the values of variant types. */
3950
4133
  values?: InputMaybe<Array<VariantValueTranslationInput>>;
3951
4134
  };
4135
+ export declare type VariantUnitModel = {
4136
+ __typename?: 'VariantUnitModel';
4137
+ /** Amount of the product unit. */
4138
+ amount?: Maybe<Scalars['Float']>;
4139
+ /** Type of the product unit. */
4140
+ type: ProductUnitTypeEnum;
4141
+ };
4142
+ export declare type VariantUnitModelInput = {
4143
+ amount: Scalars['Float'];
4144
+ type: ProductUnitTypeEnum;
4145
+ };
3952
4146
  export declare type VariantValue = {
3953
4147
  __typename?: 'VariantValue';
3954
4148
  /** It is the color code information of the variant values. It can be a maximum of 7 characters. */