@openfort/openfort-node 0.6.10 → 0.6.12
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 +10 -0
- package/dist/apis/iamApiWrapper.js +33 -0
- package/dist/apis/iamApiWrapper.js.map +1 -0
- package/dist/generated/apis/AccountsApi.d.ts +1 -1
- package/dist/generated/apis/AccountsApi.js +1 -1
- package/dist/generated/apis/ContractsApi.d.ts +3 -3
- package/dist/generated/apis/ContractsApi.js +3 -3
- package/dist/generated/apis/InventoriesApi.d.ts +6 -6
- package/dist/generated/apis/InventoriesApi.js +6 -6
- package/dist/generated/apis/OAuthApi.d.ts +102 -0
- package/dist/generated/apis/OAuthApi.js +358 -0
- package/dist/generated/apis/OAuthApi.js.map +1 -0
- package/dist/generated/apis/PlayersApi.d.ts +8 -8
- package/dist/generated/apis/PlayersApi.js +8 -8
- package/dist/generated/apis/PoliciesApi.d.ts +8 -8
- package/dist/generated/apis/PoliciesApi.js +8 -8
- package/dist/generated/apis/PolicyRulesApi.d.ts +1 -1
- package/dist/generated/apis/PolicyRulesApi.js +1 -1
- package/dist/generated/apis/SessionsApi.d.ts +3 -3
- package/dist/generated/apis/SessionsApi.js +3 -3
- package/dist/generated/apis/TransactionIntentsApi.d.ts +6 -6
- package/dist/generated/apis/TransactionIntentsApi.js +6 -6
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +2 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/AccelbyteOauthConfig.d.ts +48 -0
- package/dist/generated/models/AccelbyteOauthConfig.js +59 -0
- package/dist/generated/models/AccelbyteOauthConfig.js.map +1 -0
- package/dist/generated/models/AccountListQueries.d.ts +1 -1
- package/dist/generated/models/AuthResponse.d.ts +6 -0
- package/dist/generated/models/AuthResponse.js.map +1 -1
- package/dist/generated/models/CancelTransferOwnershipRequest.d.ts +1 -1
- package/dist/generated/models/CompleteRecoveryRequest.d.ts +1 -1
- package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
- package/dist/generated/models/CreatePlayerSessionRequest.d.ts +1 -1
- package/dist/generated/models/CreateSessionRequest.d.ts +2 -2
- package/dist/generated/models/CreateTransactionIntentRequest.d.ts +2 -2
- package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +16 -0
- package/dist/generated/models/EstimateTransactionIntentGasResult.js +24 -0
- package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -1
- package/dist/generated/models/OAuthConfigListResponse.d.ts +35 -0
- package/dist/generated/models/OAuthConfigListResponse.js +35 -0
- package/dist/generated/models/OAuthConfigListResponse.js.map +1 -0
- package/dist/generated/models/OAuthConfigRequest.d.ts +32 -0
- package/dist/generated/models/OAuthConfigRequest.js +35 -0
- package/dist/generated/models/OAuthConfigRequest.js.map +1 -0
- package/dist/generated/models/OAuthConfigResponse.d.ts +32 -0
- package/dist/generated/models/OAuthConfigResponse.js +35 -0
- package/dist/generated/models/OAuthConfigResponse.js.map +1 -0
- package/dist/generated/models/OAuthProvider.d.ts +15 -0
- package/dist/generated/models/OAuthProvider.js +14 -0
- package/dist/generated/models/OAuthProvider.js.map +1 -0
- package/dist/generated/models/OAuthProviderACCELBYTE.d.ts +12 -0
- package/dist/generated/models/OAuthProviderACCELBYTE.js +14 -0
- package/dist/generated/models/OAuthProviderACCELBYTE.js.map +1 -0
- package/dist/generated/models/OAuthRequest.d.ts +34 -0
- package/dist/generated/models/OAuthRequest.js +35 -0
- package/dist/generated/models/OAuthRequest.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +7 -0
- package/dist/generated/models/ObjectSerializer.js +19 -0
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PlayerCancelTransferOwnershipRequest.d.ts +1 -1
- package/dist/generated/models/PlayerInventoryListQueries.d.ts +1 -1
- package/dist/generated/models/PlayerTransferOwnershipRequest.d.ts +2 -2
- package/dist/generated/models/PolicyRuleListQueries.d.ts +1 -1
- package/dist/generated/models/PolicyStrategyRequest.d.ts +3 -3
- package/dist/generated/models/ResponseResponse.d.ts +2 -2
- package/dist/generated/models/RevokeSessionPlayerRequest.d.ts +1 -1
- package/dist/generated/models/RevokeSessionRequest.d.ts +2 -2
- package/dist/generated/models/SessionListQueries.d.ts +1 -1
- package/dist/generated/models/StartRecoveryRequest.d.ts +1 -1
- package/dist/generated/models/TransactionIntentListQueries.d.ts +2 -2
- package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +1 -1
- package/dist/generated/models/TransactionIntentResponsePlayer.js +1 -1
- package/dist/generated/models/TransactionIntentResponsePolicy.d.ts +1 -1
- package/dist/generated/models/TransactionIntentResponsePolicy.js +1 -1
- package/dist/generated/models/TransferOwnershipRequest.d.ts +1 -1
- package/dist/generated/models/all.d.ts +7 -0
- package/dist/generated/models/all.js +7 -0
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +142 -36
- package/dist/generated/types/ObjectParamAPI.js +69 -14
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +86 -36
- package/dist/generated/types/ObservableAPI.js +174 -37
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +84 -36
- package/dist/generated/types/PromiseAPI.js +111 -48
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- 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
|
@@ -26,6 +26,11 @@ import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
|
26
26
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
27
27
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
28
28
|
import { LoginRequest } from '../models/LoginRequest';
|
|
29
|
+
import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
|
|
30
|
+
import { OAuthConfigRequest } from '../models/OAuthConfigRequest';
|
|
31
|
+
import { OAuthConfigResponse } from '../models/OAuthConfigResponse';
|
|
32
|
+
import { OAuthProvider } from '../models/OAuthProvider';
|
|
33
|
+
import { OAuthRequest } from '../models/OAuthRequest';
|
|
29
34
|
import { ObsoleteInventoryResponse } from '../models/ObsoleteInventoryResponse';
|
|
30
35
|
import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
|
|
31
36
|
import { PlayerListResponse } from '../models/PlayerListResponse';
|
|
@@ -95,7 +100,7 @@ export declare class ObservableAccountsApi {
|
|
|
95
100
|
/**
|
|
96
101
|
* 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 ten accounts are shown per page.
|
|
97
102
|
* List accounts of a player.
|
|
98
|
-
* @param player Specifies the unique player ID
|
|
103
|
+
* @param player Specifies the unique player ID (starts with pla_)
|
|
99
104
|
* @param limit Specifies the maximum number of records to return.
|
|
100
105
|
* @param skip Specifies the offset for the first records to return.
|
|
101
106
|
* @param order Specifies the order in which to sort the results.
|
|
@@ -176,13 +181,13 @@ export declare class ObservableContractsApi {
|
|
|
176
181
|
/**
|
|
177
182
|
* Delete a contract from the project by providing its contract id.
|
|
178
183
|
* Deletes a contract object.
|
|
179
|
-
* @param id Specifies the unique contract ID.
|
|
184
|
+
* @param id Specifies the unique contract ID (starts with con_).
|
|
180
185
|
*/
|
|
181
186
|
deleteContract(id: string, _options?: Configuration): Observable<ContractDeleteResponse>;
|
|
182
187
|
/**
|
|
183
188
|
* Retrieve a contract by providing their contract id.
|
|
184
189
|
* Get a contract.
|
|
185
|
-
* @param id Specifies the unique contract ID.
|
|
190
|
+
* @param id Specifies the unique contract ID (starts with con_).
|
|
186
191
|
*/
|
|
187
192
|
getContract(id: string, _options?: Configuration): Observable<ContractResponse>;
|
|
188
193
|
/**
|
|
@@ -199,7 +204,7 @@ export declare class ObservableContractsApi {
|
|
|
199
204
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, _options?: Configuration): Observable<ContractListResponse>;
|
|
200
205
|
/**
|
|
201
206
|
* Updates a contract object.
|
|
202
|
-
* @param id Specifies the unique contract ID.
|
|
207
|
+
* @param id Specifies the unique contract ID (starts with con_).
|
|
203
208
|
* @param updateContractRequest
|
|
204
209
|
*/
|
|
205
210
|
updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Observable<ContractResponse>;
|
|
@@ -256,37 +261,82 @@ export declare class ObservableInventoriesApi {
|
|
|
256
261
|
getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
257
262
|
/**
|
|
258
263
|
* Get cryptocurrency list of player.
|
|
259
|
-
* @param id Specifies the unique player ID.
|
|
264
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
260
265
|
* @param chainId Filter by chain id.
|
|
261
266
|
* @param limit Specifies the maximum number of records to return.
|
|
262
267
|
* @param skip Specifies the offset for the first records to return.
|
|
263
268
|
* @param order Specifies the order in which to sort the results.
|
|
264
|
-
* @param contractId Filter by contract ID.
|
|
269
|
+
* @param contractId Filter by contract ID (starts with con_).
|
|
265
270
|
*/
|
|
266
271
|
getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
267
272
|
/**
|
|
268
273
|
* Get inventory of player.
|
|
269
|
-
* @param id Specifies the unique player ID.
|
|
274
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
270
275
|
* @param chainId Filter by chain id.
|
|
271
276
|
*/
|
|
272
277
|
getPlayerInventory(id: string, chainId: number, _options?: Configuration): Observable<ObsoleteInventoryResponse>;
|
|
273
278
|
/**
|
|
274
279
|
* Get native token list of player.
|
|
275
|
-
* @param id Specifies the unique player ID.
|
|
280
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
276
281
|
* @param chainId Filter by chain id.
|
|
277
282
|
*/
|
|
278
283
|
getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Observable<InventoryResponse>;
|
|
279
284
|
/**
|
|
280
285
|
* Get NFTs list of player.
|
|
281
|
-
* @param id Specifies the unique player ID.
|
|
286
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
282
287
|
* @param chainId Filter by chain id.
|
|
283
288
|
* @param limit Specifies the maximum number of records to return.
|
|
284
289
|
* @param skip Specifies the offset for the first records to return.
|
|
285
290
|
* @param order Specifies the order in which to sort the results.
|
|
286
|
-
* @param contractId Filter by contract ID.
|
|
291
|
+
* @param contractId Filter by contract ID (starts with con_).
|
|
287
292
|
*/
|
|
288
293
|
getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
|
|
289
294
|
}
|
|
295
|
+
import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
|
|
296
|
+
export declare class ObservableOAuthApi {
|
|
297
|
+
private requestFactory;
|
|
298
|
+
private responseProcessor;
|
|
299
|
+
private configuration;
|
|
300
|
+
constructor(configuration: Configuration, requestFactory?: OAuthApiRequestFactory, responseProcessor?: OAuthApiResponseProcessor);
|
|
301
|
+
/**
|
|
302
|
+
* 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.
|
|
303
|
+
* Authorize user with token.
|
|
304
|
+
* @param provider OAuth provider
|
|
305
|
+
* @param oAuthRequest Request body
|
|
306
|
+
*/
|
|
307
|
+
auth(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Observable<AuthResponse>;
|
|
308
|
+
/**
|
|
309
|
+
* The endpoint creates oauth configuration for the current project environment.
|
|
310
|
+
* Create oauth configuration.
|
|
311
|
+
* @param provider Specifies the oauth provider type.
|
|
312
|
+
* @param oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
313
|
+
*/
|
|
314
|
+
createOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, _options?: Configuration): Observable<void>;
|
|
315
|
+
/**
|
|
316
|
+
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
317
|
+
* Delete oauth configuration.
|
|
318
|
+
* @param provider Specifies the oauth provider type.
|
|
319
|
+
*/
|
|
320
|
+
deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<void>;
|
|
321
|
+
/**
|
|
322
|
+
* The endpoint retrieves oauth configuration for specified provider for the current project environment.
|
|
323
|
+
* Get oauth configuration.
|
|
324
|
+
* @param provider Specifies the oauth provider type.
|
|
325
|
+
*/
|
|
326
|
+
getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Observable<OAuthConfigResponse>;
|
|
327
|
+
/**
|
|
328
|
+
* The endpoint retrieves the list of oauth configurations for the current project environment.
|
|
329
|
+
* List of oauth configurations.
|
|
330
|
+
*/
|
|
331
|
+
listOAuthConfig(_options?: Configuration): Observable<OAuthConfigListResponse>;
|
|
332
|
+
/**
|
|
333
|
+
* The endpoint updates oauth configuration for specified provider for the current project environment.
|
|
334
|
+
* Update oauth configuration.
|
|
335
|
+
* @param provider Specifies the oauth provider type.
|
|
336
|
+
* @param oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
337
|
+
*/
|
|
338
|
+
updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, _options?: Configuration): Observable<void>;
|
|
339
|
+
}
|
|
290
340
|
import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
|
|
291
341
|
export declare class ObservablePlayersApi {
|
|
292
342
|
private requestFactory;
|
|
@@ -308,25 +358,25 @@ export declare class ObservablePlayersApi {
|
|
|
308
358
|
createPlayer(createPlayerRequest: CreatePlayerRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
309
359
|
/**
|
|
310
360
|
* Create account object for a player.
|
|
311
|
-
* @param id Specifies the unique player ID.
|
|
361
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
312
362
|
* @param createPlayerAccountRequest
|
|
313
363
|
*/
|
|
314
364
|
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Observable<AccountResponse>;
|
|
315
365
|
/**
|
|
316
366
|
* Create session object for a player.
|
|
317
|
-
* @param id Specifies the unique player ID.
|
|
367
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
318
368
|
* @param createPlayerSessionRequest
|
|
319
369
|
*/
|
|
320
370
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
321
371
|
/**
|
|
322
372
|
* Retrieves the details of an existing player.
|
|
323
|
-
* @param id Specifies the unique player ID.
|
|
373
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
324
374
|
* @param expand Specifies the expandable fields.
|
|
325
375
|
*/
|
|
326
376
|
getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Observable<PlayerResponse>;
|
|
327
377
|
/**
|
|
328
378
|
* List of accounts of a player.
|
|
329
|
-
* @param id Specifies the unique player ID.
|
|
379
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
330
380
|
* @param expand Specifies the expandable fields.
|
|
331
381
|
*/
|
|
332
382
|
getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountListResponse>;
|
|
@@ -350,26 +400,26 @@ export declare class ObservablePlayersApi {
|
|
|
350
400
|
/**
|
|
351
401
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
352
402
|
* Request transfer ownership of account.
|
|
353
|
-
* @param id Specifies the unique player ID.
|
|
403
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
354
404
|
* @param playerTransferOwnershipRequest
|
|
355
405
|
*/
|
|
356
406
|
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
357
407
|
/**
|
|
358
408
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
359
409
|
* Request transfer ownership of account.
|
|
360
|
-
* @param id Specifies the unique player ID.
|
|
410
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
361
411
|
* @param playerTransferOwnershipRequest
|
|
362
412
|
*/
|
|
363
413
|
requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
364
414
|
/**
|
|
365
415
|
* Revoke session object for a player.
|
|
366
|
-
* @param id Specifies the unique player ID.
|
|
416
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
367
417
|
* @param revokeSessionPlayerRequest
|
|
368
418
|
*/
|
|
369
419
|
revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
370
420
|
/**
|
|
371
421
|
* Updates a player object.
|
|
372
|
-
* @param id Specifies the unique player ID.
|
|
422
|
+
* @param id Specifies the unique player ID (starts with pla_).
|
|
373
423
|
* @param playerRequest
|
|
374
424
|
*/
|
|
375
425
|
updatePlayer(id: string, playerRequest: PlayerRequest, _options?: Configuration): Observable<PlayerResponse>;
|
|
@@ -402,23 +452,23 @@ export declare class ObservablePoliciesApi {
|
|
|
402
452
|
createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
|
|
403
453
|
/**
|
|
404
454
|
* Create a policy rule object for a policy.
|
|
405
|
-
* @param id Specifies the unique policy ID.
|
|
455
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
406
456
|
* @param createPolicyAllowFunctionRequest
|
|
407
457
|
*/
|
|
408
458
|
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
|
|
409
459
|
/**
|
|
410
460
|
* Delete a policy object.
|
|
411
|
-
* @param id Specifies the unique policy ID.
|
|
461
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
412
462
|
*/
|
|
413
463
|
deletePolicy(id: string, _options?: Configuration): Observable<PolicyDeleteResponse>;
|
|
414
464
|
/**
|
|
415
465
|
* Disable a policy object.
|
|
416
|
-
* @param id Specifies the unique policy ID.
|
|
466
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
417
467
|
*/
|
|
418
468
|
disablePolicy(id: string, _options?: Configuration): Observable<PolicyResponse>;
|
|
419
469
|
/**
|
|
420
470
|
* Enable a policy object.
|
|
421
|
-
* @param id Specifies the unique policy ID.
|
|
471
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
422
472
|
*/
|
|
423
473
|
enablePolicy(id: string, _options?: Configuration): Observable<PolicyResponse>;
|
|
424
474
|
/**
|
|
@@ -435,24 +485,24 @@ export declare class ObservablePoliciesApi {
|
|
|
435
485
|
getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, enabled?: boolean, _options?: Configuration): Observable<PolicyListResponse>;
|
|
436
486
|
/**
|
|
437
487
|
* Get a policy object.
|
|
438
|
-
* @param id Specifies the unique policy ID.
|
|
488
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
439
489
|
* @param expand Specifies the fields to expand.
|
|
440
490
|
*/
|
|
441
491
|
getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Observable<PolicyResponse>;
|
|
442
492
|
/**
|
|
443
493
|
* List policy rules of a policy.
|
|
444
|
-
* @param id Specifies the unique policy ID.
|
|
494
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
445
495
|
* @param expand Specifies the fields to expand.
|
|
446
496
|
*/
|
|
447
497
|
getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Observable<PolicyRuleListResponse>;
|
|
448
498
|
/**
|
|
449
499
|
* List all gas reports of a policy.
|
|
450
|
-
* @param id Specifies the unique policy ID.
|
|
500
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
451
501
|
*/
|
|
452
502
|
getPolicyTotalGasUsage(id: string, _options?: Configuration): Observable<GasReport>;
|
|
453
503
|
/**
|
|
454
504
|
* Update a policy object.
|
|
455
|
-
* @param id Specifies the unique policy ID.
|
|
505
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
456
506
|
* @param updatePolicyRequest
|
|
457
507
|
*/
|
|
458
508
|
updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
|
|
@@ -482,7 +532,7 @@ export declare class ObservablePolicyRulesApi {
|
|
|
482
532
|
deletePolicyRules(id: string, _options?: Configuration): Observable<PolicyRuleDeleteResponse>;
|
|
483
533
|
/**
|
|
484
534
|
* List policy rules of a policy.
|
|
485
|
-
* @param policy Specifies the unique policy ID.
|
|
535
|
+
* @param policy Specifies the unique policy ID (starts with pol_).
|
|
486
536
|
* @param limit Specifies the maximum number of records to return.
|
|
487
537
|
* @param skip Specifies the offset for the first records to return.
|
|
488
538
|
* @param order Specifies the order in which to sort the results.
|
|
@@ -509,7 +559,7 @@ export declare class ObservableSessionsApi {
|
|
|
509
559
|
createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
510
560
|
/**
|
|
511
561
|
* List session keys of a player.
|
|
512
|
-
* @param player The player ID
|
|
562
|
+
* @param player The player ID (starts with pla_)
|
|
513
563
|
* @param limit Specifies the maximum number of records to return.
|
|
514
564
|
* @param skip Specifies the offset for the first records to return.
|
|
515
565
|
* @param order Specifies the order in which to sort the results.
|
|
@@ -518,7 +568,7 @@ export declare class ObservableSessionsApi {
|
|
|
518
568
|
getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Observable<SessionListResponse>;
|
|
519
569
|
/**
|
|
520
570
|
* Returns a player session by session id
|
|
521
|
-
* @param id Specifies the unique session ID.
|
|
571
|
+
* @param id Specifies the unique session ID (starts with ses_).
|
|
522
572
|
* @param expand Specifies the fields to expand.
|
|
523
573
|
*/
|
|
524
574
|
getSession(id: string, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Observable<SessionResponse>;
|
|
@@ -529,7 +579,7 @@ export declare class ObservableSessionsApi {
|
|
|
529
579
|
revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
530
580
|
/**
|
|
531
581
|
* Confirms the creation of a session with an external owner.
|
|
532
|
-
* @param id Specifies the unique session ID.
|
|
582
|
+
* @param id Specifies the unique session ID (starts with ses_).
|
|
533
583
|
* @param signatureRequest
|
|
534
584
|
*/
|
|
535
585
|
signatureSession(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Observable<SessionResponse>;
|
|
@@ -547,14 +597,14 @@ export declare class ObservableTransactionIntentsApi {
|
|
|
547
597
|
*/
|
|
548
598
|
createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
549
599
|
/**
|
|
550
|
-
* Estimate the gas cost of creating a transaction intent and putting it
|
|
600
|
+
* Estimate the gas cost of creating a transaction intent and putting it on chain. If a policy that includes payment of gas in ERC-20 tokens is provided, an extra field `estimatedTXGasFeeToken` is returned with the estimated amount of tokens.
|
|
551
601
|
* Estimate gas cost of creating a transaction
|
|
552
602
|
* @param createTransactionIntentRequest
|
|
553
603
|
*/
|
|
554
604
|
estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<EstimateTransactionIntentGasResult>;
|
|
555
605
|
/**
|
|
556
606
|
* Get a transaction intent object.
|
|
557
|
-
* @param id Specifies the unique transaction intent ID.
|
|
607
|
+
* @param id Specifies the unique transaction intent ID (starts with tin_).
|
|
558
608
|
* @param expand Specifies the expandable fields.
|
|
559
609
|
*/
|
|
560
610
|
getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Observable<TransactionIntentResponse>;
|
|
@@ -566,14 +616,14 @@ export declare class ObservableTransactionIntentsApi {
|
|
|
566
616
|
* @param expand Specifies the fields to expand in the response.
|
|
567
617
|
* @param chainId The chain ID.
|
|
568
618
|
* @param accountId Filter by account ID.
|
|
569
|
-
* @param playerId Filter by player ID.
|
|
570
|
-
* @param policyId Filter by policy ID.
|
|
619
|
+
* @param playerId Filter by player ID (starts with pla_).
|
|
620
|
+
* @param policyId Filter by policy ID (starts with pol_).
|
|
571
621
|
*/
|
|
572
622
|
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, accountId?: Array<string>, playerId?: Array<string>, policyId?: Array<string>, _options?: Configuration): Observable<TransactionIntentListResponse>;
|
|
573
623
|
/**
|
|
574
|
-
* This endpoint is used to
|
|
624
|
+
* This endpoint is used to send the signed userOperationHash. For non-custodial smart accounts, each on chain action using their wallet, they must sign the userOperationHash received from the `POST` API endpoint that creates a transactionIntent.
|
|
575
625
|
* Confirms the creation of a transaction intent with an external owner.
|
|
576
|
-
* @param id Specifies the unique transaction intent ID.
|
|
626
|
+
* @param id Specifies the unique transaction intent ID (starts with tin_).
|
|
577
627
|
* @param signatureRequest
|
|
578
628
|
*/
|
|
579
629
|
signature(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
|