@restorecommerce/facade 0.3.2 → 0.3.5
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/CHANGELOG.md +31 -0
- package/codegen/index.js +1 -1
- package/dist/gql/helpers/schema.d.ts +2 -6
- package/dist/gql/index.js +5 -1
- package/dist/gql/protos/graphql.d.ts +5 -7
- package/dist/gql/protos/graphql.js +44 -45
- package/dist/gql/protos/index.js +5 -1
- package/dist/gql/protos/protos.d.ts +1 -1
- package/dist/gql/protos/protos.js +4 -4
- package/dist/gql/protos/registry.d.ts +1 -1
- package/dist/gql/protos/registry.js +38 -38
- package/dist/gql/protos/types.d.ts +1 -1
- package/dist/gql/protos/utils.d.ts +0 -14
- package/dist/gql/protos/utils.js +16 -40
- package/dist/gql/types/AccessControlTypes.js +2 -2
- package/dist/gql/types/DateType.d.ts +1 -1
- package/dist/gql/types/index.js +5 -1
- package/dist/index.js +13 -6
- package/dist/middlewares/index.js +5 -1
- package/dist/middlewares/req-res-logger/index.js +2 -2
- package/dist/modules/access-control/gql/federation.js +4 -3
- package/dist/modules/access-control/gql/schema.generated.d.ts +135 -94
- package/dist/modules/access-control/gql/schema.js +2 -2
- package/dist/modules/access-control/gql/types.js +1 -1
- package/dist/modules/access-control/grpc/index.js +4 -4
- package/dist/modules/access-control/index.js +2 -2
- package/dist/modules/catalog/gql/federation.js +4 -3
- package/dist/modules/catalog/gql/schema.generated.d.ts +185 -130
- package/dist/modules/catalog/gql/schema.js +2 -2
- package/dist/modules/catalog/gql/types.js +1 -1
- package/dist/modules/catalog/grpc/index.js +5 -5
- package/dist/modules/catalog/index.js +2 -2
- package/dist/modules/facade-status/gql/index.js +2 -2
- package/dist/modules/facade-status/gql/schema.generated.d.ts +6 -7
- package/dist/modules/facade-status/gql/types.js +1 -1
- package/dist/modules/facade-status/index.js +1 -1
- package/dist/modules/fulfillment/gql/federation.js +4 -3
- package/dist/modules/fulfillment/gql/schema.generated.d.ts +180 -123
- package/dist/modules/fulfillment/gql/schema.js +2 -2
- package/dist/modules/fulfillment/gql/types.js +1 -1
- package/dist/modules/fulfillment/grpc/index.js +2 -2
- package/dist/modules/fulfillment/index.js +2 -2
- package/dist/modules/identity/api-key/api-key.js +1 -1
- package/dist/modules/identity/gql/federation.js +4 -3
- package/dist/modules/identity/gql/schema.generated.d.ts +251 -172
- package/dist/modules/identity/gql/schema.js +2 -2
- package/dist/modules/identity/gql/types.js +1 -1
- package/dist/modules/identity/grpc/index.js +5 -5
- package/dist/modules/identity/index.js +5 -5
- package/dist/modules/identity/oauth/oauth.js +11 -11
- package/dist/modules/identity/oidc/adapter.js +2 -2
- package/dist/modules/identity/oidc/in-memory-adapter.js +10 -6
- package/dist/modules/identity/oidc/index.js +6 -6
- package/dist/modules/identity/oidc/password-grant.js +4 -4
- package/dist/modules/identity/oidc/user.js +2 -2
- package/dist/modules/identity/oidc/utils.js +1 -1
- package/dist/modules/index.js +5 -1
- package/dist/modules/indexing/gql/federation.js +4 -3
- package/dist/modules/indexing/gql/schema.generated.d.ts +12 -13
- package/dist/modules/indexing/gql/schema.js +2 -2
- package/dist/modules/indexing/gql/types.js +1 -1
- package/dist/modules/indexing/grpc/index.js +1 -1
- package/dist/modules/indexing/index.js +2 -2
- package/dist/modules/invoicing/gql/federation.js +4 -3
- package/dist/modules/invoicing/gql/schema.generated.d.ts +89 -64
- package/dist/modules/invoicing/gql/schema.js +2 -2
- package/dist/modules/invoicing/gql/types.js +1 -1
- package/dist/modules/invoicing/grpc/index.js +1 -1
- package/dist/modules/invoicing/index.js +2 -2
- package/dist/modules/notification/gql/federation.js +4 -3
- package/dist/modules/notification/gql/schema.generated.d.ts +87 -62
- package/dist/modules/notification/gql/schema.js +2 -2
- package/dist/modules/notification/gql/types.js +1 -1
- package/dist/modules/notification/grpc/index.js +1 -1
- package/dist/modules/notification/index.js +2 -2
- package/dist/modules/ordering/gql/federation.js +4 -3
- package/dist/modules/ordering/gql/schema.generated.d.ts +130 -95
- package/dist/modules/ordering/gql/schema.js +2 -2
- package/dist/modules/ordering/gql/types.js +1 -1
- package/dist/modules/ordering/grpc/index.js +1 -1
- package/dist/modules/ordering/index.js +2 -2
- package/dist/modules/ostorage/gql/federation.js +4 -3
- package/dist/modules/ostorage/gql/schema.generated.d.ts +91 -64
- package/dist/modules/ostorage/gql/schema.js +2 -2
- package/dist/modules/ostorage/gql/types.js +1 -1
- package/dist/modules/ostorage/grpc/index.js +1 -1
- package/dist/modules/ostorage/index.js +2 -2
- package/dist/modules/payment/gql/federation.js +4 -3
- package/dist/modules/payment/gql/schema.generated.d.ts +40 -35
- package/dist/modules/payment/gql/schema.js +2 -2
- package/dist/modules/payment/gql/types.js +1 -1
- package/dist/modules/payment/grpc/index.js +1 -1
- package/dist/modules/payment/index.js +2 -2
- package/dist/modules/resource/gql/federation.js +4 -3
- package/dist/modules/resource/gql/schema.generated.d.ts +263 -182
- package/dist/modules/resource/gql/schema.js +2 -2
- package/dist/modules/resource/gql/types.js +1 -1
- package/dist/modules/resource/grpc/index.js +12 -12
- package/dist/modules/resource/index.js +2 -2
- package/dist/modules/scheduling/gql/federation.js +4 -3
- package/dist/modules/scheduling/gql/schema.generated.d.ts +83 -58
- package/dist/modules/scheduling/gql/schema.js +2 -2
- package/dist/modules/scheduling/gql/types.js +1 -1
- package/dist/modules/scheduling/grpc/index.js +1 -1
- package/dist/modules/scheduling/index.js +2 -2
- package/package.json +42 -42
@@ -1,6 +1,7 @@
|
|
1
1
|
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
2
2
|
import { IdentityContext } from '../interfaces';
|
3
3
|
export declare type Maybe<T> = T | undefined;
|
4
|
+
export declare type InputMaybe<T> = T | undefined;
|
4
5
|
export declare type Exact<T extends {
|
5
6
|
[key: string]: unknown;
|
6
7
|
}> = {
|
@@ -12,9 +13,7 @@ export declare type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
12
13
|
export declare type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
13
14
|
[SubKey in K]: Maybe<T[SubKey]>;
|
14
15
|
};
|
15
|
-
export declare type RequireFields<T, K extends keyof T> = {
|
16
|
-
[X in Exclude<keyof T, K>]?: T[X];
|
17
|
-
} & {
|
16
|
+
export declare type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
18
17
|
[P in K]-?: NonNullable<T[P]>;
|
19
18
|
};
|
20
19
|
/** All built-in and custom scalars, mapped to their actual values */
|
@@ -172,19 +171,23 @@ export declare type IoRestorecommerceStatusOperationStatus = {
|
|
172
171
|
message?: Maybe<Scalars['String']>;
|
173
172
|
};
|
174
173
|
export declare type IIoRestorecommerceResourcebaseReadRequest = {
|
175
|
-
offset?:
|
176
|
-
limit?:
|
177
|
-
sort?:
|
178
|
-
filters?:
|
179
|
-
field?:
|
180
|
-
search?:
|
181
|
-
localesLimiter?:
|
182
|
-
customQueries?:
|
183
|
-
customArguments?:
|
174
|
+
offset?: InputMaybe<Scalars['Int']>;
|
175
|
+
limit?: InputMaybe<Scalars['Int']>;
|
176
|
+
sort?: InputMaybe<Array<IIoRestorecommerceResourcebaseSort>>;
|
177
|
+
filters?: InputMaybe<Array<IIoRestorecommerceResourcebaseFilterOp>>;
|
178
|
+
field?: InputMaybe<Array<IIoRestorecommerceResourcebaseFieldFilter>>;
|
179
|
+
search?: InputMaybe<Array<Scalars['String']>>;
|
180
|
+
localesLimiter?: InputMaybe<Array<Scalars['String']>>;
|
181
|
+
customQueries?: InputMaybe<Array<Scalars['String']>>;
|
182
|
+
customArguments?: InputMaybe<IGoogleProtobufAny>;
|
183
|
+
/** target scope */
|
184
|
+
scope?: InputMaybe<Scalars['String']>;
|
184
185
|
};
|
185
186
|
export declare type IIoRestorecommerceResourcebaseSort = {
|
186
|
-
field?:
|
187
|
-
order?:
|
187
|
+
field?: InputMaybe<Scalars['String']>;
|
188
|
+
order?: InputMaybe<IoRestorecommerceResourcebaseSortSortOrder>;
|
189
|
+
/** target scope */
|
190
|
+
scope?: InputMaybe<Scalars['String']>;
|
188
191
|
};
|
189
192
|
export declare enum IoRestorecommerceResourcebaseSortSortOrder {
|
190
193
|
Unsorted = 0,
|
@@ -192,15 +195,19 @@ export declare enum IoRestorecommerceResourcebaseSortSortOrder {
|
|
192
195
|
Descending = 2
|
193
196
|
}
|
194
197
|
export declare type IIoRestorecommerceResourcebaseFilterOp = {
|
195
|
-
filter?:
|
196
|
-
operator?:
|
198
|
+
filter?: InputMaybe<Array<IIoRestorecommerceResourcebaseFilter>>;
|
199
|
+
operator?: InputMaybe<IoRestorecommerceResourcebaseFilterOpOperator>;
|
200
|
+
/** target scope */
|
201
|
+
scope?: InputMaybe<Scalars['String']>;
|
197
202
|
};
|
198
203
|
export declare type IIoRestorecommerceResourcebaseFilter = {
|
199
|
-
field?:
|
200
|
-
operation?:
|
201
|
-
value?:
|
202
|
-
type?:
|
203
|
-
filters?:
|
204
|
+
field?: InputMaybe<Scalars['String']>;
|
205
|
+
operation?: InputMaybe<IoRestorecommerceResourcebaseFilterOperation>;
|
206
|
+
value?: InputMaybe<Scalars['String']>;
|
207
|
+
type?: InputMaybe<IoRestorecommerceResourcebaseFilterValueType>;
|
208
|
+
filters?: InputMaybe<Array<IIoRestorecommerceFilterFilterOp>>;
|
209
|
+
/** target scope */
|
210
|
+
scope?: InputMaybe<Scalars['String']>;
|
204
211
|
};
|
205
212
|
export declare enum IoRestorecommerceResourcebaseFilterOperation {
|
206
213
|
Eq = 0,
|
@@ -221,15 +228,19 @@ export declare enum IoRestorecommerceResourcebaseFilterValueType {
|
|
221
228
|
Array = 4
|
222
229
|
}
|
223
230
|
export declare type IIoRestorecommerceFilterFilterOp = {
|
224
|
-
filter?:
|
225
|
-
operator?:
|
231
|
+
filter?: InputMaybe<Array<IIoRestorecommerceFilterFilter>>;
|
232
|
+
operator?: InputMaybe<IoRestorecommerceFilterFilterOpOperator>;
|
233
|
+
/** target scope */
|
234
|
+
scope?: InputMaybe<Scalars['String']>;
|
226
235
|
};
|
227
236
|
export declare type IIoRestorecommerceFilterFilter = {
|
228
|
-
field?:
|
229
|
-
operation?:
|
230
|
-
value?:
|
231
|
-
type?:
|
232
|
-
filters?:
|
237
|
+
field?: InputMaybe<Scalars['String']>;
|
238
|
+
operation?: InputMaybe<IoRestorecommerceFilterFilterOperation>;
|
239
|
+
value?: InputMaybe<Scalars['String']>;
|
240
|
+
type?: InputMaybe<IoRestorecommerceFilterFilterValueType>;
|
241
|
+
filters?: InputMaybe<Array<IIoRestorecommerceFilterFilterOp>>;
|
242
|
+
/** target scope */
|
243
|
+
scope?: InputMaybe<Scalars['String']>;
|
233
244
|
};
|
234
245
|
export declare enum IoRestorecommerceFilterFilterOperation {
|
235
246
|
Eq = 0,
|
@@ -258,33 +269,45 @@ export declare enum IoRestorecommerceResourcebaseFilterOpOperator {
|
|
258
269
|
Or = 1
|
259
270
|
}
|
260
271
|
export declare type IIoRestorecommerceResourcebaseFieldFilter = {
|
261
|
-
name?:
|
262
|
-
include?:
|
272
|
+
name?: InputMaybe<Scalars['String']>;
|
273
|
+
include?: InputMaybe<Scalars['Boolean']>;
|
274
|
+
/** target scope */
|
275
|
+
scope?: InputMaybe<Scalars['String']>;
|
263
276
|
};
|
264
277
|
export declare type IGoogleProtobufAny = {
|
265
|
-
typeUrl?:
|
266
|
-
value?:
|
278
|
+
typeUrl?: InputMaybe<Scalars['String']>;
|
279
|
+
value?: InputMaybe<Scalars['Upload']>;
|
280
|
+
/** target scope */
|
281
|
+
scope?: InputMaybe<Scalars['String']>;
|
267
282
|
};
|
268
283
|
export declare type IIoRestorecommerceUserFindRequest = {
|
269
|
-
id?:
|
270
|
-
name?:
|
271
|
-
email?:
|
284
|
+
id?: InputMaybe<Scalars['String']>;
|
285
|
+
name?: InputMaybe<Scalars['String']>;
|
286
|
+
email?: InputMaybe<Scalars['String']>;
|
287
|
+
/** target scope */
|
288
|
+
scope?: InputMaybe<Scalars['String']>;
|
272
289
|
};
|
273
290
|
export declare type IIoRestorecommerceUserFindByRoleRequest = {
|
274
|
-
role?:
|
275
|
-
attributes?:
|
291
|
+
role?: InputMaybe<Scalars['String']>;
|
292
|
+
attributes?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
293
|
+
/** target scope */
|
294
|
+
scope?: InputMaybe<Scalars['String']>;
|
276
295
|
};
|
277
296
|
export declare type IIoRestorecommerceAttributeAttribute = {
|
278
|
-
id?:
|
279
|
-
value?:
|
280
|
-
attribute?:
|
297
|
+
id?: InputMaybe<Scalars['String']>;
|
298
|
+
value?: InputMaybe<Scalars['String']>;
|
299
|
+
attribute?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
300
|
+
/** target scope */
|
301
|
+
scope?: InputMaybe<Scalars['String']>;
|
281
302
|
};
|
282
303
|
export declare type ProtoIoRestorecommerceUserUserResponse = {
|
283
304
|
__typename?: 'ProtoIoRestorecommerceUserUserResponse';
|
284
305
|
details?: Maybe<IoRestorecommerceUserUserResponse>;
|
285
306
|
};
|
286
307
|
export declare type IIoRestorecommerceUserFindByTokenRequest = {
|
287
|
-
token?:
|
308
|
+
token?: InputMaybe<Scalars['String']>;
|
309
|
+
/** target scope */
|
310
|
+
scope?: InputMaybe<Scalars['String']>;
|
288
311
|
};
|
289
312
|
export declare type IdentityRoleQuery = {
|
290
313
|
__typename?: 'IdentityRoleQuery';
|
@@ -363,8 +386,10 @@ export declare type ProtoGoogleProtobufAny = {
|
|
363
386
|
details?: Maybe<GoogleProtobufAny>;
|
364
387
|
};
|
365
388
|
export declare type IIoRestorecommerceTokenIdentifier = {
|
366
|
-
id?:
|
367
|
-
type?:
|
389
|
+
id?: InputMaybe<Scalars['String']>;
|
390
|
+
type?: InputMaybe<Scalars['String']>;
|
391
|
+
/** target scope */
|
392
|
+
scope?: InputMaybe<Scalars['String']>;
|
368
393
|
};
|
369
394
|
export declare type IdentityOauthQuery = {
|
370
395
|
__typename?: 'IdentityOauthQuery';
|
@@ -463,72 +488,86 @@ export declare type IdentityUserMutationSendActivationEmailArgs = {
|
|
463
488
|
input: IIoRestorecommerceUserSendActivationEmailRequest;
|
464
489
|
};
|
465
490
|
export declare type IIoRestorecommerceUserUserList = {
|
466
|
-
items?:
|
467
|
-
totalCount?:
|
468
|
-
mode?:
|
491
|
+
items?: InputMaybe<Array<IIoRestorecommerceUserUser>>;
|
492
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
493
|
+
mode?: InputMaybe<ModeType>;
|
494
|
+
/** target scope */
|
495
|
+
scope?: InputMaybe<Scalars['String']>;
|
469
496
|
};
|
470
497
|
export declare type IIoRestorecommerceUserUser = {
|
471
|
-
id?:
|
472
|
-
meta?:
|
473
|
-
name?:
|
474
|
-
firstName?:
|
475
|
-
lastName?:
|
476
|
-
email?:
|
477
|
-
newEmail?:
|
478
|
-
active?:
|
479
|
-
activationCode?:
|
480
|
-
password?:
|
481
|
-
passwordHash?:
|
482
|
-
roleAssociations?:
|
483
|
-
timezoneId?:
|
484
|
-
localeId?:
|
485
|
-
defaultScope?:
|
486
|
-
unauthenticated?:
|
487
|
-
guest?:
|
488
|
-
image?:
|
489
|
-
userType?:
|
490
|
-
invite?:
|
491
|
-
invitedByUserName?:
|
492
|
-
invitedByUserFirstName?:
|
493
|
-
invitedByUserLastName?:
|
494
|
-
tokens?:
|
495
|
-
lastAccess?:
|
496
|
-
data?:
|
498
|
+
id?: InputMaybe<Scalars['String']>;
|
499
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
500
|
+
name?: InputMaybe<Scalars['String']>;
|
501
|
+
firstName?: InputMaybe<Scalars['String']>;
|
502
|
+
lastName?: InputMaybe<Scalars['String']>;
|
503
|
+
email?: InputMaybe<Scalars['String']>;
|
504
|
+
newEmail?: InputMaybe<Scalars['String']>;
|
505
|
+
active?: InputMaybe<Scalars['Boolean']>;
|
506
|
+
activationCode?: InputMaybe<Scalars['String']>;
|
507
|
+
password?: InputMaybe<Scalars['String']>;
|
508
|
+
passwordHash?: InputMaybe<Scalars['String']>;
|
509
|
+
roleAssociations?: InputMaybe<Array<IIoRestorecommerceAuthRoleAssociation>>;
|
510
|
+
timezoneId?: InputMaybe<Scalars['String']>;
|
511
|
+
localeId?: InputMaybe<Scalars['String']>;
|
512
|
+
defaultScope?: InputMaybe<Scalars['String']>;
|
513
|
+
unauthenticated?: InputMaybe<Scalars['Boolean']>;
|
514
|
+
guest?: InputMaybe<Scalars['Boolean']>;
|
515
|
+
image?: InputMaybe<IIoRestorecommerceImageImage>;
|
516
|
+
userType?: InputMaybe<IoRestorecommerceUserUserType>;
|
517
|
+
invite?: InputMaybe<Scalars['Boolean']>;
|
518
|
+
invitedByUserName?: InputMaybe<Scalars['String']>;
|
519
|
+
invitedByUserFirstName?: InputMaybe<Scalars['String']>;
|
520
|
+
invitedByUserLastName?: InputMaybe<Scalars['String']>;
|
521
|
+
tokens?: InputMaybe<Array<IIoRestorecommerceAuthTokens>>;
|
522
|
+
lastAccess?: InputMaybe<Scalars['Float']>;
|
523
|
+
data?: InputMaybe<IGoogleProtobufAny>;
|
524
|
+
/** target scope */
|
525
|
+
scope?: InputMaybe<Scalars['String']>;
|
497
526
|
};
|
498
527
|
export declare type IIoRestorecommerceMetaMeta = {
|
499
|
-
created?:
|
500
|
-
modified?:
|
501
|
-
modifiedBy?:
|
502
|
-
owner?:
|
503
|
-
acl?:
|
528
|
+
created?: InputMaybe<Scalars['Float']>;
|
529
|
+
modified?: InputMaybe<Scalars['Float']>;
|
530
|
+
modifiedBy?: InputMaybe<Scalars['String']>;
|
531
|
+
owner?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
532
|
+
acl?: InputMaybe<Array<IIoRestorecommerceAttributeAttributeObj>>;
|
533
|
+
/** target scope */
|
534
|
+
scope?: InputMaybe<Scalars['String']>;
|
504
535
|
};
|
505
536
|
export declare type IIoRestorecommerceAttributeAttributeObj = {
|
506
|
-
attribute?:
|
537
|
+
attribute?: InputMaybe<IIoRestorecommerceAttributeAttribute>;
|
538
|
+
/** target scope */
|
539
|
+
scope?: InputMaybe<Scalars['String']>;
|
507
540
|
};
|
508
541
|
export declare type IIoRestorecommerceAuthRoleAssociation = {
|
509
|
-
role?:
|
510
|
-
attributes?:
|
511
|
-
id?:
|
512
|
-
created?:
|
542
|
+
role?: InputMaybe<Scalars['String']>;
|
543
|
+
attributes?: InputMaybe<Array<IIoRestorecommerceAttributeAttribute>>;
|
544
|
+
id?: InputMaybe<Scalars['String']>;
|
545
|
+
created?: InputMaybe<Scalars['Float']>;
|
546
|
+
/** target scope */
|
547
|
+
scope?: InputMaybe<Scalars['String']>;
|
513
548
|
};
|
514
549
|
export declare type IIoRestorecommerceImageImage = {
|
515
|
-
id?:
|
516
|
-
caption?:
|
517
|
-
filename?:
|
518
|
-
contentType?:
|
519
|
-
url?:
|
520
|
-
width?:
|
521
|
-
height?:
|
522
|
-
length?:
|
550
|
+
id?: InputMaybe<Scalars['String']>;
|
551
|
+
caption?: InputMaybe<Scalars['String']>;
|
552
|
+
filename?: InputMaybe<Scalars['String']>;
|
553
|
+
contentType?: InputMaybe<Scalars['String']>;
|
554
|
+
url?: InputMaybe<Scalars['String']>;
|
555
|
+
width?: InputMaybe<Scalars['Float']>;
|
556
|
+
height?: InputMaybe<Scalars['Float']>;
|
557
|
+
length?: InputMaybe<Scalars['Float']>;
|
558
|
+
/** target scope */
|
559
|
+
scope?: InputMaybe<Scalars['String']>;
|
523
560
|
};
|
524
561
|
export declare type IIoRestorecommerceAuthTokens = {
|
525
|
-
name?:
|
526
|
-
expiresIn?:
|
527
|
-
token?:
|
528
|
-
scopes?:
|
529
|
-
type?:
|
530
|
-
interactive?:
|
531
|
-
lastLogin?:
|
562
|
+
name?: InputMaybe<Scalars['String']>;
|
563
|
+
expiresIn?: InputMaybe<Scalars['Float']>;
|
564
|
+
token?: InputMaybe<Scalars['String']>;
|
565
|
+
scopes?: InputMaybe<Array<Scalars['String']>>;
|
566
|
+
type?: InputMaybe<Scalars['String']>;
|
567
|
+
interactive?: InputMaybe<Scalars['Boolean']>;
|
568
|
+
lastLogin?: InputMaybe<Scalars['Float']>;
|
569
|
+
/** target scope */
|
570
|
+
scope?: InputMaybe<Scalars['String']>;
|
532
571
|
};
|
533
572
|
export declare enum ModeType {
|
534
573
|
Create = "CREATE",
|
@@ -545,23 +584,27 @@ export declare type IoRestorecommerceResourcebaseDeleteResponse = {
|
|
545
584
|
operationStatus?: Maybe<IoRestorecommerceStatusOperationStatus>;
|
546
585
|
};
|
547
586
|
export declare type IIoRestorecommerceResourcebaseDeleteRequest = {
|
548
|
-
collection?:
|
549
|
-
ids?:
|
587
|
+
collection?: InputMaybe<Scalars['Boolean']>;
|
588
|
+
ids?: InputMaybe<Array<Scalars['String']>>;
|
589
|
+
/** target scope */
|
590
|
+
scope?: InputMaybe<Scalars['String']>;
|
550
591
|
};
|
551
592
|
export declare type IIoRestorecommerceUserRegisterRequest = {
|
552
|
-
id?:
|
553
|
-
guest?:
|
554
|
-
meta?:
|
555
|
-
name?:
|
556
|
-
firstName?:
|
557
|
-
lastName?:
|
558
|
-
email?:
|
559
|
-
password?:
|
560
|
-
timezoneId?:
|
561
|
-
localeId?:
|
562
|
-
defaultScope?:
|
563
|
-
userType?:
|
564
|
-
captchaCode?:
|
593
|
+
id?: InputMaybe<Scalars['String']>;
|
594
|
+
guest?: InputMaybe<Scalars['Boolean']>;
|
595
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
596
|
+
name?: InputMaybe<Scalars['String']>;
|
597
|
+
firstName?: InputMaybe<Scalars['String']>;
|
598
|
+
lastName?: InputMaybe<Scalars['String']>;
|
599
|
+
email?: InputMaybe<Scalars['String']>;
|
600
|
+
password?: InputMaybe<Scalars['String']>;
|
601
|
+
timezoneId?: InputMaybe<Scalars['String']>;
|
602
|
+
localeId?: InputMaybe<Scalars['String']>;
|
603
|
+
defaultScope?: InputMaybe<Scalars['String']>;
|
604
|
+
userType?: InputMaybe<IoRestorecommerceUserUserType>;
|
605
|
+
captchaCode?: InputMaybe<Scalars['String']>;
|
606
|
+
/** target scope */
|
607
|
+
scope?: InputMaybe<Scalars['String']>;
|
565
608
|
};
|
566
609
|
export declare type ProtoIoRestorecommerceStatusOperationStatusObj = {
|
567
610
|
__typename?: 'ProtoIoRestorecommerceStatusOperationStatusObj';
|
@@ -572,37 +615,53 @@ export declare type IoRestorecommerceStatusOperationStatusObj = {
|
|
572
615
|
operationStatus?: Maybe<IoRestorecommerceStatusOperationStatus>;
|
573
616
|
};
|
574
617
|
export declare type IIoRestorecommerceUserActivateRequest = {
|
575
|
-
identifier?:
|
576
|
-
activationCode?:
|
618
|
+
identifier?: InputMaybe<Scalars['String']>;
|
619
|
+
activationCode?: InputMaybe<Scalars['String']>;
|
620
|
+
/** target scope */
|
621
|
+
scope?: InputMaybe<Scalars['String']>;
|
577
622
|
};
|
578
623
|
export declare type IIoRestorecommerceUserChangePasswordRequest = {
|
579
|
-
identifier?:
|
580
|
-
password?:
|
581
|
-
newPassword?:
|
624
|
+
identifier?: InputMaybe<Scalars['String']>;
|
625
|
+
password?: InputMaybe<Scalars['String']>;
|
626
|
+
newPassword?: InputMaybe<Scalars['String']>;
|
627
|
+
/** target scope */
|
628
|
+
scope?: InputMaybe<Scalars['String']>;
|
582
629
|
};
|
583
630
|
export declare type IIoRestorecommerceUserRequestPasswordChangeRequest = {
|
584
|
-
identifier?:
|
631
|
+
identifier?: InputMaybe<Scalars['String']>;
|
632
|
+
/** target scope */
|
633
|
+
scope?: InputMaybe<Scalars['String']>;
|
585
634
|
};
|
586
635
|
export declare type IIoRestorecommerceUserChangeEmailRequest = {
|
587
|
-
identifier?:
|
588
|
-
newEmail?:
|
636
|
+
identifier?: InputMaybe<Scalars['String']>;
|
637
|
+
newEmail?: InputMaybe<Scalars['String']>;
|
638
|
+
/** target scope */
|
639
|
+
scope?: InputMaybe<Scalars['String']>;
|
589
640
|
};
|
590
641
|
export declare type IIoRestorecommerceUserConfirmPasswordChangeRequest = {
|
591
|
-
identifier?:
|
592
|
-
activationCode?:
|
593
|
-
password?:
|
642
|
+
identifier?: InputMaybe<Scalars['String']>;
|
643
|
+
activationCode?: InputMaybe<Scalars['String']>;
|
644
|
+
password?: InputMaybe<Scalars['String']>;
|
645
|
+
/** target scope */
|
646
|
+
scope?: InputMaybe<Scalars['String']>;
|
594
647
|
};
|
595
648
|
export declare type IIoRestorecommerceUserConfirmEmailChangeRequest = {
|
596
|
-
identifier?:
|
597
|
-
activationCode?:
|
649
|
+
identifier?: InputMaybe<Scalars['String']>;
|
650
|
+
activationCode?: InputMaybe<Scalars['String']>;
|
651
|
+
/** target scope */
|
652
|
+
scope?: InputMaybe<Scalars['String']>;
|
598
653
|
};
|
599
654
|
export declare type IIoRestorecommerceUserUnregisterRequest = {
|
600
|
-
identifier?:
|
655
|
+
identifier?: InputMaybe<Scalars['String']>;
|
656
|
+
/** target scope */
|
657
|
+
scope?: InputMaybe<Scalars['String']>;
|
601
658
|
};
|
602
659
|
export declare type IIoRestorecommerceUserLoginRequest = {
|
603
|
-
identifier?:
|
604
|
-
password?:
|
605
|
-
token?:
|
660
|
+
identifier?: InputMaybe<Scalars['String']>;
|
661
|
+
password?: InputMaybe<Scalars['String']>;
|
662
|
+
token?: InputMaybe<Scalars['String']>;
|
663
|
+
/** target scope */
|
664
|
+
scope?: InputMaybe<Scalars['String']>;
|
606
665
|
};
|
607
666
|
export declare type ProtoIoRestorecommerceUserDeleteUsersByOrgResponse = {
|
608
667
|
__typename?: 'ProtoIoRestorecommerceUserDeleteUsersByOrgResponse';
|
@@ -614,19 +673,27 @@ export declare type IoRestorecommerceUserDeleteUsersByOrgResponse = {
|
|
614
673
|
operationStatus?: Maybe<IoRestorecommerceStatusOperationStatus>;
|
615
674
|
};
|
616
675
|
export declare type IIoRestorecommerceUserOrgIdRequest = {
|
617
|
-
orgIds?:
|
676
|
+
orgIds?: InputMaybe<Array<Scalars['String']>>;
|
677
|
+
/** target scope */
|
678
|
+
scope?: InputMaybe<Scalars['String']>;
|
618
679
|
};
|
619
680
|
export declare type IIoRestorecommerceUserConfirmUserInvitationRequest = {
|
620
|
-
identifier?:
|
621
|
-
password?:
|
622
|
-
activationCode?:
|
681
|
+
identifier?: InputMaybe<Scalars['String']>;
|
682
|
+
password?: InputMaybe<Scalars['String']>;
|
683
|
+
activationCode?: InputMaybe<Scalars['String']>;
|
684
|
+
/** target scope */
|
685
|
+
scope?: InputMaybe<Scalars['String']>;
|
623
686
|
};
|
624
687
|
export declare type IIoRestorecommerceUserSendInvitationEmailRequest = {
|
625
|
-
identifier?:
|
626
|
-
invitedByUserIdentifier?:
|
688
|
+
identifier?: InputMaybe<Scalars['String']>;
|
689
|
+
invitedByUserIdentifier?: InputMaybe<Scalars['String']>;
|
690
|
+
/** target scope */
|
691
|
+
scope?: InputMaybe<Scalars['String']>;
|
627
692
|
};
|
628
693
|
export declare type IIoRestorecommerceUserSendActivationEmailRequest = {
|
629
|
-
identifier?:
|
694
|
+
identifier?: InputMaybe<Scalars['String']>;
|
695
|
+
/** target scope */
|
696
|
+
scope?: InputMaybe<Scalars['String']>;
|
630
697
|
};
|
631
698
|
export declare type IdentityRoleMutation = {
|
632
699
|
__typename?: 'IdentityRoleMutation';
|
@@ -640,16 +707,20 @@ export declare type IdentityRoleMutationDeleteArgs = {
|
|
640
707
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
641
708
|
};
|
642
709
|
export declare type IIoRestorecommerceRoleRoleList = {
|
643
|
-
items?:
|
644
|
-
totalCount?:
|
645
|
-
mode?:
|
710
|
+
items?: InputMaybe<Array<IIoRestorecommerceRoleRole>>;
|
711
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
712
|
+
mode?: InputMaybe<ModeType>;
|
713
|
+
/** target scope */
|
714
|
+
scope?: InputMaybe<Scalars['String']>;
|
646
715
|
};
|
647
716
|
export declare type IIoRestorecommerceRoleRole = {
|
648
|
-
id?:
|
649
|
-
meta?:
|
650
|
-
name?:
|
651
|
-
description?:
|
652
|
-
assignableByRoles?:
|
717
|
+
id?: InputMaybe<Scalars['String']>;
|
718
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
719
|
+
name?: InputMaybe<Scalars['String']>;
|
720
|
+
description?: InputMaybe<Scalars['String']>;
|
721
|
+
assignableByRoles?: InputMaybe<Array<Scalars['String']>>;
|
722
|
+
/** target scope */
|
723
|
+
scope?: InputMaybe<Scalars['String']>;
|
653
724
|
};
|
654
725
|
export declare type IdentityAuthenticationLogMutation = {
|
655
726
|
__typename?: 'IdentityAuthenticationLogMutation';
|
@@ -663,21 +734,25 @@ export declare type IdentityAuthenticationLogMutationDeleteArgs = {
|
|
663
734
|
input: IIoRestorecommerceResourcebaseDeleteRequest;
|
664
735
|
};
|
665
736
|
export declare type IIoRestorecommerceAuthenticationLogAuthenticationLogList = {
|
666
|
-
items?:
|
667
|
-
totalCount?:
|
668
|
-
mode?:
|
737
|
+
items?: InputMaybe<Array<IIoRestorecommerceAuthenticationLogAuthenticationLog>>;
|
738
|
+
totalCount?: InputMaybe<Scalars['Int']>;
|
739
|
+
mode?: InputMaybe<ModeType>;
|
740
|
+
/** target scope */
|
741
|
+
scope?: InputMaybe<Scalars['String']>;
|
669
742
|
};
|
670
743
|
export declare type IIoRestorecommerceAuthenticationLogAuthenticationLog = {
|
671
|
-
id?:
|
672
|
-
ipv4Address?:
|
673
|
-
ipv6Address?:
|
674
|
-
operatingSystem?:
|
675
|
-
userAgent?:
|
676
|
-
date?:
|
677
|
-
activity?:
|
678
|
-
meta?:
|
679
|
-
subjectId?:
|
680
|
-
tokenName?:
|
744
|
+
id?: InputMaybe<Scalars['String']>;
|
745
|
+
ipv4Address?: InputMaybe<Scalars['String']>;
|
746
|
+
ipv6Address?: InputMaybe<Scalars['String']>;
|
747
|
+
operatingSystem?: InputMaybe<Scalars['String']>;
|
748
|
+
userAgent?: InputMaybe<Scalars['String']>;
|
749
|
+
date?: InputMaybe<Scalars['Float']>;
|
750
|
+
activity?: InputMaybe<Scalars['String']>;
|
751
|
+
meta?: InputMaybe<IIoRestorecommerceMetaMeta>;
|
752
|
+
subjectId?: InputMaybe<Scalars['String']>;
|
753
|
+
tokenName?: InputMaybe<Scalars['String']>;
|
754
|
+
/** target scope */
|
755
|
+
scope?: InputMaybe<Scalars['String']>;
|
681
756
|
};
|
682
757
|
export declare type IdentityTokenMutation = {
|
683
758
|
__typename?: 'IdentityTokenMutation';
|
@@ -699,13 +774,17 @@ export declare type IdentityTokenMutationConsumeArgs = {
|
|
699
774
|
input: IIoRestorecommerceTokenIdentifier;
|
700
775
|
};
|
701
776
|
export declare type IIoRestorecommerceTokenTokenData = {
|
702
|
-
id?:
|
703
|
-
payload?:
|
704
|
-
expiresIn?:
|
705
|
-
type?:
|
777
|
+
id?: InputMaybe<Scalars['String']>;
|
778
|
+
payload?: InputMaybe<IGoogleProtobufAny>;
|
779
|
+
expiresIn?: InputMaybe<Scalars['Float']>;
|
780
|
+
type?: InputMaybe<Scalars['String']>;
|
781
|
+
/** target scope */
|
782
|
+
scope?: InputMaybe<Scalars['String']>;
|
706
783
|
};
|
707
784
|
export declare type IIoRestorecommerceTokenGrantId = {
|
708
|
-
grantId?:
|
785
|
+
grantId?: InputMaybe<Scalars['String']>;
|
786
|
+
/** target scope */
|
787
|
+
scope?: InputMaybe<Scalars['String']>;
|
709
788
|
};
|
710
789
|
export declare type IdentityOauthMutation = {
|
711
790
|
__typename?: 'IdentityOauthMutation';
|
@@ -725,16 +804,21 @@ export declare type IoRestorecommerceOauthExchangeCodeResponse = {
|
|
725
804
|
token?: Maybe<IoRestorecommerceAuthTokens>;
|
726
805
|
};
|
727
806
|
export declare type IIoRestorecommerceOauthExchangeCodeRequest = {
|
728
|
-
service?:
|
729
|
-
code?:
|
730
|
-
state?:
|
807
|
+
service?: InputMaybe<Scalars['String']>;
|
808
|
+
code?: InputMaybe<Scalars['String']>;
|
809
|
+
state?: InputMaybe<Scalars['String']>;
|
810
|
+
/** target scope */
|
811
|
+
scope?: InputMaybe<Scalars['String']>;
|
731
812
|
};
|
732
813
|
export declare type WithIndex<TObject> = TObject & Record<string, any>;
|
733
814
|
export declare type ResolversObject<TObject> = WithIndex<TObject>;
|
734
815
|
export declare type ResolverTypeWrapper<T> = Promise<T> | T;
|
735
|
-
export declare type
|
816
|
+
export declare type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
817
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
818
|
+
};
|
819
|
+
export declare type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
736
820
|
export declare type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
737
|
-
export declare type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) =>
|
821
|
+
export declare type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
738
822
|
export declare type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
739
823
|
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
740
824
|
subscribe: SubscriptionSubscribeFn<{
|
@@ -1391,8 +1475,3 @@ export declare type Resolvers<ContextType = IdentityContext> = ResolversObject<{
|
|
1391
1475
|
ProtoIoRestorecommerceOauthExchangeCodeResponse?: ProtoIoRestorecommerceOauthExchangeCodeResponseResolvers<ContextType>;
|
1392
1476
|
IoRestorecommerceOauthExchangeCodeResponse?: IoRestorecommerceOauthExchangeCodeResponseResolvers<ContextType>;
|
1393
1477
|
}>;
|
1394
|
-
/**
|
1395
|
-
* @deprecated
|
1396
|
-
* Use "Resolvers" root object instead. If you wish to get "IResolvers", add "typesPrefix: I" to your config.
|
1397
|
-
*/
|
1398
|
-
export declare type IResolvers<ContextType = IdentityContext> = Resolvers<ContextType>;
|
@@ -4,6 +4,6 @@ exports.schema = void 0;
|
|
4
4
|
const types_1 = require("./types");
|
5
5
|
const protos_1 = require("../../../gql/protos");
|
6
6
|
const interfaces_1 = require("../interfaces");
|
7
|
-
types_1.registerTypings();
|
8
|
-
const schema = (cfg) => protos_1.generateSubServiceSchemas(types_1.subServices, cfg, interfaces_1.namespace, 'Identity');
|
7
|
+
(0, types_1.registerTypings)();
|
8
|
+
const schema = (cfg) => (0, protos_1.generateSubServiceSchemas)(types_1.subServices, cfg, interfaces_1.namespace, 'Identity');
|
9
9
|
exports.schema = schema;
|
@@ -8,7 +8,7 @@ const token_1 = require("@restorecommerce/rc-grpc-clients/dist/generated/io/rest
|
|
8
8
|
const oauth_1 = require("@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/oauth");
|
9
9
|
const protos_1 = require("../../../gql/protos");
|
10
10
|
function registerTypings() {
|
11
|
-
protos_1.registerPackagesRecursive(user_1.protoMetadata, role_1.protoMetadata, authentication_log_1.protoMetadata, token_1.protoMetadata, oauth_1.protoMetadata);
|
11
|
+
(0, protos_1.registerPackagesRecursive)(user_1.protoMetadata, role_1.protoMetadata, authentication_log_1.protoMetadata, token_1.protoMetadata, oauth_1.protoMetadata);
|
12
12
|
}
|
13
13
|
exports.registerTypings = registerTypings;
|
14
14
|
exports.subServices = [
|
@@ -11,11 +11,11 @@ const protos_1 = require("../../../gql/protos");
|
|
11
11
|
class IdentitySrvGrpcClient extends rc_grpc_clients_1.RestoreCommerceGrpcClient {
|
12
12
|
constructor(cfg, logger) {
|
13
13
|
super(cfg, logger);
|
14
|
-
this.user = protos_1.getGRPCService(this, user_1.protobufPackage, user_1.protoMetadata.fileDescriptor.service[0]);
|
15
|
-
this.role = protos_1.getGRPCService(this, role_1.protobufPackage, role_1.protoMetadata.fileDescriptor.service[0]);
|
16
|
-
this.authentication_log = protos_1.getGRPCService(this, authentication_log_1.protobufPackage, authentication_log_1.protoMetadata.fileDescriptor.service[0]);
|
17
|
-
this.token = protos_1.getGRPCService(this, token_1.protobufPackage, token_1.protoMetadata.fileDescriptor.service[0]);
|
18
|
-
this.oauth = protos_1.getGRPCService(this, oauth_1.protobufPackage, oauth_1.protoMetadata.fileDescriptor.service[0]);
|
14
|
+
this.user = (0, protos_1.getGRPCService)(this, user_1.protobufPackage, user_1.protoMetadata.fileDescriptor.service[0]);
|
15
|
+
this.role = (0, protos_1.getGRPCService)(this, role_1.protobufPackage, role_1.protoMetadata.fileDescriptor.service[0]);
|
16
|
+
this.authentication_log = (0, protos_1.getGRPCService)(this, authentication_log_1.protobufPackage, authentication_log_1.protoMetadata.fileDescriptor.service[0]);
|
17
|
+
this.token = (0, protos_1.getGRPCService)(this, token_1.protobufPackage, token_1.protoMetadata.fileDescriptor.service[0]);
|
18
|
+
this.oauth = (0, protos_1.getGRPCService)(this, oauth_1.protobufPackage, oauth_1.protoMetadata.fileDescriptor.service[0]);
|
19
19
|
}
|
20
20
|
}
|
21
21
|
exports.IdentitySrvGrpcClient = IdentitySrvGrpcClient;
|