@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
|
@@ -4,8 +4,12 @@ import { AccountListResponse } from '../models/AccountListResponse';
|
|
|
4
4
|
import { AccountResponse } from '../models/AccountResponse';
|
|
5
5
|
import { AccountResponseExpandable } from '../models/AccountResponseExpandable';
|
|
6
6
|
import { AuthPlayerListResponse } from '../models/AuthPlayerListResponse';
|
|
7
|
+
import { AuthPlayerResponse } from '../models/AuthPlayerResponse';
|
|
7
8
|
import { AuthResponse } from '../models/AuthResponse';
|
|
8
|
-
import {
|
|
9
|
+
import { AuthSessionResponse } from '../models/AuthSessionResponse';
|
|
10
|
+
import { AuthenticateOAuthRequest } from '../models/AuthenticateOAuthRequest';
|
|
11
|
+
import { BaseEntityListResponseDeviceResponse } from '../models/BaseEntityListResponseDeviceResponse';
|
|
12
|
+
import { BaseEntityListResponseShareResponse } from '../models/BaseEntityListResponseShareResponse';
|
|
9
13
|
import { CancelTransferOwnershipRequest } from '../models/CancelTransferOwnershipRequest';
|
|
10
14
|
import { CompleteRecoveryRequest } from '../models/CompleteRecoveryRequest';
|
|
11
15
|
import { ContractDeleteResponse } from '../models/ContractDeleteResponse';
|
|
@@ -14,27 +18,34 @@ import { ContractReadResponse } from '../models/ContractReadResponse';
|
|
|
14
18
|
import { ContractResponse } from '../models/ContractResponse';
|
|
15
19
|
import { CreateAccountRequest } from '../models/CreateAccountRequest';
|
|
16
20
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
21
|
+
import { CreateDeviceRequest } from '../models/CreateDeviceRequest';
|
|
17
22
|
import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
|
|
18
23
|
import { CreateNotificationSubscriptionRequest } from '../models/CreateNotificationSubscriptionRequest';
|
|
19
24
|
import { CreateNotificationTriggerRequest } from '../models/CreateNotificationTriggerRequest';
|
|
20
25
|
import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
21
26
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
22
27
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
28
|
+
import { CreateShareRequest } from '../models/CreateShareRequest';
|
|
23
29
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
24
30
|
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
25
31
|
import { DeployRequest } from '../models/DeployRequest';
|
|
32
|
+
import { DeprecatedAuthenticatedPlayerResponse } from '../models/DeprecatedAuthenticatedPlayerResponse';
|
|
26
33
|
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
27
34
|
import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDeleteResponse';
|
|
28
35
|
import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
|
|
29
36
|
import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResponse';
|
|
30
37
|
import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
|
|
31
38
|
import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
|
|
39
|
+
import { DeviceResponse } from '../models/DeviceResponse';
|
|
32
40
|
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
33
41
|
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
34
42
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
35
43
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
36
44
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
45
|
+
import { JwtKeyResponse } from '../models/JwtKeyResponse';
|
|
46
|
+
import { LinkRequest } from '../models/LinkRequest';
|
|
37
47
|
import { LoginRequest } from '../models/LoginRequest';
|
|
48
|
+
import { LogoutRequest } from '../models/LogoutRequest';
|
|
38
49
|
import { NotificationDeleteResponse } from '../models/NotificationDeleteResponse';
|
|
39
50
|
import { NotificationListResponse } from '../models/NotificationListResponse';
|
|
40
51
|
import { NotificationResponse } from '../models/NotificationResponse';
|
|
@@ -47,6 +58,7 @@ import { NotificationTriggerListResponse } from '../models/NotificationTriggerLi
|
|
|
47
58
|
import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
|
|
48
59
|
import { OAuthConfig } from '../models/OAuthConfig';
|
|
49
60
|
import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
|
|
61
|
+
import { OAuthInitRequest } from '../models/OAuthInitRequest';
|
|
50
62
|
import { OAuthProvider } from '../models/OAuthProvider';
|
|
51
63
|
import { OAuthRequest } from '../models/OAuthRequest';
|
|
52
64
|
import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
|
|
@@ -65,14 +77,16 @@ import { PolicyResponseExpandable } from '../models/PolicyResponseExpandable';
|
|
|
65
77
|
import { PolicyRuleDeleteResponse } from '../models/PolicyRuleDeleteResponse';
|
|
66
78
|
import { PolicyRuleListResponse } from '../models/PolicyRuleListResponse';
|
|
67
79
|
import { PolicyRuleResponse } from '../models/PolicyRuleResponse';
|
|
68
|
-
import {
|
|
69
|
-
import { RegisterPlayerEncryptedKeyResponse } from '../models/RegisterPlayerEncryptedKeyResponse';
|
|
70
|
-
import { RetrievePlayerEncryptedKeyResponse } from '../models/RetrievePlayerEncryptedKeyResponse';
|
|
80
|
+
import { RefreshTokenRequest } from '../models/RefreshTokenRequest';
|
|
71
81
|
import { RevokeSessionRequest } from '../models/RevokeSessionRequest';
|
|
82
|
+
import { SIWEAuthenticateRequest } from '../models/SIWEAuthenticateRequest';
|
|
83
|
+
import { SIWEInitResponse } from '../models/SIWEInitResponse';
|
|
84
|
+
import { SIWERequest } from '../models/SIWERequest';
|
|
72
85
|
import { SessionListResponse } from '../models/SessionListResponse';
|
|
73
86
|
import { SessionResponse } from '../models/SessionResponse';
|
|
74
87
|
import { SessionResponseExpandable } from '../models/SessionResponseExpandable';
|
|
75
88
|
import { SettingsWebhookUpdateRequest } from '../models/SettingsWebhookUpdateRequest';
|
|
89
|
+
import { ShareResponse } from '../models/ShareResponse';
|
|
76
90
|
import { SignPayloadRequest } from '../models/SignPayloadRequest';
|
|
77
91
|
import { SignPayloadResponse } from '../models/SignPayloadResponse';
|
|
78
92
|
import { SignatureRequest } from '../models/SignatureRequest';
|
|
@@ -119,7 +133,7 @@ export declare class ObservableAccountsApi {
|
|
|
119
133
|
*/
|
|
120
134
|
createAccount(createAccountRequest: CreateAccountRequest, _options?: Configuration): Observable<AccountResponse>;
|
|
121
135
|
/**
|
|
122
|
-
* This endpoint can be used to deploy
|
|
136
|
+
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
123
137
|
* Deploy an account.
|
|
124
138
|
* @param id Specifies the unique account ID (starts with acc_).
|
|
125
139
|
* @param deployRequest
|
|
@@ -133,7 +147,7 @@ export declare class ObservableAccountsApi {
|
|
|
133
147
|
*/
|
|
134
148
|
getAccount(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountResponse>;
|
|
135
149
|
/**
|
|
136
|
-
* 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.
|
|
150
|
+
* 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.
|
|
137
151
|
* List accounts of a player.
|
|
138
152
|
* @param player Specifies the unique player ID (starts with pla_)
|
|
139
153
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -169,6 +183,70 @@ export declare class ObservableAccountsApi {
|
|
|
169
183
|
*/
|
|
170
184
|
syncAccount(id: string, _options?: Configuration): Observable<AccountResponse>;
|
|
171
185
|
}
|
|
186
|
+
import { AdminAuthenticationApiRequestFactory, AdminAuthenticationApiResponseProcessor } from "../apis/AdminAuthenticationApi";
|
|
187
|
+
export declare class ObservableAdminAuthenticationApi {
|
|
188
|
+
private requestFactory;
|
|
189
|
+
private responseProcessor;
|
|
190
|
+
private configuration;
|
|
191
|
+
constructor(configuration: Configuration, requestFactory?: AdminAuthenticationApiRequestFactory, responseProcessor?: AdminAuthenticationApiResponseProcessor);
|
|
192
|
+
/**
|
|
193
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
194
|
+
* Create oauth configuration.
|
|
195
|
+
* @param body Specifies the oauth provider specific configuration.
|
|
196
|
+
*/
|
|
197
|
+
createOAuthConfig(body: OAuthConfig, _options?: Configuration): Observable<OAuthConfig>;
|
|
198
|
+
/**
|
|
199
|
+
* Deletes a player auth object. It will delete all linked accounts the player is authenticated with.
|
|
200
|
+
* Deletes a player auth object.
|
|
201
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
202
|
+
*/
|
|
203
|
+
deleteAuthPlayer(id: string, _options?: Configuration): Observable<PlayerDeleteResponse>;
|
|
204
|
+
/**
|
|
205
|
+
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
206
|
+
* Delete oauth configuration.
|
|
207
|
+
* @param provider Specifies the oauth provider type.
|
|
208
|
+
*/
|
|
209
|
+
deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<void>;
|
|
210
|
+
/**
|
|
211
|
+
* Retrieves a list of authenticated players. Players have linked accounts and are authenticated with a provider.
|
|
212
|
+
* List authenticated players.
|
|
213
|
+
* @param limit Specifies the maximum number of records to return.
|
|
214
|
+
* @param skip Specifies the offset for the first records to return.
|
|
215
|
+
* @param order Specifies the order in which to sort the results.
|
|
216
|
+
* @param email Specifies the email address of the user.
|
|
217
|
+
*/
|
|
218
|
+
getAuthPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Observable<AuthPlayerListResponse>;
|
|
219
|
+
/**
|
|
220
|
+
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
221
|
+
* Get oauth configuration.
|
|
222
|
+
* @param provider Specifies the oauth provider type.
|
|
223
|
+
*/
|
|
224
|
+
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<OAuthConfig>;
|
|
225
|
+
/**
|
|
226
|
+
* List configured OAuth methods for the current project environment.
|
|
227
|
+
* List of oauth configurations.
|
|
228
|
+
*/
|
|
229
|
+
listOAuthConfig(_options?: Configuration): Observable<OAuthConfigListResponse>;
|
|
230
|
+
/**
|
|
231
|
+
* Verifies the token generated by Openfort Auth.
|
|
232
|
+
* Verify auth token.
|
|
233
|
+
* @param token Specifies the auth token.
|
|
234
|
+
*/
|
|
235
|
+
verifyAuthToken(token: string, _options?: Configuration): Observable<AuthSessionResponse>;
|
|
236
|
+
/**
|
|
237
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
238
|
+
* Retrieve player by oauth token.
|
|
239
|
+
* @param authenticateOAuthRequest
|
|
240
|
+
*/
|
|
241
|
+
verifyOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
242
|
+
/**
|
|
243
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
244
|
+
* Retrieve player by token.
|
|
245
|
+
* @param provider OAuth provider
|
|
246
|
+
* @param oAuthRequest
|
|
247
|
+
*/
|
|
248
|
+
verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
249
|
+
}
|
|
172
250
|
import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor } from "../apis/AuthenticationApi";
|
|
173
251
|
export declare class ObservableAuthenticationApi {
|
|
174
252
|
private requestFactory;
|
|
@@ -176,23 +254,91 @@ export declare class ObservableAuthenticationApi {
|
|
|
176
254
|
private configuration;
|
|
177
255
|
constructor(configuration: Configuration, requestFactory?: AuthenticationApiRequestFactory, responseProcessor?: AuthenticationApiResponseProcessor);
|
|
178
256
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
257
|
+
* Authenticate player with oauth token.
|
|
258
|
+
* @param authenticateOAuthRequest
|
|
259
|
+
*/
|
|
260
|
+
authenticateOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
261
|
+
/**
|
|
262
|
+
* Authenticate player with SIWE
|
|
263
|
+
* @param sIWEAuthenticateRequest
|
|
264
|
+
*/
|
|
265
|
+
authenticateSIWE(sIWEAuthenticateRequest: SIWEAuthenticateRequest, _options?: Configuration): Observable<void | AuthResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* 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.
|
|
268
|
+
* Authorize player with token.
|
|
269
|
+
* @param provider OAuth provider
|
|
270
|
+
* @param oAuthRequest
|
|
271
|
+
*/
|
|
272
|
+
authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<DeprecatedAuthenticatedPlayerResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
275
|
+
* Get the jwks.json file.
|
|
276
|
+
* @param publishableKey Specifies the project publishable key (starts with pk_).
|
|
277
|
+
*/
|
|
278
|
+
getJwks(publishableKey: string, _options?: Configuration): Observable<JwtKeyResponse>;
|
|
279
|
+
/**
|
|
280
|
+
* Initialize OAuth.
|
|
281
|
+
* @param oAuthInitRequest
|
|
282
|
+
*/
|
|
283
|
+
initOAuth(oAuthInitRequest: OAuthInitRequest, _options?: Configuration): Observable<GetSigninUrlResponse>;
|
|
284
|
+
/**
|
|
285
|
+
* Create a challenge to link external wallet to the player.
|
|
286
|
+
* Initialize SIWE.
|
|
287
|
+
* @param sIWERequest
|
|
288
|
+
*/
|
|
289
|
+
initSIWE(sIWERequest: SIWERequest, _options?: Configuration): Observable<SIWEInitResponse>;
|
|
290
|
+
/**
|
|
291
|
+
* Link external wallet.
|
|
292
|
+
* @param sIWEAuthenticateRequest
|
|
293
|
+
*/
|
|
294
|
+
linkSIWE(sIWEAuthenticateRequest: SIWEAuthenticateRequest, _options?: Configuration): Observable<AuthPlayerResponse | void>;
|
|
295
|
+
/**
|
|
296
|
+
* Authenticate a player based on email and password.
|
|
297
|
+
* Email and password login.
|
|
181
298
|
* @param loginRequest
|
|
182
299
|
*/
|
|
183
|
-
|
|
300
|
+
loginEmailPassword(loginRequest: LoginRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
184
301
|
/**
|
|
185
|
-
* When using Openfort Auth, the endpoint
|
|
186
|
-
*
|
|
302
|
+
* When using Openfort Auth, the endpoint logs out the player.
|
|
303
|
+
* Log out a player.
|
|
304
|
+
* @param logoutRequest
|
|
305
|
+
*/
|
|
306
|
+
logout(logoutRequest: LogoutRequest, _options?: Configuration): Observable<void>;
|
|
307
|
+
/**
|
|
308
|
+
* Get or create a new session for the player based on the refresh token.
|
|
309
|
+
* Refresh or create auth session.
|
|
310
|
+
* @param refreshTokenRequest
|
|
311
|
+
*/
|
|
312
|
+
refresh(refreshTokenRequest: RefreshTokenRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
313
|
+
/**
|
|
314
|
+
* Create and authenticate a player based on email and password.
|
|
315
|
+
* Email and password signup.
|
|
187
316
|
* @param signupRequest
|
|
188
317
|
*/
|
|
189
|
-
|
|
318
|
+
signupEmailPassword(signupRequest: SignupRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
190
319
|
/**
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
|
|
320
|
+
* Unlink OAuth account
|
|
321
|
+
* @param linkRequest
|
|
322
|
+
*/
|
|
323
|
+
unlinkOAuth(linkRequest: LinkRequest, _options?: Configuration): Observable<AuthPlayerResponse>;
|
|
324
|
+
/**
|
|
325
|
+
* Unlink external wallet.
|
|
326
|
+
* @param sIWERequest
|
|
194
327
|
*/
|
|
195
|
-
|
|
328
|
+
unlinkSIWE(sIWERequest: SIWERequest, _options?: Configuration): Observable<AuthPlayerResponse | void>;
|
|
329
|
+
/**
|
|
330
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
331
|
+
* Retrieve player by oauth token.
|
|
332
|
+
* @param authenticateOAuthRequest
|
|
333
|
+
*/
|
|
334
|
+
verifyOAuth(authenticateOAuthRequest: AuthenticateOAuthRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
337
|
+
* Retrieve player by token.
|
|
338
|
+
* @param provider OAuth provider
|
|
339
|
+
* @param oAuthRequest
|
|
340
|
+
*/
|
|
341
|
+
verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
196
342
|
}
|
|
197
343
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
198
344
|
export declare class ObservableContractsApi {
|
|
@@ -245,21 +391,41 @@ export declare class ObservableContractsApi {
|
|
|
245
391
|
*/
|
|
246
392
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Observable<ContractResponse>;
|
|
247
393
|
}
|
|
248
|
-
import {
|
|
249
|
-
export declare class
|
|
394
|
+
import { EmbeddedApiRequestFactory, EmbeddedApiResponseProcessor } from "../apis/EmbeddedApi";
|
|
395
|
+
export declare class ObservableEmbeddedApi {
|
|
250
396
|
private requestFactory;
|
|
251
397
|
private responseProcessor;
|
|
252
398
|
private configuration;
|
|
253
|
-
constructor(configuration: Configuration, requestFactory?:
|
|
399
|
+
constructor(configuration: Configuration, requestFactory?: EmbeddedApiRequestFactory, responseProcessor?: EmbeddedApiResponseProcessor);
|
|
254
400
|
/**
|
|
255
|
-
*
|
|
401
|
+
* 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.
|
|
402
|
+
* Create a device object.
|
|
403
|
+
* @param createDeviceRequest
|
|
256
404
|
*/
|
|
257
|
-
|
|
405
|
+
createDevice(createDeviceRequest: CreateDeviceRequest, _options?: Configuration): Observable<DeviceResponse>;
|
|
258
406
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
407
|
+
* Add the share of for existing device.
|
|
408
|
+
* Create a device share.
|
|
409
|
+
* @param id Specifies the unique device ID (starts with dev_).
|
|
410
|
+
* @param createShareRequest
|
|
261
411
|
*/
|
|
262
|
-
|
|
412
|
+
createDeviceShare(id: string, createShareRequest: CreateShareRequest, _options?: Configuration): Observable<ShareResponse>;
|
|
413
|
+
/**
|
|
414
|
+
* Retrieves the shares of an existing device.
|
|
415
|
+
* Get existing device shares.
|
|
416
|
+
* @param id Specifies the unique device ID (starts with dev_).
|
|
417
|
+
* @param shareType Specifies the type of the share ID
|
|
418
|
+
*/
|
|
419
|
+
getDeviceShares(id: string, shareType?: string, _options?: Configuration): Observable<BaseEntityListResponseShareResponse>;
|
|
420
|
+
/**
|
|
421
|
+
* 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.
|
|
422
|
+
* List devices of account.
|
|
423
|
+
* @param account Specifies the unique account ID (starts with acc_)
|
|
424
|
+
* @param limit Specifies the maximum number of records to return.
|
|
425
|
+
* @param skip Specifies the offset for the first records to return.
|
|
426
|
+
* @param order Specifies the order in which to sort the results.
|
|
427
|
+
*/
|
|
428
|
+
getDevices(account: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Observable<BaseEntityListResponseDeviceResponse>;
|
|
263
429
|
}
|
|
264
430
|
import { InventoriesApiRequestFactory, InventoriesApiResponseProcessor } from "../apis/InventoriesApi";
|
|
265
431
|
export declare class ObservableInventoriesApi {
|
|
@@ -428,57 +594,6 @@ export declare class ObservableNotificationsApi {
|
|
|
428
594
|
*/
|
|
429
595
|
getNotifications(limit?: number, skip?: number, order?: SortOrder, expand?: Array<NotificationResponseExpandable>, deleted?: boolean, name?: string, _options?: Configuration): Observable<NotificationListResponse>;
|
|
430
596
|
}
|
|
431
|
-
import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
|
|
432
|
-
export declare class ObservableOAuthApi {
|
|
433
|
-
private requestFactory;
|
|
434
|
-
private responseProcessor;
|
|
435
|
-
private configuration;
|
|
436
|
-
constructor(configuration: Configuration, requestFactory?: OAuthApiRequestFactory, responseProcessor?: OAuthApiResponseProcessor);
|
|
437
|
-
/**
|
|
438
|
-
* 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.
|
|
439
|
-
* Authorize player with token.
|
|
440
|
-
* @param provider OAuth provider
|
|
441
|
-
* @param oAuthRequest
|
|
442
|
-
*/
|
|
443
|
-
authorizeWithOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<AuthorizeWithOAuthToken200Response>;
|
|
444
|
-
/**
|
|
445
|
-
* The endpoint creates oauth configuration for the current project environment.
|
|
446
|
-
* Create oauth configuration.
|
|
447
|
-
* @param body Specifies the oauth provider specific configuration.
|
|
448
|
-
*/
|
|
449
|
-
createOAuthConfig(body: OAuthConfig, _options?: Configuration): Observable<OAuthConfig>;
|
|
450
|
-
/**
|
|
451
|
-
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
452
|
-
* Delete oauth configuration.
|
|
453
|
-
* @param provider Specifies the oauth provider type.
|
|
454
|
-
*/
|
|
455
|
-
deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<void>;
|
|
456
|
-
/**
|
|
457
|
-
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
458
|
-
* Get oauth configuration.
|
|
459
|
-
* @param provider Specifies the oauth provider type.
|
|
460
|
-
*/
|
|
461
|
-
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<OAuthConfig>;
|
|
462
|
-
/**
|
|
463
|
-
* Retrieves the player based on his id in the external provider system.
|
|
464
|
-
* Retrieve player by external id.
|
|
465
|
-
* @param provider OAuth provider
|
|
466
|
-
* @param externalUserId External user id
|
|
467
|
-
*/
|
|
468
|
-
getPlayerByExternalId(provider: OAuthProvider, externalUserId: string, _options?: Configuration): Observable<PlayerResponse>;
|
|
469
|
-
/**
|
|
470
|
-
* The endpoint retrieves the list of oauth configurations for the current project environment.
|
|
471
|
-
* List of oauth configurations.
|
|
472
|
-
*/
|
|
473
|
-
listOAuthConfig(_options?: Configuration): Observable<OAuthConfigListResponse>;
|
|
474
|
-
/**
|
|
475
|
-
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
476
|
-
* Retrieve player by token.
|
|
477
|
-
* @param provider OAuth provider
|
|
478
|
-
* @param oAuthRequest
|
|
479
|
-
*/
|
|
480
|
-
verifyOAuthToken(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
481
|
-
}
|
|
482
597
|
import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
|
|
483
598
|
export declare class ObservablePlayersApi {
|
|
484
599
|
private requestFactory;
|
|
@@ -534,30 +649,6 @@ export declare class ObservablePlayersApi {
|
|
|
534
649
|
*/
|
|
535
650
|
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
536
651
|
}
|
|
537
|
-
import { PlayersAuthenticationApiRequestFactory, PlayersAuthenticationApiResponseProcessor } from "../apis/PlayersAuthenticationApi";
|
|
538
|
-
export declare class ObservablePlayersAuthenticationApi {
|
|
539
|
-
private requestFactory;
|
|
540
|
-
private responseProcessor;
|
|
541
|
-
private configuration;
|
|
542
|
-
constructor(configuration: Configuration, requestFactory?: PlayersAuthenticationApiRequestFactory, responseProcessor?: PlayersAuthenticationApiResponseProcessor);
|
|
543
|
-
/**
|
|
544
|
-
* List authenticated players.
|
|
545
|
-
* @param limit Specifies the maximum number of records to return.
|
|
546
|
-
* @param skip Specifies the offset for the first records to return.
|
|
547
|
-
* @param order Specifies the order in which to sort the results.
|
|
548
|
-
* @param email Specifies the email address of the user.
|
|
549
|
-
*/
|
|
550
|
-
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, _options?: Configuration): Observable<AuthPlayerListResponse>;
|
|
551
|
-
/**
|
|
552
|
-
* Register a key for the authenticated player.
|
|
553
|
-
* @param registerPlayerEncryptedKeyRequest
|
|
554
|
-
*/
|
|
555
|
-
registerKey(registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, _options?: Configuration): Observable<RegisterPlayerEncryptedKeyResponse>;
|
|
556
|
-
/**
|
|
557
|
-
* Retrieve the key for the authenticated player.
|
|
558
|
-
*/
|
|
559
|
-
retrieveKey(_options?: Configuration): Observable<RetrievePlayerEncryptedKeyResponse>;
|
|
560
|
-
}
|
|
561
652
|
import { PoliciesApiRequestFactory, PoliciesApiResponseProcessor } from "../apis/PoliciesApi";
|
|
562
653
|
export declare class ObservablePoliciesApi {
|
|
563
654
|
private requestFactory;
|