@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';
|
|
@@ -116,7 +124,7 @@ export declare class PromiseAccountsApi {
|
|
|
116
124
|
*/
|
|
117
125
|
createAccount(createAccountRequest: CreateAccountRequest, _options?: Configuration): Promise<AccountResponse>;
|
|
118
126
|
/**
|
|
119
|
-
* This endpoint can be used to deploy
|
|
127
|
+
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
120
128
|
* Deploy an account.
|
|
121
129
|
* @param id Specifies the unique account ID (starts with acc_).
|
|
122
130
|
* @param deployRequest
|
|
@@ -130,7 +138,7 @@ export declare class PromiseAccountsApi {
|
|
|
130
138
|
*/
|
|
131
139
|
getAccount(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<AccountResponse>;
|
|
132
140
|
/**
|
|
133
|
-
* 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.
|
|
141
|
+
* 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.
|
|
134
142
|
* List accounts of a player.
|
|
135
143
|
* @param player Specifies the unique player ID (starts with pla_)
|
|
136
144
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -166,28 +174,158 @@ export declare class PromiseAccountsApi {
|
|
|
166
174
|
*/
|
|
167
175
|
syncAccount(id: string, _options?: Configuration): Promise<AccountResponse>;
|
|
168
176
|
}
|
|
177
|
+
import { AdminAuthenticationApiRequestFactory, AdminAuthenticationApiResponseProcessor } from "../apis/AdminAuthenticationApi";
|
|
178
|
+
export declare class PromiseAdminAuthenticationApi {
|
|
179
|
+
private api;
|
|
180
|
+
constructor(configuration: Configuration, requestFactory?: AdminAuthenticationApiRequestFactory, responseProcessor?: AdminAuthenticationApiResponseProcessor);
|
|
181
|
+
/**
|
|
182
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
183
|
+
* Create oauth configuration.
|
|
184
|
+
* @param body Specifies the oauth provider specific configuration.
|
|
185
|
+
*/
|
|
186
|
+
createOAuthConfig(body: OAuthConfig, _options?: Configuration): Promise<OAuthConfig>;
|
|
187
|
+
/**
|
|
188
|
+
* Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
|
|
189
|
+
* Deletes a player auth object.
|
|
190
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
191
|
+
*/
|
|
192
|
+
deleteAuthPlayer(id: string, _options?: Configuration): Promise<AuthPlayerResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
195
|
+
* Delete oauth configuration.
|
|
196
|
+
* @param provider Specifies the oauth provider type.
|
|
197
|
+
*/
|
|
198
|
+
deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<void>;
|
|
199
|
+
/**
|
|
200
|
+
* Retrieves a list of authenticated players. Players have linked accounts and are authenticated with a provider.
|
|
201
|
+
* List authenticated players.
|
|
202
|
+
* @param limit Specifies the maximum number of records to return.
|
|
203
|
+
* @param skip Specifies the offset for the first records to return.
|
|
204
|
+
* @param order Specifies the order in which to sort the results.
|
|
205
|
+
* @param email Specifies the email address of the user.
|
|
206
|
+
*/
|
|
207
|
+
getAuthPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
208
|
+
/**
|
|
209
|
+
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
210
|
+
* Get oauth configuration.
|
|
211
|
+
* @param provider Specifies the oauth provider type.
|
|
212
|
+
*/
|
|
213
|
+
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<OAuthConfig>;
|
|
214
|
+
/**
|
|
215
|
+
* List configured OAuth methods for the current project environment.
|
|
216
|
+
* List of oauth configurations.
|
|
217
|
+
*/
|
|
218
|
+
listOAuthConfig(_options?: Configuration): Promise<OAuthConfigListResponse>;
|
|
219
|
+
/**
|
|
220
|
+
* Verifies the token generated by Openfort Auth.
|
|
221
|
+
* Verify auth token.
|
|
222
|
+
* @param token Specifies the auth token.
|
|
223
|
+
*/
|
|
224
|
+
verifyAuthToken(token: string, _options?: Configuration): Promise<AuthSessionResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
227
|
+
* Retrieve player by token.
|
|
228
|
+
* @param provider OAuth provider
|
|
229
|
+
* @param oAuthRequest
|
|
230
|
+
*/
|
|
231
|
+
verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
232
|
+
/**
|
|
233
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
234
|
+
* Retrieve player by oauth token.
|
|
235
|
+
* @param authenticateOAuthRequest
|
|
236
|
+
*/
|
|
237
|
+
verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
238
|
+
}
|
|
169
239
|
import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor } from "../apis/AuthenticationApi";
|
|
170
240
|
export declare class PromiseAuthenticationApi {
|
|
171
241
|
private api;
|
|
172
242
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
173
243
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
244
|
+
* Authenticate player with oauth token.
|
|
245
|
+
* @param authenticateOAuthRequest
|
|
246
|
+
*/
|
|
247
|
+
authenticateOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* Authenticate player with SIWE
|
|
250
|
+
* @param sIWEAuthenticateRequest
|
|
251
|
+
*/
|
|
252
|
+
authenticateSIWE(sIWEAuthenticateRequest: SIWEAuthenticateRequest, _options?: Configuration): Promise<void | AuthResponse>;
|
|
253
|
+
/**
|
|
254
|
+
* 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.
|
|
255
|
+
* Authorize player with token.
|
|
256
|
+
* @param provider OAuth provider
|
|
257
|
+
* @param oAuthRequest
|
|
258
|
+
*/
|
|
259
|
+
authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<DeprecatedAuthenticatedPlayerResponse>;
|
|
260
|
+
/**
|
|
261
|
+
* Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
262
|
+
* Get the jwks.json file.
|
|
263
|
+
* @param publishableKey Specifies the project publishable key (starts with pk_).
|
|
264
|
+
*/
|
|
265
|
+
getJwks(publishableKey: string, _options?: Configuration): Promise<JwtKeyResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* Initialize OAuth.
|
|
268
|
+
* @param oAuthInitRequest
|
|
269
|
+
*/
|
|
270
|
+
initOAuth(oAuthInitRequest: OAuthInitRequest, _options?: Configuration): Promise<OAuthResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* Create a challenge to link external wallet to the player.
|
|
273
|
+
* Initialize SIWE.
|
|
274
|
+
* @param sIWERequest
|
|
275
|
+
*/
|
|
276
|
+
initSIWE(sIWERequest: SIWERequest, _options?: Configuration): Promise<SIWEInitResponse>;
|
|
277
|
+
/**
|
|
278
|
+
* Link external wallet.
|
|
279
|
+
* @param sIWEAuthenticateRequest
|
|
280
|
+
*/
|
|
281
|
+
linkSIWE(sIWEAuthenticateRequest: SIWEAuthenticateRequest, _options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
282
|
+
/**
|
|
283
|
+
* Authenticate a player based on email and password.
|
|
284
|
+
* Email and password login.
|
|
176
285
|
* @param loginRequest
|
|
177
286
|
*/
|
|
178
|
-
|
|
287
|
+
loginEmailPassword(loginRequest: LoginRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
288
|
+
/**
|
|
289
|
+
* When using Openfort Auth, the endpoint logs out the player.
|
|
290
|
+
* Log out a player.
|
|
291
|
+
* @param logoutRequest
|
|
292
|
+
*/
|
|
293
|
+
logout(logoutRequest: LogoutRequest, _options?: Configuration): Promise<void>;
|
|
294
|
+
/**
|
|
295
|
+
* Get or create a new session for the player based on the refresh token.
|
|
296
|
+
* Refresh or create auth session.
|
|
297
|
+
* @param refreshTokenRequest
|
|
298
|
+
*/
|
|
299
|
+
refresh(refreshTokenRequest: RefreshTokenRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
179
300
|
/**
|
|
180
|
-
*
|
|
181
|
-
*
|
|
301
|
+
* Create and authenticate a player based on email and password.
|
|
302
|
+
* Email and password signup.
|
|
182
303
|
* @param signupRequest
|
|
183
304
|
*/
|
|
184
|
-
|
|
305
|
+
signupEmailPassword(signupRequest: SignupRequest, _options?: Configuration): Promise<AuthResponse>;
|
|
185
306
|
/**
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* @param token Specifies the auth token.
|
|
307
|
+
* Unlink OAuth account
|
|
308
|
+
* @param unlinkRequest
|
|
189
309
|
*/
|
|
190
|
-
|
|
310
|
+
unlinkOAuth(unlinkRequest: UnlinkRequest, _options?: Configuration): Promise<AuthPlayerResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* Unlink external wallet.
|
|
313
|
+
* @param sIWERequest
|
|
314
|
+
*/
|
|
315
|
+
unlinkSIWE(sIWERequest: SIWERequest, _options?: Configuration): Promise<AuthPlayerResponse | void>;
|
|
316
|
+
/**
|
|
317
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
318
|
+
* Retrieve player by token.
|
|
319
|
+
* @param provider OAuth provider
|
|
320
|
+
* @param oAuthRequest
|
|
321
|
+
*/
|
|
322
|
+
verifyOAuth(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
323
|
+
/**
|
|
324
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
325
|
+
* Retrieve player by oauth token.
|
|
326
|
+
* @param authenticateOAuthRequest
|
|
327
|
+
*/
|
|
328
|
+
verifyOAuthToken(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
191
329
|
}
|
|
192
330
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
193
331
|
export declare class PromiseContractsApi {
|
|
@@ -238,20 +376,6 @@ export declare class PromiseContractsApi {
|
|
|
238
376
|
*/
|
|
239
377
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Promise<ContractResponse>;
|
|
240
378
|
}
|
|
241
|
-
import { GoogleAuthenticationApiRequestFactory, GoogleAuthenticationApiResponseProcessor } from "../apis/GoogleAuthenticationApi";
|
|
242
|
-
export declare class PromiseGoogleAuthenticationApi {
|
|
243
|
-
private api;
|
|
244
|
-
constructor(configuration: Configuration, requestFactory?: GoogleAuthenticationApiRequestFactory, responseProcessor?: GoogleAuthenticationApiResponseProcessor);
|
|
245
|
-
/**
|
|
246
|
-
* Get the google oauth signin url.
|
|
247
|
-
*/
|
|
248
|
-
getSigninUrl(_options?: Configuration): Promise<GetSigninUrlResponse>;
|
|
249
|
-
/**
|
|
250
|
-
* Get the google oauth token.
|
|
251
|
-
* @param key Specifies the oauth key.
|
|
252
|
-
*/
|
|
253
|
-
getToken(key: string, _options?: Configuration): Promise<AuthResponse>;
|
|
254
|
-
}
|
|
255
379
|
import { InventoriesApiRequestFactory, InventoriesApiResponseProcessor } from "../apis/InventoriesApi";
|
|
256
380
|
export declare class PromiseInventoriesApi {
|
|
257
381
|
private api;
|
|
@@ -411,55 +535,6 @@ export declare class PromiseNotificationsApi {
|
|
|
411
535
|
*/
|
|
412
536
|
getNotifications(limit?: number, skip?: number, order?: SortOrder, expand?: Array<NotificationResponseExpandable>, deleted?: boolean, name?: string, _options?: Configuration): Promise<NotificationListResponse>;
|
|
413
537
|
}
|
|
414
|
-
import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
|
|
415
|
-
export declare class PromiseOAuthApi {
|
|
416
|
-
private api;
|
|
417
|
-
constructor(configuration: Configuration, requestFactory?: OAuthApiRequestFactory, responseProcessor?: OAuthApiResponseProcessor);
|
|
418
|
-
/**
|
|
419
|
-
* 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.
|
|
420
|
-
* Authorize player with token.
|
|
421
|
-
* @param provider OAuth provider
|
|
422
|
-
* @param oAuthRequest
|
|
423
|
-
*/
|
|
424
|
-
authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<AuthorizeWithOAuthToken200Response>;
|
|
425
|
-
/**
|
|
426
|
-
* The endpoint creates oauth configuration for the current project environment.
|
|
427
|
-
* Create oauth configuration.
|
|
428
|
-
* @param body Specifies the oauth provider specific configuration.
|
|
429
|
-
*/
|
|
430
|
-
createOAuthConfig(body: OAuthConfig, _options?: Configuration): Promise<OAuthConfig>;
|
|
431
|
-
/**
|
|
432
|
-
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
433
|
-
* Delete oauth configuration.
|
|
434
|
-
* @param provider Specifies the oauth provider type.
|
|
435
|
-
*/
|
|
436
|
-
deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<void>;
|
|
437
|
-
/**
|
|
438
|
-
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
439
|
-
* Get oauth configuration.
|
|
440
|
-
* @param provider Specifies the oauth provider type.
|
|
441
|
-
*/
|
|
442
|
-
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<OAuthConfig>;
|
|
443
|
-
/**
|
|
444
|
-
* Retrieves the player based on his id in the external provider system.
|
|
445
|
-
* Retrieve player by external id.
|
|
446
|
-
* @param provider OAuth provider
|
|
447
|
-
* @param externalUserId External user id
|
|
448
|
-
*/
|
|
449
|
-
getPlayerByExternalId(provider: OAuthProvider, externalUserId: string, _options?: Configuration): Promise<PlayerResponse>;
|
|
450
|
-
/**
|
|
451
|
-
* The endpoint retrieves the list of oauth configurations for the current project environment.
|
|
452
|
-
* List of oauth configurations.
|
|
453
|
-
*/
|
|
454
|
-
listOAuthConfig(_options?: Configuration): Promise<OAuthConfigListResponse>;
|
|
455
|
-
/**
|
|
456
|
-
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
457
|
-
* Retrieve player by token.
|
|
458
|
-
* @param provider OAuth provider
|
|
459
|
-
* @param oAuthRequest
|
|
460
|
-
*/
|
|
461
|
-
verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
462
|
-
}
|
|
463
538
|
import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
|
|
464
539
|
export declare class PromisePlayersApi {
|
|
465
540
|
private api;
|
|
@@ -513,28 +588,6 @@ export declare class PromisePlayersApi {
|
|
|
513
588
|
*/
|
|
514
589
|
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, _options?: Configuration): Promise<PlayerResponse>;
|
|
515
590
|
}
|
|
516
|
-
import { PlayersAuthenticationApiRequestFactory, PlayersAuthenticationApiResponseProcessor } from "../apis/PlayersAuthenticationApi";
|
|
517
|
-
export declare class PromisePlayersAuthenticationApi {
|
|
518
|
-
private api;
|
|
519
|
-
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
520
|
-
/**
|
|
521
|
-
* List authenticated players.
|
|
522
|
-
* @param limit Specifies the maximum number of records to return.
|
|
523
|
-
* @param skip Specifies the offset for the first records to return.
|
|
524
|
-
* @param order Specifies the order in which to sort the results.
|
|
525
|
-
* @param email Specifies the email address of the user.
|
|
526
|
-
*/
|
|
527
|
-
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Promise<AuthPlayerListResponse>;
|
|
528
|
-
/**
|
|
529
|
-
* Register a key for the authenticated player.
|
|
530
|
-
* @param registerPlayerEncryptedKeyRequest
|
|
531
|
-
*/
|
|
532
|
-
registerKey(registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, _options?: Configuration): Promise<RegisterPlayerEncryptedKeyResponse>;
|
|
533
|
-
/**
|
|
534
|
-
* Retrieve the key for the authenticated player.
|
|
535
|
-
*/
|
|
536
|
-
retrieveKey(_options?: Configuration): Promise<RetrievePlayerEncryptedKeyResponse>;
|
|
537
|
-
}
|
|
538
591
|
import { PoliciesApiRequestFactory, PoliciesApiResponseProcessor } from "../apis/PoliciesApi";
|
|
539
592
|
export declare class PromisePoliciesApi {
|
|
540
593
|
private api;
|