@ikas/api-client 1.0.2-alpha.1 → 1.0.2-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/admin/common-gql.js +1 -1
- package/dist/api/admin/common-gql.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +378 -82
- package/dist/api/admin/generated/index.js +41 -1
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/query-gql.js +2 -1
- package/dist/api/admin/query-gql.js.map +1 -1
- package/dist/api/admin/query.d.ts +6 -5
- package/dist/api/admin/query.js +3 -0
- package/dist/api/admin/query.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ exports.CATEGORY_GQL = exports.PRODUCT_GQL = exports.CUSTOMER_GQL = exports.ORDE
|
|
|
8
8
|
var graphql_request_1 = require("graphql-request");
|
|
9
9
|
exports.ORDER_GQL = (0, graphql_request_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n cancelReason\n cancelledAt\n clientIp\n createdAt\n currencyCode\n currencyRates {\n code\n originalRate\n rate\n }\n customer {\n email\n firstName\n id\n identityNumber\n lastName\n phone\n }\n deleted\n host\n id\n invoices {\n appId\n appName\n createdAt\n id\n invoiceNumber\n storeAppId\n type\n }\n merchantId\n note\n orderAdjustments {\n amount\n amountType\n campaignId\n couponId\n name\n order\n type\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n productId\n sku\n slug\n tagIds\n taxValue\n type\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n orderNumber\n orderPackageSequence\n orderPackageStatus\n orderPackages {\n createdAt\n deleted\n errorMessage\n id\n note\n orderLineItemIds\n orderPackageFulfillStatus\n orderPackageNumber\n stockLocationId\n trackingInfo {\n barcode\n cargoCompany\n isSendNotification\n trackingLink\n trackingNumber\n }\n updatedAt\n }\n orderPaymentStatus\n orderSequence\n orderTagIds\n orderedAt\n paymentMethods {\n price\n type\n }\n priceList {\n id\n name\n }\n salesChannel {\n id\n name\n type\n }\n shippingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n shippingLines {\n isRefunded\n price\n shippingSettingsId\n shippingZoneRateId\n taxValue\n title\n }\n shippingMethod\n status\n storefront {\n id\n name\n }\n storefrontRouting {\n domain\n id\n locale\n path\n priceListId\n }\n storefrontTheme {\n id\n name\n themeId\n themeVersionId\n }\n taxLines {\n price\n rate\n }\n totalFinalPrice\n totalPrice\n updatedAt\n userAgent\n }\n"], ["\n {\n billingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n cancelReason\n cancelledAt\n clientIp\n createdAt\n currencyCode\n currencyRates {\n code\n originalRate\n rate\n }\n customer {\n email\n firstName\n id\n identityNumber\n lastName\n phone\n }\n deleted\n host\n id\n invoices {\n appId\n appName\n createdAt\n id\n invoiceNumber\n storeAppId\n type\n }\n merchantId\n note\n orderAdjustments {\n amount\n amountType\n campaignId\n couponId\n name\n order\n type\n }\n orderLineItems {\n createdAt\n currencyCode\n deleted\n discount {\n amount\n amountType\n reason\n }\n discountPrice\n finalPrice\n id\n originalOrderLineItemId\n price\n quantity\n status\n statusUpdatedAt\n stockLocationId\n taxValue\n updatedAt\n variant {\n barcodeList\n id\n mainImageId\n name\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n productId\n sku\n slug\n tagIds\n taxValue\n type\n variantValues {\n order\n variantTypeId\n variantTypeName\n variantValueId\n variantValueName\n }\n }\n }\n orderNumber\n orderPackageSequence\n orderPackageStatus\n orderPackages {\n createdAt\n deleted\n errorMessage\n id\n note\n orderLineItemIds\n orderPackageFulfillStatus\n orderPackageNumber\n stockLocationId\n trackingInfo {\n barcode\n cargoCompany\n isSendNotification\n trackingLink\n trackingNumber\n }\n updatedAt\n }\n orderPaymentStatus\n orderSequence\n orderTagIds\n orderedAt\n paymentMethods {\n price\n type\n }\n priceList {\n id\n name\n }\n salesChannel {\n id\n name\n type\n }\n shippingAddress {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n code\n id\n name\n }\n firstName\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n }\n shippingLines {\n isRefunded\n price\n shippingSettingsId\n shippingZoneRateId\n taxValue\n title\n }\n shippingMethod\n status\n storefront {\n id\n name\n }\n storefrontRouting {\n domain\n id\n locale\n path\n priceListId\n }\n storefrontTheme {\n id\n name\n themeId\n themeVersionId\n }\n taxLines {\n price\n rate\n }\n totalFinalPrice\n totalPrice\n updatedAt\n userAgent\n }\n"])));
|
|
10
10
|
exports.CUSTOMER_GQL = (0, graphql_request_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n {\n accountStatus\n accountStatusUpdatedAt\n addresses {\n addressLine1\n addressLine2\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n createdAt\n deleted\n district {\n code\n id\n name\n }\n firstName\n id\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n title\n updatedAt\n }\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n createdAt\n customerGroupIds\n deleted\n email\n emailVerifiedDate\n firstName\n id\n isEmailVerified\n isPhoneVerified\n lastName\n note\n passwordUpdateDate\n phone\n phoneVerifiedDate\n subscriptionStatus\n subscriptionStatusUpdatedAt\n tagIds\n updatedAt\n orderCount\n }\n"], ["\n {\n accountStatus\n accountStatusUpdatedAt\n addresses {\n addressLine1\n addressLine2\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n createdAt\n deleted\n district {\n code\n id\n name\n }\n firstName\n id\n identityNumber\n isDefault\n lastName\n phone\n postalCode\n state {\n code\n id\n name\n }\n taxNumber\n taxOffice\n title\n updatedAt\n }\n attributes {\n customerAttributeId\n customerAttributeOptionId\n value\n }\n createdAt\n customerGroupIds\n deleted\n email\n emailVerifiedDate\n firstName\n id\n isEmailVerified\n isPhoneVerified\n lastName\n note\n passwordUpdateDate\n phone\n phoneVerifiedDate\n subscriptionStatus\n subscriptionStatusUpdatedAt\n tagIds\n updatedAt\n orderCount\n }\n"])));
|
|
11
|
-
exports.PRODUCT_GQL = (0, graphql_request_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n {\n attributes {\n productAttributeId\n productAttributeOptionId\n value\n }\n brandId\n categoryIds\n createdAt\n deleted\n description\n id\n metaData {\n createdAt\n deleted\n description\n pageTitle\n redirectTo\n targetId\n targetType\n updatedAt\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n }\n name\n productVariantTypes {\n order\n variantTypeId\n variantValueIds\n }\n salesChannelIds\n shortDescription\n tagIds\n type\n updatedAt\n variants {\n attributes {\n productAttributeOptionId\n productAttributeId\n value\n }\n barcodeList\n createdAt\n deleted\n id\n images {\n imageId\n isMain\n order\n }\n isActive\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n sku\n updatedAt\n variantValueIds {\n variantTypeId\n variantValueId\n }\n weight\n }\n vendorId\n weight\n }\n"], ["\n {\n attributes {\n productAttributeId\n productAttributeOptionId\n value\n }\n brandId\n categoryIds\n createdAt\n deleted\n description\n id\n metaData {\n createdAt\n deleted\n description\n pageTitle\n redirectTo\n targetId\n targetType\n updatedAt\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n }\n name\n productVariantTypes {\n order\n variantTypeId\n variantValueIds\n }\n salesChannelIds\n shortDescription\n tagIds\n type\n updatedAt\n variants {\n attributes {\n productAttributeOptionId\n productAttributeId\n value\n }\n barcodeList\n createdAt\n deleted\n id\n images {\n imageId\n isMain\n order\n }\n isActive\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n sku\n updatedAt\n variantValueIds {\n variantTypeId\n variantValueId\n }\n weight\n }\n vendorId\n weight\n }\n"])));
|
|
11
|
+
exports.PRODUCT_GQL = (0, graphql_request_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n {\n attributes {\n productAttributeId\n productAttributeOptionId\n value\n }\n brandId\n categoryIds\n createdAt\n deleted\n description\n id\n metaData {\n createdAt\n deleted\n description\n pageTitle\n redirectTo\n targetId\n targetType\n updatedAt\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n }\n name\n productVariantTypes {\n order\n variantTypeId\n variantValueIds\n }\n salesChannelIds\n shortDescription\n tagIds\n type\n updatedAt\n variants {\n attributes {\n productAttributeOptionId\n productAttributeId\n value\n }\n barcodeList\n createdAt\n deleted\n id\n images {\n imageId\n isMain\n order\n }\n isActive\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n sku\n updatedAt\n variantValueIds {\n variantTypeId\n variantValueId\n }\n weight\n hsCode\n }\n vendorId\n weight\n }\n"], ["\n {\n attributes {\n productAttributeId\n productAttributeOptionId\n value\n }\n brandId\n categoryIds\n createdAt\n deleted\n description\n id\n metaData {\n createdAt\n deleted\n description\n pageTitle\n redirectTo\n targetId\n targetType\n updatedAt\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n }\n name\n productVariantTypes {\n order\n variantTypeId\n variantValueIds\n }\n salesChannelIds\n shortDescription\n tagIds\n type\n updatedAt\n variants {\n attributes {\n productAttributeOptionId\n productAttributeId\n value\n }\n barcodeList\n createdAt\n deleted\n id\n images {\n imageId\n isMain\n order\n }\n isActive\n prices {\n buyPrice\n currency\n discountPrice\n priceListId\n sellPrice\n }\n sku\n updatedAt\n variantValueIds {\n variantTypeId\n variantValueId\n }\n weight\n hsCode\n }\n vendorId\n weight\n }\n"])));
|
|
12
12
|
exports.CATEGORY_GQL = (0, graphql_request_1.gql)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n isAutomated\n imageId\n orderType\n salesChannelIds\n shouldMatchAllConditions\n conditions {\n conditionType\n valueList\n }\n metaData {\n createdAt\n deleted\n description\n id\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n pageTitle\n redirectTo\n slug\n targetId\n targetType\n updatedAt\n }\n }\n"], ["\n {\n id\n createdAt\n updatedAt\n deleted\n name\n description\n parentId\n isAutomated\n imageId\n orderType\n salesChannelIds\n shouldMatchAllConditions\n conditions {\n conditionType\n valueList\n }\n metaData {\n createdAt\n deleted\n description\n id\n metadataOverrides {\n description\n language\n pageTitle\n storefrontId\n storefrontRegionId\n }\n pageTitle\n redirectTo\n slug\n targetId\n targetType\n updatedAt\n }\n }\n"])));
|
|
13
13
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
14
14
|
//# sourceMappingURL=common-gql.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-gql.js","sourceRoot":"","sources":["../../../src/api/admin/common-gql.ts"],"names":[],"mappings":";;;;;;;AAAA,mDAAsC;AAEzB,QAAA,SAAS,OAAG,qBAAG,4lHAAA,whHAuO3B,KAAC;AAEW,QAAA,YAAY,OAAG,qBAAG,8rCAAA,0nCAwE9B,KAAC;AAEW,QAAA,WAAW,OAAG,qBAAG,
|
|
1
|
+
{"version":3,"file":"common-gql.js","sourceRoot":"","sources":["../../../src/api/admin/common-gql.ts"],"names":[],"mappings":";;;;;;;AAAA,mDAAsC;AAEzB,QAAA,SAAS,OAAG,qBAAG,4lHAAA,whHAuO3B,KAAC;AAEW,QAAA,YAAY,OAAG,qBAAG,8rCAAA,0nCAwE9B,KAAC;AAEW,QAAA,WAAW,OAAG,qBAAG,gyCAAA,4tCA4E7B,KAAC;AAEW,QAAA,YAAY,OAAG,qBAAG,mpBAAA,+kBAsC9B,KAAC"}
|
|
@@ -77,7 +77,7 @@ export declare type AuthorizedApp = {
|
|
|
77
77
|
scope: Scalars['String'];
|
|
78
78
|
/** The application's id in the store. */
|
|
79
79
|
storeAppId: Scalars['String'];
|
|
80
|
-
/** It keeps the information that a merchant cn install more than one application. If
|
|
80
|
+
/** It keeps the information that a merchant cn install more than one application. If `true`, merchant can add more than one application. */
|
|
81
81
|
supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
|
|
82
82
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
83
83
|
};
|
|
@@ -167,7 +167,7 @@ export declare type BulkUpdateProductVariantInput = {
|
|
|
167
167
|
/** List of stocks for the variant. */
|
|
168
168
|
stocks?: InputMaybe<Array<BulkUpdateProductStockInput>>;
|
|
169
169
|
/** List of variant values. */
|
|
170
|
-
variantValues
|
|
170
|
+
variantValues?: InputMaybe<Array<BulkUpdateProductVariationValueRelationInput>>;
|
|
171
171
|
/** Weight of the variant. */
|
|
172
172
|
weight?: InputMaybe<Scalars['Float']>;
|
|
173
173
|
};
|
|
@@ -205,6 +205,8 @@ export declare type BulkUpdateProductsInput = {
|
|
|
205
205
|
/** Description of the product. */
|
|
206
206
|
description?: InputMaybe<Scalars['String']>;
|
|
207
207
|
id: Scalars['String'];
|
|
208
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
209
|
+
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
208
210
|
/** HTML Metadata identifier of the product. */
|
|
209
211
|
metaData?: InputMaybe<BulkUpdateProductHTMLMetaDataInput>;
|
|
210
212
|
/** Name of the product */
|
|
@@ -224,8 +226,15 @@ export declare type BulkUpdateProductsInput = {
|
|
|
224
226
|
/** Vendor of the product. */
|
|
225
227
|
vendor?: InputMaybe<Scalars['String']>;
|
|
226
228
|
/** Weight of the product. */
|
|
227
|
-
weight?: InputMaybe<Scalars['
|
|
229
|
+
weight?: InputMaybe<Scalars['Float']>;
|
|
228
230
|
};
|
|
231
|
+
/** Campaign Type Enum */
|
|
232
|
+
export declare enum CampaignTypeEnum {
|
|
233
|
+
BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
|
|
234
|
+
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
235
|
+
FREE_SHIPPING = "FREE_SHIPPING",
|
|
236
|
+
RATIO = "RATIO"
|
|
237
|
+
}
|
|
229
238
|
export declare type CancelFulfillmentInput = {
|
|
230
239
|
orderId: Scalars['String'];
|
|
231
240
|
orderPackageId: Scalars['String'];
|
|
@@ -275,6 +284,7 @@ export declare type CategoryConditionInput = {
|
|
|
275
284
|
};
|
|
276
285
|
/** CategoryCondition Types */
|
|
277
286
|
export declare enum CategoryConditionTypeEnum {
|
|
287
|
+
CREATED_AT = "CREATED_AT",
|
|
278
288
|
DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
|
|
279
289
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
280
290
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
@@ -433,7 +443,7 @@ export declare type CreateOrderInput = {
|
|
|
433
443
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
434
444
|
};
|
|
435
445
|
export declare type CreateOrderWithTransactionsInput = {
|
|
436
|
-
/** If there is no customer connected to the e-mail in the order and it is not desired to create a new customer with this e-mail, it can be sent as
|
|
446
|
+
/** If there is no customer connected to the e-mail in the order and it is not desired to create a new customer with this e-mail, it can be sent as `true`. */
|
|
437
447
|
disableAutoCreateCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
438
448
|
/** Contains the order information to be created. */
|
|
439
449
|
order: CreateOrderInput;
|
|
@@ -454,19 +464,21 @@ export declare type Customer = {
|
|
|
454
464
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
455
465
|
/** Groups that the store owner attaches to the customer. */
|
|
456
466
|
customerGroupIds?: Maybe<Array<Scalars['String']>>;
|
|
467
|
+
/** It is the sequence value of the customer. The sequence value starts from 1. */
|
|
468
|
+
customerSequence?: Maybe<Scalars['Float']>;
|
|
457
469
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
458
470
|
/** The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error. */
|
|
459
471
|
email?: Maybe<Scalars['String']>;
|
|
460
|
-
/** The date the
|
|
472
|
+
/** The date the **email** was verified. */
|
|
461
473
|
emailVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
462
474
|
/** The customer's first name. */
|
|
463
475
|
firstName: Scalars['String'];
|
|
464
476
|
/** Customer's full name. Firstname plus lastname if firstname and lastname exist. Otherwise, it is saved as firstname only. */
|
|
465
477
|
fullName?: Maybe<Scalars['String']>;
|
|
466
478
|
id: Scalars['ID'];
|
|
467
|
-
/** Email verification status.
|
|
479
|
+
/** Email verification status. **isEmailVerified** returns `true` if the email is verified. */
|
|
468
480
|
isEmailVerified?: Maybe<Scalars['Boolean']>;
|
|
469
|
-
/** Phone verification status.
|
|
481
|
+
/** Phone verification status. **isPhoneVerified** returns `true` if the email is verified. */
|
|
470
482
|
isPhoneVerified?: Maybe<Scalars['Boolean']>;
|
|
471
483
|
/** The customer's last name. */
|
|
472
484
|
lastName?: Maybe<Scalars['String']>;
|
|
@@ -478,8 +490,10 @@ export declare type Customer = {
|
|
|
478
490
|
passwordUpdateDate?: Maybe<Scalars['Timestamp']>;
|
|
479
491
|
/** The customer's phone number */
|
|
480
492
|
phone?: Maybe<Scalars['String']>;
|
|
481
|
-
/** The date the
|
|
493
|
+
/** The date the **email** was verified. */
|
|
482
494
|
phoneVerifiedDate?: Maybe<Scalars['Timestamp']>;
|
|
495
|
+
/** Registration source of customer. */
|
|
496
|
+
registrationSource?: Maybe<CustomerRegistrationSourceEnum>;
|
|
483
497
|
/** CustomerEmailSubscriptionStatusesEnum */
|
|
484
498
|
subscriptionStatus?: Maybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
485
499
|
subscriptionStatusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -516,7 +530,7 @@ export declare type CustomerAddress = {
|
|
|
516
530
|
id: Scalars['ID'];
|
|
517
531
|
/** The customer's identity numbers. */
|
|
518
532
|
identityNumber?: Maybe<Scalars['String']>;
|
|
519
|
-
/** Whether this address is the default address for the customer. Returns
|
|
533
|
+
/** Whether this address is the default address for the customer. Returns `true` for each default address. */
|
|
520
534
|
isDefault?: Maybe<Scalars['Boolean']>;
|
|
521
535
|
/** The customer's last name. */
|
|
522
536
|
lastName: Scalars['String'];
|
|
@@ -545,6 +559,10 @@ export declare type CustomerAddressCountry = {
|
|
|
545
559
|
/** The two-letter country code corresponding to the customer's country. */
|
|
546
560
|
code?: Maybe<Scalars['String']>;
|
|
547
561
|
id?: Maybe<Scalars['String']>;
|
|
562
|
+
/** The two-letter country code corresponding to the customer's country. */
|
|
563
|
+
iso2?: Maybe<Scalars['String']>;
|
|
564
|
+
/** The two-letter country code corresponding to the customer's country. */
|
|
565
|
+
iso3?: Maybe<Scalars['String']>;
|
|
548
566
|
/** The customer's normalized country name. */
|
|
549
567
|
name: Scalars['String'];
|
|
550
568
|
};
|
|
@@ -576,28 +594,51 @@ export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
|
576
594
|
}
|
|
577
595
|
export declare type CustomerPaginationResponse = {
|
|
578
596
|
__typename?: 'CustomerPaginationResponse';
|
|
579
|
-
/**
|
|
597
|
+
/**
|
|
598
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
599
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
600
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
601
|
+
*/
|
|
580
602
|
count: Scalars['Int'];
|
|
581
603
|
data: Array<Customer>;
|
|
582
|
-
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
604
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
|
|
583
605
|
hasNext: Scalars['Boolean'];
|
|
584
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
608
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
609
|
+
* :::note
|
|
610
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
611
|
+
* :::
|
|
612
|
+
*/
|
|
585
613
|
limit: Scalars['Int'];
|
|
586
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* The number of the page you want to see in the records that return as response.
|
|
616
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
617
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
618
|
+
* :::note
|
|
619
|
+
* If no value is entered, default 1 is accepted.
|
|
620
|
+
* :::
|
|
621
|
+
*/
|
|
587
622
|
page: Scalars['Int'];
|
|
588
623
|
};
|
|
624
|
+
/** Customer Registration Source Enum */
|
|
625
|
+
export declare enum CustomerRegistrationSourceEnum {
|
|
626
|
+
credentials = "credentials",
|
|
627
|
+
facebook = "facebook",
|
|
628
|
+
google = "google"
|
|
629
|
+
}
|
|
589
630
|
export declare type DateFilterInput = {
|
|
590
|
-
/**
|
|
631
|
+
/** `equal`. The filter used for equality. */
|
|
591
632
|
eq?: InputMaybe<Scalars['Timestamp']>;
|
|
592
|
-
/**
|
|
633
|
+
/** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
|
|
593
634
|
gt?: InputMaybe<Scalars['Timestamp']>;
|
|
594
|
-
/**
|
|
635
|
+
/** `greater than or equals` selects the documents where the value of the `input` is greater than or equal to (** i.e. >= **) a specified value (e.g. value.) */
|
|
595
636
|
gte?: InputMaybe<Scalars['Timestamp']>;
|
|
596
637
|
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
597
638
|
in?: InputMaybe<Array<Scalars['Timestamp']>>;
|
|
598
|
-
/**
|
|
639
|
+
/** `less than` selects the documents where the value of the `input` is less than or equal to (** i.e. < **) a specified value (e.g. value.) */
|
|
599
640
|
lt?: InputMaybe<Scalars['Timestamp']>;
|
|
600
|
-
/**
|
|
641
|
+
/** `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.) */
|
|
601
642
|
lte?: InputMaybe<Scalars['Timestamp']>;
|
|
602
643
|
};
|
|
603
644
|
export declare type District = {
|
|
@@ -737,11 +778,11 @@ export declare type MeResponse = {
|
|
|
737
778
|
/** The id of the sales channel owned by the merchant. */
|
|
738
779
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
739
780
|
scope?: Maybe<Scalars['String']>;
|
|
740
|
-
/** It keeps the information of the operations that this application can access and perform.For more information please review [Scopes section](/docs/
|
|
781
|
+
/** It keeps the information of the operations that this application can access and perform.For more information please review [Scopes section](/docs/intro#api-scopes). */
|
|
741
782
|
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
742
783
|
/** The application's id in the store. */
|
|
743
784
|
storeAppId?: Maybe<Scalars['String']>;
|
|
744
|
-
/** It keeps the information that a merchant cn install more than one application. If
|
|
785
|
+
/** It keeps the information that a merchant cn install more than one application. If `true`, merchant can add more than one application. */
|
|
745
786
|
supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
|
|
746
787
|
};
|
|
747
788
|
export declare type MerchantAddress = {
|
|
@@ -835,14 +876,31 @@ export declare type MerchantAppPaymentInput = {
|
|
|
835
876
|
};
|
|
836
877
|
export declare type MerchantAppPaymentPaginationResponse = {
|
|
837
878
|
__typename?: 'MerchantAppPaymentPaginationResponse';
|
|
838
|
-
/**
|
|
879
|
+
/**
|
|
880
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
881
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
882
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
883
|
+
*/
|
|
839
884
|
count: Scalars['Int'];
|
|
840
885
|
data: Array<MerchantAppPayment>;
|
|
841
|
-
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
886
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
|
|
842
887
|
hasNext: Scalars['Boolean'];
|
|
843
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
890
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
891
|
+
* :::note
|
|
892
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
893
|
+
* :::
|
|
894
|
+
*/
|
|
844
895
|
limit: Scalars['Int'];
|
|
845
|
-
/**
|
|
896
|
+
/**
|
|
897
|
+
* The number of the page you want to see in the records that return as response.
|
|
898
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
899
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
900
|
+
* :::note
|
|
901
|
+
* If no value is entered, default 1 is accepted.
|
|
902
|
+
* :::
|
|
903
|
+
*/
|
|
846
904
|
page: Scalars['Int'];
|
|
847
905
|
};
|
|
848
906
|
export declare type MerchantAppPaymentPrice = {
|
|
@@ -1048,7 +1106,7 @@ export declare type Mutation = {
|
|
|
1048
1106
|
deleteProductTagList: Scalars['Boolean'];
|
|
1049
1107
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
1050
1108
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
1051
|
-
/** Using this api, you can delete the
|
|
1109
|
+
/** Using this api, you can delete the variant types of products. */
|
|
1052
1110
|
deleteVariantTypeList: Scalars['Boolean'];
|
|
1053
1111
|
/** Use this mutation to delete webhooks by giving `scope` list. */
|
|
1054
1112
|
deleteWebhook: Scalars['Boolean'];
|
|
@@ -1072,7 +1130,7 @@ export declare type Mutation = {
|
|
|
1072
1130
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
1073
1131
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
1074
1132
|
saveStorefrontJSScript: StorefrontJSScript;
|
|
1075
|
-
/** Using this api, you can update the
|
|
1133
|
+
/** Using this api, you can update the variant types of products. */
|
|
1076
1134
|
saveVariantType: VariantType;
|
|
1077
1135
|
/** Use this mutation to save webhooks by using multiple `scope` variables. After saving a webhook, **ikas** will start to push new webhooks to given url `endpoint`. If **endpoint** is unreachable or returns an error code other than `HTTP 200` **ikas** will try to push webhook for 3 times then stops sending webhook. */
|
|
1078
1136
|
saveWebhook?: Maybe<Array<Webhook>>;
|
|
@@ -1175,27 +1233,14 @@ export declare type MutationupdateOrderPackageStatusArgs = {
|
|
|
1175
1233
|
export declare type MutationupdateProductSalesChannelStatusArgs = {
|
|
1176
1234
|
input: Array<UpdateProductSalesChannelStatusInput>;
|
|
1177
1235
|
};
|
|
1178
|
-
export declare type NumberFilterInput = {
|
|
1179
|
-
/** ```equal```. The filter used for equality. */
|
|
1180
|
-
eq?: InputMaybe<Scalars['Float']>;
|
|
1181
|
-
/** ```greater than``` selects the documents where the value of the ```input``` is greater than to (i.e. ```>```) a specified value (e.g. value.) */
|
|
1182
|
-
gt?: InputMaybe<Scalars['Float']>;
|
|
1183
|
-
/** ```greater than or equals``` selects the documents where the value of the ```input``` is greater than or equal to (i.e. ```>=```) a specified value (e.g. value.) */
|
|
1184
|
-
gte?: InputMaybe<Scalars['Float']>;
|
|
1185
|
-
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1186
|
-
in?: InputMaybe<Array<Scalars['Float']>>;
|
|
1187
|
-
/** ```less than``` selects the documents where the value of the ```input``` is less than or equal to (i.e. ```<```) a specified value (e.g. value.) */
|
|
1188
|
-
lt?: InputMaybe<Scalars['Float']>;
|
|
1189
|
-
/** ```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.) */
|
|
1190
|
-
lte?: InputMaybe<Scalars['Float']>;
|
|
1191
|
-
};
|
|
1192
1236
|
export declare type Order = {
|
|
1193
1237
|
__typename?: 'Order';
|
|
1194
1238
|
/** It is the billing address of the order. */
|
|
1195
1239
|
billingAddress?: Maybe<OrderAddress>;
|
|
1196
|
-
/** It is the
|
|
1240
|
+
/** It is the `branch` information of the orders created via ikasPOS. */
|
|
1197
1241
|
branch?: Maybe<OrderBranch>;
|
|
1198
|
-
/** It is the
|
|
1242
|
+
/** It is the `branchSession` information of the orders created via ikasPOS. */
|
|
1243
|
+
branchSession?: Maybe<OrderBranchSession>;
|
|
1199
1244
|
branchSessionId?: Maybe<Scalars['String']>;
|
|
1200
1245
|
/** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
|
|
1201
1246
|
cancelReason?: Maybe<CancelledReasonEnum>;
|
|
@@ -1220,7 +1265,7 @@ export declare type Order = {
|
|
|
1220
1265
|
id: Scalars['ID'];
|
|
1221
1266
|
/** A list of invoice objects, each containing information about an invoice. */
|
|
1222
1267
|
invoices?: Maybe<Array<Invoice>>;
|
|
1223
|
-
/** Indicates whether there is a gift package in the order.
|
|
1268
|
+
/** Indicates whether there is a gift package in the order. **isGiftPackage** returns `true` if the order has gift package */
|
|
1224
1269
|
isGiftPackage?: Maybe<Scalars['Boolean']>;
|
|
1225
1270
|
merchantId: Scalars['String'];
|
|
1226
1271
|
/** An optional note, can attach to the order. */
|
|
@@ -1247,9 +1292,9 @@ export declare type Order = {
|
|
|
1247
1292
|
orderedAt?: Maybe<Scalars['Timestamp']>;
|
|
1248
1293
|
/** A list of payment method objects, each containing information about a payment method in the order. */
|
|
1249
1294
|
paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
|
|
1250
|
-
/** Information about the
|
|
1295
|
+
/** Information about the `priceList` used when the order was created. */
|
|
1251
1296
|
priceList?: Maybe<OrderPriceList>;
|
|
1252
|
-
/** Information about the
|
|
1297
|
+
/** Information about the `salesChannel` where the order was created. */
|
|
1253
1298
|
salesChannel: OrderSalesChannel;
|
|
1254
1299
|
/** It is the shipping address of the order. */
|
|
1255
1300
|
shippingAddress?: Maybe<OrderAddress>;
|
|
@@ -1257,21 +1302,23 @@ export declare type Order = {
|
|
|
1257
1302
|
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1258
1303
|
/** It is the shipping method enum of the order */
|
|
1259
1304
|
shippingMethod: ShippingMethodEnum;
|
|
1260
|
-
/** It is the
|
|
1305
|
+
/** It is the `staff` information of the orders created via ikasPOS. */
|
|
1261
1306
|
staff?: Maybe<OrderStaff>;
|
|
1262
1307
|
/** It is the status enum of the order */
|
|
1263
1308
|
status: OrderStatusEnum;
|
|
1264
|
-
/**
|
|
1309
|
+
/** It is the `stock location` information of the orders. */
|
|
1310
|
+
stockLocation?: Maybe<OrderStockLocation>;
|
|
1311
|
+
/** Information about the `storefront` where the order was created. */
|
|
1265
1312
|
storefront?: Maybe<OrderStorefront>;
|
|
1266
|
-
/** Information about the
|
|
1313
|
+
/** Information about the `storefrontRouting` used by the storefront at the time the order was created. */
|
|
1267
1314
|
storefrontRouting?: Maybe<OrderStorefrontRouting>;
|
|
1268
|
-
/** Information about the
|
|
1315
|
+
/** Information about the `storefrontTheme` used by the storefront at the time the order was created. */
|
|
1269
1316
|
storefrontTheme?: Maybe<OrderStorefrontTheme>;
|
|
1270
1317
|
/** A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines. */
|
|
1271
1318
|
taxLines?: Maybe<Array<OrderTaxLine>>;
|
|
1272
|
-
/** It is the
|
|
1319
|
+
/** It is the `terminalId`` information of the orders created via ikasPOS. */
|
|
1273
1320
|
terminalId?: Maybe<Scalars['String']>;
|
|
1274
|
-
/** The total final price of the order resulting from the apply of
|
|
1321
|
+
/** The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price. */
|
|
1275
1322
|
totalFinalPrice: Scalars['Float'];
|
|
1276
1323
|
/** It is the sum of the net prices of the line items in the order. */
|
|
1277
1324
|
totalPrice: Scalars['Float'];
|
|
@@ -1381,7 +1428,7 @@ export declare type OrderAddressInput = {
|
|
|
1381
1428
|
id?: InputMaybe<Scalars['String']>;
|
|
1382
1429
|
/** The identity number of the person associated with the address. */
|
|
1383
1430
|
identityNumber?: InputMaybe<Scalars['String']>;
|
|
1384
|
-
/** If the address is to be saved as default, this field can be sent as
|
|
1431
|
+
/** If the address is to be saved as default, this field can be sent as `true`. */
|
|
1385
1432
|
isDefault: Scalars['Boolean'];
|
|
1386
1433
|
/** The last name of the person associated with the address */
|
|
1387
1434
|
lastName: Scalars['String'];
|
|
@@ -1419,6 +1466,8 @@ export declare type OrderAdjustment = {
|
|
|
1419
1466
|
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1420
1467
|
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
1421
1468
|
campaignId?: Maybe<Scalars['String']>;
|
|
1469
|
+
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
1470
|
+
campaignType?: Maybe<CampaignTypeEnum>;
|
|
1422
1471
|
/** It is the coupon id generated depending on the campaign. */
|
|
1423
1472
|
couponId?: Maybe<Scalars['String']>;
|
|
1424
1473
|
/** It is the name of the adjustment. */
|
|
@@ -1456,7 +1505,14 @@ export declare type OrderBranch = {
|
|
|
1456
1505
|
__typename?: 'OrderBranch';
|
|
1457
1506
|
/** It is the id of the branch where the order was created. */
|
|
1458
1507
|
id: Scalars['String'];
|
|
1459
|
-
/** It is the
|
|
1508
|
+
/** It is the name of the branch where the order was created. */
|
|
1509
|
+
name?: Maybe<Scalars['String']>;
|
|
1510
|
+
};
|
|
1511
|
+
export declare type OrderBranchSession = {
|
|
1512
|
+
__typename?: 'OrderBranchSession';
|
|
1513
|
+
/** It is the id of the branch session where the order was created. */
|
|
1514
|
+
id: Scalars['String'];
|
|
1515
|
+
/** It is the name of the branch session where the order was created. */
|
|
1460
1516
|
name?: Maybe<Scalars['String']>;
|
|
1461
1517
|
};
|
|
1462
1518
|
export declare type OrderCurrencyRate = {
|
|
@@ -1474,11 +1530,13 @@ export declare type OrderCustomer = {
|
|
|
1474
1530
|
email?: Maybe<Scalars['String']>;
|
|
1475
1531
|
/** It is the first name of the customer who created the order. */
|
|
1476
1532
|
firstName?: Maybe<Scalars['String']>;
|
|
1533
|
+
/** It is the full name name of the customer who created the order. */
|
|
1534
|
+
fullName?: Maybe<Scalars['String']>;
|
|
1477
1535
|
/** It is the id of the customer who created the order. */
|
|
1478
1536
|
id?: Maybe<Scalars['String']>;
|
|
1479
1537
|
/** It is the identity number of the customer who created the order. */
|
|
1480
1538
|
identityNumber?: Maybe<Scalars['String']>;
|
|
1481
|
-
/** Indicates whether the order was created by a new customer with no email record.
|
|
1539
|
+
/** Indicates whether the order was created by a new customer with no email record. **isGuestCheckout** returns true if the order was created without customer email information. */
|
|
1482
1540
|
isGuestCheckout?: Maybe<Scalars['Boolean']>;
|
|
1483
1541
|
/** It is the last name of the customer who created the order. */
|
|
1484
1542
|
lastName?: Maybe<Scalars['String']>;
|
|
@@ -1505,6 +1563,9 @@ export declare type OrderLineDiscount = {
|
|
|
1505
1563
|
__typename?: 'OrderLineDiscount';
|
|
1506
1564
|
amount: Scalars['Float'];
|
|
1507
1565
|
amountType: AmountTypeEnum;
|
|
1566
|
+
campaignOfferId?: Maybe<Scalars['String']>;
|
|
1567
|
+
campaignOfferProductId?: Maybe<Scalars['String']>;
|
|
1568
|
+
maxApplicableQuantity?: Maybe<Scalars['Float']>;
|
|
1508
1569
|
reason?: Maybe<Scalars['String']>;
|
|
1509
1570
|
};
|
|
1510
1571
|
export declare type OrderLineDiscountInput = {
|
|
@@ -1512,6 +1573,7 @@ export declare type OrderLineDiscountInput = {
|
|
|
1512
1573
|
amount: Scalars['Float'];
|
|
1513
1574
|
/** It is the amount type enum. */
|
|
1514
1575
|
amountType: AmountTypeEnum;
|
|
1576
|
+
maxApplicableQuantity?: InputMaybe<Scalars['Float']>;
|
|
1515
1577
|
/** It is the reason of the discount. */
|
|
1516
1578
|
reason?: InputMaybe<Scalars['String']>;
|
|
1517
1579
|
};
|
|
@@ -1646,6 +1708,7 @@ export declare type OrderLineVariant = {
|
|
|
1646
1708
|
type?: Maybe<Scalars['Float']>;
|
|
1647
1709
|
/** It is the variant values of the variant. */
|
|
1648
1710
|
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
1711
|
+
weight?: Maybe<Scalars['Float']>;
|
|
1649
1712
|
};
|
|
1650
1713
|
export declare type OrderLineVariantBrand = {
|
|
1651
1714
|
__typename?: 'OrderLineVariantBrand';
|
|
@@ -1733,6 +1796,7 @@ export declare enum OrderPackageFulfillStatusEnum {
|
|
|
1733
1796
|
DELIVERED = "DELIVERED",
|
|
1734
1797
|
ERROR = "ERROR",
|
|
1735
1798
|
FULFILLED = "FULFILLED",
|
|
1799
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
1736
1800
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1737
1801
|
REFUNDED = "REFUNDED",
|
|
1738
1802
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
@@ -1750,6 +1814,7 @@ export declare enum OrderPackageStatusEnum {
|
|
|
1750
1814
|
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
1751
1815
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
1752
1816
|
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
1817
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
1753
1818
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1754
1819
|
REFUNDED = "REFUNDED",
|
|
1755
1820
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
@@ -1760,18 +1825,39 @@ export declare enum OrderPackageStatusEnum {
|
|
|
1760
1825
|
}
|
|
1761
1826
|
export declare type OrderPaginationResponse = {
|
|
1762
1827
|
__typename?: 'OrderPaginationResponse';
|
|
1763
|
-
/**
|
|
1828
|
+
/**
|
|
1829
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
1830
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
1831
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
1832
|
+
*/
|
|
1764
1833
|
count: Scalars['Int'];
|
|
1765
1834
|
data: Array<Order>;
|
|
1766
|
-
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
1835
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
|
|
1767
1836
|
hasNext: Scalars['Boolean'];
|
|
1768
|
-
/**
|
|
1837
|
+
/**
|
|
1838
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
1839
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
1840
|
+
* :::note
|
|
1841
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
1842
|
+
* :::
|
|
1843
|
+
*/
|
|
1769
1844
|
limit: Scalars['Int'];
|
|
1770
|
-
/**
|
|
1845
|
+
/**
|
|
1846
|
+
* The number of the page you want to see in the records that return as response.
|
|
1847
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
1848
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
1849
|
+
* :::note
|
|
1850
|
+
* If no value is entered, default 1 is accepted.
|
|
1851
|
+
* :::
|
|
1852
|
+
*/
|
|
1771
1853
|
page: Scalars['Int'];
|
|
1772
1854
|
};
|
|
1773
1855
|
export declare type OrderPaymentMethod = {
|
|
1774
1856
|
__typename?: 'OrderPaymentMethod';
|
|
1857
|
+
/** It is the gateway code of the order payment method. */
|
|
1858
|
+
paymentGatewayCode?: Maybe<Scalars['String']>;
|
|
1859
|
+
/** It is the gateway name of the order payment method. */
|
|
1860
|
+
paymentGatewayName?: Maybe<Scalars['String']>;
|
|
1775
1861
|
/** It is the amount charged by the payment method. */
|
|
1776
1862
|
price: Scalars['Float'];
|
|
1777
1863
|
/** It is the type enum of the order payment method. */
|
|
@@ -1783,6 +1869,12 @@ export declare enum OrderPaymentStatusEnum {
|
|
|
1783
1869
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
1784
1870
|
WAITING = "WAITING"
|
|
1785
1871
|
}
|
|
1872
|
+
export declare type OrderPaymentStatusEnumInputFilter = {
|
|
1873
|
+
/** `equal`. The filter used for equality. */
|
|
1874
|
+
eq?: InputMaybe<OrderPaymentStatusEnum>;
|
|
1875
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1876
|
+
in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
|
|
1877
|
+
};
|
|
1786
1878
|
export declare type OrderPriceList = {
|
|
1787
1879
|
__typename?: 'OrderPriceList';
|
|
1788
1880
|
/** It is the id of the price list. */
|
|
@@ -1814,7 +1906,7 @@ export declare type OrderSalesChannel = {
|
|
|
1814
1906
|
};
|
|
1815
1907
|
export declare type OrderShippingLine = {
|
|
1816
1908
|
__typename?: 'OrderShippingLine';
|
|
1817
|
-
/** Indicates whether the shipping cost is refunded if the order is refunded.
|
|
1909
|
+
/** Indicates whether the shipping cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
|
|
1818
1910
|
isRefunded?: Maybe<Scalars['Boolean']>;
|
|
1819
1911
|
/** It is the price of the order shipping line. */
|
|
1820
1912
|
price: Scalars['Float'];
|
|
@@ -1855,6 +1947,19 @@ export declare enum OrderStatusEnum {
|
|
|
1855
1947
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1856
1948
|
REFUND_REQUESTED = "REFUND_REQUESTED"
|
|
1857
1949
|
}
|
|
1950
|
+
export declare type OrderStatusEnumInputFilter = {
|
|
1951
|
+
/** `equal`. The filter used for equality. */
|
|
1952
|
+
eq?: InputMaybe<OrderStatusEnum>;
|
|
1953
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1954
|
+
in?: InputMaybe<Array<OrderStatusEnum>>;
|
|
1955
|
+
};
|
|
1956
|
+
export declare type OrderStockLocation = {
|
|
1957
|
+
__typename?: 'OrderStockLocation';
|
|
1958
|
+
/** It is the id of the stock location of the merchant. */
|
|
1959
|
+
id: Scalars['String'];
|
|
1960
|
+
/** It is the name of the stock location. */
|
|
1961
|
+
name: Scalars['String'];
|
|
1962
|
+
};
|
|
1858
1963
|
export declare type OrderStorefront = {
|
|
1859
1964
|
__typename?: 'OrderStorefront';
|
|
1860
1965
|
/** It is the storefront id where the order was created. */
|
|
@@ -1898,9 +2003,22 @@ export declare type OrderTransactionInput = {
|
|
|
1898
2003
|
paymentGatewayId?: InputMaybe<Scalars['String']>;
|
|
1899
2004
|
};
|
|
1900
2005
|
export declare type PaginationInput = {
|
|
1901
|
-
/**
|
|
2006
|
+
/**
|
|
2007
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2008
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2009
|
+
* :::note
|
|
2010
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2011
|
+
* :::
|
|
2012
|
+
*/
|
|
1902
2013
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1903
|
-
/**
|
|
2014
|
+
/**
|
|
2015
|
+
* The number of the page you want to see in the records that return as response.
|
|
2016
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2017
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2018
|
+
* :::note
|
|
2019
|
+
* If no value is entered, default 1 is accepted.
|
|
2020
|
+
* :::
|
|
2021
|
+
*/
|
|
1904
2022
|
page?: InputMaybe<Scalars['Int']>;
|
|
1905
2023
|
};
|
|
1906
2024
|
export declare enum PaymentMethodTypeEnum {
|
|
@@ -1912,7 +2030,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
1912
2030
|
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
1913
2031
|
GIFT_CARD = "GIFT_CARD",
|
|
1914
2032
|
MONEY_ORDER = "MONEY_ORDER",
|
|
1915
|
-
OTHER = "OTHER"
|
|
2033
|
+
OTHER = "OTHER",
|
|
2034
|
+
WALLET = "WALLET"
|
|
1916
2035
|
}
|
|
1917
2036
|
export declare type PriceList = {
|
|
1918
2037
|
__typename?: 'PriceList';
|
|
@@ -1944,6 +2063,8 @@ export declare type Product = {
|
|
|
1944
2063
|
/** This is the variant type id that can be used to group variants by a specific variant type id. */
|
|
1945
2064
|
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
1946
2065
|
id: Scalars['ID'];
|
|
2066
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
2067
|
+
maxQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
1947
2068
|
/** HTML Metadata identifier of the product. */
|
|
1948
2069
|
metaData?: Maybe<HTMLMetaData>;
|
|
1949
2070
|
/** Unique identifier of the product. */
|
|
@@ -2172,6 +2293,8 @@ export declare type ProductInput = {
|
|
|
2172
2293
|
description?: InputMaybe<Scalars['String']>;
|
|
2173
2294
|
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
2174
2295
|
id?: InputMaybe<Scalars['ID']>;
|
|
2296
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
2297
|
+
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
2175
2298
|
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
2176
2299
|
name: Scalars['String'];
|
|
2177
2300
|
productOptionSetId?: InputMaybe<Scalars['String']>;
|
|
@@ -2186,6 +2309,101 @@ export declare type ProductInput = {
|
|
|
2186
2309
|
vendorId?: InputMaybe<Scalars['String']>;
|
|
2187
2310
|
weight?: InputMaybe<Scalars['Float']>;
|
|
2188
2311
|
};
|
|
2312
|
+
export declare type ProductOption = {
|
|
2313
|
+
__typename?: 'ProductOption';
|
|
2314
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2315
|
+
dateSettings?: Maybe<ProductOptionDateSettings>;
|
|
2316
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2317
|
+
fileSettings?: Maybe<ProductOptionFileSettings>;
|
|
2318
|
+
id: Scalars['ID'];
|
|
2319
|
+
isOptional?: Maybe<Scalars['Boolean']>;
|
|
2320
|
+
name: Scalars['String'];
|
|
2321
|
+
optionalText?: Maybe<Scalars['String']>;
|
|
2322
|
+
order: Scalars['Float'];
|
|
2323
|
+
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
2324
|
+
price?: Maybe<Scalars['Float']>;
|
|
2325
|
+
requiredOptionId?: Maybe<Scalars['String']>;
|
|
2326
|
+
requiredOptionValueIds?: Maybe<Array<Scalars['String']>>;
|
|
2327
|
+
selectSettings?: Maybe<ProductOptionSelectSettings>;
|
|
2328
|
+
textSettings?: Maybe<ProductOptionTextSettings>;
|
|
2329
|
+
type: ProductOptionTypeEnum;
|
|
2330
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2331
|
+
};
|
|
2332
|
+
export declare type ProductOptionDateSettings = {
|
|
2333
|
+
__typename?: 'ProductOptionDateSettings';
|
|
2334
|
+
max?: Maybe<Scalars['Timestamp']>;
|
|
2335
|
+
maxRelativeNextDate?: Maybe<Scalars['Float']>;
|
|
2336
|
+
min?: Maybe<Scalars['Timestamp']>;
|
|
2337
|
+
minRelativeNextDate?: Maybe<Scalars['Float']>;
|
|
2338
|
+
};
|
|
2339
|
+
export declare type ProductOptionFileSettings = {
|
|
2340
|
+
__typename?: 'ProductOptionFileSettings';
|
|
2341
|
+
allowedExtensions?: Maybe<Array<Scalars['String']>>;
|
|
2342
|
+
maxQuantity?: Maybe<Scalars['Float']>;
|
|
2343
|
+
minQuantity?: Maybe<Scalars['Float']>;
|
|
2344
|
+
};
|
|
2345
|
+
export declare type ProductOptionSelectSettings = {
|
|
2346
|
+
__typename?: 'ProductOptionSelectSettings';
|
|
2347
|
+
maxSelect?: Maybe<Scalars['Float']>;
|
|
2348
|
+
minSelect?: Maybe<Scalars['Float']>;
|
|
2349
|
+
type: ProductOptionSelectTypeEnum;
|
|
2350
|
+
values: Array<ProductOptionSelectValue>;
|
|
2351
|
+
};
|
|
2352
|
+
export declare enum ProductOptionSelectTypeEnum {
|
|
2353
|
+
BOX = "BOX",
|
|
2354
|
+
SELECT = "SELECT",
|
|
2355
|
+
SWATCH = "SWATCH"
|
|
2356
|
+
}
|
|
2357
|
+
export declare type ProductOptionSelectValue = {
|
|
2358
|
+
__typename?: 'ProductOptionSelectValue';
|
|
2359
|
+
colorCode?: Maybe<Scalars['String']>;
|
|
2360
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2361
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2362
|
+
id: Scalars['ID'];
|
|
2363
|
+
order: Scalars['Float'];
|
|
2364
|
+
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
2365
|
+
price?: Maybe<Scalars['Float']>;
|
|
2366
|
+
thumbnailImageId?: Maybe<Scalars['String']>;
|
|
2367
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2368
|
+
value: Scalars['String'];
|
|
2369
|
+
};
|
|
2370
|
+
export declare type ProductOptionSelectValueOtherPrice = {
|
|
2371
|
+
__typename?: 'ProductOptionSelectValueOtherPrice';
|
|
2372
|
+
currencyCode: Scalars['String'];
|
|
2373
|
+
price: Scalars['Float'];
|
|
2374
|
+
};
|
|
2375
|
+
export declare type ProductOptionSelectValueTranslations = {
|
|
2376
|
+
__typename?: 'ProductOptionSelectValueTranslations';
|
|
2377
|
+
id: Scalars['String'];
|
|
2378
|
+
value?: Maybe<Scalars['String']>;
|
|
2379
|
+
};
|
|
2380
|
+
export declare type ProductOptionSet = {
|
|
2381
|
+
__typename?: 'ProductOptionSet';
|
|
2382
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2383
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2384
|
+
id: Scalars['ID'];
|
|
2385
|
+
name: Scalars['String'];
|
|
2386
|
+
options: Array<ProductOption>;
|
|
2387
|
+
translations?: Maybe<Array<ProductOptionSetTranslations>>;
|
|
2388
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2389
|
+
};
|
|
2390
|
+
export declare type ProductOptionSetTranslations = {
|
|
2391
|
+
__typename?: 'ProductOptionSetTranslations';
|
|
2392
|
+
locale: Scalars['String'];
|
|
2393
|
+
options?: Maybe<Array<ProductOptionTranslations>>;
|
|
2394
|
+
};
|
|
2395
|
+
export declare type ProductOptionTextSettings = {
|
|
2396
|
+
__typename?: 'ProductOptionTextSettings';
|
|
2397
|
+
max?: Maybe<Scalars['Float']>;
|
|
2398
|
+
min?: Maybe<Scalars['Float']>;
|
|
2399
|
+
};
|
|
2400
|
+
export declare type ProductOptionTranslations = {
|
|
2401
|
+
__typename?: 'ProductOptionTranslations';
|
|
2402
|
+
id: Scalars['String'];
|
|
2403
|
+
name?: Maybe<Scalars['String']>;
|
|
2404
|
+
optionalText?: Maybe<Scalars['String']>;
|
|
2405
|
+
values?: Maybe<Array<ProductOptionSelectValueTranslations>>;
|
|
2406
|
+
};
|
|
2189
2407
|
export declare enum ProductOptionTypeEnum {
|
|
2190
2408
|
CHECKBOX = "CHECKBOX",
|
|
2191
2409
|
CHOICE = "CHOICE",
|
|
@@ -2198,14 +2416,31 @@ export declare enum ProductOptionTypeEnum {
|
|
|
2198
2416
|
}
|
|
2199
2417
|
export declare type ProductPaginationResponse = {
|
|
2200
2418
|
__typename?: 'ProductPaginationResponse';
|
|
2201
|
-
/**
|
|
2419
|
+
/**
|
|
2420
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
2421
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
2422
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
2423
|
+
*/
|
|
2202
2424
|
count: Scalars['Int'];
|
|
2203
2425
|
data: Array<Product>;
|
|
2204
|
-
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
2426
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
|
|
2205
2427
|
hasNext: Scalars['Boolean'];
|
|
2206
|
-
/**
|
|
2428
|
+
/**
|
|
2429
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2430
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2431
|
+
* :::note
|
|
2432
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2433
|
+
* :::
|
|
2434
|
+
*/
|
|
2207
2435
|
limit: Scalars['Int'];
|
|
2208
|
-
/**
|
|
2436
|
+
/**
|
|
2437
|
+
* The number of the page you want to see in the records that return as response.
|
|
2438
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2439
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2440
|
+
* :::note
|
|
2441
|
+
* If no value is entered, default 1 is accepted.
|
|
2442
|
+
* :::
|
|
2443
|
+
*/
|
|
2209
2444
|
page: Scalars['Int'];
|
|
2210
2445
|
};
|
|
2211
2446
|
export declare type ProductPrice = {
|
|
@@ -2268,14 +2503,31 @@ export declare type ProductStockLocationInput = {
|
|
|
2268
2503
|
};
|
|
2269
2504
|
export declare type ProductStockLocationPaginationResponse = {
|
|
2270
2505
|
__typename?: 'ProductStockLocationPaginationResponse';
|
|
2271
|
-
/**
|
|
2506
|
+
/**
|
|
2507
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
2508
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
2509
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
2510
|
+
*/
|
|
2272
2511
|
count: Scalars['Int'];
|
|
2273
2512
|
data: Array<ProductStockLocation>;
|
|
2274
|
-
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is
|
|
2513
|
+
/** In the records returned as Response, it shows whether there are any more records or not. For example, let's say our page field is three and our limit field is thirty. Records between 60 and 90 will be returned. If hasNext is `true` despite these records, **it means there are more records.** If hasNext is `false`, it means there are a total of **90 records.** */
|
|
2275
2514
|
hasNext: Scalars['Boolean'];
|
|
2276
|
-
/**
|
|
2515
|
+
/**
|
|
2516
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2517
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2518
|
+
* :::note
|
|
2519
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2520
|
+
* :::
|
|
2521
|
+
*/
|
|
2277
2522
|
limit: Scalars['Int'];
|
|
2278
|
-
/**
|
|
2523
|
+
/**
|
|
2524
|
+
* The number of the page you want to see in the records that return as response.
|
|
2525
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2526
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2527
|
+
* :::note
|
|
2528
|
+
* If no value is entered, default 1 is accepted.
|
|
2529
|
+
* :::
|
|
2530
|
+
*/
|
|
2279
2531
|
page: Scalars['Int'];
|
|
2280
2532
|
};
|
|
2281
2533
|
export declare type ProductTag = {
|
|
@@ -2387,6 +2639,7 @@ export declare type Query = {
|
|
|
2387
2639
|
* Search applies to following fields: `name`
|
|
2388
2640
|
*/
|
|
2389
2641
|
listProductBrand: Array<ProductBrand>;
|
|
2642
|
+
listProductOptionSet: Array<ProductOptionSet>;
|
|
2390
2643
|
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
2391
2644
|
/** Using this api, you can view the tags of products. */
|
|
2392
2645
|
listProductTag: Array<ProductTag>;
|
|
@@ -2397,7 +2650,7 @@ export declare type Query = {
|
|
|
2397
2650
|
/** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
|
|
2398
2651
|
listStorefrontJSScript: Array<StorefrontJSScript>;
|
|
2399
2652
|
listTown: Array<Town>;
|
|
2400
|
-
/** Using this api, you can view the
|
|
2653
|
+
/** Using this api, you can view the variant types of products. */
|
|
2401
2654
|
listVariantType: Array<VariantType>;
|
|
2402
2655
|
/** Use this query to list active webhooks of your application. */
|
|
2403
2656
|
listWebhook: Array<Webhook>;
|
|
@@ -2464,9 +2717,10 @@ export declare type QuerylistOrderArgs = {
|
|
|
2464
2717
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
2465
2718
|
orderedAt?: InputMaybe<DateFilterInput>;
|
|
2466
2719
|
pagination?: InputMaybe<PaginationInput>;
|
|
2720
|
+
paymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
2467
2721
|
search?: InputMaybe<Scalars['String']>;
|
|
2468
2722
|
sort?: InputMaybe<Scalars['String']>;
|
|
2469
|
-
status?: InputMaybe<
|
|
2723
|
+
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
2470
2724
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2471
2725
|
};
|
|
2472
2726
|
export declare type QuerylistPriceListArgs = {
|
|
@@ -2493,6 +2747,13 @@ export declare type QuerylistProductBrandArgs = {
|
|
|
2493
2747
|
search?: InputMaybe<Scalars['String']>;
|
|
2494
2748
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2495
2749
|
};
|
|
2750
|
+
export declare type QuerylistProductOptionSetArgs = {
|
|
2751
|
+
id?: InputMaybe<StringFilterInput>;
|
|
2752
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2753
|
+
name?: InputMaybe<StringFilterInput>;
|
|
2754
|
+
search?: InputMaybe<Scalars['String']>;
|
|
2755
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2756
|
+
};
|
|
2496
2757
|
export declare type QuerylistProductStockLocationArgs = {
|
|
2497
2758
|
id?: InputMaybe<StringFilterInput>;
|
|
2498
2759
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -2563,8 +2824,11 @@ export declare type SalesChannel = {
|
|
|
2563
2824
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2564
2825
|
};
|
|
2565
2826
|
export declare type SalesChannelInput = {
|
|
2827
|
+
/** The sales channel name field. */
|
|
2566
2828
|
name?: InputMaybe<Scalars['String']>;
|
|
2829
|
+
/** The sales channel priceList field. */
|
|
2567
2830
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
2831
|
+
/** The sales channel stock locations field. */
|
|
2568
2832
|
stockLocations: Array<SalesChannelStockLocationInput>;
|
|
2569
2833
|
};
|
|
2570
2834
|
export declare type SalesChannelPaymentGateway = {
|
|
@@ -2615,7 +2879,12 @@ export declare enum ShippingMethodEnum {
|
|
|
2615
2879
|
export declare enum SourceTypeEnum {
|
|
2616
2880
|
CUSTOMER = "CUSTOMER",
|
|
2617
2881
|
EMAIL = "EMAIL",
|
|
2618
|
-
|
|
2882
|
+
INVENTORY = "INVENTORY",
|
|
2883
|
+
MERCHANT = "MERCHANT",
|
|
2884
|
+
ORDER = "ORDER",
|
|
2885
|
+
PRODUCT = "PRODUCT",
|
|
2886
|
+
STAFF = "STAFF",
|
|
2887
|
+
STOREFRONT = "STOREFRONT"
|
|
2619
2888
|
}
|
|
2620
2889
|
export declare type State = {
|
|
2621
2890
|
__typename?: 'State';
|
|
@@ -2636,6 +2905,10 @@ export declare type StockLocation = {
|
|
|
2636
2905
|
address?: Maybe<StockLocationAddress>;
|
|
2637
2906
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2638
2907
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2908
|
+
/** It is the delivery time of the stock location. */
|
|
2909
|
+
deliveryTime?: Maybe<StockLocationDeliveryTimeEnum>;
|
|
2910
|
+
/** It is the description of the stock location. */
|
|
2911
|
+
description?: Maybe<Scalars['String']>;
|
|
2639
2912
|
id: Scalars['ID'];
|
|
2640
2913
|
/** It is the name of the stock location. */
|
|
2641
2914
|
name: Scalars['String'];
|
|
@@ -2696,6 +2969,15 @@ export declare type StockLocationAddressState = {
|
|
|
2696
2969
|
/** It is the name of the state of the address. */
|
|
2697
2970
|
name?: Maybe<Scalars['String']>;
|
|
2698
2971
|
};
|
|
2972
|
+
/** Stock Location Delivery Time Types */
|
|
2973
|
+
export declare enum StockLocationDeliveryTimeEnum {
|
|
2974
|
+
TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
|
|
2975
|
+
WITHIN_FOUR_HOURS = "WITHIN_FOUR_HOURS",
|
|
2976
|
+
WITHIN_ONE_HOUR = "WITHIN_ONE_HOUR",
|
|
2977
|
+
WITHIN_PLUS_FIVE_DAYS = "WITHIN_PLUS_FIVE_DAYS",
|
|
2978
|
+
WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
|
|
2979
|
+
WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
|
|
2980
|
+
}
|
|
2699
2981
|
/** Stock Location Types */
|
|
2700
2982
|
export declare enum StockLocationTypeEnum {
|
|
2701
2983
|
PHYSICAL = "PHYSICAL",
|
|
@@ -2721,6 +3003,8 @@ export declare type StorefrontJSScript = {
|
|
|
2721
3003
|
isActive: Scalars['Boolean'];
|
|
2722
3004
|
/** The storefront javascript script's name. */
|
|
2723
3005
|
name: Scalars['String'];
|
|
3006
|
+
/** The order of the script to be executed. */
|
|
3007
|
+
order?: Maybe<Scalars['Float']>;
|
|
2724
3008
|
/** The storefront javascript script's content. */
|
|
2725
3009
|
scriptContent: Scalars['String'];
|
|
2726
3010
|
/** The store app's id. */
|
|
@@ -2735,11 +3019,17 @@ export declare type StorefrontJSScriptInput = {
|
|
|
2735
3019
|
storefrontId: Scalars['String'];
|
|
2736
3020
|
};
|
|
2737
3021
|
export declare type StringFilterInput = {
|
|
2738
|
-
/**
|
|
3022
|
+
/** `equal`. The filter used for equality. */
|
|
2739
3023
|
eq?: InputMaybe<Scalars['String']>;
|
|
2740
3024
|
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2741
3025
|
in?: InputMaybe<Array<Scalars['String']>>;
|
|
2742
|
-
/**
|
|
3026
|
+
/**
|
|
3027
|
+
* It allows using regex code in queries.
|
|
3028
|
+
* The following example matches all documents where the name field is like "%AAA":
|
|
3029
|
+
* :::note
|
|
3030
|
+
* Example usage: merchantId: { like: AAA }.
|
|
3031
|
+
* :::
|
|
3032
|
+
*/
|
|
2743
3033
|
like?: InputMaybe<Scalars['String']>;
|
|
2744
3034
|
};
|
|
2745
3035
|
export declare enum SubscriptionCodeEnum {
|
|
@@ -2761,8 +3051,11 @@ export declare enum SubscriptionPriceCurrencyEnum {
|
|
|
2761
3051
|
USD = "USD"
|
|
2762
3052
|
}
|
|
2763
3053
|
export declare type TimelineInput = {
|
|
3054
|
+
/** The message you want to add */
|
|
2764
3055
|
message: Scalars['String'];
|
|
3056
|
+
/** Indicates which source the message added to the timeline belongs to. For example, if a message is added to the timeline for an order, sourceId is the id of the order. The same is true for the customer. */
|
|
2765
3057
|
sourceId: Scalars['String'];
|
|
3058
|
+
/** The message source type you want to add. */
|
|
2766
3059
|
sourceType: SourceTypeEnum;
|
|
2767
3060
|
};
|
|
2768
3061
|
export declare type Town = {
|
|
@@ -2784,7 +3077,7 @@ export declare type TrackingInfo = {
|
|
|
2784
3077
|
barcode?: Maybe<Scalars['String']>;
|
|
2785
3078
|
/** It is the name of the cargo company. */
|
|
2786
3079
|
cargoCompany?: Maybe<Scalars['String']>;
|
|
2787
|
-
/** Indicates whether the notification is sent to the customer after the cargo is delivered.
|
|
3080
|
+
/** Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent. */
|
|
2788
3081
|
isSendNotification?: Maybe<Scalars['Boolean']>;
|
|
2789
3082
|
/** It is the tracking link of the order package. */
|
|
2790
3083
|
trackingLink?: Maybe<Scalars['String']>;
|
|
@@ -2796,7 +3089,7 @@ export declare type TrackingInfoDetailInput = {
|
|
|
2796
3089
|
barcode?: InputMaybe<Scalars['String']>;
|
|
2797
3090
|
/** It is the name of the cargo company. */
|
|
2798
3091
|
cargoCompany?: InputMaybe<Scalars['String']>;
|
|
2799
|
-
/** If the customer is to be informed after the cargo is delivered, this field can be sent as
|
|
3092
|
+
/** If the customer is to be informed after the cargo is delivered, this field can be sent as `true`. */
|
|
2800
3093
|
isSendNotification?: InputMaybe<Scalars['Boolean']>;
|
|
2801
3094
|
/** It is the tracking link of the order package. */
|
|
2802
3095
|
trackingLink?: InputMaybe<Scalars['String']>;
|
|
@@ -2830,7 +3123,7 @@ export declare type UpdateOrderPackageStatusInput = {
|
|
|
2830
3123
|
packages: Array<UpdateOrderPackageStatusPackagesInput>;
|
|
2831
3124
|
};
|
|
2832
3125
|
export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
2833
|
-
/** If the package fulfill status is an
|
|
3126
|
+
/** If the package fulfill status is an `ERROR` , this field can be sent as full. */
|
|
2834
3127
|
errorMessage?: InputMaybe<Scalars['String']>;
|
|
2835
3128
|
/**
|
|
2836
3129
|
* It is the package id whose status will be updated.
|
|
@@ -2856,6 +3149,8 @@ export declare type Variant = {
|
|
|
2856
3149
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
2857
3150
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2858
3151
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3152
|
+
/** Hs code of the variant. */
|
|
3153
|
+
hsCode?: Maybe<Scalars['String']>;
|
|
2859
3154
|
id: Scalars['ID'];
|
|
2860
3155
|
/** List of images for variant. */
|
|
2861
3156
|
images?: Maybe<Array<ProductImage>>;
|
|
@@ -2878,6 +3173,7 @@ export declare type VariantInput = {
|
|
|
2878
3173
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
2879
3174
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2880
3175
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3176
|
+
hsCode?: InputMaybe<Scalars['String']>;
|
|
2881
3177
|
id?: InputMaybe<Scalars['ID']>;
|
|
2882
3178
|
images?: InputMaybe<Array<ProductImageInput>>;
|
|
2883
3179
|
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -2898,28 +3194,28 @@ export declare type VariantType = {
|
|
|
2898
3194
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2899
3195
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2900
3196
|
id: Scalars['ID'];
|
|
2901
|
-
/** Product variant type name information.
|
|
3197
|
+
/** Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters. */
|
|
2902
3198
|
name: Scalars['String'];
|
|
2903
3199
|
/** Product variant type selection type. It can be choice or color. */
|
|
2904
3200
|
selectionType: VariantSelectionTypeEnum;
|
|
2905
3201
|
/** It is the translation information of the product variant types. */
|
|
2906
3202
|
translations?: Maybe<Array<VariantTypeTranslation>>;
|
|
2907
3203
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2908
|
-
/** Variant values used in Variant type.
|
|
3204
|
+
/** Variant values used in Variant type. ** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. **It is unique according to the value name.Values array size must have at least one element. */
|
|
2909
3205
|
values: Array<VariantValue>;
|
|
2910
3206
|
};
|
|
2911
3207
|
export declare type VariantTypeInput = {
|
|
2912
3208
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2913
3209
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2914
3210
|
id?: InputMaybe<Scalars['ID']>;
|
|
2915
|
-
/** Product variant type name information.
|
|
3211
|
+
/** Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters. */
|
|
2916
3212
|
name: Scalars['String'];
|
|
2917
3213
|
/** Product variant type selection type. It can be choice or color. */
|
|
2918
3214
|
selectionType: VariantSelectionTypeEnum;
|
|
2919
3215
|
/** It is the translation information of the product variant types. */
|
|
2920
3216
|
translations?: InputMaybe<Array<VariantTypeTranslationInput>>;
|
|
2921
3217
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2922
|
-
/** Variant values used in Variant type.
|
|
3218
|
+
/** Variant values used in Variant type. ** For example, variant type: Size. Variant values can be thought of as S, M, L, XL. **It is unique according to the value name.Values array size must have at least one element. */
|
|
2923
3219
|
values: Array<VariantValueInput>;
|
|
2924
3220
|
};
|
|
2925
3221
|
export declare type VariantTypeTranslation = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VariantSelectionTypeEnum = exports.SubscriptionPriceCurrencyEnum = exports.SubscriptionPeriodEnum = exports.SubscriptionCodeEnum = exports.StockLocationTypeEnum = exports.SourceTypeEnum = exports.ShippingMethodEnum = exports.SalesChannelTypeEnum = exports.ProductTypeEnum = exports.ProductOptionTypeEnum = exports.ProductAttributeTypeEnum = exports.PaymentMethodTypeEnum = exports.OrderStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderPackageStatusEnum = exports.OrderPackageFulfillStatusEnum = exports.OrderLineItemStatusEnum = exports.MerchantSubscriptionStatusEnum = exports.MerchantSettingsAddressTypeEnum = exports.MerchantRegionEnum = exports.MerchantLimitCodeEnum = exports.MerchantLicenceStatusEnum = exports.MerchantAppPaymentTypeEnum = exports.MerchantAppPaymentStatusEnum = exports.InvoiceTypeEnum = exports.HTMLMetaDataTargetTypeEnum = exports.CustomerEmailSubscriptionStatusesEnum = exports.CustomerAccountStatusEnum = exports.CategoryProductsOrderTypeEnum = exports.CategoryConditionTypeEnum = exports.CancelledReasonEnum = exports.AppScopeEnum = exports.AmountTypeEnum = exports.AdjustmentEnum = void 0;
|
|
3
|
+
exports.VariantSelectionTypeEnum = exports.SubscriptionPriceCurrencyEnum = exports.SubscriptionPeriodEnum = exports.SubscriptionCodeEnum = exports.StockLocationTypeEnum = exports.StockLocationDeliveryTimeEnum = exports.SourceTypeEnum = exports.ShippingMethodEnum = exports.SalesChannelTypeEnum = exports.ProductTypeEnum = exports.ProductOptionTypeEnum = exports.ProductOptionSelectTypeEnum = exports.ProductAttributeTypeEnum = exports.PaymentMethodTypeEnum = exports.OrderStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderPackageStatusEnum = exports.OrderPackageFulfillStatusEnum = exports.OrderLineItemStatusEnum = exports.MerchantSubscriptionStatusEnum = exports.MerchantSettingsAddressTypeEnum = exports.MerchantRegionEnum = exports.MerchantLimitCodeEnum = exports.MerchantLicenceStatusEnum = exports.MerchantAppPaymentTypeEnum = exports.MerchantAppPaymentStatusEnum = exports.InvoiceTypeEnum = exports.HTMLMetaDataTargetTypeEnum = exports.CustomerRegistrationSourceEnum = exports.CustomerEmailSubscriptionStatusesEnum = exports.CustomerAccountStatusEnum = exports.CategoryProductsOrderTypeEnum = exports.CategoryConditionTypeEnum = exports.CancelledReasonEnum = exports.CampaignTypeEnum = exports.AppScopeEnum = exports.AmountTypeEnum = exports.AdjustmentEnum = void 0;
|
|
4
4
|
/** OrderAdjustment Enum */
|
|
5
5
|
var AdjustmentEnum;
|
|
6
6
|
(function (AdjustmentEnum) {
|
|
@@ -28,6 +28,14 @@ var AppScopeEnum;
|
|
|
28
28
|
AppScopeEnum["WRITE_PRODUCTS"] = "WRITE_PRODUCTS";
|
|
29
29
|
AppScopeEnum["WRITE_STOREFRONT"] = "WRITE_STOREFRONT";
|
|
30
30
|
})(AppScopeEnum = exports.AppScopeEnum || (exports.AppScopeEnum = {}));
|
|
31
|
+
/** Campaign Type Enum */
|
|
32
|
+
var CampaignTypeEnum;
|
|
33
|
+
(function (CampaignTypeEnum) {
|
|
34
|
+
CampaignTypeEnum["BUY_X_THEN_GET_Y"] = "BUY_X_THEN_GET_Y";
|
|
35
|
+
CampaignTypeEnum["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
36
|
+
CampaignTypeEnum["FREE_SHIPPING"] = "FREE_SHIPPING";
|
|
37
|
+
CampaignTypeEnum["RATIO"] = "RATIO";
|
|
38
|
+
})(CampaignTypeEnum = exports.CampaignTypeEnum || (exports.CampaignTypeEnum = {}));
|
|
31
39
|
/** Cancelled Reason Enum */
|
|
32
40
|
var CancelledReasonEnum;
|
|
33
41
|
(function (CancelledReasonEnum) {
|
|
@@ -39,6 +47,7 @@ var CancelledReasonEnum;
|
|
|
39
47
|
/** CategoryCondition Types */
|
|
40
48
|
var CategoryConditionTypeEnum;
|
|
41
49
|
(function (CategoryConditionTypeEnum) {
|
|
50
|
+
CategoryConditionTypeEnum["CREATED_AT"] = "CREATED_AT";
|
|
42
51
|
CategoryConditionTypeEnum["DISCOUNTED_PRODUCTS"] = "DISCOUNTED_PRODUCTS";
|
|
43
52
|
CategoryConditionTypeEnum["PRODUCT_BRAND"] = "PRODUCT_BRAND";
|
|
44
53
|
CategoryConditionTypeEnum["PRODUCT_TAG"] = "PRODUCT_TAG";
|
|
@@ -71,6 +80,13 @@ var CustomerEmailSubscriptionStatusesEnum;
|
|
|
71
80
|
CustomerEmailSubscriptionStatusesEnum["PENDING_CONFIRMATION"] = "PENDING_CONFIRMATION";
|
|
72
81
|
CustomerEmailSubscriptionStatusesEnum["SUBSCRIBED"] = "SUBSCRIBED";
|
|
73
82
|
})(CustomerEmailSubscriptionStatusesEnum = exports.CustomerEmailSubscriptionStatusesEnum || (exports.CustomerEmailSubscriptionStatusesEnum = {}));
|
|
83
|
+
/** Customer Registration Source Enum */
|
|
84
|
+
var CustomerRegistrationSourceEnum;
|
|
85
|
+
(function (CustomerRegistrationSourceEnum) {
|
|
86
|
+
CustomerRegistrationSourceEnum["credentials"] = "credentials";
|
|
87
|
+
CustomerRegistrationSourceEnum["facebook"] = "facebook";
|
|
88
|
+
CustomerRegistrationSourceEnum["google"] = "google";
|
|
89
|
+
})(CustomerRegistrationSourceEnum = exports.CustomerRegistrationSourceEnum || (exports.CustomerRegistrationSourceEnum = {}));
|
|
74
90
|
/** Url Slug Target Type Enum Codes */
|
|
75
91
|
var HTMLMetaDataTargetTypeEnum;
|
|
76
92
|
(function (HTMLMetaDataTargetTypeEnum) {
|
|
@@ -172,6 +188,7 @@ var OrderPackageFulfillStatusEnum;
|
|
|
172
188
|
OrderPackageFulfillStatusEnum["DELIVERED"] = "DELIVERED";
|
|
173
189
|
OrderPackageFulfillStatusEnum["ERROR"] = "ERROR";
|
|
174
190
|
OrderPackageFulfillStatusEnum["FULFILLED"] = "FULFILLED";
|
|
191
|
+
OrderPackageFulfillStatusEnum["READY_FOR_PICK_UP"] = "READY_FOR_PICK_UP";
|
|
175
192
|
OrderPackageFulfillStatusEnum["READY_FOR_SHIPMENT"] = "READY_FOR_SHIPMENT";
|
|
176
193
|
OrderPackageFulfillStatusEnum["REFUNDED"] = "REFUNDED";
|
|
177
194
|
OrderPackageFulfillStatusEnum["REFUND_REJECTED"] = "REFUND_REJECTED";
|
|
@@ -190,6 +207,7 @@ var OrderPackageStatusEnum;
|
|
|
190
207
|
OrderPackageStatusEnum["PARTIALLY_DELIVERED"] = "PARTIALLY_DELIVERED";
|
|
191
208
|
OrderPackageStatusEnum["PARTIALLY_FULFILLED"] = "PARTIALLY_FULFILLED";
|
|
192
209
|
OrderPackageStatusEnum["PARTIALLY_REFUNDED"] = "PARTIALLY_REFUNDED";
|
|
210
|
+
OrderPackageStatusEnum["READY_FOR_PICK_UP"] = "READY_FOR_PICK_UP";
|
|
193
211
|
OrderPackageStatusEnum["READY_FOR_SHIPMENT"] = "READY_FOR_SHIPMENT";
|
|
194
212
|
OrderPackageStatusEnum["REFUNDED"] = "REFUNDED";
|
|
195
213
|
OrderPackageStatusEnum["REFUND_REJECTED"] = "REFUND_REJECTED";
|
|
@@ -228,6 +246,7 @@ var PaymentMethodTypeEnum;
|
|
|
228
246
|
PaymentMethodTypeEnum["GIFT_CARD"] = "GIFT_CARD";
|
|
229
247
|
PaymentMethodTypeEnum["MONEY_ORDER"] = "MONEY_ORDER";
|
|
230
248
|
PaymentMethodTypeEnum["OTHER"] = "OTHER";
|
|
249
|
+
PaymentMethodTypeEnum["WALLET"] = "WALLET";
|
|
231
250
|
})(PaymentMethodTypeEnum = exports.PaymentMethodTypeEnum || (exports.PaymentMethodTypeEnum = {}));
|
|
232
251
|
/** ProductAttribute Types */
|
|
233
252
|
var ProductAttributeTypeEnum;
|
|
@@ -242,6 +261,12 @@ var ProductAttributeTypeEnum;
|
|
|
242
261
|
ProductAttributeTypeEnum["TABLE"] = "TABLE";
|
|
243
262
|
ProductAttributeTypeEnum["TEXT"] = "TEXT";
|
|
244
263
|
})(ProductAttributeTypeEnum = exports.ProductAttributeTypeEnum || (exports.ProductAttributeTypeEnum = {}));
|
|
264
|
+
var ProductOptionSelectTypeEnum;
|
|
265
|
+
(function (ProductOptionSelectTypeEnum) {
|
|
266
|
+
ProductOptionSelectTypeEnum["BOX"] = "BOX";
|
|
267
|
+
ProductOptionSelectTypeEnum["SELECT"] = "SELECT";
|
|
268
|
+
ProductOptionSelectTypeEnum["SWATCH"] = "SWATCH";
|
|
269
|
+
})(ProductOptionSelectTypeEnum = exports.ProductOptionSelectTypeEnum || (exports.ProductOptionSelectTypeEnum = {}));
|
|
245
270
|
var ProductOptionTypeEnum;
|
|
246
271
|
(function (ProductOptionTypeEnum) {
|
|
247
272
|
ProductOptionTypeEnum["CHECKBOX"] = "CHECKBOX";
|
|
@@ -281,8 +306,23 @@ var SourceTypeEnum;
|
|
|
281
306
|
(function (SourceTypeEnum) {
|
|
282
307
|
SourceTypeEnum["CUSTOMER"] = "CUSTOMER";
|
|
283
308
|
SourceTypeEnum["EMAIL"] = "EMAIL";
|
|
309
|
+
SourceTypeEnum["INVENTORY"] = "INVENTORY";
|
|
310
|
+
SourceTypeEnum["MERCHANT"] = "MERCHANT";
|
|
284
311
|
SourceTypeEnum["ORDER"] = "ORDER";
|
|
312
|
+
SourceTypeEnum["PRODUCT"] = "PRODUCT";
|
|
313
|
+
SourceTypeEnum["STAFF"] = "STAFF";
|
|
314
|
+
SourceTypeEnum["STOREFRONT"] = "STOREFRONT";
|
|
285
315
|
})(SourceTypeEnum = exports.SourceTypeEnum || (exports.SourceTypeEnum = {}));
|
|
316
|
+
/** Stock Location Delivery Time Types */
|
|
317
|
+
var StockLocationDeliveryTimeEnum;
|
|
318
|
+
(function (StockLocationDeliveryTimeEnum) {
|
|
319
|
+
StockLocationDeliveryTimeEnum["TWO_IN_FOUR_DAYS"] = "TWO_IN_FOUR_DAYS";
|
|
320
|
+
StockLocationDeliveryTimeEnum["WITHIN_FOUR_HOURS"] = "WITHIN_FOUR_HOURS";
|
|
321
|
+
StockLocationDeliveryTimeEnum["WITHIN_ONE_HOUR"] = "WITHIN_ONE_HOUR";
|
|
322
|
+
StockLocationDeliveryTimeEnum["WITHIN_PLUS_FIVE_DAYS"] = "WITHIN_PLUS_FIVE_DAYS";
|
|
323
|
+
StockLocationDeliveryTimeEnum["WITHIN_TWENTY_FOUR_HOURS"] = "WITHIN_TWENTY_FOUR_HOURS";
|
|
324
|
+
StockLocationDeliveryTimeEnum["WITHIN_TWO_HOURS"] = "WITHIN_TWO_HOURS";
|
|
325
|
+
})(StockLocationDeliveryTimeEnum = exports.StockLocationDeliveryTimeEnum || (exports.StockLocationDeliveryTimeEnum = {}));
|
|
286
326
|
/** Stock Location Types */
|
|
287
327
|
var StockLocationTypeEnum;
|
|
288
328
|
(function (StockLocationTypeEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/index.ts"],"names":[],"mappings":";;;AAoCA,2BAA2B;AAC3B,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,uBAAuB;AACvB,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,0BAA0B;AAC1B,IAAY,YAYX;AAZD,WAAY,YAAY;IACtB,iDAAiC,CAAA;IACjC,iDAAiC,CAAA;IACjC,qDAAqC,CAAA;IACrC,2CAA2B,CAAA;IAC3B,+CAA+B,CAAA;IAC/B,mDAAmC,CAAA;IACnC,mDAAmC,CAAA;IACnC,uDAAuC,CAAA;IACvC,6CAA6B,CAAA;IAC7B,iDAAiC,CAAA;IACjC,qDAAqC,CAAA;AACvC,CAAC,EAZW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAYvB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/admin/generated/index.ts"],"names":[],"mappings":";;;AAoCA,2BAA2B;AAC3B,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACzB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,uBAAuB;AACvB,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;AACjB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd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AA;IAC/C,sFAAqD,CAAA;IACrD,sEAAqC,CAAA;AACvC,CAAC,EAPW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAOxC;AAED,2BAA2B;AAC3B,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAuDD,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,6CAAqB,CAAA;IACrB,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,uCAAe,CAAA;AACjB,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,2CAAiB,CAAA;AACnB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,4CAAW,CAAA;IACX,4CAAW,CAAA;IACX,4CAAW,CAAA;AACb,CAAC,EAJW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAIxC;AAmJD,8BAA8B;AAC9B,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,2CAAe,CAAA;AACjB,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -34,6 +34,7 @@ exports.DefaultQueries = {
|
|
|
34
34
|
listDistrict: (0, graphql_request_1.gql)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n query ListDistrict(\n $id: StringFilterInput\n $cityId: StringFilterInput\n $countryId: StringFilterInput\n $stateId: StringFilterInput\n $search: String\n ) {\n listDistrict(id: $id, cityId: $cityId, countryId: $countryId, stateId: $stateId, search: $search) {\n id\n name\n uName\n latitude\n longitude\n order\n cityId\n stateId\n countryId\n }\n }\n "], ["\n query ListDistrict(\n $id: StringFilterInput\n $cityId: StringFilterInput\n $countryId: StringFilterInput\n $stateId: StringFilterInput\n $search: String\n ) {\n listDistrict(id: $id, cityId: $cityId, countryId: $countryId, stateId: $stateId, search: $search) {\n id\n name\n uName\n latitude\n longitude\n order\n cityId\n stateId\n countryId\n }\n }\n "]))),
|
|
35
35
|
listState: (0, graphql_request_1.gql)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n query ListState($id: StringFilterInput, $countryId: StringFilterInput, $search: String) {\n listState(id: $id, countryId: $countryId, search: $search) {\n id\n name\n uName\n stateCode\n countryId\n }\n }\n "], ["\n query ListState($id: StringFilterInput, $countryId: StringFilterInput, $search: String) {\n listState(id: $id, countryId: $countryId, search: $search) {\n id\n name\n uName\n stateCode\n countryId\n }\n }\n "]))),
|
|
36
36
|
listTown: (0, graphql_request_1.gql)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n query ListTown($id: StringFilterInput, $districtId: StringFilterInput, $search: String) {\n listTown(id: $id, districtId: $districtId, search: $search) {\n id\n name\n uName\n order\n districtId\n }\n }\n "], ["\n query ListTown($id: StringFilterInput, $districtId: StringFilterInput, $search: String) {\n listTown(id: $id, districtId: $districtId, search: $search) {\n id\n name\n uName\n order\n districtId\n }\n }\n "]))),
|
|
37
|
+
listProductOptionSet: (0, graphql_request_1.gql)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n query ListProductOptionSet($idArg: StringFilterInput) {\n listProductOptionSet(id: $idArg) {\n deleted\n id\n name\n options {\n dateSettings {\n max\n min\n }\n deleted\n fileSettings {\n allowedExtensions\n maxQuantity\n minQuantity\n }\n id\n isOptional\n name\n optionalText\n requiredOptionId\n requiredOptionValueIds\n order\n price\n selectSettings {\n maxSelect\n minSelect\n type\n values {\n deleted\n id\n order\n price\n value\n thumbnailImageId\n colorCode\n }\n }\n textSettings {\n max\n min\n }\n type\n }\n translations {\n locale\n options {\n id\n name\n optionalText\n values {\n id\n value\n }\n }\n }\n }\n }\n "], ["\n query ListProductOptionSet($idArg: StringFilterInput) {\n listProductOptionSet(id: $idArg) {\n deleted\n id\n name\n options {\n dateSettings {\n max\n min\n }\n deleted\n fileSettings {\n allowedExtensions\n maxQuantity\n minQuantity\n }\n id\n isOptional\n name\n optionalText\n requiredOptionId\n requiredOptionValueIds\n order\n price\n selectSettings {\n maxSelect\n minSelect\n type\n values {\n deleted\n id\n order\n price\n value\n thumbnailImageId\n colorCode\n }\n }\n textSettings {\n max\n min\n }\n type\n }\n translations {\n locale\n options {\n id\n name\n optionalText\n values {\n id\n value\n }\n }\n }\n }\n }\n "]))),
|
|
37
38
|
};
|
|
38
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26;
|
|
39
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27;
|
|
39
40
|
//# sourceMappingURL=query-gql.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-gql.js","sourceRoot":"","sources":["../../../src/api/admin/query-gql.ts"],"names":[],"mappings":";;;;;;;AACA,mDAAsC;AACtC,2CAAkF;AAMrE,QAAA,cAAc,GAAY;IACrC,gBAAgB,MAAE,qBAAG,+PAAA,2LAWpB,IAAA;IACD,kBAAkB,MAAE,qBAAG,mrCAAA,+mCAsDtB,IAA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AAA,wKAWf,IAAA;IAED,cAAc,MAAE,qBAAG,mQAAA,6LAUlB,IAAA;IAED,QAAQ,MAAE,qBAAG,gcAAA,0XAcZ,IAAA;IAED,WAAW,MAAE,qBAAG,ojBAAA,8eAsBf,IAAA;IAED,YAAY,MAAE,qBAAG,yhBAAA,mdAoBhB,IAAA;IAED,SAAS,MAAE,qBAAG,8UAAA,wQAUb,IAAA;IAED,QAAQ,MAAE,qBAAG,4UAAA,sQAUZ,IAAA;IACD,oBAAoB,MAAE,qBAAG,mvCAAA,6qCA2DxB,IAAA;CACF,CAAC"}
|
|
@@ -29,10 +29,11 @@ export declare class AdminQuery implements Queries {
|
|
|
29
29
|
listVariantType(options: QueryOptions<QuerylistVariantTypeArgs>): Promise<Result<Query['listVariantType']>>;
|
|
30
30
|
listWebhook(options: QueryOptions<undefined>): Promise<Result<Query['listWebhook']>>;
|
|
31
31
|
searchProducts(options: QueryOptions<QuerysearchProductsArgs>): Promise<Result<Query['searchProducts']>>;
|
|
32
|
-
listCity(options: QueryOptions<QuerylistCityArgs>): Promise<Result<Query[
|
|
33
|
-
listCountry(options: QueryOptions<QuerylistCountryArgs>): Promise<Result<Query[
|
|
34
|
-
listDistrict(options: QueryOptions<QuerylistDistrictArgs>): Promise<Result<Query[
|
|
35
|
-
listState(options: QueryOptions<QuerylistStateArgs>): Promise<Result<Query[
|
|
36
|
-
listTown(options: QueryOptions<QuerylistTownArgs>): Promise<Result<Query[
|
|
32
|
+
listCity(options: QueryOptions<QuerylistCityArgs>): Promise<Result<Query['listCity']>>;
|
|
33
|
+
listCountry(options: QueryOptions<QuerylistCountryArgs>): Promise<Result<Query['listCountry']>>;
|
|
34
|
+
listDistrict(options: QueryOptions<QuerylistDistrictArgs>): Promise<Result<Query['listDistrict']>>;
|
|
35
|
+
listState(options: QueryOptions<QuerylistStateArgs>): Promise<Result<Query['listState']>>;
|
|
36
|
+
listTown(options: QueryOptions<QuerylistTownArgs>): Promise<Result<Query['listTown']>>;
|
|
37
|
+
listProductOptionSet(options: QueryOptions<any>): Promise<Result<Query['listProductOptionSet']>>;
|
|
37
38
|
}
|
|
38
39
|
export {};
|
package/dist/api/admin/query.js
CHANGED
|
@@ -214,6 +214,9 @@ var AdminQuery = /** @class */ (function () {
|
|
|
214
214
|
AdminQuery.prototype.listTown = function (options) {
|
|
215
215
|
return this.client.query(__assign(__assign({}, options), { operationName: 'listTown' }));
|
|
216
216
|
};
|
|
217
|
+
AdminQuery.prototype.listProductOptionSet = function (options) {
|
|
218
|
+
return this.client.query(__assign(__assign({}, options), { operationName: 'listProductOptionSet' }));
|
|
219
|
+
};
|
|
217
220
|
return AdminQuery;
|
|
218
221
|
}());
|
|
219
222
|
exports.AdminQuery = AdminQuery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/api/admin/query.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;IAGE,oBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAEK,qCAAgB,GAAtB,UAAuB,OAAgC;;;gBACrD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA0C,OAAO,KAAE,aAAa,EAAE,kBAAkB,IAAG,EAAC;;;KACjH;IAEK,gCAAW,GAAjB,UAAkB,OAAgC;;;gBAChD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAqC,OAAO,KAAE,aAAa,EAAE,aAAa,IAAG,EAAC;;;KACvG;IAEK,uCAAkB,GAAxB,UAAyB,OAAgC;;;gBACvD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAA4C,OAAO,KAAE,aAAa,EAAE,oBAAoB,IAAG,EAAC;;;KACrH;IAEK,oCAAe,GAArB,UAAsB,OAAgC;;;gBACpD,sBAAO,IAAI,CAAC,MAAM,CAAC,KAAK,uBAAyC,OAAO,KAAE,aAAa,EAA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