@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/src/admin-types.ts
CHANGED
|
@@ -12,13 +12,9 @@ export type Scalars = {
|
|
|
12
12
|
Boolean: { input: boolean; output: boolean; }
|
|
13
13
|
Int: { input: number; output: number; }
|
|
14
14
|
Float: { input: number; output: number; }
|
|
15
|
-
/** 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. */
|
|
16
15
|
DateTime: { input: any; output: any; }
|
|
17
|
-
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
|
|
18
16
|
JSON: { input: any; output: any; }
|
|
19
|
-
/** 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). */
|
|
20
17
|
Money: { input: any; output: any; }
|
|
21
|
-
/** The `Upload` scalar type represents a file upload. */
|
|
22
18
|
Upload: { input: any; output: any; }
|
|
23
19
|
};
|
|
24
20
|
|
|
@@ -448,6 +444,8 @@ export type BlogPostTranslationInput = {
|
|
|
448
444
|
|
|
449
445
|
export type BooleanCustomFieldConfig = CustomField & {
|
|
450
446
|
__typename?: 'BooleanCustomFieldConfig';
|
|
447
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
448
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
451
449
|
description?: Maybe<Array<LocalizedString>>;
|
|
452
450
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
453
451
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -611,6 +609,16 @@ export type ChannelFulfillmentsInput = {
|
|
|
611
609
|
type?: InputMaybe<FulfillmentType>;
|
|
612
610
|
};
|
|
613
611
|
|
|
612
|
+
export type ChannelInfo = {
|
|
613
|
+
__typename?: 'ChannelInfo';
|
|
614
|
+
applicationName?: Maybe<Scalars['String']['output']>;
|
|
615
|
+
code: Scalars['String']['output'];
|
|
616
|
+
domain: Scalars['String']['output'];
|
|
617
|
+
hasApplication: Scalars['Boolean']['output'];
|
|
618
|
+
id: Scalars['ID']['output'];
|
|
619
|
+
name: Scalars['String']['output'];
|
|
620
|
+
};
|
|
621
|
+
|
|
614
622
|
export type ChannelList = PaginatedList & {
|
|
615
623
|
__typename?: 'ChannelList';
|
|
616
624
|
items: Array<Channel>;
|
|
@@ -1054,6 +1062,10 @@ export type CreateCustomerInput = {
|
|
|
1054
1062
|
|
|
1055
1063
|
export type CreateCustomerResult = Customer | EmailAddressConflictError;
|
|
1056
1064
|
|
|
1065
|
+
export type CreateDeploymentInput = {
|
|
1066
|
+
type: DeploymentType;
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1057
1069
|
export type CreateFacetInput = {
|
|
1058
1070
|
code: Scalars['String']['input'];
|
|
1059
1071
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -1584,6 +1596,8 @@ export type CurrentUserChannel = {
|
|
|
1584
1596
|
};
|
|
1585
1597
|
|
|
1586
1598
|
export type CustomField = {
|
|
1599
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
1600
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
1587
1601
|
description?: Maybe<Array<LocalizedString>>;
|
|
1588
1602
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
1589
1603
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1800,6 +1814,8 @@ export type DateRange = {
|
|
|
1800
1814
|
*/
|
|
1801
1815
|
export type DateTimeCustomFieldConfig = CustomField & {
|
|
1802
1816
|
__typename?: 'DateTimeCustomFieldConfig';
|
|
1817
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
1818
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
1803
1819
|
description?: Maybe<Array<LocalizedString>>;
|
|
1804
1820
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
1805
1821
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -1939,6 +1955,69 @@ export type DeletionResult =
|
|
|
1939
1955
|
/** Deletion did not take place, reason given in message */
|
|
1940
1956
|
| 'NOT_DELETED';
|
|
1941
1957
|
|
|
1958
|
+
export type Deployment = {
|
|
1959
|
+
__typename?: 'Deployment';
|
|
1960
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
1961
|
+
id: Scalars['ID']['output'];
|
|
1962
|
+
instances: Scalars['Int']['output'];
|
|
1963
|
+
lastDeployedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1964
|
+
status: DeploymentStatus;
|
|
1965
|
+
type: DeploymentType;
|
|
1966
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
export type DeploymentEnv = {
|
|
1970
|
+
__typename?: 'DeploymentEnv';
|
|
1971
|
+
key: Scalars['String']['output'];
|
|
1972
|
+
value: Scalars['String']['output'];
|
|
1973
|
+
};
|
|
1974
|
+
|
|
1975
|
+
export type DeploymentLogEntry = {
|
|
1976
|
+
__typename?: 'DeploymentLogEntry';
|
|
1977
|
+
message: Scalars['String']['output'];
|
|
1978
|
+
timestamp: Scalars['DateTime']['output'];
|
|
1979
|
+
type: DeploymentType;
|
|
1980
|
+
};
|
|
1981
|
+
|
|
1982
|
+
export type DeploymentStatus =
|
|
1983
|
+
| 'ERROR'
|
|
1984
|
+
| 'PENDING'
|
|
1985
|
+
| 'RUNNING'
|
|
1986
|
+
| 'STAGING'
|
|
1987
|
+
| 'STOPPED';
|
|
1988
|
+
|
|
1989
|
+
export type DeploymentType =
|
|
1990
|
+
| 'application'
|
|
1991
|
+
| 'storefront';
|
|
1992
|
+
|
|
1993
|
+
export type DeviceAuthStatus =
|
|
1994
|
+
| 'APPROVED'
|
|
1995
|
+
| 'DENIED'
|
|
1996
|
+
| 'EXPIRED'
|
|
1997
|
+
| 'PENDING';
|
|
1998
|
+
|
|
1999
|
+
export type DeviceCodeInfo = {
|
|
2000
|
+
__typename?: 'DeviceCodeInfo';
|
|
2001
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
2002
|
+
isExpired: Scalars['Boolean']['output'];
|
|
2003
|
+
userCode: Scalars['String']['output'];
|
|
2004
|
+
};
|
|
2005
|
+
|
|
2006
|
+
export type DeviceCodeResponse = {
|
|
2007
|
+
__typename?: 'DeviceCodeResponse';
|
|
2008
|
+
deviceCode: Scalars['String']['output'];
|
|
2009
|
+
expiresIn: Scalars['Int']['output'];
|
|
2010
|
+
userCode: Scalars['String']['output'];
|
|
2011
|
+
verificationUri: Scalars['String']['output'];
|
|
2012
|
+
};
|
|
2013
|
+
|
|
2014
|
+
export type DeviceTokenResponse = {
|
|
2015
|
+
__typename?: 'DeviceTokenResponse';
|
|
2016
|
+
authToken?: Maybe<Scalars['String']['output']>;
|
|
2017
|
+
channelToken?: Maybe<Scalars['String']['output']>;
|
|
2018
|
+
status: DeviceAuthStatus;
|
|
2019
|
+
};
|
|
2020
|
+
|
|
1942
2021
|
export type Discount = {
|
|
1943
2022
|
__typename?: 'Discount';
|
|
1944
2023
|
adjustmentSource: Scalars['String']['output'];
|
|
@@ -1997,6 +2076,25 @@ export type EntityDuplicatorDefinition = {
|
|
|
1997
2076
|
requiresPermission: Array<Permission>;
|
|
1998
2077
|
};
|
|
1999
2078
|
|
|
2079
|
+
export type EntityEventPayload = {
|
|
2080
|
+
__typename?: 'EntityEventPayload';
|
|
2081
|
+
channelId: Scalars['ID']['output'];
|
|
2082
|
+
entity?: Maybe<Scalars['JSON']['output']>;
|
|
2083
|
+
entityId?: Maybe<Scalars['ID']['output']>;
|
|
2084
|
+
eventClass: Scalars['String']['output'];
|
|
2085
|
+
eventName: Scalars['String']['output'];
|
|
2086
|
+
input?: Maybe<Scalars['JSON']['output']>;
|
|
2087
|
+
timestamp: Scalars['DateTime']['output'];
|
|
2088
|
+
type: Scalars['String']['output'];
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
export type EntityEventType =
|
|
2092
|
+
| 'assigned'
|
|
2093
|
+
| 'created'
|
|
2094
|
+
| 'deleted'
|
|
2095
|
+
| 'removed'
|
|
2096
|
+
| 'updated';
|
|
2097
|
+
|
|
2000
2098
|
export type ErrorCode =
|
|
2001
2099
|
| 'ALREADY_REFUNDED_ERROR'
|
|
2002
2100
|
| 'CANCEL_ACTIVE_ORDER_ERROR'
|
|
@@ -2050,6 +2148,23 @@ export type ErrorResult = {
|
|
|
2050
2148
|
message: Scalars['String']['output'];
|
|
2051
2149
|
};
|
|
2052
2150
|
|
|
2151
|
+
export type EventCategory =
|
|
2152
|
+
| 'account'
|
|
2153
|
+
| 'admin'
|
|
2154
|
+
| 'asset'
|
|
2155
|
+
| 'catalog'
|
|
2156
|
+
| 'channel'
|
|
2157
|
+
| 'customer'
|
|
2158
|
+
| 'fulfillment'
|
|
2159
|
+
| 'inventory'
|
|
2160
|
+
| 'order'
|
|
2161
|
+
| 'payment'
|
|
2162
|
+
| 'product'
|
|
2163
|
+
| 'promotion'
|
|
2164
|
+
| 'search'
|
|
2165
|
+
| 'shipping'
|
|
2166
|
+
| 'tax';
|
|
2167
|
+
|
|
2053
2168
|
export type Facet = Node & {
|
|
2054
2169
|
__typename?: 'Facet';
|
|
2055
2170
|
code: Scalars['String']['output'];
|
|
@@ -2230,6 +2345,8 @@ export type FacetValueTranslationInput = {
|
|
|
2230
2345
|
|
|
2231
2346
|
export type FloatCustomFieldConfig = CustomField & {
|
|
2232
2347
|
__typename?: 'FloatCustomFieldConfig';
|
|
2348
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2349
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2233
2350
|
description?: Maybe<Array<LocalizedString>>;
|
|
2234
2351
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2235
2352
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -2322,6 +2439,10 @@ export type FulfillmentType =
|
|
|
2322
2439
|
| 'manual'
|
|
2323
2440
|
| 'warehouse';
|
|
2324
2441
|
|
|
2442
|
+
export type GenerateDeviceCodeInput = {
|
|
2443
|
+
apiUrl: Scalars['String']['input'];
|
|
2444
|
+
};
|
|
2445
|
+
|
|
2325
2446
|
export type GetAllFieldsInput = {
|
|
2326
2447
|
entityName: Scalars['String']['input'];
|
|
2327
2448
|
template: Scalars['String']['input'];
|
|
@@ -2663,6 +2784,8 @@ export type InsufficientStockOnHandError = ErrorResult & {
|
|
|
2663
2784
|
|
|
2664
2785
|
export type IntCustomFieldConfig = CustomField & {
|
|
2665
2786
|
__typename?: 'IntCustomFieldConfig';
|
|
2787
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
2788
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
2666
2789
|
description?: Maybe<Array<LocalizedString>>;
|
|
2667
2790
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
2668
2791
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -3180,6 +3303,8 @@ export type LanguageNotAvailableError = ErrorResult & {
|
|
|
3180
3303
|
|
|
3181
3304
|
export type LocaleStringCustomFieldConfig = CustomField & {
|
|
3182
3305
|
__typename?: 'LocaleStringCustomFieldConfig';
|
|
3306
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
3307
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
3183
3308
|
description?: Maybe<Array<LocalizedString>>;
|
|
3184
3309
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
3185
3310
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -3196,6 +3321,8 @@ export type LocaleStringCustomFieldConfig = CustomField & {
|
|
|
3196
3321
|
|
|
3197
3322
|
export type LocaleTextCustomFieldConfig = CustomField & {
|
|
3198
3323
|
__typename?: 'LocaleTextCustomFieldConfig';
|
|
3324
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
3325
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
3199
3326
|
description?: Maybe<Array<LocalizedString>>;
|
|
3200
3327
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
3201
3328
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -3368,6 +3495,7 @@ export type Mutation = {
|
|
|
3368
3495
|
adjustDraftOrderLine: UpdateOrderItemsResult;
|
|
3369
3496
|
/** Applies the given coupon code to the draft Order */
|
|
3370
3497
|
applyCouponCodeToDraftOrder: ApplyCouponCodeResult;
|
|
3498
|
+
approveDeviceCode: Scalars['Boolean']['output'];
|
|
3371
3499
|
/** Assign assets to channel */
|
|
3372
3500
|
assignAssetsToChannel: Array<Asset>;
|
|
3373
3501
|
/** Assigns Collections to the specified Channel */
|
|
@@ -3413,10 +3541,13 @@ export type Mutation = {
|
|
|
3413
3541
|
createCustomerAddress: Address;
|
|
3414
3542
|
/** Create a new CustomerGroup */
|
|
3415
3543
|
createCustomerGroup: CustomerGroup;
|
|
3544
|
+
createDeployment: Deployment;
|
|
3416
3545
|
/** Creates a draft Order */
|
|
3417
3546
|
createDraftOrder: Order;
|
|
3418
3547
|
/** Create a new Facet */
|
|
3419
3548
|
createFacet: Facet;
|
|
3549
|
+
/** Create a single FacetValue */
|
|
3550
|
+
createFacetValue: FacetValue;
|
|
3420
3551
|
/** Create one or more FacetValues */
|
|
3421
3552
|
createFacetValues: Array<FacetValue>;
|
|
3422
3553
|
createGroupValue: GroupValue;
|
|
@@ -3485,6 +3616,7 @@ export type Mutation = {
|
|
|
3485
3616
|
/** Deletes Customers */
|
|
3486
3617
|
deleteCustomers: Array<DeletionResponse>;
|
|
3487
3618
|
deleteDateValue: Scalars['Boolean']['output'];
|
|
3619
|
+
deleteDeployment: Scalars['Boolean']['output'];
|
|
3488
3620
|
/** Deletes a draft Order */
|
|
3489
3621
|
deleteDraftOrder: DeletionResponse;
|
|
3490
3622
|
/** Delete an existing Facet */
|
|
@@ -3555,6 +3687,7 @@ export type Mutation = {
|
|
|
3555
3687
|
duplicateEntity: DuplicateEntityResult;
|
|
3556
3688
|
enableChannelPlugin: ChannelPlugin;
|
|
3557
3689
|
flushBufferedJobs: Success;
|
|
3690
|
+
generateDeviceCode: DeviceCodeResponse;
|
|
3558
3691
|
importProducts?: Maybe<ImportInfo>;
|
|
3559
3692
|
insertBooleanFieldDefinition: BooleanFieldDefinition;
|
|
3560
3693
|
insertDateFieldDefinition: DateFieldDefinition;
|
|
@@ -3582,6 +3715,7 @@ export type Mutation = {
|
|
|
3582
3715
|
/** Move a Collection to a different parent or index */
|
|
3583
3716
|
moveCollection: Collection;
|
|
3584
3717
|
publishBlogPost: BlogPost;
|
|
3718
|
+
refreshDeploymentStatus?: Maybe<Deployment>;
|
|
3585
3719
|
refundOrder: RefundOrderResult;
|
|
3586
3720
|
register?: Maybe<RegisterSellerResponse>;
|
|
3587
3721
|
reindex: Job;
|
|
@@ -3621,7 +3755,9 @@ export type Mutation = {
|
|
|
3621
3755
|
removeStockLocationsFromChannel: Array<StockLocation>;
|
|
3622
3756
|
runPendingSearchIndexUpdates: Success;
|
|
3623
3757
|
runScheduledTask: Success;
|
|
3758
|
+
scaleDeployment: Deployment;
|
|
3624
3759
|
setCustomerForDraftOrder: SetCustomerForDraftOrderResult;
|
|
3760
|
+
setDeploymentEnv: Scalars['Boolean']['output'];
|
|
3625
3761
|
/** Sets the billing address for a draft Order */
|
|
3626
3762
|
setDraftOrderBillingAddress: Order;
|
|
3627
3763
|
/** Allows any custom fields to be set for the active order */
|
|
@@ -3633,6 +3769,10 @@ export type Mutation = {
|
|
|
3633
3769
|
setOrderCustomFields?: Maybe<Order>;
|
|
3634
3770
|
/** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */
|
|
3635
3771
|
setOrderCustomer?: Maybe<Order>;
|
|
3772
|
+
/** Set a single key-value pair (automatically scoped based on field configuration) */
|
|
3773
|
+
setSettingsStoreValue: SetSettingsStoreValueResult;
|
|
3774
|
+
/** Set multiple key-value pairs in a transaction (each automatically scoped) */
|
|
3775
|
+
setSettingsStoreValues: Array<SetSettingsStoreValueResult>;
|
|
3636
3776
|
settlePayment: SettlePaymentResult;
|
|
3637
3777
|
settleRefund: SettleRefundResult;
|
|
3638
3778
|
submitLandingContactForm: LandingContactForm;
|
|
@@ -3640,6 +3780,7 @@ export type Mutation = {
|
|
|
3640
3780
|
transitionOrderToState?: Maybe<TransitionOrderToStateResult>;
|
|
3641
3781
|
transitionPaymentToState: TransitionPaymentToStateResult;
|
|
3642
3782
|
unpublishBlogPost: BlogPost;
|
|
3783
|
+
unsetDeploymentEnv: Scalars['Boolean']['output'];
|
|
3643
3784
|
/** Unsets the billing address for a draft Order */
|
|
3644
3785
|
unsetDraftOrderBillingAddress: Order;
|
|
3645
3786
|
/** Unsets the shipping address for a draft Order */
|
|
@@ -3668,6 +3809,8 @@ export type Mutation = {
|
|
|
3668
3809
|
updateCustomerNote: HistoryEntry;
|
|
3669
3810
|
/** Update an existing Facet */
|
|
3670
3811
|
updateFacet: Facet;
|
|
3812
|
+
/** Update a single FacetValue */
|
|
3813
|
+
updateFacetValue: FacetValue;
|
|
3671
3814
|
/** Update one or more FacetValues */
|
|
3672
3815
|
updateFacetValues: Array<FacetValue>;
|
|
3673
3816
|
updateGlobalSettings: UpdateGlobalSettingsResult;
|
|
@@ -3780,6 +3923,11 @@ export type MutationApplyCouponCodeToDraftOrderArgs = {
|
|
|
3780
3923
|
};
|
|
3781
3924
|
|
|
3782
3925
|
|
|
3926
|
+
export type MutationApproveDeviceCodeArgs = {
|
|
3927
|
+
userCode: Scalars['String']['input'];
|
|
3928
|
+
};
|
|
3929
|
+
|
|
3930
|
+
|
|
3783
3931
|
export type MutationAssignAssetsToChannelArgs = {
|
|
3784
3932
|
input: AssignAssetsToChannelInput;
|
|
3785
3933
|
};
|
|
@@ -3914,11 +4062,21 @@ export type MutationCreateCustomerGroupArgs = {
|
|
|
3914
4062
|
};
|
|
3915
4063
|
|
|
3916
4064
|
|
|
4065
|
+
export type MutationCreateDeploymentArgs = {
|
|
4066
|
+
input: CreateDeploymentInput;
|
|
4067
|
+
};
|
|
4068
|
+
|
|
4069
|
+
|
|
3917
4070
|
export type MutationCreateFacetArgs = {
|
|
3918
4071
|
input: CreateFacetInput;
|
|
3919
4072
|
};
|
|
3920
4073
|
|
|
3921
4074
|
|
|
4075
|
+
export type MutationCreateFacetValueArgs = {
|
|
4076
|
+
input: CreateFacetValueInput;
|
|
4077
|
+
};
|
|
4078
|
+
|
|
4079
|
+
|
|
3922
4080
|
export type MutationCreateFacetValuesArgs = {
|
|
3923
4081
|
input: Array<CreateFacetValueInput>;
|
|
3924
4082
|
};
|
|
@@ -4114,6 +4272,11 @@ export type MutationDeleteDateValueArgs = {
|
|
|
4114
4272
|
};
|
|
4115
4273
|
|
|
4116
4274
|
|
|
4275
|
+
export type MutationDeleteDeploymentArgs = {
|
|
4276
|
+
type: DeploymentType;
|
|
4277
|
+
};
|
|
4278
|
+
|
|
4279
|
+
|
|
4117
4280
|
export type MutationDeleteDraftOrderArgs = {
|
|
4118
4281
|
orderId: Scalars['ID']['input'];
|
|
4119
4282
|
};
|
|
@@ -4324,6 +4487,11 @@ export type MutationFlushBufferedJobsArgs = {
|
|
|
4324
4487
|
};
|
|
4325
4488
|
|
|
4326
4489
|
|
|
4490
|
+
export type MutationGenerateDeviceCodeArgs = {
|
|
4491
|
+
input: GenerateDeviceCodeInput;
|
|
4492
|
+
};
|
|
4493
|
+
|
|
4494
|
+
|
|
4327
4495
|
export type MutationImportProductsArgs = {
|
|
4328
4496
|
csvFile: Scalars['Upload']['input'];
|
|
4329
4497
|
};
|
|
@@ -4401,6 +4569,11 @@ export type MutationPublishBlogPostArgs = {
|
|
|
4401
4569
|
};
|
|
4402
4570
|
|
|
4403
4571
|
|
|
4572
|
+
export type MutationRefreshDeploymentStatusArgs = {
|
|
4573
|
+
type: DeploymentType;
|
|
4574
|
+
};
|
|
4575
|
+
|
|
4576
|
+
|
|
4404
4577
|
export type MutationRefundOrderArgs = {
|
|
4405
4578
|
input: RefundOrderInput;
|
|
4406
4579
|
};
|
|
@@ -4499,6 +4672,11 @@ export type MutationRunScheduledTaskArgs = {
|
|
|
4499
4672
|
};
|
|
4500
4673
|
|
|
4501
4674
|
|
|
4675
|
+
export type MutationScaleDeploymentArgs = {
|
|
4676
|
+
input: ScaleDeploymentInput;
|
|
4677
|
+
};
|
|
4678
|
+
|
|
4679
|
+
|
|
4502
4680
|
export type MutationSetCustomerForDraftOrderArgs = {
|
|
4503
4681
|
customerId?: InputMaybe<Scalars['ID']['input']>;
|
|
4504
4682
|
input?: InputMaybe<CreateCustomerInput>;
|
|
@@ -4506,6 +4684,11 @@ export type MutationSetCustomerForDraftOrderArgs = {
|
|
|
4506
4684
|
};
|
|
4507
4685
|
|
|
4508
4686
|
|
|
4687
|
+
export type MutationSetDeploymentEnvArgs = {
|
|
4688
|
+
input: SetEnvInput;
|
|
4689
|
+
};
|
|
4690
|
+
|
|
4691
|
+
|
|
4509
4692
|
export type MutationSetDraftOrderBillingAddressArgs = {
|
|
4510
4693
|
input: CreateAddressInput;
|
|
4511
4694
|
orderId: Scalars['ID']['input'];
|
|
@@ -4540,6 +4723,16 @@ export type MutationSetOrderCustomerArgs = {
|
|
|
4540
4723
|
};
|
|
4541
4724
|
|
|
4542
4725
|
|
|
4726
|
+
export type MutationSetSettingsStoreValueArgs = {
|
|
4727
|
+
input: SettingsStoreInput;
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4730
|
+
|
|
4731
|
+
export type MutationSetSettingsStoreValuesArgs = {
|
|
4732
|
+
inputs: Array<SettingsStoreInput>;
|
|
4733
|
+
};
|
|
4734
|
+
|
|
4735
|
+
|
|
4543
4736
|
export type MutationSettlePaymentArgs = {
|
|
4544
4737
|
id: Scalars['ID']['input'];
|
|
4545
4738
|
};
|
|
@@ -4578,6 +4771,11 @@ export type MutationUnpublishBlogPostArgs = {
|
|
|
4578
4771
|
};
|
|
4579
4772
|
|
|
4580
4773
|
|
|
4774
|
+
export type MutationUnsetDeploymentEnvArgs = {
|
|
4775
|
+
input: UnsetEnvInput;
|
|
4776
|
+
};
|
|
4777
|
+
|
|
4778
|
+
|
|
4581
4779
|
export type MutationUnsetDraftOrderBillingAddressArgs = {
|
|
4582
4780
|
orderId: Scalars['ID']['input'];
|
|
4583
4781
|
};
|
|
@@ -4658,6 +4856,11 @@ export type MutationUpdateFacetArgs = {
|
|
|
4658
4856
|
};
|
|
4659
4857
|
|
|
4660
4858
|
|
|
4859
|
+
export type MutationUpdateFacetValueArgs = {
|
|
4860
|
+
input: UpdateFacetValueInput;
|
|
4861
|
+
};
|
|
4862
|
+
|
|
4863
|
+
|
|
4661
4864
|
export type MutationUpdateFacetValuesArgs = {
|
|
4662
4865
|
input: Array<UpdateFacetValueInput>;
|
|
4663
4866
|
};
|
|
@@ -5724,6 +5927,18 @@ export type ProductOption = Node & {
|
|
|
5724
5927
|
updatedAt: Scalars['DateTime']['output'];
|
|
5725
5928
|
};
|
|
5726
5929
|
|
|
5930
|
+
export type ProductOptionFilterParameter = {
|
|
5931
|
+
_and?: InputMaybe<Array<ProductOptionFilterParameter>>;
|
|
5932
|
+
_or?: InputMaybe<Array<ProductOptionFilterParameter>>;
|
|
5933
|
+
code?: InputMaybe<StringOperators>;
|
|
5934
|
+
createdAt?: InputMaybe<DateOperators>;
|
|
5935
|
+
groupId?: InputMaybe<IdOperators>;
|
|
5936
|
+
id?: InputMaybe<IdOperators>;
|
|
5937
|
+
languageCode?: InputMaybe<StringOperators>;
|
|
5938
|
+
name?: InputMaybe<StringOperators>;
|
|
5939
|
+
updatedAt?: InputMaybe<DateOperators>;
|
|
5940
|
+
};
|
|
5941
|
+
|
|
5727
5942
|
export type ProductOptionGroup = Node & {
|
|
5728
5943
|
__typename?: 'ProductOptionGroup';
|
|
5729
5944
|
code: Scalars['String']['output'];
|
|
@@ -5761,6 +5976,34 @@ export type ProductOptionInUseError = ErrorResult & {
|
|
|
5761
5976
|
productVariantCount: Scalars['Int']['output'];
|
|
5762
5977
|
};
|
|
5763
5978
|
|
|
5979
|
+
export type ProductOptionList = PaginatedList & {
|
|
5980
|
+
__typename?: 'ProductOptionList';
|
|
5981
|
+
items: Array<ProductOption>;
|
|
5982
|
+
totalItems: Scalars['Int']['output'];
|
|
5983
|
+
};
|
|
5984
|
+
|
|
5985
|
+
export type ProductOptionListOptions = {
|
|
5986
|
+
/** Allows the results to be filtered */
|
|
5987
|
+
filter?: InputMaybe<ProductOptionFilterParameter>;
|
|
5988
|
+
/** Specifies whether multiple top-level "filter" fields should be combined with a logical AND or OR operation. Defaults to AND. */
|
|
5989
|
+
filterOperator?: InputMaybe<LogicalOperator>;
|
|
5990
|
+
/** Skips the first n results, for use in pagination */
|
|
5991
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
5992
|
+
/** Specifies which properties to sort the results by */
|
|
5993
|
+
sort?: InputMaybe<ProductOptionSortParameter>;
|
|
5994
|
+
/** Takes n results, for use in pagination */
|
|
5995
|
+
take?: InputMaybe<Scalars['Int']['input']>;
|
|
5996
|
+
};
|
|
5997
|
+
|
|
5998
|
+
export type ProductOptionSortParameter = {
|
|
5999
|
+
code?: InputMaybe<SortOrder>;
|
|
6000
|
+
createdAt?: InputMaybe<SortOrder>;
|
|
6001
|
+
groupId?: InputMaybe<SortOrder>;
|
|
6002
|
+
id?: InputMaybe<SortOrder>;
|
|
6003
|
+
name?: InputMaybe<SortOrder>;
|
|
6004
|
+
updatedAt?: InputMaybe<SortOrder>;
|
|
6005
|
+
};
|
|
6006
|
+
|
|
5764
6007
|
export type ProductOptionTranslation = {
|
|
5765
6008
|
__typename?: 'ProductOptionTranslation';
|
|
5766
6009
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -6106,6 +6349,7 @@ export type Query = {
|
|
|
6106
6349
|
blogPosts: BlogPostList;
|
|
6107
6350
|
channel?: Maybe<Channel>;
|
|
6108
6351
|
channelFulfillments: Array<ChannelFulfillment>;
|
|
6352
|
+
channelInfo?: Maybe<ChannelInfo>;
|
|
6109
6353
|
channels: ChannelList;
|
|
6110
6354
|
/** Get a Collection either by id or slug. If neither id nor slug is specified, an error will result. */
|
|
6111
6355
|
collection?: Maybe<Collection>;
|
|
@@ -6117,11 +6361,15 @@ export type Query = {
|
|
|
6117
6361
|
customerGroup?: Maybe<CustomerGroup>;
|
|
6118
6362
|
customerGroups: CustomerGroupList;
|
|
6119
6363
|
customers: CustomerList;
|
|
6364
|
+
deployment?: Maybe<Deployment>;
|
|
6365
|
+
deploymentEnv: Array<DeploymentEnv>;
|
|
6366
|
+
deployments: Array<Deployment>;
|
|
6120
6367
|
/** Returns a list of eligible shipping methods for the draft Order */
|
|
6121
6368
|
eligibleShippingMethodsForDraftOrder: Array<ShippingMethodQuote>;
|
|
6122
6369
|
/** Returns all configured EntityDuplicators. */
|
|
6123
6370
|
entityDuplicators: Array<EntityDuplicatorDefinition>;
|
|
6124
6371
|
facet?: Maybe<Facet>;
|
|
6372
|
+
facetValue?: Maybe<FacetValue>;
|
|
6125
6373
|
facetValues: FacetValueList;
|
|
6126
6374
|
facets: FacetList;
|
|
6127
6375
|
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
|
|
@@ -6138,6 +6386,10 @@ export type Query = {
|
|
|
6138
6386
|
getPaymentGatewayTokens: Array<PaymentGatewayToken>;
|
|
6139
6387
|
getRelationValue?: Maybe<RelationValue>;
|
|
6140
6388
|
getRichTextValue?: Maybe<RichTextValue>;
|
|
6389
|
+
/** Get value for a specific key (automatically scoped based on field configuration) */
|
|
6390
|
+
getSettingsStoreValue?: Maybe<Scalars['JSON']['output']>;
|
|
6391
|
+
/** Get multiple key-value pairs (each automatically scoped) */
|
|
6392
|
+
getSettingsStoreValues?: Maybe<Scalars['JSON']['output']>;
|
|
6141
6393
|
getStringValue?: Maybe<StringValue>;
|
|
6142
6394
|
getTemplatesByEntityId: Array<Scalars['String']['output']>;
|
|
6143
6395
|
getUniqueTemplates: Array<Scalars['String']['output']>;
|
|
@@ -6158,12 +6410,15 @@ export type Query = {
|
|
|
6158
6410
|
paymentMethodHandlers: Array<ConfigurableOperationDefinition>;
|
|
6159
6411
|
paymentMethods: PaymentMethodList;
|
|
6160
6412
|
pendingSearchIndexUpdates: Scalars['Int']['output'];
|
|
6413
|
+
pollDeviceToken: DeviceTokenResponse;
|
|
6161
6414
|
/** Used for real-time previews of the contents of a Collection */
|
|
6162
6415
|
previewCollectionVariants: ProductVariantList;
|
|
6163
6416
|
/** Get a Product either by id or slug. If neither id nor slug is specified, an error will result. */
|
|
6164
6417
|
product?: Maybe<Product>;
|
|
6418
|
+
productOption?: Maybe<ProductOption>;
|
|
6165
6419
|
productOptionGroup?: Maybe<ProductOptionGroup>;
|
|
6166
6420
|
productOptionGroups: Array<ProductOptionGroup>;
|
|
6421
|
+
productOptions: ProductOptionList;
|
|
6167
6422
|
/** Get a ProductVariant by id */
|
|
6168
6423
|
productVariant?: Maybe<ProductVariant>;
|
|
6169
6424
|
/** List ProductVariants either all or for the specific product. */
|
|
@@ -6186,6 +6441,8 @@ export type Query = {
|
|
|
6186
6441
|
shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
|
|
6187
6442
|
shippingMethod?: Maybe<ShippingMethod>;
|
|
6188
6443
|
shippingMethods: ShippingMethodList;
|
|
6444
|
+
/** Generate slug for entity */
|
|
6445
|
+
slugForEntity: Scalars['String']['output'];
|
|
6189
6446
|
stockLocation?: Maybe<StockLocation>;
|
|
6190
6447
|
stockLocationProducts: ProductList;
|
|
6191
6448
|
stockLocations: StockLocationList;
|
|
@@ -6197,6 +6454,8 @@ export type Query = {
|
|
|
6197
6454
|
taxRates: TaxRateList;
|
|
6198
6455
|
testEligibleShippingMethods: Array<ShippingMethodQuote>;
|
|
6199
6456
|
testShippingMethod: TestShippingMethodResult;
|
|
6457
|
+
validateChannelToken: Scalars['Boolean']['output'];
|
|
6458
|
+
validateDeviceCode?: Maybe<DeviceCodeInfo>;
|
|
6200
6459
|
zone?: Maybe<Zone>;
|
|
6201
6460
|
zones: ZoneList;
|
|
6202
6461
|
};
|
|
@@ -6289,6 +6548,16 @@ export type QueryCustomersArgs = {
|
|
|
6289
6548
|
};
|
|
6290
6549
|
|
|
6291
6550
|
|
|
6551
|
+
export type QueryDeploymentArgs = {
|
|
6552
|
+
type: DeploymentType;
|
|
6553
|
+
};
|
|
6554
|
+
|
|
6555
|
+
|
|
6556
|
+
export type QueryDeploymentEnvArgs = {
|
|
6557
|
+
type: DeploymentType;
|
|
6558
|
+
};
|
|
6559
|
+
|
|
6560
|
+
|
|
6292
6561
|
export type QueryEligibleShippingMethodsForDraftOrderArgs = {
|
|
6293
6562
|
orderId: Scalars['ID']['input'];
|
|
6294
6563
|
};
|
|
@@ -6299,6 +6568,11 @@ export type QueryFacetArgs = {
|
|
|
6299
6568
|
};
|
|
6300
6569
|
|
|
6301
6570
|
|
|
6571
|
+
export type QueryFacetValueArgs = {
|
|
6572
|
+
id: Scalars['ID']['input'];
|
|
6573
|
+
};
|
|
6574
|
+
|
|
6575
|
+
|
|
6302
6576
|
export type QueryFacetValuesArgs = {
|
|
6303
6577
|
options?: InputMaybe<FacetValueListOptions>;
|
|
6304
6578
|
};
|
|
@@ -6369,6 +6643,16 @@ export type QueryGetRichTextValueArgs = {
|
|
|
6369
6643
|
};
|
|
6370
6644
|
|
|
6371
6645
|
|
|
6646
|
+
export type QueryGetSettingsStoreValueArgs = {
|
|
6647
|
+
key: Scalars['String']['input'];
|
|
6648
|
+
};
|
|
6649
|
+
|
|
6650
|
+
|
|
6651
|
+
export type QueryGetSettingsStoreValuesArgs = {
|
|
6652
|
+
keys: Array<Scalars['String']['input']>;
|
|
6653
|
+
};
|
|
6654
|
+
|
|
6655
|
+
|
|
6372
6656
|
export type QueryGetStringValueArgs = {
|
|
6373
6657
|
input: GetStringValueInput;
|
|
6374
6658
|
};
|
|
@@ -6424,6 +6708,11 @@ export type QueryPaymentMethodsArgs = {
|
|
|
6424
6708
|
};
|
|
6425
6709
|
|
|
6426
6710
|
|
|
6711
|
+
export type QueryPollDeviceTokenArgs = {
|
|
6712
|
+
deviceCode: Scalars['String']['input'];
|
|
6713
|
+
};
|
|
6714
|
+
|
|
6715
|
+
|
|
6427
6716
|
export type QueryPreviewCollectionVariantsArgs = {
|
|
6428
6717
|
input: PreviewCollectionVariantsInput;
|
|
6429
6718
|
options?: InputMaybe<ProductVariantListOptions>;
|
|
@@ -6436,6 +6725,11 @@ export type QueryProductArgs = {
|
|
|
6436
6725
|
};
|
|
6437
6726
|
|
|
6438
6727
|
|
|
6728
|
+
export type QueryProductOptionArgs = {
|
|
6729
|
+
id: Scalars['ID']['input'];
|
|
6730
|
+
};
|
|
6731
|
+
|
|
6732
|
+
|
|
6439
6733
|
export type QueryProductOptionGroupArgs = {
|
|
6440
6734
|
id: Scalars['ID']['input'];
|
|
6441
6735
|
};
|
|
@@ -6446,6 +6740,12 @@ export type QueryProductOptionGroupsArgs = {
|
|
|
6446
6740
|
};
|
|
6447
6741
|
|
|
6448
6742
|
|
|
6743
|
+
export type QueryProductOptionsArgs = {
|
|
6744
|
+
groupId?: InputMaybe<Scalars['ID']['input']>;
|
|
6745
|
+
options?: InputMaybe<ProductOptionListOptions>;
|
|
6746
|
+
};
|
|
6747
|
+
|
|
6748
|
+
|
|
6449
6749
|
export type QueryProductVariantArgs = {
|
|
6450
6750
|
id: Scalars['ID']['input'];
|
|
6451
6751
|
};
|
|
@@ -6517,6 +6817,11 @@ export type QueryShippingMethodsArgs = {
|
|
|
6517
6817
|
};
|
|
6518
6818
|
|
|
6519
6819
|
|
|
6820
|
+
export type QuerySlugForEntityArgs = {
|
|
6821
|
+
input: SlugForEntityInput;
|
|
6822
|
+
};
|
|
6823
|
+
|
|
6824
|
+
|
|
6520
6825
|
export type QueryStockLocationArgs = {
|
|
6521
6826
|
id: Scalars['ID']['input'];
|
|
6522
6827
|
};
|
|
@@ -6573,6 +6878,11 @@ export type QueryTestShippingMethodArgs = {
|
|
|
6573
6878
|
};
|
|
6574
6879
|
|
|
6575
6880
|
|
|
6881
|
+
export type QueryValidateDeviceCodeArgs = {
|
|
6882
|
+
userCode: Scalars['String']['input'];
|
|
6883
|
+
};
|
|
6884
|
+
|
|
6885
|
+
|
|
6576
6886
|
export type QueryZoneArgs = {
|
|
6577
6887
|
id: Scalars['ID']['input'];
|
|
6578
6888
|
};
|
|
@@ -6723,6 +7033,8 @@ export type RegisterSellerResponse = {
|
|
|
6723
7033
|
|
|
6724
7034
|
export type RelationCustomFieldConfig = CustomField & {
|
|
6725
7035
|
__typename?: 'RelationCustomFieldConfig';
|
|
7036
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
7037
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
6726
7038
|
description?: Maybe<Array<LocalizedString>>;
|
|
6727
7039
|
entity: Scalars['String']['output'];
|
|
6728
7040
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -6907,6 +7219,11 @@ export type Sale = Node & StockMovement & {
|
|
|
6907
7219
|
updatedAt: Scalars['DateTime']['output'];
|
|
6908
7220
|
};
|
|
6909
7221
|
|
|
7222
|
+
export type ScaleDeploymentInput = {
|
|
7223
|
+
instances: Scalars['Int']['input'];
|
|
7224
|
+
type: DeploymentType;
|
|
7225
|
+
};
|
|
7226
|
+
|
|
6910
7227
|
export type ScheduledTask = {
|
|
6911
7228
|
__typename?: 'ScheduledTask';
|
|
6912
7229
|
description: Scalars['String']['output'];
|
|
@@ -6925,6 +7242,7 @@ export type SearchInput = {
|
|
|
6925
7242
|
collectionSlug?: InputMaybe<Scalars['String']['input']>;
|
|
6926
7243
|
facetValueFilters?: InputMaybe<Array<FacetValueFilterInput>>;
|
|
6927
7244
|
groupByProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7245
|
+
groupBySKU?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6928
7246
|
inStock?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6929
7247
|
priceRange?: InputMaybe<PriceRangeInput>;
|
|
6930
7248
|
priceRangeWithTax?: InputMaybe<PriceRangeInput>;
|
|
@@ -7070,6 +7388,12 @@ export type SessionInput = {
|
|
|
7070
7388
|
|
|
7071
7389
|
export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order;
|
|
7072
7390
|
|
|
7391
|
+
export type SetEnvInput = {
|
|
7392
|
+
key: Scalars['String']['input'];
|
|
7393
|
+
type: DeploymentType;
|
|
7394
|
+
value: Scalars['String']['input'];
|
|
7395
|
+
};
|
|
7396
|
+
|
|
7073
7397
|
export type SetOrderCustomerInput = {
|
|
7074
7398
|
customerId: Scalars['ID']['input'];
|
|
7075
7399
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7078,6 +7402,18 @@ export type SetOrderCustomerInput = {
|
|
|
7078
7402
|
|
|
7079
7403
|
export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError;
|
|
7080
7404
|
|
|
7405
|
+
export type SetSettingsStoreValueResult = {
|
|
7406
|
+
__typename?: 'SetSettingsStoreValueResult';
|
|
7407
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
7408
|
+
key: Scalars['String']['output'];
|
|
7409
|
+
result: Scalars['Boolean']['output'];
|
|
7410
|
+
};
|
|
7411
|
+
|
|
7412
|
+
export type SettingsStoreInput = {
|
|
7413
|
+
key: Scalars['String']['input'];
|
|
7414
|
+
value: Scalars['JSON']['input'];
|
|
7415
|
+
};
|
|
7416
|
+
|
|
7081
7417
|
/** Returned if the Payment settlement fails */
|
|
7082
7418
|
export type SettlePaymentError = ErrorResult & {
|
|
7083
7419
|
__typename?: 'SettlePaymentError';
|
|
@@ -7202,6 +7538,13 @@ export type SinglePrice = {
|
|
|
7202
7538
|
value: Scalars['Money']['output'];
|
|
7203
7539
|
};
|
|
7204
7540
|
|
|
7541
|
+
export type SlugForEntityInput = {
|
|
7542
|
+
entityId?: InputMaybe<Scalars['ID']['input']>;
|
|
7543
|
+
entityName: Scalars['String']['input'];
|
|
7544
|
+
fieldName: Scalars['String']['input'];
|
|
7545
|
+
inputValue: Scalars['String']['input'];
|
|
7546
|
+
};
|
|
7547
|
+
|
|
7205
7548
|
export type SortOrder =
|
|
7206
7549
|
| 'ASC'
|
|
7207
7550
|
| 'DESC';
|
|
@@ -7353,6 +7696,8 @@ export type StockMovementType =
|
|
|
7353
7696
|
|
|
7354
7697
|
export type StringCustomFieldConfig = CustomField & {
|
|
7355
7698
|
__typename?: 'StringCustomFieldConfig';
|
|
7699
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
7700
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
7356
7701
|
description?: Maybe<Array<LocalizedString>>;
|
|
7357
7702
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
7358
7703
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -7428,6 +7773,8 @@ export type StringValue = {
|
|
|
7428
7773
|
|
|
7429
7774
|
export type StructCustomFieldConfig = CustomField & {
|
|
7430
7775
|
__typename?: 'StructCustomFieldConfig';
|
|
7776
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
7777
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
7431
7778
|
description?: Maybe<Array<LocalizedString>>;
|
|
7432
7779
|
fields: Array<StructFieldConfig>;
|
|
7433
7780
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -7455,10 +7802,22 @@ export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldCo
|
|
|
7455
7802
|
export type Subscription = {
|
|
7456
7803
|
__typename?: 'Subscription';
|
|
7457
7804
|
_empty?: Maybe<Scalars['Boolean']['output']>;
|
|
7805
|
+
deploymentLogs: DeploymentLogEntry;
|
|
7806
|
+
entityEvent: EntityEventPayload;
|
|
7458
7807
|
notification: NotificationPayload;
|
|
7459
7808
|
orderCompleted: Order;
|
|
7460
7809
|
};
|
|
7461
7810
|
|
|
7811
|
+
|
|
7812
|
+
export type SubscriptionDeploymentLogsArgs = {
|
|
7813
|
+
type: DeploymentType;
|
|
7814
|
+
};
|
|
7815
|
+
|
|
7816
|
+
|
|
7817
|
+
export type SubscriptionEntityEventArgs = {
|
|
7818
|
+
categories?: InputMaybe<Array<EventCategory>>;
|
|
7819
|
+
};
|
|
7820
|
+
|
|
7462
7821
|
/** Indicates that an operation succeeded, where we do not want to return any more specific information. */
|
|
7463
7822
|
export type Success = {
|
|
7464
7823
|
__typename?: 'Success';
|
|
@@ -7599,12 +7958,14 @@ export type TaxRate = Node & {
|
|
|
7599
7958
|
export type TaxRateFilterParameter = {
|
|
7600
7959
|
_and?: InputMaybe<Array<TaxRateFilterParameter>>;
|
|
7601
7960
|
_or?: InputMaybe<Array<TaxRateFilterParameter>>;
|
|
7961
|
+
categoryId?: InputMaybe<IdOperators>;
|
|
7602
7962
|
createdAt?: InputMaybe<DateOperators>;
|
|
7603
7963
|
enabled?: InputMaybe<BooleanOperators>;
|
|
7604
7964
|
id?: InputMaybe<IdOperators>;
|
|
7605
7965
|
name?: InputMaybe<StringOperators>;
|
|
7606
7966
|
updatedAt?: InputMaybe<DateOperators>;
|
|
7607
7967
|
value?: InputMaybe<NumberOperators>;
|
|
7968
|
+
zoneId?: InputMaybe<IdOperators>;
|
|
7608
7969
|
};
|
|
7609
7970
|
|
|
7610
7971
|
export type TaxRateList = PaginatedList & {
|
|
@@ -7666,6 +8027,8 @@ export type TestShippingMethodResult = {
|
|
|
7666
8027
|
|
|
7667
8028
|
export type TextCustomFieldConfig = CustomField & {
|
|
7668
8029
|
__typename?: 'TextCustomFieldConfig';
|
|
8030
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
8031
|
+
deprecationReason?: Maybe<Scalars['String']['output']>;
|
|
7669
8032
|
description?: Maybe<Array<LocalizedString>>;
|
|
7670
8033
|
internal?: Maybe<Scalars['Boolean']['output']>;
|
|
7671
8034
|
label?: Maybe<Array<LocalizedString>>;
|
|
@@ -7714,6 +8077,11 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError;
|
|
|
7714
8077
|
|
|
7715
8078
|
export type TransitionPaymentToStateResult = Payment | PaymentStateTransitionError;
|
|
7716
8079
|
|
|
8080
|
+
export type UnsetEnvInput = {
|
|
8081
|
+
key: Scalars['String']['input'];
|
|
8082
|
+
type: DeploymentType;
|
|
8083
|
+
};
|
|
8084
|
+
|
|
7717
8085
|
export type UpdateActiveAdministratorInput = {
|
|
7718
8086
|
customFields?: InputMaybe<Scalars['JSON']['input']>;
|
|
7719
8087
|
emailAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -7916,6 +8284,9 @@ export type UpdateOrderInput = {
|
|
|
7916
8284
|
id: Scalars['ID']['input'];
|
|
7917
8285
|
};
|
|
7918
8286
|
|
|
8287
|
+
/** Union type of all possible errors that can occur when adding or removing items from an Order. */
|
|
8288
|
+
export type UpdateOrderItemErrorResult = InsufficientStockError | NegativeQuantityError | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
8289
|
+
|
|
7919
8290
|
export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderInterceptorError | OrderLimitError | OrderModificationError;
|
|
7920
8291
|
|
|
7921
8292
|
export type UpdateOrderNoteInput = {
|
|
@@ -9241,6 +9612,84 @@ export type DeleteCustomerNoteMutationVariables = Exact<{
|
|
|
9241
9612
|
|
|
9242
9613
|
export type DeleteCustomerNoteMutation = { __typename?: 'Mutation', deleteCustomerNote: { __typename?: 'DeletionResponse', result: DeletionResult, message?: string | null } };
|
|
9243
9614
|
|
|
9615
|
+
export type DeploymentsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
9616
|
+
|
|
9617
|
+
|
|
9618
|
+
export type DeploymentsQuery = { __typename?: 'Query', deployments: Array<{ __typename?: 'Deployment', id: string, type: DeploymentType, status: DeploymentStatus, url?: string | null, instances: number, lastDeployedAt?: any | null, errorMessage?: string | null }> };
|
|
9619
|
+
|
|
9620
|
+
export type DeploymentQueryVariables = Exact<{
|
|
9621
|
+
type: DeploymentType;
|
|
9622
|
+
}>;
|
|
9623
|
+
|
|
9624
|
+
|
|
9625
|
+
export type DeploymentQuery = { __typename?: 'Query', deployment?: { __typename?: 'Deployment', id: string, type: DeploymentType, status: DeploymentStatus, url?: string | null, instances: number, lastDeployedAt?: any | null, errorMessage?: string | null } | null };
|
|
9626
|
+
|
|
9627
|
+
export type DeploymentEnvQueryVariables = Exact<{
|
|
9628
|
+
type: DeploymentType;
|
|
9629
|
+
}>;
|
|
9630
|
+
|
|
9631
|
+
|
|
9632
|
+
export type DeploymentEnvQuery = { __typename?: 'Query', deploymentEnv: Array<{ __typename?: 'DeploymentEnv', key: string, value: string }> };
|
|
9633
|
+
|
|
9634
|
+
export type ChannelInfoQueryVariables = Exact<{ [key: string]: never; }>;
|
|
9635
|
+
|
|
9636
|
+
|
|
9637
|
+
export type ChannelInfoQuery = { __typename?: 'Query', channelInfo?: { __typename?: 'ChannelInfo', id: string, code: string, name: string, domain: string, hasApplication: boolean, applicationName?: string | null } | null };
|
|
9638
|
+
|
|
9639
|
+
export type ValidateChannelTokenQueryVariables = Exact<{ [key: string]: never; }>;
|
|
9640
|
+
|
|
9641
|
+
|
|
9642
|
+
export type ValidateChannelTokenQuery = { __typename?: 'Query', validateChannelToken: boolean };
|
|
9643
|
+
|
|
9644
|
+
export type CreateDeploymentMutationVariables = Exact<{
|
|
9645
|
+
input: CreateDeploymentInput;
|
|
9646
|
+
}>;
|
|
9647
|
+
|
|
9648
|
+
|
|
9649
|
+
export type CreateDeploymentMutation = { __typename?: 'Mutation', createDeployment: { __typename?: 'Deployment', id: string, type: DeploymentType, status: DeploymentStatus, url?: string | null, instances: number, lastDeployedAt?: any | null, errorMessage?: string | null } };
|
|
9650
|
+
|
|
9651
|
+
export type DeleteDeploymentMutationVariables = Exact<{
|
|
9652
|
+
type: DeploymentType;
|
|
9653
|
+
}>;
|
|
9654
|
+
|
|
9655
|
+
|
|
9656
|
+
export type DeleteDeploymentMutation = { __typename?: 'Mutation', deleteDeployment: boolean };
|
|
9657
|
+
|
|
9658
|
+
export type ScaleDeploymentMutationVariables = Exact<{
|
|
9659
|
+
input: ScaleDeploymentInput;
|
|
9660
|
+
}>;
|
|
9661
|
+
|
|
9662
|
+
|
|
9663
|
+
export type ScaleDeploymentMutation = { __typename?: 'Mutation', scaleDeployment: { __typename?: 'Deployment', id: string, type: DeploymentType, status: DeploymentStatus, url?: string | null, instances: number, lastDeployedAt?: any | null, errorMessage?: string | null } };
|
|
9664
|
+
|
|
9665
|
+
export type SetDeploymentEnvMutationVariables = Exact<{
|
|
9666
|
+
input: SetEnvInput;
|
|
9667
|
+
}>;
|
|
9668
|
+
|
|
9669
|
+
|
|
9670
|
+
export type SetDeploymentEnvMutation = { __typename?: 'Mutation', setDeploymentEnv: boolean };
|
|
9671
|
+
|
|
9672
|
+
export type UnsetDeploymentEnvMutationVariables = Exact<{
|
|
9673
|
+
input: UnsetEnvInput;
|
|
9674
|
+
}>;
|
|
9675
|
+
|
|
9676
|
+
|
|
9677
|
+
export type UnsetDeploymentEnvMutation = { __typename?: 'Mutation', unsetDeploymentEnv: boolean };
|
|
9678
|
+
|
|
9679
|
+
export type RefreshDeploymentStatusMutationVariables = Exact<{
|
|
9680
|
+
type: DeploymentType;
|
|
9681
|
+
}>;
|
|
9682
|
+
|
|
9683
|
+
|
|
9684
|
+
export type RefreshDeploymentStatusMutation = { __typename?: 'Mutation', refreshDeploymentStatus?: { __typename?: 'Deployment', id: string, type: DeploymentType, status: DeploymentStatus, url?: string | null, instances: number, lastDeployedAt?: any | null, errorMessage?: string | null } | null };
|
|
9685
|
+
|
|
9686
|
+
export type DeploymentLogsSubscriptionVariables = Exact<{
|
|
9687
|
+
type: DeploymentType;
|
|
9688
|
+
}>;
|
|
9689
|
+
|
|
9690
|
+
|
|
9691
|
+
export type DeploymentLogsSubscription = { __typename?: 'Subscription', deploymentLogs: { __typename?: 'DeploymentLogEntry', timestamp: any, message: string, type: DeploymentType } };
|
|
9692
|
+
|
|
9244
9693
|
export type EntityDuplicatorsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
9245
9694
|
|
|
9246
9695
|
|
|
@@ -9253,6 +9702,13 @@ export type DuplicateEntityMutationVariables = Exact<{
|
|
|
9253
9702
|
|
|
9254
9703
|
export type DuplicateEntityMutation = { __typename?: 'Mutation', duplicateEntity: { __typename: 'DuplicateEntityError', errorCode: ErrorCode, message: string, duplicationError: string } | { __typename: 'DuplicateEntitySuccess', newEntityId: string } };
|
|
9255
9704
|
|
|
9705
|
+
export type EntityEventSubscriptionVariables = Exact<{
|
|
9706
|
+
categories?: InputMaybe<Array<EventCategory> | EventCategory>;
|
|
9707
|
+
}>;
|
|
9708
|
+
|
|
9709
|
+
|
|
9710
|
+
export type EntityEventSubscription = { __typename?: 'Subscription', entityEvent: { __typename?: 'EntityEventPayload', channelId: string, eventName: string, eventClass: string, type: string, entityId?: string | null, entity?: any | null, input?: any | null, timestamp: any } };
|
|
9711
|
+
|
|
9256
9712
|
export type FacetQueryVariables = Exact<{
|
|
9257
9713
|
id: Scalars['ID']['input'];
|
|
9258
9714
|
}>;
|