@ikas/api-client 1.0.2 → 1.0.4-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/admin/admin-client.d.ts +3 -3
- package/dist/api/admin/admin-client.js +2 -2
- package/dist/api/admin/admin-client.js.map +1 -1
- package/dist/api/admin/generated/default-gqls.d.ts +66 -0
- package/dist/api/admin/generated/default-gqls.js +70 -0
- package/dist/api/admin/generated/default-gqls.js.map +1 -0
- package/dist/api/admin/generated/index.d.ts +430 -84
- package/dist/api/admin/generated/index.js +41 -1
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/{mutation.d.ts → generated/mutation.d.ts} +4 -3
- package/dist/api/admin/{mutation.js → generated/mutation.js} +7 -0
- package/dist/api/admin/generated/mutation.js.map +1 -0
- package/dist/api/admin/generated/query.d.ts +42 -0
- package/dist/api/admin/{query.js → generated/query.js} +70 -15
- package/dist/api/admin/generated/query.js.map +1 -0
- package/dist/api/admin/index.d.ts +0 -2
- package/dist/api/admin/index.js +0 -2
- package/dist/api/admin/index.js.map +1 -1
- package/dist/api/base.d.ts +8 -3
- package/dist/api/base.js +4 -3
- package/dist/api/base.js.map +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/oauth/models.d.ts +12 -0
- package/dist/helpers/auth-helpers.d.ts +2 -0
- package/dist/helpers/auth-helpers.js +20 -0
- package/dist/helpers/auth-helpers.js.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/index.js.map +1 -1
- package/dist/models/webhook/models.d.ts +1 -1
- package/package.json +2 -2
- package/dist/api/admin/common-gql.d.ts +0 -4
- package/dist/api/admin/common-gql.js +0 -14
- package/dist/api/admin/common-gql.js.map +0 -1
- package/dist/api/admin/mutation-gql.d.ts +0 -6
- package/dist/api/admin/mutation-gql.js +0 -40
- package/dist/api/admin/mutation-gql.js.map +0 -1
- package/dist/api/admin/mutation.js.map +0 -1
- package/dist/api/admin/query-gql.d.ts +0 -6
- package/dist/api/admin/query-gql.js +0 -39
- package/dist/api/admin/query-gql.js.map +0 -1
- package/dist/api/admin/query.d.ts +0 -38
- package/dist/api/admin/query.js.map +0 -1
|
@@ -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
|
};
|
|
@@ -564,8 +582,8 @@ export declare type CustomerAddressState = {
|
|
|
564
582
|
};
|
|
565
583
|
export declare type CustomerAttributeValue = {
|
|
566
584
|
__typename?: 'CustomerAttributeValue';
|
|
567
|
-
customerAttributeId
|
|
568
|
-
customerAttributeOptionId
|
|
585
|
+
customerAttributeId?: Maybe<Scalars['String']>;
|
|
586
|
+
customerAttributeOptionId?: Maybe<Scalars['String']>;
|
|
569
587
|
value?: Maybe<Scalars['String']>;
|
|
570
588
|
};
|
|
571
589
|
/** Customer Email Subscription Statuses */
|
|
@@ -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 = {
|
|
@@ -632,6 +673,13 @@ export declare type FulfillOrderLineInput = {
|
|
|
632
673
|
orderLineItemId: Scalars['String'];
|
|
633
674
|
quantity: Scalars['Float'];
|
|
634
675
|
};
|
|
676
|
+
export declare type GetVideoUploadURLResponse = {
|
|
677
|
+
__typename?: 'GetVideoUploadURLResponse';
|
|
678
|
+
/** Fields object that should be sent with the video file as multipart form-data. */
|
|
679
|
+
fields: Scalars['JSON'];
|
|
680
|
+
/** Upload url for the specified video. */
|
|
681
|
+
url: Scalars['String'];
|
|
682
|
+
};
|
|
635
683
|
export declare type HTMLMetaData = {
|
|
636
684
|
__typename?: 'HTMLMetaData';
|
|
637
685
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -720,6 +768,15 @@ export declare enum InvoiceTypeEnum {
|
|
|
720
768
|
INDIVIDUAL = "INDIVIDUAL",
|
|
721
769
|
OTHER = "OTHER"
|
|
722
770
|
}
|
|
771
|
+
export declare type Language = {
|
|
772
|
+
__typename?: 'Language';
|
|
773
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
774
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
775
|
+
id: Scalars['ID'];
|
|
776
|
+
locale: Scalars['String'];
|
|
777
|
+
name: Scalars['String'];
|
|
778
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
779
|
+
};
|
|
723
780
|
export declare type LocationTranslations = {
|
|
724
781
|
__typename?: 'LocationTranslations';
|
|
725
782
|
en: Scalars['String'];
|
|
@@ -737,11 +794,11 @@ export declare type MeResponse = {
|
|
|
737
794
|
/** The id of the sales channel owned by the merchant. */
|
|
738
795
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
739
796
|
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/
|
|
797
|
+
/** 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
798
|
scopes?: Maybe<Array<AppScopeEnum>>;
|
|
742
799
|
/** The application's id in the store. */
|
|
743
800
|
storeAppId?: Maybe<Scalars['String']>;
|
|
744
|
-
/** It keeps the information that a merchant cn install more than one application. If
|
|
801
|
+
/** It keeps the information that a merchant cn install more than one application. If `true`, merchant can add more than one application. */
|
|
745
802
|
supportsMultipleInstallation?: Maybe<Scalars['Boolean']>;
|
|
746
803
|
};
|
|
747
804
|
export declare type MerchantAddress = {
|
|
@@ -835,14 +892,31 @@ export declare type MerchantAppPaymentInput = {
|
|
|
835
892
|
};
|
|
836
893
|
export declare type MerchantAppPaymentPaginationResponse = {
|
|
837
894
|
__typename?: 'MerchantAppPaymentPaginationResponse';
|
|
838
|
-
/**
|
|
895
|
+
/**
|
|
896
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
897
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
898
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
899
|
+
*/
|
|
839
900
|
count: Scalars['Int'];
|
|
840
901
|
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
|
|
902
|
+
/** 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
903
|
hasNext: Scalars['Boolean'];
|
|
843
|
-
/**
|
|
904
|
+
/**
|
|
905
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
906
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
907
|
+
* :::note
|
|
908
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
909
|
+
* :::
|
|
910
|
+
*/
|
|
844
911
|
limit: Scalars['Int'];
|
|
845
|
-
/**
|
|
912
|
+
/**
|
|
913
|
+
* The number of the page you want to see in the records that return as response.
|
|
914
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
915
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
916
|
+
* :::note
|
|
917
|
+
* If no value is entered, default 1 is accepted.
|
|
918
|
+
* :::
|
|
919
|
+
*/
|
|
846
920
|
page: Scalars['Int'];
|
|
847
921
|
};
|
|
848
922
|
export declare type MerchantAppPaymentPrice = {
|
|
@@ -1048,7 +1122,7 @@ export declare type Mutation = {
|
|
|
1048
1122
|
deleteProductTagList: Scalars['Boolean'];
|
|
1049
1123
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
1050
1124
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
1051
|
-
/** Using this api, you can delete the
|
|
1125
|
+
/** Using this api, you can delete the variant types of products. */
|
|
1052
1126
|
deleteVariantTypeList: Scalars['Boolean'];
|
|
1053
1127
|
/** Use this mutation to delete webhooks by giving `scope` list. */
|
|
1054
1128
|
deleteWebhook: Scalars['Boolean'];
|
|
@@ -1072,7 +1146,9 @@ export declare type Mutation = {
|
|
|
1072
1146
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
1073
1147
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
1074
1148
|
saveStorefrontJSScript: StorefrontJSScript;
|
|
1075
|
-
/**
|
|
1149
|
+
/** Response indicating the status of operation. */
|
|
1150
|
+
saveVariantPrices: Scalars['Boolean'];
|
|
1151
|
+
/** Using this api, you can update the variant types of products. */
|
|
1076
1152
|
saveVariantType: VariantType;
|
|
1077
1153
|
/** 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
1154
|
saveWebhook?: Maybe<Array<Webhook>>;
|
|
@@ -1157,6 +1233,9 @@ export declare type MutationsaveSalesChannelArgs = {
|
|
|
1157
1233
|
export declare type MutationsaveStorefrontJSScriptArgs = {
|
|
1158
1234
|
input: StorefrontJSScriptInput;
|
|
1159
1235
|
};
|
|
1236
|
+
export declare type MutationsaveVariantPricesArgs = {
|
|
1237
|
+
input: SaveVariantPricesInput;
|
|
1238
|
+
};
|
|
1160
1239
|
export declare type MutationsaveVariantTypeArgs = {
|
|
1161
1240
|
input: VariantTypeInput;
|
|
1162
1241
|
};
|
|
@@ -1175,32 +1254,20 @@ export declare type MutationupdateOrderPackageStatusArgs = {
|
|
|
1175
1254
|
export declare type MutationupdateProductSalesChannelStatusArgs = {
|
|
1176
1255
|
input: Array<UpdateProductSalesChannelStatusInput>;
|
|
1177
1256
|
};
|
|
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
1257
|
export declare type Order = {
|
|
1193
1258
|
__typename?: 'Order';
|
|
1194
1259
|
/** It is the billing address of the order. */
|
|
1195
1260
|
billingAddress?: Maybe<OrderAddress>;
|
|
1196
|
-
/** It is the
|
|
1261
|
+
/** It is the `branch` information of the orders created via ikasPOS. */
|
|
1197
1262
|
branch?: Maybe<OrderBranch>;
|
|
1198
|
-
/** It is the
|
|
1263
|
+
/** It is the `branchSession` information of the orders created via ikasPOS. */
|
|
1264
|
+
branchSession?: Maybe<OrderBranchSession>;
|
|
1199
1265
|
branchSessionId?: Maybe<Scalars['String']>;
|
|
1200
1266
|
/** It is the cancel reason of the order. If the order has been cancelled, it indicates the cancellation reason of the order. */
|
|
1201
1267
|
cancelReason?: Maybe<CancelledReasonEnum>;
|
|
1202
1268
|
/** If the order has been cancelled, it indicates the cancellation date of the order. */
|
|
1203
1269
|
cancelledAt?: Maybe<Scalars['Timestamp']>;
|
|
1270
|
+
checkoutId?: Maybe<Scalars['String']>;
|
|
1204
1271
|
/** The client ip address. */
|
|
1205
1272
|
clientIp?: Maybe<Scalars['String']>;
|
|
1206
1273
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1220,7 +1287,7 @@ export declare type Order = {
|
|
|
1220
1287
|
id: Scalars['ID'];
|
|
1221
1288
|
/** A list of invoice objects, each containing information about an invoice. */
|
|
1222
1289
|
invoices?: Maybe<Array<Invoice>>;
|
|
1223
|
-
/** Indicates whether there is a gift package in the order.
|
|
1290
|
+
/** Indicates whether there is a gift package in the order. **isGiftPackage** returns `true` if the order has gift package */
|
|
1224
1291
|
isGiftPackage?: Maybe<Scalars['Boolean']>;
|
|
1225
1292
|
merchantId: Scalars['String'];
|
|
1226
1293
|
/** An optional note, can attach to the order. */
|
|
@@ -1247,9 +1314,9 @@ export declare type Order = {
|
|
|
1247
1314
|
orderedAt?: Maybe<Scalars['Timestamp']>;
|
|
1248
1315
|
/** A list of payment method objects, each containing information about a payment method in the order. */
|
|
1249
1316
|
paymentMethods?: Maybe<Array<OrderPaymentMethod>>;
|
|
1250
|
-
/** Information about the
|
|
1317
|
+
/** Information about the `priceList` used when the order was created. */
|
|
1251
1318
|
priceList?: Maybe<OrderPriceList>;
|
|
1252
|
-
/** Information about the
|
|
1319
|
+
/** Information about the `salesChannel` where the order was created. */
|
|
1253
1320
|
salesChannel: OrderSalesChannel;
|
|
1254
1321
|
/** It is the shipping address of the order. */
|
|
1255
1322
|
shippingAddress?: Maybe<OrderAddress>;
|
|
@@ -1257,21 +1324,23 @@ export declare type Order = {
|
|
|
1257
1324
|
shippingLines?: Maybe<Array<OrderShippingLine>>;
|
|
1258
1325
|
/** It is the shipping method enum of the order */
|
|
1259
1326
|
shippingMethod: ShippingMethodEnum;
|
|
1260
|
-
/** It is the
|
|
1327
|
+
/** It is the `staff` information of the orders created via ikasPOS. */
|
|
1261
1328
|
staff?: Maybe<OrderStaff>;
|
|
1262
1329
|
/** It is the status enum of the order */
|
|
1263
1330
|
status: OrderStatusEnum;
|
|
1264
|
-
/**
|
|
1331
|
+
/** It is the `stock location` information of the orders. */
|
|
1332
|
+
stockLocation?: Maybe<OrderStockLocation>;
|
|
1333
|
+
/** Information about the `storefront` where the order was created. */
|
|
1265
1334
|
storefront?: Maybe<OrderStorefront>;
|
|
1266
|
-
/** Information about the
|
|
1335
|
+
/** Information about the `storefrontRouting` used by the storefront at the time the order was created. */
|
|
1267
1336
|
storefrontRouting?: Maybe<OrderStorefrontRouting>;
|
|
1268
|
-
/** Information about the
|
|
1337
|
+
/** Information about the `storefrontTheme` used by the storefront at the time the order was created. */
|
|
1269
1338
|
storefrontTheme?: Maybe<OrderStorefrontTheme>;
|
|
1270
1339
|
/** A list of tax line objects, tax line objects contain the taxes of the shippingLines, orderLineItems, and giftPackageLines. */
|
|
1271
1340
|
taxLines?: Maybe<Array<OrderTaxLine>>;
|
|
1272
|
-
/** It is the
|
|
1341
|
+
/** It is the `terminalId`` information of the orders created via ikasPOS. */
|
|
1273
1342
|
terminalId?: Maybe<Scalars['String']>;
|
|
1274
|
-
/** The total final price of the order resulting from the apply of
|
|
1343
|
+
/** The total final price of the order resulting from the apply of `orderAdjustments` , `shippingLines`, and `giftPackageLines` pricing to the order total price. */
|
|
1275
1344
|
totalFinalPrice: Scalars['Float'];
|
|
1276
1345
|
/** It is the sum of the net prices of the line items in the order. */
|
|
1277
1346
|
totalPrice: Scalars['Float'];
|
|
@@ -1381,7 +1450,7 @@ export declare type OrderAddressInput = {
|
|
|
1381
1450
|
id?: InputMaybe<Scalars['String']>;
|
|
1382
1451
|
/** The identity number of the person associated with the address. */
|
|
1383
1452
|
identityNumber?: InputMaybe<Scalars['String']>;
|
|
1384
|
-
/** If the address is to be saved as default, this field can be sent as
|
|
1453
|
+
/** If the address is to be saved as default, this field can be sent as `true`. */
|
|
1385
1454
|
isDefault: Scalars['Boolean'];
|
|
1386
1455
|
/** The last name of the person associated with the address */
|
|
1387
1456
|
lastName: Scalars['String'];
|
|
@@ -1419,6 +1488,8 @@ export declare type OrderAdjustment = {
|
|
|
1419
1488
|
appliedOrderLines?: Maybe<Array<OrderAdjustmentAppliedOrderLine>>;
|
|
1420
1489
|
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
1421
1490
|
campaignId?: Maybe<Scalars['String']>;
|
|
1491
|
+
/** If the adjustment is associated to the campaign, it will show the campaign id. */
|
|
1492
|
+
campaignType?: Maybe<CampaignTypeEnum>;
|
|
1422
1493
|
/** It is the coupon id generated depending on the campaign. */
|
|
1423
1494
|
couponId?: Maybe<Scalars['String']>;
|
|
1424
1495
|
/** It is the name of the adjustment. */
|
|
@@ -1456,7 +1527,14 @@ export declare type OrderBranch = {
|
|
|
1456
1527
|
__typename?: 'OrderBranch';
|
|
1457
1528
|
/** It is the id of the branch where the order was created. */
|
|
1458
1529
|
id: Scalars['String'];
|
|
1459
|
-
/** It is the
|
|
1530
|
+
/** It is the name of the branch where the order was created. */
|
|
1531
|
+
name?: Maybe<Scalars['String']>;
|
|
1532
|
+
};
|
|
1533
|
+
export declare type OrderBranchSession = {
|
|
1534
|
+
__typename?: 'OrderBranchSession';
|
|
1535
|
+
/** It is the id of the branch session where the order was created. */
|
|
1536
|
+
id: Scalars['String'];
|
|
1537
|
+
/** It is the name of the branch session where the order was created. */
|
|
1460
1538
|
name?: Maybe<Scalars['String']>;
|
|
1461
1539
|
};
|
|
1462
1540
|
export declare type OrderCurrencyRate = {
|
|
@@ -1474,11 +1552,13 @@ export declare type OrderCustomer = {
|
|
|
1474
1552
|
email?: Maybe<Scalars['String']>;
|
|
1475
1553
|
/** It is the first name of the customer who created the order. */
|
|
1476
1554
|
firstName?: Maybe<Scalars['String']>;
|
|
1555
|
+
/** It is the full name name of the customer who created the order. */
|
|
1556
|
+
fullName?: Maybe<Scalars['String']>;
|
|
1477
1557
|
/** It is the id of the customer who created the order. */
|
|
1478
1558
|
id?: Maybe<Scalars['String']>;
|
|
1479
1559
|
/** It is the identity number of the customer who created the order. */
|
|
1480
1560
|
identityNumber?: Maybe<Scalars['String']>;
|
|
1481
|
-
/** Indicates whether the order was created by a new customer with no email record.
|
|
1561
|
+
/** 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
1562
|
isGuestCheckout?: Maybe<Scalars['Boolean']>;
|
|
1483
1563
|
/** It is the last name of the customer who created the order. */
|
|
1484
1564
|
lastName?: Maybe<Scalars['String']>;
|
|
@@ -1505,6 +1585,9 @@ export declare type OrderLineDiscount = {
|
|
|
1505
1585
|
__typename?: 'OrderLineDiscount';
|
|
1506
1586
|
amount: Scalars['Float'];
|
|
1507
1587
|
amountType: AmountTypeEnum;
|
|
1588
|
+
campaignOfferId?: Maybe<Scalars['String']>;
|
|
1589
|
+
campaignOfferProductId?: Maybe<Scalars['String']>;
|
|
1590
|
+
maxApplicableQuantity?: Maybe<Scalars['Float']>;
|
|
1508
1591
|
reason?: Maybe<Scalars['String']>;
|
|
1509
1592
|
};
|
|
1510
1593
|
export declare type OrderLineDiscountInput = {
|
|
@@ -1512,6 +1595,7 @@ export declare type OrderLineDiscountInput = {
|
|
|
1512
1595
|
amount: Scalars['Float'];
|
|
1513
1596
|
/** It is the amount type enum. */
|
|
1514
1597
|
amountType: AmountTypeEnum;
|
|
1598
|
+
maxApplicableQuantity?: InputMaybe<Scalars['Float']>;
|
|
1515
1599
|
/** It is the reason of the discount. */
|
|
1516
1600
|
reason?: InputMaybe<Scalars['String']>;
|
|
1517
1601
|
};
|
|
@@ -1646,6 +1730,7 @@ export declare type OrderLineVariant = {
|
|
|
1646
1730
|
type?: Maybe<Scalars['Float']>;
|
|
1647
1731
|
/** It is the variant values of the variant. */
|
|
1648
1732
|
variantValues?: Maybe<Array<OrderLineVariantVariantValues>>;
|
|
1733
|
+
weight?: Maybe<Scalars['Float']>;
|
|
1649
1734
|
};
|
|
1650
1735
|
export declare type OrderLineVariantBrand = {
|
|
1651
1736
|
__typename?: 'OrderLineVariantBrand';
|
|
@@ -1733,6 +1818,7 @@ export declare enum OrderPackageFulfillStatusEnum {
|
|
|
1733
1818
|
DELIVERED = "DELIVERED",
|
|
1734
1819
|
ERROR = "ERROR",
|
|
1735
1820
|
FULFILLED = "FULFILLED",
|
|
1821
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
1736
1822
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1737
1823
|
REFUNDED = "REFUNDED",
|
|
1738
1824
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
@@ -1750,6 +1836,7 @@ export declare enum OrderPackageStatusEnum {
|
|
|
1750
1836
|
PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
|
|
1751
1837
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
1752
1838
|
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
1839
|
+
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
1753
1840
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
1754
1841
|
REFUNDED = "REFUNDED",
|
|
1755
1842
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
@@ -1758,16 +1845,39 @@ export declare enum OrderPackageStatusEnum {
|
|
|
1758
1845
|
UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
|
|
1759
1846
|
UNFULFILLED = "UNFULFILLED"
|
|
1760
1847
|
}
|
|
1848
|
+
export declare type OrderPackageStatusEnumInputFilter = {
|
|
1849
|
+
/** `equal`. The filter used for equality. */
|
|
1850
|
+
eq?: InputMaybe<OrderPackageStatusEnum>;
|
|
1851
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1852
|
+
in?: InputMaybe<Array<OrderPackageStatusEnum>>;
|
|
1853
|
+
};
|
|
1761
1854
|
export declare type OrderPaginationResponse = {
|
|
1762
1855
|
__typename?: 'OrderPaginationResponse';
|
|
1763
|
-
/**
|
|
1856
|
+
/**
|
|
1857
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
1858
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
1859
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
1860
|
+
*/
|
|
1764
1861
|
count: Scalars['Int'];
|
|
1765
1862
|
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
|
|
1863
|
+
/** 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
1864
|
hasNext: Scalars['Boolean'];
|
|
1768
|
-
/**
|
|
1865
|
+
/**
|
|
1866
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
1867
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
1868
|
+
* :::note
|
|
1869
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
1870
|
+
* :::
|
|
1871
|
+
*/
|
|
1769
1872
|
limit: Scalars['Int'];
|
|
1770
|
-
/**
|
|
1873
|
+
/**
|
|
1874
|
+
* The number of the page you want to see in the records that return as response.
|
|
1875
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
1876
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
1877
|
+
* :::note
|
|
1878
|
+
* If no value is entered, default 1 is accepted.
|
|
1879
|
+
* :::
|
|
1880
|
+
*/
|
|
1771
1881
|
page: Scalars['Int'];
|
|
1772
1882
|
};
|
|
1773
1883
|
export declare type OrderPaymentMethod = {
|
|
@@ -1787,6 +1897,12 @@ export declare enum OrderPaymentStatusEnum {
|
|
|
1787
1897
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
1788
1898
|
WAITING = "WAITING"
|
|
1789
1899
|
}
|
|
1900
|
+
export declare type OrderPaymentStatusEnumInputFilter = {
|
|
1901
|
+
/** `equal`. The filter used for equality. */
|
|
1902
|
+
eq?: InputMaybe<OrderPaymentStatusEnum>;
|
|
1903
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1904
|
+
in?: InputMaybe<Array<OrderPaymentStatusEnum>>;
|
|
1905
|
+
};
|
|
1790
1906
|
export declare type OrderPriceList = {
|
|
1791
1907
|
__typename?: 'OrderPriceList';
|
|
1792
1908
|
/** It is the id of the price list. */
|
|
@@ -1818,7 +1934,7 @@ export declare type OrderSalesChannel = {
|
|
|
1818
1934
|
};
|
|
1819
1935
|
export declare type OrderShippingLine = {
|
|
1820
1936
|
__typename?: 'OrderShippingLine';
|
|
1821
|
-
/** Indicates whether the shipping cost is refunded if the order is refunded.
|
|
1937
|
+
/** Indicates whether the shipping cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
|
|
1822
1938
|
isRefunded?: Maybe<Scalars['Boolean']>;
|
|
1823
1939
|
/** It is the price of the order shipping line. */
|
|
1824
1940
|
price: Scalars['Float'];
|
|
@@ -1859,6 +1975,19 @@ export declare enum OrderStatusEnum {
|
|
|
1859
1975
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
1860
1976
|
REFUND_REQUESTED = "REFUND_REQUESTED"
|
|
1861
1977
|
}
|
|
1978
|
+
export declare type OrderStatusEnumInputFilter = {
|
|
1979
|
+
/** `equal`. The filter used for equality. */
|
|
1980
|
+
eq?: InputMaybe<OrderStatusEnum>;
|
|
1981
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1982
|
+
in?: InputMaybe<Array<OrderStatusEnum>>;
|
|
1983
|
+
};
|
|
1984
|
+
export declare type OrderStockLocation = {
|
|
1985
|
+
__typename?: 'OrderStockLocation';
|
|
1986
|
+
/** It is the id of the stock location of the merchant. */
|
|
1987
|
+
id: Scalars['String'];
|
|
1988
|
+
/** It is the name of the stock location. */
|
|
1989
|
+
name: Scalars['String'];
|
|
1990
|
+
};
|
|
1862
1991
|
export declare type OrderStorefront = {
|
|
1863
1992
|
__typename?: 'OrderStorefront';
|
|
1864
1993
|
/** It is the storefront id where the order was created. */
|
|
@@ -1902,9 +2031,22 @@ export declare type OrderTransactionInput = {
|
|
|
1902
2031
|
paymentGatewayId?: InputMaybe<Scalars['String']>;
|
|
1903
2032
|
};
|
|
1904
2033
|
export declare type PaginationInput = {
|
|
1905
|
-
/**
|
|
2034
|
+
/**
|
|
2035
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2036
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2037
|
+
* :::note
|
|
2038
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2039
|
+
* :::
|
|
2040
|
+
*/
|
|
1906
2041
|
limit?: InputMaybe<Scalars['Int']>;
|
|
1907
|
-
/**
|
|
2042
|
+
/**
|
|
2043
|
+
* The number of the page you want to see in the records that return as response.
|
|
2044
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2045
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2046
|
+
* :::note
|
|
2047
|
+
* If no value is entered, default 1 is accepted.
|
|
2048
|
+
* :::
|
|
2049
|
+
*/
|
|
1908
2050
|
page?: InputMaybe<Scalars['Int']>;
|
|
1909
2051
|
};
|
|
1910
2052
|
export declare enum PaymentMethodTypeEnum {
|
|
@@ -1916,7 +2058,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
|
1916
2058
|
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
1917
2059
|
GIFT_CARD = "GIFT_CARD",
|
|
1918
2060
|
MONEY_ORDER = "MONEY_ORDER",
|
|
1919
|
-
OTHER = "OTHER"
|
|
2061
|
+
OTHER = "OTHER",
|
|
2062
|
+
WALLET = "WALLET"
|
|
1920
2063
|
}
|
|
1921
2064
|
export declare type PriceList = {
|
|
1922
2065
|
__typename?: 'PriceList';
|
|
@@ -1948,6 +2091,8 @@ export declare type Product = {
|
|
|
1948
2091
|
/** This is the variant type id that can be used to group variants by a specific variant type id. */
|
|
1949
2092
|
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
1950
2093
|
id: Scalars['ID'];
|
|
2094
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
2095
|
+
maxQuantityPerCart?: Maybe<Scalars['Float']>;
|
|
1951
2096
|
/** HTML Metadata identifier of the product. */
|
|
1952
2097
|
metaData?: Maybe<HTMLMetaData>;
|
|
1953
2098
|
/** Unique identifier of the product. */
|
|
@@ -2159,6 +2304,7 @@ export declare type ProductImage = {
|
|
|
2159
2304
|
imageId?: Maybe<Scalars['String']>;
|
|
2160
2305
|
/** Whether the image is main image for the product or not. */
|
|
2161
2306
|
isMain: Scalars['Boolean'];
|
|
2307
|
+
isVideo?: Maybe<Scalars['Boolean']>;
|
|
2162
2308
|
/** Order of the product image. */
|
|
2163
2309
|
order: Scalars['Float'];
|
|
2164
2310
|
};
|
|
@@ -2176,6 +2322,8 @@ export declare type ProductInput = {
|
|
|
2176
2322
|
description?: InputMaybe<Scalars['String']>;
|
|
2177
2323
|
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
2178
2324
|
id?: InputMaybe<Scalars['ID']>;
|
|
2325
|
+
/** Max purchasable quantity of the product for per cart. */
|
|
2326
|
+
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
2179
2327
|
metaData?: InputMaybe<HTMLMetaDataInput>;
|
|
2180
2328
|
name: Scalars['String'];
|
|
2181
2329
|
productOptionSetId?: InputMaybe<Scalars['String']>;
|
|
@@ -2190,6 +2338,101 @@ export declare type ProductInput = {
|
|
|
2190
2338
|
vendorId?: InputMaybe<Scalars['String']>;
|
|
2191
2339
|
weight?: InputMaybe<Scalars['Float']>;
|
|
2192
2340
|
};
|
|
2341
|
+
export declare type ProductOption = {
|
|
2342
|
+
__typename?: 'ProductOption';
|
|
2343
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2344
|
+
dateSettings?: Maybe<ProductOptionDateSettings>;
|
|
2345
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2346
|
+
fileSettings?: Maybe<ProductOptionFileSettings>;
|
|
2347
|
+
id: Scalars['ID'];
|
|
2348
|
+
isOptional?: Maybe<Scalars['Boolean']>;
|
|
2349
|
+
name: Scalars['String'];
|
|
2350
|
+
optionalText?: Maybe<Scalars['String']>;
|
|
2351
|
+
order: Scalars['Float'];
|
|
2352
|
+
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
2353
|
+
price?: Maybe<Scalars['Float']>;
|
|
2354
|
+
requiredOptionId?: Maybe<Scalars['String']>;
|
|
2355
|
+
requiredOptionValueIds?: Maybe<Array<Scalars['String']>>;
|
|
2356
|
+
selectSettings?: Maybe<ProductOptionSelectSettings>;
|
|
2357
|
+
textSettings?: Maybe<ProductOptionTextSettings>;
|
|
2358
|
+
type: ProductOptionTypeEnum;
|
|
2359
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2360
|
+
};
|
|
2361
|
+
export declare type ProductOptionDateSettings = {
|
|
2362
|
+
__typename?: 'ProductOptionDateSettings';
|
|
2363
|
+
max?: Maybe<Scalars['Timestamp']>;
|
|
2364
|
+
maxRelativeNextDate?: Maybe<Scalars['Float']>;
|
|
2365
|
+
min?: Maybe<Scalars['Timestamp']>;
|
|
2366
|
+
minRelativeNextDate?: Maybe<Scalars['Float']>;
|
|
2367
|
+
};
|
|
2368
|
+
export declare type ProductOptionFileSettings = {
|
|
2369
|
+
__typename?: 'ProductOptionFileSettings';
|
|
2370
|
+
allowedExtensions?: Maybe<Array<Scalars['String']>>;
|
|
2371
|
+
maxQuantity?: Maybe<Scalars['Float']>;
|
|
2372
|
+
minQuantity?: Maybe<Scalars['Float']>;
|
|
2373
|
+
};
|
|
2374
|
+
export declare type ProductOptionSelectSettings = {
|
|
2375
|
+
__typename?: 'ProductOptionSelectSettings';
|
|
2376
|
+
maxSelect?: Maybe<Scalars['Float']>;
|
|
2377
|
+
minSelect?: Maybe<Scalars['Float']>;
|
|
2378
|
+
type: ProductOptionSelectTypeEnum;
|
|
2379
|
+
values: Array<ProductOptionSelectValue>;
|
|
2380
|
+
};
|
|
2381
|
+
export declare enum ProductOptionSelectTypeEnum {
|
|
2382
|
+
BOX = "BOX",
|
|
2383
|
+
SELECT = "SELECT",
|
|
2384
|
+
SWATCH = "SWATCH"
|
|
2385
|
+
}
|
|
2386
|
+
export declare type ProductOptionSelectValue = {
|
|
2387
|
+
__typename?: 'ProductOptionSelectValue';
|
|
2388
|
+
colorCode?: Maybe<Scalars['String']>;
|
|
2389
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2390
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2391
|
+
id: Scalars['ID'];
|
|
2392
|
+
order: Scalars['Float'];
|
|
2393
|
+
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
2394
|
+
price?: Maybe<Scalars['Float']>;
|
|
2395
|
+
thumbnailImageId?: Maybe<Scalars['String']>;
|
|
2396
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2397
|
+
value: Scalars['String'];
|
|
2398
|
+
};
|
|
2399
|
+
export declare type ProductOptionSelectValueOtherPrice = {
|
|
2400
|
+
__typename?: 'ProductOptionSelectValueOtherPrice';
|
|
2401
|
+
currencyCode: Scalars['String'];
|
|
2402
|
+
price: Scalars['Float'];
|
|
2403
|
+
};
|
|
2404
|
+
export declare type ProductOptionSelectValueTranslations = {
|
|
2405
|
+
__typename?: 'ProductOptionSelectValueTranslations';
|
|
2406
|
+
id: Scalars['String'];
|
|
2407
|
+
value?: Maybe<Scalars['String']>;
|
|
2408
|
+
};
|
|
2409
|
+
export declare type ProductOptionSet = {
|
|
2410
|
+
__typename?: 'ProductOptionSet';
|
|
2411
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2412
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
2413
|
+
id: Scalars['ID'];
|
|
2414
|
+
name: Scalars['String'];
|
|
2415
|
+
options: Array<ProductOption>;
|
|
2416
|
+
translations?: Maybe<Array<ProductOptionSetTranslations>>;
|
|
2417
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2418
|
+
};
|
|
2419
|
+
export declare type ProductOptionSetTranslations = {
|
|
2420
|
+
__typename?: 'ProductOptionSetTranslations';
|
|
2421
|
+
locale: Scalars['String'];
|
|
2422
|
+
options?: Maybe<Array<ProductOptionTranslations>>;
|
|
2423
|
+
};
|
|
2424
|
+
export declare type ProductOptionTextSettings = {
|
|
2425
|
+
__typename?: 'ProductOptionTextSettings';
|
|
2426
|
+
max?: Maybe<Scalars['Float']>;
|
|
2427
|
+
min?: Maybe<Scalars['Float']>;
|
|
2428
|
+
};
|
|
2429
|
+
export declare type ProductOptionTranslations = {
|
|
2430
|
+
__typename?: 'ProductOptionTranslations';
|
|
2431
|
+
id: Scalars['String'];
|
|
2432
|
+
name?: Maybe<Scalars['String']>;
|
|
2433
|
+
optionalText?: Maybe<Scalars['String']>;
|
|
2434
|
+
values?: Maybe<Array<ProductOptionSelectValueTranslations>>;
|
|
2435
|
+
};
|
|
2193
2436
|
export declare enum ProductOptionTypeEnum {
|
|
2194
2437
|
CHECKBOX = "CHECKBOX",
|
|
2195
2438
|
CHOICE = "CHOICE",
|
|
@@ -2202,14 +2445,31 @@ export declare enum ProductOptionTypeEnum {
|
|
|
2202
2445
|
}
|
|
2203
2446
|
export declare type ProductPaginationResponse = {
|
|
2204
2447
|
__typename?: 'ProductPaginationResponse';
|
|
2205
|
-
/**
|
|
2448
|
+
/**
|
|
2449
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
2450
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
2451
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
2452
|
+
*/
|
|
2206
2453
|
count: Scalars['Int'];
|
|
2207
2454
|
data: Array<Product>;
|
|
2208
|
-
/** 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
|
|
2455
|
+
/** 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.** */
|
|
2209
2456
|
hasNext: Scalars['Boolean'];
|
|
2210
|
-
/**
|
|
2457
|
+
/**
|
|
2458
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2459
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2460
|
+
* :::note
|
|
2461
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2462
|
+
* :::
|
|
2463
|
+
*/
|
|
2211
2464
|
limit: Scalars['Int'];
|
|
2212
|
-
/**
|
|
2465
|
+
/**
|
|
2466
|
+
* The number of the page you want to see in the records that return as response.
|
|
2467
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2468
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2469
|
+
* :::note
|
|
2470
|
+
* If no value is entered, default 1 is accepted.
|
|
2471
|
+
* :::
|
|
2472
|
+
*/
|
|
2213
2473
|
page: Scalars['Int'];
|
|
2214
2474
|
};
|
|
2215
2475
|
export declare type ProductPrice = {
|
|
@@ -2272,14 +2532,31 @@ export declare type ProductStockLocationInput = {
|
|
|
2272
2532
|
};
|
|
2273
2533
|
export declare type ProductStockLocationPaginationResponse = {
|
|
2274
2534
|
__typename?: 'ProductStockLocationPaginationResponse';
|
|
2275
|
-
/**
|
|
2535
|
+
/**
|
|
2536
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
2537
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
2538
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
2539
|
+
*/
|
|
2276
2540
|
count: Scalars['Int'];
|
|
2277
2541
|
data: Array<ProductStockLocation>;
|
|
2278
|
-
/** 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
|
|
2542
|
+
/** 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.** */
|
|
2279
2543
|
hasNext: Scalars['Boolean'];
|
|
2280
|
-
/**
|
|
2544
|
+
/**
|
|
2545
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2546
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2547
|
+
* :::note
|
|
2548
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2549
|
+
* :::
|
|
2550
|
+
*/
|
|
2281
2551
|
limit: Scalars['Int'];
|
|
2282
|
-
/**
|
|
2552
|
+
/**
|
|
2553
|
+
* The number of the page you want to see in the records that return as response.
|
|
2554
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2555
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2556
|
+
* :::note
|
|
2557
|
+
* If no value is entered, default 1 is accepted.
|
|
2558
|
+
* :::
|
|
2559
|
+
*/
|
|
2283
2560
|
page: Scalars['Int'];
|
|
2284
2561
|
};
|
|
2285
2562
|
export declare type ProductTag = {
|
|
@@ -2366,6 +2643,7 @@ export declare type Query = {
|
|
|
2366
2643
|
getMerchantLicence: MerchantLicence;
|
|
2367
2644
|
/** Using this api, you can view your sales channel. */
|
|
2368
2645
|
getSalesChannel?: Maybe<SalesChannel>;
|
|
2646
|
+
getVideoUploadUrl: GetVideoUploadURLResponse;
|
|
2369
2647
|
/**
|
|
2370
2648
|
* Using this api, you can view the categories of products.
|
|
2371
2649
|
* Search applies to following fields: `name`
|
|
@@ -2375,6 +2653,7 @@ export declare type Query = {
|
|
|
2375
2653
|
listCountry: Array<Country>;
|
|
2376
2654
|
listCustomer: CustomerPaginationResponse;
|
|
2377
2655
|
listDistrict: Array<District>;
|
|
2656
|
+
listLanguage: Array<Language>;
|
|
2378
2657
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
2379
2658
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
2380
2659
|
listOrder: OrderPaginationResponse;
|
|
@@ -2391,6 +2670,7 @@ export declare type Query = {
|
|
|
2391
2670
|
* Search applies to following fields: `name`
|
|
2392
2671
|
*/
|
|
2393
2672
|
listProductBrand: Array<ProductBrand>;
|
|
2673
|
+
listProductOptionSet: Array<ProductOptionSet>;
|
|
2394
2674
|
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
2395
2675
|
/** Using this api, you can view the tags of products. */
|
|
2396
2676
|
listProductTag: Array<ProductTag>;
|
|
@@ -2401,7 +2681,7 @@ export declare type Query = {
|
|
|
2401
2681
|
/** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
|
|
2402
2682
|
listStorefrontJSScript: Array<StorefrontJSScript>;
|
|
2403
2683
|
listTown: Array<Town>;
|
|
2404
|
-
/** Using this api, you can view the
|
|
2684
|
+
/** Using this api, you can view the variant types of products. */
|
|
2405
2685
|
listVariantType: Array<VariantType>;
|
|
2406
2686
|
/** Use this query to list active webhooks of your application. */
|
|
2407
2687
|
listWebhook: Array<Webhook>;
|
|
@@ -2413,6 +2693,9 @@ export declare type QuerygetImageUploadUrlArgs = {
|
|
|
2413
2693
|
imageDir?: InputMaybe<Scalars['String']>;
|
|
2414
2694
|
imageId: Scalars['String'];
|
|
2415
2695
|
};
|
|
2696
|
+
export declare type QuerygetVideoUploadUrlArgs = {
|
|
2697
|
+
videoId: Scalars['String'];
|
|
2698
|
+
};
|
|
2416
2699
|
export declare type QuerylistCategoryArgs = {
|
|
2417
2700
|
categoryPath?: InputMaybe<CategoryPathFilterInput>;
|
|
2418
2701
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -2457,6 +2740,9 @@ export declare type QuerylistDistrictArgs = {
|
|
|
2457
2740
|
stateId?: InputMaybe<StringFilterInput>;
|
|
2458
2741
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2459
2742
|
};
|
|
2743
|
+
export declare type QuerylistLanguageArgs = {
|
|
2744
|
+
id?: InputMaybe<StringFilterInput>;
|
|
2745
|
+
};
|
|
2460
2746
|
export declare type QuerylistMerchantAppPaymentArgs = {
|
|
2461
2747
|
id?: InputMaybe<StringFilterInput>;
|
|
2462
2748
|
pagination?: InputMaybe<PaginationInput>;
|
|
@@ -2466,11 +2752,13 @@ export declare type QuerylistOrderArgs = {
|
|
|
2466
2752
|
id?: InputMaybe<StringFilterInput>;
|
|
2467
2753
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2468
2754
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
2755
|
+
orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
|
|
2756
|
+
orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
2469
2757
|
orderedAt?: InputMaybe<DateFilterInput>;
|
|
2470
2758
|
pagination?: InputMaybe<PaginationInput>;
|
|
2471
2759
|
search?: InputMaybe<Scalars['String']>;
|
|
2472
2760
|
sort?: InputMaybe<Scalars['String']>;
|
|
2473
|
-
status?: InputMaybe<
|
|
2761
|
+
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
2474
2762
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2475
2763
|
};
|
|
2476
2764
|
export declare type QuerylistPriceListArgs = {
|
|
@@ -2497,6 +2785,13 @@ export declare type QuerylistProductBrandArgs = {
|
|
|
2497
2785
|
search?: InputMaybe<Scalars['String']>;
|
|
2498
2786
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2499
2787
|
};
|
|
2788
|
+
export declare type QuerylistProductOptionSetArgs = {
|
|
2789
|
+
id?: InputMaybe<StringFilterInput>;
|
|
2790
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
2791
|
+
name?: InputMaybe<StringFilterInput>;
|
|
2792
|
+
search?: InputMaybe<Scalars['String']>;
|
|
2793
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
2794
|
+
};
|
|
2500
2795
|
export declare type QuerylistProductStockLocationArgs = {
|
|
2501
2796
|
id?: InputMaybe<StringFilterInput>;
|
|
2502
2797
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -2567,8 +2862,11 @@ export declare type SalesChannel = {
|
|
|
2567
2862
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2568
2863
|
};
|
|
2569
2864
|
export declare type SalesChannelInput = {
|
|
2865
|
+
/** The sales channel name field. */
|
|
2570
2866
|
name?: InputMaybe<Scalars['String']>;
|
|
2867
|
+
/** The sales channel priceList field. */
|
|
2571
2868
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
2869
|
+
/** The sales channel stock locations field. */
|
|
2572
2870
|
stockLocations: Array<SalesChannelStockLocationInput>;
|
|
2573
2871
|
};
|
|
2574
2872
|
export declare type SalesChannelPaymentGateway = {
|
|
@@ -2599,6 +2897,11 @@ export declare enum SalesChannelTypeEnum {
|
|
|
2599
2897
|
export declare type SaveStockLocationsInput = {
|
|
2600
2898
|
productStockLocationInputs?: InputMaybe<Array<ProductStockLocationInput>>;
|
|
2601
2899
|
};
|
|
2900
|
+
export declare type SaveVariantPricesInput = {
|
|
2901
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
2902
|
+
/** List of variants to be updated. Maximum 3000 entries allowed. */
|
|
2903
|
+
variantPriceInputs: Array<VariantPriceInput>;
|
|
2904
|
+
};
|
|
2602
2905
|
export declare type SearchInput = {
|
|
2603
2906
|
/** Barcode list search products. */
|
|
2604
2907
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -2619,7 +2922,12 @@ export declare enum ShippingMethodEnum {
|
|
|
2619
2922
|
export declare enum SourceTypeEnum {
|
|
2620
2923
|
CUSTOMER = "CUSTOMER",
|
|
2621
2924
|
EMAIL = "EMAIL",
|
|
2622
|
-
|
|
2925
|
+
INVENTORY = "INVENTORY",
|
|
2926
|
+
MERCHANT = "MERCHANT",
|
|
2927
|
+
ORDER = "ORDER",
|
|
2928
|
+
PRODUCT = "PRODUCT",
|
|
2929
|
+
STAFF = "STAFF",
|
|
2930
|
+
STOREFRONT = "STOREFRONT"
|
|
2623
2931
|
}
|
|
2624
2932
|
export declare type State = {
|
|
2625
2933
|
__typename?: 'State';
|
|
@@ -2640,9 +2948,15 @@ export declare type StockLocation = {
|
|
|
2640
2948
|
address?: Maybe<StockLocationAddress>;
|
|
2641
2949
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2642
2950
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2951
|
+
/** It is the delivery time of the stock location. */
|
|
2952
|
+
deliveryTime?: Maybe<StockLocationDeliveryTimeEnum>;
|
|
2953
|
+
/** It is the description of the stock location. */
|
|
2954
|
+
description?: Maybe<Scalars['String']>;
|
|
2643
2955
|
id: Scalars['ID'];
|
|
2956
|
+
isRemindOutOfStockEnabled?: Maybe<Scalars['Boolean']>;
|
|
2644
2957
|
/** It is the name of the stock location. */
|
|
2645
2958
|
name: Scalars['String'];
|
|
2959
|
+
outOfStockMailList?: Maybe<Array<Scalars['String']>>;
|
|
2646
2960
|
/** It is the type enum of the stock location. */
|
|
2647
2961
|
type?: Maybe<StockLocationTypeEnum>;
|
|
2648
2962
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -2700,6 +3014,15 @@ export declare type StockLocationAddressState = {
|
|
|
2700
3014
|
/** It is the name of the state of the address. */
|
|
2701
3015
|
name?: Maybe<Scalars['String']>;
|
|
2702
3016
|
};
|
|
3017
|
+
/** Stock Location Delivery Time Types */
|
|
3018
|
+
export declare enum StockLocationDeliveryTimeEnum {
|
|
3019
|
+
TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
|
|
3020
|
+
WITHIN_FOUR_HOURS = "WITHIN_FOUR_HOURS",
|
|
3021
|
+
WITHIN_ONE_HOUR = "WITHIN_ONE_HOUR",
|
|
3022
|
+
WITHIN_PLUS_FIVE_DAYS = "WITHIN_PLUS_FIVE_DAYS",
|
|
3023
|
+
WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
|
|
3024
|
+
WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
|
|
3025
|
+
}
|
|
2703
3026
|
/** Stock Location Types */
|
|
2704
3027
|
export declare enum StockLocationTypeEnum {
|
|
2705
3028
|
PHYSICAL = "PHYSICAL",
|
|
@@ -2725,6 +3048,8 @@ export declare type StorefrontJSScript = {
|
|
|
2725
3048
|
isActive: Scalars['Boolean'];
|
|
2726
3049
|
/** The storefront javascript script's name. */
|
|
2727
3050
|
name: Scalars['String'];
|
|
3051
|
+
/** The order of the script to be executed. */
|
|
3052
|
+
order?: Maybe<Scalars['Float']>;
|
|
2728
3053
|
/** The storefront javascript script's content. */
|
|
2729
3054
|
scriptContent: Scalars['String'];
|
|
2730
3055
|
/** The store app's id. */
|
|
@@ -2739,11 +3064,17 @@ export declare type StorefrontJSScriptInput = {
|
|
|
2739
3064
|
storefrontId: Scalars['String'];
|
|
2740
3065
|
};
|
|
2741
3066
|
export declare type StringFilterInput = {
|
|
2742
|
-
/**
|
|
3067
|
+
/** `equal`. The filter used for equality. */
|
|
2743
3068
|
eq?: InputMaybe<Scalars['String']>;
|
|
2744
3069
|
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2745
3070
|
in?: InputMaybe<Array<Scalars['String']>>;
|
|
2746
|
-
/**
|
|
3071
|
+
/**
|
|
3072
|
+
* It allows using regex code in queries.
|
|
3073
|
+
* The following example matches all documents where the name field is like "%AAA":
|
|
3074
|
+
* :::note
|
|
3075
|
+
* Example usage: merchantId: { like: AAA }.
|
|
3076
|
+
* :::
|
|
3077
|
+
*/
|
|
2747
3078
|
like?: InputMaybe<Scalars['String']>;
|
|
2748
3079
|
};
|
|
2749
3080
|
export declare enum SubscriptionCodeEnum {
|
|
@@ -2765,8 +3096,11 @@ export declare enum SubscriptionPriceCurrencyEnum {
|
|
|
2765
3096
|
USD = "USD"
|
|
2766
3097
|
}
|
|
2767
3098
|
export declare type TimelineInput = {
|
|
3099
|
+
/** The message you want to add */
|
|
2768
3100
|
message: Scalars['String'];
|
|
3101
|
+
/** 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. */
|
|
2769
3102
|
sourceId: Scalars['String'];
|
|
3103
|
+
/** The message source type you want to add. */
|
|
2770
3104
|
sourceType: SourceTypeEnum;
|
|
2771
3105
|
};
|
|
2772
3106
|
export declare type Town = {
|
|
@@ -2788,7 +3122,7 @@ export declare type TrackingInfo = {
|
|
|
2788
3122
|
barcode?: Maybe<Scalars['String']>;
|
|
2789
3123
|
/** It is the name of the cargo company. */
|
|
2790
3124
|
cargoCompany?: Maybe<Scalars['String']>;
|
|
2791
|
-
/** Indicates whether the notification is sent to the customer after the cargo is delivered.
|
|
3125
|
+
/** Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent. */
|
|
2792
3126
|
isSendNotification?: Maybe<Scalars['Boolean']>;
|
|
2793
3127
|
/** It is the tracking link of the order package. */
|
|
2794
3128
|
trackingLink?: Maybe<Scalars['String']>;
|
|
@@ -2800,7 +3134,7 @@ export declare type TrackingInfoDetailInput = {
|
|
|
2800
3134
|
barcode?: InputMaybe<Scalars['String']>;
|
|
2801
3135
|
/** It is the name of the cargo company. */
|
|
2802
3136
|
cargoCompany?: InputMaybe<Scalars['String']>;
|
|
2803
|
-
/** If the customer is to be informed after the cargo is delivered, this field can be sent as
|
|
3137
|
+
/** If the customer is to be informed after the cargo is delivered, this field can be sent as `true`. */
|
|
2804
3138
|
isSendNotification?: InputMaybe<Scalars['Boolean']>;
|
|
2805
3139
|
/** It is the tracking link of the order package. */
|
|
2806
3140
|
trackingLink?: InputMaybe<Scalars['String']>;
|
|
@@ -2834,7 +3168,7 @@ export declare type UpdateOrderPackageStatusInput = {
|
|
|
2834
3168
|
packages: Array<UpdateOrderPackageStatusPackagesInput>;
|
|
2835
3169
|
};
|
|
2836
3170
|
export declare type UpdateOrderPackageStatusPackagesInput = {
|
|
2837
|
-
/** If the package fulfill status is an
|
|
3171
|
+
/** If the package fulfill status is an `ERROR` , this field can be sent as full. */
|
|
2838
3172
|
errorMessage?: InputMaybe<Scalars['String']>;
|
|
2839
3173
|
/**
|
|
2840
3174
|
* It is the package id whose status will be updated.
|
|
@@ -2860,6 +3194,8 @@ export declare type Variant = {
|
|
|
2860
3194
|
barcodeList?: Maybe<Array<Scalars['String']>>;
|
|
2861
3195
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2862
3196
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3197
|
+
/** Hs code of the variant. */
|
|
3198
|
+
hsCode?: Maybe<Scalars['String']>;
|
|
2863
3199
|
id: Scalars['ID'];
|
|
2864
3200
|
/** List of images for variant. */
|
|
2865
3201
|
images?: Maybe<Array<ProductImage>>;
|
|
@@ -2882,6 +3218,7 @@ export declare type VariantInput = {
|
|
|
2882
3218
|
barcodeList?: InputMaybe<Array<Scalars['String']>>;
|
|
2883
3219
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2884
3220
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3221
|
+
hsCode?: InputMaybe<Scalars['String']>;
|
|
2885
3222
|
id?: InputMaybe<Scalars['ID']>;
|
|
2886
3223
|
images?: InputMaybe<Array<ProductImageInput>>;
|
|
2887
3224
|
isActive?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -2892,6 +3229,15 @@ export declare type VariantInput = {
|
|
|
2892
3229
|
variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
|
|
2893
3230
|
weight?: InputMaybe<Scalars['Float']>;
|
|
2894
3231
|
};
|
|
3232
|
+
export declare type VariantPriceInput = {
|
|
3233
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
3234
|
+
/** New prices info to update. This operation overrides price objects given here. */
|
|
3235
|
+
price: ProductPriceInput;
|
|
3236
|
+
/** Id of the corresponding product. */
|
|
3237
|
+
productId: Scalars['String'];
|
|
3238
|
+
/** Id of the variant that's prices to be updated. */
|
|
3239
|
+
variantId: Scalars['String'];
|
|
3240
|
+
};
|
|
2895
3241
|
/** Variant Selection Types */
|
|
2896
3242
|
export declare enum VariantSelectionTypeEnum {
|
|
2897
3243
|
CHOICE = "CHOICE",
|
|
@@ -2902,28 +3248,28 @@ export declare type VariantType = {
|
|
|
2902
3248
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2903
3249
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
2904
3250
|
id: Scalars['ID'];
|
|
2905
|
-
/** Product variant type name information.
|
|
3251
|
+
/** Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters. */
|
|
2906
3252
|
name: Scalars['String'];
|
|
2907
3253
|
/** Product variant type selection type. It can be choice or color. */
|
|
2908
3254
|
selectionType: VariantSelectionTypeEnum;
|
|
2909
3255
|
/** It is the translation information of the product variant types. */
|
|
2910
3256
|
translations?: Maybe<Array<VariantTypeTranslation>>;
|
|
2911
3257
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2912
|
-
/** Variant values used in Variant type.
|
|
3258
|
+
/** 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. */
|
|
2913
3259
|
values: Array<VariantValue>;
|
|
2914
3260
|
};
|
|
2915
3261
|
export declare type VariantTypeInput = {
|
|
2916
3262
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2917
3263
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2918
3264
|
id?: InputMaybe<Scalars['ID']>;
|
|
2919
|
-
/** Product variant type name information.
|
|
3265
|
+
/** Product variant type name information. **For example: Size, Color, Number etc.**.It can be a maximum of 100 characters. */
|
|
2920
3266
|
name: Scalars['String'];
|
|
2921
3267
|
/** Product variant type selection type. It can be choice or color. */
|
|
2922
3268
|
selectionType: VariantSelectionTypeEnum;
|
|
2923
3269
|
/** It is the translation information of the product variant types. */
|
|
2924
3270
|
translations?: InputMaybe<Array<VariantTypeTranslationInput>>;
|
|
2925
3271
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2926
|
-
/** Variant values used in Variant type.
|
|
3272
|
+
/** 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. */
|
|
2927
3273
|
values: Array<VariantValueInput>;
|
|
2928
3274
|
};
|
|
2929
3275
|
export declare type VariantTypeTranslation = {
|