@openfort/openfort-node 0.6.33 → 0.6.35

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 (127) hide show
  1. package/README.md +24 -0
  2. package/dist/apis/inventoriesApiWrapper.js +2 -2
  3. package/dist/apis/inventoriesApiWrapper.js.map +1 -1
  4. package/dist/apis/playersApiWrapper.d.ts +1 -21
  5. package/dist/apis/playersApiWrapper.js +0 -31
  6. package/dist/apis/playersApiWrapper.js.map +1 -1
  7. package/dist/apis/policiesApiWrapper.d.ts +1 -16
  8. package/dist/apis/policiesApiWrapper.js +0 -23
  9. package/dist/apis/policiesApiWrapper.js.map +1 -1
  10. package/dist/apis/settingsApiWrapper.d.ts +5 -0
  11. package/dist/apis/settingsApiWrapper.js +6 -0
  12. package/dist/apis/settingsApiWrapper.js.map +1 -1
  13. package/dist/apis/transactionIntentsApiWrapper.js +1 -1
  14. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  15. package/dist/generated/apis/AccountsApi.d.ts +9 -9
  16. package/dist/generated/apis/AccountsApi.js +9 -9
  17. package/dist/generated/apis/InventoriesApi.d.ts +4 -32
  18. package/dist/generated/apis/InventoriesApi.js +8 -119
  19. package/dist/generated/apis/InventoriesApi.js.map +1 -1
  20. package/dist/generated/apis/PlayersApi.d.ts +2 -64
  21. package/dist/generated/apis/PlayersApi.js +2 -249
  22. package/dist/generated/apis/PlayersApi.js.map +1 -1
  23. package/dist/generated/apis/PoliciesApi.d.ts +2 -47
  24. package/dist/generated/apis/PoliciesApi.js +2 -197
  25. package/dist/generated/apis/PoliciesApi.js.map +1 -1
  26. package/dist/generated/apis/SessionsApi.d.ts +4 -1
  27. package/dist/generated/apis/SessionsApi.js +4 -1
  28. package/dist/generated/apis/SessionsApi.js.map +1 -1
  29. package/dist/generated/apis/SettingsApi.d.ts +22 -1
  30. package/dist/generated/apis/SettingsApi.js +81 -1
  31. package/dist/generated/apis/SettingsApi.js.map +1 -1
  32. package/dist/generated/apis/TransactionIntentsApi.d.ts +10 -8
  33. package/dist/generated/apis/TransactionIntentsApi.js +16 -14
  34. package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
  35. package/dist/generated/models/CancelTransferOwnershipRequest.d.ts +1 -1
  36. package/dist/generated/models/CreateAccountRequest.d.ts +6 -6
  37. package/dist/generated/models/CreateContractRequest.d.ts +1 -1
  38. package/dist/generated/models/CreatePolicyRequest.d.ts +1 -1
  39. package/dist/generated/models/CreatePolicyRuleRequest.d.ts +2 -2
  40. package/dist/generated/models/CreateSessionRequest.d.ts +3 -3
  41. package/dist/generated/models/CreateTransactionIntentRequest.d.ts +8 -8
  42. package/dist/generated/models/CreateWeb3ConnectionRequest.d.ts +2 -2
  43. package/dist/generated/models/{RevokeSessionPlayerRequest.d.ts → DeveloperAccount.d.ts} +9 -16
  44. package/dist/generated/models/DeveloperAccount.js +68 -0
  45. package/dist/generated/models/DeveloperAccount.js.map +1 -0
  46. package/dist/generated/models/{CreatePlayerAccountRequest.d.ts → DeveloperAccountListQueries.d.ts} +10 -15
  47. package/dist/generated/models/DeveloperAccountListQueries.js +50 -0
  48. package/dist/generated/models/DeveloperAccountListQueries.js.map +1 -0
  49. package/dist/generated/models/DeveloperAccountResponse.d.ts +3 -1
  50. package/dist/generated/models/DeveloperAccountResponse.js +12 -6
  51. package/dist/generated/models/DeveloperAccountResponse.js.map +1 -1
  52. package/dist/generated/models/{ObsoleteAssetType.d.ts → DeveloperAccountResponseExpandable.d.ts} +1 -1
  53. package/dist/generated/models/{ObsoleteAssetType.js → DeveloperAccountResponseExpandable.js} +1 -1
  54. package/dist/generated/models/DeveloperAccountResponseExpandable.js.map +1 -0
  55. package/dist/generated/models/Interaction.d.ts +5 -5
  56. package/dist/generated/models/NextActionPayload.d.ts +8 -0
  57. package/dist/generated/models/NextActionPayload.js +12 -0
  58. package/dist/generated/models/NextActionPayload.js.map +1 -1
  59. package/dist/generated/models/ObjectSerializer.d.ts +3 -7
  60. package/dist/generated/models/ObjectSerializer.js +8 -20
  61. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  62. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.d.ts +2 -2
  63. package/dist/generated/models/PlayerInventoryListQueries.d.ts +1 -1
  64. package/dist/generated/models/PlayerInventoryListQueries.js +2 -2
  65. package/dist/generated/models/PlayerInventoryListQueries.js.map +1 -1
  66. package/dist/generated/models/PlayerTransferOwnershipRequest.d.ts +3 -3
  67. package/dist/generated/models/ResponseResponse.d.ts +0 -1
  68. package/dist/generated/models/ResponseResponse.js +0 -6
  69. package/dist/generated/models/ResponseResponse.js.map +1 -1
  70. package/dist/generated/models/RevokeSessionRequest.d.ts +2 -2
  71. package/dist/generated/models/SignatureRequest.d.ts +1 -1
  72. package/dist/generated/models/SubmitWeb3ActionRequest.d.ts +1 -1
  73. package/dist/generated/models/TransactionIntentListQueries.d.ts +5 -5
  74. package/dist/generated/models/TransactionIntentListQueries.js +6 -6
  75. package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
  76. package/dist/generated/models/TransactionIntentResponseAccount.d.ts +4 -3
  77. package/dist/generated/models/TransactionIntentResponseAccount.js +9 -3
  78. package/dist/generated/models/TransactionIntentResponseAccount.js.map +1 -1
  79. package/dist/generated/models/TransactionIntentResponseExpandable.d.ts +1 -1
  80. package/dist/generated/models/TransferOwnershipRequest.d.ts +1 -1
  81. package/dist/generated/models/UpdateContractRequest.d.ts +1 -1
  82. package/dist/generated/models/UpdatePolicyRequest.d.ts +1 -1
  83. package/dist/generated/models/UpdatePolicyRuleRequest.d.ts +2 -2
  84. package/dist/generated/models/all.d.ts +3 -7
  85. package/dist/generated/models/all.js +3 -7
  86. package/dist/generated/models/all.js.map +1 -1
  87. package/dist/generated/types/ObjectParamAPI.d.ts +74 -197
  88. package/dist/generated/types/ObjectParamAPI.js +31 -78
  89. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  90. package/dist/generated/types/ObservableAPI.d.ts +44 -83
  91. package/dist/generated/types/ObservableAPI.js +62 -217
  92. package/dist/generated/types/ObservableAPI.js.map +1 -1
  93. package/dist/generated/types/PromiseAPI.d.ts +44 -83
  94. package/dist/generated/types/PromiseAPI.js +50 -109
  95. package/dist/generated/types/PromiseAPI.js.map +1 -1
  96. package/dist/models/getDeveloperAccountRequest.d.ts +4 -0
  97. package/dist/models/{createPlayerSessionRequest.js → getDeveloperAccountRequest.js} +1 -1
  98. package/dist/models/getDeveloperAccountRequest.js.map +1 -0
  99. package/dist/models/index.d.ts +0 -2
  100. package/dist/models/index.js +0 -1
  101. package/dist/models/index.js.map +1 -1
  102. package/dist/version.d.ts +1 -1
  103. package/dist/version.js +1 -1
  104. package/package.json +1 -1
  105. package/tsconfig.tsbuildinfo +1 -1
  106. package/dist/generated/models/CreatePlayerAccountRequest.js +0 -56
  107. package/dist/generated/models/CreatePlayerAccountRequest.js.map +0 -1
  108. package/dist/generated/models/CreatePlayerSessionRequest.d.ts +0 -63
  109. package/dist/generated/models/CreatePlayerSessionRequest.js +0 -80
  110. package/dist/generated/models/CreatePlayerSessionRequest.js.map +0 -1
  111. package/dist/generated/models/CreatePolicyAllowFunctionRequest.d.ts +0 -51
  112. package/dist/generated/models/CreatePolicyAllowFunctionRequest.js +0 -68
  113. package/dist/generated/models/CreatePolicyAllowFunctionRequest.js.map +0 -1
  114. package/dist/generated/models/ObsoleteAssetInventory.d.ts +0 -36
  115. package/dist/generated/models/ObsoleteAssetInventory.js +0 -56
  116. package/dist/generated/models/ObsoleteAssetInventory.js.map +0 -1
  117. package/dist/generated/models/ObsoleteAssetType.js.map +0 -1
  118. package/dist/generated/models/ObsoleteInventoryResponse.d.ts +0 -33
  119. package/dist/generated/models/ObsoleteInventoryResponse.js +0 -50
  120. package/dist/generated/models/ObsoleteInventoryResponse.js.map +0 -1
  121. package/dist/generated/models/RevokeSessionPlayerRequest.js +0 -50
  122. package/dist/generated/models/RevokeSessionPlayerRequest.js.map +0 -1
  123. package/dist/models/createPlayerSessionRequest.d.ts +0 -4
  124. package/dist/models/createPlayerSessionRequest.js.map +0 -1
  125. package/dist/models/revokePlayerSessionRequest.d.ts +0 -4
  126. package/dist/models/revokePlayerSessionRequest.js +0 -3
  127. package/dist/models/revokePlayerSessionRequest.js.map +0 -1
@@ -14,9 +14,6 @@ import { ContractReadResponse } from '../models/ContractReadResponse';
14
14
  import { ContractResponse } from '../models/ContractResponse';
15
15
  import { CreateAccountRequest } from '../models/CreateAccountRequest';
16
16
  import { CreateContractRequest } from '../models/CreateContractRequest';
17
- import { CreatePlayerAccountRequest } from '../models/CreatePlayerAccountRequest';
18
- import { CreatePlayerSessionRequest } from '../models/CreatePlayerSessionRequest';
19
- import { CreatePolicyAllowFunctionRequest } from '../models/CreatePolicyAllowFunctionRequest';
20
17
  import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
21
18
  import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
22
19
  import { CreateSessionRequest } from '../models/CreateSessionRequest';
@@ -28,6 +25,7 @@ import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDelete
28
25
  import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
29
26
  import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResponse';
30
27
  import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
28
+ import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
31
29
  import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
32
30
  import { GasReport } from '../models/GasReport';
33
31
  import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
@@ -38,7 +36,6 @@ import { OAuthConfig } from '../models/OAuthConfig';
38
36
  import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
39
37
  import { OAuthProvider } from '../models/OAuthProvider';
40
38
  import { OAuthRequest } from '../models/OAuthRequest';
41
- import { ObsoleteInventoryResponse } from '../models/ObsoleteInventoryResponse';
42
39
  import { PlayerCancelTransferOwnershipRequest } from '../models/PlayerCancelTransferOwnershipRequest';
43
40
  import { PlayerCreateRequest } from '../models/PlayerCreateRequest';
44
41
  import { PlayerDeleteResponse } from '../models/PlayerDeleteResponse';
@@ -57,7 +54,6 @@ import { PolicyRuleResponse } from '../models/PolicyRuleResponse';
57
54
  import { RegisterPlayerEncryptedKeyRequest } from '../models/RegisterPlayerEncryptedKeyRequest';
58
55
  import { RegisterPlayerEncryptedKeyResponse } from '../models/RegisterPlayerEncryptedKeyResponse';
59
56
  import { RetrievePlayerEncryptedKeyResponse } from '../models/RetrievePlayerEncryptedKeyResponse';
60
- import { RevokeSessionPlayerRequest } from '../models/RevokeSessionPlayerRequest';
61
57
  import { RevokeSessionRequest } from '../models/RevokeSessionRequest';
62
58
  import { SessionListResponse } from '../models/SessionListResponse';
63
59
  import { SessionResponse } from '../models/SessionResponse';
@@ -89,9 +85,9 @@ export declare class ObservableAccountsApi {
89
85
  private configuration;
90
86
  constructor(configuration: Configuration, requestFactory?: AccountsApiRequestFactory, responseProcessor?: AccountsApiResponseProcessor);
91
87
  /**
92
- * This endpoint allows you to cancel a pending transfer of ownership.
88
+ * Cancel a pending transfer of ownership.
93
89
  * Cancel request to transfer ownership of an account.
94
- * @param id Specifies the unique account ID.
90
+ * @param id Specifies the unique account ID (starts with acc_).
95
91
  * @param cancelTransferOwnershipRequest
96
92
  */
97
93
  cancelTransferOwnership(id: string, cancelTransferOwnershipRequest: CancelTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
@@ -102,7 +98,7 @@ export declare class ObservableAccountsApi {
102
98
  */
103
99
  completeRecovery(id: string, completeRecoveryRequest: CompleteRecoveryRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
104
100
  /**
105
- * This endpoint allows you to add a new account to your Openfort player. Only one account can be active per chain per player.
101
+ * Creates a new blockchain account for the provided player. Account creation does not consume any gas. All accounts of a player will use the same address across blockchains. Only one account can per chain per player.
106
102
  * Create an account object.
107
103
  * @param createAccountRequest
108
104
  */
@@ -115,14 +111,14 @@ export declare class ObservableAccountsApi {
115
111
  */
116
112
  deployAccount(id: string, deployRequest: DeployRequest, _options?: Configuration): Observable<AccountResponse>;
117
113
  /**
118
- * Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
114
+ * Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
119
115
  * Get existing account.
120
116
  * @param id Specifies the unique account ID (starts with acc_).
121
117
  * @param expand
122
118
  */
123
119
  getAccount(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountResponse>;
124
120
  /**
125
- * 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.
121
+ * 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.
126
122
  * List accounts of a player.
127
123
  * @param player Specifies the unique player ID (starts with pla_)
128
124
  * @param limit Specifies the maximum number of records to return.
@@ -132,16 +128,16 @@ export declare class ObservableAccountsApi {
132
128
  */
133
129
  getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountListResponse>;
134
130
  /**
135
- * 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.
131
+ * 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.
136
132
  * Request transfer ownership of account.
137
- * @param id Specifies the unique account ID.
133
+ * @param id Specifies the unique account ID (starts with acc_).
138
134
  * @param transferOwnershipRequest
139
135
  */
140
136
  requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
141
137
  /**
142
138
  * Signs the typed data value with types data structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
143
139
  * Sign a given payload
144
- * @param id Specifies the unique account ID.
140
+ * @param id Specifies the unique account ID (starts with acc_).
145
141
  * @param signPayloadRequest
146
142
  */
147
143
  signPayload(id: string, signPayloadRequest: SignPayloadRequest, _options?: Configuration): Observable<SignPayloadResponse>;
@@ -152,7 +148,7 @@ export declare class ObservableAccountsApi {
152
148
  */
153
149
  startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
154
150
  /**
155
- * This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
151
+ * Synchronize the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
156
152
  * Sync account state with the blockchain
157
153
  * @param id Specifies the unique account ID (starts with acc_).
158
154
  */
@@ -265,11 +261,6 @@ export declare class ObservableInventoriesApi {
265
261
  * @param contractId
266
262
  */
267
263
  getAccountCryptoCurrencyInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
268
- /**
269
- * Get inventory of account.
270
- * @param id Specifies the unique account ID (starts with acc_).
271
- */
272
- getAccountInventory(id: string, _options?: Configuration): Observable<ObsoleteInventoryResponse>;
273
264
  /**
274
265
  * Retrieves the native asset of an existing account.
275
266
  * @param id Specifies the unique account ID.
@@ -291,15 +282,9 @@ export declare class ObservableInventoriesApi {
291
282
  * @param limit Specifies the maximum number of records to return.
292
283
  * @param skip Specifies the offset for the first records to return.
293
284
  * @param order Specifies the order in which to sort the results.
294
- * @param contractId Filter by contract ID (starts with con_).
295
- */
296
- getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
297
- /**
298
- * Get inventory of player.
299
- * @param id Specifies the unique player ID (starts with pla_).
300
- * @param chainId Filter by chain id.
285
+ * @param contract Filter by contract ID (starts with con_).
301
286
  */
302
- getPlayerInventory(id: string, chainId: number, _options?: Configuration): Observable<ObsoleteInventoryResponse>;
287
+ getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
303
288
  /**
304
289
  * Get native token list of player.
305
290
  * @param id Specifies the unique player ID (starts with pla_).
@@ -313,9 +298,9 @@ export declare class ObservableInventoriesApi {
313
298
  * @param limit Specifies the maximum number of records to return.
314
299
  * @param skip Specifies the offset for the first records to return.
315
300
  * @param order Specifies the order in which to sort the results.
316
- * @param contractId Filter by contract ID (starts with con_).
301
+ * @param contract Filter by contract ID (starts with con_).
317
302
  */
318
- getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
303
+ getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Observable<InventoryListResponse>;
319
304
  }
320
305
  import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
321
306
  export declare class ObservableOAuthApi {
@@ -382,23 +367,11 @@ export declare class ObservablePlayersApi {
382
367
  */
383
368
  cancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
384
369
  /**
385
- * Add a new player to your player list in Openfort.
370
+ * Creates a Player.
386
371
  * Create a player object.
387
372
  * @param playerCreateRequest
388
373
  */
389
374
  createPlayer(playerCreateRequest: PlayerCreateRequest, _options?: Configuration): Observable<PlayerResponse>;
390
- /**
391
- * Create account object for a player.
392
- * @param id Specifies the unique player ID (starts with pla_).
393
- * @param createPlayerAccountRequest
394
- */
395
- createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, _options?: Configuration): Observable<AccountResponse>;
396
- /**
397
- * Create session object for a player.
398
- * @param id Specifies the unique player ID (starts with pla_).
399
- * @param createPlayerSessionRequest
400
- */
401
- createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, _options?: Configuration): Observable<SessionResponse>;
402
375
  /**
403
376
  * Deletes a player object.
404
377
  * @param id Specifies the unique player ID (starts with pla_).
@@ -410,12 +383,6 @@ export declare class ObservablePlayersApi {
410
383
  * @param expand Specifies the expandable fields.
411
384
  */
412
385
  getPlayer(id: string, expand?: Array<PlayerResponseExpandable>, _options?: Configuration): Observable<PlayerResponse>;
413
- /**
414
- * List of accounts of a player.
415
- * @param id Specifies the unique player ID (starts with pla_).
416
- * @param expand Specifies the expandable fields.
417
- */
418
- getPlayerAccounts(id: string, expand?: Array<AccountResponseExpandable>, _options?: Configuration): Observable<AccountListResponse>;
419
386
  /**
420
387
  * By default, a maximum of ten players are shown.
421
388
  * List players.
@@ -434,12 +401,7 @@ export declare class ObservablePlayersApi {
434
401
  */
435
402
  requestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
436
403
  /**
437
- * Revoke session object for a player.
438
- * @param id Specifies the unique player ID (starts with pla_).
439
- * @param revokeSessionPlayerRequest
440
- */
441
- revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, _options?: Configuration): Observable<SessionResponse>;
442
- /**
404
+ * Updates the specified Player by setting the values of the parameters passed.
443
405
  * Updates a player object.
444
406
  * @param id Specifies the unique player ID (starts with pla_).
445
407
  * @param playerUpdateRequest
@@ -481,12 +443,6 @@ export declare class ObservablePoliciesApi {
481
443
  * @param createPolicyRequest
482
444
  */
483
445
  createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
484
- /**
485
- * Create a policy rule object for a policy.
486
- * @param id Specifies the unique policy ID (starts with pol_).
487
- * @param createPolicyAllowFunctionRequest
488
- */
489
- createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
490
446
  /**
491
447
  * Delete a policy object.
492
448
  * @param id Specifies the unique policy ID (starts with pol_).
@@ -503,6 +459,7 @@ export declare class ObservablePoliciesApi {
503
459
  */
504
460
  enablePolicy(id: string, _options?: Configuration): Observable<PolicyResponse>;
505
461
  /**
462
+ * Returns a list of Policies.
506
463
  * List policies.
507
464
  * @param limit Specifies the maximum number of records to return.
508
465
  * @param skip Specifies the offset for the first records to return.
@@ -515,17 +472,12 @@ export declare class ObservablePoliciesApi {
515
472
  */
516
473
  getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, enabled?: boolean, _options?: Configuration): Observable<PolicyListResponse>;
517
474
  /**
475
+ * Retrieves the details of a Policy that has previously been created.
518
476
  * Get a policy object.
519
477
  * @param id Specifies the unique policy ID (starts with pol_).
520
478
  * @param expand Specifies the fields to expand.
521
479
  */
522
480
  getPolicy(id: string, expand?: Array<PolicyResponseExpandable>, _options?: Configuration): Observable<PolicyResponse>;
523
- /**
524
- * List policy rules of a policy.
525
- * @param id Specifies the unique policy ID (starts with pol_).
526
- * @param expand Specifies the fields to expand.
527
- */
528
- getPolicyAllowFunctions(id: string, expand?: Array<'contract'>, _options?: Configuration): Observable<PolicyRuleListResponse>;
529
481
  /**
530
482
  * List all gas reports of a policy.
531
483
  * @param id Specifies the unique policy ID (starts with pol_).
@@ -537,13 +489,6 @@ export declare class ObservablePoliciesApi {
537
489
  * @param updatePolicyRequest
538
490
  */
539
491
  updatePolicy(id: string, updatePolicyRequest: UpdatePolicyRequest, _options?: Configuration): Observable<PolicyResponse>;
540
- /**
541
- * Update a policy rule object of a policy.
542
- * @param policy Specifies the unique policy ID (starts with pol_).
543
- * @param policyRule Specifies the unique policy rule ID (starts with afu_).
544
- * @param updatePolicyRuleRequest
545
- */
546
- updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, _options?: Configuration): Observable<PolicyRuleResponse>;
547
492
  }
548
493
  import { PolicyRulesApiRequestFactory, PolicyRulesApiResponseProcessor } from "../apis/PolicyRulesApi";
549
494
  export declare class ObservablePolicyRulesApi {
@@ -584,11 +529,13 @@ export declare class ObservableSessionsApi {
584
529
  private configuration;
585
530
  constructor(configuration: Configuration, requestFactory?: SessionsApiRequestFactory, responseProcessor?: SessionsApiResponseProcessor);
586
531
  /**
532
+ * Creates a Session.
587
533
  * Create a session key.
588
534
  * @param createSessionRequest
589
535
  */
590
536
  createSession(createSessionRequest: CreateSessionRequest, _options?: Configuration): Observable<SessionResponse>;
591
537
  /**
538
+ * Returns a list of Sessions.
592
539
  * List session keys of a player.
593
540
  * @param player The player ID (starts with pla_)
594
541
  * @param limit Specifies the maximum number of records to return.
@@ -598,6 +545,7 @@ export declare class ObservableSessionsApi {
598
545
  */
599
546
  getPlayerSessions(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<SessionResponseExpandable>, _options?: Configuration): Observable<SessionListResponse>;
600
547
  /**
548
+ * Retrieves the details of a Session that has previously been created.
601
549
  * Returns a player session by session id
602
550
  * @param id Specifies the unique session ID (starts with ses_).
603
551
  * @param expand Specifies the fields to expand.
@@ -609,7 +557,7 @@ export declare class ObservableSessionsApi {
609
557
  */
610
558
  revokeSession(revokeSessionRequest: RevokeSessionRequest, _options?: Configuration): Observable<SessionResponse>;
611
559
  /**
612
- * Send signed userOpHash to create session.
560
+ * Send signed userOperationHash to create session.
613
561
  * @param id Specifies the unique session ID (starts with ses_).
614
562
  * @param signatureRequest
615
563
  */
@@ -635,9 +583,20 @@ export declare class ObservableSettingsApi {
635
583
  deleteDeveloperAccount(id: string, _options?: Configuration): Observable<DeveloperAccountDeleteResponse>;
636
584
  /**
637
585
  * Retrieve the list of the developer accounts for the current project.
586
+ * Get existing developer account.
587
+ * @param id
588
+ * @param expand
589
+ */
590
+ getDeveloperAccount(id: string, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Observable<DeveloperAccountResponse>;
591
+ /**
592
+ * Retrieve the list of the developer accounts for the current project. By default, a maximum of 10 accounts are shown per page.
638
593
  * List of developer accounts.
594
+ * @param limit Specifies the maximum number of records to return.
595
+ * @param skip Specifies the offset for the first records to return.
596
+ * @param order Specifies the order in which to sort the results.
597
+ * @param expand Specifies the fields to expand in the response.
639
598
  */
640
- getDeveloperAccounts(_options?: Configuration): Observable<DeveloperAccountListResponse>;
599
+ getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Observable<DeveloperAccountListResponse>;
641
600
  /**
642
601
  * Generate message, which should be signed by the account your want to add as a developer account.
643
602
  * Generate message to sign
@@ -663,37 +622,39 @@ export declare class ObservableTransactionIntentsApi {
663
622
  private configuration;
664
623
  constructor(configuration: Configuration, requestFactory?: TransactionIntentsApiRequestFactory, responseProcessor?: TransactionIntentsApiResponseProcessor);
665
624
  /**
666
- * Retrieve a transaction intent by providing their id on Openfort. Transaction intents that have not been processed yet, have the `response` attribute as undefined.
625
+ * Creates a TransactionIntent. A pending TransactionIntent has the `response` attribute as undefined. After the TransactionIntent is created and broadcasted to the blockchain, `response` will be populated with the transaction hash and a status (1 success, 0 fail). When using a non-custodial account, a `nextAction` attribute is returned with the `userOperationHash` that must be signed by the owner of the account.
667
626
  * Create a transaction intent object.
668
627
  * @param createTransactionIntentRequest
669
628
  */
670
629
  createTransactionIntent(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<TransactionIntentResponse>;
671
630
  /**
672
- * 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.
631
+ * Estimate the gas cost of broadcasting a TransactionIntent. This is a simulation, it does not send the transaction on-chain. If a Policy ID is used that includes payment of gas in ERC-20 tokens, an extra field `estimatedTXGasFeeToken` is returned with the estimated amount of tokens that will be used.
673
632
  * Estimate gas cost of creating a transaction
674
633
  * @param createTransactionIntentRequest
675
634
  */
676
635
  estimateTransactionIntentCost(createTransactionIntentRequest: CreateTransactionIntentRequest, _options?: Configuration): Observable<EstimateTransactionIntentGasResult>;
677
636
  /**
637
+ * Retrieves the details of a TransactionIntent that has previously been created.
678
638
  * Get a transaction intent object.
679
639
  * @param id Specifies the unique transaction intent ID (starts with tin_).
680
640
  * @param expand Specifies the expandable fields.
681
641
  */
682
642
  getTransactionIntent(id: string, expand?: Array<TransactionIntentResponseExpandable>, _options?: Configuration): Observable<TransactionIntentResponse>;
683
643
  /**
644
+ * Returns a list of TransactionIntents.
684
645
  * List transaction intents.
685
646
  * @param limit Specifies the maximum number of records to return.
686
647
  * @param skip Specifies the offset for the first records to return.
687
648
  * @param order Specifies the order in which to sort the results.
688
649
  * @param expand Specifies the fields to expand in the response.
689
- * @param chainId The chain ID.
690
- * @param accountId Filter by account ID.
691
- * @param playerId Filter by player ID (starts with pla_).
692
- * @param policyId Filter by policy ID (starts with pol_).
650
+ * @param chainId The chain ID. Must be a [supported chain](/chains).
651
+ * @param account Filter by account ID or developer account (starts with acc_ or dac_ respectively).
652
+ * @param player Filter by player ID (starts with pla_).
653
+ * @param policy Filter by policy ID (starts with pol_).
693
654
  */
694
- 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>;
655
+ getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, policy?: Array<string>, _options?: Configuration): Observable<TransactionIntentListResponse>;
695
656
  /**
696
- * 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.
657
+ * Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `userOperationHash`. Openfort will then put it on-chain.
697
658
  * Send a signed transaction userOperationHash.
698
659
  * @param id Specifies the unique transaction intent ID (starts with tin_).
699
660
  * @param signatureRequest