@forgecart/sdk 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/admin-namespace.d.ts +166 -1
- package/dist/admin-namespace.js +403 -7
- package/dist/admin-types.d.ts +433 -4
- package/dist/admin-types.js +2 -1
- package/dist/admin.js +20 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +17 -8
- package/dist/shop-namespace.d.ts +1 -1
- package/dist/shop-namespace.js +10 -6
- package/dist/shop-types.d.ts +43 -4
- package/dist/shop-types.js +2 -1
- package/dist/shop.js +20 -2
- package/package.json +10 -5
- package/src/admin-namespace.ts +534 -2
- package/src/admin-types.ts +460 -4
- package/src/index.ts +9 -4
- package/src/shop-namespace.ts +2 -1
- package/src/shop-types.ts +48 -4
package/dist/admin-types.d.ts
CHANGED
|
@@ -41,22 +41,18 @@ export type Scalars = {
|
|
|
41
41
|
input: number;
|
|
42
42
|
output: number;
|
|
43
43
|
};
|
|
44
|
-
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
|
|
45
44
|
DateTime: {
|
|
46
45
|
input: any;
|
|
47
46
|
output: any;
|
|
48
47
|
};
|
|
49
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
50
48
|
JSON: {
|
|
51
49
|
input: any;
|
|
52
50
|
output: any;
|
|
53
51
|
};
|
|
54
|
-
/** The `Money` scalar type represents monetary values and supports signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). */
|
|
55
52
|
Money: {
|
|
56
53
|
input: any;
|
|
57
54
|
output: any;
|
|
58
55
|
};
|
|
59
|
-
/** The `Upload` scalar type represents a file upload. */
|
|
60
56
|
Upload: {
|
|
61
57
|
input: any;
|
|
62
58
|
output: any;
|
|
@@ -426,6 +422,8 @@ export type BlogPostTranslationInput = {
|
|
|
426
422
|
};
|
|
427
423
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
428
424
|
__typename?: 'BooleanCustomFieldConfig';
|
|
425
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
426
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
429
427
|
description?: Maybe<Array<LocalizedString>>;
|
|
430
428
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
431
429
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -572,6 +570,15 @@ export type ChannelFulfillment = {
|
|
|
572
570
|
export type ChannelFulfillmentsInput = {
|
|
573
571
|
type?: InputMaybe<FulfillmentType>;
|
|
574
572
|
};
|
|
573
|
+
export type ChannelInfo = {
|
|
574
|
+
__typename?: 'ChannelInfo';
|
|
575
|
+
applicationName?: Maybe<Scalars['String']['output']>;
|
|
576
|
+
code: Scalars['String']['output'];
|
|
577
|
+
domain: Scalars['String']['output'];
|
|
578
|
+
hasApplication: Scalars['Boolean']['output'];
|
|
579
|
+
id: Scalars['ID']['output'];
|
|
580
|
+
name: Scalars['String']['output'];
|
|
581
|
+
};
|
|
575
582
|
export type ChannelList = PaginatedList & {
|
|
576
583
|
__typename?: 'ChannelList';
|
|
577
584
|
items: Array<Channel>;
|
|
@@ -965,6 +972,9 @@ export type CreateCustomerInput = {
|
|
|
965
972
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
966
973
|
};
|
|
967
974
|
export type CreateCustomerResult = Customer | EmailAddressConflictError;
|
|
975
|
+
export type CreateDeploymentInput = {
|
|
976
|
+
type: DeploymentType;
|
|
977
|
+
};
|
|
968
978
|
export type CreateFacetInput = {
|
|
969
979
|
code: Scalars['String']['input'];
|
|
970
980
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -1467,6 +1477,8 @@ export type CurrentUserChannel = {
|
|
|
1467
1477
|
token: Scalars['String']['output'];
|
|
1468
1478
|
};
|
|
1469
1479
|
export type CustomField = {
|
|
1480
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
1481
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
1470
1482
|
description?: Maybe<Array<LocalizedString>>;
|
|
1471
1483
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
1472
1484
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1660,6 +1672,8 @@ export type DateRange = {
|
|
|
1660
1672
|
*/
|
|
1661
1673
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
1662
1674
|
__typename?: 'DateTimeCustomFieldConfig';
|
|
1675
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
1676
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
1663
1677
|
description?: Maybe<Array<LocalizedString>>;
|
|
1664
1678
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
1665
1679
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1782,6 +1796,49 @@ export type DeletionResult =
|
|
|
1782
1796
|
'DELETED'
|
|
1783
1797
|
/** Deletion did not take place, reason given in message */
|
|
1784
1798
|
| 'NOT_DELETED';
|
|
1799
|
+
export type Deployment = {
|
|
1800
|
+
__typename?: 'Deployment';
|
|
1801
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
1802
|
+
id: Scalars['ID']['output'];
|
|
1803
|
+
instances: Scalars['Int']['output'];
|
|
1804
|
+
lastDeployedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1805
|
+
status: DeploymentStatus;
|
|
1806
|
+
type: DeploymentType;
|
|
1807
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
1808
|
+
};
|
|
1809
|
+
export type DeploymentEnv = {
|
|
1810
|
+
__typename?: 'DeploymentEnv';
|
|
1811
|
+
key: Scalars['String']['output'];
|
|
1812
|
+
value: Scalars['String']['output'];
|
|
1813
|
+
};
|
|
1814
|
+
export type DeploymentLogEntry = {
|
|
1815
|
+
__typename?: 'DeploymentLogEntry';
|
|
1816
|
+
message: Scalars['String']['output'];
|
|
1817
|
+
timestamp: Scalars['DateTime']['output'];
|
|
1818
|
+
type: DeploymentType;
|
|
1819
|
+
};
|
|
1820
|
+
export type DeploymentStatus = 'ERROR' | 'PENDING' | 'RUNNING' | 'STAGING' | 'STOPPED';
|
|
1821
|
+
export type DeploymentType = 'application' | 'storefront';
|
|
1822
|
+
export type DeviceAuthStatus = 'APPROVED' | 'DENIED' | 'EXPIRED' | 'PENDING';
|
|
1823
|
+
export type DeviceCodeInfo = {
|
|
1824
|
+
__typename?: 'DeviceCodeInfo';
|
|
1825
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
1826
|
+
isExpired: Scalars['Boolean']['output'];
|
|
1827
|
+
userCode: Scalars['String']['output'];
|
|
1828
|
+
};
|
|
1829
|
+
export type DeviceCodeResponse = {
|
|
1830
|
+
__typename?: 'DeviceCodeResponse';
|
|
1831
|
+
deviceCode: Scalars['String']['output'];
|
|
1832
|
+
expiresIn: Scalars['Int']['output'];
|
|
1833
|
+
userCode: Scalars['String']['output'];
|
|
1834
|
+
verificationUri: Scalars['String']['output'];
|
|
1835
|
+
};
|
|
1836
|
+
export type DeviceTokenResponse = {
|
|
1837
|
+
__typename?: 'DeviceTokenResponse';
|
|
1838
|
+
authToken?: Maybe<Scalars['String']['output']>;
|
|
1839
|
+
channelToken?: Maybe<Scalars['String']['output']>;
|
|
1840
|
+
status: DeviceAuthStatus;
|
|
1841
|
+
};
|
|
1785
1842
|
export type Discount = {
|
|
1786
1843
|
__typename?: 'Discount';
|
|
1787
1844
|
adjustmentSource: Scalars['String']['output'];
|
|
@@ -1831,11 +1888,24 @@ export type EntityDuplicatorDefinition = {
|
|
|
1831
1888
|
forEntities: Array<Scalars['String']['output']>;
|
|
1832
1889
|
requiresPermission: Array<Permission>;
|
|
1833
1890
|
};
|
|
1891
|
+
export type EntityEventPayload = {
|
|
1892
|
+
__typename?: 'EntityEventPayload';
|
|
1893
|
+
channelId: Scalars['ID']['output'];
|
|
1894
|
+
entity?: Maybe<Scalars['JSON']['output']>;
|
|
1895
|
+
entityId?: Maybe<Scalars['ID']['output']>;
|
|
1896
|
+
eventClass: Scalars['String']['output'];
|
|
1897
|
+
eventName: Scalars['String']['output'];
|
|
1898
|
+
input?: Maybe<Scalars['JSON']['output']>;
|
|
1899
|
+
timestamp: Scalars['DateTime']['output'];
|
|
1900
|
+
type: Scalars['String']['output'];
|
|
1901
|
+
};
|
|
1902
|
+
export type EntityEventType = 'assigned' | 'created' | 'deleted' | 'removed' | 'updated';
|
|
1834
1903
|
export type ErrorCode = 'ALREADY_REFUNDED_ERROR' | 'CANCEL_ACTIVE_ORDER_ERROR' | 'CANCEL_PAYMENT_ERROR' | 'CHANNEL_DEFAULT_LANGUAGE_ERROR' | 'COUPON_CODE_EXPIRED_ERROR' | 'COUPON_CODE_INVALID_ERROR' | 'COUPON_CODE_LIMIT_ERROR' | 'CREATE_FULFILLMENT_ERROR' | 'DUPLICATE_ENTITY_ERROR' | 'EMAIL_ADDRESS_CONFLICT_ERROR' | 'EMPTY_ORDER_LINE_SELECTION_ERROR' | 'FACET_IN_USE_ERROR' | 'FULFILLMENT_STATE_TRANSITION_ERROR' | 'GUEST_CHECKOUT_ERROR' | 'INELIGIBLE_SHIPPING_METHOD_ERROR' | 'INSUFFICIENT_STOCK_ERROR' | 'INSUFFICIENT_STOCK_ON_HAND_ERROR' | 'INVALID_CREDENTIALS_ERROR' | 'INVALID_FULFILLMENT_HANDLER_ERROR' | 'ITEMS_ALREADY_FULFILLED_ERROR' | 'LANGUAGE_NOT_AVAILABLE_ERROR' | 'MANUAL_PAYMENT_STATE_ERROR' | 'MIME_TYPE_ERROR' | 'MISSING_CONDITIONS_ERROR' | 'MULTIPLE_ORDER_ERROR' | 'NATIVE_AUTH_STRATEGY_ERROR' | 'NEGATIVE_QUANTITY_ERROR' | 'NOTHING_TO_REFUND_ERROR' | 'NO_ACTIVE_ORDER_ERROR' | 'NO_CHANGES_SPECIFIED_ERROR' | 'ORDER_INTERCEPTOR_ERROR' | 'ORDER_LIMIT_ERROR' | 'ORDER_MODIFICATION_ERROR' | 'ORDER_MODIFICATION_STATE_ERROR' | 'ORDER_STATE_TRANSITION_ERROR' | 'PAYMENT_METHOD_MISSING_ERROR' | 'PAYMENT_ORDER_MISMATCH_ERROR' | 'PAYMENT_STATE_TRANSITION_ERROR' | 'PRODUCT_OPTION_IN_USE_ERROR' | 'QUANTITY_TOO_GREAT_ERROR' | 'REFUND_AMOUNT_ERROR' | 'REFUND_ORDER_STATE_ERROR' | 'REFUND_PAYMENT_ID_MISSING_ERROR' | 'REFUND_STATE_TRANSITION_ERROR' | 'SETTLE_PAYMENT_ERROR' | 'UNKNOWN_ERROR';
|
|
1835
1904
|
export type ErrorResult = {
|
|
1836
1905
|
errorCode: ErrorCode;
|
|
1837
1906
|
message: Scalars['String']['output'];
|
|
1838
1907
|
};
|
|
1908
|
+
export type EventCategory = 'account' | 'admin' | 'asset' | 'catalog' | 'channel' | 'customer' | 'fulfillment' | 'inventory' | 'order' | 'payment' | 'product' | 'promotion' | 'search' | 'shipping' | 'tax';
|
|
1839
1909
|
export type Facet = Node & {
|
|
1840
1910
|
__typename?: 'Facet';
|
|
1841
1911
|
code: Scalars['String']['output'];
|
|
@@ -1997,6 +2067,8 @@ export type FacetValueTranslationInput = {
|
|
|
1997
2067
|
};
|
|
1998
2068
|
export type FloatCustomFieldConfig = CustomField & {
|
|
1999
2069
|
__typename?: 'FloatCustomFieldConfig';
|
|
2070
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2071
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2000
2072
|
description?: Maybe<Array<LocalizedString>>;
|
|
2001
2073
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2002
2074
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2077,6 +2149,9 @@ export type FulfillmentStateTransitionError = ErrorResult & {
|
|
|
2077
2149
|
transitionError: Scalars['String']['output'];
|
|
2078
2150
|
};
|
|
2079
2151
|
export type FulfillmentType = 'digital' | 'manual' | 'warehouse';
|
|
2152
|
+
export type GenerateDeviceCodeInput = {
|
|
2153
|
+
apiUrl: Scalars['String']['input'];
|
|
2154
|
+
};
|
|
2080
2155
|
export type GetAllFieldsInput = {
|
|
2081
2156
|
entityName: Scalars['String']['input'];
|
|
2082
2157
|
template: Scalars['String']['input'];
|
|
@@ -2353,6 +2428,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
|
|
|
2353
2428
|
};
|
|
2354
2429
|
export type IntCustomFieldConfig = CustomField & {
|
|
2355
2430
|
__typename?: 'IntCustomFieldConfig';
|
|
2431
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2432
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2356
2433
|
description?: Maybe<Array<LocalizedString>>;
|
|
2357
2434
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2358
2435
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2843,6 +2920,8 @@ export type LanguageNotAvailableError = ErrorResult & {
|
|
|
2843
2920
|
};
|
|
2844
2921
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
2845
2922
|
__typename?: 'LocaleStringCustomFieldConfig';
|
|
2923
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2924
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2846
2925
|
description?: Maybe<Array<LocalizedString>>;
|
|
2847
2926
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2848
2927
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2858,6 +2937,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
2858
2937
|
};
|
|
2859
2938
|
export type LocaleTextCustomFieldConfig = CustomField & {
|
|
2860
2939
|
__typename?: 'LocaleTextCustomFieldConfig';
|
|
2940
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2941
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2861
2942
|
description?: Maybe<Array<LocalizedString>>;
|
|
2862
2943
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2863
2944
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -3001,6 +3082,7 @@ export type Mutation = {
|
|
|
3001
3082
|
adjustDraftOrderLine: UpdateOrderItemsResult;
|
|
3002
3083
|
/** Applies the given coupon code to the draft Order */
|
|
3003
3084
|
applyCouponCodeToDraftOrder: ApplyCouponCodeResult;
|
|
3085
|
+
approveDeviceCode: Scalars['Boolean']['output'];
|
|
3004
3086
|
/** Assign assets to channel */
|
|
3005
3087
|
assignAssetsToChannel: Array<Asset>;
|
|
3006
3088
|
/** Assigns Collections to the specified Channel */
|
|
@@ -3046,10 +3128,13 @@ export type Mutation = {
|
|
|
3046
3128
|
createCustomerAddress: Address;
|
|
3047
3129
|
/** Create a new CustomerGroup */
|
|
3048
3130
|
createCustomerGroup: CustomerGroup;
|
|
3131
|
+
createDeployment: Deployment;
|
|
3049
3132
|
/** Creates a draft Order */
|
|
3050
3133
|
createDraftOrder: Order;
|
|
3051
3134
|
/** Create a new Facet */
|
|
3052
3135
|
createFacet: Facet;
|
|
3136
|
+
/** Create a single FacetValue */
|
|
3137
|
+
createFacetValue: FacetValue;
|
|
3053
3138
|
/** Create one or more FacetValues */
|
|
3054
3139
|
createFacetValues: Array<FacetValue>;
|
|
3055
3140
|
createGroupValue: GroupValue;
|
|
@@ -3118,6 +3203,7 @@ export type Mutation = {
|
|
|
3118
3203
|
/** Deletes Customers */
|
|
3119
3204
|
deleteCustomers: Array<DeletionResponse>;
|
|
3120
3205
|
deleteDateValue: Scalars['Boolean']['output'];
|
|
3206
|
+
deleteDeployment: Scalars['Boolean']['output'];
|
|
3121
3207
|
/** Deletes a draft Order */
|
|
3122
3208
|
deleteDraftOrder: DeletionResponse;
|
|
3123
3209
|
/** Delete an existing Facet */
|
|
@@ -3188,6 +3274,7 @@ export type Mutation = {
|
|
|
3188
3274
|
duplicateEntity: DuplicateEntityResult;
|
|
3189
3275
|
enableChannelPlugin: ChannelPlugin;
|
|
3190
3276
|
flushBufferedJobs: Success;
|
|
3277
|
+
generateDeviceCode: DeviceCodeResponse;
|
|
3191
3278
|
importProducts?: Maybe<ImportInfo>;
|
|
3192
3279
|
insertBooleanFieldDefinition: BooleanFieldDefinition;
|
|
3193
3280
|
insertDateFieldDefinition: DateFieldDefinition;
|
|
@@ -3215,6 +3302,7 @@ export type Mutation = {
|
|
|
3215
3302
|
/** Move a Collection to a different parent or index */
|
|
3216
3303
|
moveCollection: Collection;
|
|
3217
3304
|
publishBlogPost: BlogPost;
|
|
3305
|
+
refreshDeploymentStatus?: Maybe<Deployment>;
|
|
3218
3306
|
refundOrder: RefundOrderResult;
|
|
3219
3307
|
register?: Maybe<RegisterSellerResponse>;
|
|
3220
3308
|
reindex: Job;
|
|
@@ -3254,7 +3342,9 @@ export type Mutation = {
|
|
|
3254
3342
|
removeStockLocationsFromChannel: Array<StockLocation>;
|
|
3255
3343
|
runPendingSearchIndexUpdates: Success;
|
|
3256
3344
|
runScheduledTask: Success;
|
|
3345
|
+
scaleDeployment: Deployment;
|
|
3257
3346
|
setCustomerForDraftOrder: SetCustomerForDraftOrderResult;
|
|
3347
|
+
setDeploymentEnv: Scalars['Boolean']['output'];
|
|
3258
3348
|
/** Sets the billing address for a draft Order */
|
|
3259
3349
|
setDraftOrderBillingAddress: Order;
|
|
3260
3350
|
/** Allows any custom fields to be set for the active order */
|
|
@@ -3266,6 +3356,10 @@ export type Mutation = {
|
|
|
3266
3356
|
setOrderCustomFields?: Maybe<Order>;
|
|
3267
3357
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
3268
3358
|
setOrderCustomer?: Maybe<Order>;
|
|
3359
|
+
/** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
3360
|
+
setSettingsStoreValue: SetSettingsStoreValueResult;
|
|
3361
|
+
/** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
3362
|
+
setSettingsStoreValues: Array<SetSettingsStoreValueResult>;
|
|
3269
3363
|
settlePayment: SettlePaymentResult;
|
|
3270
3364
|
settleRefund: SettleRefundResult;
|
|
3271
3365
|
submitLandingContactForm: LandingContactForm;
|
|
@@ -3273,6 +3367,7 @@ export type Mutation = {
|
|
|
3273
3367
|
transitionOrderToState?: Maybe<TransitionOrderToStateResult>;
|
|
3274
3368
|
transitionPaymentToState: TransitionPaymentToStateResult;
|
|
3275
3369
|
unpublishBlogPost: BlogPost;
|
|
3370
|
+
unsetDeploymentEnv: Scalars['Boolean']['output'];
|
|
3276
3371
|
/** Unsets the billing address for a draft Order */
|
|
3277
3372
|
unsetDraftOrderBillingAddress: Order;
|
|
3278
3373
|
/** Unsets the shipping address for a draft Order */
|
|
@@ -3301,6 +3396,8 @@ export type Mutation = {
|
|
|
3301
3396
|
updateCustomerNote: HistoryEntry;
|
|
3302
3397
|
/** Update an existing Facet */
|
|
3303
3398
|
updateFacet: Facet;
|
|
3399
|
+
/** Update a single FacetValue */
|
|
3400
|
+
updateFacetValue: FacetValue;
|
|
3304
3401
|
/** Update one or more FacetValues */
|
|
3305
3402
|
updateFacetValues: Array<FacetValue>;
|
|
3306
3403
|
updateGlobalSettings: UpdateGlobalSettingsResult;
|
|
@@ -3391,6 +3488,9 @@ export type MutationApplyCouponCodeToDraftOrderArgs = {
|
|
|
3391
3488
|
couponCode: Scalars['String']['input'];
|
|
3392
3489
|
orderId: Scalars['ID']['input'];
|
|
3393
3490
|
};
|
|
3491
|
+
export type MutationApproveDeviceCodeArgs = {
|
|
3492
|
+
userCode: Scalars['String']['input'];
|
|
3493
|
+
};
|
|
3394
3494
|
export type MutationAssignAssetsToChannelArgs = {
|
|
3395
3495
|
input: AssignAssetsToChannelInput;
|
|
3396
3496
|
};
|
|
@@ -3473,9 +3573,15 @@ export type MutationCreateCustomerAddressArgs = {
|
|
|
3473
3573
|
export type MutationCreateCustomerGroupArgs = {
|
|
3474
3574
|
input: CreateCustomerGroupInput;
|
|
3475
3575
|
};
|
|
3576
|
+
export type MutationCreateDeploymentArgs = {
|
|
3577
|
+
input: CreateDeploymentInput;
|
|
3578
|
+
};
|
|
3476
3579
|
export type MutationCreateFacetArgs = {
|
|
3477
3580
|
input: CreateFacetInput;
|
|
3478
3581
|
};
|
|
3582
|
+
export type MutationCreateFacetValueArgs = {
|
|
3583
|
+
input: CreateFacetValueInput;
|
|
3584
|
+
};
|
|
3479
3585
|
export type MutationCreateFacetValuesArgs = {
|
|
3480
3586
|
input: Array<CreateFacetValueInput>;
|
|
3481
3587
|
};
|
|
@@ -3593,6 +3699,9 @@ export type MutationDeleteCustomersArgs = {
|
|
|
3593
3699
|
export type MutationDeleteDateValueArgs = {
|
|
3594
3700
|
input: DeleteDateValueInput;
|
|
3595
3701
|
};
|
|
3702
|
+
export type MutationDeleteDeploymentArgs = {
|
|
3703
|
+
type: DeploymentType;
|
|
3704
|
+
};
|
|
3596
3705
|
export type MutationDeleteDraftOrderArgs = {
|
|
3597
3706
|
orderId: Scalars['ID']['input'];
|
|
3598
3707
|
};
|
|
@@ -3721,6 +3830,9 @@ export type MutationEnableChannelPluginArgs = {
|
|
|
3721
3830
|
export type MutationFlushBufferedJobsArgs = {
|
|
3722
3831
|
bufferIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3723
3832
|
};
|
|
3833
|
+
export type MutationGenerateDeviceCodeArgs = {
|
|
3834
|
+
input: GenerateDeviceCodeInput;
|
|
3835
|
+
};
|
|
3724
3836
|
export type MutationImportProductsArgs = {
|
|
3725
3837
|
csvFile: Scalars['Upload']['input'];
|
|
3726
3838
|
};
|
|
@@ -3768,6 +3880,9 @@ export type MutationMoveCollectionArgs = {
|
|
|
3768
3880
|
export type MutationPublishBlogPostArgs = {
|
|
3769
3881
|
id: Scalars['ID']['input'];
|
|
3770
3882
|
};
|
|
3883
|
+
export type MutationRefreshDeploymentStatusArgs = {
|
|
3884
|
+
type: DeploymentType;
|
|
3885
|
+
};
|
|
3771
3886
|
export type MutationRefundOrderArgs = {
|
|
3772
3887
|
input: RefundOrderInput;
|
|
3773
3888
|
};
|
|
@@ -3830,11 +3945,17 @@ export type MutationRemoveStockLocationsFromChannelArgs = {
|
|
|
3830
3945
|
export type MutationRunScheduledTaskArgs = {
|
|
3831
3946
|
id: Scalars['String']['input'];
|
|
3832
3947
|
};
|
|
3948
|
+
export type MutationScaleDeploymentArgs = {
|
|
3949
|
+
input: ScaleDeploymentInput;
|
|
3950
|
+
};
|
|
3833
3951
|
export type MutationSetCustomerForDraftOrderArgs = {
|
|
3834
3952
|
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
3835
3953
|
input?: InputMaybe<CreateCustomerInput>;
|
|
3836
3954
|
orderId: Scalars['ID']['input'];
|
|
3837
3955
|
};
|
|
3956
|
+
export type MutationSetDeploymentEnvArgs = {
|
|
3957
|
+
input: SetEnvInput;
|
|
3958
|
+
};
|
|
3838
3959
|
export type MutationSetDraftOrderBillingAddressArgs = {
|
|
3839
3960
|
input: CreateAddressInput;
|
|
3840
3961
|
orderId: Scalars['ID']['input'];
|
|
@@ -3857,6 +3978,12 @@ export type MutationSetOrderCustomFieldsArgs = {
|
|
|
3857
3978
|
export type MutationSetOrderCustomerArgs = {
|
|
3858
3979
|
input: SetOrderCustomerInput;
|
|
3859
3980
|
};
|
|
3981
|
+
export type MutationSetSettingsStoreValueArgs = {
|
|
3982
|
+
input: SettingsStoreInput;
|
|
3983
|
+
};
|
|
3984
|
+
export type MutationSetSettingsStoreValuesArgs = {
|
|
3985
|
+
inputs: Array<SettingsStoreInput>;
|
|
3986
|
+
};
|
|
3860
3987
|
export type MutationSettlePaymentArgs = {
|
|
3861
3988
|
id: Scalars['ID']['input'];
|
|
3862
3989
|
};
|
|
@@ -3881,6 +4008,9 @@ export type MutationTransitionPaymentToStateArgs = {
|
|
|
3881
4008
|
export type MutationUnpublishBlogPostArgs = {
|
|
3882
4009
|
id: Scalars['ID']['input'];
|
|
3883
4010
|
};
|
|
4011
|
+
export type MutationUnsetDeploymentEnvArgs = {
|
|
4012
|
+
input: UnsetEnvInput;
|
|
4013
|
+
};
|
|
3884
4014
|
export type MutationUnsetDraftOrderBillingAddressArgs = {
|
|
3885
4015
|
orderId: Scalars['ID']['input'];
|
|
3886
4016
|
};
|
|
@@ -3929,6 +4059,9 @@ export type MutationUpdateCustomerNoteArgs = {
|
|
|
3929
4059
|
export type MutationUpdateFacetArgs = {
|
|
3930
4060
|
input: UpdateFacetInput;
|
|
3931
4061
|
};
|
|
4062
|
+
export type MutationUpdateFacetValueArgs = {
|
|
4063
|
+
input: UpdateFacetValueInput;
|
|
4064
|
+
};
|
|
3932
4065
|
export type MutationUpdateFacetValuesArgs = {
|
|
3933
4066
|
input: Array<UpdateFacetValueInput>;
|
|
3934
4067
|
};
|
|
@@ -4857,6 +4990,17 @@ export type ProductOption = Node & {
|
|
|
4857
4990
|
translations: Array<ProductOptionTranslation>;
|
|
4858
4991
|
updatedAt: Scalars['DateTime']['output'];
|
|
4859
4992
|
};
|
|
4993
|
+
export type ProductOptionFilterParameter = {
|
|
4994
|
+
_and?: InputMaybe<Array<ProductOptionFilterParameter>>;
|
|
4995
|
+
_or?: InputMaybe<Array<ProductOptionFilterParameter>>;
|
|
4996
|
+
code?: InputMaybe<StringOperators>;
|
|
4997
|
+
createdAt?: InputMaybe<DateOperators>;
|
|
4998
|
+
groupId?: InputMaybe<IdOperators>;
|
|
4999
|
+
id?: InputMaybe<IdOperators>;
|
|
5000
|
+
languageCode?: InputMaybe<StringOperators>;
|
|
5001
|
+
name?: InputMaybe<StringOperators>;
|
|
5002
|
+
updatedAt?: InputMaybe<DateOperators>;
|
|
5003
|
+
};
|
|
4860
5004
|
export type ProductOptionGroup = Node & {
|
|
4861
5005
|
__typename?: 'ProductOptionGroup';
|
|
4862
5006
|
code: Scalars['String']['output'];
|
|
@@ -4890,6 +5034,31 @@ export type ProductOptionInUseError = ErrorResult & {
|
|
|
4890
5034
|
optionGroupCode: Scalars['String']['output'];
|
|
4891
5035
|
productVariantCount: Scalars['Int']['output'];
|
|
4892
5036
|
};
|
|
5037
|
+
export type ProductOptionList = PaginatedList & {
|
|
5038
|
+
__typename?: 'ProductOptionList';
|
|
5039
|
+
items: Array<ProductOption>;
|
|
5040
|
+
totalItems: Scalars['Int']['output'];
|
|
5041
|
+
};
|
|
5042
|
+
export type ProductOptionListOptions = {
|
|
5043
|
+
/** Allows the results to be filtered */
|
|
5044
|
+
filter?: InputMaybe<ProductOptionFilterParameter>;
|
|
5045
|
+
/** Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND. */
|
|
5046
|
+
filterOperator?: InputMaybe<LogicalOperator>;
|
|
5047
|
+
/** Skips the first n results, for use in pagination */
|
|
5048
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
5049
|
+
/** Specifies which properties to sort the results by */
|
|
5050
|
+
sort?: InputMaybe<ProductOptionSortParameter>;
|
|
5051
|
+
/** Takes n results, for use in pagination */
|
|
5052
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
5053
|
+
};
|
|
5054
|
+
export type ProductOptionSortParameter = {
|
|
5055
|
+
code?: InputMaybe<SortOrder>;
|
|
5056
|
+
createdAt?: InputMaybe<SortOrder>;
|
|
5057
|
+
groupId?: InputMaybe<SortOrder>;
|
|
5058
|
+
id?: InputMaybe<SortOrder>;
|
|
5059
|
+
name?: InputMaybe<SortOrder>;
|
|
5060
|
+
updatedAt?: InputMaybe<SortOrder>;
|
|
5061
|
+
};
|
|
4893
5062
|
export type ProductOptionTranslation = {
|
|
4894
5063
|
__typename?: 'ProductOptionTranslation';
|
|
4895
5064
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -5205,6 +5374,7 @@ export type Query = {
|
|
|
5205
5374
|
blogPosts: BlogPostList;
|
|
5206
5375
|
channel?: Maybe<Channel>;
|
|
5207
5376
|
channelFulfillments: Array<ChannelFulfillment>;
|
|
5377
|
+
channelInfo?: Maybe<ChannelInfo>;
|
|
5208
5378
|
channels: ChannelList;
|
|
5209
5379
|
/** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */
|
|
5210
5380
|
collection?: Maybe<Collection>;
|
|
@@ -5216,11 +5386,15 @@ export type Query = {
|
|
|
5216
5386
|
customerGroup?: Maybe<CustomerGroup>;
|
|
5217
5387
|
customerGroups: CustomerGroupList;
|
|
5218
5388
|
customers: CustomerList;
|
|
5389
|
+
deployment?: Maybe<Deployment>;
|
|
5390
|
+
deploymentEnv: Array<DeploymentEnv>;
|
|
5391
|
+
deployments: Array<Deployment>;
|
|
5219
5392
|
/** Returns a list of eligible shipping methods for the draft Order */
|
|
5220
5393
|
eligibleShippingMethodsForDraftOrder: Array<ShippingMethodQuote>;
|
|
5221
5394
|
/** Returns all configured EntityDuplicators. */
|
|
5222
5395
|
entityDuplicators: Array<EntityDuplicatorDefinition>;
|
|
5223
5396
|
facet?: Maybe<Facet>;
|
|
5397
|
+
facetValue?: Maybe<FacetValue>;
|
|
5224
5398
|
facetValues: FacetValueList;
|
|
5225
5399
|
facets: FacetList;
|
|
5226
5400
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
@@ -5237,6 +5411,10 @@ export type Query = {
|
|
|
5237
5411
|
getPaymentGatewayTokens: Array<PaymentGatewayToken>;
|
|
5238
5412
|
getRelationValue?: Maybe<RelationValue>;
|
|
5239
5413
|
getRichTextValue?: Maybe<RichTextValue>;
|
|
5414
|
+
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
5415
|
+
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
5416
|
+
/** Get multiple key-value pairs (each automatically scoped) */
|
|
5417
|
+
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
5240
5418
|
getStringValue?: Maybe<StringValue>;
|
|
5241
5419
|
getTemplatesByEntityId: Array<Scalars['String']['output']>;
|
|
5242
5420
|
getUniqueTemplates: Array<Scalars['String']['output']>;
|
|
@@ -5257,12 +5435,15 @@ export type Query = {
|
|
|
5257
5435
|
paymentMethodHandlers: Array<ConfigurableOperationDefinition>;
|
|
5258
5436
|
paymentMethods: PaymentMethodList;
|
|
5259
5437
|
pendingSearchIndexUpdates: Scalars['Int']['output'];
|
|
5438
|
+
pollDeviceToken: DeviceTokenResponse;
|
|
5260
5439
|
/** Used for real-time previews of the contents of a Collection */
|
|
5261
5440
|
previewCollectionVariants: ProductVariantList;
|
|
5262
5441
|
/** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */
|
|
5263
5442
|
product?: Maybe<Product>;
|
|
5443
|
+
productOption?: Maybe<ProductOption>;
|
|
5264
5444
|
productOptionGroup?: Maybe<ProductOptionGroup>;
|
|
5265
5445
|
productOptionGroups: Array<ProductOptionGroup>;
|
|
5446
|
+
productOptions: ProductOptionList;
|
|
5266
5447
|
/** Get a ProductVariant by id */
|
|
5267
5448
|
productVariant?: Maybe<ProductVariant>;
|
|
5268
5449
|
/** List ProductVariants either all or for the specific product. */
|
|
@@ -5285,6 +5466,8 @@ export type Query = {
|
|
|
5285
5466
|
shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
|
|
5286
5467
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
5287
5468
|
shippingMethods: ShippingMethodList;
|
|
5469
|
+
/** Generate slug for entity */
|
|
5470
|
+
slugForEntity: Scalars['String']['output'];
|
|
5288
5471
|
stockLocation?: Maybe<StockLocation>;
|
|
5289
5472
|
stockLocationProducts: ProductList;
|
|
5290
5473
|
stockLocations: StockLocationList;
|
|
@@ -5296,6 +5479,8 @@ export type Query = {
|
|
|
5296
5479
|
taxRates: TaxRateList;
|
|
5297
5480
|
testEligibleShippingMethods: Array<ShippingMethodQuote>;
|
|
5298
5481
|
testShippingMethod: TestShippingMethodResult;
|
|
5482
|
+
validateChannelToken: Scalars['Boolean']['output'];
|
|
5483
|
+
validateDeviceCode?: Maybe<DeviceCodeInfo>;
|
|
5299
5484
|
zone?: Maybe<Zone>;
|
|
5300
5485
|
zones: ZoneList;
|
|
5301
5486
|
};
|
|
@@ -5352,12 +5537,21 @@ export type QueryCustomerGroupsArgs = {
|
|
|
5352
5537
|
export type QueryCustomersArgs = {
|
|
5353
5538
|
options?: InputMaybe<CustomerListOptions>;
|
|
5354
5539
|
};
|
|
5540
|
+
export type QueryDeploymentArgs = {
|
|
5541
|
+
type: DeploymentType;
|
|
5542
|
+
};
|
|
5543
|
+
export type QueryDeploymentEnvArgs = {
|
|
5544
|
+
type: DeploymentType;
|
|
5545
|
+
};
|
|
5355
5546
|
export type QueryEligibleShippingMethodsForDraftOrderArgs = {
|
|
5356
5547
|
orderId: Scalars['ID']['input'];
|
|
5357
5548
|
};
|
|
5358
5549
|
export type QueryFacetArgs = {
|
|
5359
5550
|
id: Scalars['ID']['input'];
|
|
5360
5551
|
};
|
|
5552
|
+
export type QueryFacetValueArgs = {
|
|
5553
|
+
id: Scalars['ID']['input'];
|
|
5554
|
+
};
|
|
5361
5555
|
export type QueryFacetValuesArgs = {
|
|
5362
5556
|
options?: InputMaybe<FacetValueListOptions>;
|
|
5363
5557
|
};
|
|
@@ -5400,6 +5594,12 @@ export type QueryGetRelationValueArgs = {
|
|
|
5400
5594
|
export type QueryGetRichTextValueArgs = {
|
|
5401
5595
|
input: GetRichTextValueInput;
|
|
5402
5596
|
};
|
|
5597
|
+
export type QueryGetSettingsStoreValueArgs = {
|
|
5598
|
+
key: Scalars['String']['input'];
|
|
5599
|
+
};
|
|
5600
|
+
export type QueryGetSettingsStoreValuesArgs = {
|
|
5601
|
+
keys: Array<Scalars['String']['input']>;
|
|
5602
|
+
};
|
|
5403
5603
|
export type QueryGetStringValueArgs = {
|
|
5404
5604
|
input: GetStringValueInput;
|
|
5405
5605
|
};
|
|
@@ -5433,6 +5633,9 @@ export type QueryPaymentMethodArgs = {
|
|
|
5433
5633
|
export type QueryPaymentMethodsArgs = {
|
|
5434
5634
|
options?: InputMaybe<PaymentMethodListOptions>;
|
|
5435
5635
|
};
|
|
5636
|
+
export type QueryPollDeviceTokenArgs = {
|
|
5637
|
+
deviceCode: Scalars['String']['input'];
|
|
5638
|
+
};
|
|
5436
5639
|
export type QueryPreviewCollectionVariantsArgs = {
|
|
5437
5640
|
input: PreviewCollectionVariantsInput;
|
|
5438
5641
|
options?: InputMaybe<ProductVariantListOptions>;
|
|
@@ -5441,12 +5644,19 @@ export type QueryProductArgs = {
|
|
|
5441
5644
|
id?: InputMaybe<Scalars['ID']['input']>;
|
|
5442
5645
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
5443
5646
|
};
|
|
5647
|
+
export type QueryProductOptionArgs = {
|
|
5648
|
+
id: Scalars['ID']['input'];
|
|
5649
|
+
};
|
|
5444
5650
|
export type QueryProductOptionGroupArgs = {
|
|
5445
5651
|
id: Scalars['ID']['input'];
|
|
5446
5652
|
};
|
|
5447
5653
|
export type QueryProductOptionGroupsArgs = {
|
|
5448
5654
|
filterTerm?: InputMaybe<Scalars['String']['input']>;
|
|
5449
5655
|
};
|
|
5656
|
+
export type QueryProductOptionsArgs = {
|
|
5657
|
+
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
5658
|
+
options?: InputMaybe<ProductOptionListOptions>;
|
|
5659
|
+
};
|
|
5450
5660
|
export type QueryProductVariantArgs = {
|
|
5451
5661
|
id: Scalars['ID']['input'];
|
|
5452
5662
|
};
|
|
@@ -5490,6 +5700,9 @@ export type QueryShippingMethodArgs = {
|
|
|
5490
5700
|
export type QueryShippingMethodsArgs = {
|
|
5491
5701
|
options?: InputMaybe<ShippingMethodListOptions>;
|
|
5492
5702
|
};
|
|
5703
|
+
export type QuerySlugForEntityArgs = {
|
|
5704
|
+
input: SlugForEntityInput;
|
|
5705
|
+
};
|
|
5493
5706
|
export type QueryStockLocationArgs = {
|
|
5494
5707
|
id: Scalars['ID']['input'];
|
|
5495
5708
|
};
|
|
@@ -5524,6 +5737,9 @@ export type QueryTestEligibleShippingMethodsArgs = {
|
|
|
5524
5737
|
export type QueryTestShippingMethodArgs = {
|
|
5525
5738
|
input: TestShippingMethodInput;
|
|
5526
5739
|
};
|
|
5740
|
+
export type QueryValidateDeviceCodeArgs = {
|
|
5741
|
+
userCode: Scalars['String']['input'];
|
|
5742
|
+
};
|
|
5527
5743
|
export type QueryZoneArgs = {
|
|
5528
5744
|
id: Scalars['ID']['input'];
|
|
5529
5745
|
};
|
|
@@ -5656,6 +5872,8 @@ export type RegisterSellerResponse = {
|
|
|
5656
5872
|
};
|
|
5657
5873
|
export type RelationCustomFieldConfig = CustomField & {
|
|
5658
5874
|
__typename?: 'RelationCustomFieldConfig';
|
|
5875
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
5876
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
5659
5877
|
description?: Maybe<Array<LocalizedString>>;
|
|
5660
5878
|
entity: Scalars['String']['output'];
|
|
5661
5879
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -5816,6 +6034,10 @@ export type Sale = Node & StockMovement & {
|
|
|
5816
6034
|
type: StockMovementType;
|
|
5817
6035
|
updatedAt: Scalars['DateTime']['output'];
|
|
5818
6036
|
};
|
|
6037
|
+
export type ScaleDeploymentInput = {
|
|
6038
|
+
instances: Scalars['Int']['input'];
|
|
6039
|
+
type: DeploymentType;
|
|
6040
|
+
};
|
|
5819
6041
|
export type ScheduledTask = {
|
|
5820
6042
|
__typename?: 'ScheduledTask';
|
|
5821
6043
|
description: Scalars['String']['output'];
|
|
@@ -5833,6 +6055,7 @@ export type SearchInput = {
|
|
|
5833
6055
|
collectionSlug?: InputMaybe<Scalars['String']['input']>;
|
|
5834
6056
|
facetValueFilters?: InputMaybe<Array<FacetValueFilterInput>>;
|
|
5835
6057
|
groupByProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6058
|
+
groupBySKU?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5836
6059
|
inStock?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5837
6060
|
priceRange?: InputMaybe<PriceRangeInput>;
|
|
5838
6061
|
priceRangeWithTax?: InputMaybe<PriceRangeInput>;
|
|
@@ -5961,12 +6184,27 @@ export type SessionInput = {
|
|
|
5961
6184
|
redirectUrl?: InputMaybe<Scalars['String']['input']>;
|
|
5962
6185
|
};
|
|
5963
6186
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
6187
|
+
export type SetEnvInput = {
|
|
6188
|
+
key: Scalars['String']['input'];
|
|
6189
|
+
type: DeploymentType;
|
|
6190
|
+
value: Scalars['String']['input'];
|
|
6191
|
+
};
|
|
5964
6192
|
export type SetOrderCustomerInput = {
|
|
5965
6193
|
customerId: Scalars['ID']['input'];
|
|
5966
6194
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
5967
6195
|
orderId: Scalars['ID']['input'];
|
|
5968
6196
|
};
|
|
5969
6197
|
export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError;
|
|
6198
|
+
export type SetSettingsStoreValueResult = {
|
|
6199
|
+
__typename?: 'SetSettingsStoreValueResult';
|
|
6200
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
6201
|
+
key: Scalars['String']['output'];
|
|
6202
|
+
result: Scalars['Boolean']['output'];
|
|
6203
|
+
};
|
|
6204
|
+
export type SettingsStoreInput = {
|
|
6205
|
+
key: Scalars['String']['input'];
|
|
6206
|
+
value: Scalars['JSON']['input'];
|
|
6207
|
+
};
|
|
5970
6208
|
/** Returned if the Payment settlement fails */
|
|
5971
6209
|
export type SettlePaymentError = ErrorResult & {
|
|
5972
6210
|
__typename?: 'SettlePaymentError';
|
|
@@ -6077,6 +6315,12 @@ export type SinglePrice = {
|
|
|
6077
6315
|
__typename?: 'SinglePrice';
|
|
6078
6316
|
value: Scalars['Money']['output'];
|
|
6079
6317
|
};
|
|
6318
|
+
export type SlugForEntityInput = {
|
|
6319
|
+
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
6320
|
+
entityName: Scalars['String']['input'];
|
|
6321
|
+
fieldName: Scalars['String']['input'];
|
|
6322
|
+
inputValue: Scalars['String']['input'];
|
|
6323
|
+
};
|
|
6080
6324
|
export type SortOrder = 'ASC' | 'DESC';
|
|
6081
6325
|
export type StockAdjustment = Node & StockMovement & {
|
|
6082
6326
|
__typename?: 'StockAdjustment';
|
|
@@ -6203,6 +6447,8 @@ export type StockMovementListOptions = {
|
|
|
6203
6447
|
export type StockMovementType = 'ADJUSTMENT' | 'ALLOCATION' | 'CANCELLATION' | 'RELEASE' | 'RETURN' | 'SALE';
|
|
6204
6448
|
export type StringCustomFieldConfig = CustomField & {
|
|
6205
6449
|
__typename?: 'StringCustomFieldConfig';
|
|
6450
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
6451
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
6206
6452
|
description?: Maybe<Array<LocalizedString>>;
|
|
6207
6453
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
6208
6454
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -6271,6 +6517,8 @@ export type StringValue = {
|
|
|
6271
6517
|
};
|
|
6272
6518
|
export type StructCustomFieldConfig = CustomField & {
|
|
6273
6519
|
__typename?: 'StructCustomFieldConfig';
|
|
6520
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
6521
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
6274
6522
|
description?: Maybe<Array<LocalizedString>>;
|
|
6275
6523
|
fields: Array<StructFieldConfig>;
|
|
6276
6524
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -6295,9 +6543,17 @@ export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldCo
|
|
|
6295
6543
|
export type Subscription = {
|
|
6296
6544
|
__typename?: 'Subscription';
|
|
6297
6545
|
_empty?: Maybe<Scalars['Boolean']['output']>;
|
|
6546
|
+
deploymentLogs: DeploymentLogEntry;
|
|
6547
|
+
entityEvent: EntityEventPayload;
|
|
6298
6548
|
notification: NotificationPayload;
|
|
6299
6549
|
orderCompleted: Order;
|
|
6300
6550
|
};
|
|
6551
|
+
export type SubscriptionDeploymentLogsArgs = {
|
|
6552
|
+
type: DeploymentType;
|
|
6553
|
+
};
|
|
6554
|
+
export type SubscriptionEntityEventArgs = {
|
|
6555
|
+
categories?: InputMaybe<Array<EventCategory>>;
|
|
6556
|
+
};
|
|
6301
6557
|
/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
|
|
6302
6558
|
export type Success = {
|
|
6303
6559
|
__typename?: 'Success';
|
|
@@ -6423,12 +6679,14 @@ export type TaxRate = Node & {
|
|
|
6423
6679
|
export type TaxRateFilterParameter = {
|
|
6424
6680
|
_and?: InputMaybe<Array<TaxRateFilterParameter>>;
|
|
6425
6681
|
_or?: InputMaybe<Array<TaxRateFilterParameter>>;
|
|
6682
|
+
categoryId?: InputMaybe<IdOperators>;
|
|
6426
6683
|
createdAt?: InputMaybe<DateOperators>;
|
|
6427
6684
|
enabled?: InputMaybe<BooleanOperators>;
|
|
6428
6685
|
id?: InputMaybe<IdOperators>;
|
|
6429
6686
|
name?: InputMaybe<StringOperators>;
|
|
6430
6687
|
updatedAt?: InputMaybe<DateOperators>;
|
|
6431
6688
|
value?: InputMaybe<NumberOperators>;
|
|
6689
|
+
zoneId?: InputMaybe<IdOperators>;
|
|
6432
6690
|
};
|
|
6433
6691
|
export type TaxRateList = PaginatedList & {
|
|
6434
6692
|
__typename?: 'TaxRateList';
|
|
@@ -6481,6 +6739,8 @@ export type TestShippingMethodResult = {
|
|
|
6481
6739
|
};
|
|
6482
6740
|
export type TextCustomFieldConfig = CustomField & {
|
|
6483
6741
|
__typename?: 'TextCustomFieldConfig';
|
|
6742
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
6743
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
6484
6744
|
description?: Maybe<Array<LocalizedString>>;
|
|
6485
6745
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
6486
6746
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -6522,6 +6782,10 @@ export type TokenMetadata = {
|
|
|
6522
6782
|
export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError;
|
|
6523
6783
|
export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
|
|
6524
6784
|
export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError;
|
|
6785
|
+
export type UnsetEnvInput = {
|
|
6786
|
+
key: Scalars['String']['input'];
|
|
6787
|
+
type: DeploymentType;
|
|
6788
|
+
};
|
|
6525
6789
|
export type UpdateActiveAdministratorInput = {
|
|
6526
6790
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
6527
6791
|
emailAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6701,6 +6965,8 @@ export type UpdateOrderInput = {
|
|
|
6701
6965
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
6702
6966
|
id: Scalars['ID']['input'];
|
|
6703
6967
|
};
|
|
6968
|
+
/** Union type of all possible errors that can occur when adding or removing items from an Order. */
|
|
6969
|
+
export type UpdateOrderItemErrorResult = InsufficientStockError | NegativeQuantityError | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
6704
6970
|
export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
6705
6971
|
export type UpdateOrderNoteInput = {
|
|
6706
6972
|
isPublic?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -11286,6 +11552,152 @@ export type DeleteCustomerNoteMutation = {
|
|
|
11286
11552
|
message?: string | null;
|
|
11287
11553
|
};
|
|
11288
11554
|
};
|
|
11555
|
+
export type DeploymentsQueryVariables = Exact<{
|
|
11556
|
+
[key: string]: never;
|
|
11557
|
+
}>;
|
|
11558
|
+
export type DeploymentsQuery = {
|
|
11559
|
+
__typename?: 'Query';
|
|
11560
|
+
deployments: Array<{
|
|
11561
|
+
__typename?: 'Deployment';
|
|
11562
|
+
id: string;
|
|
11563
|
+
type: DeploymentType;
|
|
11564
|
+
status: DeploymentStatus;
|
|
11565
|
+
url?: string | null;
|
|
11566
|
+
instances: number;
|
|
11567
|
+
lastDeployedAt?: any | null;
|
|
11568
|
+
errorMessage?: string | null;
|
|
11569
|
+
}>;
|
|
11570
|
+
};
|
|
11571
|
+
export type DeploymentQueryVariables = Exact<{
|
|
11572
|
+
type: DeploymentType;
|
|
11573
|
+
}>;
|
|
11574
|
+
export type DeploymentQuery = {
|
|
11575
|
+
__typename?: 'Query';
|
|
11576
|
+
deployment?: {
|
|
11577
|
+
__typename?: 'Deployment';
|
|
11578
|
+
id: string;
|
|
11579
|
+
type: DeploymentType;
|
|
11580
|
+
status: DeploymentStatus;
|
|
11581
|
+
url?: string | null;
|
|
11582
|
+
instances: number;
|
|
11583
|
+
lastDeployedAt?: any | null;
|
|
11584
|
+
errorMessage?: string | null;
|
|
11585
|
+
} | null;
|
|
11586
|
+
};
|
|
11587
|
+
export type DeploymentEnvQueryVariables = Exact<{
|
|
11588
|
+
type: DeploymentType;
|
|
11589
|
+
}>;
|
|
11590
|
+
export type DeploymentEnvQuery = {
|
|
11591
|
+
__typename?: 'Query';
|
|
11592
|
+
deploymentEnv: Array<{
|
|
11593
|
+
__typename?: 'DeploymentEnv';
|
|
11594
|
+
key: string;
|
|
11595
|
+
value: string;
|
|
11596
|
+
}>;
|
|
11597
|
+
};
|
|
11598
|
+
export type ChannelInfoQueryVariables = Exact<{
|
|
11599
|
+
[key: string]: never;
|
|
11600
|
+
}>;
|
|
11601
|
+
export type ChannelInfoQuery = {
|
|
11602
|
+
__typename?: 'Query';
|
|
11603
|
+
channelInfo?: {
|
|
11604
|
+
__typename?: 'ChannelInfo';
|
|
11605
|
+
id: string;
|
|
11606
|
+
code: string;
|
|
11607
|
+
name: string;
|
|
11608
|
+
domain: string;
|
|
11609
|
+
hasApplication: boolean;
|
|
11610
|
+
applicationName?: string | null;
|
|
11611
|
+
} | null;
|
|
11612
|
+
};
|
|
11613
|
+
export type ValidateChannelTokenQueryVariables = Exact<{
|
|
11614
|
+
[key: string]: never;
|
|
11615
|
+
}>;
|
|
11616
|
+
export type ValidateChannelTokenQuery = {
|
|
11617
|
+
__typename?: 'Query';
|
|
11618
|
+
validateChannelToken: boolean;
|
|
11619
|
+
};
|
|
11620
|
+
export type CreateDeploymentMutationVariables = Exact<{
|
|
11621
|
+
input: CreateDeploymentInput;
|
|
11622
|
+
}>;
|
|
11623
|
+
export type CreateDeploymentMutation = {
|
|
11624
|
+
__typename?: 'Mutation';
|
|
11625
|
+
createDeployment: {
|
|
11626
|
+
__typename?: 'Deployment';
|
|
11627
|
+
id: string;
|
|
11628
|
+
type: DeploymentType;
|
|
11629
|
+
status: DeploymentStatus;
|
|
11630
|
+
url?: string | null;
|
|
11631
|
+
instances: number;
|
|
11632
|
+
lastDeployedAt?: any | null;
|
|
11633
|
+
errorMessage?: string | null;
|
|
11634
|
+
};
|
|
11635
|
+
};
|
|
11636
|
+
export type DeleteDeploymentMutationVariables = Exact<{
|
|
11637
|
+
type: DeploymentType;
|
|
11638
|
+
}>;
|
|
11639
|
+
export type DeleteDeploymentMutation = {
|
|
11640
|
+
__typename?: 'Mutation';
|
|
11641
|
+
deleteDeployment: boolean;
|
|
11642
|
+
};
|
|
11643
|
+
export type ScaleDeploymentMutationVariables = Exact<{
|
|
11644
|
+
input: ScaleDeploymentInput;
|
|
11645
|
+
}>;
|
|
11646
|
+
export type ScaleDeploymentMutation = {
|
|
11647
|
+
__typename?: 'Mutation';
|
|
11648
|
+
scaleDeployment: {
|
|
11649
|
+
__typename?: 'Deployment';
|
|
11650
|
+
id: string;
|
|
11651
|
+
type: DeploymentType;
|
|
11652
|
+
status: DeploymentStatus;
|
|
11653
|
+
url?: string | null;
|
|
11654
|
+
instances: number;
|
|
11655
|
+
lastDeployedAt?: any | null;
|
|
11656
|
+
errorMessage?: string | null;
|
|
11657
|
+
};
|
|
11658
|
+
};
|
|
11659
|
+
export type SetDeploymentEnvMutationVariables = Exact<{
|
|
11660
|
+
input: SetEnvInput;
|
|
11661
|
+
}>;
|
|
11662
|
+
export type SetDeploymentEnvMutation = {
|
|
11663
|
+
__typename?: 'Mutation';
|
|
11664
|
+
setDeploymentEnv: boolean;
|
|
11665
|
+
};
|
|
11666
|
+
export type UnsetDeploymentEnvMutationVariables = Exact<{
|
|
11667
|
+
input: UnsetEnvInput;
|
|
11668
|
+
}>;
|
|
11669
|
+
export type UnsetDeploymentEnvMutation = {
|
|
11670
|
+
__typename?: 'Mutation';
|
|
11671
|
+
unsetDeploymentEnv: boolean;
|
|
11672
|
+
};
|
|
11673
|
+
export type RefreshDeploymentStatusMutationVariables = Exact<{
|
|
11674
|
+
type: DeploymentType;
|
|
11675
|
+
}>;
|
|
11676
|
+
export type RefreshDeploymentStatusMutation = {
|
|
11677
|
+
__typename?: 'Mutation';
|
|
11678
|
+
refreshDeploymentStatus?: {
|
|
11679
|
+
__typename?: 'Deployment';
|
|
11680
|
+
id: string;
|
|
11681
|
+
type: DeploymentType;
|
|
11682
|
+
status: DeploymentStatus;
|
|
11683
|
+
url?: string | null;
|
|
11684
|
+
instances: number;
|
|
11685
|
+
lastDeployedAt?: any | null;
|
|
11686
|
+
errorMessage?: string | null;
|
|
11687
|
+
} | null;
|
|
11688
|
+
};
|
|
11689
|
+
export type DeploymentLogsSubscriptionVariables = Exact<{
|
|
11690
|
+
type: DeploymentType;
|
|
11691
|
+
}>;
|
|
11692
|
+
export type DeploymentLogsSubscription = {
|
|
11693
|
+
__typename?: 'Subscription';
|
|
11694
|
+
deploymentLogs: {
|
|
11695
|
+
__typename?: 'DeploymentLogEntry';
|
|
11696
|
+
timestamp: any;
|
|
11697
|
+
message: string;
|
|
11698
|
+
type: DeploymentType;
|
|
11699
|
+
};
|
|
11700
|
+
};
|
|
11289
11701
|
export type EntityDuplicatorsQueryVariables = Exact<{
|
|
11290
11702
|
[key: string]: never;
|
|
11291
11703
|
}>;
|
|
@@ -11322,6 +11734,23 @@ export type DuplicateEntityMutation = {
|
|
|
11322
11734
|
newEntityId: string;
|
|
11323
11735
|
};
|
|
11324
11736
|
};
|
|
11737
|
+
export type EntityEventSubscriptionVariables = Exact<{
|
|
11738
|
+
categories?: InputMaybe<Array<EventCategory> | EventCategory>;
|
|
11739
|
+
}>;
|
|
11740
|
+
export type EntityEventSubscription = {
|
|
11741
|
+
__typename?: 'Subscription';
|
|
11742
|
+
entityEvent: {
|
|
11743
|
+
__typename?: 'EntityEventPayload';
|
|
11744
|
+
channelId: string;
|
|
11745
|
+
eventName: string;
|
|
11746
|
+
eventClass: string;
|
|
11747
|
+
type: string;
|
|
11748
|
+
entityId?: string | null;
|
|
11749
|
+
entity?: any | null;
|
|
11750
|
+
input?: any | null;
|
|
11751
|
+
timestamp: any;
|
|
11752
|
+
};
|
|
11753
|
+
};
|
|
11325
11754
|
export type FacetQueryVariables = Exact<{
|
|
11326
11755
|
id: Scalars['ID']['input'];
|
|
11327
11756
|
}>;
|