@ikas/api-client 1.0.20-alpha.0 → 1.0.20-alpha.2
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/generated/default-gqls.d.ts +7 -0
- package/dist/api/admin/generated/default-gqls.js +25 -18
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +474 -7
- package/dist/api/admin/generated/index.js +62 -2
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +5 -1
- package/dist/api/admin/generated/mutation.js +28 -0
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +4 -1
- package/dist/api/admin/generated/query.js +21 -0
- package/dist/api/admin/generated/query.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export declare type Scalars = {
|
|
|
25
25
|
};
|
|
26
26
|
export declare type AbandonedCartFlow = {
|
|
27
27
|
__typename?: 'AbandonedCartFlow';
|
|
28
|
+
authorizedAppId?: Maybe<Scalars['String']>;
|
|
28
29
|
campaignId?: Maybe<Scalars['String']>;
|
|
29
30
|
canApplicable: Scalars['Boolean'];
|
|
30
31
|
couponId?: Maybe<Scalars['String']>;
|
|
@@ -32,19 +33,32 @@ export declare type AbandonedCartFlow = {
|
|
|
32
33
|
flowId: Scalars['String'];
|
|
33
34
|
mailSendDate?: Maybe<Scalars['Timestamp']>;
|
|
34
35
|
mailTranslationId?: Maybe<Scalars['String']>;
|
|
36
|
+
messageType?: Maybe<AbandonedCartSettingsNotificationTypeEnum>;
|
|
35
37
|
recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
|
|
36
38
|
sendAfter: Scalars['Float'];
|
|
39
|
+
smsTranslationId?: Maybe<Scalars['String']>;
|
|
37
40
|
};
|
|
38
41
|
export declare type AbandonedCartFlowCustomerFilter = {
|
|
39
42
|
__typename?: 'AbandonedCartFlowCustomerFilter';
|
|
40
43
|
sendOnlyActiveAccount?: Maybe<Scalars['Boolean']>;
|
|
41
44
|
sendOnlySubscribedToEmail?: Maybe<Scalars['Boolean']>;
|
|
42
45
|
};
|
|
46
|
+
export declare enum AbandonedCartSettingsNotificationTypeEnum {
|
|
47
|
+
EMAIL = "EMAIL",
|
|
48
|
+
SMS = "SMS"
|
|
49
|
+
}
|
|
50
|
+
export declare type AddCouponsInput = {
|
|
51
|
+
campaignId: Scalars['String'];
|
|
52
|
+
coupons?: InputMaybe<Array<NewCouponInput>>;
|
|
53
|
+
generateCoupons?: InputMaybe<GenerateCouponInput>;
|
|
54
|
+
};
|
|
43
55
|
export declare type AddOrderInvoiceInput = {
|
|
44
56
|
/** It is the app id for which the invoice is issued. */
|
|
45
57
|
appId: Scalars['String'];
|
|
46
58
|
/** It is the content of invoice. Is the entered value must be in base64 format. */
|
|
47
|
-
base64
|
|
59
|
+
base64?: InputMaybe<Scalars['String']>;
|
|
60
|
+
/** 'It is data for create invoice. */
|
|
61
|
+
invoiceData?: InputMaybe<Scalars['JSON']>;
|
|
48
62
|
/** It is the number of the order invoice. */
|
|
49
63
|
invoiceNumber: Scalars['String'];
|
|
50
64
|
/**
|
|
@@ -377,21 +391,140 @@ export declare type BundleSettingsModel = {
|
|
|
377
391
|
/** List of products that can be included in the bundle product. */
|
|
378
392
|
products: Array<BundleProductModel>;
|
|
379
393
|
};
|
|
394
|
+
export declare type BuyX = {
|
|
395
|
+
__typename?: 'BuyX';
|
|
396
|
+
amount: Scalars['Float'];
|
|
397
|
+
applyByQuantity: Scalars['Boolean'];
|
|
398
|
+
filter: CampaignFilter;
|
|
399
|
+
};
|
|
400
|
+
export declare type BuyXInput = {
|
|
401
|
+
amount: Scalars['Float'];
|
|
402
|
+
applyByQuantity: Scalars['Boolean'];
|
|
403
|
+
filter: CampaignFilterInput;
|
|
404
|
+
};
|
|
405
|
+
export declare type BuyXThenGetY = {
|
|
406
|
+
__typename?: 'BuyXThenGetY';
|
|
407
|
+
buyX: BuyX;
|
|
408
|
+
getY: GetY;
|
|
409
|
+
maxUsagePerOrder?: Maybe<Scalars['Int']>;
|
|
410
|
+
};
|
|
411
|
+
export declare type BuyXThenGetYInput = {
|
|
412
|
+
buyX: BuyXInput;
|
|
413
|
+
getY: GetYInput;
|
|
414
|
+
maxUsagePerOrder?: InputMaybe<Scalars['Int']>;
|
|
415
|
+
};
|
|
380
416
|
export declare type CSVExportFilterInput = {
|
|
381
417
|
brandId?: InputMaybe<StringFilterInput>;
|
|
382
418
|
categoryIds?: InputMaybe<CategoryFilterInput>;
|
|
383
419
|
salesChannelIds?: InputMaybe<StringFilterInput>;
|
|
420
|
+
stockLocationId?: InputMaybe<StringFilterInput>;
|
|
384
421
|
tagIds?: InputMaybe<StringFilterInput>;
|
|
422
|
+
totalStock?: InputMaybe<NumberFilterInput>;
|
|
423
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
385
424
|
};
|
|
386
425
|
export declare type CSVImportResponse = {
|
|
387
426
|
__typename?: 'CSVImportResponse';
|
|
388
427
|
csvContent?: Maybe<Scalars['String']>;
|
|
389
428
|
isSuccess: Scalars['Boolean'];
|
|
390
429
|
};
|
|
430
|
+
export declare type Campaign = {
|
|
431
|
+
__typename?: 'Campaign';
|
|
432
|
+
applicableCustomerGroupIds?: Maybe<Array<Scalars['String']>>;
|
|
433
|
+
applicableCustomerIds?: Maybe<Array<Scalars['String']>>;
|
|
434
|
+
applicablePrice: CampaignApplicablePriceEnum;
|
|
435
|
+
buyXThenGetY?: Maybe<BuyXThenGetY>;
|
|
436
|
+
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
437
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
438
|
+
createdFor?: Maybe<CampaignCreatedForEnum>;
|
|
439
|
+
currencyCodes?: Maybe<Array<Scalars['String']>>;
|
|
440
|
+
dateRange?: Maybe<CampaignDateRangeField>;
|
|
441
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
442
|
+
fixedDiscount?: Maybe<FixedDiscount>;
|
|
443
|
+
hasCoupon: Scalars['Boolean'];
|
|
444
|
+
id: Scalars['ID'];
|
|
445
|
+
includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
|
|
446
|
+
isFreeShipping?: Maybe<Scalars['Boolean']>;
|
|
447
|
+
onlyUseCustomer?: Maybe<Scalars['Boolean']>;
|
|
448
|
+
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
449
|
+
title: Scalars['String'];
|
|
450
|
+
type: CampaignTypeEnum;
|
|
451
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
452
|
+
usageCount: Scalars['Int'];
|
|
453
|
+
usageLimit?: Maybe<Scalars['Int']>;
|
|
454
|
+
usageLimitPerCustomer?: Maybe<Scalars['Int']>;
|
|
455
|
+
};
|
|
456
|
+
export declare enum CampaignApplicablePriceEnum {
|
|
457
|
+
DISCOUNT_PRICE = "DISCOUNT_PRICE",
|
|
458
|
+
SELL_PRICE = "SELL_PRICE"
|
|
459
|
+
}
|
|
460
|
+
export declare enum CampaignCreatedForEnum {
|
|
461
|
+
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
462
|
+
CART = "CART",
|
|
463
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
|
|
464
|
+
}
|
|
465
|
+
export declare type CampaignDateRangeField = {
|
|
466
|
+
__typename?: 'CampaignDateRangeField';
|
|
467
|
+
end?: Maybe<Scalars['Timestamp']>;
|
|
468
|
+
start?: Maybe<Scalars['Timestamp']>;
|
|
469
|
+
};
|
|
470
|
+
export declare type CampaignDateRangeFieldInput = {
|
|
471
|
+
end?: InputMaybe<Scalars['Timestamp']>;
|
|
472
|
+
start?: InputMaybe<Scalars['Timestamp']>;
|
|
473
|
+
};
|
|
474
|
+
export declare type CampaignFilter = {
|
|
475
|
+
__typename?: 'CampaignFilter';
|
|
476
|
+
idList: Array<Scalars['String']>;
|
|
477
|
+
type: CampaignFilterTypeEnum;
|
|
478
|
+
};
|
|
479
|
+
export declare type CampaignFilterInput = {
|
|
480
|
+
idList: Array<Scalars['String']>;
|
|
481
|
+
type: CampaignFilterTypeEnum;
|
|
482
|
+
};
|
|
483
|
+
export declare enum CampaignFilterTypeEnum {
|
|
484
|
+
CATEGORY = "CATEGORY",
|
|
485
|
+
PRODUCT = "PRODUCT",
|
|
486
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
487
|
+
PRODUCT_TAG = "PRODUCT_TAG",
|
|
488
|
+
VARIANT = "VARIANT"
|
|
489
|
+
}
|
|
490
|
+
export declare type CampaignInput = {
|
|
491
|
+
applicableCustomerGroupIds?: InputMaybe<Array<Scalars['String']>>;
|
|
492
|
+
applicableCustomerIds?: InputMaybe<Array<Scalars['String']>>;
|
|
493
|
+
applicablePrice: CampaignApplicablePriceEnum;
|
|
494
|
+
buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
|
|
495
|
+
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
496
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
497
|
+
createdFor?: InputMaybe<CampaignCreatedForEnum>;
|
|
498
|
+
currencyCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
499
|
+
dateRange?: InputMaybe<CampaignDateRangeFieldInput>;
|
|
500
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
501
|
+
fixedDiscount?: InputMaybe<FixedDiscountInput>;
|
|
502
|
+
hasCoupon: Scalars['Boolean'];
|
|
503
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
504
|
+
includeDiscountedProducts?: InputMaybe<Scalars['Boolean']>;
|
|
505
|
+
isFreeShipping?: InputMaybe<Scalars['Boolean']>;
|
|
506
|
+
onlyUseCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
507
|
+
salesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
508
|
+
title: Scalars['String'];
|
|
509
|
+
type: CampaignTypeEnum;
|
|
510
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
511
|
+
usageLimit?: InputMaybe<Scalars['Int']>;
|
|
512
|
+
usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
|
513
|
+
};
|
|
514
|
+
export declare type CampaignMinMaxRangeField = {
|
|
515
|
+
__typename?: 'CampaignMinMaxRangeField';
|
|
516
|
+
max?: Maybe<Scalars['Float']>;
|
|
517
|
+
min?: Maybe<Scalars['Float']>;
|
|
518
|
+
};
|
|
519
|
+
export declare type CampaignMinMaxRangeFieldInput = {
|
|
520
|
+
max?: InputMaybe<Scalars['Float']>;
|
|
521
|
+
min?: InputMaybe<Scalars['Float']>;
|
|
522
|
+
};
|
|
391
523
|
export declare type CampaignOffer = {
|
|
392
524
|
__typename?: 'CampaignOffer';
|
|
393
525
|
availableSalesChannelIds: Array<Scalars['String']>;
|
|
394
526
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
527
|
+
currencyCodes?: Maybe<Array<Scalars['String']>>;
|
|
395
528
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
396
529
|
endDate?: Maybe<Scalars['Timestamp']>;
|
|
397
530
|
followUpActionType: CampaignOfferFollowUpActionTypeEnum;
|
|
@@ -461,6 +594,35 @@ export declare enum CampaignOfferTypeEnum {
|
|
|
461
594
|
CROSS_SELL = "CROSS_SELL",
|
|
462
595
|
UPSELL = "UPSELL"
|
|
463
596
|
}
|
|
597
|
+
export declare type CampaignPaginationResponse = {
|
|
598
|
+
__typename?: 'CampaignPaginationResponse';
|
|
599
|
+
/**
|
|
600
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
601
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
602
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
603
|
+
*/
|
|
604
|
+
count: Scalars['Int'];
|
|
605
|
+
data: Array<Campaign>;
|
|
606
|
+
/** 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.** */
|
|
607
|
+
hasNext: Scalars['Boolean'];
|
|
608
|
+
/**
|
|
609
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
610
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
611
|
+
* :::note
|
|
612
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
613
|
+
* :::
|
|
614
|
+
*/
|
|
615
|
+
limit: Scalars['Int'];
|
|
616
|
+
/**
|
|
617
|
+
* The number of the page you want to see in the records that return as response.
|
|
618
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
619
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
620
|
+
* :::note
|
|
621
|
+
* If no value is entered, default 1 is accepted.
|
|
622
|
+
* :::
|
|
623
|
+
*/
|
|
624
|
+
page: Scalars['Int'];
|
|
625
|
+
};
|
|
464
626
|
export declare enum CampaignTypeEnum {
|
|
465
627
|
BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
|
|
466
628
|
FIXED_AMOUNT = "FIXED_AMOUNT",
|
|
@@ -548,6 +710,7 @@ export declare type CategoryConditionInput = {
|
|
|
548
710
|
};
|
|
549
711
|
/** CategoryCondition Types */
|
|
550
712
|
export declare enum CategoryConditionTypeEnum {
|
|
713
|
+
CAMPAIGN = "CAMPAIGN",
|
|
551
714
|
CREATED_AT = "CREATED_AT",
|
|
552
715
|
DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
|
|
553
716
|
PRICE_RANGE = "PRICE_RANGE",
|
|
@@ -695,6 +858,48 @@ export declare type Country = {
|
|
|
695
858
|
subregion?: Maybe<Scalars['String']>;
|
|
696
859
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
697
860
|
};
|
|
861
|
+
export declare type Coupon = {
|
|
862
|
+
__typename?: 'Coupon';
|
|
863
|
+
campaignId: Scalars['String'];
|
|
864
|
+
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
865
|
+
code: Scalars['String'];
|
|
866
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
867
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
868
|
+
id: Scalars['ID'];
|
|
869
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
870
|
+
usageCount: Scalars['Int'];
|
|
871
|
+
usageLimit?: Maybe<Scalars['Int']>;
|
|
872
|
+
usageLimitPerCustomer?: Maybe<Scalars['Int']>;
|
|
873
|
+
};
|
|
874
|
+
export declare type CouponPaginationResponse = {
|
|
875
|
+
__typename?: 'CouponPaginationResponse';
|
|
876
|
+
/**
|
|
877
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
878
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
879
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
880
|
+
*/
|
|
881
|
+
count: Scalars['Int'];
|
|
882
|
+
data: Array<Coupon>;
|
|
883
|
+
/** 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.** */
|
|
884
|
+
hasNext: Scalars['Boolean'];
|
|
885
|
+
/**
|
|
886
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
887
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
888
|
+
* :::note
|
|
889
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
890
|
+
* :::
|
|
891
|
+
*/
|
|
892
|
+
limit: Scalars['Int'];
|
|
893
|
+
/**
|
|
894
|
+
* The number of the page you want to see in the records that return as response.
|
|
895
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
896
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
897
|
+
* :::note
|
|
898
|
+
* If no value is entered, default 1 is accepted.
|
|
899
|
+
* :::
|
|
900
|
+
*/
|
|
901
|
+
page: Scalars['Int'];
|
|
902
|
+
};
|
|
698
903
|
export declare type CreateMerchantAppPaymentWithSubscriptionInput = {
|
|
699
904
|
/** It keeps the information of which type of license is obtained. For example: trendyol-app-licence, foriba-app-licence etc. */
|
|
700
905
|
storeAppListingSubscriptionKey: Scalars['String'];
|
|
@@ -885,6 +1090,69 @@ export declare type CustomerAddressState = {
|
|
|
885
1090
|
id?: Maybe<Scalars['String']>;
|
|
886
1091
|
name?: Maybe<Scalars['String']>;
|
|
887
1092
|
};
|
|
1093
|
+
export declare type CustomerAttribute = {
|
|
1094
|
+
__typename?: 'CustomerAttribute';
|
|
1095
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1096
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1097
|
+
description?: Maybe<Scalars['String']>;
|
|
1098
|
+
id: Scalars['ID'];
|
|
1099
|
+
name: Scalars['String'];
|
|
1100
|
+
options?: Maybe<Array<CustomerAttributeOption>>;
|
|
1101
|
+
order?: Maybe<Scalars['Float']>;
|
|
1102
|
+
salesChannels?: Maybe<Array<CustomerAttributeSalesChannel>>;
|
|
1103
|
+
translations?: Maybe<Array<CustomerAttributeTranslation>>;
|
|
1104
|
+
type: CustomerAttributeTypeEnum;
|
|
1105
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1106
|
+
};
|
|
1107
|
+
export declare type CustomerAttributeOption = {
|
|
1108
|
+
__typename?: 'CustomerAttributeOption';
|
|
1109
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1110
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
1111
|
+
id: Scalars['ID'];
|
|
1112
|
+
name: Scalars['String'];
|
|
1113
|
+
order?: Maybe<Scalars['Float']>;
|
|
1114
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1115
|
+
};
|
|
1116
|
+
export declare type CustomerAttributeOptionTranslation = {
|
|
1117
|
+
__typename?: 'CustomerAttributeOptionTranslation';
|
|
1118
|
+
id: Scalars['String'];
|
|
1119
|
+
name?: Maybe<Scalars['String']>;
|
|
1120
|
+
};
|
|
1121
|
+
/** Customer Attribute Permission Types */
|
|
1122
|
+
export declare enum CustomerAttributePermissionEnum {
|
|
1123
|
+
INVISIBLE = "INVISIBLE",
|
|
1124
|
+
READ = "READ",
|
|
1125
|
+
WRITE = "WRITE"
|
|
1126
|
+
}
|
|
1127
|
+
/** Customer Attribute Register Page Requirement Types */
|
|
1128
|
+
export declare enum CustomerAttributeRegisterPageRequirementEnum {
|
|
1129
|
+
INVISIBLE = "INVISIBLE",
|
|
1130
|
+
MANDATORY = "MANDATORY",
|
|
1131
|
+
OPTIONAL = "OPTIONAL"
|
|
1132
|
+
}
|
|
1133
|
+
export declare type CustomerAttributeSalesChannel = {
|
|
1134
|
+
__typename?: 'CustomerAttributeSalesChannel';
|
|
1135
|
+
permission: CustomerAttributePermissionEnum;
|
|
1136
|
+
registerPageRequirement: CustomerAttributeRegisterPageRequirementEnum;
|
|
1137
|
+
salesChannelId: Scalars['String'];
|
|
1138
|
+
storefrontId: Scalars['String'];
|
|
1139
|
+
};
|
|
1140
|
+
export declare type CustomerAttributeTranslation = {
|
|
1141
|
+
__typename?: 'CustomerAttributeTranslation';
|
|
1142
|
+
description?: Maybe<Scalars['String']>;
|
|
1143
|
+
locale: Scalars['String'];
|
|
1144
|
+
name?: Maybe<Scalars['String']>;
|
|
1145
|
+
options?: Maybe<Array<CustomerAttributeOptionTranslation>>;
|
|
1146
|
+
};
|
|
1147
|
+
/** CustomerAttribute Types */
|
|
1148
|
+
export declare enum CustomerAttributeTypeEnum {
|
|
1149
|
+
BOOLEAN = "BOOLEAN",
|
|
1150
|
+
CHOICE = "CHOICE",
|
|
1151
|
+
DATETIME = "DATETIME",
|
|
1152
|
+
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
1153
|
+
NUMERIC = "NUMERIC",
|
|
1154
|
+
TEXT = "TEXT"
|
|
1155
|
+
}
|
|
888
1156
|
export declare type CustomerAttributeValue = {
|
|
889
1157
|
__typename?: 'CustomerAttributeValue';
|
|
890
1158
|
customerAttributeId?: Maybe<Scalars['String']>;
|
|
@@ -971,6 +1239,19 @@ export declare type District = {
|
|
|
971
1239
|
stateId: Scalars['String'];
|
|
972
1240
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
973
1241
|
};
|
|
1242
|
+
export declare type FixedDiscount = {
|
|
1243
|
+
__typename?: 'FixedDiscount';
|
|
1244
|
+
amount?: Maybe<Scalars['Float']>;
|
|
1245
|
+
filters?: Maybe<Array<CampaignFilter>>;
|
|
1246
|
+
lineItemQuantityRange?: Maybe<CampaignMinMaxRangeField>;
|
|
1247
|
+
priceRange?: Maybe<CampaignMinMaxRangeField>;
|
|
1248
|
+
};
|
|
1249
|
+
export declare type FixedDiscountInput = {
|
|
1250
|
+
amount?: InputMaybe<Scalars['Float']>;
|
|
1251
|
+
filters?: InputMaybe<Array<CampaignFilterInput>>;
|
|
1252
|
+
lineItemQuantityRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
1253
|
+
priceRange?: InputMaybe<CampaignMinMaxRangeFieldInput>;
|
|
1254
|
+
};
|
|
974
1255
|
export declare type FulFillOrderInput = {
|
|
975
1256
|
lines: Array<FulfillOrderLineInput>;
|
|
976
1257
|
markAsReadyForShipment?: InputMaybe<Scalars['Boolean']>;
|
|
@@ -982,6 +1263,13 @@ export declare type FulfillOrderLineInput = {
|
|
|
982
1263
|
orderLineItemId: Scalars['String'];
|
|
983
1264
|
quantity: Scalars['Float'];
|
|
984
1265
|
};
|
|
1266
|
+
export declare type GenerateCouponInput = {
|
|
1267
|
+
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
1268
|
+
prefix: Scalars['String'];
|
|
1269
|
+
quantity: Scalars['Int'];
|
|
1270
|
+
usageLimit?: InputMaybe<Scalars['Int']>;
|
|
1271
|
+
usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
|
1272
|
+
};
|
|
985
1273
|
export declare type GetImportJobDataResponse = {
|
|
986
1274
|
__typename?: 'GetImportJobDataResponse';
|
|
987
1275
|
data?: Maybe<Scalars['String']>;
|
|
@@ -996,6 +1284,19 @@ export declare type GetVideoUploadURLResponse = {
|
|
|
996
1284
|
/** Upload url for the specified video. */
|
|
997
1285
|
url: Scalars['String'];
|
|
998
1286
|
};
|
|
1287
|
+
export declare type GetY = {
|
|
1288
|
+
__typename?: 'GetY';
|
|
1289
|
+
amount: Scalars['Float'];
|
|
1290
|
+
automaticallyAddItemToCart?: Maybe<Scalars['Boolean']>;
|
|
1291
|
+
discountRatio: Scalars['Float'];
|
|
1292
|
+
filter: CampaignFilter;
|
|
1293
|
+
};
|
|
1294
|
+
export declare type GetYInput = {
|
|
1295
|
+
amount: Scalars['Float'];
|
|
1296
|
+
automaticallyAddItemToCart?: InputMaybe<Scalars['Boolean']>;
|
|
1297
|
+
discountRatio: Scalars['Float'];
|
|
1298
|
+
filter: CampaignFilterInput;
|
|
1299
|
+
};
|
|
999
1300
|
export declare type GlobalTaxSettings = {
|
|
1000
1301
|
__typename?: 'GlobalTaxSettings';
|
|
1001
1302
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1093,8 +1394,12 @@ export declare type Invoice = {
|
|
|
1093
1394
|
appName: Scalars['String'];
|
|
1094
1395
|
/** It is the id of the order invoice. */
|
|
1095
1396
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1397
|
+
/** It is indicates that the invoice has the pdf. */
|
|
1398
|
+
hasPdf?: Maybe<Scalars['Boolean']>;
|
|
1096
1399
|
/** It is the id of the order invoice. */
|
|
1097
1400
|
id: Scalars['String'];
|
|
1401
|
+
/** It is data of the invoice. */
|
|
1402
|
+
invoiceData?: Maybe<Scalars['JSON']>;
|
|
1098
1403
|
/** It is the id of the order invoice. */
|
|
1099
1404
|
invoiceNumber: Scalars['String'];
|
|
1100
1405
|
/** It is the id of the order invoice. */
|
|
@@ -1379,6 +1684,7 @@ export declare type Mutation = {
|
|
|
1379
1684
|
approvePendingOrderTransactions: Scalars['Boolean'];
|
|
1380
1685
|
/** Response indicating the status of operation. */
|
|
1381
1686
|
bulkUpdateProducts: Scalars['String'];
|
|
1687
|
+
campaignAddCoupons: Array<Coupon>;
|
|
1382
1688
|
/** Use this mutation to cancel the already created package for an order. */
|
|
1383
1689
|
cancelFulfillment: Order;
|
|
1384
1690
|
/** Use this mutation to cancel given order lines. */
|
|
@@ -1389,8 +1695,10 @@ export declare type Mutation = {
|
|
|
1389
1695
|
createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
|
|
1390
1696
|
/** Use this mutation if you want to create a new order with transactions. */
|
|
1391
1697
|
createOrderWithTransactions: Order;
|
|
1698
|
+
deleteCampaignList: Scalars['Boolean'];
|
|
1392
1699
|
/** Using this api, you can delete the categories of products. */
|
|
1393
1700
|
deleteCategoryList: Scalars['Boolean'];
|
|
1701
|
+
deleteCouponList: Scalars['String'];
|
|
1394
1702
|
deleteOrderTagList: Scalars['Boolean'];
|
|
1395
1703
|
/** Use this mutation to delete product attributes with specific ids. */
|
|
1396
1704
|
deleteProductAttributeList: Scalars['Boolean'];
|
|
@@ -1418,6 +1726,7 @@ export declare type Mutation = {
|
|
|
1418
1726
|
/** Use this mutation to refund given order lines. */
|
|
1419
1727
|
refundOrderLine: Order;
|
|
1420
1728
|
removeOrderTag: Scalars['Boolean'];
|
|
1729
|
+
saveCampaign: Campaign;
|
|
1421
1730
|
/** Using this api, you can update the categories of products. */
|
|
1422
1731
|
saveCategory: Category;
|
|
1423
1732
|
saveOrderTag: OrderTag;
|
|
@@ -1470,6 +1779,9 @@ export declare type MutationapprovePendingOrderTransactionsArgs = {
|
|
|
1470
1779
|
export declare type MutationbulkUpdateProductsArgs = {
|
|
1471
1780
|
input: Array<BulkUpdateProductsInput>;
|
|
1472
1781
|
};
|
|
1782
|
+
export declare type MutationcampaignAddCouponsArgs = {
|
|
1783
|
+
input: AddCouponsInput;
|
|
1784
|
+
};
|
|
1473
1785
|
export declare type MutationcancelFulfillmentArgs = {
|
|
1474
1786
|
input: CancelFulfillmentInput;
|
|
1475
1787
|
};
|
|
@@ -1485,9 +1797,15 @@ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
|
|
|
1485
1797
|
export declare type MutationcreateOrderWithTransactionsArgs = {
|
|
1486
1798
|
input: CreateOrderWithTransactionsInput;
|
|
1487
1799
|
};
|
|
1800
|
+
export declare type MutationdeleteCampaignListArgs = {
|
|
1801
|
+
idList: Array<Scalars['String']>;
|
|
1802
|
+
};
|
|
1488
1803
|
export declare type MutationdeleteCategoryListArgs = {
|
|
1489
1804
|
idList: Array<Scalars['String']>;
|
|
1490
1805
|
};
|
|
1806
|
+
export declare type MutationdeleteCouponListArgs = {
|
|
1807
|
+
idList: Array<Scalars['String']>;
|
|
1808
|
+
};
|
|
1491
1809
|
export declare type MutationdeleteOrderTagListArgs = {
|
|
1492
1810
|
idList: Array<Scalars['String']>;
|
|
1493
1811
|
};
|
|
@@ -1526,6 +1844,7 @@ export declare type MutationgetAppDemoDayArgs = {
|
|
|
1526
1844
|
};
|
|
1527
1845
|
export declare type MutationproductAttributeImportArgs = {
|
|
1528
1846
|
file: Scalars['String'];
|
|
1847
|
+
fileType?: InputMaybe<ProductImportFileType>;
|
|
1529
1848
|
};
|
|
1530
1849
|
export declare type MutationrefundOrderLineArgs = {
|
|
1531
1850
|
input: OrderRefundInput;
|
|
@@ -1533,6 +1852,9 @@ export declare type MutationrefundOrderLineArgs = {
|
|
|
1533
1852
|
export declare type MutationremoveOrderTagArgs = {
|
|
1534
1853
|
input: UpdateOrderTagInput;
|
|
1535
1854
|
};
|
|
1855
|
+
export declare type MutationsaveCampaignArgs = {
|
|
1856
|
+
input: CampaignInput;
|
|
1857
|
+
};
|
|
1536
1858
|
export declare type MutationsaveCategoryArgs = {
|
|
1537
1859
|
input: CategoryInput;
|
|
1538
1860
|
};
|
|
@@ -1590,6 +1912,32 @@ export declare type MutationupdateProductSalesChannelStatusArgs = {
|
|
|
1590
1912
|
};
|
|
1591
1913
|
export declare type MutationvariantAttributeImportArgs = {
|
|
1592
1914
|
file: Scalars['String'];
|
|
1915
|
+
fileType?: InputMaybe<ProductImportFileType>;
|
|
1916
|
+
};
|
|
1917
|
+
export declare type NewCouponInput = {
|
|
1918
|
+
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
1919
|
+
code: Scalars['String'];
|
|
1920
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1921
|
+
usageLimit?: InputMaybe<Scalars['Int']>;
|
|
1922
|
+
usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
|
1923
|
+
};
|
|
1924
|
+
export declare type NumberFilterInput = {
|
|
1925
|
+
/** `equal`. The filter used for equality. */
|
|
1926
|
+
eq?: InputMaybe<Scalars['Float']>;
|
|
1927
|
+
/** `greater than` selects the documents where the value of the `input` is greater than to (** i.e. > **) a specified value (e.g. value.) */
|
|
1928
|
+
gt?: InputMaybe<Scalars['Float']>;
|
|
1929
|
+
/** `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.) */
|
|
1930
|
+
gte?: InputMaybe<Scalars['Float']>;
|
|
1931
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
1932
|
+
in?: InputMaybe<Array<Scalars['Float']>>;
|
|
1933
|
+
/** `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.) */
|
|
1934
|
+
lt?: InputMaybe<Scalars['Float']>;
|
|
1935
|
+
/** `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.) */
|
|
1936
|
+
lte?: InputMaybe<Scalars['Float']>;
|
|
1937
|
+
/** `not equal`. The filter used for not equality. */
|
|
1938
|
+
ne?: InputMaybe<Scalars['Float']>;
|
|
1939
|
+
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
1940
|
+
nin?: InputMaybe<Array<Scalars['Float']>>;
|
|
1593
1941
|
};
|
|
1594
1942
|
export declare type Order = {
|
|
1595
1943
|
__typename?: 'Order';
|
|
@@ -2000,6 +2348,8 @@ export declare type OrderLineBundleVariant = {
|
|
|
2000
2348
|
slug?: Maybe<Scalars['String']>;
|
|
2001
2349
|
/** It is the the tag id list */
|
|
2002
2350
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
2351
|
+
/** A list of tag objects, each containing information about a tag in the variant. */
|
|
2352
|
+
tags?: Maybe<Array<OrderLineVariantTag>>;
|
|
2003
2353
|
/**
|
|
2004
2354
|
* It is the tax value of the variant.
|
|
2005
2355
|
* @deprecated Will be removed use OrderLineItem.taxValue
|
|
@@ -2163,6 +2513,8 @@ export declare type OrderLineVariant = {
|
|
|
2163
2513
|
slug?: Maybe<Scalars['String']>;
|
|
2164
2514
|
/** It is the the tag id list */
|
|
2165
2515
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
2516
|
+
/** A list of tag objects, each containing information about a tag in the variant. */
|
|
2517
|
+
tags?: Maybe<Array<OrderLineVariantTag>>;
|
|
2166
2518
|
/**
|
|
2167
2519
|
* It is the tax value of the variant.
|
|
2168
2520
|
* @deprecated Will be removed use OrderLineItem.taxValue
|
|
@@ -2244,6 +2596,13 @@ export declare type OrderLineVariantPrice = {
|
|
|
2244
2596
|
/** It is the unit price of variant. */
|
|
2245
2597
|
unitPrice?: Maybe<Scalars['Float']>;
|
|
2246
2598
|
};
|
|
2599
|
+
export declare type OrderLineVariantTag = {
|
|
2600
|
+
__typename?: 'OrderLineVariantTag';
|
|
2601
|
+
/** It is the id of the tag of the variant. */
|
|
2602
|
+
id: Scalars['String'];
|
|
2603
|
+
/** It is the name of the tag. */
|
|
2604
|
+
name: Scalars['String'];
|
|
2605
|
+
};
|
|
2247
2606
|
export declare type OrderLineVariantUnit = {
|
|
2248
2607
|
__typename?: 'OrderLineVariantUnit';
|
|
2249
2608
|
/** It is the amount of the unit. */
|
|
@@ -2378,6 +2737,16 @@ export declare type OrderPaymentMethod = {
|
|
|
2378
2737
|
/** It is the type enum of the order payment method. */
|
|
2379
2738
|
type: PaymentMethodTypeEnum;
|
|
2380
2739
|
};
|
|
2740
|
+
export declare type OrderPaymentMethodEnumFilterInput = {
|
|
2741
|
+
/** `equal`. The filter used for equality. */
|
|
2742
|
+
eq?: InputMaybe<PaymentMethodTypeEnum>;
|
|
2743
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2744
|
+
in?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
|
|
2745
|
+
/** `not equal`. The filter used for not equality. */
|
|
2746
|
+
ne?: InputMaybe<PaymentMethodTypeEnum>;
|
|
2747
|
+
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
2748
|
+
nin?: InputMaybe<Array<InputMaybe<PaymentMethodTypeEnum>>>;
|
|
2749
|
+
};
|
|
2381
2750
|
export declare enum OrderPaymentStatusEnum {
|
|
2382
2751
|
PAID = "PAID",
|
|
2383
2752
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
@@ -2492,6 +2861,16 @@ export declare enum OrderShippingMethodEnum {
|
|
|
2492
2861
|
NO_SHIPMENT = "NO_SHIPMENT",
|
|
2493
2862
|
SHIPMENT = "SHIPMENT"
|
|
2494
2863
|
}
|
|
2864
|
+
export declare type OrderShippingMethodEnumFilterInput = {
|
|
2865
|
+
/** `equal`. The filter used for equality. */
|
|
2866
|
+
eq?: InputMaybe<OrderShippingMethodEnum>;
|
|
2867
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2868
|
+
in?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
|
|
2869
|
+
/** `not equal`. The filter used for not equality. */
|
|
2870
|
+
ne?: InputMaybe<OrderShippingMethodEnum>;
|
|
2871
|
+
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
2872
|
+
nin?: InputMaybe<Array<InputMaybe<OrderShippingMethodEnum>>>;
|
|
2873
|
+
};
|
|
2495
2874
|
export declare type OrderStaff = {
|
|
2496
2875
|
__typename?: 'OrderStaff';
|
|
2497
2876
|
/** It is the email of the staff who created the order. */
|
|
@@ -2614,14 +2993,18 @@ export declare type PaginationInput = {
|
|
|
2614
2993
|
};
|
|
2615
2994
|
export declare enum PaymentMethodTypeEnum {
|
|
2616
2995
|
APP_PAYMENT = "APP_PAYMENT",
|
|
2996
|
+
BANK_REDIRECT = "BANK_REDIRECT",
|
|
2617
2997
|
BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
|
|
2618
2998
|
CASH = "CASH",
|
|
2619
2999
|
CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
|
|
2620
3000
|
CREDIT_CARD = "CREDIT_CARD",
|
|
2621
3001
|
CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
|
|
3002
|
+
DIRECT_DEBIT = "DIRECT_DEBIT",
|
|
2622
3003
|
GIFT_CARD = "GIFT_CARD",
|
|
2623
3004
|
MONEY_ORDER = "MONEY_ORDER",
|
|
2624
3005
|
OTHER = "OTHER",
|
|
3006
|
+
PAY_LATER = "PAY_LATER",
|
|
3007
|
+
SLICE_IT = "SLICE_IT",
|
|
2625
3008
|
WALLET = "WALLET"
|
|
2626
3009
|
}
|
|
2627
3010
|
export declare type PriceList = {
|
|
@@ -2679,6 +3062,7 @@ export declare type Product = {
|
|
|
2679
3062
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
2680
3063
|
/** List of product tags. */
|
|
2681
3064
|
tags?: Maybe<Array<SimpleProductTag>>;
|
|
3065
|
+
totalStock?: Maybe<Scalars['Float']>;
|
|
2682
3066
|
/** Translations for the product. */
|
|
2683
3067
|
translations?: Maybe<Array<ProductTranslation>>;
|
|
2684
3068
|
/** Type of the product. */
|
|
@@ -2903,6 +3287,11 @@ export declare type ProductImageInput = {
|
|
|
2903
3287
|
isVideo?: InputMaybe<Scalars['Boolean']>;
|
|
2904
3288
|
order: Scalars['Float'];
|
|
2905
3289
|
};
|
|
3290
|
+
export declare enum ProductImportFileType {
|
|
3291
|
+
CSV = "CSV",
|
|
3292
|
+
XLS = "XLS",
|
|
3293
|
+
XLSX = "XLSX"
|
|
3294
|
+
}
|
|
2906
3295
|
export declare type ProductInput = {
|
|
2907
3296
|
attributes?: InputMaybe<Array<ProductAttributeValueInput>>;
|
|
2908
3297
|
baseUnit?: InputMaybe<ProductBaseUnitModelInput>;
|
|
@@ -2913,6 +3302,7 @@ export declare type ProductInput = {
|
|
|
2913
3302
|
description?: InputMaybe<Scalars['String']>;
|
|
2914
3303
|
googleTaxonomyId?: InputMaybe<Scalars['String']>;
|
|
2915
3304
|
groupVariantsByVariantTypeId?: InputMaybe<Scalars['String']>;
|
|
3305
|
+
hiddenSalesChannelIds?: InputMaybe<Array<Scalars['String']>>;
|
|
2916
3306
|
id?: InputMaybe<Scalars['ID']>;
|
|
2917
3307
|
/** Max purchasable quantity of the product for per cart. */
|
|
2918
3308
|
maxQuantityPerCart?: InputMaybe<Scalars['Float']>;
|
|
@@ -3087,6 +3477,13 @@ export declare type ProductPriceInput = {
|
|
|
3087
3477
|
priceListId?: InputMaybe<Scalars['String']>;
|
|
3088
3478
|
sellPrice: Scalars['Float'];
|
|
3089
3479
|
};
|
|
3480
|
+
export declare type ProductSearchCustomerReviewSummaries = {
|
|
3481
|
+
__typename?: 'ProductSearchCustomerReviewSummaries';
|
|
3482
|
+
averageRating?: Maybe<Scalars['Float']>;
|
|
3483
|
+
reviewCount?: Maybe<Scalars['Float']>;
|
|
3484
|
+
stars?: Maybe<Array<SearchProductCustomerReviewStar>>;
|
|
3485
|
+
storefrontId?: Maybe<Scalars['String']>;
|
|
3486
|
+
};
|
|
3090
3487
|
export declare type ProductSearchResponse = {
|
|
3091
3488
|
__typename?: 'ProductSearchResponse';
|
|
3092
3489
|
/** Number of search results listed in current page. */
|
|
@@ -3322,6 +3719,7 @@ export declare type Query = {
|
|
|
3322
3719
|
getSalesChannel?: Maybe<SalesChannel>;
|
|
3323
3720
|
getVideoUploadUrl: GetVideoUploadURLResponse;
|
|
3324
3721
|
listBranch: Array<Branch>;
|
|
3722
|
+
listCampaign: CampaignPaginationResponse;
|
|
3325
3723
|
/**
|
|
3326
3724
|
* Using this api, you can view the categories of products.
|
|
3327
3725
|
* Search applies to following fields: `name`
|
|
@@ -3329,7 +3727,9 @@ export declare type Query = {
|
|
|
3329
3727
|
listCategory: Array<Category>;
|
|
3330
3728
|
listCity: Array<City>;
|
|
3331
3729
|
listCountry: Array<Country>;
|
|
3730
|
+
listCoupon: CouponPaginationResponse;
|
|
3332
3731
|
listCustomer: CustomerPaginationResponse;
|
|
3732
|
+
listCustomerAttribute: Array<CustomerAttribute>;
|
|
3333
3733
|
listDistrict: Array<District>;
|
|
3334
3734
|
listLanguage: Array<Language>;
|
|
3335
3735
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
@@ -3393,6 +3793,13 @@ export declare type QuerylistBranchArgs = {
|
|
|
3393
3793
|
salesChannelId?: InputMaybe<StringFilterInput>;
|
|
3394
3794
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3395
3795
|
};
|
|
3796
|
+
export declare type QuerylistCampaignArgs = {
|
|
3797
|
+
id?: InputMaybe<StringFilterInput>;
|
|
3798
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3799
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3800
|
+
search?: InputMaybe<Scalars['String']>;
|
|
3801
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3802
|
+
};
|
|
3396
3803
|
export declare type QuerylistCategoryArgs = {
|
|
3397
3804
|
categoryPath?: InputMaybe<CategoryPathFilterInput>;
|
|
3398
3805
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -3414,6 +3821,13 @@ export declare type QuerylistCountryArgs = {
|
|
|
3414
3821
|
search?: InputMaybe<Scalars['String']>;
|
|
3415
3822
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3416
3823
|
};
|
|
3824
|
+
export declare type QuerylistCouponArgs = {
|
|
3825
|
+
campaignId?: InputMaybe<StringFilterInput>;
|
|
3826
|
+
id?: InputMaybe<StringFilterInput>;
|
|
3827
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3828
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
3829
|
+
search?: InputMaybe<Scalars['String']>;
|
|
3830
|
+
};
|
|
3417
3831
|
export declare type QuerylistCustomerArgs = {
|
|
3418
3832
|
email?: InputMaybe<StringFilterInput>;
|
|
3419
3833
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -3424,6 +3838,9 @@ export declare type QuerylistCustomerArgs = {
|
|
|
3424
3838
|
sort?: InputMaybe<Scalars['String']>;
|
|
3425
3839
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3426
3840
|
};
|
|
3841
|
+
export declare type QuerylistCustomerAttributeArgs = {
|
|
3842
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
3843
|
+
};
|
|
3427
3844
|
export declare type QuerylistDistrictArgs = {
|
|
3428
3845
|
cityId: StringFilterInput;
|
|
3429
3846
|
countryId?: InputMaybe<StringFilterInput>;
|
|
@@ -3440,17 +3857,27 @@ export declare type QuerylistMerchantAppPaymentArgs = {
|
|
|
3440
3857
|
pagination?: InputMaybe<PaginationInput>;
|
|
3441
3858
|
};
|
|
3442
3859
|
export declare type QuerylistOrderArgs = {
|
|
3860
|
+
branchId?: InputMaybe<StringFilterInput>;
|
|
3861
|
+
branchSessionId?: InputMaybe<StringFilterInput>;
|
|
3443
3862
|
closedAt?: InputMaybe<DateFilterInput>;
|
|
3863
|
+
customerEmail?: InputMaybe<StringFilterInput>;
|
|
3864
|
+
customerId?: InputMaybe<StringFilterInput>;
|
|
3444
3865
|
id?: InputMaybe<StringFilterInput>;
|
|
3866
|
+
invoicesStoreAppId?: InputMaybe<StringFilterInput>;
|
|
3445
3867
|
orderNumber?: InputMaybe<StringFilterInput>;
|
|
3446
3868
|
orderPackageStatus?: InputMaybe<OrderPackageStatusEnumInputFilter>;
|
|
3447
3869
|
orderPaymentStatus?: InputMaybe<OrderPaymentStatusEnumInputFilter>;
|
|
3448
3870
|
orderTagIds?: InputMaybe<StringFilterInput>;
|
|
3449
3871
|
orderedAt?: InputMaybe<DateFilterInput>;
|
|
3450
3872
|
pagination?: InputMaybe<PaginationInput>;
|
|
3873
|
+
paymentMethodType?: InputMaybe<OrderPaymentMethodEnumFilterInput>;
|
|
3874
|
+
salesChannelId?: InputMaybe<StringFilterInput>;
|
|
3451
3875
|
search?: InputMaybe<Scalars['String']>;
|
|
3876
|
+
shippingMethod?: InputMaybe<OrderShippingMethodEnumFilterInput>;
|
|
3452
3877
|
sort?: InputMaybe<Scalars['String']>;
|
|
3453
3878
|
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
3879
|
+
stockLocationId?: InputMaybe<StringFilterInput>;
|
|
3880
|
+
terminalId?: InputMaybe<StringFilterInput>;
|
|
3454
3881
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
3455
3882
|
};
|
|
3456
3883
|
export declare type QuerylistOrderTagArgs = {
|
|
@@ -3561,12 +3988,14 @@ export declare type QuerylistVendorArgs = {
|
|
|
3561
3988
|
};
|
|
3562
3989
|
export declare type QueryproductAttributeExportArgs = {
|
|
3563
3990
|
csvFilterInput?: InputMaybe<CSVExportFilterInput>;
|
|
3991
|
+
fileType?: InputMaybe<ProductImportFileType>;
|
|
3564
3992
|
};
|
|
3565
3993
|
export declare type QuerysearchProductsArgs = {
|
|
3566
3994
|
input: SearchInput;
|
|
3567
3995
|
};
|
|
3568
3996
|
export declare type QueryvariantAttributeExportArgs = {
|
|
3569
3997
|
csvFilterInput?: InputMaybe<CSVExportFilterInput>;
|
|
3998
|
+
fileType?: InputMaybe<ProductImportFileType>;
|
|
3570
3999
|
};
|
|
3571
4000
|
export declare enum SFAnalyticsTrafficSourceEnum {
|
|
3572
4001
|
ADS_OTHER = "ADS_OTHER",
|
|
@@ -3694,10 +4123,14 @@ export declare type SearchProduct = {
|
|
|
3694
4123
|
averageRating?: Maybe<Scalars['Float']>;
|
|
3695
4124
|
baseUnit?: Maybe<SearchProductProductBaseUnit>;
|
|
3696
4125
|
brand?: Maybe<SearchProductBrand>;
|
|
4126
|
+
campaigns?: Maybe<Array<SearchProductCampaign>>;
|
|
3697
4127
|
categories?: Maybe<Array<SearchCategory>>;
|
|
4128
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
4129
|
+
customerReviewSummaries?: Maybe<ProductSearchCustomerReviewSummaries>;
|
|
3698
4130
|
deleted?: Maybe<Scalars['Boolean']>;
|
|
3699
4131
|
description?: Maybe<Scalars['String']>;
|
|
3700
4132
|
groupVariantsByVariantTypeId?: Maybe<Scalars['String']>;
|
|
4133
|
+
hiddenSalesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
3701
4134
|
id: Scalars['String'];
|
|
3702
4135
|
metaData?: Maybe<SearchHTMLMetaData>;
|
|
3703
4136
|
name: Scalars['String'];
|
|
@@ -3710,6 +4143,7 @@ export declare type SearchProduct = {
|
|
|
3710
4143
|
tags?: Maybe<Array<SearchProductTag>>;
|
|
3711
4144
|
translations?: Maybe<Array<ProductTranslation>>;
|
|
3712
4145
|
type: Scalars['String'];
|
|
4146
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3713
4147
|
variants: Array<SearchVariant>;
|
|
3714
4148
|
weight?: Maybe<Scalars['Float']>;
|
|
3715
4149
|
};
|
|
@@ -3750,6 +4184,41 @@ export declare type SearchProductBrand = {
|
|
|
3750
4184
|
slug?: Maybe<Scalars['String']>;
|
|
3751
4185
|
translations?: Maybe<Array<ProductBrandTranslation>>;
|
|
3752
4186
|
};
|
|
4187
|
+
export declare type SearchProductCampaign = {
|
|
4188
|
+
__typename?: 'SearchProductCampaign';
|
|
4189
|
+
buyXThenGetY?: Maybe<SearchProductCampaignBuyXThenGetY>;
|
|
4190
|
+
currencyCodes?: Maybe<Array<Scalars['String']>>;
|
|
4191
|
+
dateRange?: Maybe<SearchProductCampaignDateRangeField>;
|
|
4192
|
+
fixedDiscount?: Maybe<SearchProductCampaignFixedDiscount>;
|
|
4193
|
+
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
4194
|
+
title: Scalars['String'];
|
|
4195
|
+
type: CampaignTypeEnum;
|
|
4196
|
+
};
|
|
4197
|
+
export declare type SearchProductCampaignBuyX = {
|
|
4198
|
+
__typename?: 'SearchProductCampaignBuyX';
|
|
4199
|
+
amount: Scalars['Float'];
|
|
4200
|
+
applyByQuantity: Scalars['Boolean'];
|
|
4201
|
+
};
|
|
4202
|
+
export declare type SearchProductCampaignBuyXThenGetY = {
|
|
4203
|
+
__typename?: 'SearchProductCampaignBuyXThenGetY';
|
|
4204
|
+
buyX: SearchProductCampaignBuyX;
|
|
4205
|
+
getY: SearchProductCampaignGetY;
|
|
4206
|
+
maxUsagePerOrder?: Maybe<Scalars['Float']>;
|
|
4207
|
+
};
|
|
4208
|
+
export declare type SearchProductCampaignDateRangeField = {
|
|
4209
|
+
__typename?: 'SearchProductCampaignDateRangeField';
|
|
4210
|
+
end?: Maybe<Scalars['Timestamp']>;
|
|
4211
|
+
start?: Maybe<Scalars['Timestamp']>;
|
|
4212
|
+
};
|
|
4213
|
+
export declare type SearchProductCampaignFixedDiscount = {
|
|
4214
|
+
__typename?: 'SearchProductCampaignFixedDiscount';
|
|
4215
|
+
amount?: Maybe<Scalars['Float']>;
|
|
4216
|
+
};
|
|
4217
|
+
export declare type SearchProductCampaignGetY = {
|
|
4218
|
+
__typename?: 'SearchProductCampaignGetY';
|
|
4219
|
+
amount: Scalars['Float'];
|
|
4220
|
+
discountRatio: Scalars['Float'];
|
|
4221
|
+
};
|
|
3753
4222
|
export declare type SearchProductCustomerReviewStar = {
|
|
3754
4223
|
__typename?: 'SearchProductCustomerReviewStar';
|
|
3755
4224
|
count: Scalars['Float'];
|
|
@@ -3783,6 +4252,7 @@ export declare type SearchProductProductUnit = {
|
|
|
3783
4252
|
__typename?: 'SearchProductProductUnit';
|
|
3784
4253
|
id: Scalars['String'];
|
|
3785
4254
|
name: Scalars['String'];
|
|
4255
|
+
translations?: Maybe<Array<ProductUnitTranslation>>;
|
|
3786
4256
|
};
|
|
3787
4257
|
export declare type SearchProductStockLocation = {
|
|
3788
4258
|
__typename?: 'SearchProductStockLocation';
|
|
@@ -4067,6 +4537,7 @@ export declare enum SubscriptionCodeEnum {
|
|
|
4067
4537
|
GROW = "GROW",
|
|
4068
4538
|
PREMIUM = "PREMIUM",
|
|
4069
4539
|
SCALE = "SCALE",
|
|
4540
|
+
SCALE_PLUS = "SCALE_PLUS",
|
|
4070
4541
|
START = "START",
|
|
4071
4542
|
TRIAL = "TRIAL"
|
|
4072
4543
|
}
|
|
@@ -4169,6 +4640,7 @@ export declare type TransactionPaymentMethodDetail = {
|
|
|
4169
4640
|
cardType?: Maybe<TransactionCardTypeEnum>;
|
|
4170
4641
|
installment?: Maybe<TransactionInstallmentPrice>;
|
|
4171
4642
|
lastFourDigits: Scalars['String'];
|
|
4643
|
+
paymentMethodName?: Maybe<Scalars['String']>;
|
|
4172
4644
|
threeDSecure?: Maybe<Scalars['Boolean']>;
|
|
4173
4645
|
};
|
|
4174
4646
|
export declare enum TransactionStatusEnum {
|
|
@@ -4271,7 +4743,7 @@ export declare type Variant = {
|
|
|
4271
4743
|
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
4272
4744
|
/** SKU of the variant. */
|
|
4273
4745
|
sku?: Maybe<Scalars['String']>;
|
|
4274
|
-
stocks?: Maybe<Array<
|
|
4746
|
+
stocks?: Maybe<Array<ProductStockLocation>>;
|
|
4275
4747
|
/** Translations for the product. */
|
|
4276
4748
|
unit?: Maybe<VariantUnitModel>;
|
|
4277
4749
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -4312,11 +4784,6 @@ export declare enum VariantSelectionTypeEnum {
|
|
|
4312
4784
|
CHOICE = "CHOICE",
|
|
4313
4785
|
COLOR = "COLOR"
|
|
4314
4786
|
}
|
|
4315
|
-
export declare type VariantStock = {
|
|
4316
|
-
__typename?: 'VariantStock';
|
|
4317
|
-
stockCount: Scalars['Float'];
|
|
4318
|
-
stockLocationId: Scalars['String'];
|
|
4319
|
-
};
|
|
4320
4787
|
export declare type VariantType = {
|
|
4321
4788
|
__typename?: 'VariantType';
|
|
4322
4789
|
createdAt?: Maybe<Scalars['Timestamp']>;
|