@openfort/openfort-js 0.5.20 → 0.5.21
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/generated/api.d.ts +188 -214
- package/dist/generated/api.js +53 -347
- package/dist/generated/api.js.map +1 -1
- package/dist/openfort.d.ts +2 -2
- package/dist/openfort.js +2 -2
- package/dist/openfort.js.map +1 -1
- package/dist/openfortAuth.d.ts +2 -2
- package/dist/openfortAuth.js +2 -2
- package/dist/openfortAuth.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -196,6 +196,12 @@ export interface Account {
|
|
|
196
196
|
* @memberof Account
|
|
197
197
|
*/
|
|
198
198
|
'custodial': boolean;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {boolean}
|
|
202
|
+
* @memberof Account
|
|
203
|
+
*/
|
|
204
|
+
'embeddedSigner': boolean;
|
|
199
205
|
/**
|
|
200
206
|
* The chain ID.
|
|
201
207
|
* @type {number}
|
|
@@ -515,6 +521,12 @@ export interface AccountResponse {
|
|
|
515
521
|
* @memberof AccountResponse
|
|
516
522
|
*/
|
|
517
523
|
'custodial': boolean;
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @type {boolean}
|
|
527
|
+
* @memberof AccountResponse
|
|
528
|
+
*/
|
|
529
|
+
'embeddedSigner': boolean;
|
|
518
530
|
/**
|
|
519
531
|
* The chain ID.
|
|
520
532
|
* @type {number}
|
|
@@ -1001,6 +1013,12 @@ export interface AuthenticateOAuthRequest {
|
|
|
1001
1013
|
* @memberof AuthenticateOAuthRequest
|
|
1002
1014
|
*/
|
|
1003
1015
|
'token': string;
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @type {TokenType}
|
|
1019
|
+
* @memberof AuthenticateOAuthRequest
|
|
1020
|
+
*/
|
|
1021
|
+
'tokenType': TokenType;
|
|
1004
1022
|
}
|
|
1005
1023
|
/**
|
|
1006
1024
|
*
|
|
@@ -2240,6 +2258,37 @@ export declare const Currency: {
|
|
|
2240
2258
|
readonly Usd: "usd";
|
|
2241
2259
|
};
|
|
2242
2260
|
export type Currency = typeof Currency[keyof typeof Currency];
|
|
2261
|
+
/**
|
|
2262
|
+
*
|
|
2263
|
+
* @export
|
|
2264
|
+
* @interface CustomAuthConfig
|
|
2265
|
+
*/
|
|
2266
|
+
export interface CustomAuthConfig {
|
|
2267
|
+
/**
|
|
2268
|
+
* Enable OAuth provider.
|
|
2269
|
+
* @type {boolean}
|
|
2270
|
+
* @memberof CustomAuthConfig
|
|
2271
|
+
*/
|
|
2272
|
+
'enabled': boolean;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {OAuthProviderCUSTOM}
|
|
2276
|
+
* @memberof CustomAuthConfig
|
|
2277
|
+
*/
|
|
2278
|
+
'provider': OAuthProviderCUSTOM;
|
|
2279
|
+
/**
|
|
2280
|
+
* Headers to send with the request
|
|
2281
|
+
* @type {string}
|
|
2282
|
+
* @memberof CustomAuthConfig
|
|
2283
|
+
*/
|
|
2284
|
+
'headers'?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
* URL to send the request to to verify the payload
|
|
2287
|
+
* @type {string}
|
|
2288
|
+
* @memberof CustomAuthConfig
|
|
2289
|
+
*/
|
|
2290
|
+
'authenticationUrl': string;
|
|
2291
|
+
}
|
|
2243
2292
|
/**
|
|
2244
2293
|
*
|
|
2245
2294
|
* @export
|
|
@@ -2588,7 +2637,7 @@ export interface DeviceResponse {
|
|
|
2588
2637
|
* @type {string}
|
|
2589
2638
|
* @memberof DeviceResponse
|
|
2590
2639
|
*/
|
|
2591
|
-
'
|
|
2640
|
+
'account': string;
|
|
2592
2641
|
}
|
|
2593
2642
|
/**
|
|
2594
2643
|
*
|
|
@@ -3430,25 +3479,6 @@ export interface JwtKeyResponse {
|
|
|
3430
3479
|
*/
|
|
3431
3480
|
'keys': Array<JwtKey>;
|
|
3432
3481
|
}
|
|
3433
|
-
/**
|
|
3434
|
-
* The request to verify access token
|
|
3435
|
-
* @export
|
|
3436
|
-
* @interface LinkRequest
|
|
3437
|
-
*/
|
|
3438
|
-
export interface LinkRequest {
|
|
3439
|
-
/**
|
|
3440
|
-
*
|
|
3441
|
-
* @type {OAuthProvider}
|
|
3442
|
-
* @memberof LinkRequest
|
|
3443
|
-
*/
|
|
3444
|
-
'provider': OAuthProvider;
|
|
3445
|
-
/**
|
|
3446
|
-
* external user id
|
|
3447
|
-
* @type {string}
|
|
3448
|
-
* @memberof LinkRequest
|
|
3449
|
-
*/
|
|
3450
|
-
'externalUserId': string;
|
|
3451
|
-
}
|
|
3452
3482
|
/**
|
|
3453
3483
|
*
|
|
3454
3484
|
* @export
|
|
@@ -4353,6 +4383,24 @@ export interface OAuthConfig {
|
|
|
4353
4383
|
* @memberof OAuthConfig
|
|
4354
4384
|
*/
|
|
4355
4385
|
'provider': OAuthProviderLOOTLOCKER;
|
|
4386
|
+
/**
|
|
4387
|
+
* PEM encoded public key to verify the JWT token
|
|
4388
|
+
* @type {string}
|
|
4389
|
+
* @memberof OAuthConfig
|
|
4390
|
+
*/
|
|
4391
|
+
'publicVerificationKey'?: string;
|
|
4392
|
+
/**
|
|
4393
|
+
* Audience of the JWT token
|
|
4394
|
+
* @type {string}
|
|
4395
|
+
* @memberof OAuthConfig
|
|
4396
|
+
*/
|
|
4397
|
+
'aud': string;
|
|
4398
|
+
/**
|
|
4399
|
+
* JWKS URL to fetch the public key
|
|
4400
|
+
* @type {string}
|
|
4401
|
+
* @memberof OAuthConfig
|
|
4402
|
+
*/
|
|
4403
|
+
'jwksUrl'?: string;
|
|
4356
4404
|
/**
|
|
4357
4405
|
* Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
|
|
4358
4406
|
* @type {string}
|
|
@@ -4383,6 +4431,18 @@ export interface OAuthConfig {
|
|
|
4383
4431
|
* @memberof OAuthConfig
|
|
4384
4432
|
*/
|
|
4385
4433
|
'projectId': string;
|
|
4434
|
+
/**
|
|
4435
|
+
* Headers to send with the request
|
|
4436
|
+
* @type {string}
|
|
4437
|
+
* @memberof OAuthConfig
|
|
4438
|
+
*/
|
|
4439
|
+
'headers'?: string;
|
|
4440
|
+
/**
|
|
4441
|
+
* URL to send the request to to verify the payload
|
|
4442
|
+
* @type {string}
|
|
4443
|
+
* @memberof OAuthConfig
|
|
4444
|
+
*/
|
|
4445
|
+
'authenticationUrl': string;
|
|
4386
4446
|
}
|
|
4387
4447
|
/**
|
|
4388
4448
|
* Response for the OAuth config list method.
|
|
@@ -4460,6 +4520,8 @@ export declare const OAuthProvider: {
|
|
|
4460
4520
|
readonly Google: "google";
|
|
4461
4521
|
readonly Lootlocker: "lootlocker";
|
|
4462
4522
|
readonly Playfab: "playfab";
|
|
4523
|
+
readonly Custom: "custom";
|
|
4524
|
+
readonly Oidc: "oidc";
|
|
4463
4525
|
};
|
|
4464
4526
|
export type OAuthProvider = typeof OAuthProvider[keyof typeof OAuthProvider];
|
|
4465
4527
|
/**
|
|
@@ -4471,6 +4533,15 @@ export declare const OAuthProviderACCELBYTE: {
|
|
|
4471
4533
|
readonly Accelbyte: "accelbyte";
|
|
4472
4534
|
};
|
|
4473
4535
|
export type OAuthProviderACCELBYTE = typeof OAuthProviderACCELBYTE[keyof typeof OAuthProviderACCELBYTE];
|
|
4536
|
+
/**
|
|
4537
|
+
*
|
|
4538
|
+
* @export
|
|
4539
|
+
* @enum {string}
|
|
4540
|
+
*/
|
|
4541
|
+
export declare const OAuthProviderCUSTOM: {
|
|
4542
|
+
readonly Custom: "custom";
|
|
4543
|
+
};
|
|
4544
|
+
export type OAuthProviderCUSTOM = typeof OAuthProviderCUSTOM[keyof typeof OAuthProviderCUSTOM];
|
|
4474
4545
|
/**
|
|
4475
4546
|
*
|
|
4476
4547
|
* @export
|
|
@@ -4498,6 +4569,15 @@ export declare const OAuthProviderLOOTLOCKER: {
|
|
|
4498
4569
|
readonly Lootlocker: "lootlocker";
|
|
4499
4570
|
};
|
|
4500
4571
|
export type OAuthProviderLOOTLOCKER = typeof OAuthProviderLOOTLOCKER[keyof typeof OAuthProviderLOOTLOCKER];
|
|
4572
|
+
/**
|
|
4573
|
+
*
|
|
4574
|
+
* @export
|
|
4575
|
+
* @enum {string}
|
|
4576
|
+
*/
|
|
4577
|
+
export declare const OAuthProviderOIDC: {
|
|
4578
|
+
readonly Oidc: "oidc";
|
|
4579
|
+
};
|
|
4580
|
+
export type OAuthProviderOIDC = typeof OAuthProviderOIDC[keyof typeof OAuthProviderOIDC];
|
|
4501
4581
|
/**
|
|
4502
4582
|
*
|
|
4503
4583
|
* @export
|
|
@@ -4539,6 +4619,43 @@ export interface OAuthResponse {
|
|
|
4539
4619
|
*/
|
|
4540
4620
|
'key': string;
|
|
4541
4621
|
}
|
|
4622
|
+
/**
|
|
4623
|
+
*
|
|
4624
|
+
* @export
|
|
4625
|
+
* @interface OIDCAuthConfig
|
|
4626
|
+
*/
|
|
4627
|
+
export interface OIDCAuthConfig {
|
|
4628
|
+
/**
|
|
4629
|
+
* Enable OAuth provider.
|
|
4630
|
+
* @type {boolean}
|
|
4631
|
+
* @memberof OIDCAuthConfig
|
|
4632
|
+
*/
|
|
4633
|
+
'enabled': boolean;
|
|
4634
|
+
/**
|
|
4635
|
+
*
|
|
4636
|
+
* @type {OAuthProviderOIDC}
|
|
4637
|
+
* @memberof OIDCAuthConfig
|
|
4638
|
+
*/
|
|
4639
|
+
'provider': OAuthProviderOIDC;
|
|
4640
|
+
/**
|
|
4641
|
+
* PEM encoded public key to verify the JWT token
|
|
4642
|
+
* @type {string}
|
|
4643
|
+
* @memberof OIDCAuthConfig
|
|
4644
|
+
*/
|
|
4645
|
+
'publicVerificationKey'?: string;
|
|
4646
|
+
/**
|
|
4647
|
+
* Audience of the JWT token
|
|
4648
|
+
* @type {string}
|
|
4649
|
+
* @memberof OIDCAuthConfig
|
|
4650
|
+
*/
|
|
4651
|
+
'aud': string;
|
|
4652
|
+
/**
|
|
4653
|
+
* JWKS URL to fetch the public key
|
|
4654
|
+
* @type {string}
|
|
4655
|
+
* @memberof OIDCAuthConfig
|
|
4656
|
+
*/
|
|
4657
|
+
'jwksUrl'?: string;
|
|
4658
|
+
}
|
|
4542
4659
|
/**
|
|
4543
4660
|
*
|
|
4544
4661
|
* @export
|
|
@@ -5048,6 +5165,12 @@ export interface PlayerResponseAccountsInner {
|
|
|
5048
5165
|
* @memberof PlayerResponseAccountsInner
|
|
5049
5166
|
*/
|
|
5050
5167
|
'custodial': boolean;
|
|
5168
|
+
/**
|
|
5169
|
+
*
|
|
5170
|
+
* @type {boolean}
|
|
5171
|
+
* @memberof PlayerResponseAccountsInner
|
|
5172
|
+
*/
|
|
5173
|
+
'embeddedSigner': boolean;
|
|
5051
5174
|
/**
|
|
5052
5175
|
* The chain ID.
|
|
5053
5176
|
* @type {number}
|
|
@@ -6874,6 +6997,16 @@ export declare const TimeIntervalType: {
|
|
|
6874
6997
|
readonly Month: "month";
|
|
6875
6998
|
};
|
|
6876
6999
|
export type TimeIntervalType = typeof TimeIntervalType[keyof typeof TimeIntervalType];
|
|
7000
|
+
/**
|
|
7001
|
+
* Enum of the supporting OAuth providers.
|
|
7002
|
+
* @export
|
|
7003
|
+
* @enum {string}
|
|
7004
|
+
*/
|
|
7005
|
+
export declare const TokenType: {
|
|
7006
|
+
readonly IdToken: "idToken";
|
|
7007
|
+
readonly CustomToken: "customToken";
|
|
7008
|
+
};
|
|
7009
|
+
export type TokenType = typeof TokenType[keyof typeof TokenType];
|
|
6877
7010
|
/**
|
|
6878
7011
|
*
|
|
6879
7012
|
* @export
|
|
@@ -7196,6 +7329,12 @@ export interface TransactionIntentResponseAccount {
|
|
|
7196
7329
|
* @memberof TransactionIntentResponseAccount
|
|
7197
7330
|
*/
|
|
7198
7331
|
'custodial': boolean;
|
|
7332
|
+
/**
|
|
7333
|
+
*
|
|
7334
|
+
* @type {boolean}
|
|
7335
|
+
* @memberof TransactionIntentResponseAccount
|
|
7336
|
+
*/
|
|
7337
|
+
'embeddedSigner': boolean;
|
|
7199
7338
|
/**
|
|
7200
7339
|
* The chain ID.
|
|
7201
7340
|
* @type {number}
|
|
@@ -7406,6 +7545,19 @@ export interface TypedDataField {
|
|
|
7406
7545
|
*/
|
|
7407
7546
|
'type': string;
|
|
7408
7547
|
}
|
|
7548
|
+
/**
|
|
7549
|
+
* The request to verify access token
|
|
7550
|
+
* @export
|
|
7551
|
+
* @interface UnlinkRequest
|
|
7552
|
+
*/
|
|
7553
|
+
export interface UnlinkRequest {
|
|
7554
|
+
/**
|
|
7555
|
+
*
|
|
7556
|
+
* @type {OAuthProvider}
|
|
7557
|
+
* @memberof UnlinkRequest
|
|
7558
|
+
*/
|
|
7559
|
+
'provider': OAuthProvider;
|
|
7560
|
+
}
|
|
7409
7561
|
/**
|
|
7410
7562
|
*
|
|
7411
7563
|
* @export
|
|
@@ -8957,11 +9109,11 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
|
|
|
8957
9109
|
/**
|
|
8958
9110
|
*
|
|
8959
9111
|
* @summary Unlink OAuth account
|
|
8960
|
-
* @param {
|
|
9112
|
+
* @param {UnlinkRequest} unlinkRequest
|
|
8961
9113
|
* @param {*} [options] Override http request option.
|
|
8962
9114
|
* @throws {RequiredError}
|
|
8963
9115
|
*/
|
|
8964
|
-
unlinkOAuth: (
|
|
9116
|
+
unlinkOAuth: (unlinkRequest: UnlinkRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8965
9117
|
/**
|
|
8966
9118
|
*
|
|
8967
9119
|
* @summary Unlink external wallet.
|
|
@@ -9087,11 +9239,11 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|
|
9087
9239
|
/**
|
|
9088
9240
|
*
|
|
9089
9241
|
* @summary Unlink OAuth account
|
|
9090
|
-
* @param {
|
|
9242
|
+
* @param {UnlinkRequest} unlinkRequest
|
|
9091
9243
|
* @param {*} [options] Override http request option.
|
|
9092
9244
|
* @throws {RequiredError}
|
|
9093
9245
|
*/
|
|
9094
|
-
unlinkOAuth(
|
|
9246
|
+
unlinkOAuth(unlinkRequest: UnlinkRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthPlayerResponse>>;
|
|
9095
9247
|
/**
|
|
9096
9248
|
*
|
|
9097
9249
|
* @summary Unlink external wallet.
|
|
@@ -9217,11 +9369,11 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|
|
9217
9369
|
/**
|
|
9218
9370
|
*
|
|
9219
9371
|
* @summary Unlink OAuth account
|
|
9220
|
-
* @param {
|
|
9372
|
+
* @param {UnlinkRequest} unlinkRequest
|
|
9221
9373
|
* @param {*} [options] Override http request option.
|
|
9222
9374
|
* @throws {RequiredError}
|
|
9223
9375
|
*/
|
|
9224
|
-
unlinkOAuth(
|
|
9376
|
+
unlinkOAuth(unlinkRequest: UnlinkRequest, options?: any): AxiosPromise<AuthPlayerResponse>;
|
|
9225
9377
|
/**
|
|
9226
9378
|
*
|
|
9227
9379
|
* @summary Unlink external wallet.
|
|
@@ -9360,12 +9512,12 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
9360
9512
|
/**
|
|
9361
9513
|
*
|
|
9362
9514
|
* @summary Unlink OAuth account
|
|
9363
|
-
* @param {
|
|
9515
|
+
* @param {UnlinkRequest} unlinkRequest
|
|
9364
9516
|
* @param {*} [options] Override http request option.
|
|
9365
9517
|
* @throws {RequiredError}
|
|
9366
9518
|
* @memberof AuthenticationApi
|
|
9367
9519
|
*/
|
|
9368
|
-
unlinkOAuth(
|
|
9520
|
+
unlinkOAuth(unlinkRequest: UnlinkRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthPlayerResponse, any>>;
|
|
9369
9521
|
/**
|
|
9370
9522
|
*
|
|
9371
9523
|
* @summary Unlink external wallet.
|
|
@@ -9656,184 +9808,6 @@ export declare class ContractsApi extends BaseAPI {
|
|
|
9656
9808
|
*/
|
|
9657
9809
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
|
|
9658
9810
|
}
|
|
9659
|
-
/**
|
|
9660
|
-
* EmbeddedApi - axios parameter creator
|
|
9661
|
-
* @export
|
|
9662
|
-
*/
|
|
9663
|
-
export declare const EmbeddedApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9664
|
-
/**
|
|
9665
|
-
* Creates a new device for a given account. This object represents the device that the account owner uses to store the device share. It has an equivalent auth share and recovery share associated with it.
|
|
9666
|
-
* @summary Create a device object.
|
|
9667
|
-
* @param {CreateDeviceRequest} createDeviceRequest
|
|
9668
|
-
* @param {*} [options] Override http request option.
|
|
9669
|
-
* @throws {RequiredError}
|
|
9670
|
-
*/
|
|
9671
|
-
createDevice: (createDeviceRequest: CreateDeviceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9672
|
-
/**
|
|
9673
|
-
* Add the share of for existing device.
|
|
9674
|
-
* @summary Create a device share.
|
|
9675
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9676
|
-
* @param {CreateShareRequest} createShareRequest
|
|
9677
|
-
* @param {*} [options] Override http request option.
|
|
9678
|
-
* @throws {RequiredError}
|
|
9679
|
-
*/
|
|
9680
|
-
createDeviceShare: (id: string, createShareRequest: CreateShareRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9681
|
-
/**
|
|
9682
|
-
* Retrieves the shares of an existing device.
|
|
9683
|
-
* @summary Get existing device shares.
|
|
9684
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9685
|
-
* @param {string} [shareType] Specifies the type of the share ID
|
|
9686
|
-
* @param {*} [options] Override http request option.
|
|
9687
|
-
* @throws {RequiredError}
|
|
9688
|
-
*/
|
|
9689
|
-
getDeviceShares: (id: string, shareType?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9690
|
-
/**
|
|
9691
|
-
* Returns a list of devices for the given account. This object represents the devices where the account owner has device share stored. Devices are returned sorted by creation date, with the most recently created devices appearing first. By default, a maximum of 10 devices are shown per page.
|
|
9692
|
-
* @summary List devices of account.
|
|
9693
|
-
* @param {string} account Specifies the unique account ID (starts with acc_)
|
|
9694
|
-
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9695
|
-
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9696
|
-
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9697
|
-
* @param {*} [options] Override http request option.
|
|
9698
|
-
* @throws {RequiredError}
|
|
9699
|
-
*/
|
|
9700
|
-
getDevices: (account: string, limit?: number, skip?: number, order?: SortOrder, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9701
|
-
};
|
|
9702
|
-
/**
|
|
9703
|
-
* EmbeddedApi - functional programming interface
|
|
9704
|
-
* @export
|
|
9705
|
-
*/
|
|
9706
|
-
export declare const EmbeddedApiFp: (configuration?: Configuration) => {
|
|
9707
|
-
/**
|
|
9708
|
-
* Creates a new device for a given account. This object represents the device that the account owner uses to store the device share. It has an equivalent auth share and recovery share associated with it.
|
|
9709
|
-
* @summary Create a device object.
|
|
9710
|
-
* @param {CreateDeviceRequest} createDeviceRequest
|
|
9711
|
-
* @param {*} [options] Override http request option.
|
|
9712
|
-
* @throws {RequiredError}
|
|
9713
|
-
*/
|
|
9714
|
-
createDevice(createDeviceRequest: CreateDeviceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
|
|
9715
|
-
/**
|
|
9716
|
-
* Add the share of for existing device.
|
|
9717
|
-
* @summary Create a device share.
|
|
9718
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9719
|
-
* @param {CreateShareRequest} createShareRequest
|
|
9720
|
-
* @param {*} [options] Override http request option.
|
|
9721
|
-
* @throws {RequiredError}
|
|
9722
|
-
*/
|
|
9723
|
-
createDeviceShare(id: string, createShareRequest: CreateShareRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShareResponse>>;
|
|
9724
|
-
/**
|
|
9725
|
-
* Retrieves the shares of an existing device.
|
|
9726
|
-
* @summary Get existing device shares.
|
|
9727
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9728
|
-
* @param {string} [shareType] Specifies the type of the share ID
|
|
9729
|
-
* @param {*} [options] Override http request option.
|
|
9730
|
-
* @throws {RequiredError}
|
|
9731
|
-
*/
|
|
9732
|
-
getDeviceShares(id: string, shareType?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseEntityListResponseShareResponse>>;
|
|
9733
|
-
/**
|
|
9734
|
-
* Returns a list of devices for the given account. This object represents the devices where the account owner has device share stored. Devices are returned sorted by creation date, with the most recently created devices appearing first. By default, a maximum of 10 devices are shown per page.
|
|
9735
|
-
* @summary List devices of account.
|
|
9736
|
-
* @param {string} account Specifies the unique account ID (starts with acc_)
|
|
9737
|
-
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9738
|
-
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9739
|
-
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9740
|
-
* @param {*} [options] Override http request option.
|
|
9741
|
-
* @throws {RequiredError}
|
|
9742
|
-
*/
|
|
9743
|
-
getDevices(account: string, limit?: number, skip?: number, order?: SortOrder, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseEntityListResponseDeviceResponse>>;
|
|
9744
|
-
};
|
|
9745
|
-
/**
|
|
9746
|
-
* EmbeddedApi - factory interface
|
|
9747
|
-
* @export
|
|
9748
|
-
*/
|
|
9749
|
-
export declare const EmbeddedApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9750
|
-
/**
|
|
9751
|
-
* Creates a new device for a given account. This object represents the device that the account owner uses to store the device share. It has an equivalent auth share and recovery share associated with it.
|
|
9752
|
-
* @summary Create a device object.
|
|
9753
|
-
* @param {CreateDeviceRequest} createDeviceRequest
|
|
9754
|
-
* @param {*} [options] Override http request option.
|
|
9755
|
-
* @throws {RequiredError}
|
|
9756
|
-
*/
|
|
9757
|
-
createDevice(createDeviceRequest: CreateDeviceRequest, options?: any): AxiosPromise<DeviceResponse>;
|
|
9758
|
-
/**
|
|
9759
|
-
* Add the share of for existing device.
|
|
9760
|
-
* @summary Create a device share.
|
|
9761
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9762
|
-
* @param {CreateShareRequest} createShareRequest
|
|
9763
|
-
* @param {*} [options] Override http request option.
|
|
9764
|
-
* @throws {RequiredError}
|
|
9765
|
-
*/
|
|
9766
|
-
createDeviceShare(id: string, createShareRequest: CreateShareRequest, options?: any): AxiosPromise<ShareResponse>;
|
|
9767
|
-
/**
|
|
9768
|
-
* Retrieves the shares of an existing device.
|
|
9769
|
-
* @summary Get existing device shares.
|
|
9770
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9771
|
-
* @param {string} [shareType] Specifies the type of the share ID
|
|
9772
|
-
* @param {*} [options] Override http request option.
|
|
9773
|
-
* @throws {RequiredError}
|
|
9774
|
-
*/
|
|
9775
|
-
getDeviceShares(id: string, shareType?: string, options?: any): AxiosPromise<BaseEntityListResponseShareResponse>;
|
|
9776
|
-
/**
|
|
9777
|
-
* Returns a list of devices for the given account. This object represents the devices where the account owner has device share stored. Devices are returned sorted by creation date, with the most recently created devices appearing first. By default, a maximum of 10 devices are shown per page.
|
|
9778
|
-
* @summary List devices of account.
|
|
9779
|
-
* @param {string} account Specifies the unique account ID (starts with acc_)
|
|
9780
|
-
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9781
|
-
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9782
|
-
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9783
|
-
* @param {*} [options] Override http request option.
|
|
9784
|
-
* @throws {RequiredError}
|
|
9785
|
-
*/
|
|
9786
|
-
getDevices(account: string, limit?: number, skip?: number, order?: SortOrder, options?: any): AxiosPromise<BaseEntityListResponseDeviceResponse>;
|
|
9787
|
-
};
|
|
9788
|
-
/**
|
|
9789
|
-
* EmbeddedApi - object-oriented interface
|
|
9790
|
-
* @export
|
|
9791
|
-
* @class EmbeddedApi
|
|
9792
|
-
* @extends {BaseAPI}
|
|
9793
|
-
*/
|
|
9794
|
-
export declare class EmbeddedApi extends BaseAPI {
|
|
9795
|
-
/**
|
|
9796
|
-
* Creates a new device for a given account. This object represents the device that the account owner uses to store the device share. It has an equivalent auth share and recovery share associated with it.
|
|
9797
|
-
* @summary Create a device object.
|
|
9798
|
-
* @param {CreateDeviceRequest} createDeviceRequest
|
|
9799
|
-
* @param {*} [options] Override http request option.
|
|
9800
|
-
* @throws {RequiredError}
|
|
9801
|
-
* @memberof EmbeddedApi
|
|
9802
|
-
*/
|
|
9803
|
-
createDevice(createDeviceRequest: CreateDeviceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
|
|
9804
|
-
/**
|
|
9805
|
-
* Add the share of for existing device.
|
|
9806
|
-
* @summary Create a device share.
|
|
9807
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9808
|
-
* @param {CreateShareRequest} createShareRequest
|
|
9809
|
-
* @param {*} [options] Override http request option.
|
|
9810
|
-
* @throws {RequiredError}
|
|
9811
|
-
* @memberof EmbeddedApi
|
|
9812
|
-
*/
|
|
9813
|
-
createDeviceShare(id: string, createShareRequest: CreateShareRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ShareResponse, any>>;
|
|
9814
|
-
/**
|
|
9815
|
-
* Retrieves the shares of an existing device.
|
|
9816
|
-
* @summary Get existing device shares.
|
|
9817
|
-
* @param {string} id Specifies the unique device ID (starts with dev_).
|
|
9818
|
-
* @param {string} [shareType] Specifies the type of the share ID
|
|
9819
|
-
* @param {*} [options] Override http request option.
|
|
9820
|
-
* @throws {RequiredError}
|
|
9821
|
-
* @memberof EmbeddedApi
|
|
9822
|
-
*/
|
|
9823
|
-
getDeviceShares(id: string, shareType?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseEntityListResponseShareResponse, any>>;
|
|
9824
|
-
/**
|
|
9825
|
-
* Returns a list of devices for the given account. This object represents the devices where the account owner has device share stored. Devices are returned sorted by creation date, with the most recently created devices appearing first. By default, a maximum of 10 devices are shown per page.
|
|
9826
|
-
* @summary List devices of account.
|
|
9827
|
-
* @param {string} account Specifies the unique account ID (starts with acc_)
|
|
9828
|
-
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9829
|
-
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9830
|
-
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9831
|
-
* @param {*} [options] Override http request option.
|
|
9832
|
-
* @throws {RequiredError}
|
|
9833
|
-
* @memberof EmbeddedApi
|
|
9834
|
-
*/
|
|
9835
|
-
getDevices(account: string, limit?: number, skip?: number, order?: SortOrder, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseEntityListResponseDeviceResponse, any>>;
|
|
9836
|
-
}
|
|
9837
9811
|
/**
|
|
9838
9812
|
* InventoriesApi - axios parameter creator
|
|
9839
9813
|
* @export
|
|
@@ -11525,7 +11499,7 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
11525
11499
|
*/
|
|
11526
11500
|
export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
11527
11501
|
/**
|
|
11528
|
-
* Creates a
|
|
11502
|
+
* Creates a Session.
|
|
11529
11503
|
* @summary Create a session key.
|
|
11530
11504
|
* @param {CreateSessionRequest} createSessionRequest
|
|
11531
11505
|
* @param {*} [options] Override http request option.
|
|
@@ -11545,7 +11519,7 @@ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11545
11519
|
*/
|
|
11546
11520
|
getPlayerSessions: (player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11547
11521
|
/**
|
|
11548
|
-
* Retrieves the details of a
|
|
11522
|
+
* Retrieves the details of a Session that has previously been created.
|
|
11549
11523
|
* @summary Returns a player session by session id
|
|
11550
11524
|
* @param {string} id Specifies the unique session ID (starts with ses_).
|
|
11551
11525
|
* @param {Array<SessionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
@@ -11577,7 +11551,7 @@ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
11577
11551
|
*/
|
|
11578
11552
|
export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
11579
11553
|
/**
|
|
11580
|
-
* Creates a
|
|
11554
|
+
* Creates a Session.
|
|
11581
11555
|
* @summary Create a session key.
|
|
11582
11556
|
* @param {CreateSessionRequest} createSessionRequest
|
|
11583
11557
|
* @param {*} [options] Override http request option.
|
|
@@ -11597,7 +11571,7 @@ export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
|
11597
11571
|
*/
|
|
11598
11572
|
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionListResponse>>;
|
|
11599
11573
|
/**
|
|
11600
|
-
* Retrieves the details of a
|
|
11574
|
+
* Retrieves the details of a Session that has previously been created.
|
|
11601
11575
|
* @summary Returns a player session by session id
|
|
11602
11576
|
* @param {string} id Specifies the unique session ID (starts with ses_).
|
|
11603
11577
|
* @param {Array<SessionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
@@ -11629,7 +11603,7 @@ export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
|
11629
11603
|
*/
|
|
11630
11604
|
export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
11631
11605
|
/**
|
|
11632
|
-
* Creates a
|
|
11606
|
+
* Creates a Session.
|
|
11633
11607
|
* @summary Create a session key.
|
|
11634
11608
|
* @param {CreateSessionRequest} createSessionRequest
|
|
11635
11609
|
* @param {*} [options] Override http request option.
|
|
@@ -11649,7 +11623,7 @@ export declare const SessionsApiFactory: (configuration?: Configuration, basePat
|
|
|
11649
11623
|
*/
|
|
11650
11624
|
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, options?: any): AxiosPromise<SessionListResponse>;
|
|
11651
11625
|
/**
|
|
11652
|
-
* Retrieves the details of a
|
|
11626
|
+
* Retrieves the details of a Session that has previously been created.
|
|
11653
11627
|
* @summary Returns a player session by session id
|
|
11654
11628
|
* @param {string} id Specifies the unique session ID (starts with ses_).
|
|
11655
11629
|
* @param {Array<SessionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
@@ -11683,7 +11657,7 @@ export declare const SessionsApiFactory: (configuration?: Configuration, basePat
|
|
|
11683
11657
|
*/
|
|
11684
11658
|
export declare class SessionsApi extends BaseAPI {
|
|
11685
11659
|
/**
|
|
11686
|
-
* Creates a
|
|
11660
|
+
* Creates a Session.
|
|
11687
11661
|
* @summary Create a session key.
|
|
11688
11662
|
* @param {CreateSessionRequest} createSessionRequest
|
|
11689
11663
|
* @param {*} [options] Override http request option.
|
|
@@ -11705,7 +11679,7 @@ export declare class SessionsApi extends BaseAPI {
|
|
|
11705
11679
|
*/
|
|
11706
11680
|
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionListResponse, any>>;
|
|
11707
11681
|
/**
|
|
11708
|
-
* Retrieves the details of a
|
|
11682
|
+
* Retrieves the details of a Session that has previously been created.
|
|
11709
11683
|
* @summary Returns a player session by session id
|
|
11710
11684
|
* @param {string} id Specifies the unique session ID (starts with ses_).
|
|
11711
11685
|
* @param {Array<SessionResponseExpandable>} [expand] Specifies the fields to expand.
|