@openfort/openfort-node 0.6.9 → 0.6.11

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.
Files changed (108) hide show
  1. package/dist/apis/policiesApiWrapper.d.ts +10 -0
  2. package/dist/apis/policiesApiWrapper.js +14 -0
  3. package/dist/apis/policiesApiWrapper.js.map +1 -1
  4. package/dist/generated/apis/AccountsApi.d.ts +1 -1
  5. package/dist/generated/apis/AccountsApi.js +1 -1
  6. package/dist/generated/apis/ContractsApi.d.ts +3 -3
  7. package/dist/generated/apis/ContractsApi.js +3 -3
  8. package/dist/generated/apis/InventoriesApi.d.ts +6 -6
  9. package/dist/generated/apis/InventoriesApi.js +6 -6
  10. package/dist/generated/apis/OAuthApi.d.ts +102 -0
  11. package/dist/generated/apis/OAuthApi.js +358 -0
  12. package/dist/generated/apis/OAuthApi.js.map +1 -0
  13. package/dist/generated/apis/PlayersApi.d.ts +8 -8
  14. package/dist/generated/apis/PlayersApi.js +8 -8
  15. package/dist/generated/apis/PoliciesApi.d.ts +34 -7
  16. package/dist/generated/apis/PoliciesApi.js +120 -7
  17. package/dist/generated/apis/PoliciesApi.js.map +1 -1
  18. package/dist/generated/apis/PolicyRulesApi.d.ts +1 -1
  19. package/dist/generated/apis/PolicyRulesApi.js +1 -1
  20. package/dist/generated/apis/SessionsApi.d.ts +3 -3
  21. package/dist/generated/apis/SessionsApi.js +3 -3
  22. package/dist/generated/apis/TransactionIntentsApi.d.ts +6 -6
  23. package/dist/generated/apis/TransactionIntentsApi.js +6 -6
  24. package/dist/generated/index.d.ts +1 -1
  25. package/dist/generated/index.js +2 -1
  26. package/dist/generated/index.js.map +1 -1
  27. package/dist/generated/models/AccelbyteOauthConfig.d.ts +48 -0
  28. package/dist/generated/models/AccelbyteOauthConfig.js +59 -0
  29. package/dist/generated/models/AccelbyteOauthConfig.js.map +1 -0
  30. package/dist/generated/models/AccountListQueries.d.ts +1 -1
  31. package/dist/generated/models/AuthResponse.d.ts +6 -0
  32. package/dist/generated/models/AuthResponse.js.map +1 -1
  33. package/dist/generated/models/CancelTransferOwnershipRequest.d.ts +1 -1
  34. package/dist/generated/models/CompleteRecoveryRequest.d.ts +1 -1
  35. package/dist/generated/models/CreateAccountRequest.d.ts +1 -1
  36. package/dist/generated/models/CreatePlayerSessionRequest.d.ts +1 -1
  37. package/dist/generated/models/CreateSessionRequest.d.ts +2 -2
  38. package/dist/generated/models/CreateTransactionIntentRequest.d.ts +2 -2
  39. package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +16 -0
  40. package/dist/generated/models/EstimateTransactionIntentGasResult.js +24 -0
  41. package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -1
  42. package/dist/generated/models/OAuthConfigListResponse.d.ts +35 -0
  43. package/dist/generated/models/OAuthConfigListResponse.js +35 -0
  44. package/dist/generated/models/OAuthConfigListResponse.js.map +1 -0
  45. package/dist/generated/models/OAuthConfigRequest.d.ts +32 -0
  46. package/dist/generated/models/OAuthConfigRequest.js +35 -0
  47. package/dist/generated/models/OAuthConfigRequest.js.map +1 -0
  48. package/dist/generated/models/OAuthConfigResponse.d.ts +32 -0
  49. package/dist/generated/models/OAuthConfigResponse.js +35 -0
  50. package/dist/generated/models/OAuthConfigResponse.js.map +1 -0
  51. package/dist/generated/models/OAuthProvider.d.ts +15 -0
  52. package/dist/generated/models/OAuthProvider.js +14 -0
  53. package/dist/generated/models/OAuthProvider.js.map +1 -0
  54. package/dist/generated/models/OAuthProviderACCELBYTE.d.ts +12 -0
  55. package/dist/generated/models/OAuthProviderACCELBYTE.js +14 -0
  56. package/dist/generated/models/OAuthProviderACCELBYTE.js.map +1 -0
  57. package/dist/generated/models/OAuthRequest.d.ts +34 -0
  58. package/dist/generated/models/OAuthRequest.js +35 -0
  59. package/dist/generated/models/OAuthRequest.js.map +1 -0
  60. package/dist/generated/models/ObjectSerializer.d.ts +7 -0
  61. package/dist/generated/models/ObjectSerializer.js +19 -0
  62. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  63. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.d.ts +1 -1
  64. package/dist/generated/models/PlayerInventoryListQueries.d.ts +1 -1
  65. package/dist/generated/models/PlayerTransferOwnershipRequest.d.ts +2 -2
  66. package/dist/generated/models/Policy.d.ts +1 -0
  67. package/dist/generated/models/Policy.js +6 -0
  68. package/dist/generated/models/Policy.js.map +1 -1
  69. package/dist/generated/models/PolicyListQueries.d.ts +4 -0
  70. package/dist/generated/models/PolicyListQueries.js +6 -0
  71. package/dist/generated/models/PolicyListQueries.js.map +1 -1
  72. package/dist/generated/models/PolicyResponse.d.ts +1 -0
  73. package/dist/generated/models/PolicyResponse.js +6 -0
  74. package/dist/generated/models/PolicyResponse.js.map +1 -1
  75. package/dist/generated/models/PolicyRuleListQueries.d.ts +1 -1
  76. package/dist/generated/models/PolicyStrategyRequest.d.ts +3 -3
  77. package/dist/generated/models/ResponseResponse.d.ts +2 -6
  78. package/dist/generated/models/ResponseResponse.js.map +1 -1
  79. package/dist/generated/models/RevokeSessionPlayerRequest.d.ts +1 -1
  80. package/dist/generated/models/RevokeSessionRequest.d.ts +2 -2
  81. package/dist/generated/models/SessionListQueries.d.ts +1 -1
  82. package/dist/generated/models/StartRecoveryRequest.d.ts +1 -1
  83. package/dist/generated/models/TransactionIntentListQueries.d.ts +2 -2
  84. package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +1 -1
  85. package/dist/generated/models/TransactionIntentResponsePlayer.js +1 -1
  86. package/dist/generated/models/TransactionIntentResponsePolicy.d.ts +2 -1
  87. package/dist/generated/models/TransactionIntentResponsePolicy.js +7 -1
  88. package/dist/generated/models/TransactionIntentResponsePolicy.js.map +1 -1
  89. package/dist/generated/models/TransferOwnershipRequest.d.ts +1 -1
  90. package/dist/generated/models/all.d.ts +7 -0
  91. package/dist/generated/models/all.js +7 -0
  92. package/dist/generated/models/all.js.map +1 -1
  93. package/dist/generated/types/ObjectParamAPI.d.ts +172 -34
  94. package/dist/generated/types/ObjectParamAPI.js +84 -15
  95. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  96. package/dist/generated/types/ObservableAPI.d.ts +96 -35
  97. package/dist/generated/types/ObservableAPI.js +215 -37
  98. package/dist/generated/types/ObservableAPI.js.map +1 -1
  99. package/dist/generated/types/PromiseAPI.d.ts +94 -35
  100. package/dist/generated/types/PromiseAPI.js +128 -48
  101. package/dist/generated/types/PromiseAPI.js.map +1 -1
  102. package/dist/index.js.map +1 -1
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/dist/version.js.map +1 -1
  106. package/package.json +1 -1
  107. package/rome.json +1 -1
  108. package/tsconfig.tsbuildinfo +1 -1
@@ -25,6 +25,11 @@ import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
25
25
  import { InventoryListResponse } from '../models/InventoryListResponse';
26
26
  import { InventoryResponse } from '../models/InventoryResponse';
27
27
  import { LoginRequest } from '../models/LoginRequest';
28
+ import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
29
+ import { OAuthConfigRequest } from '../models/OAuthConfigRequest';
30
+ import { OAuthConfigResponse } from '../models/OAuthConfigResponse';
31
+ import { OAuthProvider } from '../models/OAuthProvider';
32
+ import { OAuthRequest } from '../models/OAuthRequest';
28
33
  import { ObsoleteInventoryResponse } from '../models/ObsoleteInventoryResponse';
29
34
  import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
30
35
  import { PlayerListResponse } from '../models/PlayerListResponse';
@@ -92,7 +97,7 @@ export declare class PromiseAccountsApi {
92
97
  /**
93
98
  * 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.
94
99
  * List accounts of a player.
95
- * @param player Specifies the unique player ID
100
+ * @param player Specifies the unique player ID (starts with pla_)
96
101
  * @param limit Specifies the maximum number of records to return.
97
102
  * @param skip Specifies the offset for the first records to return.
98
103
  * @param order Specifies the order in which to sort the results.
@@ -167,13 +172,13 @@ export declare class PromiseContractsApi {
167
172
  /**
168
173
  * Delete a contract from the project by providing its contract id.
169
174
  * Deletes a contract object.
170
- * @param id Specifies the unique contract ID.
175
+ * @param id Specifies the unique contract ID (starts with con_).
171
176
  */
172
177
  deleteContract(id: string, _options?: Configuration): Promise<ContractDeleteResponse>;
173
178
  /**
174
179
  * Retrieve a contract by providing their contract id.
175
180
  * Get a contract.
176
- * @param id Specifies the unique contract ID.
181
+ * @param id Specifies the unique contract ID (starts with con_).
177
182
  */
178
183
  getContract(id: string, _options?: Configuration): Promise<ContractResponse>;
179
184
  /**
@@ -190,7 +195,7 @@ export declare class PromiseContractsApi {
190
195
  getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, _options?: Configuration): Promise<ContractListResponse>;
191
196
  /**
192
197
  * Updates a contract object.
193
- * @param id Specifies the unique contract ID.
198
+ * @param id Specifies the unique contract ID (starts with con_).
194
199
  * @param updateContractRequest
195
200
  */
196
201
  updateContract(id: string, updateContractRequest: UpdateContractRequest, _options?: Configuration): Promise<ContractResponse>;
@@ -243,37 +248,80 @@ export declare class PromiseInventoriesApi {
243
248
  getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
244
249
  /**
245
250
  * Get cryptocurrency list of player.
246
- * @param id Specifies the unique player ID.
251
+ * @param id Specifies the unique player ID (starts with pla_).
247
252
  * @param chainId Filter by chain id.
248
253
  * @param limit Specifies the maximum number of records to return.
249
254
  * @param skip Specifies the offset for the first records to return.
250
255
  * @param order Specifies the order in which to sort the results.
251
- * @param contractId Filter by contract ID.
256
+ * @param contractId Filter by contract ID (starts with con_).
252
257
  */
253
258
  getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
254
259
  /**
255
260
  * Get inventory of player.
256
- * @param id Specifies the unique player ID.
261
+ * @param id Specifies the unique player ID (starts with pla_).
257
262
  * @param chainId Filter by chain id.
258
263
  */
259
264
  getPlayerInventory(id: string, chainId: number, _options?: Configuration): Promise<ObsoleteInventoryResponse>;
260
265
  /**
261
266
  * Get native token list of player.
262
- * @param id Specifies the unique player ID.
267
+ * @param id Specifies the unique player ID (starts with pla_).
263
268
  * @param chainId Filter by chain id.
264
269
  */
265
270
  getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Promise<InventoryResponse>;
266
271
  /**
267
272
  * Get NFTs list of player.
268
- * @param id Specifies the unique player ID.
273
+ * @param id Specifies the unique player ID (starts with pla_).
269
274
  * @param chainId Filter by chain id.
270
275
  * @param limit Specifies the maximum number of records to return.
271
276
  * @param skip Specifies the offset for the first records to return.
272
277
  * @param order Specifies the order in which to sort the results.
273
- * @param contractId Filter by contract ID.
278
+ * @param contractId Filter by contract ID (starts with con_).
274
279
  */
275
280
  getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
276
281
  }
282
+ import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
283
+ export declare class PromiseOAuthApi {
284
+ private api;
285
+ constructor(configuration: Configuration, requestFactory?: OAuthApiRequestFactory, responseProcessor?: OAuthApiResponseProcessor);
286
+ /**
287
+ * 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.
288
+ * Authorize user with token.
289
+ * @param provider OAuth provider
290
+ * @param oAuthRequest Request body
291
+ */
292
+ auth(provider: OAuthProvider, oAuthRequest: OAuthRequest, _options?: Configuration): Promise<AuthResponse>;
293
+ /**
294
+ * The endpoint creates oauth configuration for the current project environment.
295
+ * Create oauth configuration.
296
+ * @param provider Specifies the oauth provider type.
297
+ * @param oAuthConfigRequest Specifies the oauth provider specific configuration.
298
+ */
299
+ createOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, _options?: Configuration): Promise<void>;
300
+ /**
301
+ * The endpoint deletes oauth configuration for specified provider for the current project environment.
302
+ * Delete oauth configuration.
303
+ * @param provider Specifies the oauth provider type.
304
+ */
305
+ deleteOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<void>;
306
+ /**
307
+ * The endpoint retrieves oauth configuration for specified provider for the current project environment.
308
+ * Get oauth configuration.
309
+ * @param provider Specifies the oauth provider type.
310
+ */
311
+ getOAuthConfig(provider: OAuthProvider, _options?: Configuration): Promise<OAuthConfigResponse>;
312
+ /**
313
+ * The endpoint retrieves the list of oauth configurations for the current project environment.
314
+ * List of oauth configurations.
315
+ */
316
+ listOAuthConfig(_options?: Configuration): Promise<OAuthConfigListResponse>;
317
+ /**
318
+ * The endpoint updates oauth configuration for specified provider for the current project environment.
319
+ * Update oauth configuration.
320
+ * @param provider Specifies the oauth provider type.
321
+ * @param oAuthConfigRequest Specifies the oauth provider specific configuration.
322
+ */
323
+ updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, _options?: Configuration): Promise<void>;
324
+ }
277
325
  import { PlayersApiRequestFactory, PlayersApiResponseProcessor } from "../apis/PlayersApi";
278
326
  export declare class PromisePlayersApi {
279
327
  private api;
@@ -293,25 +341,25 @@ export declare class PromisePlayersApi {
293
341
  createPlayer(createPlayerRequest: CreatePlayerRequest, _options?: Configuration): Promise<PlayerResponse>;
294
342
  /**
295
343
  * Create account object for a player.
296
- * @param id Specifies the unique player ID.
344
+ * @param id Specifies the unique player ID (starts with pla_).
297
345
  * @param createPlayerAccountRequest
298
346
  */
299
347
  createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Promise<AccountResponse>;
300
348
  /**
301
349
  * Create session object for a player.
302
- * @param id Specifies the unique player ID.
350
+ * @param id Specifies the unique player ID (starts with pla_).
303
351
  * @param createPlayerSessionRequest
304
352
  */
305
353
  createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Promise<SessionResponse>;
306
354
  /**
307
355
  * Retrieves the details of an existing player.
308
- * @param id Specifies the unique player ID.
356
+ * @param id Specifies the unique player ID (starts with pla_).
309
357
  * @param expand Specifies the expandable fields.
310
358
  */
311
359
  getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Promise<PlayerResponse>;
312
360
  /**
313
361
  * List of accounts of a player.
314
- * @param id Specifies the unique player ID.
362
+ * @param id Specifies the unique player ID (starts with pla_).
315
363
  * @param expand Specifies the expandable fields.
316
364
  */
317
365
  getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Promise<AccountListResponse>;
@@ -335,26 +383,26 @@ export declare class PromisePlayersApi {
335
383
  /**
336
384
  * 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.
337
385
  * Request transfer ownership of account.
338
- * @param id Specifies the unique player ID.
386
+ * @param id Specifies the unique player ID (starts with pla_).
339
387
  * @param playerTransferOwnershipRequest
340
388
  */
341
389
  obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
342
390
  /**
343
391
  * 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.
344
392
  * Request transfer ownership of account.
345
- * @param id Specifies the unique player ID.
393
+ * @param id Specifies the unique player ID (starts with pla_).
346
394
  * @param playerTransferOwnershipRequest
347
395
  */
348
396
  requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
349
397
  /**
350
398
  * Revoke session object for a player.
351
- * @param id Specifies the unique player ID.
399
+ * @param id Specifies the unique player ID (starts with pla_).
352
400
  * @param revokeSessionPlayerRequest
353
401
  */
354
402
  revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, _options?: Configuration): Promise<SessionResponse>;
355
403
  /**
356
404
  * Updates a player object.
357
- * @param id Specifies the unique player ID.
405
+ * @param id Specifies the unique player ID (starts with pla_).
358
406
  * @param playerRequest
359
407
  */
360
408
  updatePlayer(id: string, playerRequest: PlayerRequest, _options?: Configuration): Promise<PlayerResponse>;
@@ -383,15 +431,25 @@ export declare class PromisePoliciesApi {
383
431
  createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Promise<PolicyResponse>;
384
432
  /**
385
433
  * Create a policy rule object for a policy.
386
- * @param id Specifies the unique policy ID.
434
+ * @param id Specifies the unique policy ID (starts with pol_).
387
435
  * @param createPolicyAllowFunctionRequest
388
436
  */
389
437
  createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
390
438
  /**
391
439
  * Delete a policy object.
392
- * @param id Specifies the unique policy ID.
440
+ * @param id Specifies the unique policy ID (starts with pol_).
393
441
  */
394
442
  deletePolicy(id: string, _options?: Configuration): Promise<PolicyDeleteResponse>;
443
+ /**
444
+ * Disable a policy object.
445
+ * @param id Specifies the unique policy ID (starts with pol_).
446
+ */
447
+ disablePolicy(id: string, _options?: Configuration): Promise<PolicyResponse>;
448
+ /**
449
+ * Enable a policy object.
450
+ * @param id Specifies the unique policy ID (starts with pol_).
451
+ */
452
+ enablePolicy(id: string, _options?: Configuration): Promise<PolicyResponse>;
395
453
  /**
396
454
  * List policies.
397
455
  * @param limit Specifies the maximum number of records to return.
@@ -401,28 +459,29 @@ export declare class PromisePoliciesApi {
401
459
  * @param name Specifies the name of the policy.
402
460
  * @param deleted Specifies whether to include deleted contracts.
403
461
  * @param chainId The chain ID of the policy.
462
+ * @param enabled Specifies whether to include enabled contracts.
404
463
  */
405
- getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, _options?: Configuration): Promise<PolicyListResponse>;
464
+ getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, enabled?: boolean, _options?: Configuration): Promise<PolicyListResponse>;
406
465
  /**
407
466
  * Get a policy object.
408
- * @param id Specifies the unique policy ID.
467
+ * @param id Specifies the unique policy ID (starts with pol_).
409
468
  * @param expand Specifies the fields to expand.
410
469
  */
411
470
  getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Promise<PolicyResponse>;
412
471
  /**
413
472
  * List policy rules of a policy.
414
- * @param id Specifies the unique policy ID.
473
+ * @param id Specifies the unique policy ID (starts with pol_).
415
474
  * @param expand Specifies the fields to expand.
416
475
  */
417
476
  getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Promise<PolicyRuleListResponse>;
418
477
  /**
419
478
  * List all gas reports of a policy.
420
- * @param id Specifies the unique policy ID.
479
+ * @param id Specifies the unique policy ID (starts with pol_).
421
480
  */
422
481
  getPolicyTotalGasUsage(id: string, _options?: Configuration): Promise<GasReport>;
423
482
  /**
424
483
  * Update a policy object.
425
- * @param id Specifies the unique policy ID.
484
+ * @param id Specifies the unique policy ID (starts with pol_).
426
485
  * @param updatePolicyRequest
427
486
  */
428
487
  updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Promise<PolicyResponse>;
@@ -450,7 +509,7 @@ export declare class PromisePolicyRulesApi {
450
509
  deletePolicyRules(id: string, _options?: Configuration): Promise<PolicyRuleDeleteResponse>;
451
510
  /**
452
511
  * List policy rules of a policy.
453
- * @param policy Specifies the unique policy ID.
512
+ * @param policy Specifies the unique policy ID (starts with pol_).
454
513
  * @param limit Specifies the maximum number of records to return.
455
514
  * @param skip Specifies the offset for the first records to return.
456
515
  * @param order Specifies the order in which to sort the results.
@@ -475,7 +534,7 @@ export declare class PromiseSessionsApi {
475
534
  createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Promise<SessionResponse>;
476
535
  /**
477
536
  * List session keys of a player.
478
- * @param player The player ID
537
+ * @param player The player ID (starts with pla_)
479
538
  * @param limit Specifies the maximum number of records to return.
480
539
  * @param skip Specifies the offset for the first records to return.
481
540
  * @param order Specifies the order in which to sort the results.
@@ -484,7 +543,7 @@ export declare class PromiseSessionsApi {
484
543
  getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<SessionListResponse>;
485
544
  /**
486
545
  * Returns a player session by session id
487
- * @param id Specifies the unique session ID.
546
+ * @param id Specifies the unique session ID (starts with ses_).
488
547
  * @param expand Specifies the fields to expand.
489
548
  */
490
549
  getSession(id: string, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Promise<SessionResponse>;
@@ -495,7 +554,7 @@ export declare class PromiseSessionsApi {
495
554
  revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Promise<SessionResponse>;
496
555
  /**
497
556
  * Confirms the creation of a session with an external owner.
498
- * @param id Specifies the unique session ID.
557
+ * @param id Specifies the unique session ID (starts with ses_).
499
558
  * @param signatureRequest
500
559
  */
501
560
  signatureSession(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<SessionResponse>;
@@ -511,14 +570,14 @@ export declare class PromiseTransactionIntentsApi {
511
570
  */
512
571
  createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
513
572
  /**
514
- * Estimate the gas cost of creating a transaction intent and putting it onchain.
573
+ * 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.
515
574
  * Estimate gas cost of creating a transaction
516
575
  * @param createTransactionIntentRequest
517
576
  */
518
577
  estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Promise<EstimateTransactionIntentGasResult>;
519
578
  /**
520
579
  * Get a transaction intent object.
521
- * @param id Specifies the unique transaction intent ID.
580
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
522
581
  * @param expand Specifies the expandable fields.
523
582
  */
524
583
  getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Promise<TransactionIntentResponse>;
@@ -530,14 +589,14 @@ export declare class PromiseTransactionIntentsApi {
530
589
  * @param expand Specifies the fields to expand in the response.
531
590
  * @param chainId The chain ID.
532
591
  * @param accountId Filter by account ID.
533
- * @param playerId Filter by player ID.
534
- * @param policyId Filter by policy ID.
592
+ * @param playerId Filter by player ID (starts with pla_).
593
+ * @param policyId Filter by policy ID (starts with pol_).
535
594
  */
536
595
  getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, accountId?: Array<string>, playerId?: Array<string>, policyId?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
537
596
  /**
538
- * This endpoint is used to put a userOperationHash signature on-chain. This means players that have informed (and use) an [externally-owned account (EOA)](https://ethereum.org/en/developers/docs/accounts/) to authorize operations, such as registering a session key, for their gaming accounts. Given that players with non-custodial accounts are the only ones in possession of the private key, they must sign the information inside the `nextAction` value received from the `POST` API endpoint that creates a transaction_intent, even with their session-keys. Once signed, the client needs to send the signed message using the `/signature` endpoint or use one of the available client-side libraries to do so.
597
+ * 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.
539
598
  * Confirms the creation of a transaction intent with an external owner.
540
- * @param id Specifies the unique transaction intent ID.
599
+ * @param id Specifies the unique transaction intent ID (starts with tin_).
541
600
  * @param signatureRequest
542
601
  */
543
602
  signature(id: string, signatureRequest: SignatureRequest, _options?: Configuration): Promise<TransactionIntentResponse>;