@commercetools-frontend/mc-scripts 21.23.6 → 21.23.7
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/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +5 -5
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +5 -5
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +5 -5
- package/dist/{build-46e17838.esm.js → build-af471e4f.esm.js} +3 -3
- package/dist/{build-9005f39b.cjs.dev.js → build-e5e28d0f.cjs.dev.js} +3 -3
- package/dist/{build-94e2e5f6.cjs.prod.js → build-f4623154.cjs.prod.js} +3 -3
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
- package/dist/{config-sync-0821ad80.cjs.prod.js → config-sync-12891321.cjs.prod.js} +2 -2
- package/dist/{config-sync-0d1593ad.cjs.dev.js → config-sync-325ebf94.cjs.dev.js} +2 -2
- package/dist/{config-sync-a76dd6be.esm.js → config-sync-998cb259.esm.js} +2 -2
- package/dist/{create-postcss-config-a33c9daa.cjs.prod.js → create-postcss-config-3b210dc2.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-20610e17.esm.js → create-postcss-config-4448f310.esm.js} +1 -1
- package/dist/{create-postcss-config-25c9b250.cjs.dev.js → create-postcss-config-9c225b30.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-966028b5.cjs.dev.js → create-webpack-config-for-development-1364741a.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-9d5abada.esm.js → create-webpack-config-for-development-24c08049.esm.js} +1 -1
- package/dist/{create-webpack-config-for-development-4a62b618.cjs.prod.js → create-webpack-config-for-development-aa559235.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-production-73189249.esm.js → create-webpack-config-for-production-38d6c9e5.esm.js} +1 -2
- package/dist/{create-webpack-config-for-production-66e0db31.cjs.dev.js → create-webpack-config-for-production-421dc0c2.cjs.dev.js} +1 -2
- package/dist/{create-webpack-config-for-production-740b2cec.cjs.prod.js → create-webpack-config-for-production-e1822868.cjs.prod.js} +1 -2
- package/dist/declarations/src/generated/core.d.ts +108 -108
- package/dist/declarations/src/generated/settings.d.ts +248 -248
- package/dist/declarations/src/types.d.ts +11 -11
- package/dist/declarations/src/utils/auth.d.ts +1 -1
- package/dist/declarations/src/utils/graphql-requests.d.ts +4 -4
- package/dist/declarations/src/webpack-plugins/final-stats-writer-plugin.d.ts +1 -1
- package/dist/{login-bce601d2.esm.js → login-7a1112bb.esm.js} +2 -2
- package/dist/{login-097ab0a0.cjs.prod.js → login-a5ad29ca.cjs.prod.js} +2 -2
- package/dist/{login-93e3a4e1.cjs.dev.js → login-b81a3bd6.cjs.dev.js} +2 -2
- package/dist/{package-3ea6111c.cjs.dev.js → package-0ddd3656.cjs.prod.js} +30 -31
- package/dist/{package-28ee8399.cjs.prod.js → package-1afdc76b.cjs.dev.js} +30 -31
- package/dist/{package-b516a92c.esm.js → package-9b19982d.esm.js} +30 -31
- package/dist/{start-078cf31e.cjs.prod.js → start-48b418c7.cjs.prod.js} +3 -3
- package/dist/{start-3d695718.cjs.dev.js → start-ad9a3fcd.cjs.dev.js} +3 -3
- package/dist/{start-808eee24.esm.js → start-afd01505.esm.js} +3 -3
- package/dist/{user-agent-3637fa80.cjs.dev.js → user-agent-1395f804.cjs.dev.js} +1 -1
- package/dist/{user-agent-79eab940.cjs.prod.js → user-agent-18eb79a4.cjs.prod.js} +1 -1
- package/dist/{user-agent-d21136ff.esm.js → user-agent-94e2d7c3.esm.js} +1 -1
- package/package.json +30 -31
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type Maybe<T> = T | null;
|
|
2
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
export type Exact<T extends {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}> = {
|
|
6
6
|
[K in keyof T]: T[K];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
9
|
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
12
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
13
|
};
|
|
14
14
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
15
|
-
export
|
|
15
|
+
export type Scalars = {
|
|
16
16
|
ID: string;
|
|
17
17
|
String: string;
|
|
18
18
|
Boolean: boolean;
|
|
@@ -31,12 +31,12 @@ export declare type Scalars = {
|
|
|
31
31
|
/** The `Long` scalar type represents non-fractional signed whole numeric values. Long can represent values between -(2^63) and 2^63 - 1. */
|
|
32
32
|
Long: any;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type TAddTeam = {
|
|
35
35
|
members?: InputMaybe<Array<TReferenceInput>>;
|
|
36
36
|
name: Scalars['String'];
|
|
37
37
|
permissions?: InputMaybe<Scalars['String']>;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type TAddTeamMembership = {
|
|
40
40
|
teamId: Scalars['String'];
|
|
41
41
|
user: TReferenceInput;
|
|
42
42
|
};
|
|
@@ -78,57 +78,57 @@ export declare enum TBusinessRole {
|
|
|
78
78
|
/** UX/UI Design role. */
|
|
79
79
|
UxuiDesign = "UXUIDesign"
|
|
80
80
|
}
|
|
81
|
-
export
|
|
81
|
+
export type TCartClassificationType = TShippingRateInputType & {
|
|
82
82
|
__typename?: 'CartClassificationType';
|
|
83
83
|
type: Scalars['String'];
|
|
84
84
|
values: Array<TShippingRateInputLocalizedEnumValue>;
|
|
85
85
|
};
|
|
86
|
-
export
|
|
86
|
+
export type TCartDiscountLimits = {
|
|
87
87
|
__typename?: 'CartDiscountLimits';
|
|
88
88
|
withoutDiscountCodeLimit?: Maybe<Scalars['Long']>;
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type TCartLimits = {
|
|
91
91
|
__typename?: 'CartLimits';
|
|
92
92
|
maxCarts?: Maybe<Scalars['Long']>;
|
|
93
93
|
};
|
|
94
|
-
export
|
|
94
|
+
export type TCartScoreType = TShippingRateInputType & {
|
|
95
95
|
__typename?: 'CartScoreType';
|
|
96
96
|
type: Scalars['String'];
|
|
97
97
|
};
|
|
98
|
-
export
|
|
98
|
+
export type TCartValueType = TShippingRateInputType & {
|
|
99
99
|
__typename?: 'CartValueType';
|
|
100
100
|
type: Scalars['String'];
|
|
101
101
|
};
|
|
102
|
-
export
|
|
102
|
+
export type TCategoryLimits = {
|
|
103
103
|
__typename?: 'CategoryLimits';
|
|
104
104
|
maxTotalCategories?: Maybe<Scalars['Int']>;
|
|
105
105
|
};
|
|
106
|
-
export
|
|
106
|
+
export type TCdnContainerConfiguration = {
|
|
107
107
|
__typename?: 'CdnContainerConfiguration';
|
|
108
108
|
enabled: Scalars['Boolean'];
|
|
109
109
|
};
|
|
110
|
-
export
|
|
110
|
+
export type TChangeName = {
|
|
111
111
|
name: Scalars['String'];
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export type TChangeTeamName = {
|
|
114
114
|
name: Scalars['String'];
|
|
115
115
|
teamId: Scalars['String'];
|
|
116
116
|
};
|
|
117
|
-
export
|
|
117
|
+
export type TClustersConfig = {
|
|
118
118
|
__typename?: 'ClustersConfig';
|
|
119
119
|
db?: Maybe<TDbClustersConfig>;
|
|
120
120
|
elasticsearch?: Maybe<TEsCluster>;
|
|
121
121
|
};
|
|
122
|
-
export
|
|
122
|
+
export type TClustersConfigInput = {
|
|
123
123
|
db?: InputMaybe<TDbClustersConfigInput>;
|
|
124
124
|
elasticsearch?: InputMaybe<TEsClusterInput>;
|
|
125
125
|
};
|
|
126
|
-
export
|
|
126
|
+
export type TCreateOrganizationCommand = {
|
|
127
127
|
defaultClusters?: InputMaybe<TClustersConfigInput>;
|
|
128
128
|
name: Scalars['String'];
|
|
129
129
|
owner: TReferenceInput;
|
|
130
130
|
};
|
|
131
|
-
export
|
|
131
|
+
export type TCreatePermissionCommand = {
|
|
132
132
|
actionRightPermissions?: InputMaybe<Array<Scalars['String']>>;
|
|
133
133
|
dataFences?: InputMaybe<Array<TDataFenceDraft>>;
|
|
134
134
|
group: Scalars['String'];
|
|
@@ -137,68 +137,68 @@ export declare type TCreatePermissionCommand = {
|
|
|
137
137
|
resourceAccessPermissions?: InputMaybe<Array<Scalars['String']>>;
|
|
138
138
|
team: TReferenceInput;
|
|
139
139
|
};
|
|
140
|
-
export
|
|
140
|
+
export type TCustomObjectLimits = {
|
|
141
141
|
__typename?: 'CustomObjectLimits';
|
|
142
142
|
maxCustomObjects?: Maybe<Scalars['Long']>;
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type TCustomerGroupLimits = {
|
|
145
145
|
__typename?: 'CustomerGroupLimits';
|
|
146
146
|
maxCustomerGroups?: Maybe<Scalars['Long']>;
|
|
147
147
|
};
|
|
148
|
-
export
|
|
148
|
+
export type TCustomerLimits = {
|
|
149
149
|
__typename?: 'CustomerLimits';
|
|
150
150
|
maxCustomers?: Maybe<Scalars['Long']>;
|
|
151
151
|
};
|
|
152
|
-
export
|
|
152
|
+
export type TDbClusterConfig = {
|
|
153
153
|
__typename?: 'DBClusterConfig';
|
|
154
154
|
dbClusterKey: TDbClusterKey;
|
|
155
155
|
sharded: Scalars['Boolean'];
|
|
156
156
|
};
|
|
157
|
-
export
|
|
157
|
+
export type TDbClusterConfigInput = {
|
|
158
158
|
dbClusterKey: TDbClusterKeyInput;
|
|
159
159
|
sharded: Scalars['Boolean'];
|
|
160
160
|
};
|
|
161
|
-
export
|
|
161
|
+
export type TDbClusterKey = {
|
|
162
162
|
__typename?: 'DBClusterKey';
|
|
163
163
|
name: Scalars['String'];
|
|
164
164
|
};
|
|
165
|
-
export
|
|
165
|
+
export type TDbClusterKeyInput = {
|
|
166
166
|
name: Scalars['String'];
|
|
167
167
|
};
|
|
168
|
-
export
|
|
168
|
+
export type TDbClustersConfig = {
|
|
169
169
|
__typename?: 'DBClustersConfig';
|
|
170
170
|
carts?: Maybe<TDbClusterConfig>;
|
|
171
171
|
commits?: Maybe<TDbClusterConfig>;
|
|
172
172
|
default: TDbClusterKey;
|
|
173
173
|
orders?: Maybe<TDbClusterConfig>;
|
|
174
174
|
};
|
|
175
|
-
export
|
|
175
|
+
export type TDbClustersConfigInput = {
|
|
176
176
|
carts?: InputMaybe<TDbClusterConfigInput>;
|
|
177
177
|
commits?: InputMaybe<TDbClusterConfigInput>;
|
|
178
178
|
default: TDbClusterKeyInput;
|
|
179
179
|
orders?: InputMaybe<TDbClusterConfigInput>;
|
|
180
180
|
};
|
|
181
|
-
export
|
|
181
|
+
export type TDataFence = {
|
|
182
182
|
type: Scalars['String'];
|
|
183
183
|
};
|
|
184
|
-
export
|
|
184
|
+
export type TDataFenceDraft = {
|
|
185
185
|
store: TDataFenceStoreDraftType;
|
|
186
186
|
};
|
|
187
|
-
export
|
|
187
|
+
export type TDataFenceStoreDraftType = {
|
|
188
188
|
storeKeys: Array<Scalars['String']>;
|
|
189
189
|
};
|
|
190
|
-
export
|
|
190
|
+
export type TEsAlternativeComparisonConfig = {
|
|
191
191
|
__typename?: 'ESAlternativeComparisonConfig';
|
|
192
192
|
comparisonProbability: Scalars['Float'];
|
|
193
193
|
logComparisonResults: Scalars['Boolean'];
|
|
194
194
|
versioning?: Maybe<Scalars['Boolean']>;
|
|
195
195
|
};
|
|
196
|
-
export
|
|
196
|
+
export type TEsAlternativeComparisonConfigInput = {
|
|
197
197
|
comparisonProbability: Scalars['Float'];
|
|
198
198
|
logComparisonResults: Scalars['Boolean'];
|
|
199
199
|
versioning?: InputMaybe<Scalars['Boolean']>;
|
|
200
200
|
};
|
|
201
|
-
export
|
|
201
|
+
export type TEsCluster = {
|
|
202
202
|
__typename?: 'ESCluster';
|
|
203
203
|
categoriesShardConfig?: Maybe<TEsClusterShardConfig>;
|
|
204
204
|
categoryComparison?: Maybe<TEsAlternativeComparisonConfig>;
|
|
@@ -207,7 +207,7 @@ export declare type TEsCluster = {
|
|
|
207
207
|
productsShardConfig?: Maybe<TEsClusterShardConfig>;
|
|
208
208
|
replicateToClusterKey?: Maybe<Scalars['String']>;
|
|
209
209
|
};
|
|
210
|
-
export
|
|
210
|
+
export type TEsClusterInput = {
|
|
211
211
|
categoriesShardConfig?: InputMaybe<TEsClusterShardConfigInput>;
|
|
212
212
|
categoryComparison?: InputMaybe<TEsAlternativeComparisonConfigInput>;
|
|
213
213
|
clusterKey: Scalars['String'];
|
|
@@ -215,28 +215,28 @@ export declare type TEsClusterInput = {
|
|
|
215
215
|
productsShardConfig?: InputMaybe<TEsClusterShardConfigInput>;
|
|
216
216
|
replicateToClusterKey?: InputMaybe<Scalars['String']>;
|
|
217
217
|
};
|
|
218
|
-
export
|
|
218
|
+
export type TEsClusterShardConfig = {
|
|
219
219
|
__typename?: 'ESClusterShardConfig';
|
|
220
220
|
numberOfReplicas?: Maybe<Scalars['Int']>;
|
|
221
221
|
numberOfShards?: Maybe<Scalars['Int']>;
|
|
222
222
|
refreshIntervalSeconds?: Maybe<Scalars['Int']>;
|
|
223
223
|
versioning?: Maybe<Scalars['Boolean']>;
|
|
224
224
|
};
|
|
225
|
-
export
|
|
225
|
+
export type TEsClusterShardConfigInput = {
|
|
226
226
|
numberOfReplicas?: InputMaybe<Scalars['Int']>;
|
|
227
227
|
numberOfShards?: InputMaybe<Scalars['Int']>;
|
|
228
228
|
refreshIntervalSeconds?: InputMaybe<Scalars['Int']>;
|
|
229
229
|
versioning?: InputMaybe<Scalars['Boolean']>;
|
|
230
230
|
};
|
|
231
|
-
export
|
|
231
|
+
export type TExtensionLimits = {
|
|
232
232
|
__typename?: 'ExtensionLimits';
|
|
233
233
|
maxTimeoutInMs?: Maybe<Scalars['Int']>;
|
|
234
234
|
};
|
|
235
|
-
export
|
|
235
|
+
export type TExternalOAuthInput = {
|
|
236
236
|
authorizationHeader: Scalars['String'];
|
|
237
237
|
url: Scalars['String'];
|
|
238
238
|
};
|
|
239
|
-
export
|
|
239
|
+
export type TInitiator = {
|
|
240
240
|
__typename?: 'Initiator';
|
|
241
241
|
anonymousId?: Maybe<Scalars['String']>;
|
|
242
242
|
clientId?: Maybe<Scalars['String']>;
|
|
@@ -245,17 +245,17 @@ export declare type TInitiator = {
|
|
|
245
245
|
isPlatformClient?: Maybe<Scalars['Boolean']>;
|
|
246
246
|
userRef?: Maybe<TReference>;
|
|
247
247
|
};
|
|
248
|
-
export
|
|
248
|
+
export type TLocalizedString = {
|
|
249
249
|
__typename?: 'LocalizedString';
|
|
250
250
|
locale: Scalars['Locale'];
|
|
251
251
|
value: Scalars['String'];
|
|
252
252
|
};
|
|
253
|
-
export
|
|
253
|
+
export type TMessagesConfiguration = {
|
|
254
254
|
__typename?: 'MessagesConfiguration';
|
|
255
255
|
deleteDaysAfterCreation?: Maybe<Scalars['Int']>;
|
|
256
256
|
enabled: Scalars['Boolean'];
|
|
257
257
|
};
|
|
258
|
-
export
|
|
258
|
+
export type TMutation = {
|
|
259
259
|
__typename?: 'Mutation';
|
|
260
260
|
createMyOrganization?: Maybe<TOrganization>;
|
|
261
261
|
createMyPermission?: Maybe<TPermission>;
|
|
@@ -269,54 +269,54 @@ export declare type TMutation = {
|
|
|
269
269
|
updateMyPermission?: Maybe<TPermission>;
|
|
270
270
|
updatePermission?: Maybe<TPermission>;
|
|
271
271
|
};
|
|
272
|
-
export
|
|
272
|
+
export type TMutation_CreateMyOrganizationArgs = {
|
|
273
273
|
draft: TCreateOrganizationCommand;
|
|
274
274
|
};
|
|
275
|
-
export
|
|
275
|
+
export type TMutation_CreateMyPermissionArgs = {
|
|
276
276
|
draft: TCreatePermissionCommand;
|
|
277
277
|
};
|
|
278
|
-
export
|
|
278
|
+
export type TMutation_CreateMyProjectArgs = {
|
|
279
279
|
draft: TProjectDraftType;
|
|
280
280
|
};
|
|
281
|
-
export
|
|
281
|
+
export type TMutation_CreatePermissionArgs = {
|
|
282
282
|
draft: TCreatePermissionCommand;
|
|
283
283
|
};
|
|
284
|
-
export
|
|
284
|
+
export type TMutation_DeleteMyOrganizationArgs = {
|
|
285
285
|
id: Scalars['String'];
|
|
286
286
|
version: Scalars['Long'];
|
|
287
287
|
};
|
|
288
|
-
export
|
|
288
|
+
export type TMutation_DeleteMyPermissionArgs = {
|
|
289
289
|
id: Scalars['String'];
|
|
290
290
|
version: Scalars['Long'];
|
|
291
291
|
};
|
|
292
|
-
export
|
|
292
|
+
export type TMutation_DeleteMyProjectArgs = {
|
|
293
293
|
key: Scalars['String'];
|
|
294
294
|
version: Scalars['Long'];
|
|
295
295
|
};
|
|
296
|
-
export
|
|
296
|
+
export type TMutation_DeletePermissionArgs = {
|
|
297
297
|
id: Scalars['String'];
|
|
298
298
|
version: Scalars['Long'];
|
|
299
299
|
};
|
|
300
|
-
export
|
|
300
|
+
export type TMutation_UpdateMyOrganizationArgs = {
|
|
301
301
|
actions: Array<TOrganizationUpdateAction>;
|
|
302
302
|
id: Scalars['String'];
|
|
303
303
|
version: Scalars['Long'];
|
|
304
304
|
};
|
|
305
|
-
export
|
|
305
|
+
export type TMutation_UpdateMyPermissionArgs = {
|
|
306
306
|
actions: Array<TPermissionUpdateAction>;
|
|
307
307
|
id: Scalars['String'];
|
|
308
308
|
version: Scalars['Long'];
|
|
309
309
|
};
|
|
310
|
-
export
|
|
310
|
+
export type TMutation_UpdatePermissionArgs = {
|
|
311
311
|
actions: Array<TPermissionUpdateAction>;
|
|
312
312
|
id: Scalars['String'];
|
|
313
313
|
version: Scalars['Long'];
|
|
314
314
|
};
|
|
315
|
-
export
|
|
315
|
+
export type TOrderEditLimits = {
|
|
316
316
|
__typename?: 'OrderEditLimits';
|
|
317
317
|
maxOrderEdits?: Maybe<Scalars['Long']>;
|
|
318
318
|
};
|
|
319
|
-
export
|
|
319
|
+
export type TOrganization = TVersioned & {
|
|
320
320
|
__typename?: 'Organization';
|
|
321
321
|
createdAt: Scalars['DateTime'];
|
|
322
322
|
createdBy?: Maybe<TInitiator>;
|
|
@@ -328,7 +328,7 @@ export declare type TOrganization = TVersioned & {
|
|
|
328
328
|
teams: Array<TTeam>;
|
|
329
329
|
version: Scalars['Long'];
|
|
330
330
|
};
|
|
331
|
-
export
|
|
331
|
+
export type TOrganizationQueryResult = {
|
|
332
332
|
__typename?: 'OrganizationQueryResult';
|
|
333
333
|
count: Scalars['Int'];
|
|
334
334
|
/** BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta */
|
|
@@ -337,7 +337,7 @@ export declare type TOrganizationQueryResult = {
|
|
|
337
337
|
results: Array<TOrganization>;
|
|
338
338
|
total: Scalars['Long'];
|
|
339
339
|
};
|
|
340
|
-
export
|
|
340
|
+
export type TOrganizationUpdateAction = {
|
|
341
341
|
addTeam?: InputMaybe<TAddTeam>;
|
|
342
342
|
addTeamMembership?: InputMaybe<TAddTeamMembership>;
|
|
343
343
|
changeName?: InputMaybe<TChangeName>;
|
|
@@ -345,7 +345,7 @@ export declare type TOrganizationUpdateAction = {
|
|
|
345
345
|
removeTeam?: InputMaybe<TRemoveTeam>;
|
|
346
346
|
removeTeamMembership?: InputMaybe<TRemoveTeamMembership>;
|
|
347
347
|
};
|
|
348
|
-
export
|
|
348
|
+
export type TPermission = TVersioned & {
|
|
349
349
|
__typename?: 'Permission';
|
|
350
350
|
actionRightPermissions: Array<Scalars['String']>;
|
|
351
351
|
createdAt: Scalars['DateTime'];
|
|
@@ -361,7 +361,7 @@ export declare type TPermission = TVersioned & {
|
|
|
361
361
|
teamRef: TReference;
|
|
362
362
|
version: Scalars['Long'];
|
|
363
363
|
};
|
|
364
|
-
export
|
|
364
|
+
export type TPermissionQueryResult = {
|
|
365
365
|
__typename?: 'PermissionQueryResult';
|
|
366
366
|
count: Scalars['Int'];
|
|
367
367
|
/** BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta */
|
|
@@ -370,26 +370,26 @@ export declare type TPermissionQueryResult = {
|
|
|
370
370
|
results: Array<TPermission>;
|
|
371
371
|
total: Scalars['Long'];
|
|
372
372
|
};
|
|
373
|
-
export
|
|
373
|
+
export type TPermissionUpdateAction = {
|
|
374
374
|
setActionRightPermissions?: InputMaybe<TSetPermissionActionRightPermissions>;
|
|
375
375
|
setDataFences?: InputMaybe<TSetPermissionDataFences>;
|
|
376
376
|
setHiddenMenuItems?: InputMaybe<TSetPermissionHiddenMenuItems>;
|
|
377
377
|
setResourceAccessPermissions?: InputMaybe<TSetPermissionResourceAccessPermissions>;
|
|
378
378
|
};
|
|
379
|
-
export
|
|
379
|
+
export type TProductDiscountLimits = {
|
|
380
380
|
__typename?: 'ProductDiscountLimits';
|
|
381
381
|
activeLimit?: Maybe<Scalars['Long']>;
|
|
382
382
|
};
|
|
383
|
-
export
|
|
383
|
+
export type TProductLimits = {
|
|
384
384
|
__typename?: 'ProductLimits';
|
|
385
385
|
pricesLimitPerVariant?: Maybe<Scalars['Int']>;
|
|
386
386
|
variantLimit?: Maybe<Scalars['Int']>;
|
|
387
387
|
};
|
|
388
|
-
export
|
|
388
|
+
export type TProductTypeLimits = {
|
|
389
389
|
__typename?: 'ProductTypeLimits';
|
|
390
390
|
maxTotalProductTypes?: Maybe<Scalars['Int']>;
|
|
391
391
|
};
|
|
392
|
-
export
|
|
392
|
+
export type TProject = TVersioned & {
|
|
393
393
|
__typename?: 'Project';
|
|
394
394
|
billingInfo?: Maybe<TProjectBillingInfo>;
|
|
395
395
|
cdnContainer?: Maybe<TPublicContainer>;
|
|
@@ -418,7 +418,7 @@ export declare type TProject = TVersioned & {
|
|
|
418
418
|
trialUntil?: Maybe<Scalars['DateTime']>;
|
|
419
419
|
version: Scalars['Long'];
|
|
420
420
|
};
|
|
421
|
-
export
|
|
421
|
+
export type TProjectBillingInfo = {
|
|
422
422
|
__typename?: 'ProjectBillingInfo';
|
|
423
423
|
accountId?: Maybe<Scalars['String']>;
|
|
424
424
|
accountName?: Maybe<Scalars['String']>;
|
|
@@ -426,7 +426,7 @@ export declare type TProjectBillingInfo = {
|
|
|
426
426
|
comment?: Maybe<Scalars['String']>;
|
|
427
427
|
contractNumber?: Maybe<Scalars['String']>;
|
|
428
428
|
};
|
|
429
|
-
export
|
|
429
|
+
export type TProjectCustomLimits = {
|
|
430
430
|
__typename?: 'ProjectCustomLimits';
|
|
431
431
|
cartDiscounts?: Maybe<TCartDiscountLimits>;
|
|
432
432
|
carts?: Maybe<TCartLimits>;
|
|
@@ -449,7 +449,7 @@ export declare type TProjectCustomLimits = {
|
|
|
449
449
|
termFacetSize?: Maybe<Scalars['Int']>;
|
|
450
450
|
zones?: Maybe<TZoneLimits>;
|
|
451
451
|
};
|
|
452
|
-
export
|
|
452
|
+
export type TProjectDraftType = {
|
|
453
453
|
asyncInitialization?: InputMaybe<Scalars['Boolean']>;
|
|
454
454
|
cdnContainerEnabled?: InputMaybe<Scalars['Boolean']>;
|
|
455
455
|
countries?: Array<Scalars['Country']>;
|
|
@@ -471,7 +471,7 @@ export declare enum TProjectPlan {
|
|
|
471
471
|
Standard = "Standard",
|
|
472
472
|
Unlimited = "Unlimited"
|
|
473
473
|
}
|
|
474
|
-
export
|
|
474
|
+
export type TProjectQueryResult = {
|
|
475
475
|
__typename?: 'ProjectQueryResult';
|
|
476
476
|
count: Scalars['Int'];
|
|
477
477
|
/** BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta */
|
|
@@ -480,7 +480,7 @@ export declare type TProjectQueryResult = {
|
|
|
480
480
|
results: Array<TProject>;
|
|
481
481
|
total: Scalars['Long'];
|
|
482
482
|
};
|
|
483
|
-
export
|
|
483
|
+
export type TProjectSuspendData = {
|
|
484
484
|
__typename?: 'ProjectSuspendData';
|
|
485
485
|
description?: Maybe<Scalars['String']>;
|
|
486
486
|
reason: TProjectSuspensionReason;
|
|
@@ -493,7 +493,7 @@ export declare enum TProjectSuspensionReason {
|
|
|
493
493
|
/** The usage of the project is not paid. */
|
|
494
494
|
Payment = "Payment"
|
|
495
495
|
}
|
|
496
|
-
export
|
|
496
|
+
export type TPublicContainer = {
|
|
497
497
|
__typename?: 'PublicContainer';
|
|
498
498
|
httpUri: Scalars['String'];
|
|
499
499
|
httpsUri: Scalars['String'];
|
|
@@ -501,7 +501,7 @@ export declare type TPublicContainer = {
|
|
|
501
501
|
name: Scalars['String'];
|
|
502
502
|
streamingUri: Scalars['String'];
|
|
503
503
|
};
|
|
504
|
-
export
|
|
504
|
+
export type TQuery = {
|
|
505
505
|
__typename?: 'Query';
|
|
506
506
|
/**
|
|
507
507
|
* Fetch projects that `me` can access (but maybe not be able to manage).
|
|
@@ -525,38 +525,38 @@ export declare type TQuery = {
|
|
|
525
525
|
permissionsForUser: TPermissionQueryResult;
|
|
526
526
|
projects: TProjectQueryResult;
|
|
527
527
|
};
|
|
528
|
-
export
|
|
528
|
+
export type TQuery_MyAccessibleProjectsArgs = {
|
|
529
529
|
limit?: InputMaybe<Scalars['Int']>;
|
|
530
530
|
offset?: InputMaybe<Scalars['Int']>;
|
|
531
531
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
532
532
|
where?: InputMaybe<Scalars['String']>;
|
|
533
533
|
};
|
|
534
|
-
export
|
|
534
|
+
export type TQuery_MyOrganizationsArgs = {
|
|
535
535
|
limit?: InputMaybe<Scalars['Int']>;
|
|
536
536
|
offset?: InputMaybe<Scalars['Int']>;
|
|
537
537
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
538
538
|
where?: InputMaybe<Scalars['String']>;
|
|
539
539
|
};
|
|
540
|
-
export
|
|
540
|
+
export type TQuery_MyPermissionsArgs = {
|
|
541
541
|
limit?: InputMaybe<Scalars['Int']>;
|
|
542
542
|
offset?: InputMaybe<Scalars['Int']>;
|
|
543
543
|
owner: TReferenceInput;
|
|
544
544
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
545
545
|
where?: InputMaybe<Scalars['String']>;
|
|
546
546
|
};
|
|
547
|
-
export
|
|
547
|
+
export type TQuery_MyProjectsArgs = {
|
|
548
548
|
limit?: InputMaybe<Scalars['Int']>;
|
|
549
549
|
offset?: InputMaybe<Scalars['Int']>;
|
|
550
550
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
551
551
|
where?: InputMaybe<Scalars['String']>;
|
|
552
552
|
};
|
|
553
|
-
export
|
|
553
|
+
export type TQuery_PermissionsArgs = {
|
|
554
554
|
limit?: InputMaybe<Scalars['Int']>;
|
|
555
555
|
offset?: InputMaybe<Scalars['Int']>;
|
|
556
556
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
557
557
|
where?: InputMaybe<Scalars['String']>;
|
|
558
558
|
};
|
|
559
|
-
export
|
|
559
|
+
export type TQuery_PermissionsForUserArgs = {
|
|
560
560
|
limit?: InputMaybe<Scalars['Int']>;
|
|
561
561
|
offset?: InputMaybe<Scalars['Int']>;
|
|
562
562
|
owner: TReferenceInput;
|
|
@@ -564,105 +564,105 @@ export declare type TQuery_PermissionsForUserArgs = {
|
|
|
564
564
|
userId: Scalars['String'];
|
|
565
565
|
where?: InputMaybe<Scalars['String']>;
|
|
566
566
|
};
|
|
567
|
-
export
|
|
567
|
+
export type TQuery_ProjectsArgs = {
|
|
568
568
|
limit?: InputMaybe<Scalars['Int']>;
|
|
569
569
|
offset?: InputMaybe<Scalars['Int']>;
|
|
570
570
|
sort?: InputMaybe<Array<Scalars['String']>>;
|
|
571
571
|
where?: InputMaybe<Scalars['String']>;
|
|
572
572
|
};
|
|
573
|
-
export
|
|
573
|
+
export type TQueryLimits = {
|
|
574
574
|
__typename?: 'QueryLimits';
|
|
575
575
|
maxOffset: Scalars['Int'];
|
|
576
576
|
};
|
|
577
|
-
export
|
|
577
|
+
export type TReference = {
|
|
578
578
|
__typename?: 'Reference';
|
|
579
579
|
id: Scalars['String'];
|
|
580
580
|
typeId: Scalars['String'];
|
|
581
581
|
};
|
|
582
|
-
export
|
|
582
|
+
export type TReferenceInput = {
|
|
583
583
|
id: Scalars['String'];
|
|
584
584
|
typeId: Scalars['String'];
|
|
585
585
|
};
|
|
586
|
-
export
|
|
586
|
+
export type TRefreshTokenLimits = {
|
|
587
587
|
__typename?: 'RefreshTokenLimits';
|
|
588
588
|
maxRefreshTokens?: Maybe<Scalars['Long']>;
|
|
589
589
|
};
|
|
590
|
-
export
|
|
590
|
+
export type TRemoveTeam = {
|
|
591
591
|
teamId: Scalars['String'];
|
|
592
592
|
};
|
|
593
|
-
export
|
|
593
|
+
export type TRemoveTeamMembership = {
|
|
594
594
|
teamId: Scalars['String'];
|
|
595
595
|
user: TReferenceInput;
|
|
596
596
|
};
|
|
597
|
-
export
|
|
597
|
+
export type TSearchIndexingConfigurationInput = {
|
|
598
598
|
products?: InputMaybe<TSearchIndexingConfigurationValuesInput>;
|
|
599
599
|
};
|
|
600
|
-
export
|
|
600
|
+
export type TSearchIndexingConfigurationValuesInput = {
|
|
601
601
|
status?: InputMaybe<Scalars['String']>;
|
|
602
602
|
};
|
|
603
|
-
export
|
|
603
|
+
export type TSearchLimits = {
|
|
604
604
|
__typename?: 'SearchLimits';
|
|
605
605
|
maxTextSize?: Maybe<Scalars['Int']>;
|
|
606
606
|
};
|
|
607
|
-
export
|
|
607
|
+
export type TSetPermissionActionRightPermissions = {
|
|
608
608
|
actionRightPermissions: Array<Scalars['String']>;
|
|
609
609
|
};
|
|
610
|
-
export
|
|
610
|
+
export type TSetPermissionDataFences = {
|
|
611
611
|
dataFences: Array<TDataFenceDraft>;
|
|
612
612
|
};
|
|
613
|
-
export
|
|
613
|
+
export type TSetPermissionHiddenMenuItems = {
|
|
614
614
|
hiddenMenuItems: Array<Scalars['String']>;
|
|
615
615
|
};
|
|
616
|
-
export
|
|
616
|
+
export type TSetPermissionResourceAccessPermissions = {
|
|
617
617
|
resourceAccessPermissions: Array<Scalars['String']>;
|
|
618
618
|
};
|
|
619
|
-
export
|
|
619
|
+
export type TShippingMethodLimit = {
|
|
620
620
|
__typename?: 'ShippingMethodLimit';
|
|
621
621
|
maxShippingMethods?: Maybe<Scalars['Long']>;
|
|
622
622
|
};
|
|
623
|
-
export
|
|
623
|
+
export type TShippingRateInputLocalizedEnumValue = {
|
|
624
624
|
__typename?: 'ShippingRateInputLocalizedEnumValue';
|
|
625
625
|
key: Scalars['String'];
|
|
626
626
|
label?: Maybe<Scalars['String']>;
|
|
627
627
|
labelAllLocales: Array<TLocalizedString>;
|
|
628
628
|
};
|
|
629
|
-
export
|
|
629
|
+
export type TShippingRateInputLocalizedEnumValue_LabelArgs = {
|
|
630
630
|
acceptLanguage?: InputMaybe<Array<Scalars['Locale']>>;
|
|
631
631
|
locale?: InputMaybe<Scalars['Locale']>;
|
|
632
632
|
};
|
|
633
|
-
export
|
|
633
|
+
export type TShippingRateInputType = {
|
|
634
634
|
type: Scalars['String'];
|
|
635
635
|
};
|
|
636
|
-
export
|
|
636
|
+
export type TShoppingListLimits = {
|
|
637
637
|
__typename?: 'ShoppingListLimits';
|
|
638
638
|
maxLineItems?: Maybe<Scalars['Int']>;
|
|
639
639
|
maxShoppingLists?: Maybe<Scalars['Long']>;
|
|
640
640
|
maxTextLineItems?: Maybe<Scalars['Int']>;
|
|
641
641
|
};
|
|
642
|
-
export
|
|
642
|
+
export type TStoreDataFence = TDataFence & {
|
|
643
643
|
__typename?: 'StoreDataFence';
|
|
644
644
|
storeKeys: Array<Scalars['String']>;
|
|
645
645
|
type: Scalars['String'];
|
|
646
646
|
};
|
|
647
|
-
export
|
|
647
|
+
export type TStoreLimits = {
|
|
648
648
|
__typename?: 'StoreLimits';
|
|
649
649
|
maxInventorySupplyChannelsPerStore?: Maybe<Scalars['Long']>;
|
|
650
650
|
maxProductDistributionChannelsPerStore?: Maybe<Scalars['Long']>;
|
|
651
651
|
maxProductSelectionsPerStore?: Maybe<Scalars['Long']>;
|
|
652
652
|
maxStores?: Maybe<Scalars['Long']>;
|
|
653
653
|
};
|
|
654
|
-
export
|
|
654
|
+
export type TTaxCategoryLimit = {
|
|
655
655
|
__typename?: 'TaxCategoryLimit';
|
|
656
656
|
maxTaxCategories?: Maybe<Scalars['Long']>;
|
|
657
657
|
};
|
|
658
|
-
export
|
|
658
|
+
export type TTeam = {
|
|
659
659
|
__typename?: 'Team';
|
|
660
660
|
id: Scalars['String'];
|
|
661
661
|
members: Array<TUser>;
|
|
662
662
|
membersRef: Array<TReference>;
|
|
663
663
|
name: Scalars['String'];
|
|
664
664
|
};
|
|
665
|
-
export
|
|
665
|
+
export type TUser = TVersioned & {
|
|
666
666
|
__typename?: 'User';
|
|
667
667
|
businessRole?: Maybe<TBusinessRole>;
|
|
668
668
|
createdAt: Scalars['DateTime'];
|
|
@@ -681,7 +681,7 @@ export declare type TUser = TVersioned & {
|
|
|
681
681
|
version: Scalars['Long'];
|
|
682
682
|
};
|
|
683
683
|
/** Versioned object have an ID and version and modification. Every update of this object changes it's version. */
|
|
684
|
-
export
|
|
684
|
+
export type TVersioned = {
|
|
685
685
|
createdAt: Scalars['DateTime'];
|
|
686
686
|
createdBy?: Maybe<TInitiator>;
|
|
687
687
|
id: Scalars['String'];
|
|
@@ -689,14 +689,14 @@ export declare type TVersioned = {
|
|
|
689
689
|
lastModifiedBy?: Maybe<TInitiator>;
|
|
690
690
|
version: Scalars['Long'];
|
|
691
691
|
};
|
|
692
|
-
export
|
|
692
|
+
export type TZoneLimits = {
|
|
693
693
|
__typename?: 'ZoneLimits';
|
|
694
694
|
maxZones?: Maybe<Scalars['Long']>;
|
|
695
695
|
};
|
|
696
|
-
export
|
|
696
|
+
export type TFetchMyOrganizationsFromCliQueryVariables = Exact<{
|
|
697
697
|
[key: string]: never;
|
|
698
698
|
}>;
|
|
699
|
-
export
|
|
699
|
+
export type TFetchMyOrganizationsFromCliQuery = {
|
|
700
700
|
__typename?: 'Query';
|
|
701
701
|
myOrganizations: {
|
|
702
702
|
__typename?: 'OrganizationQueryResult';
|