@crowdedkingdoms/crowdyjs 18.15.0 → 18.17.0-dev.1
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/README.md +97 -17
- package/dist/crowdy-client.d.ts +3 -0
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +3 -0
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/admin.d.ts +4 -0
- package/dist/domains/admin.d.ts.map +1 -1
- package/dist/domains/admin.js +1 -0
- package/dist/domains/managedPlayers.d.ts +112 -0
- package/dist/domains/managedPlayers.d.ts.map +1 -0
- package/dist/domains/managedPlayers.js +162 -0
- package/dist/domains/organizations.d.ts +12 -3
- package/dist/domains/organizations.d.ts.map +1 -1
- package/dist/domains/organizations.js +11 -3
- package/dist/domains/portal.d.ts +33 -0
- package/dist/domains/portal.d.ts.map +1 -1
- package/dist/domains/portal.js +52 -1
- package/dist/errors.d.ts +43 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +51 -0
- package/dist/generated/graphql-schema.d.ts +267 -8
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql.d.ts +204 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +18 -4
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
|
@@ -3234,6 +3234,189 @@ export type InputLogSessionsQuery = {
|
|
|
3234
3234
|
};
|
|
3235
3235
|
};
|
|
3236
3236
|
};
|
|
3237
|
+
export type AppManagedPlayerModsQueryVariables = Exact<{
|
|
3238
|
+
appId: string;
|
|
3239
|
+
}>;
|
|
3240
|
+
export type AppManagedPlayerModsQuery = {
|
|
3241
|
+
app: {
|
|
3242
|
+
appId: string;
|
|
3243
|
+
managedPlayerModsEnabled: boolean;
|
|
3244
|
+
} | null;
|
|
3245
|
+
};
|
|
3246
|
+
export type DeleteManagedPlayerMutationVariables = Exact<{
|
|
3247
|
+
orgId: string;
|
|
3248
|
+
externalId: string;
|
|
3249
|
+
}>;
|
|
3250
|
+
export type DeleteManagedPlayerMutation = {
|
|
3251
|
+
deleteManagedPlayer: boolean;
|
|
3252
|
+
};
|
|
3253
|
+
export type EndManagedPlayerSessionsMutationVariables = Exact<{
|
|
3254
|
+
orgId: string;
|
|
3255
|
+
externalId: string;
|
|
3256
|
+
}>;
|
|
3257
|
+
export type EndManagedPlayerSessionsMutation = {
|
|
3258
|
+
endManagedPlayerSessions: boolean;
|
|
3259
|
+
};
|
|
3260
|
+
export type ManagedPlayerQueryVariables = Exact<{
|
|
3261
|
+
orgId: string;
|
|
3262
|
+
externalId: string;
|
|
3263
|
+
}>;
|
|
3264
|
+
export type ManagedPlayerQuery = {
|
|
3265
|
+
managedPlayer: {
|
|
3266
|
+
userId: string;
|
|
3267
|
+
orgId: string;
|
|
3268
|
+
externalId: string;
|
|
3269
|
+
gamertag: string | null;
|
|
3270
|
+
disambiguation: string | null;
|
|
3271
|
+
disabled: boolean;
|
|
3272
|
+
createdAt: string;
|
|
3273
|
+
} | null;
|
|
3274
|
+
};
|
|
3275
|
+
export type ManagedPlayerFieldsFragment = {
|
|
3276
|
+
userId: string;
|
|
3277
|
+
orgId: string;
|
|
3278
|
+
externalId: string;
|
|
3279
|
+
gamertag: string | null;
|
|
3280
|
+
disambiguation: string | null;
|
|
3281
|
+
disabled: boolean;
|
|
3282
|
+
createdAt: string;
|
|
3283
|
+
};
|
|
3284
|
+
export type ManagedPlayersQueryVariables = Exact<{
|
|
3285
|
+
orgId: string;
|
|
3286
|
+
search?: string | null | undefined;
|
|
3287
|
+
first?: number | null | undefined;
|
|
3288
|
+
after?: string | null | undefined;
|
|
3289
|
+
}>;
|
|
3290
|
+
export type ManagedPlayersQuery = {
|
|
3291
|
+
managedPlayers: {
|
|
3292
|
+
nextCursor: string | null;
|
|
3293
|
+
players: Array<{
|
|
3294
|
+
userId: string;
|
|
3295
|
+
orgId: string;
|
|
3296
|
+
externalId: string;
|
|
3297
|
+
gamertag: string | null;
|
|
3298
|
+
disambiguation: string | null;
|
|
3299
|
+
disabled: boolean;
|
|
3300
|
+
createdAt: string;
|
|
3301
|
+
}>;
|
|
3302
|
+
};
|
|
3303
|
+
};
|
|
3304
|
+
export type OrgManagedPlayerSettingsQueryVariables = Exact<{
|
|
3305
|
+
orgId: string;
|
|
3306
|
+
}>;
|
|
3307
|
+
export type OrgManagedPlayerSettingsQuery = {
|
|
3308
|
+
orgManagedPlayerSettings: {
|
|
3309
|
+
orgId: string;
|
|
3310
|
+
enabled: boolean;
|
|
3311
|
+
maxPlayers: string;
|
|
3312
|
+
playerCount: string;
|
|
3313
|
+
mintsPerMinute: number;
|
|
3314
|
+
defaultSessionTtlSeconds: number;
|
|
3315
|
+
maxSessionTtlSeconds: number;
|
|
3316
|
+
termsVersion: string;
|
|
3317
|
+
termsUrl: string;
|
|
3318
|
+
termsAccepted: boolean;
|
|
3319
|
+
termsAcceptedVersion: string | null;
|
|
3320
|
+
termsAcceptedAt: string | null;
|
|
3321
|
+
termsAcceptedByUserId: string | null;
|
|
3322
|
+
viewerMayAcceptTerms: boolean;
|
|
3323
|
+
};
|
|
3324
|
+
};
|
|
3325
|
+
export type OrgSigningKeyFieldsFragment = {
|
|
3326
|
+
keyId: string;
|
|
3327
|
+
orgId: string;
|
|
3328
|
+
kid: string;
|
|
3329
|
+
algorithm: string;
|
|
3330
|
+
publicJwk: string;
|
|
3331
|
+
issuer: string;
|
|
3332
|
+
audience: string | null;
|
|
3333
|
+
appIds: Array<string> | null;
|
|
3334
|
+
label: string | null;
|
|
3335
|
+
createdAt: string;
|
|
3336
|
+
revokedAt: string | null;
|
|
3337
|
+
};
|
|
3338
|
+
export type OrgSigningKeysQueryVariables = Exact<{
|
|
3339
|
+
orgId: string;
|
|
3340
|
+
}>;
|
|
3341
|
+
export type OrgSigningKeysQuery = {
|
|
3342
|
+
orgSigningKeys: Array<{
|
|
3343
|
+
keyId: string;
|
|
3344
|
+
orgId: string;
|
|
3345
|
+
kid: string;
|
|
3346
|
+
algorithm: string;
|
|
3347
|
+
publicJwk: string;
|
|
3348
|
+
issuer: string;
|
|
3349
|
+
audience: string | null;
|
|
3350
|
+
appIds: Array<string> | null;
|
|
3351
|
+
label: string | null;
|
|
3352
|
+
createdAt: string;
|
|
3353
|
+
revokedAt: string | null;
|
|
3354
|
+
}>;
|
|
3355
|
+
};
|
|
3356
|
+
export type ProvisionManagedPlayersMutationVariables = Exact<{
|
|
3357
|
+
input: Types.ProvisionManagedPlayersInput;
|
|
3358
|
+
}>;
|
|
3359
|
+
export type ProvisionManagedPlayersMutation = {
|
|
3360
|
+
provisionManagedPlayers: {
|
|
3361
|
+
created: number;
|
|
3362
|
+
existing: number;
|
|
3363
|
+
players: Array<{
|
|
3364
|
+
userId: string;
|
|
3365
|
+
orgId: string;
|
|
3366
|
+
externalId: string;
|
|
3367
|
+
gamertag: string | null;
|
|
3368
|
+
disambiguation: string | null;
|
|
3369
|
+
disabled: boolean;
|
|
3370
|
+
createdAt: string;
|
|
3371
|
+
}>;
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
export type RegisterOrgSigningKeyMutationVariables = Exact<{
|
|
3375
|
+
input: Types.RegisterOrgSigningKeyInput;
|
|
3376
|
+
}>;
|
|
3377
|
+
export type RegisterOrgSigningKeyMutation = {
|
|
3378
|
+
registerOrgSigningKey: {
|
|
3379
|
+
keyId: string;
|
|
3380
|
+
orgId: string;
|
|
3381
|
+
kid: string;
|
|
3382
|
+
algorithm: string;
|
|
3383
|
+
publicJwk: string;
|
|
3384
|
+
issuer: string;
|
|
3385
|
+
audience: string | null;
|
|
3386
|
+
appIds: Array<string> | null;
|
|
3387
|
+
label: string | null;
|
|
3388
|
+
createdAt: string;
|
|
3389
|
+
revokedAt: string | null;
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
export type RevokeOrgSigningKeyMutationVariables = Exact<{
|
|
3393
|
+
orgId: string;
|
|
3394
|
+
keyId: string;
|
|
3395
|
+
}>;
|
|
3396
|
+
export type RevokeOrgSigningKeyMutation = {
|
|
3397
|
+
revokeOrgSigningKey: boolean;
|
|
3398
|
+
};
|
|
3399
|
+
export type SetAppManagedPlayerModsMutationVariables = Exact<{
|
|
3400
|
+
appId: string;
|
|
3401
|
+
enabled: boolean;
|
|
3402
|
+
}>;
|
|
3403
|
+
export type SetAppManagedPlayerModsMutation = {
|
|
3404
|
+
setAppManagedPlayerMods: boolean;
|
|
3405
|
+
};
|
|
3406
|
+
export type UpdateManagedPlayerMutationVariables = Exact<{
|
|
3407
|
+
input: Types.UpdateManagedPlayerInput;
|
|
3408
|
+
}>;
|
|
3409
|
+
export type UpdateManagedPlayerMutation = {
|
|
3410
|
+
updateManagedPlayer: {
|
|
3411
|
+
userId: string;
|
|
3412
|
+
orgId: string;
|
|
3413
|
+
externalId: string;
|
|
3414
|
+
gamertag: string | null;
|
|
3415
|
+
disambiguation: string | null;
|
|
3416
|
+
disabled: boolean;
|
|
3417
|
+
createdAt: string;
|
|
3418
|
+
};
|
|
3419
|
+
};
|
|
3237
3420
|
export type PlayerCodeListingFieldsFragment = {
|
|
3238
3421
|
listingId: string;
|
|
3239
3422
|
appId: string;
|
|
@@ -3522,6 +3705,8 @@ export type CreateOrgTokenMutation = {
|
|
|
3522
3705
|
orgId: string;
|
|
3523
3706
|
token: string;
|
|
3524
3707
|
label: string | null;
|
|
3708
|
+
scopes: Array<string>;
|
|
3709
|
+
appIds: Array<string> | null;
|
|
3525
3710
|
isActive: boolean;
|
|
3526
3711
|
expiresAt: string | null;
|
|
3527
3712
|
createdAt: string;
|
|
@@ -3642,6 +3827,8 @@ export type OrgTokensQuery = {
|
|
|
3642
3827
|
orgTokenId: string;
|
|
3643
3828
|
orgId: string;
|
|
3644
3829
|
label: string | null;
|
|
3830
|
+
scopes: Array<string>;
|
|
3831
|
+
appIds: Array<string> | null;
|
|
3645
3832
|
isActive: boolean;
|
|
3646
3833
|
lastUsedAt: string | null;
|
|
3647
3834
|
revokedAt: string | null;
|
|
@@ -3687,6 +3874,7 @@ export type RemoveOrgMemberMutation = {
|
|
|
3687
3874
|
};
|
|
3688
3875
|
export type RevokeOrgTokenMutationVariables = Exact<{
|
|
3689
3876
|
orgTokenId: string;
|
|
3877
|
+
endSessions?: boolean | null | undefined;
|
|
3690
3878
|
}>;
|
|
3691
3879
|
export type RevokeOrgTokenMutation = {
|
|
3692
3880
|
revokeOrgToken: boolean;
|
|
@@ -3726,6 +3914,8 @@ export type UpdateOrgTokenMutation = {
|
|
|
3726
3914
|
updateOrgToken: {
|
|
3727
3915
|
orgTokenId: string;
|
|
3728
3916
|
label: string | null;
|
|
3917
|
+
scopes: Array<string>;
|
|
3918
|
+
appIds: Array<string> | null;
|
|
3729
3919
|
isActive: boolean;
|
|
3730
3920
|
expiresAt: string | null;
|
|
3731
3921
|
revokedAt: string | null;
|
|
@@ -5425,6 +5615,8 @@ export declare const ExecGridClientModFieldsFragmentDoc: DocumentNode<ExecGridCl
|
|
|
5425
5615
|
export declare const GridOwnershipFieldsFragmentDoc: DocumentNode<GridOwnershipFieldsFragment, unknown>;
|
|
5426
5616
|
export declare const HostedGameFieldsFragmentDoc: DocumentNode<HostedGameFieldsFragment, unknown>;
|
|
5427
5617
|
export declare const HostedGamePublishFieldsFragmentDoc: DocumentNode<HostedGamePublishFieldsFragment, unknown>;
|
|
5618
|
+
export declare const ManagedPlayerFieldsFragmentDoc: DocumentNode<ManagedPlayerFieldsFragment, unknown>;
|
|
5619
|
+
export declare const OrgSigningKeyFieldsFragmentDoc: DocumentNode<OrgSigningKeyFieldsFragment, unknown>;
|
|
5428
5620
|
export declare const PlayerCodeListingFieldsFragmentDoc: DocumentNode<PlayerCodeListingFieldsFragment, unknown>;
|
|
5429
5621
|
export declare const PlayerCodeAcquisitionFieldsFragmentDoc: DocumentNode<PlayerCodeAcquisitionFieldsFragment, unknown>;
|
|
5430
5622
|
export declare const GridClaimRequestFieldsFragmentDoc: DocumentNode<GridClaimRequestFieldsFragment, unknown>;
|
|
@@ -5605,6 +5797,18 @@ export declare const AbandonGamePublishDocument: DocumentNode<AbandonGamePublish
|
|
|
5605
5797
|
export declare const SetHostedGameEnabledDocument: DocumentNode<SetHostedGameEnabledMutation, SetHostedGameEnabledMutationVariables>;
|
|
5606
5798
|
export declare const InputLogMessagesDocument: DocumentNode<InputLogMessagesQuery, InputLogMessagesQueryVariables>;
|
|
5607
5799
|
export declare const InputLogSessionsDocument: DocumentNode<InputLogSessionsQuery, InputLogSessionsQueryVariables>;
|
|
5800
|
+
export declare const AppManagedPlayerModsDocument: DocumentNode<AppManagedPlayerModsQuery, AppManagedPlayerModsQueryVariables>;
|
|
5801
|
+
export declare const DeleteManagedPlayerDocument: DocumentNode<DeleteManagedPlayerMutation, DeleteManagedPlayerMutationVariables>;
|
|
5802
|
+
export declare const EndManagedPlayerSessionsDocument: DocumentNode<EndManagedPlayerSessionsMutation, EndManagedPlayerSessionsMutationVariables>;
|
|
5803
|
+
export declare const ManagedPlayerDocument: DocumentNode<ManagedPlayerQuery, ManagedPlayerQueryVariables>;
|
|
5804
|
+
export declare const ManagedPlayersDocument: DocumentNode<ManagedPlayersQuery, ManagedPlayersQueryVariables>;
|
|
5805
|
+
export declare const OrgManagedPlayerSettingsDocument: DocumentNode<OrgManagedPlayerSettingsQuery, OrgManagedPlayerSettingsQueryVariables>;
|
|
5806
|
+
export declare const OrgSigningKeysDocument: DocumentNode<OrgSigningKeysQuery, OrgSigningKeysQueryVariables>;
|
|
5807
|
+
export declare const ProvisionManagedPlayersDocument: DocumentNode<ProvisionManagedPlayersMutation, ProvisionManagedPlayersMutationVariables>;
|
|
5808
|
+
export declare const RegisterOrgSigningKeyDocument: DocumentNode<RegisterOrgSigningKeyMutation, RegisterOrgSigningKeyMutationVariables>;
|
|
5809
|
+
export declare const RevokeOrgSigningKeyDocument: DocumentNode<RevokeOrgSigningKeyMutation, RevokeOrgSigningKeyMutationVariables>;
|
|
5810
|
+
export declare const SetAppManagedPlayerModsDocument: DocumentNode<SetAppManagedPlayerModsMutation, SetAppManagedPlayerModsMutationVariables>;
|
|
5811
|
+
export declare const UpdateManagedPlayerDocument: DocumentNode<UpdateManagedPlayerMutation, UpdateManagedPlayerMutationVariables>;
|
|
5608
5812
|
export declare const MarketplaceGridClaimPolicyDocument: DocumentNode<MarketplaceGridClaimPolicyQuery, MarketplaceGridClaimPolicyQueryVariables>;
|
|
5609
5813
|
export declare const MarketplaceGridClaimRequestsDocument: DocumentNode<MarketplaceGridClaimRequestsQuery, MarketplaceGridClaimRequestsQueryVariables>;
|
|
5610
5814
|
export declare const MarketplaceClaimGridOwnershipDocument: DocumentNode<MarketplaceClaimGridOwnershipMutation, MarketplaceClaimGridOwnershipMutationVariables>;
|