@openfort/openfort-node 0.6.44 → 0.6.46
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} +60 -27
- package/dist/generated/apis/{OAuthApi.js → AdminAuthenticationApi.js} +187 -85
- 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/index.d.ts +1 -1
- package/dist/generated/index.js +2 -4
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/Account.d.ts +1 -0
- package/dist/generated/models/Account.js +6 -0
- package/dist/generated/models/Account.js.map +1 -1
- package/dist/generated/models/AccountResponse.d.ts +1 -0
- package/dist/generated/models/AccountResponse.js +6 -0
- package/dist/generated/models/AccountResponse.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 +35 -0
- package/dist/generated/models/AuthenticateOAuthRequest.js +44 -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/CustomAuthConfig.d.ts +41 -0
- package/dist/generated/models/CustomAuthConfig.js +50 -0
- package/dist/generated/models/CustomAuthConfig.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/GoogleOAuthConfig.d.ts +0 -4
- package/dist/generated/models/GoogleOAuthConfig.js +0 -6
- package/dist/generated/models/GoogleOAuthConfig.js.map +1 -1
- 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/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/OAuthConfig.d.ts +20 -4
- package/dist/generated/models/OAuthConfig.js +30 -6
- package/dist/generated/models/OAuthConfig.js.map +1 -1
- package/dist/generated/models/OAuthInitRequest.d.ts +31 -0
- package/dist/generated/models/OAuthInitRequest.js +38 -0
- package/dist/generated/models/OAuthInitRequest.js.map +1 -0
- package/dist/generated/models/OAuthInitRequestOptions.d.ts +45 -0
- package/dist/generated/models/OAuthInitRequestOptions.js +50 -0
- package/dist/generated/models/OAuthInitRequestOptions.js.map +1 -0
- package/dist/generated/models/OAuthProvider.d.ts +1 -1
- package/dist/generated/models/OAuthProviderCUSTOM.d.ts +12 -0
- package/dist/generated/models/OAuthProviderCUSTOM.js +14 -0
- package/dist/generated/models/OAuthProviderCUSTOM.js.map +1 -0
- package/dist/generated/models/OAuthProviderOIDC.d.ts +12 -0
- package/dist/generated/models/OAuthProviderOIDC.js +14 -0
- package/dist/generated/models/OAuthProviderOIDC.js.map +1 -0
- package/dist/generated/models/{GetSigninUrlResponse.d.ts → OAuthResponse.d.ts} +1 -1
- package/dist/generated/models/{GetSigninUrlResponse.js → OAuthResponse.js} +7 -7
- package/dist/generated/models/OAuthResponse.js.map +1 -0
- package/dist/generated/models/OIDCAuthConfig.d.ts +45 -0
- package/dist/generated/models/OIDCAuthConfig.js +56 -0
- package/dist/generated/models/OIDCAuthConfig.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +36 -6
- package/dist/generated/models/ObjectSerializer.js +102 -18
- 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/PlayerResponseAccountsInner.d.ts +1 -0
- package/dist/generated/models/PlayerResponseAccountsInner.js +6 -0
- package/dist/generated/models/PlayerResponseAccountsInner.js.map +1 -1
- 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/SignupRequest.d.ts +5 -5
- 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/TokenType.d.ts +15 -0
- package/dist/generated/models/TokenType.js +14 -0
- package/dist/generated/models/TokenType.js.map +1 -0
- package/dist/generated/models/TransactionIntentResponseAccount.d.ts +1 -0
- package/dist/generated/models/TransactionIntentResponseAccount.js +6 -0
- package/dist/generated/models/TransactionIntentResponseAccount.js.map +1 -1
- package/dist/generated/models/UnlinkRequest.d.ts +32 -0
- package/dist/generated/models/UnlinkRequest.js +35 -0
- package/dist/generated/models/UnlinkRequest.js.map +1 -0
- package/dist/generated/models/all.d.ts +36 -6
- package/dist/generated/models/all.js +36 -6
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +356 -221
- package/dist/generated/types/ObjectParamAPI.js +199 -142
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +157 -108
- package/dist/generated/types/ObservableAPI.js +470 -298
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +155 -102
- package/dist/generated/types/PromiseAPI.js +227 -159
- 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 +0 -174
- 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/GetSigninUrlResponse.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,10 @@ 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';
|
|
8
10
|
import { CancelTransferOwnershipRequest } from '../models/CancelTransferOwnershipRequest';
|
|
9
11
|
import { CompleteRecoveryRequest } from '../models/CompleteRecoveryRequest';
|
|
10
12
|
import { ContractDeleteResponse } from '../models/ContractDeleteResponse';
|
|
@@ -22,6 +24,7 @@ import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
|
22
24
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
23
25
|
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
24
26
|
import { DeployRequest } from '../models/DeployRequest';
|
|
27
|
+
import { DeprecatedAuthenticatedPlayerResponse } from '../models/DeprecatedAuthenticatedPlayerResponse';
|
|
25
28
|
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
26
29
|
import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDeleteResponse';
|
|
27
30
|
import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
|
|
@@ -30,10 +33,11 @@ import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
|
|
|
30
33
|
import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
|
|
31
34
|
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
32
35
|
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
33
|
-
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
34
36
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
35
37
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
38
|
+
import { JwtKeyResponse } from '../models/JwtKeyResponse';
|
|
36
39
|
import { LoginRequest } from '../models/LoginRequest';
|
|
40
|
+
import { LogoutRequest } from '../models/LogoutRequest';
|
|
37
41
|
import { NotificationDeleteResponse } from '../models/NotificationDeleteResponse';
|
|
38
42
|
import { NotificationListResponse } from '../models/NotificationListResponse';
|
|
39
43
|
import { NotificationResponse } from '../models/NotificationResponse';
|
|
@@ -46,8 +50,10 @@ import { NotificationTriggerListResponse } from '../models/NotificationTriggerLi
|
|
|
46
50
|
import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
|
|
47
51
|
import { OAuthConfig } from '../models/OAuthConfig';
|
|
48
52
|
import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
|
|
53
|
+
import { OAuthInitRequest } from '../models/OAuthInitRequest';
|
|
49
54
|
import { OAuthProvider } from '../models/OAuthProvider';
|
|
50
55
|
import { OAuthRequest } from '../models/OAuthRequest';
|
|
56
|
+
import { OAuthResponse } from '../models/OAuthResponse';
|
|
51
57
|
import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
|
|
52
58
|
import { PlayerCreateRequest } from '../models/PlayerCreateRequest';
|
|
53
59
|
import { PlayerDeleteResponse } from '../models/PlayerDeleteResponse';
|
|
@@ -64,10 +70,11 @@ import { PolicyResponseExpandable } from '../models/PolicyResponseExpandable';
|
|
|
64
70
|
import { PolicyRuleDeleteResponse } from '../models/PolicyRuleDeleteResponse';
|
|
65
71
|
import { PolicyRuleListResponse } from '../models/PolicyRuleListResponse';
|
|
66
72
|
import { PolicyRuleResponse } from '../models/PolicyRuleResponse';
|
|
67
|
-
import {
|
|
68
|
-
import { RegisterPlayerEncryptedKeyResponse } from '../models/RegisterPlayerEncryptedKeyResponse';
|
|
69
|
-
import { RetrievePlayerEncryptedKeyResponse } from '../models/RetrievePlayerEncryptedKeyResponse';
|
|
73
|
+
import { RefreshTokenRequest } from '../models/RefreshTokenRequest';
|
|
70
74
|
import { RevokeSessionRequest } from '../models/RevokeSessionRequest';
|
|
75
|
+
import { SIWEAuthenticateRequest } from '../models/SIWEAuthenticateRequest';
|
|
76
|
+
import { SIWEInitResponse } from '../models/SIWEInitResponse';
|
|
77
|
+
import { SIWERequest } from '../models/SIWERequest';
|
|
71
78
|
import { SessionListResponse } from '../models/SessionListResponse';
|
|
72
79
|
import { SessionResponse } from '../models/SessionResponse';
|
|
73
80
|
import { SessionResponseExpandable } from '../models/SessionResponseExpandable';
|
|
@@ -83,6 +90,7 @@ import { TransactionIntentListResponse } from '../models/TransactionIntentListRe
|
|
|
83
90
|
import { TransactionIntentResponse } from '../models/TransactionIntentResponse';
|
|
84
91
|
import { TransactionIntentResponseExpandable } from '../models/TransactionIntentResponseExpandable';
|
|
85
92
|
import { TransferOwnershipRequest } from '../models/TransferOwnershipRequest';
|
|
93
|
+
import { UnlinkRequest } from '../models/UnlinkRequest';
|
|
86
94
|
import { UpdateContractRequest } from '../models/UpdateContractRequest';
|
|
87
95
|
import { UpdatePolicyRequest } from '../models/UpdatePolicyRequest';
|
|
88
96
|
import { UpdatePolicyRuleRequest } from '../models/UpdatePolicyRuleRequest';
|
|
@@ -260,7 +268,7 @@ export declare class ObjectAccountsApi {
|
|
|
260
268
|
*/
|
|
261
269
|
createAccount(param: AccountsApiCreateAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
262
270
|
/**
|
|
263
|
-
* This endpoint can be used to deploy
|
|
271
|
+
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
264
272
|
* Deploy an account.
|
|
265
273
|
* @param param the request object
|
|
266
274
|
*/
|
|
@@ -272,7 +280,7 @@ export declare class ObjectAccountsApi {
|
|
|
272
280
|
*/
|
|
273
281
|
getAccount(param: AccountsApiGetAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
274
282
|
/**
|
|
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.
|
|
283
|
+
* 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
284
|
* List accounts of a player.
|
|
277
285
|
* @param param the request object
|
|
278
286
|
*/
|
|
@@ -301,52 +309,375 @@ export declare class ObjectAccountsApi {
|
|
|
301
309
|
*/
|
|
302
310
|
syncAccount(param: AccountsApiSyncAccountRequest, options?: Configuration): Promise<AccountResponse>;
|
|
303
311
|
}
|
|
312
|
+
import { AdminAuthenticationApiRequestFactory, AdminAuthenticationApiResponseProcessor } from "../apis/AdminAuthenticationApi";
|
|
313
|
+
export interface AdminAuthenticationApiCreateOAuthConfigRequest {
|
|
314
|
+
/**
|
|
315
|
+
* Specifies the oauth provider specific configuration.
|
|
316
|
+
* @type OAuthConfig
|
|
317
|
+
* @memberof AdminAuthenticationApicreateOAuthConfig
|
|
318
|
+
*/
|
|
319
|
+
body: OAuthConfig;
|
|
320
|
+
}
|
|
321
|
+
export interface AdminAuthenticationApiDeleteAuthPlayerRequest {
|
|
322
|
+
/**
|
|
323
|
+
* Specifies the unique player ID (starts with pla_).
|
|
324
|
+
* @type string
|
|
325
|
+
* @memberof AdminAuthenticationApideleteAuthPlayer
|
|
326
|
+
*/
|
|
327
|
+
id: string;
|
|
328
|
+
}
|
|
329
|
+
export interface AdminAuthenticationApiDeleteOAuthConfigRequest {
|
|
330
|
+
/**
|
|
331
|
+
* Specifies the oauth provider type.
|
|
332
|
+
* @type OAuthProvider
|
|
333
|
+
* @memberof AdminAuthenticationApideleteOAuthConfig
|
|
334
|
+
*/
|
|
335
|
+
provider: OAuthProvider;
|
|
336
|
+
}
|
|
337
|
+
export interface AdminAuthenticationApiGetAuthPlayersRequest {
|
|
338
|
+
/**
|
|
339
|
+
* Specifies the maximum number of records to return.
|
|
340
|
+
* @type number
|
|
341
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
342
|
+
*/
|
|
343
|
+
limit?: number;
|
|
344
|
+
/**
|
|
345
|
+
* Specifies the offset for the first records to return.
|
|
346
|
+
* @type number
|
|
347
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
348
|
+
*/
|
|
349
|
+
skip?: number;
|
|
350
|
+
/**
|
|
351
|
+
* Specifies the order in which to sort the results.
|
|
352
|
+
* @type SortOrder
|
|
353
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
354
|
+
*/
|
|
355
|
+
order?: SortOrder;
|
|
356
|
+
/**
|
|
357
|
+
* Specifies the email address of the user.
|
|
358
|
+
* @type string
|
|
359
|
+
* @memberof AdminAuthenticationApigetAuthPlayers
|
|
360
|
+
*/
|
|
361
|
+
email?: string;
|
|
362
|
+
}
|
|
363
|
+
export interface AdminAuthenticationApiGetOAuthConfigRequest {
|
|
364
|
+
/**
|
|
365
|
+
* Specifies the oauth provider type.
|
|
366
|
+
* @type OAuthProvider
|
|
367
|
+
* @memberof AdminAuthenticationApigetOAuthConfig
|
|
368
|
+
*/
|
|
369
|
+
provider: OAuthProvider;
|
|
370
|
+
}
|
|
371
|
+
export interface AdminAuthenticationApiListOAuthConfigRequest {
|
|
372
|
+
}
|
|
373
|
+
export interface AdminAuthenticationApiVerifyAuthTokenRequest {
|
|
374
|
+
/**
|
|
375
|
+
* Specifies the auth token.
|
|
376
|
+
* @type string
|
|
377
|
+
* @memberof AdminAuthenticationApiverifyAuthToken
|
|
378
|
+
*/
|
|
379
|
+
token: string;
|
|
380
|
+
}
|
|
381
|
+
export interface AdminAuthenticationApiVerifyOAuthRequest {
|
|
382
|
+
/**
|
|
383
|
+
* OAuth provider
|
|
384
|
+
* @type OAuthProvider
|
|
385
|
+
* @memberof AdminAuthenticationApiverifyOAuth
|
|
386
|
+
*/
|
|
387
|
+
provider: OAuthProvider;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type OAuthRequest
|
|
391
|
+
* @memberof AdminAuthenticationApiverifyOAuth
|
|
392
|
+
*/
|
|
393
|
+
oAuthRequest: OAuthRequest;
|
|
394
|
+
}
|
|
395
|
+
export interface AdminAuthenticationApiVerifyOAuthTokenRequest {
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @type AuthenticateOAuthRequest
|
|
399
|
+
* @memberof AdminAuthenticationApiverifyOAuthToken
|
|
400
|
+
*/
|
|
401
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
402
|
+
}
|
|
403
|
+
export declare class ObjectAdminAuthenticationApi {
|
|
404
|
+
private api;
|
|
405
|
+
constructor(configuration: Configuration, requestFactory?: AdminAuthenticationApiRequestFactory, responseProcessor?: AdminAuthenticationApiResponseProcessor);
|
|
406
|
+
/**
|
|
407
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
408
|
+
* Create oauth configuration.
|
|
409
|
+
* @param param the request object
|
|
410
|
+
*/
|
|
411
|
+
createOAuthConfig(param: AdminAuthenticationApiCreateOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
412
|
+
/**
|
|
413
|
+
* Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
|
|
414
|
+
* Deletes a player auth object.
|
|
415
|
+
* @param param the request object
|
|
416
|
+
*/
|
|
417
|
+
deleteAuthPlayer(param: AdminAuthenticationApiDeleteAuthPlayerRequest, options?: Configuration): Promise<AuthPlayerResponse>;
|
|
418
|
+
/**
|
|
419
|
+
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
420
|
+
* Delete oauth configuration.
|
|
421
|
+
* @param param the request object
|
|
422
|
+
*/
|
|
423
|
+
deleteOAuthConfig(param: AdminAuthenticationApiDeleteOAuthConfigRequest, options?: Configuration): Promise<void>;
|
|
424
|
+
/**
|
|
425
|
+
* Retrieves a list of authenticated players. Players have linked accounts and are authenticated with a provider.
|
|
426
|
+
* List authenticated players.
|
|
427
|
+
* @param param the request object
|
|
428
|
+
*/
|
|
429
|
+
getAuthPlayers(param?: AdminAuthenticationApiGetAuthPlayersRequest, options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
430
|
+
/**
|
|
431
|
+
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
432
|
+
* Get oauth configuration.
|
|
433
|
+
* @param param the request object
|
|
434
|
+
*/
|
|
435
|
+
getOAuthConfig(param: AdminAuthenticationApiGetOAuthConfigRequest, options?: Configuration): Promise<OAuthConfig>;
|
|
436
|
+
/**
|
|
437
|
+
* List configured OAuth methods for the current project environment.
|
|
438
|
+
* List of oauth configurations.
|
|
439
|
+
* @param param the request object
|
|
440
|
+
*/
|
|
441
|
+
listOAuthConfig(param?: AdminAuthenticationApiListOAuthConfigRequest, options?: Configuration): Promise<OAuthConfigListResponse>;
|
|
442
|
+
/**
|
|
443
|
+
* Verifies the token generated by Openfort Auth.
|
|
444
|
+
* Verify auth token.
|
|
445
|
+
* @param param the request object
|
|
446
|
+
*/
|
|
447
|
+
verifyAuthToken(param: AdminAuthenticationApiVerifyAuthTokenRequest, options?: Configuration): Promise<AuthSessionResponse>;
|
|
448
|
+
/**
|
|
449
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
450
|
+
* Retrieve player by token.
|
|
451
|
+
* @param param the request object
|
|
452
|
+
*/
|
|
453
|
+
verifyOAuth(param: AdminAuthenticationApiVerifyOAuthRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
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
|
+
verifyOAuthToken(param: AdminAuthenticationApiVerifyOAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
460
|
+
}
|
|
304
461
|
import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor } from "../apis/AuthenticationApi";
|
|
305
|
-
export interface
|
|
462
|
+
export interface AuthenticationApiAuthenticateOAuthRequest {
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type AuthenticateOAuthRequest
|
|
466
|
+
* @memberof AuthenticationApiauthenticateOAuth
|
|
467
|
+
*/
|
|
468
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
469
|
+
}
|
|
470
|
+
export interface AuthenticationApiAuthenticateSIWERequest {
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @type SIWEAuthenticateRequest
|
|
474
|
+
* @memberof AuthenticationApiauthenticateSIWE
|
|
475
|
+
*/
|
|
476
|
+
sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
477
|
+
}
|
|
478
|
+
export interface AuthenticationApiAuthorizeWithOAuthTokenRequest {
|
|
479
|
+
/**
|
|
480
|
+
* OAuth provider
|
|
481
|
+
* @type OAuthProvider
|
|
482
|
+
* @memberof AuthenticationApiauthorizeWithOAuthToken
|
|
483
|
+
*/
|
|
484
|
+
provider: OAuthProvider;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type OAuthRequest
|
|
488
|
+
* @memberof AuthenticationApiauthorizeWithOAuthToken
|
|
489
|
+
*/
|
|
490
|
+
oAuthRequest: OAuthRequest;
|
|
491
|
+
}
|
|
492
|
+
export interface AuthenticationApiGetJwksRequest {
|
|
493
|
+
/**
|
|
494
|
+
* Specifies the project publishable key (starts with pk_).
|
|
495
|
+
* @type string
|
|
496
|
+
* @memberof AuthenticationApigetJwks
|
|
497
|
+
*/
|
|
498
|
+
publishableKey: string;
|
|
499
|
+
}
|
|
500
|
+
export interface AuthenticationApiInitOAuthRequest {
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @type OAuthInitRequest
|
|
504
|
+
* @memberof AuthenticationApiinitOAuth
|
|
505
|
+
*/
|
|
506
|
+
oAuthInitRequest: OAuthInitRequest;
|
|
507
|
+
}
|
|
508
|
+
export interface AuthenticationApiInitSIWERequest {
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type SIWERequest
|
|
512
|
+
* @memberof AuthenticationApiinitSIWE
|
|
513
|
+
*/
|
|
514
|
+
sIWERequest: SIWERequest;
|
|
515
|
+
}
|
|
516
|
+
export interface AuthenticationApiLinkSIWERequest {
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @type SIWEAuthenticateRequest
|
|
520
|
+
* @memberof AuthenticationApilinkSIWE
|
|
521
|
+
*/
|
|
522
|
+
sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
523
|
+
}
|
|
524
|
+
export interface AuthenticationApiLoginEmailPasswordRequest {
|
|
306
525
|
/**
|
|
307
526
|
*
|
|
308
527
|
* @type LoginRequest
|
|
309
|
-
* @memberof
|
|
528
|
+
* @memberof AuthenticationApiloginEmailPassword
|
|
310
529
|
*/
|
|
311
530
|
loginRequest: LoginRequest;
|
|
312
531
|
}
|
|
313
|
-
export interface
|
|
532
|
+
export interface AuthenticationApiLogoutRequest {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type LogoutRequest
|
|
536
|
+
* @memberof AuthenticationApilogout
|
|
537
|
+
*/
|
|
538
|
+
logoutRequest: LogoutRequest;
|
|
539
|
+
}
|
|
540
|
+
export interface AuthenticationApiRefreshRequest {
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type RefreshTokenRequest
|
|
544
|
+
* @memberof AuthenticationApirefresh
|
|
545
|
+
*/
|
|
546
|
+
refreshTokenRequest: RefreshTokenRequest;
|
|
547
|
+
}
|
|
548
|
+
export interface AuthenticationApiSignupEmailPasswordRequest {
|
|
314
549
|
/**
|
|
315
550
|
*
|
|
316
551
|
* @type SignupRequest
|
|
317
|
-
* @memberof
|
|
552
|
+
* @memberof AuthenticationApisignupEmailPassword
|
|
318
553
|
*/
|
|
319
554
|
signupRequest: SignupRequest;
|
|
320
555
|
}
|
|
321
|
-
export interface
|
|
556
|
+
export interface AuthenticationApiUnlinkOAuthRequest {
|
|
322
557
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @type
|
|
325
|
-
* @memberof
|
|
558
|
+
*
|
|
559
|
+
* @type UnlinkRequest
|
|
560
|
+
* @memberof AuthenticationApiunlinkOAuth
|
|
326
561
|
*/
|
|
327
|
-
|
|
562
|
+
unlinkRequest: UnlinkRequest;
|
|
563
|
+
}
|
|
564
|
+
export interface AuthenticationApiUnlinkSIWERequest {
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type SIWERequest
|
|
568
|
+
* @memberof AuthenticationApiunlinkSIWE
|
|
569
|
+
*/
|
|
570
|
+
sIWERequest: SIWERequest;
|
|
571
|
+
}
|
|
572
|
+
export interface AuthenticationApiVerifyOAuthRequest {
|
|
573
|
+
/**
|
|
574
|
+
* OAuth provider
|
|
575
|
+
* @type OAuthProvider
|
|
576
|
+
* @memberof AuthenticationApiverifyOAuth
|
|
577
|
+
*/
|
|
578
|
+
provider: OAuthProvider;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type OAuthRequest
|
|
582
|
+
* @memberof AuthenticationApiverifyOAuth
|
|
583
|
+
*/
|
|
584
|
+
oAuthRequest: OAuthRequest;
|
|
585
|
+
}
|
|
586
|
+
export interface AuthenticationApiVerifyOAuthTokenRequest {
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @type AuthenticateOAuthRequest
|
|
590
|
+
* @memberof AuthenticationApiverifyOAuthToken
|
|
591
|
+
*/
|
|
592
|
+
authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
328
593
|
}
|
|
329
594
|
export declare class ObjectAuthenticationApi {
|
|
330
595
|
private api;
|
|
331
596
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
332
597
|
/**
|
|
333
|
-
*
|
|
334
|
-
* Login a player.
|
|
598
|
+
* Authenticate player with oauth token.
|
|
335
599
|
* @param param the request object
|
|
336
600
|
*/
|
|
337
|
-
|
|
601
|
+
authenticateOAuth(param: AuthenticationApiAuthenticateOAuthRequest, options?: Configuration): Promise<AuthResponse>;
|
|
338
602
|
/**
|
|
339
|
-
*
|
|
340
|
-
* Sign up a player.
|
|
603
|
+
* Authenticate player with SIWE
|
|
341
604
|
* @param param the request object
|
|
342
605
|
*/
|
|
343
|
-
|
|
606
|
+
authenticateSIWE(param: AuthenticationApiAuthenticateSIWERequest, options?: Configuration): Promise<void | AuthResponse>;
|
|
344
607
|
/**
|
|
345
|
-
*
|
|
346
|
-
*
|
|
608
|
+
* 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.
|
|
609
|
+
* Authorize player with token.
|
|
347
610
|
* @param param the request object
|
|
348
611
|
*/
|
|
349
|
-
|
|
612
|
+
authorizeWithOAuthToken(param: AuthenticationApiAuthorizeWithOAuthTokenRequest, options?: Configuration): Promise<DeprecatedAuthenticatedPlayerResponse>;
|
|
613
|
+
/**
|
|
614
|
+
* Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
615
|
+
* Get the jwks.json file.
|
|
616
|
+
* @param param the request object
|
|
617
|
+
*/
|
|
618
|
+
getJwks(param: AuthenticationApiGetJwksRequest, options?: Configuration): Promise<JwtKeyResponse>;
|
|
619
|
+
/**
|
|
620
|
+
* Initialize OAuth.
|
|
621
|
+
* @param param the request object
|
|
622
|
+
*/
|
|
623
|
+
initOAuth(param: AuthenticationApiInitOAuthRequest, options?: Configuration): Promise<OAuthResponse>;
|
|
624
|
+
/**
|
|
625
|
+
* Create a challenge to link external wallet to the player.
|
|
626
|
+
* Initialize SIWE.
|
|
627
|
+
* @param param the request object
|
|
628
|
+
*/
|
|
629
|
+
initSIWE(param: AuthenticationApiInitSIWERequest, options?: Configuration): Promise<SIWEInitResponse>;
|
|
630
|
+
/**
|
|
631
|
+
* Link external wallet.
|
|
632
|
+
* @param param the request object
|
|
633
|
+
*/
|
|
634
|
+
linkSIWE(param: AuthenticationApiLinkSIWERequest, options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
635
|
+
/**
|
|
636
|
+
* Authenticate a player based on email and password.
|
|
637
|
+
* Email and password login.
|
|
638
|
+
* @param param the request object
|
|
639
|
+
*/
|
|
640
|
+
loginEmailPassword(param: AuthenticationApiLoginEmailPasswordRequest, options?: Configuration): Promise<AuthResponse>;
|
|
641
|
+
/**
|
|
642
|
+
* When using Openfort Auth, the endpoint logs out the player.
|
|
643
|
+
* Log out a player.
|
|
644
|
+
* @param param the request object
|
|
645
|
+
*/
|
|
646
|
+
logout(param: AuthenticationApiLogoutRequest, options?: Configuration): Promise<void>;
|
|
647
|
+
/**
|
|
648
|
+
* Get or create a new session for the player based on the refresh token.
|
|
649
|
+
* Refresh or create auth session.
|
|
650
|
+
* @param param the request object
|
|
651
|
+
*/
|
|
652
|
+
refresh(param: AuthenticationApiRefreshRequest, options?: Configuration): Promise<AuthResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* Create and authenticate a player based on email and password.
|
|
655
|
+
* Email and password signup.
|
|
656
|
+
* @param param the request object
|
|
657
|
+
*/
|
|
658
|
+
signupEmailPassword(param: AuthenticationApiSignupEmailPasswordRequest, options?: Configuration): Promise<AuthResponse>;
|
|
659
|
+
/**
|
|
660
|
+
* Unlink OAuth account
|
|
661
|
+
* @param param the request object
|
|
662
|
+
*/
|
|
663
|
+
unlinkOAuth(param: AuthenticationApiUnlinkOAuthRequest, options?: Configuration): Promise<AuthPlayerResponse>;
|
|
664
|
+
/**
|
|
665
|
+
* Unlink external wallet.
|
|
666
|
+
* @param param the request object
|
|
667
|
+
*/
|
|
668
|
+
unlinkSIWE(param: AuthenticationApiUnlinkSIWERequest, options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
669
|
+
/**
|
|
670
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
671
|
+
* Retrieve player by token.
|
|
672
|
+
* @param param the request object
|
|
673
|
+
*/
|
|
674
|
+
verifyOAuth(param: AuthenticationApiVerifyOAuthRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
675
|
+
/**
|
|
676
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
677
|
+
* Retrieve player by oauth token.
|
|
678
|
+
* @param param the request object
|
|
679
|
+
*/
|
|
680
|
+
verifyOAuthToken(param: AuthenticationApiVerifyOAuthTokenRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
350
681
|
}
|
|
351
682
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
352
683
|
export interface ContractsApiCreateContractRequest {
|
|
@@ -490,31 +821,6 @@ export declare class ObjectContractsApi {
|
|
|
490
821
|
*/
|
|
491
822
|
updateContract(param: ContractsApiUpdateContractRequest, options?: Configuration): Promise<ContractResponse>;
|
|
492
823
|
}
|
|
493
|
-
import { GoogleAuthenticationApiRequestFactory, GoogleAuthenticationApiResponseProcessor } from "../apis/GoogleAuthenticationApi";
|
|
494
|
-
export interface GoogleAuthenticationApiGetSigninUrlRequest {
|
|
495
|
-
}
|
|
496
|
-
export interface GoogleAuthenticationApiGetTokenRequest {
|
|
497
|
-
/**
|
|
498
|
-
* Specifies the oauth key.
|
|
499
|
-
* @type string
|
|
500
|
-
* @memberof GoogleAuthenticationApigetToken
|
|
501
|
-
*/
|
|
502
|
-
key: string;
|
|
503
|
-
}
|
|
504
|
-
export declare class ObjectGoogleAuthenticationApi {
|
|
505
|
-
private api;
|
|
506
|
-
constructor(configuration: Configuration, requestFactory?: GoogleAuthenticationApiRequestFactory, responseProcessor?: GoogleAuthenticationApiResponseProcessor);
|
|
507
|
-
/**
|
|
508
|
-
* Get the google oauth signin url.
|
|
509
|
-
* @param param the request object
|
|
510
|
-
*/
|
|
511
|
-
getSigninUrl(param?: GoogleAuthenticationApiGetSigninUrlRequest, options?: Configuration): Promise<GetSigninUrlResponse>;
|
|
512
|
-
/**
|
|
513
|
-
* Get the google oauth token.
|
|
514
|
-
* @param param the request object
|
|
515
|
-
*/
|
|
516
|
-
getToken(param: GoogleAuthenticationApiGetTokenRequest, options?: Configuration): Promise<AuthResponse>;
|
|
517
|
-
}
|
|
518
824
|
import { InventoriesApiRequestFactory, InventoriesApiResponseProcessor } from "../apis/InventoriesApi";
|
|
519
825
|
export interface InventoriesApiGetAccountCryptoCurrencyInventoryRequest {
|
|
520
826
|
/**
|
|
@@ -973,121 +1279,6 @@ export declare class ObjectNotificationsApi {
|
|
|
973
1279
|
*/
|
|
974
1280
|
getNotifications(param?: NotificationsApiGetNotificationsRequest, options?: Configuration): Promise<NotificationListResponse>;
|
|
975
1281
|
}
|
|
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
1282
|
import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
|
|
1092
1283
|
export interface PlayersApiCancelTransferAccountOwnershipRequest {
|
|
1093
1284
|
/**
|
|
@@ -1237,62 +1428,6 @@ export declare class ObjectPlayersApi {
|
|
|
1237
1428
|
*/
|
|
1238
1429
|
updatePlayer(param: PlayersApiUpdatePlayerRequest, options?: Configuration): Promise<PlayerResponse>;
|
|
1239
1430
|
}
|
|
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
1431
|
import { PoliciesApiRequestFactory, PoliciesApiResponseProcessor } from "../apis/PoliciesApi";
|
|
1297
1432
|
export interface PoliciesApiCreatePolicyRequest {
|
|
1298
1433
|
/**
|