@crowdedkingdoms/crowdyjs 18.15.0 → 18.16.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 +90 -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 +99 -0
- package/dist/domains/managedPlayers.d.ts.map +1 -0
- package/dist/domains/managedPlayers.js +149 -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 +28 -0
- package/dist/domains/portal.d.ts.map +1 -1
- package/dist/domains/portal.js +45 -0
- package/dist/errors.d.ts +27 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +33 -0
- package/dist/generated/graphql-schema.d.ts +247 -8
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql.d.ts +197 -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,182 @@ 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
|
+
};
|
|
3317
|
+
};
|
|
3318
|
+
export type OrgSigningKeyFieldsFragment = {
|
|
3319
|
+
keyId: string;
|
|
3320
|
+
orgId: string;
|
|
3321
|
+
kid: string;
|
|
3322
|
+
algorithm: string;
|
|
3323
|
+
publicJwk: string;
|
|
3324
|
+
issuer: string;
|
|
3325
|
+
audience: string | null;
|
|
3326
|
+
appIds: Array<string> | null;
|
|
3327
|
+
label: string | null;
|
|
3328
|
+
createdAt: string;
|
|
3329
|
+
revokedAt: string | null;
|
|
3330
|
+
};
|
|
3331
|
+
export type OrgSigningKeysQueryVariables = Exact<{
|
|
3332
|
+
orgId: string;
|
|
3333
|
+
}>;
|
|
3334
|
+
export type OrgSigningKeysQuery = {
|
|
3335
|
+
orgSigningKeys: Array<{
|
|
3336
|
+
keyId: string;
|
|
3337
|
+
orgId: string;
|
|
3338
|
+
kid: string;
|
|
3339
|
+
algorithm: string;
|
|
3340
|
+
publicJwk: string;
|
|
3341
|
+
issuer: string;
|
|
3342
|
+
audience: string | null;
|
|
3343
|
+
appIds: Array<string> | null;
|
|
3344
|
+
label: string | null;
|
|
3345
|
+
createdAt: string;
|
|
3346
|
+
revokedAt: string | null;
|
|
3347
|
+
}>;
|
|
3348
|
+
};
|
|
3349
|
+
export type ProvisionManagedPlayersMutationVariables = Exact<{
|
|
3350
|
+
input: Types.ProvisionManagedPlayersInput;
|
|
3351
|
+
}>;
|
|
3352
|
+
export type ProvisionManagedPlayersMutation = {
|
|
3353
|
+
provisionManagedPlayers: {
|
|
3354
|
+
created: number;
|
|
3355
|
+
existing: number;
|
|
3356
|
+
players: Array<{
|
|
3357
|
+
userId: string;
|
|
3358
|
+
orgId: string;
|
|
3359
|
+
externalId: string;
|
|
3360
|
+
gamertag: string | null;
|
|
3361
|
+
disambiguation: string | null;
|
|
3362
|
+
disabled: boolean;
|
|
3363
|
+
createdAt: string;
|
|
3364
|
+
}>;
|
|
3365
|
+
};
|
|
3366
|
+
};
|
|
3367
|
+
export type RegisterOrgSigningKeyMutationVariables = Exact<{
|
|
3368
|
+
input: Types.RegisterOrgSigningKeyInput;
|
|
3369
|
+
}>;
|
|
3370
|
+
export type RegisterOrgSigningKeyMutation = {
|
|
3371
|
+
registerOrgSigningKey: {
|
|
3372
|
+
keyId: string;
|
|
3373
|
+
orgId: string;
|
|
3374
|
+
kid: string;
|
|
3375
|
+
algorithm: string;
|
|
3376
|
+
publicJwk: string;
|
|
3377
|
+
issuer: string;
|
|
3378
|
+
audience: string | null;
|
|
3379
|
+
appIds: Array<string> | null;
|
|
3380
|
+
label: string | null;
|
|
3381
|
+
createdAt: string;
|
|
3382
|
+
revokedAt: string | null;
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
export type RevokeOrgSigningKeyMutationVariables = Exact<{
|
|
3386
|
+
orgId: string;
|
|
3387
|
+
keyId: string;
|
|
3388
|
+
}>;
|
|
3389
|
+
export type RevokeOrgSigningKeyMutation = {
|
|
3390
|
+
revokeOrgSigningKey: boolean;
|
|
3391
|
+
};
|
|
3392
|
+
export type SetAppManagedPlayerModsMutationVariables = Exact<{
|
|
3393
|
+
appId: string;
|
|
3394
|
+
enabled: boolean;
|
|
3395
|
+
}>;
|
|
3396
|
+
export type SetAppManagedPlayerModsMutation = {
|
|
3397
|
+
setAppManagedPlayerMods: boolean;
|
|
3398
|
+
};
|
|
3399
|
+
export type UpdateManagedPlayerMutationVariables = Exact<{
|
|
3400
|
+
input: Types.UpdateManagedPlayerInput;
|
|
3401
|
+
}>;
|
|
3402
|
+
export type UpdateManagedPlayerMutation = {
|
|
3403
|
+
updateManagedPlayer: {
|
|
3404
|
+
userId: string;
|
|
3405
|
+
orgId: string;
|
|
3406
|
+
externalId: string;
|
|
3407
|
+
gamertag: string | null;
|
|
3408
|
+
disambiguation: string | null;
|
|
3409
|
+
disabled: boolean;
|
|
3410
|
+
createdAt: string;
|
|
3411
|
+
};
|
|
3412
|
+
};
|
|
3237
3413
|
export type PlayerCodeListingFieldsFragment = {
|
|
3238
3414
|
listingId: string;
|
|
3239
3415
|
appId: string;
|
|
@@ -3522,6 +3698,8 @@ export type CreateOrgTokenMutation = {
|
|
|
3522
3698
|
orgId: string;
|
|
3523
3699
|
token: string;
|
|
3524
3700
|
label: string | null;
|
|
3701
|
+
scopes: Array<string>;
|
|
3702
|
+
appIds: Array<string> | null;
|
|
3525
3703
|
isActive: boolean;
|
|
3526
3704
|
expiresAt: string | null;
|
|
3527
3705
|
createdAt: string;
|
|
@@ -3642,6 +3820,8 @@ export type OrgTokensQuery = {
|
|
|
3642
3820
|
orgTokenId: string;
|
|
3643
3821
|
orgId: string;
|
|
3644
3822
|
label: string | null;
|
|
3823
|
+
scopes: Array<string>;
|
|
3824
|
+
appIds: Array<string> | null;
|
|
3645
3825
|
isActive: boolean;
|
|
3646
3826
|
lastUsedAt: string | null;
|
|
3647
3827
|
revokedAt: string | null;
|
|
@@ -3687,6 +3867,7 @@ export type RemoveOrgMemberMutation = {
|
|
|
3687
3867
|
};
|
|
3688
3868
|
export type RevokeOrgTokenMutationVariables = Exact<{
|
|
3689
3869
|
orgTokenId: string;
|
|
3870
|
+
endSessions?: boolean | null | undefined;
|
|
3690
3871
|
}>;
|
|
3691
3872
|
export type RevokeOrgTokenMutation = {
|
|
3692
3873
|
revokeOrgToken: boolean;
|
|
@@ -3726,6 +3907,8 @@ export type UpdateOrgTokenMutation = {
|
|
|
3726
3907
|
updateOrgToken: {
|
|
3727
3908
|
orgTokenId: string;
|
|
3728
3909
|
label: string | null;
|
|
3910
|
+
scopes: Array<string>;
|
|
3911
|
+
appIds: Array<string> | null;
|
|
3729
3912
|
isActive: boolean;
|
|
3730
3913
|
expiresAt: string | null;
|
|
3731
3914
|
revokedAt: string | null;
|
|
@@ -5425,6 +5608,8 @@ export declare const ExecGridClientModFieldsFragmentDoc: DocumentNode<ExecGridCl
|
|
|
5425
5608
|
export declare const GridOwnershipFieldsFragmentDoc: DocumentNode<GridOwnershipFieldsFragment, unknown>;
|
|
5426
5609
|
export declare const HostedGameFieldsFragmentDoc: DocumentNode<HostedGameFieldsFragment, unknown>;
|
|
5427
5610
|
export declare const HostedGamePublishFieldsFragmentDoc: DocumentNode<HostedGamePublishFieldsFragment, unknown>;
|
|
5611
|
+
export declare const ManagedPlayerFieldsFragmentDoc: DocumentNode<ManagedPlayerFieldsFragment, unknown>;
|
|
5612
|
+
export declare const OrgSigningKeyFieldsFragmentDoc: DocumentNode<OrgSigningKeyFieldsFragment, unknown>;
|
|
5428
5613
|
export declare const PlayerCodeListingFieldsFragmentDoc: DocumentNode<PlayerCodeListingFieldsFragment, unknown>;
|
|
5429
5614
|
export declare const PlayerCodeAcquisitionFieldsFragmentDoc: DocumentNode<PlayerCodeAcquisitionFieldsFragment, unknown>;
|
|
5430
5615
|
export declare const GridClaimRequestFieldsFragmentDoc: DocumentNode<GridClaimRequestFieldsFragment, unknown>;
|
|
@@ -5605,6 +5790,18 @@ export declare const AbandonGamePublishDocument: DocumentNode<AbandonGamePublish
|
|
|
5605
5790
|
export declare const SetHostedGameEnabledDocument: DocumentNode<SetHostedGameEnabledMutation, SetHostedGameEnabledMutationVariables>;
|
|
5606
5791
|
export declare const InputLogMessagesDocument: DocumentNode<InputLogMessagesQuery, InputLogMessagesQueryVariables>;
|
|
5607
5792
|
export declare const InputLogSessionsDocument: DocumentNode<InputLogSessionsQuery, InputLogSessionsQueryVariables>;
|
|
5793
|
+
export declare const AppManagedPlayerModsDocument: DocumentNode<AppManagedPlayerModsQuery, AppManagedPlayerModsQueryVariables>;
|
|
5794
|
+
export declare const DeleteManagedPlayerDocument: DocumentNode<DeleteManagedPlayerMutation, DeleteManagedPlayerMutationVariables>;
|
|
5795
|
+
export declare const EndManagedPlayerSessionsDocument: DocumentNode<EndManagedPlayerSessionsMutation, EndManagedPlayerSessionsMutationVariables>;
|
|
5796
|
+
export declare const ManagedPlayerDocument: DocumentNode<ManagedPlayerQuery, ManagedPlayerQueryVariables>;
|
|
5797
|
+
export declare const ManagedPlayersDocument: DocumentNode<ManagedPlayersQuery, ManagedPlayersQueryVariables>;
|
|
5798
|
+
export declare const OrgManagedPlayerSettingsDocument: DocumentNode<OrgManagedPlayerSettingsQuery, OrgManagedPlayerSettingsQueryVariables>;
|
|
5799
|
+
export declare const OrgSigningKeysDocument: DocumentNode<OrgSigningKeysQuery, OrgSigningKeysQueryVariables>;
|
|
5800
|
+
export declare const ProvisionManagedPlayersDocument: DocumentNode<ProvisionManagedPlayersMutation, ProvisionManagedPlayersMutationVariables>;
|
|
5801
|
+
export declare const RegisterOrgSigningKeyDocument: DocumentNode<RegisterOrgSigningKeyMutation, RegisterOrgSigningKeyMutationVariables>;
|
|
5802
|
+
export declare const RevokeOrgSigningKeyDocument: DocumentNode<RevokeOrgSigningKeyMutation, RevokeOrgSigningKeyMutationVariables>;
|
|
5803
|
+
export declare const SetAppManagedPlayerModsDocument: DocumentNode<SetAppManagedPlayerModsMutation, SetAppManagedPlayerModsMutationVariables>;
|
|
5804
|
+
export declare const UpdateManagedPlayerDocument: DocumentNode<UpdateManagedPlayerMutation, UpdateManagedPlayerMutationVariables>;
|
|
5608
5805
|
export declare const MarketplaceGridClaimPolicyDocument: DocumentNode<MarketplaceGridClaimPolicyQuery, MarketplaceGridClaimPolicyQueryVariables>;
|
|
5609
5806
|
export declare const MarketplaceGridClaimRequestsDocument: DocumentNode<MarketplaceGridClaimRequestsQuery, MarketplaceGridClaimRequestsQueryVariables>;
|
|
5610
5807
|
export declare const MarketplaceClaimGridOwnershipDocument: DocumentNode<MarketplaceClaimGridOwnershipMutation, MarketplaceClaimGridOwnershipMutationVariables>;
|