@ikas/api-client 1.0.40-alpha.3 → 1.0.40-alpha.30
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 +18 -0
- package/dist/api/admin/generated/default-gqls.js +49 -31
- package/dist/api/admin/generated/default-gqls.js.map +1 -1
- package/dist/api/admin/generated/index.d.ts +1098 -33
- package/dist/api/admin/generated/index.js +241 -6
- package/dist/api/admin/generated/index.js.map +1 -1
- package/dist/api/admin/generated/mutation.d.ts +11 -1
- package/dist/api/admin/generated/mutation.js +70 -0
- package/dist/api/admin/generated/mutation.js.map +1 -1
- package/dist/api/admin/generated/query.d.ts +9 -1
- package/dist/api/admin/generated/query.js +56 -0
- package/dist/api/admin/generated/query.js.map +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export declare type AbandonedCartFlow = {
|
|
|
30
30
|
customerFilters?: Maybe<AbandonedCartFlowCustomerFilter>;
|
|
31
31
|
flowId: Scalars['String'];
|
|
32
32
|
mailSendDate?: Maybe<Scalars['Timestamp']>;
|
|
33
|
+
mailTemplateId?: Maybe<Scalars['String']>;
|
|
33
34
|
mailTranslationId?: Maybe<Scalars['String']>;
|
|
34
35
|
messageType?: Maybe<AbandonedCartSettingsNotificationTypeEnum>;
|
|
35
36
|
recoverEmailStatus: CheckoutRecoveryEmailStatusEnum;
|
|
@@ -55,7 +56,9 @@ export declare type AddOrderInvoiceInput = {
|
|
|
55
56
|
appId: Scalars['String'];
|
|
56
57
|
/** It is the content of invoice. Is the entered value must be in base64 format. */
|
|
57
58
|
base64?: InputMaybe<Scalars['String']>;
|
|
58
|
-
/**
|
|
59
|
+
/** It is data for create invoice. */
|
|
60
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
61
|
+
/** It is data for create invoice. */
|
|
59
62
|
invoiceData?: InputMaybe<Scalars['JSON']>;
|
|
60
63
|
/** It is the number of the order invoice. */
|
|
61
64
|
invoiceNumber: Scalars['String'];
|
|
@@ -69,6 +72,13 @@ export declare type AddOrderInvoiceInput = {
|
|
|
69
72
|
/** It is the type enum of the invoice. */
|
|
70
73
|
type: InvoiceTypeEnum;
|
|
71
74
|
};
|
|
75
|
+
export declare type AdditionalPrice = {
|
|
76
|
+
__typename?: 'AdditionalPrice';
|
|
77
|
+
amount: Scalars['Float'];
|
|
78
|
+
amountType: PaymentGatewayTransactionFeeTypeEnum;
|
|
79
|
+
name: Scalars['String'];
|
|
80
|
+
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
81
|
+
};
|
|
72
82
|
/** Scope Enum for Apps */
|
|
73
83
|
export declare enum AppScopeEnum {
|
|
74
84
|
READ_CAMPAIGNS = "READ_CAMPAIGNS",
|
|
@@ -410,6 +420,18 @@ export declare type BundleProductOrderLine = {
|
|
|
410
420
|
/** Information about the variant of the order line item. */
|
|
411
421
|
variant: OrderLineVariant;
|
|
412
422
|
};
|
|
423
|
+
export declare type BundleProductOrderLineInput = {
|
|
424
|
+
/** It is the bundle product line id the bundle line item. */
|
|
425
|
+
bundleLineId: Scalars['String'];
|
|
426
|
+
/** It is the bundle product line id the bundle line item. */
|
|
427
|
+
bundleLineQuantity: Scalars['Float'];
|
|
428
|
+
/** It is the bundle product name the bundle line item. */
|
|
429
|
+
name?: InputMaybe<Scalars['String']>;
|
|
430
|
+
/** It is the options information in the bundle line item. */
|
|
431
|
+
options?: InputMaybe<Array<OrderLineOptionInput>>;
|
|
432
|
+
/** It is the variant information in the bundle line item. */
|
|
433
|
+
variant: OrderLineVariantInput;
|
|
434
|
+
};
|
|
413
435
|
export declare type BundleSettingsInput = {
|
|
414
436
|
maxBundleQuantity?: InputMaybe<Scalars['Float']>;
|
|
415
437
|
minBundleQuantity?: InputMaybe<Scalars['Float']>;
|
|
@@ -429,11 +451,13 @@ export declare type BuyX = {
|
|
|
429
451
|
amount: Scalars['Float'];
|
|
430
452
|
applyByQuantity: Scalars['Boolean'];
|
|
431
453
|
filter: CampaignFilter;
|
|
454
|
+
maxAmount?: Maybe<Scalars['Float']>;
|
|
432
455
|
};
|
|
433
456
|
export declare type BuyXInput = {
|
|
434
457
|
amount: Scalars['Float'];
|
|
435
458
|
applyByQuantity: Scalars['Boolean'];
|
|
436
459
|
filter: CampaignFilterInput;
|
|
460
|
+
maxAmount?: InputMaybe<Scalars['Float']>;
|
|
437
461
|
};
|
|
438
462
|
export declare type BuyXThenGetY = {
|
|
439
463
|
__typename?: 'BuyXThenGetY';
|
|
@@ -455,6 +479,8 @@ export declare type Campaign = {
|
|
|
455
479
|
applyCampaignToProductPrice?: Maybe<Scalars['Boolean']>;
|
|
456
480
|
buyXThenGetY?: Maybe<BuyXThenGetY>;
|
|
457
481
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
482
|
+
couponPrefix?: Maybe<Scalars['String']>;
|
|
483
|
+
couponValidityPeriod?: Maybe<Scalars['Float']>;
|
|
458
484
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
459
485
|
createdFor?: Maybe<CampaignCreatedForEnum>;
|
|
460
486
|
currencyCodes?: Maybe<Array<Scalars['String']>>;
|
|
@@ -475,6 +501,7 @@ export declare type Campaign = {
|
|
|
475
501
|
usageCount: Scalars['Int'];
|
|
476
502
|
usageLimit?: Maybe<Scalars['Int']>;
|
|
477
503
|
usageLimitPerCustomer?: Maybe<Scalars['Int']>;
|
|
504
|
+
version?: Maybe<Scalars['Float']>;
|
|
478
505
|
};
|
|
479
506
|
export declare enum CampaignApplicablePriceEnum {
|
|
480
507
|
DISCOUNT_PRICE = "DISCOUNT_PRICE",
|
|
@@ -483,7 +510,9 @@ export declare enum CampaignApplicablePriceEnum {
|
|
|
483
510
|
export declare enum CampaignCreatedForEnum {
|
|
484
511
|
ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
|
|
485
512
|
CART = "CART",
|
|
486
|
-
CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
|
|
513
|
+
CUSTOMER_REVIEW = "CUSTOMER_REVIEW",
|
|
514
|
+
LOYALTY_SPEND = "LOYALTY_SPEND",
|
|
515
|
+
MARKETING_CAMPAIGN = "MARKETING_CAMPAIGN"
|
|
487
516
|
}
|
|
488
517
|
export declare type CampaignDateRangeField = {
|
|
489
518
|
__typename?: 'CampaignDateRangeField';
|
|
@@ -507,6 +536,7 @@ export declare enum CampaignFilterTypeEnum {
|
|
|
507
536
|
CATEGORY = "CATEGORY",
|
|
508
537
|
DYNAMIC_CATEGORY = "DYNAMIC_CATEGORY",
|
|
509
538
|
PRODUCT = "PRODUCT",
|
|
539
|
+
PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
|
|
510
540
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
511
541
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
512
542
|
VARIANT = "VARIANT"
|
|
@@ -524,6 +554,8 @@ export declare type CampaignInput = {
|
|
|
524
554
|
applyCampaignToProductPrice?: InputMaybe<Scalars['Boolean']>;
|
|
525
555
|
buyXThenGetY?: InputMaybe<BuyXThenGetYInput>;
|
|
526
556
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
557
|
+
couponPrefix?: InputMaybe<Scalars['String']>;
|
|
558
|
+
couponValidityPeriod?: InputMaybe<Scalars['Float']>;
|
|
527
559
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
528
560
|
createdFor?: InputMaybe<CampaignCreatedForEnum>;
|
|
529
561
|
currencyCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
@@ -624,6 +656,8 @@ export declare enum CampaignOfferTriggerFilterTypeEnum {
|
|
|
624
656
|
CATEGORY = "CATEGORY",
|
|
625
657
|
MIN_CART_AMOUNT = "MIN_CART_AMOUNT",
|
|
626
658
|
PRODUCT = "PRODUCT",
|
|
659
|
+
PRODUCT_AND_VARIANT = "PRODUCT_AND_VARIANT",
|
|
660
|
+
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
627
661
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
628
662
|
VARIANT = "VARIANT"
|
|
629
663
|
}
|
|
@@ -709,6 +743,7 @@ export declare type CancelFulfillmentInput = {
|
|
|
709
743
|
lines?: InputMaybe<Array<CancelFulfillmentOrderLineInput>>;
|
|
710
744
|
orderId: Scalars['String'];
|
|
711
745
|
orderPackageId: Scalars['String'];
|
|
746
|
+
sourcePackageId?: InputMaybe<Scalars['String']>;
|
|
712
747
|
};
|
|
713
748
|
export declare type CancelFulfillmentOrderLineInput = {
|
|
714
749
|
orderLineItemId: Scalars['String'];
|
|
@@ -720,6 +755,7 @@ export declare type CancelOrderLineInput = {
|
|
|
720
755
|
};
|
|
721
756
|
export declare type CancelOrderLineItemInput = {
|
|
722
757
|
orderLineItemId: Scalars['String'];
|
|
758
|
+
price: Scalars['Float'];
|
|
723
759
|
quantity: Scalars['Float'];
|
|
724
760
|
restockItems?: Scalars['Boolean'];
|
|
725
761
|
};
|
|
@@ -899,6 +935,7 @@ export declare enum CategoryConditionTypeEnum {
|
|
|
899
935
|
PRICE_RANGE = "PRICE_RANGE",
|
|
900
936
|
PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
|
|
901
937
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
938
|
+
PRODUCT_NAME = "PRODUCT_NAME",
|
|
902
939
|
PRODUCT_TAG = "PRODUCT_TAG",
|
|
903
940
|
VARIANT_VALUE = "VARIANT_VALUE"
|
|
904
941
|
}
|
|
@@ -991,6 +1028,11 @@ export declare type CategoryTranslationInput = {
|
|
|
991
1028
|
/** It is the information in which language the translation is saved. */
|
|
992
1029
|
name?: InputMaybe<Scalars['String']>;
|
|
993
1030
|
};
|
|
1031
|
+
export declare type ChangeStockLocationInput = {
|
|
1032
|
+
orderId: Scalars['String'];
|
|
1033
|
+
orderLineItemIds: Array<Scalars['String']>;
|
|
1034
|
+
targetStockLocationId: Scalars['String'];
|
|
1035
|
+
};
|
|
994
1036
|
export declare type Checkout = {
|
|
995
1037
|
__typename?: 'Checkout';
|
|
996
1038
|
abandonedCheckoutFlows?: Maybe<Array<AbandonedCartFlow>>;
|
|
@@ -1112,6 +1154,7 @@ export declare type Coupon = {
|
|
|
1112
1154
|
canCombineWithOtherCampaigns: Scalars['Boolean'];
|
|
1113
1155
|
code: Scalars['String'];
|
|
1114
1156
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1157
|
+
dateRange?: Maybe<CouponDateRangeField>;
|
|
1115
1158
|
deleted: Scalars['Boolean'];
|
|
1116
1159
|
id: Scalars['ID'];
|
|
1117
1160
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1119,6 +1162,11 @@ export declare type Coupon = {
|
|
|
1119
1162
|
usageLimit?: Maybe<Scalars['Int']>;
|
|
1120
1163
|
usageLimitPerCustomer?: Maybe<Scalars['Int']>;
|
|
1121
1164
|
};
|
|
1165
|
+
export declare type CouponDateRangeField = {
|
|
1166
|
+
__typename?: 'CouponDateRangeField';
|
|
1167
|
+
end?: Maybe<Scalars['Timestamp']>;
|
|
1168
|
+
start?: Maybe<Scalars['Timestamp']>;
|
|
1169
|
+
};
|
|
1122
1170
|
export declare type CouponPaginationResponse = {
|
|
1123
1171
|
__typename?: 'CouponPaginationResponse';
|
|
1124
1172
|
/**
|
|
@@ -1197,6 +1245,8 @@ export declare type CreateOrderInput = {
|
|
|
1197
1245
|
shippingMethod?: InputMaybe<OrderShippingMethodEnum>;
|
|
1198
1246
|
/** It is the source id of the order. If the order came from the marketplace, it shows the order number in the marketplace. */
|
|
1199
1247
|
sourceId?: InputMaybe<Scalars['String']>;
|
|
1248
|
+
/** It is the staff information of the order. */
|
|
1249
|
+
staff?: InputMaybe<OrderStaffInput>;
|
|
1200
1250
|
/** It is the terminal session id of the order. If the order is placed via ikasPos, this field can be sent as filled. */
|
|
1201
1251
|
terminalId?: InputMaybe<Scalars['String']>;
|
|
1202
1252
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
@@ -1214,6 +1264,31 @@ export declare type CreateOrderWithTransactionsInput = {
|
|
|
1214
1264
|
*/
|
|
1215
1265
|
transactions: Array<OrderTransactionInput>;
|
|
1216
1266
|
};
|
|
1267
|
+
export declare type CreateSaleWithWalletOrderDetailInput = {
|
|
1268
|
+
orderId: Scalars['String'];
|
|
1269
|
+
orderNumber: Scalars['String'];
|
|
1270
|
+
orderedDate: Scalars['Timestamp'];
|
|
1271
|
+
};
|
|
1272
|
+
export declare type CreateWalletTransactionInput = {
|
|
1273
|
+
currencyCode?: InputMaybe<Scalars['String']>;
|
|
1274
|
+
force: Scalars['Boolean'];
|
|
1275
|
+
metadata?: InputMaybe<Scalars['JSON']>;
|
|
1276
|
+
name: Scalars['String'];
|
|
1277
|
+
orderDetail?: InputMaybe<CreateSaleWithWalletOrderDetailInput>;
|
|
1278
|
+
price: Scalars['Float'];
|
|
1279
|
+
sourceTransactionId?: InputMaybe<Scalars['String']>;
|
|
1280
|
+
transactionCategory: IkasWalletTransactionCategoryEnum;
|
|
1281
|
+
transactionId: Scalars['String'];
|
|
1282
|
+
type: CreateWalletTransactionTypeEnum;
|
|
1283
|
+
};
|
|
1284
|
+
export declare enum CreateWalletTransactionTypeEnum {
|
|
1285
|
+
REFUND = "REFUND",
|
|
1286
|
+
SALE = "SALE"
|
|
1287
|
+
}
|
|
1288
|
+
export declare enum CurrencyFormatSymbolPosition {
|
|
1289
|
+
LEFT = "LEFT",
|
|
1290
|
+
RIGHT = "RIGHT"
|
|
1291
|
+
}
|
|
1217
1292
|
export declare type Customer = {
|
|
1218
1293
|
__typename?: 'Customer';
|
|
1219
1294
|
/** CustomerAccountStatusEnum */
|
|
@@ -1342,6 +1417,11 @@ export declare type CustomerAddressCity = {
|
|
|
1342
1417
|
/** The customer's normalized city name. */
|
|
1343
1418
|
name: Scalars['String'];
|
|
1344
1419
|
};
|
|
1420
|
+
export declare type CustomerAddressCityInput = {
|
|
1421
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1422
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1423
|
+
name: Scalars['String'];
|
|
1424
|
+
};
|
|
1345
1425
|
export declare type CustomerAddressCountry = {
|
|
1346
1426
|
__typename?: 'CustomerAddressCountry';
|
|
1347
1427
|
/** The two-letter country code corresponding to the customer's country. */
|
|
@@ -1354,6 +1434,13 @@ export declare type CustomerAddressCountry = {
|
|
|
1354
1434
|
/** The customer's normalized country name. */
|
|
1355
1435
|
name: Scalars['String'];
|
|
1356
1436
|
};
|
|
1437
|
+
export declare type CustomerAddressCountryInput = {
|
|
1438
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1439
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1440
|
+
iso2?: InputMaybe<Scalars['String']>;
|
|
1441
|
+
iso3?: InputMaybe<Scalars['String']>;
|
|
1442
|
+
name: Scalars['String'];
|
|
1443
|
+
};
|
|
1357
1444
|
export declare type CustomerAddressDistrict = {
|
|
1358
1445
|
__typename?: 'CustomerAddressDistrict';
|
|
1359
1446
|
/** The two-letter district code corresponding to the customer's district. */
|
|
@@ -1362,6 +1449,34 @@ export declare type CustomerAddressDistrict = {
|
|
|
1362
1449
|
/** The customer's normalized district name. */
|
|
1363
1450
|
name?: Maybe<Scalars['String']>;
|
|
1364
1451
|
};
|
|
1452
|
+
export declare type CustomerAddressDistrictInput = {
|
|
1453
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1454
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1455
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1456
|
+
};
|
|
1457
|
+
export declare type CustomerAddressInput = {
|
|
1458
|
+
addressLine1: Scalars['String'];
|
|
1459
|
+
addressLine2?: InputMaybe<Scalars['String']>;
|
|
1460
|
+
city: CustomerAddressCityInput;
|
|
1461
|
+
company?: InputMaybe<Scalars['String']>;
|
|
1462
|
+
country: CustomerAddressCountryInput;
|
|
1463
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1464
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1465
|
+
district?: InputMaybe<CustomerAddressDistrictInput>;
|
|
1466
|
+
firstName: Scalars['String'];
|
|
1467
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1468
|
+
identityNumber?: InputMaybe<Scalars['String']>;
|
|
1469
|
+
isDefault?: Scalars['Boolean'];
|
|
1470
|
+
lastName: Scalars['String'];
|
|
1471
|
+
phone?: InputMaybe<Scalars['String']>;
|
|
1472
|
+
postalCode: Scalars['String'];
|
|
1473
|
+
region?: InputMaybe<CustomerAddressRegionInput>;
|
|
1474
|
+
state?: InputMaybe<CustomerAddressStateInput>;
|
|
1475
|
+
taxNumber?: InputMaybe<Scalars['String']>;
|
|
1476
|
+
taxOffice?: InputMaybe<Scalars['String']>;
|
|
1477
|
+
title: Scalars['String'];
|
|
1478
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1479
|
+
};
|
|
1365
1480
|
export declare type CustomerAddressRegion = {
|
|
1366
1481
|
__typename?: 'CustomerAddressRegion';
|
|
1367
1482
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1370,12 +1485,21 @@ export declare type CustomerAddressRegion = {
|
|
|
1370
1485
|
name: Scalars['String'];
|
|
1371
1486
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1372
1487
|
};
|
|
1488
|
+
export declare type CustomerAddressRegionInput = {
|
|
1489
|
+
id: Scalars['String'];
|
|
1490
|
+
name: Scalars['String'];
|
|
1491
|
+
};
|
|
1373
1492
|
export declare type CustomerAddressState = {
|
|
1374
1493
|
__typename?: 'CustomerAddressState';
|
|
1375
1494
|
code?: Maybe<Scalars['String']>;
|
|
1376
1495
|
id?: Maybe<Scalars['String']>;
|
|
1377
1496
|
name?: Maybe<Scalars['String']>;
|
|
1378
1497
|
};
|
|
1498
|
+
export declare type CustomerAddressStateInput = {
|
|
1499
|
+
code?: InputMaybe<Scalars['String']>;
|
|
1500
|
+
id?: InputMaybe<Scalars['String']>;
|
|
1501
|
+
name?: InputMaybe<Scalars['String']>;
|
|
1502
|
+
};
|
|
1379
1503
|
export declare type CustomerAttribute = {
|
|
1380
1504
|
__typename?: 'CustomerAttribute';
|
|
1381
1505
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -1439,6 +1563,7 @@ export declare type CustomerAttributeTranslation = {
|
|
|
1439
1563
|
export declare enum CustomerAttributeTypeEnum {
|
|
1440
1564
|
BOOLEAN = "BOOLEAN",
|
|
1441
1565
|
CHOICE = "CHOICE",
|
|
1566
|
+
DATE = "DATE",
|
|
1442
1567
|
DATETIME = "DATETIME",
|
|
1443
1568
|
MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
|
|
1444
1569
|
NUMERIC = "NUMERIC",
|
|
@@ -1450,6 +1575,16 @@ export declare type CustomerAttributeValue = {
|
|
|
1450
1575
|
customerAttributeOptionId?: Maybe<Scalars['String']>;
|
|
1451
1576
|
value?: Maybe<Scalars['String']>;
|
|
1452
1577
|
};
|
|
1578
|
+
export declare type CustomerAttributeValueInput = {
|
|
1579
|
+
customerAttributeId?: InputMaybe<Scalars['String']>;
|
|
1580
|
+
customerAttributeOptionId?: InputMaybe<Scalars['String']>;
|
|
1581
|
+
value?: InputMaybe<Scalars['String']>;
|
|
1582
|
+
};
|
|
1583
|
+
export declare enum CustomerB2BStatusEnum {
|
|
1584
|
+
ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
|
|
1585
|
+
DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
|
|
1586
|
+
WAITING_FOR_APPROVAL = "WAITING_FOR_APPROVAL"
|
|
1587
|
+
}
|
|
1453
1588
|
/** Customer Email Subscription Statuses */
|
|
1454
1589
|
export declare enum CustomerEmailSubscriptionStatusesEnum {
|
|
1455
1590
|
NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
|
|
@@ -1461,6 +1596,86 @@ export declare enum CustomerGenderTypeEnum {
|
|
|
1461
1596
|
MALE = "MALE",
|
|
1462
1597
|
OTHER = "OTHER"
|
|
1463
1598
|
}
|
|
1599
|
+
export declare type CustomerGroup = {
|
|
1600
|
+
__typename?: 'CustomerGroup';
|
|
1601
|
+
conditions?: Maybe<Array<CustomerGroupCondition>>;
|
|
1602
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1603
|
+
deleted: Scalars['Boolean'];
|
|
1604
|
+
id: Scalars['ID'];
|
|
1605
|
+
isAutomated?: Maybe<Scalars['Boolean']>;
|
|
1606
|
+
name: Scalars['String'];
|
|
1607
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
1608
|
+
priceListRules?: Maybe<Array<CustomerPriceListRule>>;
|
|
1609
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
1610
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
1611
|
+
};
|
|
1612
|
+
export declare type CustomerGroupCondition = {
|
|
1613
|
+
__typename?: 'CustomerGroupCondition';
|
|
1614
|
+
conditionType: CustomerGroupConditionTypeEnum;
|
|
1615
|
+
method?: Maybe<CustomerGroupConditionMethodEnum>;
|
|
1616
|
+
valueList: Array<Scalars['String']>;
|
|
1617
|
+
};
|
|
1618
|
+
export declare type CustomerGroupConditionInput = {
|
|
1619
|
+
conditionType: CustomerGroupConditionTypeEnum;
|
|
1620
|
+
method?: InputMaybe<CustomerGroupConditionMethodEnum>;
|
|
1621
|
+
valueList: Array<Scalars['String']>;
|
|
1622
|
+
};
|
|
1623
|
+
export declare enum CustomerGroupConditionMethodEnum {
|
|
1624
|
+
IN = "IN",
|
|
1625
|
+
NOT_IN = "NOT_IN"
|
|
1626
|
+
}
|
|
1627
|
+
export declare enum CustomerGroupConditionTypeEnum {
|
|
1628
|
+
ACCOUNT_STATUS = "ACCOUNT_STATUS",
|
|
1629
|
+
CREATED_AT = "CREATED_AT",
|
|
1630
|
+
CUSTOMER_ATTRIBUTE = "CUSTOMER_ATTRIBUTE",
|
|
1631
|
+
CUSTOMER_GROUP = "CUSTOMER_GROUP",
|
|
1632
|
+
EMAIL = "EMAIL",
|
|
1633
|
+
LAST_ORDERED_DATE = "LAST_ORDERED_DATE",
|
|
1634
|
+
ORDER_COUNT_RANGE = "ORDER_COUNT_RANGE",
|
|
1635
|
+
PREFERRED_LANGUAGE = "PREFERRED_LANGUAGE",
|
|
1636
|
+
REGISTRATION_SOURCE = "REGISTRATION_SOURCE",
|
|
1637
|
+
SUBSCRIPTION_STATUS = "SUBSCRIPTION_STATUS",
|
|
1638
|
+
TAG = "TAG",
|
|
1639
|
+
TOTAL_ORDER_PRICE_RANGE = "TOTAL_ORDER_PRICE_RANGE"
|
|
1640
|
+
}
|
|
1641
|
+
export declare type CustomerGroupInput = {
|
|
1642
|
+
conditions?: InputMaybe<Array<CustomerGroupConditionInput>>;
|
|
1643
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1644
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1645
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1646
|
+
isAutomated?: InputMaybe<Scalars['Boolean']>;
|
|
1647
|
+
name: Scalars['String'];
|
|
1648
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
1649
|
+
priceListRules?: InputMaybe<Array<CustomerPriceListRuleInput>>;
|
|
1650
|
+
shouldMatchAllConditions?: InputMaybe<Scalars['Boolean']>;
|
|
1651
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1652
|
+
};
|
|
1653
|
+
export declare type CustomerInput = {
|
|
1654
|
+
accountStatus?: InputMaybe<CustomerAccountStatusEnum>;
|
|
1655
|
+
addresses?: InputMaybe<Array<CustomerAddressInput>>;
|
|
1656
|
+
attributes?: InputMaybe<Array<CustomerAttributeValueInput>>;
|
|
1657
|
+
b2bStatus?: InputMaybe<CustomerB2BStatusEnum>;
|
|
1658
|
+
birthDate?: InputMaybe<Scalars['Timestamp']>;
|
|
1659
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1660
|
+
customerGroupIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1661
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
1662
|
+
email?: InputMaybe<Scalars['String']>;
|
|
1663
|
+
firstName: Scalars['String'];
|
|
1664
|
+
fullName?: InputMaybe<Scalars['String']>;
|
|
1665
|
+
gender?: InputMaybe<CustomerGenderTypeEnum>;
|
|
1666
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
1667
|
+
lastName?: InputMaybe<Scalars['String']>;
|
|
1668
|
+
note?: InputMaybe<Scalars['String']>;
|
|
1669
|
+
phone?: InputMaybe<Scalars['String']>;
|
|
1670
|
+
phoneSubscriptionStatus?: InputMaybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1671
|
+
preferredLanguage?: InputMaybe<Scalars['String']>;
|
|
1672
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
1673
|
+
priceListRules?: InputMaybe<Array<CustomerPriceListRuleInput>>;
|
|
1674
|
+
smsSubscriptionStatus?: InputMaybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1675
|
+
subscriptionStatus?: InputMaybe<CustomerEmailSubscriptionStatusesEnum>;
|
|
1676
|
+
tagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
1677
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
1678
|
+
};
|
|
1464
1679
|
export declare type CustomerPaginationResponse = {
|
|
1465
1680
|
__typename?: 'CustomerPaginationResponse';
|
|
1466
1681
|
/**
|
|
@@ -1504,12 +1719,23 @@ export declare type CustomerPriceListRuleFilter = {
|
|
|
1504
1719
|
type: CustomerPriceListRuleFilterTypeEnum;
|
|
1505
1720
|
valueList: Array<Scalars['String']>;
|
|
1506
1721
|
};
|
|
1722
|
+
export declare type CustomerPriceListRuleFilterInput = {
|
|
1723
|
+
type: CustomerPriceListRuleFilterTypeEnum;
|
|
1724
|
+
valueList: Array<Scalars['String']>;
|
|
1725
|
+
};
|
|
1507
1726
|
export declare enum CustomerPriceListRuleFilterTypeEnum {
|
|
1508
1727
|
CATEGORY = "CATEGORY",
|
|
1509
1728
|
PRODUCT = "PRODUCT",
|
|
1510
1729
|
PRODUCT_BRAND = "PRODUCT_BRAND",
|
|
1511
1730
|
PRODUCT_TAG = "PRODUCT_TAG"
|
|
1512
1731
|
}
|
|
1732
|
+
export declare type CustomerPriceListRuleInput = {
|
|
1733
|
+
filters?: InputMaybe<Array<CustomerPriceListRuleFilterInput>>;
|
|
1734
|
+
priceListId?: InputMaybe<Scalars['String']>;
|
|
1735
|
+
shouldMatchAllFilters?: InputMaybe<Scalars['Boolean']>;
|
|
1736
|
+
value: Scalars['Float'];
|
|
1737
|
+
valueType: CustomerPriceListRuleValueTypeEnum;
|
|
1738
|
+
};
|
|
1513
1739
|
export declare enum CustomerPriceListRuleValueTypeEnum {
|
|
1514
1740
|
DISCOUNT_AMOUNT = "DISCOUNT_AMOUNT",
|
|
1515
1741
|
DISCOUNT_RATE = "DISCOUNT_RATE",
|
|
@@ -1523,6 +1749,19 @@ export declare enum CustomerRegistrationSourceEnum {
|
|
|
1523
1749
|
google = "google",
|
|
1524
1750
|
twitch = "twitch"
|
|
1525
1751
|
}
|
|
1752
|
+
/** CustomerSubscriptionPlanOrderPaymentStatusEnum */
|
|
1753
|
+
export declare enum CustomerSubscriptionPlanOrderPaymentStatusEnum {
|
|
1754
|
+
FAILED = "FAILED",
|
|
1755
|
+
PAID = "PAID",
|
|
1756
|
+
UNPAID = "UNPAID"
|
|
1757
|
+
}
|
|
1758
|
+
/** CustomerSubscriptionPlanOrderStatusEnum */
|
|
1759
|
+
export declare enum CustomerSubscriptionPlanOrderStatusEnum {
|
|
1760
|
+
CANCELLED = "CANCELLED",
|
|
1761
|
+
COMPLETED = "COMPLETED",
|
|
1762
|
+
PLANNED = "PLANNED",
|
|
1763
|
+
POSTPONED = "POSTPONED"
|
|
1764
|
+
}
|
|
1526
1765
|
export declare type DateFilterInput = {
|
|
1527
1766
|
/** `equal`. The filter used for equality. */
|
|
1528
1767
|
eq?: InputMaybe<Scalars['Timestamp']>;
|
|
@@ -1599,6 +1838,26 @@ export declare type GenerateCouponInput = {
|
|
|
1599
1838
|
usageLimit?: InputMaybe<Scalars['Int']>;
|
|
1600
1839
|
usageLimitPerCustomer?: InputMaybe<Scalars['Int']>;
|
|
1601
1840
|
};
|
|
1841
|
+
export declare type GenerateOrderPaymentLinkInput = {
|
|
1842
|
+
orderId: Scalars['String'];
|
|
1843
|
+
salesChannelId?: InputMaybe<Scalars['String']>;
|
|
1844
|
+
storefrontId?: InputMaybe<Scalars['String']>;
|
|
1845
|
+
storefrontRoutingId?: InputMaybe<Scalars['String']>;
|
|
1846
|
+
storefrontThemeId?: InputMaybe<Scalars['String']>;
|
|
1847
|
+
};
|
|
1848
|
+
export declare type GetIkasWalletWithBalanceInput = {
|
|
1849
|
+
currencyCode?: InputMaybe<Scalars['String']>;
|
|
1850
|
+
};
|
|
1851
|
+
export declare type GetIkasWalletWithBalanceResponse = {
|
|
1852
|
+
__typename?: 'GetIkasWalletWithBalanceResponse';
|
|
1853
|
+
activePeriodEstimatedPayout: IkasWalletNextEstimatedPayout;
|
|
1854
|
+
depositBalance: Scalars['Float'];
|
|
1855
|
+
freeCreditBalance: Scalars['Float'];
|
|
1856
|
+
nextEstimatedPayout: IkasWalletNextEstimatedPayout;
|
|
1857
|
+
payoutBalance: Scalars['Float'];
|
|
1858
|
+
totalBalance: Scalars['Float'];
|
|
1859
|
+
wallet: IkasWallet;
|
|
1860
|
+
};
|
|
1602
1861
|
export declare type GetImportJobDataResponse = {
|
|
1603
1862
|
__typename?: 'GetImportJobDataResponse';
|
|
1604
1863
|
data?: Maybe<Scalars['String']>;
|
|
@@ -1611,6 +1870,10 @@ export declare type GetLastImportJobDataResponse = {
|
|
|
1611
1870
|
fileURL?: Maybe<Scalars['String']>;
|
|
1612
1871
|
importJobId?: Maybe<Scalars['String']>;
|
|
1613
1872
|
};
|
|
1873
|
+
export declare type GetLastImportJobDataResponseData = {
|
|
1874
|
+
__typename?: 'GetLastImportJobDataResponseData';
|
|
1875
|
+
data?: Maybe<Array<GetLastImportJobDataResponse>>;
|
|
1876
|
+
};
|
|
1614
1877
|
export declare type GetOrderInvoicePdfUrlInput = {
|
|
1615
1878
|
invoiceId: Scalars['String'];
|
|
1616
1879
|
orderId: Scalars['String'];
|
|
@@ -1729,6 +1992,252 @@ export declare type HTMLMetaDataTranslationInput = {
|
|
|
1729
1992
|
pageTitle?: InputMaybe<Scalars['String']>;
|
|
1730
1993
|
slug?: InputMaybe<Scalars['String']>;
|
|
1731
1994
|
};
|
|
1995
|
+
export declare type IkasWallet = {
|
|
1996
|
+
__typename?: 'IkasWallet';
|
|
1997
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1998
|
+
deleted: Scalars['Boolean'];
|
|
1999
|
+
hasVatExemption?: Maybe<Scalars['Boolean']>;
|
|
2000
|
+
id: Scalars['ID'];
|
|
2001
|
+
lastPayoutDate?: Maybe<Scalars['Timestamp']>;
|
|
2002
|
+
minimumBalance?: Maybe<Scalars['Float']>;
|
|
2003
|
+
nextEstimatedPayoutDate: Scalars['Timestamp'];
|
|
2004
|
+
paymentGatewayId?: Maybe<Scalars['String']>;
|
|
2005
|
+
paymentLimits: Array<IkasWalletPaymentLimit>;
|
|
2006
|
+
paymentStatus: IkasWalletPaymentStatusEnum;
|
|
2007
|
+
payoutStatus: IkasWalletPayoutStatusEnum;
|
|
2008
|
+
payoutTerm: IkasWalletPayoutTermEnum;
|
|
2009
|
+
refillBalance?: Maybe<Scalars['Float']>;
|
|
2010
|
+
topUpSettings?: Maybe<IkasWalletTopUpSettings>;
|
|
2011
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2012
|
+
};
|
|
2013
|
+
export declare type IkasWalletNextEstimatedPayout = {
|
|
2014
|
+
__typename?: 'IkasWalletNextEstimatedPayout';
|
|
2015
|
+
amount: Scalars['Float'];
|
|
2016
|
+
currencyCode: Scalars['String'];
|
|
2017
|
+
date: Scalars['Timestamp'];
|
|
2018
|
+
hasTransactions: Scalars['Boolean'];
|
|
2019
|
+
period: IkasWalletNextEstimatedPayoutPeriod;
|
|
2020
|
+
};
|
|
2021
|
+
export declare type IkasWalletNextEstimatedPayoutPeriod = {
|
|
2022
|
+
__typename?: 'IkasWalletNextEstimatedPayoutPeriod';
|
|
2023
|
+
endDate: Scalars['Timestamp'];
|
|
2024
|
+
startDate: Scalars['Timestamp'];
|
|
2025
|
+
};
|
|
2026
|
+
export declare type IkasWalletPaymentLimit = {
|
|
2027
|
+
__typename?: 'IkasWalletPaymentLimit';
|
|
2028
|
+
amount?: Maybe<Scalars['Float']>;
|
|
2029
|
+
currencyCode: Scalars['String'];
|
|
2030
|
+
};
|
|
2031
|
+
export declare enum IkasWalletPaymentStatusEnum {
|
|
2032
|
+
ACTIVE = "ACTIVE",
|
|
2033
|
+
PASSIVE = "PASSIVE"
|
|
2034
|
+
}
|
|
2035
|
+
export declare type IkasWalletPayoutPeriod = {
|
|
2036
|
+
__typename?: 'IkasWalletPayoutPeriod';
|
|
2037
|
+
endDate: Scalars['Timestamp'];
|
|
2038
|
+
startDate: Scalars['Timestamp'];
|
|
2039
|
+
};
|
|
2040
|
+
export declare enum IkasWalletPayoutStatusEnum {
|
|
2041
|
+
ACTIVE = "ACTIVE",
|
|
2042
|
+
APPROVED = "APPROVED",
|
|
2043
|
+
PASSIVE = "PASSIVE",
|
|
2044
|
+
PENDING = "PENDING"
|
|
2045
|
+
}
|
|
2046
|
+
export declare enum IkasWalletPayoutTermEnum {
|
|
2047
|
+
EVERY_FRIDAY_AFTER_SEVEN_DAYS = "EVERY_FRIDAY_AFTER_SEVEN_DAYS",
|
|
2048
|
+
EVERY_HOUR = "EVERY_HOUR"
|
|
2049
|
+
}
|
|
2050
|
+
export declare type IkasWalletPayoutTransferInformation = {
|
|
2051
|
+
__typename?: 'IkasWalletPayoutTransferInformation';
|
|
2052
|
+
holderName: Scalars['String'];
|
|
2053
|
+
iban: Scalars['String'];
|
|
2054
|
+
};
|
|
2055
|
+
export declare type IkasWalletTopUpSettings = {
|
|
2056
|
+
__typename?: 'IkasWalletTopUpSettings';
|
|
2057
|
+
alternativeSavedCardId?: Maybe<Scalars['String']>;
|
|
2058
|
+
amount: Scalars['Float'];
|
|
2059
|
+
savedCardId: Scalars['String'];
|
|
2060
|
+
status: IkasWalletTopUpSettingsStatusEnum;
|
|
2061
|
+
};
|
|
2062
|
+
export declare enum IkasWalletTopUpSettingsStatusEnum {
|
|
2063
|
+
ACTIVE = "ACTIVE",
|
|
2064
|
+
PASSIVE = "PASSIVE"
|
|
2065
|
+
}
|
|
2066
|
+
export declare type IkasWalletTransaction = {
|
|
2067
|
+
__typename?: 'IkasWalletTransaction';
|
|
2068
|
+
amount: Scalars['Float'];
|
|
2069
|
+
amountWithoutTax?: Maybe<Scalars['Float']>;
|
|
2070
|
+
commission?: Maybe<IkasWalletTransactionCommission>;
|
|
2071
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2072
|
+
currencyCode: Scalars['String'];
|
|
2073
|
+
deleted: Scalars['Boolean'];
|
|
2074
|
+
error?: Maybe<IkasWalletTransactionError>;
|
|
2075
|
+
expectedPayoutDate?: Maybe<Scalars['Timestamp']>;
|
|
2076
|
+
id: Scalars['ID'];
|
|
2077
|
+
metadata?: Maybe<Scalars['JSON']>;
|
|
2078
|
+
orderDetail?: Maybe<IkasWalletTransactionOrderDetail>;
|
|
2079
|
+
paymentGatewayCode?: Maybe<PaymentGatewayCodeEnum>;
|
|
2080
|
+
paymentMethodDetail?: Maybe<IkasWalletTransactionPaymentMethodDetail>;
|
|
2081
|
+
payoutAmount: Scalars['Float'];
|
|
2082
|
+
payoutDate?: Maybe<Scalars['Timestamp']>;
|
|
2083
|
+
payoutId?: Maybe<Scalars['String']>;
|
|
2084
|
+
payoutStatus: IkasWalletTransactionPayoutStatusEnum;
|
|
2085
|
+
payoutSummary?: Maybe<IkasWalletTransactionPayoutSummary>;
|
|
2086
|
+
source: IkasWalletTransactionSourceEnum;
|
|
2087
|
+
sourceMetadata?: Maybe<IkasWalletTransactionSourceMetadata>;
|
|
2088
|
+
sourceTransactionId?: Maybe<Scalars['String']>;
|
|
2089
|
+
status: IkasWalletTransactionStatusEnum;
|
|
2090
|
+
transactionCategory: IkasWalletTransactionCategoryEnum;
|
|
2091
|
+
transactionId: Scalars['String'];
|
|
2092
|
+
type: IkasWalletTransactionTypeEnum;
|
|
2093
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2094
|
+
withholding?: Maybe<IkasWalletTransactionWithholding>;
|
|
2095
|
+
};
|
|
2096
|
+
/** Ikas Wallet Transaction Card Association Enum */
|
|
2097
|
+
export declare enum IkasWalletTransactionCardAssociationEnum {
|
|
2098
|
+
AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
|
|
2099
|
+
MASTER_CARD = "MASTER_CARD",
|
|
2100
|
+
TROY = "TROY",
|
|
2101
|
+
VISA = "VISA"
|
|
2102
|
+
}
|
|
2103
|
+
/** Ikas Wallet Transaction Card Type Enum */
|
|
2104
|
+
export declare enum IkasWalletTransactionCardTypeEnum {
|
|
2105
|
+
CREDIT = "CREDIT",
|
|
2106
|
+
DEBIT = "DEBIT",
|
|
2107
|
+
PREPAID = "PREPAID"
|
|
2108
|
+
}
|
|
2109
|
+
export declare enum IkasWalletTransactionCategoryEnum {
|
|
2110
|
+
DEPOSIT = "DEPOSIT",
|
|
2111
|
+
ORDER = "ORDER",
|
|
2112
|
+
PAYOUT = "PAYOUT",
|
|
2113
|
+
SHIPPING = "SHIPPING",
|
|
2114
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
2115
|
+
}
|
|
2116
|
+
export declare type IkasWalletTransactionCommission = {
|
|
2117
|
+
__typename?: 'IkasWalletTransactionCommission';
|
|
2118
|
+
amount: Scalars['Float'];
|
|
2119
|
+
rate: Scalars['Float'];
|
|
2120
|
+
};
|
|
2121
|
+
export declare type IkasWalletTransactionError = {
|
|
2122
|
+
__typename?: 'IkasWalletTransactionError';
|
|
2123
|
+
code: Scalars['String'];
|
|
2124
|
+
message: Scalars['String'];
|
|
2125
|
+
};
|
|
2126
|
+
export declare type IkasWalletTransactionInstallment = {
|
|
2127
|
+
__typename?: 'IkasWalletTransactionInstallment';
|
|
2128
|
+
installmentCount?: Maybe<Scalars['Float']>;
|
|
2129
|
+
installmentPrice?: Maybe<Scalars['Float']>;
|
|
2130
|
+
originalRate?: Maybe<Scalars['Float']>;
|
|
2131
|
+
rate?: Maybe<Scalars['Float']>;
|
|
2132
|
+
totalPrice?: Maybe<Scalars['Float']>;
|
|
2133
|
+
};
|
|
2134
|
+
export declare type IkasWalletTransactionOrderDetail = {
|
|
2135
|
+
__typename?: 'IkasWalletTransactionOrderDetail';
|
|
2136
|
+
orderId: Scalars['String'];
|
|
2137
|
+
orderNumber: Scalars['String'];
|
|
2138
|
+
orderedDate: Scalars['Timestamp'];
|
|
2139
|
+
};
|
|
2140
|
+
export declare type IkasWalletTransactionPaginationResponse = {
|
|
2141
|
+
__typename?: 'IkasWalletTransactionPaginationResponse';
|
|
2142
|
+
/**
|
|
2143
|
+
* Returns the first three records of each page in the records returned as a response.
|
|
2144
|
+
* For example, **let's say page = 3, limit = 30, count = 3.**
|
|
2145
|
+
* The records that will return as a response are the records **between 60-62.**
|
|
2146
|
+
*/
|
|
2147
|
+
count: Scalars['Int'];
|
|
2148
|
+
data: Array<IkasWalletTransaction>;
|
|
2149
|
+
/** 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.** */
|
|
2150
|
+
hasNext: Scalars['Boolean'];
|
|
2151
|
+
/**
|
|
2152
|
+
* The maximum number of data you want to see on a page in the records returned as a response.
|
|
2153
|
+
* For example, if the limit is **20**, the data will be displayed ** as 20 each. **
|
|
2154
|
+
* :::note
|
|
2155
|
+
* min 1, max 200 values can be given. If no value is entered, default 50 is accepted.
|
|
2156
|
+
* :::
|
|
2157
|
+
*/
|
|
2158
|
+
limit: Scalars['Int'];
|
|
2159
|
+
/**
|
|
2160
|
+
* The number of the page you want to see in the records that return as response.
|
|
2161
|
+
* For example: We entered the page field as **3**.And let our limit field be **30**.
|
|
2162
|
+
* The records that will return as a response are the records **between 60-90.**
|
|
2163
|
+
* :::note
|
|
2164
|
+
* If no value is entered, default 1 is accepted.
|
|
2165
|
+
* :::
|
|
2166
|
+
*/
|
|
2167
|
+
page: Scalars['Int'];
|
|
2168
|
+
};
|
|
2169
|
+
export declare type IkasWalletTransactionPaymentMethodDetail = {
|
|
2170
|
+
__typename?: 'IkasWalletTransactionPaymentMethodDetail';
|
|
2171
|
+
bankName?: Maybe<Scalars['String']>;
|
|
2172
|
+
binNumber?: Maybe<Scalars['String']>;
|
|
2173
|
+
cardAssociation?: Maybe<IkasWalletTransactionCardAssociationEnum>;
|
|
2174
|
+
cardFamily?: Maybe<Scalars['String']>;
|
|
2175
|
+
cardType?: Maybe<IkasWalletTransactionCardTypeEnum>;
|
|
2176
|
+
installment?: Maybe<IkasWalletTransactionInstallment>;
|
|
2177
|
+
lastFourDigits?: Maybe<Scalars['String']>;
|
|
2178
|
+
savedCardId?: Maybe<Scalars['String']>;
|
|
2179
|
+
threeDSecure?: Maybe<Scalars['String']>;
|
|
2180
|
+
};
|
|
2181
|
+
export declare enum IkasWalletTransactionPayoutStatusEnum {
|
|
2182
|
+
COMPLETED = "COMPLETED",
|
|
2183
|
+
NONE = "NONE",
|
|
2184
|
+
PROCESSING = "PROCESSING",
|
|
2185
|
+
WAITING = "WAITING"
|
|
2186
|
+
}
|
|
2187
|
+
export declare type IkasWalletTransactionPayoutSummary = {
|
|
2188
|
+
__typename?: 'IkasWalletTransactionPayoutSummary';
|
|
2189
|
+
commissionAmount: Scalars['Float'];
|
|
2190
|
+
gatewayReferenceId?: Maybe<Scalars['String']>;
|
|
2191
|
+
netSalesTransactionAmount: Scalars['Float'];
|
|
2192
|
+
period: IkasWalletPayoutPeriod;
|
|
2193
|
+
totalRefundCount: Scalars['Float'];
|
|
2194
|
+
totalSaleCount: Scalars['Float'];
|
|
2195
|
+
totalShippingTransactionAmount: Scalars['Float'];
|
|
2196
|
+
totalSubscriptionTransactionAmount: Scalars['Float'];
|
|
2197
|
+
transferInformation: IkasWalletPayoutTransferInformation;
|
|
2198
|
+
withholdingAmount: Scalars['Float'];
|
|
2199
|
+
};
|
|
2200
|
+
export declare enum IkasWalletTransactionSourceEnum {
|
|
2201
|
+
DEPOSIT = "DEPOSIT",
|
|
2202
|
+
FREE_CREDIT = "FREE_CREDIT",
|
|
2203
|
+
WALLET = "WALLET"
|
|
2204
|
+
}
|
|
2205
|
+
export declare type IkasWalletTransactionSourceMetadata = {
|
|
2206
|
+
__typename?: 'IkasWalletTransactionSourceMetadata';
|
|
2207
|
+
authorizedAppId?: Maybe<Scalars['String']>;
|
|
2208
|
+
firstName?: Maybe<Scalars['String']>;
|
|
2209
|
+
id: Scalars['String'];
|
|
2210
|
+
imageId?: Maybe<Scalars['String']>;
|
|
2211
|
+
lastName?: Maybe<Scalars['String']>;
|
|
2212
|
+
};
|
|
2213
|
+
export declare enum IkasWalletTransactionStatusEnum {
|
|
2214
|
+
FAILED = "FAILED",
|
|
2215
|
+
PENDING = "PENDING",
|
|
2216
|
+
SUCCESS = "SUCCESS"
|
|
2217
|
+
}
|
|
2218
|
+
export declare type IkasWalletTransactionStatusEnumFilter = {
|
|
2219
|
+
/** `equal`. The filter used for equality. */
|
|
2220
|
+
eq?: InputMaybe<IkasWalletTransactionStatusEnum>;
|
|
2221
|
+
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
2222
|
+
in?: InputMaybe<Array<InputMaybe<IkasWalletTransactionStatusEnum>>>;
|
|
2223
|
+
/** `not equal`. The filter used for not equality. */
|
|
2224
|
+
ne?: InputMaybe<IkasWalletTransactionStatusEnum>;
|
|
2225
|
+
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
2226
|
+
nin?: InputMaybe<Array<InputMaybe<IkasWalletTransactionStatusEnum>>>;
|
|
2227
|
+
};
|
|
2228
|
+
export declare enum IkasWalletTransactionTypeEnum {
|
|
2229
|
+
DEPOSIT_PAYMENT = "DEPOSIT_PAYMENT",
|
|
2230
|
+
IKAS_PAYMENT = "IKAS_PAYMENT",
|
|
2231
|
+
IKAS_REFUND = "IKAS_REFUND",
|
|
2232
|
+
PAYOUT = "PAYOUT",
|
|
2233
|
+
REFUND = "REFUND",
|
|
2234
|
+
SALE = "SALE"
|
|
2235
|
+
}
|
|
2236
|
+
export declare type IkasWalletTransactionWithholding = {
|
|
2237
|
+
__typename?: 'IkasWalletTransactionWithholding';
|
|
2238
|
+
amount: Scalars['Float'];
|
|
2239
|
+
rate: Scalars['Float'];
|
|
2240
|
+
};
|
|
1732
2241
|
/** Import Status Type */
|
|
1733
2242
|
export declare enum ImportStatusEnum {
|
|
1734
2243
|
FAILED = "FAILED",
|
|
@@ -1765,11 +2274,11 @@ export declare enum ImportTypeEnum {
|
|
|
1765
2274
|
}
|
|
1766
2275
|
export declare type Invoice = {
|
|
1767
2276
|
__typename?: 'Invoice';
|
|
1768
|
-
/** It is the id
|
|
2277
|
+
/** It is the app id where the merchant is registered and creates the order invoice. */
|
|
1769
2278
|
appId: Scalars['String'];
|
|
1770
|
-
/** It is the
|
|
2279
|
+
/** It is the app name that created the order invoice. */
|
|
1771
2280
|
appName: Scalars['String'];
|
|
1772
|
-
/** It is the
|
|
2281
|
+
/** It is the date the order invoice was created. */
|
|
1773
2282
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1774
2283
|
/** It is indicates that the invoice has the pdf. */
|
|
1775
2284
|
hasPdf?: Maybe<Scalars['Boolean']>;
|
|
@@ -1777,9 +2286,9 @@ export declare type Invoice = {
|
|
|
1777
2286
|
id: Scalars['String'];
|
|
1778
2287
|
/** It is data of the invoice. */
|
|
1779
2288
|
invoiceData?: Maybe<Scalars['JSON']>;
|
|
1780
|
-
/** It is the
|
|
2289
|
+
/** It is the number of the order invoice. */
|
|
1781
2290
|
invoiceNumber: Scalars['String'];
|
|
1782
|
-
/** It is the id
|
|
2291
|
+
/** It is the ikas app id that created the order invoice. */
|
|
1783
2292
|
storeAppId: Scalars['String'];
|
|
1784
2293
|
/** It is the type enum of the invoice. */
|
|
1785
2294
|
type: InvoiceTypeEnum;
|
|
@@ -1794,6 +2303,7 @@ export declare type Language = {
|
|
|
1794
2303
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
1795
2304
|
deleted: Scalars['Boolean'];
|
|
1796
2305
|
id: Scalars['ID'];
|
|
2306
|
+
isFree?: Maybe<Scalars['Boolean']>;
|
|
1797
2307
|
locale: Scalars['String'];
|
|
1798
2308
|
name: Scalars['String'];
|
|
1799
2309
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -2002,7 +2512,8 @@ export declare enum MerchantAppPaymentStatusEnum {
|
|
|
2002
2512
|
}
|
|
2003
2513
|
export declare enum MerchantAppPaymentTypeEnum {
|
|
2004
2514
|
ONE_TIME = "ONE_TIME",
|
|
2005
|
-
SUBSCRIPTION = "SUBSCRIPTION"
|
|
2515
|
+
SUBSCRIPTION = "SUBSCRIPTION",
|
|
2516
|
+
WALLET_ACTION = "WALLET_ACTION"
|
|
2006
2517
|
}
|
|
2007
2518
|
export declare type MerchantAppSubscription = {
|
|
2008
2519
|
__typename?: 'MerchantAppSubscription';
|
|
@@ -2070,6 +2581,8 @@ export declare type MerchantResponse = {
|
|
|
2070
2581
|
__typename?: 'MerchantResponse';
|
|
2071
2582
|
/** Merchant's address information. */
|
|
2072
2583
|
address?: Maybe<MerchantAddress>;
|
|
2584
|
+
/** Merchant's address information. */
|
|
2585
|
+
billingAddress?: Maybe<MerchantAddress>;
|
|
2073
2586
|
/** The merchant staff's email address. */
|
|
2074
2587
|
email: Scalars['String'];
|
|
2075
2588
|
/** The merchant's first name. */
|
|
@@ -2085,10 +2598,40 @@ export declare type MerchantResponse = {
|
|
|
2085
2598
|
/** The merchant's store name. */
|
|
2086
2599
|
storeName?: Maybe<Scalars['String']>;
|
|
2087
2600
|
};
|
|
2601
|
+
export declare type MerchantSettings = {
|
|
2602
|
+
__typename?: 'MerchantSettings';
|
|
2603
|
+
accessPermission?: Maybe<Scalars['Boolean']>;
|
|
2604
|
+
accessPermissionToDate?: Maybe<Scalars['Timestamp']>;
|
|
2605
|
+
/** Merchant's address information. */
|
|
2606
|
+
address?: Maybe<MerchantAddress>;
|
|
2607
|
+
billingAddress?: Maybe<MerchantAddress>;
|
|
2608
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
2609
|
+
currencyCode?: Maybe<Scalars['String']>;
|
|
2610
|
+
currencyFormats?: Maybe<Array<MerchantSettingsCurrencyFormat>>;
|
|
2611
|
+
currencySymbol?: Maybe<Scalars['String']>;
|
|
2612
|
+
defaultLocale?: Maybe<Scalars['String']>;
|
|
2613
|
+
deleted: Scalars['Boolean'];
|
|
2614
|
+
id: Scalars['ID'];
|
|
2615
|
+
logoId?: Maybe<Scalars['String']>;
|
|
2616
|
+
merchantName: Scalars['String'];
|
|
2617
|
+
phone?: Maybe<Scalars['String']>;
|
|
2618
|
+
requireMFAForAllStaffs?: Maybe<Scalars['Boolean']>;
|
|
2619
|
+
timezone?: Maybe<Scalars['String']>;
|
|
2620
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2621
|
+
};
|
|
2088
2622
|
export declare enum MerchantSettingsAddressTypeEnum {
|
|
2089
2623
|
CORPORATE = "CORPORATE",
|
|
2090
2624
|
INDIVIDUAL = "INDIVIDUAL"
|
|
2091
2625
|
}
|
|
2626
|
+
export declare type MerchantSettingsCurrencyFormat = {
|
|
2627
|
+
__typename?: 'MerchantSettingsCurrencyFormat';
|
|
2628
|
+
currencyCode: Scalars['String'];
|
|
2629
|
+
decimalSeparator: Scalars['String'];
|
|
2630
|
+
omitZeroDecimal: Scalars['Boolean'];
|
|
2631
|
+
symbol: Scalars['String'];
|
|
2632
|
+
symbolPosition: CurrencyFormatSymbolPosition;
|
|
2633
|
+
thousandSeparator: Scalars['String'];
|
|
2634
|
+
};
|
|
2092
2635
|
export declare enum MerchantSubscriptionStatusEnum {
|
|
2093
2636
|
ACTIVE = "ACTIVE",
|
|
2094
2637
|
REMOVED = "REMOVED",
|
|
@@ -2108,16 +2651,21 @@ export declare type Mutation = {
|
|
|
2108
2651
|
cancelFulfillment: Order;
|
|
2109
2652
|
/** Use this mutation to cancel given order lines. */
|
|
2110
2653
|
cancelOrderLine: Order;
|
|
2654
|
+
changeStockLocation: Order;
|
|
2111
2655
|
/** Using this api, you can add payment features to a merchant app. */
|
|
2112
2656
|
createMerchantAppPayment: MerchantAppPayment;
|
|
2113
2657
|
/** Using this api, you can add payment features to a merchant app with app subscription id. */
|
|
2114
2658
|
createMerchantAppPaymentWithSubscription?: Maybe<MerchantAppPayment>;
|
|
2115
2659
|
/** Use this mutation if you want to create a new order with transactions. */
|
|
2116
2660
|
createOrderWithTransactions: Order;
|
|
2661
|
+
/** Using this API, you can make payments and refunds via Ikas Wallet. */
|
|
2662
|
+
createWalletTransaction: Array<IkasWalletTransaction>;
|
|
2117
2663
|
deleteCampaignList: Scalars['Boolean'];
|
|
2118
2664
|
/** Using this api, you can delete the categories of products. */
|
|
2119
2665
|
deleteCategoryList: Scalars['Boolean'];
|
|
2120
2666
|
deleteCouponList: Scalars['String'];
|
|
2667
|
+
deleteCustomerGroupList: Scalars['Boolean'];
|
|
2668
|
+
deleteCustomerList: Scalars['Boolean'];
|
|
2121
2669
|
deleteGlobalTaxSettingsList: Scalars['Boolean'];
|
|
2122
2670
|
deleteOrderTagList: Scalars['Boolean'];
|
|
2123
2671
|
/** Use this mutation to delete product attributes with specific ids. */
|
|
@@ -2135,6 +2683,8 @@ export declare type Mutation = {
|
|
|
2135
2683
|
deleteProductVolumeDiscountList: Scalars['Boolean'];
|
|
2136
2684
|
/** Using this api, you can delete javascript script from a the storefront. */
|
|
2137
2685
|
deleteStorefrontJSScript: Scalars['Boolean'];
|
|
2686
|
+
/** Using this API, you can delete a policy from the storefront. */
|
|
2687
|
+
deleteStorefrontPolicyList: Scalars['Boolean'];
|
|
2138
2688
|
deleteTaxSettingsList: Scalars['Boolean'];
|
|
2139
2689
|
/** Using this api, you can delete the variant types of products. */
|
|
2140
2690
|
deleteVariantTypeList: Scalars['Boolean'];
|
|
@@ -2144,6 +2694,7 @@ export declare type Mutation = {
|
|
|
2144
2694
|
deleteWebhook: Scalars['Boolean'];
|
|
2145
2695
|
/** Use this mutation to fulfill order line items. */
|
|
2146
2696
|
fulfillOrder: Order;
|
|
2697
|
+
generateOrderPaymentLink?: Maybe<Scalars['String']>;
|
|
2147
2698
|
/** Using this api, you can collect demo day. */
|
|
2148
2699
|
getAppDemoDay?: Maybe<Scalars['Float']>;
|
|
2149
2700
|
getOrderInvoicePdfUrl?: Maybe<Scalars['String']>;
|
|
@@ -2153,6 +2704,8 @@ export declare type Mutation = {
|
|
|
2153
2704
|
saveCampaign: Campaign;
|
|
2154
2705
|
/** Using this api, you can update the categories of products. */
|
|
2155
2706
|
saveCategory: Category;
|
|
2707
|
+
saveCustomer: Customer;
|
|
2708
|
+
saveCustomerGroup: CustomerGroup;
|
|
2156
2709
|
saveGlobalTaxSettings: GlobalTaxSettings;
|
|
2157
2710
|
saveOrderTag: OrderTag;
|
|
2158
2711
|
/** Use this mutation to create or update a product with provided input values. */
|
|
@@ -2174,6 +2727,8 @@ export declare type Mutation = {
|
|
|
2174
2727
|
saveSalesChannel?: Maybe<SalesChannel>;
|
|
2175
2728
|
/** Using this api, you can save javascript script to a the storefront. */
|
|
2176
2729
|
saveStorefrontJSScript: StorefrontJSScript;
|
|
2730
|
+
/** Using this API, you can save a policy to the storefront. */
|
|
2731
|
+
saveStorefrontPolicy: StorefrontPolicy;
|
|
2177
2732
|
saveTaxSettings: TaxSettings;
|
|
2178
2733
|
/** Response indicating the status of operation. */
|
|
2179
2734
|
saveVariantPrices: Scalars['Boolean'];
|
|
@@ -2183,6 +2738,7 @@ export declare type Mutation = {
|
|
|
2183
2738
|
saveVendor: Vendor;
|
|
2184
2739
|
/** 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. */
|
|
2185
2740
|
saveWebhook?: Maybe<Array<Webhook>>;
|
|
2741
|
+
updateCustomerB2BStatus: Scalars['Boolean'];
|
|
2186
2742
|
/** Use this mutation for order address information changes. */
|
|
2187
2743
|
updateOrderAddresses: Order;
|
|
2188
2744
|
/** Use this mutation to cancel the fulfillment of the already created package for an order. */
|
|
@@ -2217,6 +2773,9 @@ export declare type MutationcancelFulfillmentArgs = {
|
|
|
2217
2773
|
export declare type MutationcancelOrderLineArgs = {
|
|
2218
2774
|
input: CancelOrderLineInput;
|
|
2219
2775
|
};
|
|
2776
|
+
export declare type MutationchangeStockLocationArgs = {
|
|
2777
|
+
input: ChangeStockLocationInput;
|
|
2778
|
+
};
|
|
2220
2779
|
export declare type MutationcreateMerchantAppPaymentArgs = {
|
|
2221
2780
|
input: MerchantAppPaymentInput;
|
|
2222
2781
|
};
|
|
@@ -2226,6 +2785,9 @@ export declare type MutationcreateMerchantAppPaymentWithSubscriptionArgs = {
|
|
|
2226
2785
|
export declare type MutationcreateOrderWithTransactionsArgs = {
|
|
2227
2786
|
input: CreateOrderWithTransactionsInput;
|
|
2228
2787
|
};
|
|
2788
|
+
export declare type MutationcreateWalletTransactionArgs = {
|
|
2789
|
+
input: CreateWalletTransactionInput;
|
|
2790
|
+
};
|
|
2229
2791
|
export declare type MutationdeleteCampaignListArgs = {
|
|
2230
2792
|
idList: Array<Scalars['String']>;
|
|
2231
2793
|
};
|
|
@@ -2235,6 +2797,12 @@ export declare type MutationdeleteCategoryListArgs = {
|
|
|
2235
2797
|
export declare type MutationdeleteCouponListArgs = {
|
|
2236
2798
|
idList: Array<Scalars['String']>;
|
|
2237
2799
|
};
|
|
2800
|
+
export declare type MutationdeleteCustomerGroupListArgs = {
|
|
2801
|
+
idList: Array<Scalars['String']>;
|
|
2802
|
+
};
|
|
2803
|
+
export declare type MutationdeleteCustomerListArgs = {
|
|
2804
|
+
idList: Array<Scalars['String']>;
|
|
2805
|
+
};
|
|
2238
2806
|
export declare type MutationdeleteGlobalTaxSettingsListArgs = {
|
|
2239
2807
|
idList: Array<Scalars['String']>;
|
|
2240
2808
|
};
|
|
@@ -2265,6 +2833,9 @@ export declare type MutationdeleteProductVolumeDiscountListArgs = {
|
|
|
2265
2833
|
export declare type MutationdeleteStorefrontJSScriptArgs = {
|
|
2266
2834
|
storefrontIdList: Array<Scalars['String']>;
|
|
2267
2835
|
};
|
|
2836
|
+
export declare type MutationdeleteStorefrontPolicyListArgs = {
|
|
2837
|
+
idList: Array<Scalars['String']>;
|
|
2838
|
+
};
|
|
2268
2839
|
export declare type MutationdeleteTaxSettingsListArgs = {
|
|
2269
2840
|
idList: Array<Scalars['String']>;
|
|
2270
2841
|
};
|
|
@@ -2280,6 +2851,9 @@ export declare type MutationdeleteWebhookArgs = {
|
|
|
2280
2851
|
export declare type MutationfulfillOrderArgs = {
|
|
2281
2852
|
input: FulFillOrderInput;
|
|
2282
2853
|
};
|
|
2854
|
+
export declare type MutationgenerateOrderPaymentLinkArgs = {
|
|
2855
|
+
input: GenerateOrderPaymentLinkInput;
|
|
2856
|
+
};
|
|
2283
2857
|
export declare type MutationgetAppDemoDayArgs = {
|
|
2284
2858
|
input: CreateMerchantAppPaymentWithSubscriptionInput;
|
|
2285
2859
|
};
|
|
@@ -2298,6 +2872,12 @@ export declare type MutationsaveCampaignArgs = {
|
|
|
2298
2872
|
export declare type MutationsaveCategoryArgs = {
|
|
2299
2873
|
input: CategoryInput;
|
|
2300
2874
|
};
|
|
2875
|
+
export declare type MutationsaveCustomerArgs = {
|
|
2876
|
+
input: CustomerInput;
|
|
2877
|
+
};
|
|
2878
|
+
export declare type MutationsaveCustomerGroupArgs = {
|
|
2879
|
+
input: CustomerGroupInput;
|
|
2880
|
+
};
|
|
2301
2881
|
export declare type MutationsaveGlobalTaxSettingsArgs = {
|
|
2302
2882
|
input: GlobalTaxSettingsInput;
|
|
2303
2883
|
};
|
|
@@ -2334,6 +2914,9 @@ export declare type MutationsaveSalesChannelArgs = {
|
|
|
2334
2914
|
export declare type MutationsaveStorefrontJSScriptArgs = {
|
|
2335
2915
|
input: StorefrontJSScriptInput;
|
|
2336
2916
|
};
|
|
2917
|
+
export declare type MutationsaveStorefrontPolicyArgs = {
|
|
2918
|
+
input: StorefrontPolicyInput;
|
|
2919
|
+
};
|
|
2337
2920
|
export declare type MutationsaveTaxSettingsArgs = {
|
|
2338
2921
|
input: TaxSettingsInput;
|
|
2339
2922
|
};
|
|
@@ -2349,6 +2932,10 @@ export declare type MutationsaveVendorArgs = {
|
|
|
2349
2932
|
export declare type MutationsaveWebhookArgs = {
|
|
2350
2933
|
input: WebhookInput;
|
|
2351
2934
|
};
|
|
2935
|
+
export declare type MutationupdateCustomerB2BStatusArgs = {
|
|
2936
|
+
b2bStatus: CustomerB2BStatusEnum;
|
|
2937
|
+
customerId: Scalars['String'];
|
|
2938
|
+
};
|
|
2352
2939
|
export declare type MutationupdateOrderAddressesArgs = {
|
|
2353
2940
|
input: UpdateOrderAddressesInput;
|
|
2354
2941
|
};
|
|
@@ -2414,8 +3001,11 @@ export declare type Order = {
|
|
|
2414
3001
|
/** It shows the number of orders given by the relevant customer. */
|
|
2415
3002
|
customerOrderCount?: Maybe<Scalars['Float']>;
|
|
2416
3003
|
customerSegments?: Maybe<Array<OrderCustomerSegment>>;
|
|
3004
|
+
customerSubscriptionPlans?: Maybe<Array<OrderCustomerSubscriptionPlan>>;
|
|
2417
3005
|
deleted: Scalars['Boolean'];
|
|
2418
3006
|
dueDate?: Maybe<Scalars['Timestamp']>;
|
|
3007
|
+
edited?: Maybe<Scalars['Boolean']>;
|
|
3008
|
+
giftCardLines?: Maybe<Array<OrderGiftCardLine>>;
|
|
2419
3009
|
/** A list of gift package line objects, each containing information about a gift package pricing in the order. */
|
|
2420
3010
|
giftPackageLines?: Maybe<Array<OrderGiftPackageLine>>;
|
|
2421
3011
|
/** An optional gift package note, can attach to the order. */
|
|
@@ -2429,8 +3019,11 @@ export declare type Order = {
|
|
|
2429
3019
|
isGiftPackage?: Maybe<Scalars['Boolean']>;
|
|
2430
3020
|
itemCount?: Maybe<Scalars['Float']>;
|
|
2431
3021
|
lastActivityDate?: Maybe<Scalars['Timestamp']>;
|
|
3022
|
+
loyaltyLines?: Maybe<Array<OrderLoyaltyLine>>;
|
|
2432
3023
|
marketingCampaignId?: Maybe<Scalars['String']>;
|
|
2433
3024
|
merchantId: Scalars['String'];
|
|
3025
|
+
/** It is the reflection of the prices of the refunds and the items added later on the final order price. */
|
|
3026
|
+
netTotalFinalPrice?: Maybe<Scalars['Float']>;
|
|
2434
3027
|
/** An optional note, can attach to the order. */
|
|
2435
3028
|
note?: Maybe<Scalars['String']>;
|
|
2436
3029
|
/** A list of adjustment objects, each containing information about a adjustment in the order. */
|
|
@@ -2463,6 +3056,7 @@ export declare type Order = {
|
|
|
2463
3056
|
/** Information about the `salesChannel` where the order was created. */
|
|
2464
3057
|
salesChannel: OrderSalesChannel;
|
|
2465
3058
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
3059
|
+
sessionId?: Maybe<Scalars['String']>;
|
|
2466
3060
|
sessionInfo?: Maybe<OrderSessionInfo>;
|
|
2467
3061
|
/** It is the shipping address of the order. */
|
|
2468
3062
|
shippingAddress?: Maybe<OrderAddress>;
|
|
@@ -2500,6 +3094,9 @@ export declare type Order = {
|
|
|
2500
3094
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2501
3095
|
/** Details of the browsing client, including software and operating versions. */
|
|
2502
3096
|
userAgent?: Maybe<Scalars['String']>;
|
|
3097
|
+
workflowId?: Maybe<Scalars['String']>;
|
|
3098
|
+
workflowName?: Maybe<Scalars['String']>;
|
|
3099
|
+
workflowNodeId?: Maybe<Scalars['String']>;
|
|
2503
3100
|
};
|
|
2504
3101
|
export declare type OrderAddress = {
|
|
2505
3102
|
__typename?: 'OrderAddress';
|
|
@@ -2787,6 +3384,25 @@ export declare type OrderCustomerSegment = {
|
|
|
2787
3384
|
/** It is the customer's segment name */
|
|
2788
3385
|
name: Scalars['String'];
|
|
2789
3386
|
};
|
|
3387
|
+
export declare type OrderCustomerSubscriptionPlan = {
|
|
3388
|
+
__typename?: 'OrderCustomerSubscriptionPlan';
|
|
3389
|
+
/** It is the id of the customer subscription plan. */
|
|
3390
|
+
id: Scalars['String'];
|
|
3391
|
+
};
|
|
3392
|
+
export declare type OrderGiftCardLine = {
|
|
3393
|
+
__typename?: 'OrderGiftCardLine';
|
|
3394
|
+
amount: Scalars['Float'];
|
|
3395
|
+
appliedTransactions: Array<OrderGiftCardLineAppliedTransaction>;
|
|
3396
|
+
code: Scalars['String'];
|
|
3397
|
+
giftCardId: Scalars['String'];
|
|
3398
|
+
id: Scalars['String'];
|
|
3399
|
+
};
|
|
3400
|
+
export declare type OrderGiftCardLineAppliedTransaction = {
|
|
3401
|
+
__typename?: 'OrderGiftCardLineAppliedTransaction';
|
|
3402
|
+
amount: Scalars['Float'];
|
|
3403
|
+
id: Scalars['String'];
|
|
3404
|
+
type: TransactionTypeEnum;
|
|
3405
|
+
};
|
|
2790
3406
|
export declare type OrderGiftPackageLine = {
|
|
2791
3407
|
__typename?: 'OrderGiftPackageLine';
|
|
2792
3408
|
/** Indicates whether the gift cost is refunded if the order is refunded. **isRefunded** returns `true` if the amount is refunded. */
|
|
@@ -2879,11 +3495,15 @@ export declare type OrderLineItem = {
|
|
|
2879
3495
|
/** It is the currency code of the order line item. */
|
|
2880
3496
|
currencyCode?: Maybe<Scalars['String']>;
|
|
2881
3497
|
currencySymbol?: Maybe<Scalars['String']>;
|
|
3498
|
+
/** Information about the customer subscription plan of order line. */
|
|
3499
|
+
customerSubscriptionPlan?: Maybe<OrderLineItemCustomerSubscriptionPlan>;
|
|
2882
3500
|
deleted: Scalars['Boolean'];
|
|
2883
3501
|
/** Information about the discount. Shows the details of the discount applied to the order line item. */
|
|
2884
3502
|
discount?: Maybe<OrderLineDiscount>;
|
|
2885
3503
|
/** It is the discount price of the order line item. */
|
|
2886
3504
|
discountPrice?: Maybe<Scalars['Float']>;
|
|
3505
|
+
/** After creating the order, it indicates whether the relevant line has been added/removed by the store staff. */
|
|
3506
|
+
edited?: Maybe<Scalars['Boolean']>;
|
|
2887
3507
|
/** It is the final price of the order line item. If the discount price is less than the sell price, the final price is equal to the discount price. */
|
|
2888
3508
|
finalPrice?: Maybe<Scalars['Float']>;
|
|
2889
3509
|
/** It is the unit price of the order line item. */
|
|
@@ -2904,6 +3524,8 @@ export declare type OrderLineItem = {
|
|
|
2904
3524
|
statusUpdatedAt?: Maybe<Scalars['Timestamp']>;
|
|
2905
3525
|
/** It is the stock location id of the variant value in the order line item. */
|
|
2906
3526
|
stockLocationId?: Maybe<Scalars['String']>;
|
|
3527
|
+
/** Information about the subscription plan of order line. */
|
|
3528
|
+
subscriptionPlan?: Maybe<OrderLineItemSubscriptionPlan>;
|
|
2907
3529
|
/** It is the tax value of the order line item. */
|
|
2908
3530
|
taxValue?: Maybe<Scalars['Float']>;
|
|
2909
3531
|
/** It is the unit price of the order line item. */
|
|
@@ -2912,7 +3534,14 @@ export declare type OrderLineItem = {
|
|
|
2912
3534
|
/** Information about the variant of the order line item. */
|
|
2913
3535
|
variant: OrderLineVariant;
|
|
2914
3536
|
};
|
|
3537
|
+
export declare type OrderLineItemCustomerSubscriptionPlan = {
|
|
3538
|
+
__typename?: 'OrderLineItemCustomerSubscriptionPlan';
|
|
3539
|
+
/** It is the id of subscription plan */
|
|
3540
|
+
id: Scalars['String'];
|
|
3541
|
+
};
|
|
2915
3542
|
export declare type OrderLineItemInput = {
|
|
3543
|
+
/** It is the bundle product settings in the order line item. */
|
|
3544
|
+
bundleProductSettings?: InputMaybe<BundleProductOrderLineInput>;
|
|
2916
3545
|
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
2917
3546
|
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
2918
3547
|
/** It is the discount information that will be applied to the line item. */
|
|
@@ -2938,12 +3567,45 @@ export declare enum OrderLineItemStatusEnum {
|
|
|
2938
3567
|
CANCEL_REQUESTED = "CANCEL_REQUESTED",
|
|
2939
3568
|
DELIVERED = "DELIVERED",
|
|
2940
3569
|
FULFILLED = "FULFILLED",
|
|
3570
|
+
PLANNED = "PLANNED",
|
|
2941
3571
|
REFUNDED = "REFUNDED",
|
|
3572
|
+
REFUND_DELIVERED = "REFUND_DELIVERED",
|
|
3573
|
+
REFUND_IN_TRANSIT = "REFUND_IN_TRANSIT",
|
|
2942
3574
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
2943
3575
|
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
2944
3576
|
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
2945
3577
|
UNFULFILLED = "UNFULFILLED"
|
|
2946
3578
|
}
|
|
3579
|
+
export declare type OrderLineItemSubscriptionPlan = {
|
|
3580
|
+
__typename?: 'OrderLineItemSubscriptionPlan';
|
|
3581
|
+
/** It is the id of subscription plan */
|
|
3582
|
+
id: Scalars['String'];
|
|
3583
|
+
/** It is the name of subscription plan. */
|
|
3584
|
+
name: Scalars['String'];
|
|
3585
|
+
/** It is the period of the subscription plan */
|
|
3586
|
+
period: OrderLineItemSubscriptionPlanPeriod;
|
|
3587
|
+
};
|
|
3588
|
+
export declare type OrderLineItemSubscriptionPlanPeriod = {
|
|
3589
|
+
__typename?: 'OrderLineItemSubscriptionPlanPeriod';
|
|
3590
|
+
/** It is the cut of day of subscription plan period */
|
|
3591
|
+
cutOffDay?: Maybe<Scalars['Float']>;
|
|
3592
|
+
/** It is the discount of subscription plan period */
|
|
3593
|
+
discount?: Maybe<SubscriptionPlanDiscount>;
|
|
3594
|
+
/** It is the duration unit of subscription plan period. */
|
|
3595
|
+
durationUnit: SubscriptionPlanDurationUnitTypeEnum;
|
|
3596
|
+
/** It is the duration value of subscription plan period. */
|
|
3597
|
+
durationValue: Scalars['Float'];
|
|
3598
|
+
/** It is the id of subscription plan period */
|
|
3599
|
+
id: Scalars['String'];
|
|
3600
|
+
/** It is the max orders of subscription plan period */
|
|
3601
|
+
maxOrders?: Maybe<Scalars['Float']>;
|
|
3602
|
+
/** It is the payment type of subscription plan */
|
|
3603
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
3604
|
+
/** It is the scheduled order day of subscription plan period. */
|
|
3605
|
+
scheduledOrderDay?: Maybe<Scalars['Float']>;
|
|
3606
|
+
/** It is the id of subscription plan period */
|
|
3607
|
+
title: Scalars['String'];
|
|
3608
|
+
};
|
|
2947
3609
|
export declare type OrderLineOption = {
|
|
2948
3610
|
__typename?: 'OrderLineOption';
|
|
2949
3611
|
/** It is the name of order line option in the order line item. */
|
|
@@ -2969,8 +3631,10 @@ export declare type OrderLineOptionInput = {
|
|
|
2969
3631
|
};
|
|
2970
3632
|
export declare type OrderLineOptionValue = {
|
|
2971
3633
|
__typename?: 'OrderLineOptionValue';
|
|
3634
|
+
applyAfterCampaign?: Maybe<Scalars['Boolean']>;
|
|
2972
3635
|
name?: Maybe<Scalars['String']>;
|
|
2973
3636
|
price?: Maybe<Scalars['Float']>;
|
|
3637
|
+
priceType?: Maybe<ProductOptionPriceTypeEnum>;
|
|
2974
3638
|
value: Scalars['String'];
|
|
2975
3639
|
};
|
|
2976
3640
|
export declare type OrderLineOptionValueInput = {
|
|
@@ -3139,6 +3803,14 @@ export declare type OrderLineVariantVariantValues = {
|
|
|
3139
3803
|
/** It is the order of variant value. The variant value order starts from 0. */
|
|
3140
3804
|
variantValueName?: Maybe<Scalars['String']>;
|
|
3141
3805
|
};
|
|
3806
|
+
export declare type OrderLoyaltyLine = {
|
|
3807
|
+
__typename?: 'OrderLoyaltyLine';
|
|
3808
|
+
amount: Scalars['Float'];
|
|
3809
|
+
id: Scalars['String'];
|
|
3810
|
+
loyaltyProgramCustomerId: Scalars['String'];
|
|
3811
|
+
loyaltyProgramId: Scalars['String'];
|
|
3812
|
+
loyaltySpendingMethodId: Scalars['String'];
|
|
3813
|
+
};
|
|
3142
3814
|
export declare type OrderPackage = {
|
|
3143
3815
|
__typename?: 'OrderPackage';
|
|
3144
3816
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -3154,12 +3826,24 @@ export declare type OrderPackage = {
|
|
|
3154
3826
|
orderPackageFulfillStatus: OrderPackageFulfillStatusEnum;
|
|
3155
3827
|
/** It is the number of order package. Order package number is created with the order number - order package sequence format. */
|
|
3156
3828
|
orderPackageNumber: Scalars['String'];
|
|
3829
|
+
/** If it is a refund package, specify the id of the refund reason. */
|
|
3830
|
+
refundReasonId?: Maybe<Scalars['String']>;
|
|
3157
3831
|
sourceId?: Maybe<Scalars['String']>;
|
|
3158
3832
|
stockLocationId: Scalars['String'];
|
|
3833
|
+
subscriptionPlanOrder?: Maybe<OrderPackageCustomerSubscriptionPlanOrder>;
|
|
3159
3834
|
/** It is the stock location id information where the package will be shipped. */
|
|
3160
3835
|
trackingInfo?: Maybe<TrackingInfo>;
|
|
3161
3836
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3162
3837
|
};
|
|
3838
|
+
export declare type OrderPackageCustomerSubscriptionPlanOrder = {
|
|
3839
|
+
__typename?: 'OrderPackageCustomerSubscriptionPlanOrder';
|
|
3840
|
+
customerSubscriptionPlanId: Scalars['String'];
|
|
3841
|
+
customerSubscriptionPlanOrderId: Scalars['String'];
|
|
3842
|
+
paymentDate: Scalars['Timestamp'];
|
|
3843
|
+
paymentStatus: CustomerSubscriptionPlanOrderPaymentStatusEnum;
|
|
3844
|
+
plannedDate: Scalars['Timestamp'];
|
|
3845
|
+
status: CustomerSubscriptionPlanOrderStatusEnum;
|
|
3846
|
+
};
|
|
3163
3847
|
export declare enum OrderPackageFulfillStatusEnum {
|
|
3164
3848
|
CANCELLED = "CANCELLED",
|
|
3165
3849
|
CANCEL_REJECTED = "CANCEL_REJECTED",
|
|
@@ -3167,9 +3851,12 @@ export declare enum OrderPackageFulfillStatusEnum {
|
|
|
3167
3851
|
DELIVERED = "DELIVERED",
|
|
3168
3852
|
ERROR = "ERROR",
|
|
3169
3853
|
FULFILLED = "FULFILLED",
|
|
3854
|
+
PLANNED = "PLANNED",
|
|
3170
3855
|
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
3171
3856
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
3172
3857
|
REFUNDED = "REFUNDED",
|
|
3858
|
+
REFUND_DELIVERED = "REFUND_DELIVERED",
|
|
3859
|
+
REFUND_IN_TRANSIT = "REFUND_IN_TRANSIT",
|
|
3173
3860
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
3174
3861
|
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
3175
3862
|
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
@@ -3186,9 +3873,12 @@ export declare enum OrderPackageStatusEnum {
|
|
|
3186
3873
|
PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
|
|
3187
3874
|
PARTIALLY_READY_FOR_SHIPMENT = "PARTIALLY_READY_FOR_SHIPMENT",
|
|
3188
3875
|
PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
|
|
3876
|
+
PLANNED = "PLANNED",
|
|
3189
3877
|
READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
|
|
3190
3878
|
READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
|
|
3191
3879
|
REFUNDED = "REFUNDED",
|
|
3880
|
+
REFUND_DELIVERED = "REFUND_DELIVERED",
|
|
3881
|
+
REFUND_IN_TRANSIT = "REFUND_IN_TRANSIT",
|
|
3192
3882
|
REFUND_REJECTED = "REFUND_REJECTED",
|
|
3193
3883
|
REFUND_REQUESTED = "REFUND_REQUESTED",
|
|
3194
3884
|
REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
|
|
@@ -3261,8 +3951,10 @@ export declare type OrderPaymentMethodEnumFilterInput = {
|
|
|
3261
3951
|
};
|
|
3262
3952
|
export declare enum OrderPaymentStatusEnum {
|
|
3263
3953
|
FAILED = "FAILED",
|
|
3954
|
+
OVER_PAID = "OVER_PAID",
|
|
3264
3955
|
PAID = "PAID",
|
|
3265
3956
|
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
3957
|
+
REFUNDED = "REFUNDED",
|
|
3266
3958
|
WAITING = "WAITING"
|
|
3267
3959
|
}
|
|
3268
3960
|
export declare type OrderPaymentStatusEnumInputFilter = {
|
|
@@ -3282,22 +3974,33 @@ export declare type OrderPriceList = {
|
|
|
3282
3974
|
/** It is the name of the price list. */
|
|
3283
3975
|
name?: Maybe<Scalars['String']>;
|
|
3284
3976
|
};
|
|
3977
|
+
export declare type OrderRefundBranchInfoInput = {
|
|
3978
|
+
branchSessionId: Scalars['String'];
|
|
3979
|
+
terminalId: Scalars['String'];
|
|
3980
|
+
};
|
|
3285
3981
|
export declare type OrderRefundInput = {
|
|
3982
|
+
branchInfo?: InputMaybe<OrderRefundBranchInfoInput>;
|
|
3286
3983
|
forceRefund?: InputMaybe<Scalars['Boolean']>;
|
|
3287
3984
|
orderId: Scalars['String'];
|
|
3288
3985
|
orderRefundLines: Array<OrderRefundLineInput>;
|
|
3289
|
-
|
|
3986
|
+
orderRefundTransactions?: InputMaybe<Array<OrderRefundTransactionInput>>;
|
|
3290
3987
|
reason?: InputMaybe<Scalars['String']>;
|
|
3988
|
+
reasonId?: InputMaybe<Scalars['String']>;
|
|
3291
3989
|
refundGift?: InputMaybe<Scalars['Boolean']>;
|
|
3292
3990
|
refundShipping?: InputMaybe<Scalars['Boolean']>;
|
|
3293
3991
|
sendNotificationToCustomer?: InputMaybe<Scalars['Boolean']>;
|
|
3294
|
-
stockLocationId
|
|
3992
|
+
stockLocationId?: InputMaybe<Scalars['String']>;
|
|
3295
3993
|
};
|
|
3296
3994
|
export declare type OrderRefundLineInput = {
|
|
3297
3995
|
orderLineItemId: Scalars['String'];
|
|
3996
|
+
price: Scalars['Float'];
|
|
3298
3997
|
quantity: Scalars['Float'];
|
|
3299
3998
|
restockItems?: Scalars['Boolean'];
|
|
3300
3999
|
};
|
|
4000
|
+
export declare type OrderRefundTransactionInput = {
|
|
4001
|
+
amount: Scalars['Float'];
|
|
4002
|
+
transactionId: Scalars['String'];
|
|
4003
|
+
};
|
|
3301
4004
|
export declare type OrderSalesChannel = {
|
|
3302
4005
|
__typename?: 'OrderSalesChannel';
|
|
3303
4006
|
/** It is the sales channel id where the order was created. */
|
|
@@ -3314,18 +4017,20 @@ export declare type OrderSessionInfo = {
|
|
|
3314
4017
|
end?: Maybe<Scalars['Timestamp']>;
|
|
3315
4018
|
host?: Maybe<Scalars['String']>;
|
|
3316
4019
|
ip?: Maybe<Scalars['String']>;
|
|
4020
|
+
journeyId?: Maybe<Scalars['String']>;
|
|
3317
4021
|
referer?: Maybe<Scalars['String']>;
|
|
3318
4022
|
salesChannelId?: Maybe<Scalars['String']>;
|
|
3319
4023
|
sessionId?: Maybe<Scalars['String']>;
|
|
3320
4024
|
start?: Maybe<Scalars['Timestamp']>;
|
|
3321
4025
|
storefrontId?: Maybe<Scalars['String']>;
|
|
3322
|
-
|
|
4026
|
+
/** @deprecated Separated as new OrderSession model */
|
|
4027
|
+
trafficSource?: Maybe<OrderSessionTrafficSource>;
|
|
3323
4028
|
userAgent?: Maybe<OrderSessionUserAgent>;
|
|
3324
4029
|
utm?: Maybe<OrderSessionUTM>;
|
|
3325
4030
|
visitorId?: Maybe<Scalars['String']>;
|
|
3326
4031
|
};
|
|
3327
|
-
export declare type
|
|
3328
|
-
__typename?: '
|
|
4032
|
+
export declare type OrderSessionTrafficSource = {
|
|
4033
|
+
__typename?: 'OrderSessionTrafficSource';
|
|
3329
4034
|
source?: Maybe<Scalars['String']>;
|
|
3330
4035
|
type: SFAnalyticsTrafficSourceEnum;
|
|
3331
4036
|
};
|
|
@@ -3401,6 +4106,16 @@ export declare type OrderStaff = {
|
|
|
3401
4106
|
/** It is the last name of the staff who created the order. */
|
|
3402
4107
|
lastName: Scalars['String'];
|
|
3403
4108
|
};
|
|
4109
|
+
export declare type OrderStaffInput = {
|
|
4110
|
+
/** It is the email of the staff who created the order. */
|
|
4111
|
+
email: Scalars['String'];
|
|
4112
|
+
/** It is the first name of the staff who created the order. */
|
|
4113
|
+
firstName: Scalars['String'];
|
|
4114
|
+
/** It is the first name of the staff who created the order. */
|
|
4115
|
+
id: Scalars['String'];
|
|
4116
|
+
/** It is the last name of the staff who created the order. */
|
|
4117
|
+
lastName: Scalars['String'];
|
|
4118
|
+
};
|
|
3404
4119
|
export declare enum OrderStatusEnum {
|
|
3405
4120
|
CANCELLED = "CANCELLED",
|
|
3406
4121
|
CREATED = "CREATED",
|
|
@@ -3449,6 +4164,7 @@ export declare type OrderStorefrontRouting = {
|
|
|
3449
4164
|
path?: Maybe<Scalars['String']>;
|
|
3450
4165
|
/** It is the price list id that associated on the storefront routing. */
|
|
3451
4166
|
priceListId?: Maybe<Scalars['String']>;
|
|
4167
|
+
salesChannelId?: Maybe<Scalars['String']>;
|
|
3452
4168
|
};
|
|
3453
4169
|
export declare type OrderStorefrontRoutingDynamicCurrencySettings = {
|
|
3454
4170
|
__typename?: 'OrderStorefrontRoutingDynamicCurrencySettings';
|
|
@@ -3472,7 +4188,6 @@ export declare type OrderTag = {
|
|
|
3472
4188
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3473
4189
|
deleted: Scalars['Boolean'];
|
|
3474
4190
|
id: Scalars['ID'];
|
|
3475
|
-
merchantId: Scalars['String'];
|
|
3476
4191
|
name: Scalars['String'];
|
|
3477
4192
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3478
4193
|
};
|
|
@@ -3513,6 +4228,109 @@ export declare type PaginationInput = {
|
|
|
3513
4228
|
*/
|
|
3514
4229
|
page?: InputMaybe<Scalars['Int']>;
|
|
3515
4230
|
};
|
|
4231
|
+
export declare type PaymentGateway = {
|
|
4232
|
+
__typename?: 'PaymentGateway';
|
|
4233
|
+
additionalPrices?: Maybe<Array<AdditionalPrice>>;
|
|
4234
|
+
availableCountries?: Maybe<Array<Scalars['String']>>;
|
|
4235
|
+
code: Scalars['String'];
|
|
4236
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
4237
|
+
deleted: Scalars['Boolean'];
|
|
4238
|
+
description?: Maybe<Scalars['String']>;
|
|
4239
|
+
group?: Maybe<PaymentGatewayGroup>;
|
|
4240
|
+
id: Scalars['ID'];
|
|
4241
|
+
isPassive?: Maybe<Scalars['Boolean']>;
|
|
4242
|
+
logoUrl?: Maybe<Scalars['String']>;
|
|
4243
|
+
masterPassClientId?: Maybe<Scalars['String']>;
|
|
4244
|
+
name: Scalars['String'];
|
|
4245
|
+
paymentGatewayProviderId?: Maybe<Scalars['String']>;
|
|
4246
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
4247
|
+
paymentMethods: Array<PaymentGatewayPaymentMethod>;
|
|
4248
|
+
settings?: Maybe<Array<PaymentGatewaySettings>>;
|
|
4249
|
+
supportedCurrencies?: Maybe<Array<Scalars['String']>>;
|
|
4250
|
+
testMode: Scalars['Boolean'];
|
|
4251
|
+
translations?: Maybe<Array<PaymentGatewayTranslation>>;
|
|
4252
|
+
type: PaymentGatewayTypeEnum;
|
|
4253
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
4254
|
+
};
|
|
4255
|
+
export declare enum PaymentGatewayAdditionalPriceTypeEnum {
|
|
4256
|
+
DECREMENT = "DECREMENT",
|
|
4257
|
+
INCREMENT = "INCREMENT"
|
|
4258
|
+
}
|
|
4259
|
+
export declare enum PaymentGatewayCodeEnum {
|
|
4260
|
+
ADYEN = "ADYEN",
|
|
4261
|
+
ADYEN_PLATFORM = "ADYEN_PLATFORM",
|
|
4262
|
+
APCOPAY = "APCOPAY",
|
|
4263
|
+
CUSTOM = "CUSTOM",
|
|
4264
|
+
DEMO = "DEMO",
|
|
4265
|
+
E_PAY_KOLAY = "E_PAY_KOLAY",
|
|
4266
|
+
GARANTI_PAY = "GARANTI_PAY",
|
|
4267
|
+
GIFT_CARD = "GIFT_CARD",
|
|
4268
|
+
HEPSIPAY = "HEPSIPAY",
|
|
4269
|
+
IKAS_PAY = "IKAS_PAY",
|
|
4270
|
+
IKAS_PAY_ESNEKPOS = "IKAS_PAY_ESNEKPOS",
|
|
4271
|
+
IKAS_PAY_PARATIKA = "IKAS_PAY_PARATIKA",
|
|
4272
|
+
IKAS_PAY_PAYZEE = "IKAS_PAY_PAYZEE",
|
|
4273
|
+
IKAS_WALLET = "IKAS_WALLET",
|
|
4274
|
+
IYZI_PAY = "IYZI_PAY",
|
|
4275
|
+
KLARNA = "KLARNA",
|
|
4276
|
+
MANUEL = "MANUEL",
|
|
4277
|
+
MOKA = "MOKA",
|
|
4278
|
+
MOLLIE = "MOLLIE",
|
|
4279
|
+
NETOPIA = "NETOPIA",
|
|
4280
|
+
PAPARA = "PAPARA",
|
|
4281
|
+
PARAM = "PARAM",
|
|
4282
|
+
PARATIKA = "PARATIKA",
|
|
4283
|
+
PAYPAL = "PAYPAL",
|
|
4284
|
+
PAYTR = "PAYTR",
|
|
4285
|
+
PAY_PAL = "PAY_PAL",
|
|
4286
|
+
PAY_RIFF = "PAY_RIFF",
|
|
4287
|
+
SIPAY = "SIPAY",
|
|
4288
|
+
STRIPE = "STRIPE",
|
|
4289
|
+
STRIPE_EU = "STRIPE_EU",
|
|
4290
|
+
TAMI = "TAMI"
|
|
4291
|
+
}
|
|
4292
|
+
export declare type PaymentGatewayGroup = {
|
|
4293
|
+
__typename?: 'PaymentGatewayGroup';
|
|
4294
|
+
key: Scalars['String'];
|
|
4295
|
+
order: Scalars['Float'];
|
|
4296
|
+
};
|
|
4297
|
+
export declare type PaymentGatewayPaymentMethod = {
|
|
4298
|
+
__typename?: 'PaymentGatewayPaymentMethod';
|
|
4299
|
+
allowed?: Maybe<Scalars['Boolean']>;
|
|
4300
|
+
enabled?: Maybe<Scalars['Boolean']>;
|
|
4301
|
+
externalId?: Maybe<Scalars['String']>;
|
|
4302
|
+
externalStoreIds?: Maybe<Array<Scalars['String']>>;
|
|
4303
|
+
logoUrl?: Maybe<Scalars['String']>;
|
|
4304
|
+
name: Scalars['String'];
|
|
4305
|
+
};
|
|
4306
|
+
export declare type PaymentGatewaySettings = {
|
|
4307
|
+
__typename?: 'PaymentGatewaySettings';
|
|
4308
|
+
label: Scalars['String'];
|
|
4309
|
+
order: Scalars['Float'];
|
|
4310
|
+
type: PaymentGatewaySettingsTypeEnum;
|
|
4311
|
+
value?: Maybe<Scalars['String']>;
|
|
4312
|
+
};
|
|
4313
|
+
export declare enum PaymentGatewaySettingsTypeEnum {
|
|
4314
|
+
BOOLEAN = "BOOLEAN",
|
|
4315
|
+
NUMBER = "NUMBER",
|
|
4316
|
+
PASSWORD = "PASSWORD",
|
|
4317
|
+
TEXT = "TEXT"
|
|
4318
|
+
}
|
|
4319
|
+
export declare enum PaymentGatewayTransactionFeeTypeEnum {
|
|
4320
|
+
AMOUNT = "AMOUNT",
|
|
4321
|
+
RATIO = "RATIO"
|
|
4322
|
+
}
|
|
4323
|
+
export declare type PaymentGatewayTranslation = {
|
|
4324
|
+
__typename?: 'PaymentGatewayTranslation';
|
|
4325
|
+
description?: Maybe<Scalars['String']>;
|
|
4326
|
+
locale?: Maybe<Scalars['String']>;
|
|
4327
|
+
name?: Maybe<Scalars['String']>;
|
|
4328
|
+
};
|
|
4329
|
+
export declare enum PaymentGatewayTypeEnum {
|
|
4330
|
+
EXTERNAL = "EXTERNAL",
|
|
4331
|
+
INTERNAL = "INTERNAL",
|
|
4332
|
+
THIRD_PARTY = "THIRD_PARTY"
|
|
4333
|
+
}
|
|
3516
4334
|
export declare enum PaymentMethodTypeEnum {
|
|
3517
4335
|
APP_PAYMENT = "APP_PAYMENT",
|
|
3518
4336
|
BANK_REDIRECT = "BANK_REDIRECT",
|
|
@@ -3633,6 +4451,8 @@ export declare type Product = {
|
|
|
3633
4451
|
salesChannels?: Maybe<Array<ProductSalesChannel>>;
|
|
3634
4452
|
/** Short description of the product. */
|
|
3635
4453
|
shortDescription?: Maybe<Scalars['String']>;
|
|
4454
|
+
/** Subscription plan id of product */
|
|
4455
|
+
subscriptionPlanId?: Maybe<Scalars['String']>;
|
|
3636
4456
|
/** List of product tag identifiers. */
|
|
3637
4457
|
tagIds?: Maybe<Array<Scalars['String']>>;
|
|
3638
4458
|
/** List of product tags. */
|
|
@@ -3761,6 +4581,7 @@ export declare enum ProductAttributeTypeEnum {
|
|
|
3761
4581
|
BOOLEAN = "BOOLEAN",
|
|
3762
4582
|
CHOICE = "CHOICE",
|
|
3763
4583
|
COLOR_THUMBNAIL_MULTIPLE_CHOICE = "COLOR_THUMBNAIL_MULTIPLE_CHOICE",
|
|
4584
|
+
DATE = "DATE",
|
|
3764
4585
|
DATETIME = "DATETIME",
|
|
3765
4586
|
HTML = "HTML",
|
|
3766
4587
|
IMAGE = "IMAGE",
|
|
@@ -3900,6 +4721,7 @@ export declare type ProductInput = {
|
|
|
3900
4721
|
/** List of sales channels of the product. */
|
|
3901
4722
|
salesChannels?: InputMaybe<Array<ProductSalesChannelInput>>;
|
|
3902
4723
|
shortDescription?: InputMaybe<Scalars['String']>;
|
|
4724
|
+
subscriptionPlanId?: InputMaybe<Scalars['String']>;
|
|
3903
4725
|
tagIds?: InputMaybe<Array<Scalars['String']>>;
|
|
3904
4726
|
translations?: InputMaybe<Array<ProductTranslationInput>>;
|
|
3905
4727
|
type: ProductTypeEnum;
|
|
@@ -3910,6 +4732,7 @@ export declare type ProductInput = {
|
|
|
3910
4732
|
};
|
|
3911
4733
|
export declare type ProductOption = {
|
|
3912
4734
|
__typename?: 'ProductOption';
|
|
4735
|
+
applyAfterCampaign?: Maybe<Scalars['Boolean']>;
|
|
3913
4736
|
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
3914
4737
|
dateSettings?: Maybe<ProductOptionDateSettings>;
|
|
3915
4738
|
deleted: Scalars['Boolean'];
|
|
@@ -3921,6 +4744,7 @@ export declare type ProductOption = {
|
|
|
3921
4744
|
order: Scalars['Float'];
|
|
3922
4745
|
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
3923
4746
|
price?: Maybe<Scalars['Float']>;
|
|
4747
|
+
priceType?: Maybe<ProductOptionPriceTypeEnum>;
|
|
3924
4748
|
requiredOptionId?: Maybe<Scalars['String']>;
|
|
3925
4749
|
requiredOptionValueIds?: Maybe<Array<Scalars['String']>>;
|
|
3926
4750
|
selectSettings?: Maybe<ProductOptionSelectSettings>;
|
|
@@ -3941,6 +4765,10 @@ export declare type ProductOptionFileSettings = {
|
|
|
3941
4765
|
maxQuantity?: Maybe<Scalars['Float']>;
|
|
3942
4766
|
minQuantity?: Maybe<Scalars['Float']>;
|
|
3943
4767
|
};
|
|
4768
|
+
export declare enum ProductOptionPriceTypeEnum {
|
|
4769
|
+
AMOUNT = "AMOUNT",
|
|
4770
|
+
RATIO = "RATIO"
|
|
4771
|
+
}
|
|
3944
4772
|
export declare type ProductOptionSelectSettings = {
|
|
3945
4773
|
__typename?: 'ProductOptionSelectSettings';
|
|
3946
4774
|
maxSelect?: Maybe<Scalars['Float']>;
|
|
@@ -3962,6 +4790,7 @@ export declare type ProductOptionSelectValue = {
|
|
|
3962
4790
|
order: Scalars['Float'];
|
|
3963
4791
|
otherPrices?: Maybe<Array<ProductOptionSelectValueOtherPrice>>;
|
|
3964
4792
|
price?: Maybe<Scalars['Float']>;
|
|
4793
|
+
priceType?: Maybe<ProductOptionPriceTypeEnum>;
|
|
3965
4794
|
thumbnailImageId?: Maybe<Scalars['String']>;
|
|
3966
4795
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
3967
4796
|
value: Scalars['String'];
|
|
@@ -3972,6 +4801,7 @@ export declare type ProductOptionSelectValueOtherPrice = {
|
|
|
3972
4801
|
currencySymbol?: Maybe<Scalars['String']>;
|
|
3973
4802
|
price: Scalars['Float'];
|
|
3974
4803
|
priceListId?: Maybe<Scalars['String']>;
|
|
4804
|
+
priceType?: Maybe<ProductOptionPriceTypeEnum>;
|
|
3975
4805
|
};
|
|
3976
4806
|
export declare type ProductOptionSelectValueTranslations = {
|
|
3977
4807
|
__typename?: 'ProductOptionSelectValueTranslations';
|
|
@@ -4249,7 +5079,8 @@ export declare enum ProductTypeEnum {
|
|
|
4249
5079
|
BUNDLE = "BUNDLE",
|
|
4250
5080
|
DIGITAL = "DIGITAL",
|
|
4251
5081
|
MEMBERSHIP = "MEMBERSHIP",
|
|
4252
|
-
PHYSICAL = "PHYSICAL"
|
|
5082
|
+
PHYSICAL = "PHYSICAL",
|
|
5083
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
4253
5084
|
}
|
|
4254
5085
|
export declare type ProductUnit = {
|
|
4255
5086
|
__typename?: 'ProductUnit';
|
|
@@ -4373,6 +5204,7 @@ export declare type PublicTransaction = {
|
|
|
4373
5204
|
error?: Maybe<TransactionError>;
|
|
4374
5205
|
gatewayReferenceId?: Maybe<Scalars['String']>;
|
|
4375
5206
|
id: Scalars['ID'];
|
|
5207
|
+
lineItems?: Maybe<Array<TransactionOrderLineItem>>;
|
|
4376
5208
|
orderId?: Maybe<Scalars['String']>;
|
|
4377
5209
|
paymentGatewayCode?: Maybe<Scalars['String']>;
|
|
4378
5210
|
paymentGatewayId: Scalars['String'];
|
|
@@ -4391,9 +5223,12 @@ export declare type Query = {
|
|
|
4391
5223
|
getAuthorizedApp?: Maybe<AuthorizedApp>;
|
|
4392
5224
|
/** Use this mutation to get global settings. */
|
|
4393
5225
|
getGlobalTaxSettings?: Maybe<GlobalTaxSettings>;
|
|
5226
|
+
/** Using this API, you can make payments and refunds via Ikas Wallet. */
|
|
5227
|
+
getIkasWalletWithBalance: GetIkasWalletWithBalanceResponse;
|
|
4394
5228
|
/** Upload url for the specified image. */
|
|
4395
5229
|
getImageUploadUrl: Scalars['String'];
|
|
4396
5230
|
getImportJobData: GetImportJobDataResponse;
|
|
5231
|
+
getImportJobDataList: GetLastImportJobDataResponseData;
|
|
4397
5232
|
getLastImportJobData: GetLastImportJobDataResponse;
|
|
4398
5233
|
/** By using this api you can get properties of merchant and merchant staff. */
|
|
4399
5234
|
getMerchant: MerchantResponse;
|
|
@@ -4416,19 +5251,32 @@ export declare type Query = {
|
|
|
4416
5251
|
listCity: Array<City>;
|
|
4417
5252
|
listCountry: Array<Country>;
|
|
4418
5253
|
listCoupon: CouponPaginationResponse;
|
|
5254
|
+
/**
|
|
5255
|
+
* Use this mutation to list customers as paginated by supplying the `CustomerArgs` input.
|
|
5256
|
+
* Search applies to following fields: `firstName` `lastName` `email` `phone`
|
|
5257
|
+
*
|
|
5258
|
+
* Sort applies to following fields: `updatedAt`
|
|
5259
|
+
*/
|
|
4419
5260
|
listCustomer: CustomerPaginationResponse;
|
|
4420
5261
|
listCustomerAttribute: Array<CustomerAttribute>;
|
|
5262
|
+
listCustomerGroup: Array<CustomerGroup>;
|
|
4421
5263
|
listDistrict: Array<District>;
|
|
4422
5264
|
listGlobalTaxSettings: Array<GlobalTaxSettings>;
|
|
5265
|
+
listIkasWallet: Array<IkasWallet>;
|
|
5266
|
+
listIkasWalletTransaction: IkasWalletTransactionPaginationResponse;
|
|
4423
5267
|
listLanguage: Array<Language>;
|
|
4424
5268
|
/** Using this api, you can view the payment features that a merchant has created for the app. */
|
|
4425
5269
|
listMerchantAppPayment: MerchantAppPaymentPaginationResponse;
|
|
5270
|
+
listMerchantSettings: Array<MerchantSettings>;
|
|
4426
5271
|
listOrder: OrderPaginationResponse;
|
|
4427
5272
|
listOrderTag: Array<OrderTag>;
|
|
4428
5273
|
listOrderTransactions: Array<PublicTransaction>;
|
|
5274
|
+
listPaymentGateway: Array<PaymentGateway>;
|
|
4429
5275
|
listPriceList: Array<PriceList>;
|
|
4430
5276
|
/**
|
|
4431
5277
|
* Use this query to list products.
|
|
5278
|
+
* Search applies to following fields: `name` `variants.sku` `variants.barcodeList`
|
|
5279
|
+
*
|
|
4432
5280
|
* Sort applies to following fields: `createdAt` `updatedAt` `name`
|
|
4433
5281
|
*/
|
|
4434
5282
|
listProduct: ProductPaginationResponse;
|
|
@@ -4442,7 +5290,10 @@ export declare type Query = {
|
|
|
4442
5290
|
listProductOptionSet: Array<ProductOptionSet>;
|
|
4443
5291
|
listProductOrder: Array<ProductOrder>;
|
|
4444
5292
|
listProductStockLocation: ProductStockLocationPaginationResponse;
|
|
4445
|
-
/**
|
|
5293
|
+
/**
|
|
5294
|
+
* Using this api, you can view the tags of products.
|
|
5295
|
+
* Search applies to following fields: `name`
|
|
5296
|
+
*/
|
|
4446
5297
|
listProductTag: Array<ProductTag>;
|
|
4447
5298
|
/** Using this api, you can view the units of products. */
|
|
4448
5299
|
listProductUnit: Array<ProductUnit>;
|
|
@@ -4455,6 +5306,11 @@ export declare type Query = {
|
|
|
4455
5306
|
listStorefront: Array<Storefront>;
|
|
4456
5307
|
/** Use this query to list storefront javascript scripts by supplying the `storefrontId` input. */
|
|
4457
5308
|
listStorefrontJSScript: Array<StorefrontJSScript>;
|
|
5309
|
+
/**
|
|
5310
|
+
* Use this query to list storefront policies by supplying the `StorefrontPolicyArgs` input.
|
|
5311
|
+
* Search applies to following fields: `name` `slug`
|
|
5312
|
+
*/
|
|
5313
|
+
listStorefrontPolicy: Array<StorefrontPolicy>;
|
|
4458
5314
|
listTaxSettings: Array<TaxSettings>;
|
|
4459
5315
|
listTerminal: Array<Terminal>;
|
|
4460
5316
|
listTown: Array<Town>;
|
|
@@ -4468,6 +5324,9 @@ export declare type Query = {
|
|
|
4468
5324
|
/** Result(s) containing searched products. */
|
|
4469
5325
|
searchProducts: ProductSearchResponse;
|
|
4470
5326
|
};
|
|
5327
|
+
export declare type QuerygetIkasWalletWithBalanceArgs = {
|
|
5328
|
+
input: GetIkasWalletWithBalanceInput;
|
|
5329
|
+
};
|
|
4471
5330
|
export declare type QuerygetImageUploadUrlArgs = {
|
|
4472
5331
|
imageDir?: InputMaybe<Scalars['String']>;
|
|
4473
5332
|
imageId: Scalars['String'];
|
|
@@ -4511,7 +5370,6 @@ export declare type QuerylistCargoCompanyArgs = {
|
|
|
4511
5370
|
export declare type QuerylistCategoryArgs = {
|
|
4512
5371
|
categoryPath?: InputMaybe<CategoryPathFilterInput>;
|
|
4513
5372
|
id?: InputMaybe<StringFilterInput>;
|
|
4514
|
-
name?: InputMaybe<StringFilterInput>;
|
|
4515
5373
|
search?: InputMaybe<Scalars['String']>;
|
|
4516
5374
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4517
5375
|
};
|
|
@@ -4549,6 +5407,12 @@ export declare type QuerylistCustomerArgs = {
|
|
|
4549
5407
|
export declare type QuerylistCustomerAttributeArgs = {
|
|
4550
5408
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
4551
5409
|
};
|
|
5410
|
+
export declare type QuerylistCustomerGroupArgs = {
|
|
5411
|
+
id?: InputMaybe<StringFilterInput>;
|
|
5412
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
5413
|
+
name?: InputMaybe<StringFilterInput>;
|
|
5414
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
5415
|
+
};
|
|
4552
5416
|
export declare type QuerylistDistrictArgs = {
|
|
4553
5417
|
cityId: StringFilterInput;
|
|
4554
5418
|
countryId?: InputMaybe<StringFilterInput>;
|
|
@@ -4560,6 +5424,15 @@ export declare type QuerylistDistrictArgs = {
|
|
|
4560
5424
|
export declare type QuerylistGlobalTaxSettingsArgs = {
|
|
4561
5425
|
id?: InputMaybe<StringFilterInput>;
|
|
4562
5426
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
5427
|
+
storefrontId?: InputMaybe<StringFilterInput>;
|
|
5428
|
+
};
|
|
5429
|
+
export declare type QuerylistIkasWalletArgs = {
|
|
5430
|
+
id?: InputMaybe<StringFilterInput>;
|
|
5431
|
+
};
|
|
5432
|
+
export declare type QuerylistIkasWalletTransactionArgs = {
|
|
5433
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
5434
|
+
status?: InputMaybe<IkasWalletTransactionStatusEnumFilter>;
|
|
5435
|
+
transactionId?: InputMaybe<StringFilterInput>;
|
|
4563
5436
|
};
|
|
4564
5437
|
export declare type QuerylistLanguageArgs = {
|
|
4565
5438
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -4568,6 +5441,10 @@ export declare type QuerylistMerchantAppPaymentArgs = {
|
|
|
4568
5441
|
id?: InputMaybe<StringFilterInput>;
|
|
4569
5442
|
pagination?: InputMaybe<PaginationInput>;
|
|
4570
5443
|
};
|
|
5444
|
+
export declare type QuerylistMerchantSettingsArgs = {
|
|
5445
|
+
id?: InputMaybe<StringFilterInput>;
|
|
5446
|
+
merchantId?: InputMaybe<StringFilterInput>;
|
|
5447
|
+
};
|
|
4571
5448
|
export declare type QuerylistOrderArgs = {
|
|
4572
5449
|
branchId?: InputMaybe<StringFilterInput>;
|
|
4573
5450
|
branchSessionId?: InputMaybe<StringFilterInput>;
|
|
@@ -4587,6 +5464,7 @@ export declare type QuerylistOrderArgs = {
|
|
|
4587
5464
|
search?: InputMaybe<Scalars['String']>;
|
|
4588
5465
|
shippingMethod?: InputMaybe<OrderShippingMethodEnumFilterInput>;
|
|
4589
5466
|
sort?: InputMaybe<Scalars['String']>;
|
|
5467
|
+
sourceId?: InputMaybe<StringFilterInput>;
|
|
4590
5468
|
status?: InputMaybe<OrderStatusEnumInputFilter>;
|
|
4591
5469
|
stockLocationId?: InputMaybe<StringFilterInput>;
|
|
4592
5470
|
terminalId?: InputMaybe<StringFilterInput>;
|
|
@@ -4602,6 +5480,14 @@ export declare type QuerylistOrderTagArgs = {
|
|
|
4602
5480
|
export declare type QuerylistOrderTransactionsArgs = {
|
|
4603
5481
|
orderId: Scalars['String'];
|
|
4604
5482
|
};
|
|
5483
|
+
export declare type QuerylistPaymentGatewayArgs = {
|
|
5484
|
+
cartId?: InputMaybe<Scalars['String']>;
|
|
5485
|
+
id?: InputMaybe<StringFilterInput>;
|
|
5486
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
5487
|
+
locale?: InputMaybe<Scalars['String']>;
|
|
5488
|
+
pagination?: InputMaybe<PaginationInput>;
|
|
5489
|
+
transactionAmount?: InputMaybe<Scalars['Float']>;
|
|
5490
|
+
};
|
|
4605
5491
|
export declare type QuerylistPriceListArgs = {
|
|
4606
5492
|
id?: InputMaybe<StringFilterInput>;
|
|
4607
5493
|
};
|
|
@@ -4615,7 +5501,7 @@ export declare type QuerylistProductArgs = {
|
|
|
4615
5501
|
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
4616
5502
|
name?: InputMaybe<StringFilterInput>;
|
|
4617
5503
|
pagination?: InputMaybe<PaginationInput>;
|
|
4618
|
-
salesChannelIds?: InputMaybe<
|
|
5504
|
+
salesChannelIds?: InputMaybe<SalesChannelFilterInput>;
|
|
4619
5505
|
sku?: InputMaybe<StringFilterInput>;
|
|
4620
5506
|
sort?: InputMaybe<Scalars['String']>;
|
|
4621
5507
|
tagIds?: InputMaybe<StringFilterInput>;
|
|
@@ -4630,13 +5516,11 @@ export declare type QuerylistProductAttributeArgs = {
|
|
|
4630
5516
|
};
|
|
4631
5517
|
export declare type QuerylistProductBrandArgs = {
|
|
4632
5518
|
id?: InputMaybe<StringFilterInput>;
|
|
4633
|
-
name?: InputMaybe<StringFilterInput>;
|
|
4634
5519
|
search?: InputMaybe<Scalars['String']>;
|
|
4635
5520
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4636
5521
|
};
|
|
4637
5522
|
export declare type QuerylistProductOptionSetArgs = {
|
|
4638
5523
|
id?: InputMaybe<StringFilterInput>;
|
|
4639
|
-
name?: InputMaybe<StringFilterInput>;
|
|
4640
5524
|
search?: InputMaybe<Scalars['String']>;
|
|
4641
5525
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4642
5526
|
};
|
|
@@ -4659,6 +5543,7 @@ export declare type QuerylistProductStockLocationArgs = {
|
|
|
4659
5543
|
export declare type QuerylistProductTagArgs = {
|
|
4660
5544
|
id?: InputMaybe<StringFilterInput>;
|
|
4661
5545
|
name?: InputMaybe<StringFilterInput>;
|
|
5546
|
+
search?: InputMaybe<Scalars['String']>;
|
|
4662
5547
|
updatedAt?: InputMaybe<DateFilterInput>;
|
|
4663
5548
|
};
|
|
4664
5549
|
export declare type QuerylistProductUnitArgs = {
|
|
@@ -4683,10 +5568,18 @@ export declare type QuerylistStockLocationArgs = {
|
|
|
4683
5568
|
};
|
|
4684
5569
|
export declare type QuerylistStorefrontArgs = {
|
|
4685
5570
|
id?: InputMaybe<StringFilterInput>;
|
|
5571
|
+
salesChannelId?: InputMaybe<StringFilterInput>;
|
|
4686
5572
|
};
|
|
4687
5573
|
export declare type QuerylistStorefrontJSScriptArgs = {
|
|
4688
5574
|
storefrontId?: InputMaybe<Scalars['String']>;
|
|
4689
5575
|
};
|
|
5576
|
+
export declare type QuerylistStorefrontPolicyArgs = {
|
|
5577
|
+
id?: InputMaybe<StringFilterInput>;
|
|
5578
|
+
includeDeleted?: InputMaybe<Scalars['Boolean']>;
|
|
5579
|
+
language?: InputMaybe<StringFilterInput>;
|
|
5580
|
+
name?: InputMaybe<StringFilterInput>;
|
|
5581
|
+
updatedAt?: InputMaybe<DateFilterInput>;
|
|
5582
|
+
};
|
|
4690
5583
|
export declare type QuerylistTaxSettingsArgs = {
|
|
4691
5584
|
countryId?: InputMaybe<StringFilterInput>;
|
|
4692
5585
|
id?: InputMaybe<StringFilterInput>;
|
|
@@ -4720,20 +5613,20 @@ export declare type QuerysearchProductsArgs = {
|
|
|
4720
5613
|
input: SearchInput;
|
|
4721
5614
|
};
|
|
4722
5615
|
export declare enum SFAnalyticsTrafficSourceEnum {
|
|
4723
|
-
ADS_OTHER = "ADS_OTHER",
|
|
4724
5616
|
AFFILIATE = "AFFILIATE",
|
|
4725
5617
|
BING_ADS = "BING_ADS",
|
|
4726
5618
|
DIRECT = "DIRECT",
|
|
4727
5619
|
DISPLAY = "DISPLAY",
|
|
4728
5620
|
EMAIL = "EMAIL",
|
|
4729
5621
|
FACEBOOK_ADS = "FACEBOOK_ADS",
|
|
4730
|
-
GOOGLE_ADS = "GOOGLE_ADS",
|
|
4731
5622
|
INSTAGRAM_ADS = "INSTAGRAM_ADS",
|
|
4732
5623
|
ORGANIC_SEARCH = "ORGANIC_SEARCH",
|
|
5624
|
+
ORGANIC_SOCIAL = "ORGANIC_SOCIAL",
|
|
4733
5625
|
OTHER = "OTHER",
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
5626
|
+
PAID_OTHER = "PAID_OTHER",
|
|
5627
|
+
PAID_SEARCH = "PAID_SEARCH",
|
|
5628
|
+
PAID_SOCIAL = "PAID_SOCIAL",
|
|
5629
|
+
REFERRAL = "REFERRAL"
|
|
4737
5630
|
}
|
|
4738
5631
|
export declare type SalesChannel = {
|
|
4739
5632
|
__typename?: 'SalesChannel';
|
|
@@ -4751,6 +5644,11 @@ export declare type SalesChannel = {
|
|
|
4751
5644
|
type: SalesChannelTypeEnum;
|
|
4752
5645
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
4753
5646
|
};
|
|
5647
|
+
export declare type SalesChannelFilterInput = {
|
|
5648
|
+
eq?: InputMaybe<Scalars['String']>;
|
|
5649
|
+
in?: InputMaybe<Array<Scalars['String']>>;
|
|
5650
|
+
nin?: InputMaybe<Array<Scalars['String']>>;
|
|
5651
|
+
};
|
|
4754
5652
|
export declare type SalesChannelInput = {
|
|
4755
5653
|
/** The sales channel name field. */
|
|
4756
5654
|
name?: InputMaybe<Scalars['String']>;
|
|
@@ -4950,6 +5848,7 @@ export declare type SearchProductCampaign = {
|
|
|
4950
5848
|
id?: Maybe<Scalars['String']>;
|
|
4951
5849
|
includeDiscountedProducts?: Maybe<Scalars['Boolean']>;
|
|
4952
5850
|
salesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
5851
|
+
tieredDiscount?: Maybe<SearchProductCampaignTieredDiscount>;
|
|
4953
5852
|
title: Scalars['String'];
|
|
4954
5853
|
type: CampaignTypeEnum;
|
|
4955
5854
|
};
|
|
@@ -4981,6 +5880,7 @@ export declare type SearchProductCampaignFixedDiscount = {
|
|
|
4981
5880
|
filters?: Maybe<Array<SearchProductCampaignFilter>>;
|
|
4982
5881
|
lineItemQuantityRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
4983
5882
|
priceRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
5883
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
4984
5884
|
};
|
|
4985
5885
|
export declare type SearchProductCampaignGetY = {
|
|
4986
5886
|
__typename?: 'SearchProductCampaignGetY';
|
|
@@ -4996,6 +5896,8 @@ export declare type SearchProductCampaignMinMaxRangeField = {
|
|
|
4996
5896
|
};
|
|
4997
5897
|
export declare type SearchProductCampaignOffer = {
|
|
4998
5898
|
__typename?: 'SearchProductCampaignOffer';
|
|
5899
|
+
availableSalesChannelIds?: Maybe<Array<Scalars['String']>>;
|
|
5900
|
+
currencyCodes?: Maybe<Array<Scalars['String']>>;
|
|
4999
5901
|
id: Scalars['String'];
|
|
5000
5902
|
};
|
|
5001
5903
|
export declare type SearchProductCampaignPrice = {
|
|
@@ -5003,6 +5905,19 @@ export declare type SearchProductCampaignPrice = {
|
|
|
5003
5905
|
campaignId?: Maybe<Scalars['String']>;
|
|
5004
5906
|
campaignPrice?: Maybe<Scalars['Float']>;
|
|
5005
5907
|
};
|
|
5908
|
+
export declare type SearchProductCampaignTieredDiscount = {
|
|
5909
|
+
__typename?: 'SearchProductCampaignTieredDiscount';
|
|
5910
|
+
filters?: Maybe<Array<SearchProductCampaignFilter>>;
|
|
5911
|
+
isApplyByCartAmount?: Maybe<Scalars['Boolean']>;
|
|
5912
|
+
rules: Array<SearchProductCampaignTieredDiscountRule>;
|
|
5913
|
+
shouldMatchAllConditions?: Maybe<Scalars['Boolean']>;
|
|
5914
|
+
};
|
|
5915
|
+
export declare type SearchProductCampaignTieredDiscountRule = {
|
|
5916
|
+
__typename?: 'SearchProductCampaignTieredDiscountRule';
|
|
5917
|
+
amount: Scalars['Float'];
|
|
5918
|
+
lineItemQuantityRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
5919
|
+
priceRange?: Maybe<SearchProductCampaignMinMaxRangeField>;
|
|
5920
|
+
};
|
|
5006
5921
|
export declare type SearchProductCustomerReviewStar = {
|
|
5007
5922
|
__typename?: 'SearchProductCustomerReviewStar';
|
|
5008
5923
|
count: Scalars['Float'];
|
|
@@ -5085,6 +6000,24 @@ export declare type SearchProductStockLocation = {
|
|
|
5085
6000
|
stockCount: Scalars['Float'];
|
|
5086
6001
|
stockLocationId: Scalars['String'];
|
|
5087
6002
|
};
|
|
6003
|
+
export declare type SearchProductSubscriptionPlan = {
|
|
6004
|
+
__typename?: 'SearchProductSubscriptionPlan';
|
|
6005
|
+
name: Scalars['String'];
|
|
6006
|
+
periods: Array<SearchProductSubscriptionPlanPeriod>;
|
|
6007
|
+
subscriptionPlanId: Scalars['String'];
|
|
6008
|
+
};
|
|
6009
|
+
export declare type SearchProductSubscriptionPlanDiscount = {
|
|
6010
|
+
__typename?: 'SearchProductSubscriptionPlanDiscount';
|
|
6011
|
+
amount: Scalars['Float'];
|
|
6012
|
+
type: OrderAmountTypeEnum;
|
|
6013
|
+
};
|
|
6014
|
+
export declare type SearchProductSubscriptionPlanPeriod = {
|
|
6015
|
+
__typename?: 'SearchProductSubscriptionPlanPeriod';
|
|
6016
|
+
discount?: Maybe<SearchProductSubscriptionPlanDiscount>;
|
|
6017
|
+
id: Scalars['String'];
|
|
6018
|
+
maxOrders?: Maybe<Scalars['Float']>;
|
|
6019
|
+
paymentType: SubscriptionPlanPaymentTypeEnum;
|
|
6020
|
+
};
|
|
5088
6021
|
export declare type SearchProductTag = {
|
|
5089
6022
|
__typename?: 'SearchProductTag';
|
|
5090
6023
|
id: Scalars['String'];
|
|
@@ -5111,6 +6044,7 @@ export declare type SearchVariant = {
|
|
|
5111
6044
|
sellIfOutOfStock?: Maybe<Scalars['Boolean']>;
|
|
5112
6045
|
sku?: Maybe<Scalars['String']>;
|
|
5113
6046
|
stocks?: Maybe<Array<SearchProductStockLocation>>;
|
|
6047
|
+
subscriptionPlan?: Maybe<SearchProductSubscriptionPlan>;
|
|
5114
6048
|
unit?: Maybe<VariantUnitModel>;
|
|
5115
6049
|
variantValues?: Maybe<Array<SearchVariationValueRelation>>;
|
|
5116
6050
|
weight?: Maybe<Scalars['Float']>;
|
|
@@ -5142,9 +6076,11 @@ export declare type ShippingSettings = {
|
|
|
5142
6076
|
id: Scalars['ID'];
|
|
5143
6077
|
isPassive?: Maybe<Scalars['Boolean']>;
|
|
5144
6078
|
localDeliverySettings?: Maybe<LocalDeliverySettings>;
|
|
6079
|
+
order?: Maybe<Scalars['Float']>;
|
|
5145
6080
|
salesChannelId: Scalars['String'];
|
|
5146
6081
|
shippingZones: Array<ShippingZone>;
|
|
5147
6082
|
stockLocations?: Maybe<Array<ShippingSettingsStockLocation>>;
|
|
6083
|
+
translations?: Maybe<Array<ShippingSettingsTranslation>>;
|
|
5148
6084
|
type: ShippingSettingsType;
|
|
5149
6085
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
5150
6086
|
zoneName: Scalars['String'];
|
|
@@ -5155,11 +6091,21 @@ export declare type ShippingSettingsStockLocation = {
|
|
|
5155
6091
|
order: Scalars['Float'];
|
|
5156
6092
|
stockLocationId: Scalars['String'];
|
|
5157
6093
|
};
|
|
6094
|
+
export declare type ShippingSettingsTranslation = {
|
|
6095
|
+
__typename?: 'ShippingSettingsTranslation';
|
|
6096
|
+
locale: Scalars['String'];
|
|
6097
|
+
zoneRate?: Maybe<Array<ShippingSettingsZoneRateTranslation>>;
|
|
6098
|
+
};
|
|
5158
6099
|
/** ShippingSettingsType */
|
|
5159
6100
|
export declare enum ShippingSettingsType {
|
|
5160
6101
|
LOCAL_DELIVERY = "LOCAL_DELIVERY",
|
|
5161
6102
|
SHIPMENT = "SHIPMENT"
|
|
5162
6103
|
}
|
|
6104
|
+
export declare type ShippingSettingsZoneRateTranslation = {
|
|
6105
|
+
__typename?: 'ShippingSettingsZoneRateTranslation';
|
|
6106
|
+
id: Scalars['String'];
|
|
6107
|
+
rateName: Scalars['String'];
|
|
6108
|
+
};
|
|
5163
6109
|
export declare type ShippingZone = {
|
|
5164
6110
|
__typename?: 'ShippingZone';
|
|
5165
6111
|
countryId: Scalars['String'];
|
|
@@ -5247,7 +6193,10 @@ export declare type SimpleProductTag = {
|
|
|
5247
6193
|
/** Timeline Source Types */
|
|
5248
6194
|
export declare enum SourceTypeEnum {
|
|
5249
6195
|
CUSTOMER = "CUSTOMER",
|
|
6196
|
+
CUSTOMER_SUBSCRIPTION_PLAN = "CUSTOMER_SUBSCRIPTION_PLAN",
|
|
6197
|
+
CUSTOMER_SUBSCRIPTION_PLAN_ORDER = "CUSTOMER_SUBSCRIPTION_PLAN_ORDER",
|
|
5250
6198
|
EMAIL = "EMAIL",
|
|
6199
|
+
GIFT_CARD = "GIFT_CARD",
|
|
5251
6200
|
INVENTORY = "INVENTORY",
|
|
5252
6201
|
MERCHANT = "MERCHANT",
|
|
5253
6202
|
ORDER = "ORDER",
|
|
@@ -5288,6 +6237,8 @@ export declare type StockLocation = {
|
|
|
5288
6237
|
/** It is the name of the stock location. */
|
|
5289
6238
|
name: Scalars['String'];
|
|
5290
6239
|
outOfStockMailList?: Maybe<Array<Scalars['String']>>;
|
|
6240
|
+
/** Translations for the stock location. */
|
|
6241
|
+
translations?: Maybe<Array<StockLocationTranslation>>;
|
|
5291
6242
|
/** It is the type enum of the stock location. */
|
|
5292
6243
|
type?: Maybe<StockLocationTypeEnum>;
|
|
5293
6244
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -5358,6 +6309,13 @@ export declare enum StockLocationDeliveryTimeEnum {
|
|
|
5358
6309
|
WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
|
|
5359
6310
|
WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
|
|
5360
6311
|
}
|
|
6312
|
+
export declare type StockLocationTranslation = {
|
|
6313
|
+
__typename?: 'StockLocationTranslation';
|
|
6314
|
+
/** It is the description information of the translation. */
|
|
6315
|
+
description?: Maybe<Scalars['String']>;
|
|
6316
|
+
/** It is the name information of the translation. */
|
|
6317
|
+
locale: Scalars['String'];
|
|
6318
|
+
};
|
|
5361
6319
|
/** Stock Location Types */
|
|
5362
6320
|
export declare enum StockLocationTypeEnum {
|
|
5363
6321
|
PHYSICAL = "PHYSICAL",
|
|
@@ -5370,8 +6328,18 @@ export declare type Storefront = {
|
|
|
5370
6328
|
id: Scalars['ID'];
|
|
5371
6329
|
/** The storefront's name. */
|
|
5372
6330
|
name: Scalars['String'];
|
|
6331
|
+
/** The storefront's name. */
|
|
6332
|
+
routings: Array<StorefrontRouting>;
|
|
6333
|
+
salesChannelId: Scalars['String'];
|
|
5373
6334
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
5374
6335
|
};
|
|
6336
|
+
export declare type StorefrontDynamicCurrencySettings = {
|
|
6337
|
+
__typename?: 'StorefrontDynamicCurrencySettings';
|
|
6338
|
+
/** One of '.x0' | '.x9' | '.00' | '.90' | '.99' | '0.00' | '9.90' */
|
|
6339
|
+
roundingFormat?: Maybe<Scalars['String']>;
|
|
6340
|
+
targetCurrencyCode: Scalars['String'];
|
|
6341
|
+
targetCurrencySymbol?: Maybe<Scalars['String']>;
|
|
6342
|
+
};
|
|
5375
6343
|
export declare type StorefrontJSScript = {
|
|
5376
6344
|
__typename?: 'StorefrontJSScript';
|
|
5377
6345
|
/** The id of the logged in application. */
|
|
@@ -5411,19 +6379,72 @@ export declare type StorefrontJSScriptInput = {
|
|
|
5411
6379
|
scriptContent: Scalars['String'];
|
|
5412
6380
|
storefrontId: Scalars['String'];
|
|
5413
6381
|
};
|
|
6382
|
+
export declare type StorefrontPolicy = {
|
|
6383
|
+
__typename?: 'StorefrontPolicy';
|
|
6384
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
6385
|
+
currentVersionId: Scalars['String'];
|
|
6386
|
+
deleted: Scalars['Boolean'];
|
|
6387
|
+
id: Scalars['ID'];
|
|
6388
|
+
locale: Scalars['String'];
|
|
6389
|
+
name: Scalars['String'];
|
|
6390
|
+
sendEmail: Scalars['Boolean'];
|
|
6391
|
+
slug: Scalars['String'];
|
|
6392
|
+
storefrontId: Scalars['String'];
|
|
6393
|
+
storefrontRoutings: Array<StorefrontPolicyRouting>;
|
|
6394
|
+
type: StorefrontPolicyTypeEnum;
|
|
6395
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
6396
|
+
};
|
|
6397
|
+
export declare type StorefrontPolicyInput = {
|
|
6398
|
+
content: Scalars['String'];
|
|
6399
|
+
createdAt?: InputMaybe<Scalars['Timestamp']>;
|
|
6400
|
+
deleted?: InputMaybe<Scalars['Boolean']>;
|
|
6401
|
+
id?: InputMaybe<Scalars['ID']>;
|
|
6402
|
+
locale: Scalars['String'];
|
|
6403
|
+
name: Scalars['String'];
|
|
6404
|
+
sendEmail: Scalars['Boolean'];
|
|
6405
|
+
slug: Scalars['String'];
|
|
6406
|
+
storefrontId: Scalars['String'];
|
|
6407
|
+
storefrontRoutings: Array<StorefrontPolicyRoutingInput>;
|
|
6408
|
+
type: StorefrontPolicyTypeEnum;
|
|
6409
|
+
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
6410
|
+
};
|
|
6411
|
+
export declare type StorefrontPolicyRouting = {
|
|
6412
|
+
__typename?: 'StorefrontPolicyRouting';
|
|
6413
|
+
storefrontId: Scalars['String'];
|
|
6414
|
+
storefrontRoutingId: Scalars['String'];
|
|
6415
|
+
};
|
|
6416
|
+
export declare type StorefrontPolicyRoutingInput = {
|
|
6417
|
+
storefrontId: Scalars['String'];
|
|
6418
|
+
storefrontRoutingId: Scalars['String'];
|
|
6419
|
+
};
|
|
6420
|
+
export declare enum StorefrontPolicyTypeEnum {
|
|
6421
|
+
IMPRINT = "IMPRINT",
|
|
6422
|
+
OTHER = "OTHER",
|
|
6423
|
+
PRIVACY_POLICY = "PRIVACY_POLICY",
|
|
6424
|
+
RETURN_POLICY = "RETURN_POLICY",
|
|
6425
|
+
SHIPPING_POLICY = "SHIPPING_POLICY",
|
|
6426
|
+
TERMS_OF_SERVICE = "TERMS_OF_SERVICE"
|
|
6427
|
+
}
|
|
6428
|
+
export declare type StorefrontRouting = {
|
|
6429
|
+
__typename?: 'StorefrontRouting';
|
|
6430
|
+
countryCodes?: Maybe<Array<Scalars['String']>>;
|
|
6431
|
+
createdAt?: Maybe<Scalars['Timestamp']>;
|
|
6432
|
+
currencyCode?: Maybe<Scalars['String']>;
|
|
6433
|
+
currencySymbol?: Maybe<Scalars['String']>;
|
|
6434
|
+
deleted: Scalars['Boolean'];
|
|
6435
|
+
domain?: Maybe<Scalars['String']>;
|
|
6436
|
+
dynamicCurrencySettings?: Maybe<StorefrontDynamicCurrencySettings>;
|
|
6437
|
+
id: Scalars['ID'];
|
|
6438
|
+
locale: Scalars['String'];
|
|
6439
|
+
path?: Maybe<Scalars['String']>;
|
|
6440
|
+
priceListId?: Maybe<Scalars['String']>;
|
|
6441
|
+
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
6442
|
+
};
|
|
5414
6443
|
export declare type StringFilterInput = {
|
|
5415
6444
|
/** `equal`. The filter used for equality. */
|
|
5416
6445
|
eq?: InputMaybe<Scalars['String']>;
|
|
5417
6446
|
/** Returns a boolean indicating whether a specified value is in an array. */
|
|
5418
6447
|
in?: InputMaybe<Array<Scalars['String']>>;
|
|
5419
|
-
/**
|
|
5420
|
-
* It allows using regex code in queries.
|
|
5421
|
-
* The following example matches all documents where the name field is like "%AAA":
|
|
5422
|
-
* :::note
|
|
5423
|
-
* Example usage: merchantId: { like: AAA }.
|
|
5424
|
-
* :::
|
|
5425
|
-
*/
|
|
5426
|
-
like?: InputMaybe<Scalars['String']>;
|
|
5427
6448
|
/** `not equal`. The filter used for not equality. */
|
|
5428
6449
|
ne?: InputMaybe<Scalars['String']>;
|
|
5429
6450
|
/** Returns a boolean indicating whether a specified value is not in an array. */
|
|
@@ -5436,6 +6457,7 @@ export declare enum SubscriptionCodeEnum {
|
|
|
5436
6457
|
GROW = "GROW",
|
|
5437
6458
|
MARKETING_CORE = "MARKETING_CORE",
|
|
5438
6459
|
MARKETING_FREE = "MARKETING_FREE",
|
|
6460
|
+
MARKETING_MID = "MARKETING_MID",
|
|
5439
6461
|
MARKETING_PRO = "MARKETING_PRO",
|
|
5440
6462
|
ONE_TIME = "ONE_TIME",
|
|
5441
6463
|
PREMIUM = "PREMIUM",
|
|
@@ -5449,6 +6471,23 @@ export declare enum SubscriptionPeriodEnum {
|
|
|
5449
6471
|
ONE_TIME = "ONE_TIME",
|
|
5450
6472
|
YEARLY = "YEARLY"
|
|
5451
6473
|
}
|
|
6474
|
+
export declare type SubscriptionPlanDiscount = {
|
|
6475
|
+
__typename?: 'SubscriptionPlanDiscount';
|
|
6476
|
+
amount: Scalars['Float'];
|
|
6477
|
+
type: OrderAmountTypeEnum;
|
|
6478
|
+
};
|
|
6479
|
+
/** SubscriptionPlanDurationUnitTypeEnum */
|
|
6480
|
+
export declare enum SubscriptionPlanDurationUnitTypeEnum {
|
|
6481
|
+
DAY = "DAY",
|
|
6482
|
+
MONTH = "MONTH",
|
|
6483
|
+
WEEK = "WEEK",
|
|
6484
|
+
YEAR = "YEAR"
|
|
6485
|
+
}
|
|
6486
|
+
/** SubscriptionPlanPaymentTypeEnum */
|
|
6487
|
+
export declare enum SubscriptionPlanPaymentTypeEnum {
|
|
6488
|
+
POST_PAID = "POST_PAID",
|
|
6489
|
+
PRE_PAID = "PRE_PAID"
|
|
6490
|
+
}
|
|
5452
6491
|
export declare enum SubscriptionPriceCurrencyEnum {
|
|
5453
6492
|
EUR = "EUR",
|
|
5454
6493
|
TRY = "TRY",
|
|
@@ -5568,6 +6607,8 @@ export declare type TrackingInfo = {
|
|
|
5568
6607
|
cargoCompanyId?: Maybe<Scalars['String']>;
|
|
5569
6608
|
/** Indicates whether the notification is sent to the customer after the cargo is delivered. **isSendNotification** returns true if the notification is sent. */
|
|
5570
6609
|
isSendNotification?: Maybe<Scalars['Boolean']>;
|
|
6610
|
+
/** It is the shipping label image of the order package. */
|
|
6611
|
+
shippingLabelImage?: Maybe<Scalars['String']>;
|
|
5571
6612
|
/** It is the tracking link of the order package. */
|
|
5572
6613
|
trackingLink?: Maybe<Scalars['String']>;
|
|
5573
6614
|
/** It is the tracking number of the order package. */
|
|
@@ -5582,6 +6623,8 @@ export declare type TrackingInfoDetailInput = {
|
|
|
5582
6623
|
cargoCompanyId?: InputMaybe<Scalars['String']>;
|
|
5583
6624
|
/** If the customer is to be informed after the cargo is delivered, this field can be sent as `true`. */
|
|
5584
6625
|
isSendNotification?: InputMaybe<Scalars['Boolean']>;
|
|
6626
|
+
/** It is the shipping label base64 of the order package. */
|
|
6627
|
+
shippingLabelImageBase64?: InputMaybe<Scalars['String']>;
|
|
5585
6628
|
/** It is the tracking link of the order package. */
|
|
5586
6629
|
trackingLink?: InputMaybe<Scalars['String']>;
|
|
5587
6630
|
/** It is the tracking number of the order package. */
|
|
@@ -5612,6 +6655,25 @@ export declare type TransactionInstallmentPrice = {
|
|
|
5612
6655
|
rate?: Maybe<Scalars['Float']>;
|
|
5613
6656
|
totalPrice?: Maybe<Scalars['Float']>;
|
|
5614
6657
|
};
|
|
6658
|
+
export declare type TransactionOrderLineItem = {
|
|
6659
|
+
__typename?: 'TransactionOrderLineItem';
|
|
6660
|
+
finalPrice?: Maybe<Scalars['Float']>;
|
|
6661
|
+
id: Scalars['String'];
|
|
6662
|
+
price?: Maybe<Scalars['Float']>;
|
|
6663
|
+
quantity: Scalars['Float'];
|
|
6664
|
+
taxValue?: Maybe<Scalars['Float']>;
|
|
6665
|
+
variant?: Maybe<TransactionOrderLineVariant>;
|
|
6666
|
+
};
|
|
6667
|
+
export declare type TransactionOrderLineVariant = {
|
|
6668
|
+
__typename?: 'TransactionOrderLineVariant';
|
|
6669
|
+
id?: Maybe<Scalars['String']>;
|
|
6670
|
+
mainImageId?: Maybe<Scalars['String']>;
|
|
6671
|
+
name?: Maybe<Scalars['String']>;
|
|
6672
|
+
productId?: Maybe<Scalars['String']>;
|
|
6673
|
+
sku?: Maybe<Scalars['String']>;
|
|
6674
|
+
slug?: Maybe<Scalars['String']>;
|
|
6675
|
+
type?: Maybe<Scalars['String']>;
|
|
6676
|
+
};
|
|
5615
6677
|
export declare type TransactionPaymentMethodDetail = {
|
|
5616
6678
|
__typename?: 'TransactionPaymentMethodDetail';
|
|
5617
6679
|
bankName?: Maybe<Scalars['String']>;
|
|
@@ -5731,6 +6793,8 @@ export declare type Variant = {
|
|
|
5731
6793
|
/** SKU of the variant. */
|
|
5732
6794
|
sku?: Maybe<Scalars['String']>;
|
|
5733
6795
|
stocks?: Maybe<Array<ProductStockLocation>>;
|
|
6796
|
+
/** Subscription plan id of product */
|
|
6797
|
+
subscriptionPlanId?: Maybe<Scalars['String']>;
|
|
5734
6798
|
/** Translations for the product. */
|
|
5735
6799
|
unit?: Maybe<VariantUnitModel>;
|
|
5736
6800
|
updatedAt?: Maybe<Scalars['Timestamp']>;
|
|
@@ -5753,6 +6817,7 @@ export declare type VariantInput = {
|
|
|
5753
6817
|
prices: Array<ProductPriceInput>;
|
|
5754
6818
|
sellIfOutOfStock?: InputMaybe<Scalars['Boolean']>;
|
|
5755
6819
|
sku?: InputMaybe<Scalars['String']>;
|
|
6820
|
+
subscriptionPlanId?: InputMaybe<Scalars['String']>;
|
|
5756
6821
|
unit?: InputMaybe<VariantUnitModelInput>;
|
|
5757
6822
|
updatedAt?: InputMaybe<Scalars['Timestamp']>;
|
|
5758
6823
|
variantValueIds?: InputMaybe<Array<VariantValueRelationInput>>;
|