@faststore/api 3.64.0 → 3.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/src/__generated__/schema.d.ts +249 -0
- package/dist/cjs/src/__generated__/schema.d.ts.map +1 -1
- package/dist/cjs/src/__generated__/schema.js +1 -0
- package/dist/cjs/src/__generated__/schema.js.map +1 -1
- package/dist/cjs/src/index.d.ts +18 -0
- package/dist/cjs/src/index.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/clients/commerce/index.d.ts +10 -1
- package/dist/cjs/src/platforms/vtex/clients/commerce/index.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/clients/commerce/index.js +32 -4
- package/dist/cjs/src/platforms/vtex/clients/commerce/index.js.map +1 -1
- package/dist/cjs/src/platforms/vtex/clients/index.d.ts +9 -0
- package/dist/cjs/src/platforms/vtex/clients/index.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/index.d.ts +18 -0
- package/dist/cjs/src/platforms/vtex/index.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/mutation.d.ts +3 -0
- package/dist/cjs/src/platforms/vtex/resolvers/mutation.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/mutation.js +2 -0
- package/dist/cjs/src/platforms/vtex/resolvers/mutation.js.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts +6 -0
- package/dist/cjs/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts.map +1 -0
- package/dist/cjs/src/platforms/vtex/resolvers/processOrderAuthorization.js +18 -0
- package/dist/cjs/src/platforms/vtex/resolvers/processOrderAuthorization.js.map +1 -0
- package/dist/cjs/src/platforms/vtex/resolvers/query.d.ts +14 -1
- package/dist/cjs/src/platforms/vtex/resolvers/query.d.ts.map +1 -1
- package/dist/cjs/src/platforms/vtex/resolvers/query.js +64 -0
- package/dist/cjs/src/platforms/vtex/resolvers/query.js.map +1 -1
- package/dist/cjs/src/platforms/vtex/utils/commercialAuth.d.ts +12 -0
- package/dist/cjs/src/platforms/vtex/utils/commercialAuth.d.ts.map +1 -0
- package/dist/cjs/src/platforms/vtex/utils/commercialAuth.js +44 -0
- package/dist/cjs/src/platforms/vtex/utils/commercialAuth.js.map +1 -0
- package/dist/cjs/src/typeDefs/mutation.graphql +6 -0
- package/dist/cjs/src/typeDefs/orderCommercialAuthorizaton.graphql +399 -0
- package/dist/cjs/src/typeDefs/query.graphql +43 -0
- package/dist/cjs/src/typeDefs/userOrder.graphql +4 -0
- package/dist/esm/package.json +1 -1
- package/dist/esm/src/__generated__/schema.d.ts +249 -0
- package/dist/esm/src/__generated__/schema.d.ts.map +1 -1
- package/dist/esm/src/__generated__/schema.js +1 -0
- package/dist/esm/src/__generated__/schema.js.map +1 -1
- package/dist/esm/src/index.d.ts +18 -0
- package/dist/esm/src/index.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/clients/commerce/index.d.ts +10 -1
- package/dist/esm/src/platforms/vtex/clients/commerce/index.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/clients/commerce/index.js +32 -4
- package/dist/esm/src/platforms/vtex/clients/commerce/index.js.map +1 -1
- package/dist/esm/src/platforms/vtex/clients/index.d.ts +9 -0
- package/dist/esm/src/platforms/vtex/clients/index.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/index.d.ts +18 -0
- package/dist/esm/src/platforms/vtex/index.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/mutation.d.ts +3 -0
- package/dist/esm/src/platforms/vtex/resolvers/mutation.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/mutation.js +2 -0
- package/dist/esm/src/platforms/vtex/resolvers/mutation.js.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts +6 -0
- package/dist/esm/src/platforms/vtex/resolvers/processOrderAuthorization.d.ts.map +1 -0
- package/dist/esm/src/platforms/vtex/resolvers/processOrderAuthorization.js +14 -0
- package/dist/esm/src/platforms/vtex/resolvers/processOrderAuthorization.js.map +1 -0
- package/dist/esm/src/platforms/vtex/resolvers/query.d.ts +14 -1
- package/dist/esm/src/platforms/vtex/resolvers/query.d.ts.map +1 -1
- package/dist/esm/src/platforms/vtex/resolvers/query.js +64 -0
- package/dist/esm/src/platforms/vtex/resolvers/query.js.map +1 -1
- package/dist/esm/src/platforms/vtex/utils/commercialAuth.d.ts +12 -0
- package/dist/esm/src/platforms/vtex/utils/commercialAuth.d.ts.map +1 -0
- package/dist/esm/src/platforms/vtex/utils/commercialAuth.js +39 -0
- package/dist/esm/src/platforms/vtex/utils/commercialAuth.js.map +1 -0
- package/dist/esm/src/typeDefs/mutation.graphql +6 -0
- package/dist/esm/src/typeDefs/orderCommercialAuthorizaton.graphql +399 -0
- package/dist/esm/src/typeDefs/query.graphql +43 -0
- package/dist/esm/src/typeDefs/userOrder.graphql +4 -0
- package/package.json +2 -2
- package/src/__generated__/schema.ts +268 -0
- package/src/platforms/vtex/clients/commerce/index.ts +65 -4
- package/src/platforms/vtex/resolvers/mutation.ts +2 -0
- package/src/platforms/vtex/resolvers/processOrderAuthorization.ts +30 -0
- package/src/platforms/vtex/resolvers/query.ts +87 -0
- package/src/platforms/vtex/utils/commercialAuth.ts +55 -0
- package/src/typeDefs/mutation.graphql +6 -0
- package/src/typeDefs/orderCommercialAuthorizaton.graphql +399 -0
- package/src/typeDefs/query.graphql +43 -0
- package/src/typeDefs/userOrder.graphql +4 -0
package/dist/cjs/package.json
CHANGED
|
@@ -133,6 +133,189 @@ export type AvailableDeliveryWindows = {
|
|
|
133
133
|
/** Available delivery window tax */
|
|
134
134
|
tax?: Maybe<Scalars['Int']>;
|
|
135
135
|
};
|
|
136
|
+
/** Commercial Authorization dimension status. */
|
|
137
|
+
export type CommercialAuthorizationDimensionStatus = {
|
|
138
|
+
__typename?: 'CommercialAuthorizationDimensionStatus';
|
|
139
|
+
/** Creation date. */
|
|
140
|
+
creationDate: Scalars['String'];
|
|
141
|
+
/** Creation environment. */
|
|
142
|
+
creationEnvironment: Scalars['String'];
|
|
143
|
+
/** Creation version. */
|
|
144
|
+
creationVersion: Scalars['String'];
|
|
145
|
+
/** Dimension status ID. */
|
|
146
|
+
id: Scalars['String'];
|
|
147
|
+
/** Dimension status name. */
|
|
148
|
+
name: Scalars['String'];
|
|
149
|
+
/** Priority level. */
|
|
150
|
+
priority: Scalars['Int'];
|
|
151
|
+
/** Indicates if all rules acceptance is required. */
|
|
152
|
+
requireAllRulesAcceptance: Scalars['Boolean'];
|
|
153
|
+
/** Collection of rules for this dimension. */
|
|
154
|
+
ruleCollection: Array<CommercialAuthorizationRule>;
|
|
155
|
+
/** Dimension score. */
|
|
156
|
+
score: Scalars['Float'];
|
|
157
|
+
/** Indicates if simulation should be performed. */
|
|
158
|
+
shouldSimulate: Scalars['Boolean'];
|
|
159
|
+
/** Current status of the dimension. */
|
|
160
|
+
status: CommercialAuthorizationStatus;
|
|
161
|
+
/** Unit ID, if applicable. */
|
|
162
|
+
unitId?: Maybe<Scalars['String']>;
|
|
163
|
+
};
|
|
164
|
+
/** Commercial Authorization item. */
|
|
165
|
+
export type CommercialAuthorizationItem = {
|
|
166
|
+
__typename?: 'CommercialAuthorizationItem';
|
|
167
|
+
/** Additional information as key-value pairs. */
|
|
168
|
+
additionalInfo: Scalars['JSONObject'];
|
|
169
|
+
/** Item ID. */
|
|
170
|
+
id: Scalars['String'];
|
|
171
|
+
/** Item price. */
|
|
172
|
+
price: Scalars['Float'];
|
|
173
|
+
/** Item quantity. */
|
|
174
|
+
quantity: Scalars['Int'];
|
|
175
|
+
/** Item SKU. */
|
|
176
|
+
sku: Scalars['String'];
|
|
177
|
+
/** Total manual discount applied. */
|
|
178
|
+
totalManualDiscount: Scalars['Float'];
|
|
179
|
+
/** Total system discount applied. */
|
|
180
|
+
totalSystemDiscount: Scalars['Float'];
|
|
181
|
+
};
|
|
182
|
+
/** Commercial Authorization response. */
|
|
183
|
+
export type CommercialAuthorizationResponse = {
|
|
184
|
+
__typename?: 'CommercialAuthorizationResponse';
|
|
185
|
+
/** Additional information as key-value pairs. */
|
|
186
|
+
additionalInfo: Scalars['JSONObject'];
|
|
187
|
+
/** Callback endpoint URL. */
|
|
188
|
+
callbackEndpoint: Scalars['String'];
|
|
189
|
+
/** Creation environment. */
|
|
190
|
+
creationEnvironment: Scalars['String'];
|
|
191
|
+
/** Creation version. */
|
|
192
|
+
creationVersion: Scalars['String'];
|
|
193
|
+
/** Dimension status information. */
|
|
194
|
+
dimensionStatus: Array<CommercialAuthorizationDimensionStatus>;
|
|
195
|
+
/** Commercial Authorization ID. */
|
|
196
|
+
id: Scalars['String'];
|
|
197
|
+
/** Collection of items in the commercial authorization. */
|
|
198
|
+
itemCollection: Array<CommercialAuthorizationItem>;
|
|
199
|
+
/** Marketplace payment value. */
|
|
200
|
+
marketPlacePaymentValue: Scalars['Float'];
|
|
201
|
+
/** Order ID associated with the commercial authorization. */
|
|
202
|
+
orderId: Scalars['String'];
|
|
203
|
+
/** Current status of the commercial authorization. */
|
|
204
|
+
status: CommercialAuthorizationStatus;
|
|
205
|
+
/** Total order value desired by the seller. */
|
|
206
|
+
totalOrderValueDesiredBySeller: Scalars['Float'];
|
|
207
|
+
/** List of units. */
|
|
208
|
+
units: Array<Scalars['String']>;
|
|
209
|
+
/** User profile ID. */
|
|
210
|
+
userProfileId: Scalars['String'];
|
|
211
|
+
/** Workflow instance ID. */
|
|
212
|
+
workflowInstanceId: Scalars['String'];
|
|
213
|
+
};
|
|
214
|
+
/** Commercial Authorization rule. */
|
|
215
|
+
export type CommercialAuthorizationRule = {
|
|
216
|
+
__typename?: 'CommercialAuthorizationRule';
|
|
217
|
+
/** Authorization data, if available. */
|
|
218
|
+
authorizationData?: Maybe<CommercialAuthorizationRuleAuthorizationData>;
|
|
219
|
+
/** List of authorized email addresses. */
|
|
220
|
+
authorizedEmails: Array<Scalars['String']>;
|
|
221
|
+
/** DO ID, if applicable. */
|
|
222
|
+
doId?: Maybe<Scalars['String']>;
|
|
223
|
+
/** Rule ID. */
|
|
224
|
+
id: Scalars['String'];
|
|
225
|
+
/**
|
|
226
|
+
* Indicates that the user is listed as one of the possible approvers,
|
|
227
|
+
* but does not necessarily mean that he or she is the next in the chain to approve.
|
|
228
|
+
*/
|
|
229
|
+
isUserAuthorized: Scalars['Boolean'];
|
|
230
|
+
/**
|
|
231
|
+
* Indicates that the user is next in the approval chain.
|
|
232
|
+
* This means that they must take an approval or rejection action.
|
|
233
|
+
*/
|
|
234
|
+
isUserNextAuthorizer: Scalars['Boolean'];
|
|
235
|
+
/** Rule name. */
|
|
236
|
+
name: Scalars['String'];
|
|
237
|
+
/** Indicates if notification is enabled. */
|
|
238
|
+
notification: Scalars['Boolean'];
|
|
239
|
+
/** Rule priority. */
|
|
240
|
+
priority: Scalars['Int'];
|
|
241
|
+
/** Score interval configuration. */
|
|
242
|
+
scoreInterval: CommercialAuthorizationRuleScoreInterval;
|
|
243
|
+
/** Current status of the rule. */
|
|
244
|
+
status: CommercialAuthorizationStatus;
|
|
245
|
+
/** Timeout value. */
|
|
246
|
+
timeout: Scalars['Int'];
|
|
247
|
+
/** Rule trigger configuration. */
|
|
248
|
+
trigger: CommercialAuthorizationRuleTrigger;
|
|
249
|
+
};
|
|
250
|
+
/** Commercial Authorization rule authorization data. */
|
|
251
|
+
export type CommercialAuthorizationRuleAuthorizationData = {
|
|
252
|
+
__typename?: 'CommercialAuthorizationRuleAuthorizationData';
|
|
253
|
+
/** List of authorizers. */
|
|
254
|
+
authorizers: Array<CommercialAuthorizationRuleAuthorizer>;
|
|
255
|
+
/** Indicates if all approvals are required. */
|
|
256
|
+
requireAllApprovals: Scalars['Boolean'];
|
|
257
|
+
};
|
|
258
|
+
/** Commercial Authorization rule authorizer. */
|
|
259
|
+
export type CommercialAuthorizationRuleAuthorizer = {
|
|
260
|
+
__typename?: 'CommercialAuthorizationRuleAuthorizer';
|
|
261
|
+
/** Authorization date. */
|
|
262
|
+
authorizationDate?: Maybe<Scalars['String']>;
|
|
263
|
+
/** Authorizer email. */
|
|
264
|
+
email?: Maybe<Scalars['String']>;
|
|
265
|
+
/** Authorizer ID. */
|
|
266
|
+
id: Scalars['String'];
|
|
267
|
+
/** Authorizer type. */
|
|
268
|
+
type: Scalars['String'];
|
|
269
|
+
};
|
|
270
|
+
/** Commercial Authorization rule score interval. */
|
|
271
|
+
export type CommercialAuthorizationRuleScoreInterval = {
|
|
272
|
+
__typename?: 'CommercialAuthorizationRuleScoreInterval';
|
|
273
|
+
/** Accept score threshold. */
|
|
274
|
+
accept: Scalars['Float'];
|
|
275
|
+
/** Deny score threshold. */
|
|
276
|
+
deny: Scalars['Float'];
|
|
277
|
+
};
|
|
278
|
+
/** Commercial Authorization rule trigger. */
|
|
279
|
+
export type CommercialAuthorizationRuleTrigger = {
|
|
280
|
+
__typename?: 'CommercialAuthorizationRuleTrigger';
|
|
281
|
+
/** Trigger condition. */
|
|
282
|
+
condition: CommercialAuthorizationRuleTriggerCondition;
|
|
283
|
+
/** Trigger effect. */
|
|
284
|
+
effect: CommercialAuthorizationRuleTriggerEffect;
|
|
285
|
+
};
|
|
286
|
+
/** Commercial Authorization rule trigger condition. */
|
|
287
|
+
export type CommercialAuthorizationRuleTriggerCondition = {
|
|
288
|
+
__typename?: 'CommercialAuthorizationRuleTriggerCondition';
|
|
289
|
+
/** Condition type. */
|
|
290
|
+
conditionType: Scalars['Int'];
|
|
291
|
+
/** Condition description. */
|
|
292
|
+
description?: Maybe<Scalars['String']>;
|
|
293
|
+
/** Condition expression. */
|
|
294
|
+
expression?: Maybe<Scalars['String']>;
|
|
295
|
+
/** Greater than value. */
|
|
296
|
+
greatherThan?: Maybe<Scalars['Float']>;
|
|
297
|
+
/** Less than value. */
|
|
298
|
+
lessThan?: Maybe<Scalars['Float']>;
|
|
299
|
+
};
|
|
300
|
+
/** Commercial Authorization rule trigger effect. */
|
|
301
|
+
export type CommercialAuthorizationRuleTriggerEffect = {
|
|
302
|
+
__typename?: 'CommercialAuthorizationRuleTriggerEffect';
|
|
303
|
+
/** Effect description. */
|
|
304
|
+
description?: Maybe<Scalars['String']>;
|
|
305
|
+
/** Effect type. */
|
|
306
|
+
effectType: Scalars['Int'];
|
|
307
|
+
/** Function path. */
|
|
308
|
+
funcPath?: Maybe<Scalars['String']>;
|
|
309
|
+
};
|
|
310
|
+
/** Commercial Authorization status. */
|
|
311
|
+
export declare const enum CommercialAuthorizationStatus {
|
|
312
|
+
/** Authorization has been accepted. */
|
|
313
|
+
Accepted = "accepted",
|
|
314
|
+
/** Authorization has been denied. */
|
|
315
|
+
Denied = "denied",
|
|
316
|
+
/** Authorization is pending. */
|
|
317
|
+
Pending = "pending"
|
|
318
|
+
}
|
|
136
319
|
export type DeliveryIds = {
|
|
137
320
|
__typename?: 'DeliveryIds';
|
|
138
321
|
/** DeliveryIds courier id */
|
|
@@ -146,6 +329,11 @@ export type DeliveryIds = {
|
|
|
146
329
|
/** DeliveryIds warehouse id */
|
|
147
330
|
warehouseId?: Maybe<Scalars['String']>;
|
|
148
331
|
};
|
|
332
|
+
/** Input to get commercial authorizations by order ID. */
|
|
333
|
+
export type ICommercialAuthorizationByOrderId = {
|
|
334
|
+
/** Order ID to get commercial authorizations for. */
|
|
335
|
+
orderId: Scalars['String'];
|
|
336
|
+
};
|
|
149
337
|
export type IGeoCoordinates = {
|
|
150
338
|
/** The latitude of the geographic coordinates. */
|
|
151
339
|
latitude: Scalars['Float'];
|
|
@@ -159,6 +347,17 @@ export type IPersonNewsletter = {
|
|
|
159
347
|
/** Person's name. */
|
|
160
348
|
name: Scalars['String'];
|
|
161
349
|
};
|
|
350
|
+
/** Input to process order authorization (approve or reject). */
|
|
351
|
+
export type IProcessOrderAuthorization = {
|
|
352
|
+
/** Whether the authorization is approved (true) or rejected (false). */
|
|
353
|
+
approved: Scalars['Boolean'];
|
|
354
|
+
/** Dimension ID associated with the authorization. */
|
|
355
|
+
dimensionId: Scalars['String'];
|
|
356
|
+
/** Order authorization ID. */
|
|
357
|
+
orderAuthorizationId: Scalars['String'];
|
|
358
|
+
/** Rule ID associated with the authorization. */
|
|
359
|
+
ruleId: Scalars['String'];
|
|
360
|
+
};
|
|
162
361
|
/** Shipping Simulation item input. */
|
|
163
362
|
export type IShippingItem = {
|
|
164
363
|
/** ShippingItem ID / Sku. */
|
|
@@ -392,6 +591,8 @@ export type Mutation = {
|
|
|
392
591
|
__typename?: 'Mutation';
|
|
393
592
|
/** Cancels user order */
|
|
394
593
|
cancelOrder?: Maybe<UserOrderCancel>;
|
|
594
|
+
/** Process Order Authorization */
|
|
595
|
+
processOrderAuthorization?: Maybe<ProcessOrderAuthorizationResponse>;
|
|
395
596
|
/** Subscribes a new person to the newsletter list. */
|
|
396
597
|
subscribeToNewsletter?: Maybe<PersonNewsletter>;
|
|
397
598
|
/** Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`. */
|
|
@@ -402,6 +603,9 @@ export type Mutation = {
|
|
|
402
603
|
export type MutationCancelOrderArgs = {
|
|
403
604
|
data: IUserOrderCancel;
|
|
404
605
|
};
|
|
606
|
+
export type MutationProcessOrderAuthorizationArgs = {
|
|
607
|
+
data: IProcessOrderAuthorization;
|
|
608
|
+
};
|
|
405
609
|
export type MutationSubscribeToNewsletterArgs = {
|
|
406
610
|
data: IPersonNewsletter;
|
|
407
611
|
};
|
|
@@ -461,6 +665,24 @@ export type PickupStoreInfo = {
|
|
|
461
665
|
/** Information if the store has pickup enable. */
|
|
462
666
|
isPickupStore?: Maybe<Scalars['Boolean']>;
|
|
463
667
|
};
|
|
668
|
+
/** Process Order Authorization response. */
|
|
669
|
+
export type ProcessOrderAuthorizationResponse = {
|
|
670
|
+
__typename?: 'ProcessOrderAuthorizationResponse';
|
|
671
|
+
/** Indicates if authorization is pending for other authorizers. */
|
|
672
|
+
isPendingForOtherAuthorizer: Scalars['Boolean'];
|
|
673
|
+
/** The updated rule for authorization, if any. */
|
|
674
|
+
ruleForAuthorization?: Maybe<ProcessOrderAuthorizationRule>;
|
|
675
|
+
};
|
|
676
|
+
/** Extended Commercial Authorization rule with additional process context. */
|
|
677
|
+
export type ProcessOrderAuthorizationRule = {
|
|
678
|
+
__typename?: 'ProcessOrderAuthorizationRule';
|
|
679
|
+
/** Dimension ID. */
|
|
680
|
+
dimensionId: Scalars['String'];
|
|
681
|
+
/** Order authorization ID. */
|
|
682
|
+
orderAuthorizationId: Scalars['String'];
|
|
683
|
+
/** Base rule information. */
|
|
684
|
+
rule: CommercialAuthorizationRule;
|
|
685
|
+
};
|
|
464
686
|
export type ProductCountResult = {
|
|
465
687
|
__typename?: 'ProductCountResult';
|
|
466
688
|
/** Total product count. */
|
|
@@ -504,6 +726,8 @@ export type Query = {
|
|
|
504
726
|
__typename?: 'Query';
|
|
505
727
|
/** Returns the account name of the current user or the B2B contract name if applicable. */
|
|
506
728
|
accountName?: Maybe<Scalars['String']>;
|
|
729
|
+
/** Returns the account profile information for the current authenticated user (b2b or b2c user). */
|
|
730
|
+
accountProfile: StoreAccountProfile;
|
|
507
731
|
/** Returns information about all collections. */
|
|
508
732
|
allCollections: StoreCollectionConnection;
|
|
509
733
|
/** Returns information about all products. */
|
|
@@ -526,6 +750,8 @@ export type Query = {
|
|
|
526
750
|
sellers?: Maybe<SellersData>;
|
|
527
751
|
/** Returns information about shipping simulation. */
|
|
528
752
|
shipping?: Maybe<ShippingData>;
|
|
753
|
+
/** Returns information about the current user details. */
|
|
754
|
+
userDetails: StoreUserDetails;
|
|
529
755
|
/** Returns information about the Details of an User Order. */
|
|
530
756
|
userOrder?: Maybe<UserOrderResult>;
|
|
531
757
|
/** Returns information about the user validation. */
|
|
@@ -692,6 +918,13 @@ export type SkuVariantsAvailableVariationsArgs = {
|
|
|
692
918
|
export type SkuVariantsSlugsMapArgs = {
|
|
693
919
|
dominantVariantName?: Maybe<Scalars['String']>;
|
|
694
920
|
};
|
|
921
|
+
/** Account profile information. */
|
|
922
|
+
export type StoreAccountProfile = {
|
|
923
|
+
__typename?: 'StoreAccountProfile';
|
|
924
|
+
email?: Maybe<Scalars['String']>;
|
|
925
|
+
id?: Maybe<Scalars['String']>;
|
|
926
|
+
name?: Maybe<Scalars['String']>;
|
|
927
|
+
};
|
|
695
928
|
/** Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers. */
|
|
696
929
|
export type StoreAggregateOffer = {
|
|
697
930
|
__typename?: 'StoreAggregateOffer';
|
|
@@ -1216,6 +1449,18 @@ export type StoreSuggestions = {
|
|
|
1216
1449
|
/** Array with suggestion terms. */
|
|
1217
1450
|
terms: Array<StoreSuggestionTerm>;
|
|
1218
1451
|
};
|
|
1452
|
+
/** User details information. */
|
|
1453
|
+
export type StoreUserDetails = {
|
|
1454
|
+
__typename?: 'StoreUserDetails';
|
|
1455
|
+
/** User's email. */
|
|
1456
|
+
email?: Maybe<Scalars['String']>;
|
|
1457
|
+
/** User's name. */
|
|
1458
|
+
name?: Maybe<Scalars['String']>;
|
|
1459
|
+
/** User's organizational unit. */
|
|
1460
|
+
orgUnit?: Maybe<Scalars['String']>;
|
|
1461
|
+
/** User's role. */
|
|
1462
|
+
role?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
1463
|
+
};
|
|
1219
1464
|
export type UserOrder = {
|
|
1220
1465
|
__typename?: 'UserOrder';
|
|
1221
1466
|
affiliateId?: Maybe<Scalars['String']>;
|
|
@@ -1223,6 +1468,7 @@ export type UserOrder = {
|
|
|
1223
1468
|
allowEdition?: Maybe<Scalars['Boolean']>;
|
|
1224
1469
|
authorizedDate?: Maybe<Scalars['String']>;
|
|
1225
1470
|
callCenterOperatorData?: Maybe<Scalars['String']>;
|
|
1471
|
+
canProcessOrderAuthorization?: Maybe<Scalars['Boolean']>;
|
|
1226
1472
|
cancelReason?: Maybe<Scalars['String']>;
|
|
1227
1473
|
cancellationData?: Maybe<UserOrderCancellationData>;
|
|
1228
1474
|
cancellationRequests?: Maybe<Array<Maybe<UserOrderCancellationRequest>>>;
|
|
@@ -1261,6 +1507,7 @@ export type UserOrder = {
|
|
|
1261
1507
|
paymentData?: Maybe<UserOrderPaymentData>;
|
|
1262
1508
|
ratesAndBenefitsData?: Maybe<UserOrderRatesAndBenefitsData>;
|
|
1263
1509
|
roundingError?: Maybe<Scalars['Int']>;
|
|
1510
|
+
ruleForAuthorization?: Maybe<ProcessOrderAuthorizationRule>;
|
|
1264
1511
|
salesChannel?: Maybe<Scalars['String']>;
|
|
1265
1512
|
sellerOrderId?: Maybe<Scalars['String']>;
|
|
1266
1513
|
sellers?: Maybe<Array<Maybe<UserOrderStoreSellers>>>;
|
|
@@ -1869,6 +2116,7 @@ export type UserOrderRestitutions = {
|
|
|
1869
2116
|
export type UserOrderResult = {
|
|
1870
2117
|
__typename?: 'UserOrderResult';
|
|
1871
2118
|
allowCancellation?: Maybe<Scalars['Boolean']>;
|
|
2119
|
+
canProcessOrderAuthorization?: Maybe<Scalars['Boolean']>;
|
|
1872
2120
|
clientProfileData?: Maybe<UserOrderClientProfileData>;
|
|
1873
2121
|
customData?: Maybe<UserOrderCustomData>;
|
|
1874
2122
|
customFields?: Maybe<Array<Maybe<UserOrderCustomFieldsGrouped>>>;
|
|
@@ -1876,6 +2124,7 @@ export type UserOrderResult = {
|
|
|
1876
2124
|
items?: Maybe<Array<Maybe<UserOrderItems>>>;
|
|
1877
2125
|
orderId?: Maybe<Scalars['String']>;
|
|
1878
2126
|
paymentData?: Maybe<UserOrderPaymentData>;
|
|
2127
|
+
ruleForAuthorization?: Maybe<ProcessOrderAuthorizationRule>;
|
|
1879
2128
|
shippingData?: Maybe<UserOrderShippingData>;
|
|
1880
2129
|
status?: Maybe<Scalars['String']>;
|
|
1881
2130
|
statusDescription?: Maybe<Scalars['String']>;
|