@openfort/openfort-node 0.6.44 → 0.6.45
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/apis/iamApiWrapper.d.ts +47 -4
- package/dist/apis/iamApiWrapper.js +60 -3
- package/dist/apis/iamApiWrapper.js.map +1 -1
- package/dist/generated/apis/AccountsApi.d.ts +2 -2
- package/dist/generated/apis/AccountsApi.js +2 -2
- package/dist/generated/apis/{OAuthApi.d.ts → AdminAuthenticationApi.d.ts} +59 -26
- package/dist/generated/apis/{OAuthApi.js → AdminAuthenticationApi.js} +189 -87
- package/dist/generated/apis/AdminAuthenticationApi.js.map +1 -0
- package/dist/generated/apis/AuthenticationApi.d.ts +194 -16
- package/dist/generated/apis/AuthenticationApi.js +716 -43
- package/dist/generated/apis/AuthenticationApi.js.map +1 -1
- package/dist/generated/apis/EmbeddedApi.d.ts +78 -0
- package/dist/generated/apis/{PlayersAuthenticationApi.js → EmbeddedApi.js} +136 -60
- package/dist/generated/apis/EmbeddedApi.js.map +1 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +2 -4
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/AuthPlayerResponse.d.ts +2 -6
- package/dist/generated/models/AuthPlayerResponse.js +3 -27
- package/dist/generated/models/AuthPlayerResponse.js.map +1 -1
- package/dist/generated/models/AuthProvider.d.ts +15 -0
- package/dist/generated/models/AuthProvider.js +14 -0
- package/dist/generated/models/AuthProvider.js.map +1 -0
- package/dist/generated/models/AuthResponse.d.ts +6 -4
- package/dist/generated/models/AuthResponse.js +9 -3
- package/dist/generated/models/AuthResponse.js.map +1 -1
- package/dist/generated/models/AuthSessionResponse.d.ts +34 -0
- package/dist/generated/models/{RetrievePlayerEncryptedKeyResponse.js → AuthSessionResponse.js} +29 -23
- package/dist/generated/models/AuthSessionResponse.js.map +1 -0
- package/dist/generated/models/AuthenticateOAuthRequest.d.ts +33 -0
- package/dist/generated/models/AuthenticateOAuthRequest.js +38 -0
- package/dist/generated/models/AuthenticateOAuthRequest.js.map +1 -0
- package/dist/generated/models/BaseEntityListResponseDeviceResponse.d.ts +35 -0
- package/dist/generated/models/BaseEntityListResponseDeviceResponse.js +62 -0
- package/dist/generated/models/BaseEntityListResponseDeviceResponse.js.map +1 -0
- package/dist/generated/models/BaseEntityListResponseShareResponse.d.ts +35 -0
- package/dist/generated/models/BaseEntityListResponseShareResponse.js +62 -0
- package/dist/generated/models/BaseEntityListResponseShareResponse.js.map +1 -0
- package/dist/generated/models/{RegisterPlayerEncryptedKeyResponse.d.ts → CheckoutSubscriptionRequest.d.ts} +4 -5
- package/dist/generated/models/{RegisterPlayerEncryptedKeyRequest.js → CheckoutSubscriptionRequest.js} +13 -13
- package/dist/generated/models/CheckoutSubscriptionRequest.js.map +1 -0
- package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
- package/dist/generated/models/CreateDeviceRequest.d.ts +31 -0
- package/dist/generated/models/{AuthenticatedPlayerResponse.js → CreateDeviceRequest.js} +9 -9
- package/dist/generated/models/CreateDeviceRequest.js.map +1 -0
- package/dist/generated/models/{RegisterPlayerEncryptedKeyRequest.d.ts → CreateShareRequest.d.ts} +7 -9
- package/dist/generated/models/CreateShareRequest.js +44 -0
- package/dist/generated/models/CreateShareRequest.js.map +1 -0
- package/dist/generated/models/{AuthorizeWithOAuthToken200Response.d.ts → DeprecatedAuthenticatedPlayerResponse.d.ts} +2 -2
- package/dist/generated/models/{AuthorizeWithOAuthToken200Response.js → DeprecatedAuthenticatedPlayerResponse.js} +7 -7
- package/dist/generated/models/DeprecatedAuthenticatedPlayerResponse.js.map +1 -0
- package/dist/generated/models/DeviceListQueries.d.ts +41 -0
- package/dist/generated/models/DeviceListQueries.js +50 -0
- package/dist/generated/models/DeviceListQueries.js.map +1 -0
- package/dist/generated/models/{RetrievePlayerEncryptedKeyResponse.d.ts → DeviceResponse.d.ts} +5 -6
- package/dist/generated/models/{RegisterPlayerEncryptedKeyResponse.js → DeviceResponse.js} +17 -17
- package/dist/generated/models/DeviceResponse.js.map +1 -0
- package/dist/generated/models/EntityTypeDEVICE.d.ts +12 -0
- package/dist/generated/models/EntityTypeDEVICE.js +14 -0
- package/dist/generated/models/EntityTypeDEVICE.js.map +1 -0
- package/dist/generated/models/EntityTypeSHARE.d.ts +12 -0
- package/dist/generated/models/EntityTypeSHARE.js +14 -0
- package/dist/generated/models/EntityTypeSHARE.js.map +1 -0
- package/dist/generated/models/JwtKey.d.ts +34 -0
- package/dist/generated/models/JwtKey.js +68 -0
- package/dist/generated/models/JwtKey.js.map +1 -0
- package/dist/generated/models/JwtKeyResponse.d.ts +29 -0
- package/dist/generated/models/JwtKeyResponse.js +32 -0
- package/dist/generated/models/JwtKeyResponse.js.map +1 -0
- package/dist/generated/models/LinkRequest.d.ts +36 -0
- package/dist/generated/models/LinkRequest.js +41 -0
- package/dist/generated/models/LinkRequest.js.map +1 -0
- package/dist/generated/models/LinkedAccountResponse.d.ts +36 -0
- package/dist/generated/models/LinkedAccountResponse.js +68 -0
- package/dist/generated/models/LinkedAccountResponse.js.map +1 -0
- package/dist/generated/models/{AuthenticatedPlayerResponse.d.ts → LogoutRequest.d.ts} +3 -3
- package/dist/generated/models/LogoutRequest.js +32 -0
- package/dist/generated/models/LogoutRequest.js.map +1 -0
- package/dist/generated/models/OAuthInitRequest.d.ts +33 -0
- package/dist/generated/models/OAuthInitRequest.js +38 -0
- package/dist/generated/models/OAuthInitRequest.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +29 -5
- package/dist/generated/models/ObjectSerializer.js +84 -15
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/Plan.d.ts +33 -0
- package/dist/generated/models/Plan.js +56 -0
- package/dist/generated/models/Plan.js.map +1 -0
- package/dist/generated/models/PlansResponse.d.ts +29 -0
- package/dist/generated/models/PlansResponse.js +32 -0
- package/dist/generated/models/PlansResponse.js.map +1 -0
- package/dist/generated/models/RefreshTokenRequest.d.ts +31 -0
- package/dist/generated/models/RefreshTokenRequest.js +32 -0
- package/dist/generated/models/RefreshTokenRequest.js.map +1 -0
- package/dist/generated/models/SIWEAuthenticateRequest.d.ts +43 -0
- package/dist/generated/models/SIWEAuthenticateRequest.js +50 -0
- package/dist/generated/models/SIWEAuthenticateRequest.js.map +1 -0
- package/dist/generated/models/SIWEInitResponse.d.ts +33 -0
- package/dist/generated/models/SIWEInitResponse.js +44 -0
- package/dist/generated/models/SIWEInitResponse.js.map +1 -0
- package/dist/generated/models/SIWERequest.d.ts +31 -0
- package/dist/generated/models/SIWERequest.js +32 -0
- package/dist/generated/models/SIWERequest.js.map +1 -0
- package/dist/generated/models/ShareResponse.d.ts +35 -0
- package/dist/generated/models/ShareResponse.js +62 -0
- package/dist/generated/models/ShareResponse.js.map +1 -0
- package/dist/generated/models/ShareType.d.ts +12 -0
- package/dist/generated/models/ShareType.js +14 -0
- package/dist/generated/models/ShareType.js.map +1 -0
- package/dist/generated/models/SubscriptionResponse.d.ts +32 -0
- package/dist/generated/models/SubscriptionResponse.js +50 -0
- package/dist/generated/models/SubscriptionResponse.js.map +1 -0
- package/dist/generated/models/SubscriptionResponsePlan.d.ts +30 -0
- package/dist/generated/models/SubscriptionResponsePlan.js +44 -0
- package/dist/generated/models/SubscriptionResponsePlan.js.map +1 -0
- package/dist/generated/models/all.d.ts +29 -5
- package/dist/generated/models/all.js +29 -5
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +439 -207
- package/dist/generated/types/ObjectParamAPI.js +233 -137
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +190 -99
- package/dist/generated/types/ObservableAPI.js +534 -264
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +188 -95
- package/dist/generated/types/PromiseAPI.js +270 -154
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -4
- package/dist/index.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/apis/oauthApiWrapper.d.ts +0 -14
- package/dist/apis/oauthApiWrapper.js +0 -38
- package/dist/apis/oauthApiWrapper.js.map +0 -1
- package/dist/generated/apis/GoogleAuthenticationApi.d.ts +0 -37
- package/dist/generated/apis/GoogleAuthenticationApi.js +0 -118
- package/dist/generated/apis/GoogleAuthenticationApi.js.map +0 -1
- package/dist/generated/apis/OAuthApi.js.map +0 -1
- package/dist/generated/apis/PlayersAuthenticationApi.d.ts +0 -56
- package/dist/generated/apis/PlayersAuthenticationApi.js.map +0 -1
- package/dist/generated/models/AuthenticatedPlayerResponse.js.map +0 -1
- package/dist/generated/models/AuthorizeWithOAuthToken200Response.js.map +0 -1
- package/dist/generated/models/RegisterPlayerEncryptedKeyRequest.js.map +0 -1
- package/dist/generated/models/RegisterPlayerEncryptedKeyResponse.js.map +0 -1
- package/dist/generated/models/RetrievePlayerEncryptedKeyResponse.js.map +0 -1
|
@@ -3,8 +3,12 @@ import { AccountListResponse } from '../models/AccountListResponse';
|
|
|
3
3
|
import { AccountResponse } from '../models/AccountResponse';
|
|
4
4
|
import { AccountResponseExpandable } from '../models/AccountResponseExpandable';
|
|
5
5
|
import { AuthPlayerListResponse } from '../models/AuthPlayerListResponse';
|
|
6
|
+
import { AuthPlayerResponse } from '../models/AuthPlayerResponse';
|
|
6
7
|
import { AuthResponse } from '../models/AuthResponse';
|
|
7
|
-
import {
|
|
8
|
+
import { AuthSessionResponse } from '../models/AuthSessionResponse';
|
|
9
|
+
import { AuthenticateOAuthRequest } from '../models/AuthenticateOAuthRequest';
|
|
10
|
+
import { BaseEntityListResponseDeviceResponse } from '../models/BaseEntityListResponseDeviceResponse';
|
|
11
|
+
import { BaseEntityListResponseShareResponse } from '../models/BaseEntityListResponseShareResponse';
|
|
8
12
|
import { CancelTransferOwnershipRequest } from '../models/CancelTransferOwnershipRequest';
|
|
9
13
|
import { CompleteRecoveryRequest } from '../models/CompleteRecoveryRequest';
|
|
10
14
|
import { ContractDeleteResponse } from '../models/ContractDeleteResponse';
|
|
@@ -13,27 +17,34 @@ import { ContractReadResponse } from '../models/ContractReadResponse';
|
|
|
13
17
|
import { ContractResponse } from '../models/ContractResponse';
|
|
14
18
|
import { CreateAccountRequest } from '../models/CreateAccountRequest';
|
|
15
19
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
20
|
+
import { CreateDeviceRequest } from '../models/CreateDeviceRequest';
|
|
16
21
|
import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
|
|
17
22
|
import { CreateNotificationSubscriptionRequest } from '../models/CreateNotificationSubscriptionRequest';
|
|
18
23
|
import { CreateNotificationTriggerRequest } from '../models/CreateNotificationTriggerRequest';
|
|
19
24
|
import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
20
25
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
21
26
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
27
|
+
import { CreateShareRequest } from '../models/CreateShareRequest';
|
|
22
28
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
23
29
|
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
24
30
|
import { DeployRequest } from '../models/DeployRequest';
|
|
31
|
+
import { DeprecatedAuthenticatedPlayerResponse } from '../models/DeprecatedAuthenticatedPlayerResponse';
|
|
25
32
|
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
26
33
|
import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDeleteResponse';
|
|
27
34
|
import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
|
|
28
35
|
import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResponse';
|
|
29
36
|
import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
|
|
30
37
|
import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
|
|
38
|
+
import { DeviceResponse } from '../models/DeviceResponse';
|
|
31
39
|
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
32
40
|
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
33
41
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
34
42
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
35
43
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
44
|
+
import { JwtKeyResponse } from '../models/JwtKeyResponse';
|
|
45
|
+
import { LinkRequest } from '../models/LinkRequest';
|
|
36
46
|
import { LoginRequest } from '../models/LoginRequest';
|
|
47
|
+
import { LogoutRequest } from '../models/LogoutRequest';
|
|
37
48
|
import { NotificationDeleteResponse } from '../models/NotificationDeleteResponse';
|
|
38
49
|
import { NotificationListResponse } from '../models/NotificationListResponse';
|
|
39
50
|
import { NotificationResponse } from '../models/NotificationResponse';
|
|
@@ -46,6 +57,7 @@ import { NotificationTriggerListResponse } from '../models/NotificationTriggerLi
|
|
|
46
57
|
import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
|
|
47
58
|
import { OAuthConfig } from '../models/OAuthConfig';
|
|
48
59
|
import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
|
|
60
|
+
import { OAuthInitRequest } from '../models/OAuthInitRequest';
|
|
49
61
|
import { OAuthProvider } from '../models/OAuthProvider';
|
|
50
62
|
import { OAuthRequest } from '../models/OAuthRequest';
|
|
51
63
|
import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
|
|
@@ -64,14 +76,16 @@ import { PolicyResponseExpandable } from '../models/PolicyResponseExpandable';
|
|
|
64
76
|
import { PolicyRuleDeleteResponse } from '../models/PolicyRuleDeleteResponse';
|
|
65
77
|
import { PolicyRuleListResponse } from '../models/PolicyRuleListResponse';
|
|
66
78
|
import { PolicyRuleResponse } from '../models/PolicyRuleResponse';
|
|
67
|
-
import {
|
|
68
|
-
import { RegisterPlayerEncryptedKeyResponse } from '../models/RegisterPlayerEncryptedKeyResponse';
|
|
69
|
-
import { RetrievePlayerEncryptedKeyResponse } from '../models/RetrievePlayerEncryptedKeyResponse';
|
|
79
|
+
import { RefreshTokenRequest } from '../models/RefreshTokenRequest';
|
|
70
80
|
import { RevokeSessionRequest } from '../models/RevokeSessionRequest';
|
|
81
|
+
import { SIWEAuthenticateRequest } from '../models/SIWEAuthenticateRequest';
|
|
82
|
+
import { SIWEInitResponse } from '../models/SIWEInitResponse';
|
|
83
|
+
import { SIWERequest } from '../models/SIWERequest';
|
|
71
84
|
import { SessionListResponse } from '../models/SessionListResponse';
|
|
72
85
|
import { SessionResponse } from '../models/SessionResponse';
|
|
73
86
|
import { SessionResponseExpandable } from '../models/SessionResponseExpandable';
|
|
74
87
|
import { SettingsWebhookUpdateRequest } from '../models/SettingsWebhookUpdateRequest';
|
|
88
|
+
import { ShareResponse } from '../models/ShareResponse';
|
|
75
89
|
import { SignPayloadRequest } from '../models/SignPayloadRequest';
|
|
76
90
|
import { SignPayloadResponse } from '../models/SignPayloadResponse';
|
|
77
91
|
import { SignatureRequest } from '../models/SignatureRequest';
|
|
@@ -260,7 +274,7 @@ export declare class ObjectAccountsApi {
|
|
|
260
274
|
*/
|
|
261
275
|
createAccount(param: AccountsApiCreateAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
262
276
|
/**
|
|
263
|
-
* This endpoint can be used to deploy
|
|
277
|
+
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
264
278
|
* Deploy an account.
|
|
265
279
|
* @param param the request object
|
|
266
280
|
*/
|
|
@@ -272,7 +286,7 @@ export declare class ObjectAccountsApi {
|
|
|
272
286
|
*/
|
|
273
287
|
getAccount(param: AccountsApiGetAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
274
288
|
/**
|
|
275
|
-
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 accounts are shown per page.
|
|
289
|
+
* Returns a list of accounts for the given player. This object represents a player\'s account, which is a blockchain smart account that can be used to interact with the blockchain. The accounts are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 accounts are shown per page.
|
|
276
290
|
* List accounts of a player.
|
|
277
291
|
* @param param the request object
|
|
278
292
|
*/
|
|
@@ -301,52 +315,375 @@ export declare class ObjectAccountsApi {
|
|
|
301
315
|
*/
|
|
302
316
|
syncAccount(param: AccountsApiSyncAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
303
317
|
}
|
|
318
|
+
import { AdminAuthenticationApiRequestFactory, AdminAuthenticationApiResponseProcessor } from "../apis/AdminAuthenticationApi";
|
|
319
|
+
export interface AdminAuthenticationApiCreateOAuthConfigRequest {
|
|
320
|
+
/**
|
|
321
|
+
* Specifies the oauth provider specific configuration.
|
|
322
|
+
* @type OAuthConfig
|
|
323
|
+
* @memberof AdminAuthenticationApicreateOAuthConfig
|
|
324
|
+
*/
|
|
325
|
+
body: OAuthConfig;
|
|
326
|
+
}
|
|
327
|
+
export interface AdminAuthenticationApiDeleteAuthPlayerRequest {
|
|
328
|
+
/**
|
|
329
|
+
* Specifies the unique player ID (starts with pla_).
|
|
330
|
+
* @type string
|
|
331
|
+
* @memberof AdminAuthenticationApideleteAuthPlayer
|
|
332
|
+
*/
|
|
333
|
+
id: string;
|
|
334
|
+
}
|
|
335
|
+
export interface AdminAuthenticationApiDeleteOAuthConfigRequest {
|
|
336
|
+
/**
|
|
337
|
+
* Specifies the oauth provider type.
|
|
338
|
+
* @type OAuthProvider
|
|
339
|
+
* @memberof AdminAuthenticationApideleteOAuthConfig
|
|
340
|
+
*/
|
|
341
|
+
provider: OAuthProvider;
|
|
342
|
+
}
|
|
343
|
+
export interface AdminAuthenticationApiGetAuthPlayersRequest {
|
|
344
|
+
/**
|
|
345
|
+
* Specifies the maximum number of records to return.
|
|
346
|
+
* @type number
|
|
347
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
348
|
+
*/
|
|
349
|
+
limit?: number;
|
|
350
|
+
/**
|
|
351
|
+
* Specifies the offset for the first records to return.
|
|
352
|
+
* @type number
|
|
353
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
354
|
+
*/
|
|
355
|
+
skip?: number;
|
|
356
|
+
/**
|
|
357
|
+
* Specifies the order in which to sort the results.
|
|
358
|
+
* @type SortOrder
|
|
359
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
360
|
+
*/
|
|
361
|
+
order?: SortOrder;
|
|
362
|
+
/**
|
|
363
|
+
* Specifies the email address of the user.
|
|
364
|
+
* @type string
|
|
365
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
366
|
+
*/
|
|
367
|
+
email?: string;
|
|
368
|
+
}
|
|
369
|
+
export interface AdminAuthenticationApiGetOAuthConfigRequest {
|
|
370
|
+
/**
|
|
371
|
+
* Specifies the oauth provider type.
|
|
372
|
+
* @type OAuthProvider
|
|
373
|
+
* @memberof AdminAuthenticationApigetOAuthConfig
|
|
374
|
+
*/
|
|
375
|
+
provider: OAuthProvider;
|
|
376
|
+
}
|
|
377
|
+
export interface AdminAuthenticationApiListOAuthConfigRequest {
|
|
378
|
+
}
|
|
379
|
+
export interface AdminAuthenticationApiVerifyAuthTokenRequest {
|
|
380
|
+
/**
|
|
381
|
+
* Specifies the auth token.
|
|
382
|
+
* @type string
|
|
383
|
+
* @memberof AdminAuthenticationApiverifyAuthToken
|
|
384
|
+
*/
|
|
385
|
+
token: string;
|
|
386
|
+
}
|
|
387
|
+
export interface AdminAuthenticationApiVerifyOAuthRequest {
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type AuthenticateOAuthRequest
|
|
391
|
+
* @memberof AdminAuthenticationApiverifyOAuth
|
|
392
|
+
*/
|
|
393
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
394
|
+
}
|
|
395
|
+
export interface AdminAuthenticationApiVerifyOAuthTokenRequest {
|
|
396
|
+
/**
|
|
397
|
+
* OAuth provider
|
|
398
|
+
* @type OAuthProvider
|
|
399
|
+
* @memberof AdminAuthenticationApiverifyOAuthToken
|
|
400
|
+
*/
|
|
401
|
+
provider: OAuthProvider;
|
|
402
|
+
/**
|
|
403
|
+
*
|
|
404
|
+
* @type OAuthRequest
|
|
405
|
+
* @memberof AdminAuthenticationApiverifyOAuthToken
|
|
406
|
+
*/
|
|
407
|
+
oAuthRequest: OAuthRequest;
|
|
408
|
+
}
|
|
409
|
+
export declare class ObjectAdminAuthenticationApi {
|
|
410
|
+
private api;
|
|
411
|
+
constructor(configuration: Configuration, requestFactory?: AdminAuthenticationApiRequestFactory, responseProcessor?: AdminAuthenticationApiResponseProcessor);
|
|
412
|
+
/**
|
|
413
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
414
|
+
* Create oauth configuration.
|
|
415
|
+
* @param param the request object
|
|
416
|
+
*/
|
|
417
|
+
createOAuthConfig(param: AdminAuthenticationApiCreateOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
418
|
+
/**
|
|
419
|
+
* Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
|
|
420
|
+
* Deletes a player auth object.
|
|
421
|
+
* @param param the request object
|
|
422
|
+
*/
|
|
423
|
+
deleteAuthPlayer(param: AdminAuthenticationApiDeleteAuthPlayerRequest, options?: Configuration): Promise<PlayerDeleteResponse>;
|
|
424
|
+
/**
|
|
425
|
+
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
426
|
+
* Delete oauth configuration.
|
|
427
|
+
* @param param the request object
|
|
428
|
+
*/
|
|
429
|
+
deleteOAuthConfig(param: AdminAuthenticationApiDeleteOAuthConfigRequest, options?: Configuration): Promise<void>;
|
|
430
|
+
/**
|
|
431
|
+
* Retrieves a list of authenticated players. Players have linked accounts and are authenticated with a provider.
|
|
432
|
+
* List authenticated players.
|
|
433
|
+
* @param param the request object
|
|
434
|
+
*/
|
|
435
|
+
getAuthPlayers(param?: AdminAuthenticationApiGetAuthPlayersRequest, options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
436
|
+
/**
|
|
437
|
+
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
438
|
+
* Get oauth configuration.
|
|
439
|
+
* @param param the request object
|
|
440
|
+
*/
|
|
441
|
+
getOAuthConfig(param: AdminAuthenticationApiGetOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
442
|
+
/**
|
|
443
|
+
* List configured OAuth methods for the current project environment.
|
|
444
|
+
* List of oauth configurations.
|
|
445
|
+
* @param param the request object
|
|
446
|
+
*/
|
|
447
|
+
listOAuthConfig(param?: AdminAuthenticationApiListOAuthConfigRequest, options?: Configuration): Promise<OAuthConfigListResponse>;
|
|
448
|
+
/**
|
|
449
|
+
* Verifies the token generated by Openfort Auth.
|
|
450
|
+
* Verify auth token.
|
|
451
|
+
* @param param the request object
|
|
452
|
+
*/
|
|
453
|
+
verifyAuthToken(param: AdminAuthenticationApiVerifyAuthTokenRequest, options?: Configuration): Promise<AuthSessionResponse>;
|
|
454
|
+
/**
|
|
455
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
456
|
+
* Retrieve player by oauth token.
|
|
457
|
+
* @param param the request object
|
|
458
|
+
*/
|
|
459
|
+
verifyOAuth(param: AdminAuthenticationApiVerifyOAuthRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
460
|
+
/**
|
|
461
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
462
|
+
* Retrieve player by token.
|
|
463
|
+
* @param param the request object
|
|
464
|
+
*/
|
|
465
|
+
verifyOAuthToken(param: AdminAuthenticationApiVerifyOAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
466
|
+
}
|
|
304
467
|
import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor } from "../apis/AuthenticationApi";
|
|
305
|
-
export interface
|
|
468
|
+
export interface AuthenticationApiAuthenticateOAuthRequest {
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @type AuthenticateOAuthRequest
|
|
472
|
+
* @memberof AuthenticationApiauthenticateOAuth
|
|
473
|
+
*/
|
|
474
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
475
|
+
}
|
|
476
|
+
export interface AuthenticationApiAuthenticateSIWERequest {
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @type SIWEAuthenticateRequest
|
|
480
|
+
* @memberof AuthenticationApiauthenticateSIWE
|
|
481
|
+
*/
|
|
482
|
+
sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
483
|
+
}
|
|
484
|
+
export interface AuthenticationApiAuthorizeWithOAuthTokenRequest {
|
|
485
|
+
/**
|
|
486
|
+
* OAuth provider
|
|
487
|
+
* @type OAuthProvider
|
|
488
|
+
* @memberof AuthenticationApiauthorizeWithOAuthToken
|
|
489
|
+
*/
|
|
490
|
+
provider: OAuthProvider;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type OAuthRequest
|
|
494
|
+
* @memberof AuthenticationApiauthorizeWithOAuthToken
|
|
495
|
+
*/
|
|
496
|
+
oAuthRequest: OAuthRequest;
|
|
497
|
+
}
|
|
498
|
+
export interface AuthenticationApiGetJwksRequest {
|
|
499
|
+
/**
|
|
500
|
+
* Specifies the project publishable key (starts with pk_).
|
|
501
|
+
* @type string
|
|
502
|
+
* @memberof AuthenticationApigetJwks
|
|
503
|
+
*/
|
|
504
|
+
publishableKey: string;
|
|
505
|
+
}
|
|
506
|
+
export interface AuthenticationApiInitOAuthRequest {
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type OAuthInitRequest
|
|
510
|
+
* @memberof AuthenticationApiinitOAuth
|
|
511
|
+
*/
|
|
512
|
+
oAuthInitRequest: OAuthInitRequest;
|
|
513
|
+
}
|
|
514
|
+
export interface AuthenticationApiInitSIWERequest {
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type SIWERequest
|
|
518
|
+
* @memberof AuthenticationApiinitSIWE
|
|
519
|
+
*/
|
|
520
|
+
sIWERequest: SIWERequest;
|
|
521
|
+
}
|
|
522
|
+
export interface AuthenticationApiLinkSIWERequest {
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @type SIWEAuthenticateRequest
|
|
526
|
+
* @memberof AuthenticationApilinkSIWE
|
|
527
|
+
*/
|
|
528
|
+
sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
529
|
+
}
|
|
530
|
+
export interface AuthenticationApiLoginEmailPasswordRequest {
|
|
306
531
|
/**
|
|
307
532
|
*
|
|
308
533
|
* @type LoginRequest
|
|
309
|
-
* @memberof
|
|
534
|
+
* @memberof AuthenticationApiloginEmailPassword
|
|
310
535
|
*/
|
|
311
536
|
loginRequest: LoginRequest;
|
|
312
537
|
}
|
|
313
|
-
export interface
|
|
538
|
+
export interface AuthenticationApiLogoutRequest {
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type LogoutRequest
|
|
542
|
+
* @memberof AuthenticationApilogout
|
|
543
|
+
*/
|
|
544
|
+
logoutRequest: LogoutRequest;
|
|
545
|
+
}
|
|
546
|
+
export interface AuthenticationApiRefreshRequest {
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type RefreshTokenRequest
|
|
550
|
+
* @memberof AuthenticationApirefresh
|
|
551
|
+
*/
|
|
552
|
+
refreshTokenRequest: RefreshTokenRequest;
|
|
553
|
+
}
|
|
554
|
+
export interface AuthenticationApiSignupEmailPasswordRequest {
|
|
314
555
|
/**
|
|
315
556
|
*
|
|
316
557
|
* @type SignupRequest
|
|
317
|
-
* @memberof
|
|
558
|
+
* @memberof AuthenticationApisignupEmailPassword
|
|
318
559
|
*/
|
|
319
560
|
signupRequest: SignupRequest;
|
|
320
561
|
}
|
|
321
|
-
export interface
|
|
562
|
+
export interface AuthenticationApiUnlinkOAuthRequest {
|
|
322
563
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @type
|
|
325
|
-
* @memberof
|
|
564
|
+
*
|
|
565
|
+
* @type LinkRequest
|
|
566
|
+
* @memberof AuthenticationApiunlinkOAuth
|
|
326
567
|
*/
|
|
327
|
-
|
|
568
|
+
linkRequest: LinkRequest;
|
|
569
|
+
}
|
|
570
|
+
export interface AuthenticationApiUnlinkSIWERequest {
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type SIWERequest
|
|
574
|
+
* @memberof AuthenticationApiunlinkSIWE
|
|
575
|
+
*/
|
|
576
|
+
sIWERequest: SIWERequest;
|
|
577
|
+
}
|
|
578
|
+
export interface AuthenticationApiVerifyOAuthRequest {
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type AuthenticateOAuthRequest
|
|
582
|
+
* @memberof AuthenticationApiverifyOAuth
|
|
583
|
+
*/
|
|
584
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
585
|
+
}
|
|
586
|
+
export interface AuthenticationApiVerifyOAuthTokenRequest {
|
|
587
|
+
/**
|
|
588
|
+
* OAuth provider
|
|
589
|
+
* @type OAuthProvider
|
|
590
|
+
* @memberof AuthenticationApiverifyOAuthToken
|
|
591
|
+
*/
|
|
592
|
+
provider: OAuthProvider;
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type OAuthRequest
|
|
596
|
+
* @memberof AuthenticationApiverifyOAuthToken
|
|
597
|
+
*/
|
|
598
|
+
oAuthRequest: OAuthRequest;
|
|
328
599
|
}
|
|
329
600
|
export declare class ObjectAuthenticationApi {
|
|
330
601
|
private api;
|
|
331
602
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
332
603
|
/**
|
|
333
|
-
*
|
|
334
|
-
*
|
|
604
|
+
* Authenticate player with oauth token.
|
|
605
|
+
* @param param the request object
|
|
606
|
+
*/
|
|
607
|
+
authenticateOAuth(param: AuthenticationApiAuthenticateOAuthRequest, options?: Configuration): Promise<AuthResponse>;
|
|
608
|
+
/**
|
|
609
|
+
* Authenticate player with SIWE
|
|
610
|
+
* @param param the request object
|
|
611
|
+
*/
|
|
612
|
+
authenticateSIWE(param: AuthenticationApiAuthenticateSIWERequest, options?: Configuration): Promise<void | AuthResponse>;
|
|
613
|
+
/**
|
|
614
|
+
* The endpoint verifies the token generated by OAuth provider, creates or retrieves a player based on his email, and returns the jwt token for the player together with the player id.
|
|
615
|
+
* Authorize player with token.
|
|
616
|
+
* @param param the request object
|
|
617
|
+
*/
|
|
618
|
+
authorizeWithOAuthToken(param: AuthenticationApiAuthorizeWithOAuthTokenRequest, options?: Configuration): Promise<DeprecatedAuthenticatedPlayerResponse>;
|
|
619
|
+
/**
|
|
620
|
+
* Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
621
|
+
* Get the jwks.json file.
|
|
622
|
+
* @param param the request object
|
|
623
|
+
*/
|
|
624
|
+
getJwks(param: AuthenticationApiGetJwksRequest, options?: Configuration): Promise<JwtKeyResponse>;
|
|
625
|
+
/**
|
|
626
|
+
* Initialize OAuth.
|
|
627
|
+
* @param param the request object
|
|
628
|
+
*/
|
|
629
|
+
initOAuth(param: AuthenticationApiInitOAuthRequest, options?: Configuration): Promise<GetSigninUrlResponse>;
|
|
630
|
+
/**
|
|
631
|
+
* Create a challenge to link external wallet to the player.
|
|
632
|
+
* Initialize SIWE.
|
|
633
|
+
* @param param the request object
|
|
634
|
+
*/
|
|
635
|
+
initSIWE(param: AuthenticationApiInitSIWERequest, options?: Configuration): Promise<SIWEInitResponse>;
|
|
636
|
+
/**
|
|
637
|
+
* Link external wallet.
|
|
638
|
+
* @param param the request object
|
|
639
|
+
*/
|
|
640
|
+
linkSIWE(param: AuthenticationApiLinkSIWERequest, options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
641
|
+
/**
|
|
642
|
+
* Authenticate a player based on email and password.
|
|
643
|
+
* Email and password login.
|
|
644
|
+
* @param param the request object
|
|
645
|
+
*/
|
|
646
|
+
loginEmailPassword(param: AuthenticationApiLoginEmailPasswordRequest, options?: Configuration): Promise<AuthResponse>;
|
|
647
|
+
/**
|
|
648
|
+
* When using Openfort Auth, the endpoint logs out the player.
|
|
649
|
+
* Log out a player.
|
|
650
|
+
* @param param the request object
|
|
651
|
+
*/
|
|
652
|
+
logout(param: AuthenticationApiLogoutRequest, options?: Configuration): Promise<void>;
|
|
653
|
+
/**
|
|
654
|
+
* Get or create a new session for the player based on the refresh token.
|
|
655
|
+
* Refresh or create auth session.
|
|
656
|
+
* @param param the request object
|
|
657
|
+
*/
|
|
658
|
+
refresh(param: AuthenticationApiRefreshRequest, options?: Configuration): Promise<AuthResponse>;
|
|
659
|
+
/**
|
|
660
|
+
* Create and authenticate a player based on email and password.
|
|
661
|
+
* Email and password signup.
|
|
662
|
+
* @param param the request object
|
|
663
|
+
*/
|
|
664
|
+
signupEmailPassword(param: AuthenticationApiSignupEmailPasswordRequest, options?: Configuration): Promise<AuthResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* Unlink OAuth account
|
|
335
667
|
* @param param the request object
|
|
336
668
|
*/
|
|
337
|
-
|
|
669
|
+
unlinkOAuth(param: AuthenticationApiUnlinkOAuthRequest, options?: Configuration): Promise<AuthPlayerResponse>;
|
|
338
670
|
/**
|
|
339
|
-
*
|
|
340
|
-
* Sign up a player.
|
|
671
|
+
* Unlink external wallet.
|
|
341
672
|
* @param param the request object
|
|
342
673
|
*/
|
|
343
|
-
|
|
674
|
+
unlinkSIWE(param: AuthenticationApiUnlinkSIWERequest, options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
344
675
|
/**
|
|
345
|
-
*
|
|
346
|
-
*
|
|
676
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
677
|
+
* Retrieve player by oauth token.
|
|
347
678
|
* @param param the request object
|
|
348
679
|
*/
|
|
349
|
-
|
|
680
|
+
verifyOAuth(param: AuthenticationApiVerifyOAuthRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
681
|
+
/**
|
|
682
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
683
|
+
* Retrieve player by token.
|
|
684
|
+
* @param param the request object
|
|
685
|
+
*/
|
|
686
|
+
verifyOAuthToken(param: AuthenticationApiVerifyOAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
350
687
|
}
|
|
351
688
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
352
689
|
export interface ContractsApiCreateContractRequest {
|
|
@@ -490,30 +827,96 @@ export declare class ObjectContractsApi {
|
|
|
490
827
|
*/
|
|
491
828
|
updateContract(param: ContractsApiUpdateContractRequest, options?: Configuration): Promise<ContractResponse>;
|
|
492
829
|
}
|
|
493
|
-
import {
|
|
494
|
-
export interface
|
|
830
|
+
import { EmbeddedApiRequestFactory, EmbeddedApiResponseProcessor } from "../apis/EmbeddedApi";
|
|
831
|
+
export interface EmbeddedApiCreateDeviceRequest {
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @type CreateDeviceRequest
|
|
835
|
+
* @memberof EmbeddedApicreateDevice
|
|
836
|
+
*/
|
|
837
|
+
createDeviceRequest: CreateDeviceRequest;
|
|
495
838
|
}
|
|
496
|
-
export interface
|
|
839
|
+
export interface EmbeddedApiCreateDeviceShareRequest {
|
|
497
840
|
/**
|
|
498
|
-
* Specifies the
|
|
841
|
+
* Specifies the unique device ID (starts with dev_).
|
|
499
842
|
* @type string
|
|
500
|
-
* @memberof
|
|
843
|
+
* @memberof EmbeddedApicreateDeviceShare
|
|
844
|
+
*/
|
|
845
|
+
id: string;
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @type CreateShareRequest
|
|
849
|
+
* @memberof EmbeddedApicreateDeviceShare
|
|
850
|
+
*/
|
|
851
|
+
createShareRequest: CreateShareRequest;
|
|
852
|
+
}
|
|
853
|
+
export interface EmbeddedApiGetDeviceSharesRequest {
|
|
854
|
+
/**
|
|
855
|
+
* Specifies the unique device ID (starts with dev_).
|
|
856
|
+
* @type string
|
|
857
|
+
* @memberof EmbeddedApigetDeviceShares
|
|
858
|
+
*/
|
|
859
|
+
id: string;
|
|
860
|
+
/**
|
|
861
|
+
* Specifies the type of the share ID
|
|
862
|
+
* @type string
|
|
863
|
+
* @memberof EmbeddedApigetDeviceShares
|
|
864
|
+
*/
|
|
865
|
+
shareType?: string;
|
|
866
|
+
}
|
|
867
|
+
export interface EmbeddedApiGetDevicesRequest {
|
|
868
|
+
/**
|
|
869
|
+
* Specifies the unique account ID (starts with acc_)
|
|
870
|
+
* @type string
|
|
871
|
+
* @memberof EmbeddedApigetDevices
|
|
872
|
+
*/
|
|
873
|
+
account: string;
|
|
874
|
+
/**
|
|
875
|
+
* Specifies the maximum number of records to return.
|
|
876
|
+
* @type number
|
|
877
|
+
* @memberof EmbeddedApigetDevices
|
|
878
|
+
*/
|
|
879
|
+
limit?: number;
|
|
880
|
+
/**
|
|
881
|
+
* Specifies the offset for the first records to return.
|
|
882
|
+
* @type number
|
|
883
|
+
* @memberof EmbeddedApigetDevices
|
|
884
|
+
*/
|
|
885
|
+
skip?: number;
|
|
886
|
+
/**
|
|
887
|
+
* Specifies the order in which to sort the results.
|
|
888
|
+
* @type SortOrder
|
|
889
|
+
* @memberof EmbeddedApigetDevices
|
|
501
890
|
*/
|
|
502
|
-
|
|
891
|
+
order?: SortOrder;
|
|
503
892
|
}
|
|
504
|
-
export declare class
|
|
893
|
+
export declare class ObjectEmbeddedApi {
|
|
505
894
|
private api;
|
|
506
|
-
constructor(configuration: Configuration, requestFactory?:
|
|
895
|
+
constructor(configuration: Configuration, requestFactory?: EmbeddedApiRequestFactory, responseProcessor?: EmbeddedApiResponseProcessor);
|
|
896
|
+
/**
|
|
897
|
+
* 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.
|
|
898
|
+
* Create a device object.
|
|
899
|
+
* @param param the request object
|
|
900
|
+
*/
|
|
901
|
+
createDevice(param: EmbeddedApiCreateDeviceRequest, options?: Configuration): Promise<DeviceResponse>;
|
|
902
|
+
/**
|
|
903
|
+
* Add the share of for existing device.
|
|
904
|
+
* Create a device share.
|
|
905
|
+
* @param param the request object
|
|
906
|
+
*/
|
|
907
|
+
createDeviceShare(param: EmbeddedApiCreateDeviceShareRequest, options?: Configuration): Promise<ShareResponse>;
|
|
507
908
|
/**
|
|
508
|
-
*
|
|
909
|
+
* Retrieves the shares of an existing device.
|
|
910
|
+
* Get existing device shares.
|
|
509
911
|
* @param param the request object
|
|
510
912
|
*/
|
|
511
|
-
|
|
913
|
+
getDeviceShares(param: EmbeddedApiGetDeviceSharesRequest, options?: Configuration): Promise<BaseEntityListResponseShareResponse>;
|
|
512
914
|
/**
|
|
513
|
-
*
|
|
915
|
+
* 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.
|
|
916
|
+
* List devices of account.
|
|
514
917
|
* @param param the request object
|
|
515
918
|
*/
|
|
516
|
-
|
|
919
|
+
getDevices(param: EmbeddedApiGetDevicesRequest, options?: Configuration): Promise<BaseEntityListResponseDeviceResponse>;
|
|
517
920
|
}
|
|
518
921
|
import { InventoriesApiRequestFactory, InventoriesApiResponseProcessor } from "../apis/InventoriesApi";
|
|
519
922
|
export interface InventoriesApiGetAccountCryptoCurrencyInventoryRequest {
|
|
@@ -973,121 +1376,6 @@ export declare class ObjectNotificationsApi {
|
|
|
973
1376
|
*/
|
|
974
1377
|
getNotifications(param?: NotificationsApiGetNotificationsRequest, options?: Configuration): Promise<NotificationListResponse>;
|
|
975
1378
|
}
|
|
976
|
-
import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
|
|
977
|
-
export interface OAuthApiAuthorizeWithOAuthTokenRequest {
|
|
978
|
-
/**
|
|
979
|
-
* OAuth provider
|
|
980
|
-
* @type OAuthProvider
|
|
981
|
-
* @memberof OAuthApiauthorizeWithOAuthToken
|
|
982
|
-
*/
|
|
983
|
-
provider: OAuthProvider;
|
|
984
|
-
/**
|
|
985
|
-
*
|
|
986
|
-
* @type OAuthRequest
|
|
987
|
-
* @memberof OAuthApiauthorizeWithOAuthToken
|
|
988
|
-
*/
|
|
989
|
-
oAuthRequest: OAuthRequest;
|
|
990
|
-
}
|
|
991
|
-
export interface OAuthApiCreateOAuthConfigRequest {
|
|
992
|
-
/**
|
|
993
|
-
* Specifies the oauth provider specific configuration.
|
|
994
|
-
* @type OAuthConfig
|
|
995
|
-
* @memberof OAuthApicreateOAuthConfig
|
|
996
|
-
*/
|
|
997
|
-
body: OAuthConfig;
|
|
998
|
-
}
|
|
999
|
-
export interface OAuthApiDeleteOAuthConfigRequest {
|
|
1000
|
-
/**
|
|
1001
|
-
* Specifies the oauth provider type.
|
|
1002
|
-
* @type OAuthProvider
|
|
1003
|
-
* @memberof OAuthApideleteOAuthConfig
|
|
1004
|
-
*/
|
|
1005
|
-
provider: OAuthProvider;
|
|
1006
|
-
}
|
|
1007
|
-
export interface OAuthApiGetOAuthConfigRequest {
|
|
1008
|
-
/**
|
|
1009
|
-
* Specifies the oauth provider type.
|
|
1010
|
-
* @type OAuthProvider
|
|
1011
|
-
* @memberof OAuthApigetOAuthConfig
|
|
1012
|
-
*/
|
|
1013
|
-
provider: OAuthProvider;
|
|
1014
|
-
}
|
|
1015
|
-
export interface OAuthApiGetPlayerByExternalIdRequest {
|
|
1016
|
-
/**
|
|
1017
|
-
* OAuth provider
|
|
1018
|
-
* @type OAuthProvider
|
|
1019
|
-
* @memberof OAuthApigetPlayerByExternalId
|
|
1020
|
-
*/
|
|
1021
|
-
provider: OAuthProvider;
|
|
1022
|
-
/**
|
|
1023
|
-
* External user id
|
|
1024
|
-
* @type string
|
|
1025
|
-
* @memberof OAuthApigetPlayerByExternalId
|
|
1026
|
-
*/
|
|
1027
|
-
externalUserId: string;
|
|
1028
|
-
}
|
|
1029
|
-
export interface OAuthApiListOAuthConfigRequest {
|
|
1030
|
-
}
|
|
1031
|
-
export interface OAuthApiVerifyOAuthTokenRequest {
|
|
1032
|
-
/**
|
|
1033
|
-
* OAuth provider
|
|
1034
|
-
* @type OAuthProvider
|
|
1035
|
-
* @memberof OAuthApiverifyOAuthToken
|
|
1036
|
-
*/
|
|
1037
|
-
provider: OAuthProvider;
|
|
1038
|
-
/**
|
|
1039
|
-
*
|
|
1040
|
-
* @type OAuthRequest
|
|
1041
|
-
* @memberof OAuthApiverifyOAuthToken
|
|
1042
|
-
*/
|
|
1043
|
-
oAuthRequest: OAuthRequest;
|
|
1044
|
-
}
|
|
1045
|
-
export declare class ObjectOAuthApi {
|
|
1046
|
-
private api;
|
|
1047
|
-
constructor(configuration: Configuration, requestFactory?: OAuthApiRequestFactory, responseProcessor?: OAuthApiResponseProcessor);
|
|
1048
|
-
/**
|
|
1049
|
-
* The endpoint verifies the token generated by OAuth provider, creates or retrieves a player based on his email, and returns the jwt token for the player together with the player id.
|
|
1050
|
-
* Authorize player with token.
|
|
1051
|
-
* @param param the request object
|
|
1052
|
-
*/
|
|
1053
|
-
authorizeWithOAuthToken(param: OAuthApiAuthorizeWithOAuthTokenRequest, options?: Configuration): Promise<AuthorizeWithOAuthToken200Response>;
|
|
1054
|
-
/**
|
|
1055
|
-
* The endpoint creates oauth configuration for the current project environment.
|
|
1056
|
-
* Create oauth configuration.
|
|
1057
|
-
* @param param the request object
|
|
1058
|
-
*/
|
|
1059
|
-
createOAuthConfig(param: OAuthApiCreateOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
1060
|
-
/**
|
|
1061
|
-
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
1062
|
-
* Delete oauth configuration.
|
|
1063
|
-
* @param param the request object
|
|
1064
|
-
*/
|
|
1065
|
-
deleteOAuthConfig(param: OAuthApiDeleteOAuthConfigRequest, options?: Configuration): Promise<void>;
|
|
1066
|
-
/**
|
|
1067
|
-
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
1068
|
-
* Get oauth configuration.
|
|
1069
|
-
* @param param the request object
|
|
1070
|
-
*/
|
|
1071
|
-
getOAuthConfig(param: OAuthApiGetOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
1072
|
-
/**
|
|
1073
|
-
* Retrieves the player based on his id in the external provider system.
|
|
1074
|
-
* Retrieve player by external id.
|
|
1075
|
-
* @param param the request object
|
|
1076
|
-
*/
|
|
1077
|
-
getPlayerByExternalId(param: OAuthApiGetPlayerByExternalIdRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
1078
|
-
/**
|
|
1079
|
-
* The endpoint retrieves the list of oauth configurations for the current project environment.
|
|
1080
|
-
* List of oauth configurations.
|
|
1081
|
-
* @param param the request object
|
|
1082
|
-
*/
|
|
1083
|
-
listOAuthConfig(param?: OAuthApiListOAuthConfigRequest, options?: Configuration): Promise<OAuthConfigListResponse>;
|
|
1084
|
-
/**
|
|
1085
|
-
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
1086
|
-
* Retrieve player by token.
|
|
1087
|
-
* @param param the request object
|
|
1088
|
-
*/
|
|
1089
|
-
verifyOAuthToken(param: OAuthApiVerifyOAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
1090
|
-
}
|
|
1091
1379
|
import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
|
|
1092
1380
|
export interface PlayersApiCancelTransferAccountOwnershipRequest {
|
|
1093
1381
|
/**
|
|
@@ -1237,62 +1525,6 @@ export declare class ObjectPlayersApi {
|
|
|
1237
1525
|
*/
|
|
1238
1526
|
updatePlayer(param: PlayersApiUpdatePlayerRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
1239
1527
|
}
|
|
1240
|
-
import { PlayersAuthenticationApiRequestFactory, PlayersAuthenticationApiResponseProcessor } from "../apis/PlayersAuthenticationApi";
|
|
1241
|
-
export interface PlayersAuthenticationApiGetAuthenticatedPlayersRequest {
|
|
1242
|
-
/**
|
|
1243
|
-
* Specifies the maximum number of records to return.
|
|
1244
|
-
* @type number
|
|
1245
|
-
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
1246
|
-
*/
|
|
1247
|
-
limit?: number;
|
|
1248
|
-
/**
|
|
1249
|
-
* Specifies the offset for the first records to return.
|
|
1250
|
-
* @type number
|
|
1251
|
-
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
1252
|
-
*/
|
|
1253
|
-
skip?: number;
|
|
1254
|
-
/**
|
|
1255
|
-
* Specifies the order in which to sort the results.
|
|
1256
|
-
* @type SortOrder
|
|
1257
|
-
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
1258
|
-
*/
|
|
1259
|
-
order?: SortOrder;
|
|
1260
|
-
/**
|
|
1261
|
-
* Specifies the email address of the user.
|
|
1262
|
-
* @type string
|
|
1263
|
-
* @memberof PlayersAuthenticationApigetAuthenticatedPlayers
|
|
1264
|
-
*/
|
|
1265
|
-
email?: string;
|
|
1266
|
-
}
|
|
1267
|
-
export interface PlayersAuthenticationApiRegisterKeyRequest {
|
|
1268
|
-
/**
|
|
1269
|
-
*
|
|
1270
|
-
* @type RegisterPlayerEncryptedKeyRequest
|
|
1271
|
-
* @memberof PlayersAuthenticationApiregisterKey
|
|
1272
|
-
*/
|
|
1273
|
-
registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest;
|
|
1274
|
-
}
|
|
1275
|
-
export interface PlayersAuthenticationApiRetrieveKeyRequest {
|
|
1276
|
-
}
|
|
1277
|
-
export declare class ObjectPlayersAuthenticationApi {
|
|
1278
|
-
private api;
|
|
1279
|
-
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
1280
|
-
/**
|
|
1281
|
-
* List authenticated players.
|
|
1282
|
-
* @param param the request object
|
|
1283
|
-
*/
|
|
1284
|
-
getAuthenticatedPlayers(param?: PlayersAuthenticationApiGetAuthenticatedPlayersRequest, options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
1285
|
-
/**
|
|
1286
|
-
* Register a key for the authenticated player.
|
|
1287
|
-
* @param param the request object
|
|
1288
|
-
*/
|
|
1289
|
-
registerKey(param: PlayersAuthenticationApiRegisterKeyRequest, options?: Configuration): Promise<RegisterPlayerEncryptedKeyResponse>;
|
|
1290
|
-
/**
|
|
1291
|
-
* Retrieve the key for the authenticated player.
|
|
1292
|
-
* @param param the request object
|
|
1293
|
-
*/
|
|
1294
|
-
retrieveKey(param?: PlayersAuthenticationApiRetrieveKeyRequest, options?: Configuration): Promise<RetrievePlayerEncryptedKeyResponse>;
|
|
1295
|
-
}
|
|
1296
1528
|
import { PoliciesApiRequestFactory, PoliciesApiResponseProcessor } from "../apis/PoliciesApi";
|
|
1297
1529
|
export interface PoliciesApiCreatePolicyRequest {
|
|
1298
1530
|
/**
|