@openfort/openfort-node 0.6.5 → 0.6.8

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 (242) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/sessionsApiWrapper.js +1 -1
  3. package/dist/apis/sessionsApiWrapper.js.map +1 -1
  4. package/dist/apis/transactionIntentsApiWrapper.d.ts +6 -11
  5. package/dist/apis/transactionIntentsApiWrapper.js +7 -14
  6. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  7. package/dist/generated/apis/AccountsApi.d.ts +15 -10
  8. package/dist/generated/apis/AccountsApi.js +15 -10
  9. package/dist/generated/apis/AccountsApi.js.map +1 -1
  10. package/dist/generated/apis/AuthenticationApi.d.ts +4 -1
  11. package/dist/generated/apis/AuthenticationApi.js +4 -1
  12. package/dist/generated/apis/AuthenticationApi.js.map +1 -1
  13. package/dist/generated/apis/ConfigAuthenticationApi.d.ts +1 -1
  14. package/dist/generated/apis/ConfigAuthenticationApi.js +1 -1
  15. package/dist/generated/apis/ContractsApi.d.ts +16 -12
  16. package/dist/generated/apis/ContractsApi.js +17 -13
  17. package/dist/generated/apis/ContractsApi.js.map +1 -1
  18. package/dist/generated/apis/GoogleAuthenticationApi.d.ts +3 -1
  19. package/dist/generated/apis/GoogleAuthenticationApi.js +3 -1
  20. package/dist/generated/apis/GoogleAuthenticationApi.js.map +1 -1
  21. package/dist/generated/apis/InventoryApi.d.ts +26 -26
  22. package/dist/generated/apis/InventoryApi.js +30 -30
  23. package/dist/generated/apis/InventoryApi.js.map +1 -1
  24. package/dist/generated/apis/PlayersApi.d.ts +51 -17
  25. package/dist/generated/apis/PlayersApi.js +157 -19
  26. package/dist/generated/apis/PlayersApi.js.map +1 -1
  27. package/dist/generated/apis/PlayersAuthenticationApi.d.ts +5 -4
  28. package/dist/generated/apis/PlayersAuthenticationApi.js +5 -4
  29. package/dist/generated/apis/PlayersAuthenticationApi.js.map +1 -1
  30. package/dist/generated/apis/PoliciesApi.d.ts +24 -20
  31. package/dist/generated/apis/PoliciesApi.js +25 -21
  32. package/dist/generated/apis/PoliciesApi.js.map +1 -1
  33. package/dist/generated/apis/PolicyRulesApi.d.ts +11 -11
  34. package/dist/generated/apis/PolicyRulesApi.js +11 -11
  35. package/dist/generated/apis/SessionsApi.d.ts +12 -13
  36. package/dist/generated/apis/SessionsApi.js +12 -17
  37. package/dist/generated/apis/SessionsApi.js.map +1 -1
  38. package/dist/generated/apis/TransactionIntentsApi.d.ts +31 -37
  39. package/dist/generated/apis/TransactionIntentsApi.js +71 -106
  40. package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
  41. package/dist/generated/models/Account.d.ts +3 -0
  42. package/dist/generated/models/Account.js +1 -1
  43. package/dist/generated/models/Account.js.map +1 -1
  44. package/dist/generated/models/AccountInventoryListQueries.d.ts +6 -0
  45. package/dist/generated/models/AccountInventoryListQueries.js.map +1 -1
  46. package/dist/generated/models/AccountListQueries.d.ts +12 -0
  47. package/dist/generated/models/AccountListQueries.js.map +1 -1
  48. package/dist/generated/models/AccountResponse.d.ts +3 -0
  49. package/dist/generated/models/AccountResponse.js +1 -1
  50. package/dist/generated/models/AccountResponse.js.map +1 -1
  51. package/dist/generated/models/AuthPlayerListQueries.d.ts +9 -0
  52. package/dist/generated/models/AuthPlayerListQueries.js.map +1 -1
  53. package/dist/generated/models/CheckoutRequest.d.ts +1 -1
  54. package/dist/generated/models/ContractListQueries.d.ts +18 -0
  55. package/dist/generated/models/ContractListQueries.js +1 -1
  56. package/dist/generated/models/ContractListQueries.js.map +1 -1
  57. package/dist/generated/models/ContractPolicyRuleResponseContract.d.ts +3 -0
  58. package/dist/generated/models/ContractPolicyRuleResponseContract.js +1 -1
  59. package/dist/generated/models/ContractPolicyRuleResponseContract.js.map +1 -1
  60. package/dist/generated/models/ContractResponse.d.ts +3 -0
  61. package/dist/generated/models/ContractResponse.js +1 -1
  62. package/dist/generated/models/ContractResponse.js.map +1 -1
  63. package/dist/generated/models/CreateAccountRequest.js +1 -1
  64. package/dist/generated/models/CreateAccountRequest.js.map +1 -1
  65. package/dist/generated/models/CreateContractRequest.d.ts +15 -0
  66. package/dist/generated/models/CreateContractRequest.js.map +1 -1
  67. package/dist/generated/models/CreatePlayerAccountRequest.js +1 -1
  68. package/dist/generated/models/CreatePlayerAccountRequest.js.map +1 -1
  69. package/dist/generated/models/CreatePlayerRequest.d.ts +6 -0
  70. package/dist/generated/models/CreatePlayerRequest.js.map +1 -1
  71. package/dist/generated/models/CreatePlayerSessionRequest.d.ts +27 -0
  72. package/dist/generated/models/CreatePlayerSessionRequest.js.map +1 -1
  73. package/dist/generated/models/CreatePolicyAllowFunctionRequest.d.ts +15 -0
  74. package/dist/generated/models/CreatePolicyAllowFunctionRequest.js.map +1 -1
  75. package/dist/generated/models/CreatePolicyRequest.d.ts +6 -0
  76. package/dist/generated/models/CreatePolicyRequest.js +1 -1
  77. package/dist/generated/models/CreatePolicyRequest.js.map +1 -1
  78. package/dist/generated/models/CreatePolicyRuleRequest.d.ts +18 -0
  79. package/dist/generated/models/CreatePolicyRuleRequest.js.map +1 -1
  80. package/dist/generated/models/CreateProjectRequest.d.ts +30 -0
  81. package/dist/generated/models/{ProjectRequest.js → CreateProjectRequest.js} +8 -8
  82. package/dist/generated/models/CreateProjectRequest.js.map +1 -0
  83. package/dist/generated/models/CreateSessionRequest.d.ts +30 -0
  84. package/dist/generated/models/CreateSessionRequest.js.map +1 -1
  85. package/dist/generated/models/CreateTransactionIntentRequest.d.ts +19 -0
  86. package/dist/generated/models/CreateTransactionIntentRequest.js +6 -0
  87. package/dist/generated/models/CreateTransactionIntentRequest.js.map +1 -1
  88. package/dist/generated/models/DomainData.d.ts +3 -0
  89. package/dist/generated/models/DomainData.js +1 -1
  90. package/dist/generated/models/DomainData.js.map +1 -1
  91. package/dist/generated/models/EstimateTransactionIntentGasResult.d.ts +58 -0
  92. package/dist/generated/models/EstimateTransactionIntentGasResult.js +71 -0
  93. package/dist/generated/models/EstimateTransactionIntentGasResult.js.map +1 -0
  94. package/dist/generated/models/GasReport.d.ts +2 -1
  95. package/dist/generated/models/GasReport.js +1 -1
  96. package/dist/generated/models/GasReport.js.map +1 -1
  97. package/dist/generated/models/GasReportDataInner.d.ts +35 -0
  98. package/dist/generated/models/GasReportDataInner.js +62 -0
  99. package/dist/generated/models/GasReportDataInner.js.map +1 -0
  100. package/dist/generated/models/{MemberResponse.d.ts → GasReportDataInnerPeriod.d.ts} +3 -3
  101. package/dist/generated/models/GasReportDataInnerPeriod.js +38 -0
  102. package/dist/generated/models/GasReportDataInnerPeriod.js.map +1 -0
  103. package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.d.ts +32 -0
  104. package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js +56 -0
  105. package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js.map +1 -0
  106. package/dist/generated/models/Interaction.d.ts +15 -0
  107. package/dist/generated/models/Interaction.js.map +1 -1
  108. package/dist/generated/models/Log.d.ts +1 -0
  109. package/dist/generated/models/Log.js +6 -0
  110. package/dist/generated/models/Log.js.map +1 -1
  111. package/dist/generated/models/LoginRequest.d.ts +6 -0
  112. package/dist/generated/models/LoginRequest.js.map +1 -1
  113. package/dist/generated/models/Money.d.ts +1 -1
  114. package/dist/generated/models/ObjectSerializer.d.ts +13 -5
  115. package/dist/generated/models/ObjectSerializer.js +37 -13
  116. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  117. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.js +1 -1
  118. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.js.map +1 -1
  119. package/dist/generated/models/PlayerInventoryListQueries.d.ts +12 -0
  120. package/dist/generated/models/PlayerInventoryListQueries.js +1 -1
  121. package/dist/generated/models/PlayerInventoryListQueries.js.map +1 -1
  122. package/dist/generated/models/PlayerInventoryQueries.d.ts +31 -0
  123. package/dist/generated/models/PlayerInventoryQueries.js +32 -0
  124. package/dist/generated/models/PlayerInventoryQueries.js.map +1 -0
  125. package/dist/generated/models/PlayerListQueries.d.ts +12 -0
  126. package/dist/generated/models/PlayerListQueries.js.map +1 -1
  127. package/dist/generated/models/PlayerRequest.d.ts +6 -0
  128. package/dist/generated/models/PlayerRequest.js.map +1 -1
  129. package/dist/generated/models/PlayerResponseAccountsInner.d.ts +3 -0
  130. package/dist/generated/models/PlayerResponseAccountsInner.js +1 -1
  131. package/dist/generated/models/PlayerResponseAccountsInner.js.map +1 -1
  132. package/dist/generated/models/PlayerResponseTransactionIntentsInner.d.ts +9 -0
  133. package/dist/generated/models/PlayerResponseTransactionIntentsInner.js +1 -1
  134. package/dist/generated/models/PlayerResponseTransactionIntentsInner.js.map +1 -1
  135. package/dist/generated/models/PlayerTransferOwnershipRequest.js +1 -1
  136. package/dist/generated/models/PlayerTransferOwnershipRequest.js.map +1 -1
  137. package/dist/generated/models/Policy.d.ts +3 -0
  138. package/dist/generated/models/Policy.js +1 -1
  139. package/dist/generated/models/Policy.js.map +1 -1
  140. package/dist/generated/models/PolicyListQueries.d.ts +18 -0
  141. package/dist/generated/models/PolicyListQueries.js +1 -1
  142. package/dist/generated/models/PolicyListQueries.js.map +1 -1
  143. package/dist/generated/models/PolicyResponse.d.ts +3 -0
  144. package/dist/generated/models/PolicyResponse.js +1 -1
  145. package/dist/generated/models/PolicyResponse.js.map +1 -1
  146. package/dist/generated/models/PolicyRuleListQueries.d.ts +12 -0
  147. package/dist/generated/models/PolicyRuleListQueries.js.map +1 -1
  148. package/dist/generated/models/PolicyStrategyRequest.d.ts +6 -0
  149. package/dist/generated/models/PolicyStrategyRequest.js.map +1 -1
  150. package/dist/generated/models/{PKPolicy.d.ts → PrivateKeyPolicy.d.ts} +1 -1
  151. package/dist/generated/models/{PKPolicy.js → PrivateKeyPolicy.js} +1 -1
  152. package/dist/generated/models/PrivateKeyPolicy.js.map +1 -0
  153. package/dist/generated/models/ProjectResponse.d.ts +1 -0
  154. package/dist/generated/models/ProjectResponse.js +6 -0
  155. package/dist/generated/models/ProjectResponse.js.map +1 -1
  156. package/dist/generated/models/ProjectWebhookRequest.d.ts +29 -0
  157. package/dist/generated/models/ProjectWebhookRequest.js +38 -0
  158. package/dist/generated/models/ProjectWebhookRequest.js.map +1 -0
  159. package/dist/generated/models/ProviderRequest.d.ts +9 -0
  160. package/dist/generated/models/ProviderRequest.js.map +1 -1
  161. package/dist/generated/models/ResponseResponse.d.ts +27 -0
  162. package/dist/generated/models/ResponseResponse.js +1 -1
  163. package/dist/generated/models/ResponseResponse.js.map +1 -1
  164. package/dist/generated/models/RevokeSessionPlayerRequest.d.ts +12 -0
  165. package/dist/generated/models/RevokeSessionPlayerRequest.js +1 -1
  166. package/dist/generated/models/RevokeSessionPlayerRequest.js.map +1 -1
  167. package/dist/generated/models/RevokeSessionRequest.d.ts +15 -0
  168. package/dist/generated/models/RevokeSessionRequest.js +1 -1
  169. package/dist/generated/models/RevokeSessionRequest.js.map +1 -1
  170. package/dist/generated/models/SessionListQueries.d.ts +12 -1
  171. package/dist/generated/models/SessionListQueries.js +0 -6
  172. package/dist/generated/models/SessionListQueries.js.map +1 -1
  173. package/dist/generated/models/SignatureRequest.d.ts +6 -0
  174. package/dist/generated/models/SignatureRequest.js.map +1 -1
  175. package/dist/generated/models/SignupRequest.d.ts +12 -0
  176. package/dist/generated/models/SignupRequest.js.map +1 -1
  177. package/dist/generated/models/TransactionIntent.d.ts +9 -0
  178. package/dist/generated/models/TransactionIntent.js +1 -1
  179. package/dist/generated/models/TransactionIntent.js.map +1 -1
  180. package/dist/generated/models/TransactionIntentListQueries.d.ts +21 -0
  181. package/dist/generated/models/TransactionIntentListQueries.js +1 -1
  182. package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
  183. package/dist/generated/models/TransactionIntentResponse.d.ts +11 -2
  184. package/dist/generated/models/TransactionIntentResponse.js +2 -2
  185. package/dist/generated/models/TransactionIntentResponse.js.map +1 -1
  186. package/dist/generated/models/TransactionIntentResponseAccount.d.ts +46 -0
  187. package/dist/generated/models/TransactionIntentResponseAccount.js +95 -0
  188. package/dist/generated/models/TransactionIntentResponseAccount.js.map +1 -0
  189. package/dist/generated/models/TransactionIntentResponsePlayer.d.ts +3 -0
  190. package/dist/generated/models/TransactionIntentResponsePlayer.js +3 -0
  191. package/dist/generated/models/TransactionIntentResponsePlayer.js.map +1 -1
  192. package/dist/generated/models/TransactionIntentResponsePolicy.d.ts +6 -0
  193. package/dist/generated/models/TransactionIntentResponsePolicy.js +4 -1
  194. package/dist/generated/models/TransactionIntentResponsePolicy.js.map +1 -1
  195. package/dist/generated/models/UpdateContractRequest.d.ts +18 -0
  196. package/dist/generated/models/UpdateContractRequest.js +1 -1
  197. package/dist/generated/models/UpdateContractRequest.js.map +1 -1
  198. package/dist/generated/models/UpdatePolicyRequest.d.ts +9 -0
  199. package/dist/generated/models/UpdatePolicyRequest.js +1 -1
  200. package/dist/generated/models/UpdatePolicyRequest.js.map +1 -1
  201. package/dist/generated/models/UpdatePolicyRuleRequest.d.ts +15 -0
  202. package/dist/generated/models/UpdatePolicyRuleRequest.js.map +1 -1
  203. package/dist/generated/models/{ProjectRequest.d.ts → UpdateProjectRequest.d.ts} +1 -3
  204. package/dist/generated/models/{MemberResponse.js → UpdateProjectRequest.js} +10 -10
  205. package/dist/generated/models/UpdateProjectRequest.js.map +1 -0
  206. package/dist/generated/models/{MembersResponse.d.ts → UserListResponse.d.ts} +3 -3
  207. package/dist/generated/models/{MembersResponse.js → UserListResponse.js} +8 -8
  208. package/dist/generated/models/UserListResponse.js.map +1 -0
  209. package/dist/generated/models/{ProjectRole.d.ts → UserProjectRole.d.ts} +1 -1
  210. package/dist/generated/models/{ProjectRole.js → UserProjectRole.js} +1 -1
  211. package/dist/generated/models/UserProjectRole.js.map +1 -0
  212. package/dist/generated/models/UserResponse.d.ts +37 -0
  213. package/dist/generated/models/UserResponse.js +74 -0
  214. package/dist/generated/models/UserResponse.js.map +1 -0
  215. package/dist/generated/models/all.d.ts +13 -5
  216. package/dist/generated/models/all.js +13 -5
  217. package/dist/generated/models/all.js.map +1 -1
  218. package/dist/generated/types/ObjectParamAPI.d.ts +208 -152
  219. package/dist/generated/types/ObjectParamAPI.js +90 -53
  220. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  221. package/dist/generated/types/ObservableAPI.d.ts +175 -137
  222. package/dist/generated/types/ObservableAPI.js +216 -164
  223. package/dist/generated/types/ObservableAPI.js.map +1 -1
  224. package/dist/generated/types/PromiseAPI.d.ts +175 -137
  225. package/dist/generated/types/PromiseAPI.js +184 -144
  226. package/dist/generated/types/PromiseAPI.js.map +1 -1
  227. package/dist/models/index.d.ts +1 -2
  228. package/dist/models/index.js +0 -2
  229. package/dist/models/index.js.map +1 -1
  230. package/dist/models/updateProjectRequest.d.ts +2 -2
  231. package/dist/version.d.ts +1 -1
  232. package/dist/version.js +1 -1
  233. package/package.json +1 -1
  234. package/tsconfig.tsbuildinfo +1 -1
  235. package/dist/generated/models/MemberResponse.js.map +0 -1
  236. package/dist/generated/models/MembersResponse.js.map +0 -1
  237. package/dist/generated/models/PKPolicy.js.map +0 -1
  238. package/dist/generated/models/ProjectRequest.js.map +0 -1
  239. package/dist/generated/models/ProjectRole.js.map +0 -1
  240. package/dist/models/updateTransactionIntentRequest.d.ts +0 -3
  241. package/dist/models/updateTransactionIntentRequest.js +0 -3
  242. package/dist/models/updateTransactionIntentRequest.js.map +0 -1
@@ -11,7 +11,8 @@ class ObservableAccountsApi {
11
11
  this.responseProcessor = responseProcessor || new AccountsApi_1.AccountsApiResponseProcessor();
12
12
  }
13
13
  /**
14
- * Request the ownership transfer of an account to a given address.
14
+ * This endpoint allows you to cancel a pending transfer of ownership.
15
+ * Cancel request of ownership transfer of an account.
15
16
  * @param id Specifies the unique account ID.
16
17
  * @param cancelTransferOwnershipRequest
17
18
  */
@@ -53,7 +54,8 @@ class ObservableAccountsApi {
53
54
  }));
54
55
  }
55
56
  /**
56
- * Creates an account object.
57
+ * This endpoint allows you to add a new account to your Openfort player. Only one account can be active per chain per player.
58
+ * Create an account object.
57
59
  * @param createAccountRequest
58
60
  */
59
61
  createAccount(createAccountRequest, _options) {
@@ -74,8 +76,9 @@ class ObservableAccountsApi {
74
76
  }
75
77
  /**
76
78
  * 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.
79
+ * Get existing account.
77
80
  * @param id Specifies the unique account ID.
78
- * @param expand whether to expand the response or not
81
+ * @param expand
79
82
  */
80
83
  getAccount(id, expand, _options) {
81
84
  const requestContextPromise = this.requestFactory.getAccount(id, expand, _options);
@@ -94,12 +97,13 @@ class ObservableAccountsApi {
94
97
  }));
95
98
  }
96
99
  /**
97
- * 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.
98
- * @param player
99
- * @param limit
100
- * @param skip
101
- * @param order
102
- * @param expand
100
+ * 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.
101
+ * List accounts of a player.
102
+ * @param player Specifies the unique player ID
103
+ * @param limit Specifies the maximum number of records to return.
104
+ * @param skip Specifies the offset for the first records to return.
105
+ * @param order Specifies the order in which to sort the results.
106
+ * @param expand Specifies the fields to expand in the response.
103
107
  */
104
108
  getAccounts(player, limit, skip, order, expand, _options) {
105
109
  const requestContextPromise = this.requestFactory.getAccounts(player, limit, skip, order, expand, _options);
@@ -118,7 +122,8 @@ class ObservableAccountsApi {
118
122
  }));
119
123
  }
120
124
  /**
121
- * Request the ownership transfer of an account to a given address.
125
+ * 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.
126
+ * Request ownership transfer of an account.
122
127
  * @param id Specifies the unique account ID.
123
128
  * @param transferOwnershipRequest
124
129
  */
@@ -210,6 +215,7 @@ class ObservableAuthenticationApi {
210
215
  this.responseProcessor = responseProcessor || new AuthenticationApi_1.AuthenticationApiResponseProcessor();
211
216
  }
212
217
  /**
218
+ * Login a player.
213
219
  * @param loginRequest
214
220
  */
215
221
  login(loginRequest, _options) {
@@ -229,6 +235,7 @@ class ObservableAuthenticationApi {
229
235
  }));
230
236
  }
231
237
  /**
238
+ * Sign up a player.
232
239
  * @param signupRequest
233
240
  */
234
241
  signup(signupRequest, _options) {
@@ -248,7 +255,8 @@ class ObservableAuthenticationApi {
248
255
  }));
249
256
  }
250
257
  /**
251
- * @param token
258
+ * Verify an auth token.
259
+ * @param token Specifies the auth token.
252
260
  */
253
261
  verifyAuthToken(token, _options) {
254
262
  const requestContextPromise = this.requestFactory.verifyAuthToken(token, _options);
@@ -276,7 +284,7 @@ class ObservableConfigAuthenticationApi {
276
284
  this.responseProcessor = responseProcessor || new ConfigAuthenticationApi_1.ConfigAuthenticationApiResponseProcessor();
277
285
  }
278
286
  /**
279
- * Google OAuth. Add a google_client_id and a google_client_secret
287
+ * Configure Google OAuth2.
280
288
  * @param providerRequest
281
289
  */
282
290
  editProvider(providerRequest, _options) {
@@ -305,7 +313,8 @@ class ObservableContractsApi {
305
313
  this.responseProcessor = responseProcessor || new ContractsApi_1.ContractsApiResponseProcessor();
306
314
  }
307
315
  /**
308
- * Creates a contract object.
316
+ * Add a new contract to your project in Openfort
317
+ * Create contract object.
309
318
  * @param createContractRequest
310
319
  */
311
320
  createContract(createContractRequest, _options) {
@@ -325,8 +334,9 @@ class ObservableContractsApi {
325
334
  }));
326
335
  }
327
336
  /**
337
+ * Delete a contract from the project by providing its contract id.
328
338
  * Deletes a contract object.
329
- * @param id
339
+ * @param id Specifies the unique contract ID.
330
340
  */
331
341
  deleteContract(id, _options) {
332
342
  const requestContextPromise = this.requestFactory.deleteContract(id, _options);
@@ -345,7 +355,8 @@ class ObservableContractsApi {
345
355
  }));
346
356
  }
347
357
  /**
348
- * Retrieves the details of an existing contract. Supply the unique contract ID from either a contract creation request or the contract list, and Openfort will return the corresponding contract information.
358
+ * Retrieve a contract by providing their contract id.
359
+ * Get a contract.
349
360
  * @param id Specifies the unique contract ID.
350
361
  */
351
362
  getContract(id, _options) {
@@ -365,14 +376,15 @@ class ObservableContractsApi {
365
376
  }));
366
377
  }
367
378
  /**
368
- * Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
369
- * @param limit
370
- * @param skip
371
- * @param order
372
- * @param name
373
- * @param deleted
374
- * @param chainId
375
- * @param address
379
+ * List of all contracts per project. By default, a maximum of ten contracts are shown.
380
+ * List contracts.
381
+ * @param limit Specifies the maximum number of records to return.
382
+ * @param skip Specifies the offset for the first records to return.
383
+ * @param order Specifies the order in which to sort the results.
384
+ * @param name Specifies the name of the contract.
385
+ * @param deleted Specifies whether to include deleted contracts.
386
+ * @param chainId The chain ID of the contract.
387
+ * @param address Specifies the address of the contract.
376
388
  */
377
389
  getContracts(limit, skip, order, name, deleted, chainId, address, _options) {
378
390
  const requestContextPromise = this.requestFactory.getContracts(limit, skip, order, name, deleted, chainId, address, _options);
@@ -392,7 +404,7 @@ class ObservableContractsApi {
392
404
  }
393
405
  /**
394
406
  * Updates a contract object.
395
- * @param id
407
+ * @param id Specifies the unique contract ID.
396
408
  * @param updateContractRequest
397
409
  */
398
410
  updateContract(id, updateContractRequest, _options) {
@@ -421,6 +433,7 @@ class ObservableGoogleAuthenticationApi {
421
433
  this.responseProcessor = responseProcessor || new GoogleAuthenticationApi_1.GoogleAuthenticationApiResponseProcessor();
422
434
  }
423
435
  /**
436
+ * Get the google oauth signin url.
424
437
  */
425
438
  getSigninUrl(_options) {
426
439
  const requestContextPromise = this.requestFactory.getSigninUrl(_options);
@@ -439,7 +452,8 @@ class ObservableGoogleAuthenticationApi {
439
452
  }));
440
453
  }
441
454
  /**
442
- * @param key
455
+ * Get the google oauth token.
456
+ * @param key Specifies the oauth key.
443
457
  */
444
458
  getToken(key, _options) {
445
459
  const requestContextPromise = this.requestFactory.getToken(key, _options);
@@ -467,11 +481,11 @@ class ObservableInventoryApi {
467
481
  this.responseProcessor = responseProcessor || new InventoryApi_1.InventoryApiResponseProcessor();
468
482
  }
469
483
  /**
470
- * Retrieves the cryptocurrency assets 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.
484
+ * Retrieves the cryptocurrency assets of an existing account.
471
485
  * @param id Specifies the unique account ID.
472
- * @param limit
473
- * @param skip
474
- * @param order
486
+ * @param limit Specifies the maximum number of records to return.
487
+ * @param skip Specifies the offset for the first records to return.
488
+ * @param order Specifies the order in which to sort the results.
475
489
  * @param contractId
476
490
  */
477
491
  getAccountCryptoCurrencyInventory(id, limit, skip, order, contractId, _options) {
@@ -491,7 +505,7 @@ class ObservableInventoryApi {
491
505
  }));
492
506
  }
493
507
  /**
494
- * Retrieves the inventory 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.
508
+ * Get inventory of account.
495
509
  * @param id Specifies the unique account ID.
496
510
  */
497
511
  getAccountInventory(id, _options) {
@@ -511,7 +525,7 @@ class ObservableInventoryApi {
511
525
  }));
512
526
  }
513
527
  /**
514
- * Retrieves the native asset 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.
528
+ * Retrieves the native asset of an existing account.
515
529
  * @param id Specifies the unique account ID.
516
530
  */
517
531
  getAccountNativeInventory(id, _options) {
@@ -531,11 +545,11 @@ class ObservableInventoryApi {
531
545
  }));
532
546
  }
533
547
  /**
534
- * Retrieves the NFT assets 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.
548
+ * Retrieves the NFT assets of an existing account.
535
549
  * @param id Specifies the unique account ID.
536
- * @param limit
537
- * @param skip
538
- * @param order
550
+ * @param limit Specifies the maximum number of records to return.
551
+ * @param skip Specifies the offset for the first records to return.
552
+ * @param order Specifies the order in which to sort the results.
539
553
  * @param contractId
540
554
  */
541
555
  getAccountNftInventory(id, limit, skip, order, contractId, _options) {
@@ -555,13 +569,13 @@ class ObservableInventoryApi {
555
569
  }));
556
570
  }
557
571
  /**
558
- * Retrieves the cruptocurrency assets list of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
572
+ * Get cryptocurrency list of player.
559
573
  * @param id Specifies the unique player ID.
560
- * @param chainId
561
- * @param limit
562
- * @param skip
563
- * @param order
564
- * @param contractId
574
+ * @param chainId Filter by chain id.
575
+ * @param limit Specifies the maximum number of records to return.
576
+ * @param skip Specifies the offset for the first records to return.
577
+ * @param order Specifies the order in which to sort the results.
578
+ * @param contractId Filter by contract ID.
565
579
  */
566
580
  getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contractId, _options) {
567
581
  const requestContextPromise = this.requestFactory.getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contractId, _options);
@@ -580,9 +594,9 @@ class ObservableInventoryApi {
580
594
  }));
581
595
  }
582
596
  /**
583
- * Retrieves the inventory of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
597
+ * Get inventory of player.
584
598
  * @param id Specifies the unique player ID.
585
- * @param chainId
599
+ * @param chainId Filter by chain id.
586
600
  */
587
601
  getPlayerInventory(id, chainId, _options) {
588
602
  const requestContextPromise = this.requestFactory.getPlayerInventory(id, chainId, _options);
@@ -601,9 +615,9 @@ class ObservableInventoryApi {
601
615
  }));
602
616
  }
603
617
  /**
604
- * Retrieves the native assets list of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
618
+ * Get native token list of player.
605
619
  * @param id Specifies the unique player ID.
606
- * @param chainId
620
+ * @param chainId Filter by chain id.
607
621
  */
608
622
  getPlayerNativeInventory(id, chainId, _options) {
609
623
  const requestContextPromise = this.requestFactory.getPlayerNativeInventory(id, chainId, _options);
@@ -622,13 +636,13 @@ class ObservableInventoryApi {
622
636
  }));
623
637
  }
624
638
  /**
625
- * Retrieves the NFT assets list of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
639
+ * Get NFTs list of player.
626
640
  * @param id Specifies the unique player ID.
627
- * @param chainId
628
- * @param limit
629
- * @param skip
630
- * @param order
631
- * @param contractId
641
+ * @param chainId Filter by chain id.
642
+ * @param limit Specifies the maximum number of records to return.
643
+ * @param skip Specifies the offset for the first records to return.
644
+ * @param order Specifies the order in which to sort the results.
645
+ * @param contractId Filter by contract ID.
632
646
  */
633
647
  getPlayerNftInventory(id, chainId, limit, skip, order, contractId, _options) {
634
648
  const requestContextPromise = this.requestFactory.getPlayerNftInventory(id, chainId, limit, skip, order, contractId, _options);
@@ -656,7 +670,8 @@ class ObservablePlayersApi {
656
670
  this.responseProcessor = responseProcessor || new PlayersApi_1.PlayersApiResponseProcessor();
657
671
  }
658
672
  /**
659
- * Request the ownership transfer of an account to a given address.
673
+ * This endpoint allows you to cancel a pending transfer of ownership.
674
+ * Cancel request to transfer ownership of an account.
660
675
  * @param id
661
676
  * @param playerCancelTransferOwnershipRequest
662
677
  */
@@ -677,7 +692,8 @@ class ObservablePlayersApi {
677
692
  }));
678
693
  }
679
694
  /**
680
- * Creates a player object.
695
+ * Add a new player to your player list in Openfort.
696
+ * Create a player object.
681
697
  * @param createPlayerRequest
682
698
  */
683
699
  createPlayer(createPlayerRequest, _options) {
@@ -697,7 +713,7 @@ class ObservablePlayersApi {
697
713
  }));
698
714
  }
699
715
  /**
700
- * Creates an account object for an existing player.
716
+ * Create account object for a player.
701
717
  * @param id Specifies the unique player ID.
702
718
  * @param createPlayerAccountRequest
703
719
  */
@@ -718,7 +734,7 @@ class ObservablePlayersApi {
718
734
  }));
719
735
  }
720
736
  /**
721
- * Creates a session object for the given player.
737
+ * Create session object for a player.
722
738
  * @param id Specifies the unique player ID.
723
739
  * @param createPlayerSessionRequest
724
740
  */
@@ -739,9 +755,9 @@ class ObservablePlayersApi {
739
755
  }));
740
756
  }
741
757
  /**
742
- * Retrieves the details of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
758
+ * Retrieves the details of an existing player.
743
759
  * @param id Specifies the unique player ID.
744
- * @param expand
760
+ * @param expand Specifies the expandable fields.
745
761
  */
746
762
  getPlayer(id, expand, _options) {
747
763
  const requestContextPromise = this.requestFactory.getPlayer(id, expand, _options);
@@ -760,9 +776,9 @@ class ObservablePlayersApi {
760
776
  }));
761
777
  }
762
778
  /**
763
- * Returns a list of your accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
764
- * @param id
765
- * @param expand
779
+ * List of accounts of a player.
780
+ * @param id Specifies the unique player ID.
781
+ * @param expand Specifies the expandable fields.
766
782
  */
767
783
  getPlayerAccounts(id, expand, _options) {
768
784
  const requestContextPromise = this.requestFactory.getPlayerAccounts(id, expand, _options);
@@ -781,12 +797,13 @@ class ObservablePlayersApi {
781
797
  }));
782
798
  }
783
799
  /**
784
- * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
785
- * @param limit
786
- * @param skip
787
- * @param order
788
- * @param expand
789
- * @param name
800
+ * By default, a maximum of ten players are shown.
801
+ * List players.
802
+ * @param limit Specifies the maximum number of records to return.
803
+ * @param skip Specifies the offset for the first records to return.
804
+ * @param order Specifies the order in which to sort the results.
805
+ * @param expand Specifies the fields to expand in the response.
806
+ * @param name Filter by player name.
790
807
  */
791
808
  getPlayers(limit, skip, order, expand, name, _options) {
792
809
  const requestContextPromise = this.requestFactory.getPlayers(limit, skip, order, expand, name, _options);
@@ -805,7 +822,52 @@ class ObservablePlayersApi {
805
822
  }));
806
823
  }
807
824
  /**
808
- * Transfer ownership of an account to an address.
825
+ * This endpoint allows you to cancel a pending transfer of ownership.
826
+ * Cancel request to transfer ownership of an account.
827
+ * @param id
828
+ * @param playerCancelTransferOwnershipRequest
829
+ */
830
+ obsoleteCancelTransferAccountOwnership(id, playerCancelTransferOwnershipRequest, _options) {
831
+ const requestContextPromise = this.requestFactory.obsoleteCancelTransferAccountOwnership(id, playerCancelTransferOwnershipRequest, _options);
832
+ // build promise chain
833
+ let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
834
+ for (let middleware of this.configuration.middleware) {
835
+ middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => middleware.pre(ctx)));
836
+ }
837
+ return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => this.configuration.httpApi.send(ctx))).
838
+ pipe((0, rxjsStub_2.mergeMap)((response) => {
839
+ let middlewarePostObservable = (0, rxjsStub_1.of)(response);
840
+ for (let middleware of this.configuration.middleware) {
841
+ middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
842
+ }
843
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.obsoleteCancelTransferAccountOwnership(rsp)));
844
+ }));
845
+ }
846
+ /**
847
+ * 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.
848
+ * Request transfer ownership of account.
849
+ * @param id Specifies the unique player ID.
850
+ * @param playerTransferOwnershipRequest
851
+ */
852
+ obsoleteRequestTransferAccountOwnership(id, playerTransferOwnershipRequest, _options) {
853
+ const requestContextPromise = this.requestFactory.obsoleteRequestTransferAccountOwnership(id, playerTransferOwnershipRequest, _options);
854
+ // build promise chain
855
+ let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
856
+ for (let middleware of this.configuration.middleware) {
857
+ middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => middleware.pre(ctx)));
858
+ }
859
+ return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => this.configuration.httpApi.send(ctx))).
860
+ pipe((0, rxjsStub_2.mergeMap)((response) => {
861
+ let middlewarePostObservable = (0, rxjsStub_1.of)(response);
862
+ for (let middleware of this.configuration.middleware) {
863
+ middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
864
+ }
865
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.obsoleteRequestTransferAccountOwnership(rsp)));
866
+ }));
867
+ }
868
+ /**
869
+ * 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.
870
+ * Request transfer ownership of account.
809
871
  * @param id Specifies the unique player ID.
810
872
  * @param playerTransferOwnershipRequest
811
873
  */
@@ -826,7 +888,7 @@ class ObservablePlayersApi {
826
888
  }));
827
889
  }
828
890
  /**
829
- * Creates a session object for the given player.
891
+ * Revoke session object for a player.
830
892
  * @param id Specifies the unique player ID.
831
893
  * @param revokeSessionPlayerRequest
832
894
  */
@@ -877,10 +939,11 @@ class ObservablePlayersAuthenticationApi {
877
939
  this.responseProcessor = responseProcessor || new PlayersAuthenticationApi_1.PlayersAuthenticationApiResponseProcessor();
878
940
  }
879
941
  /**
880
- * @param limit
881
- * @param skip
882
- * @param order
883
- * @param email
942
+ * List authenticated players.
943
+ * @param limit Specifies the maximum number of records to return.
944
+ * @param skip Specifies the offset for the first records to return.
945
+ * @param order Specifies the order in which to sort the results.
946
+ * @param email Specifies the email address of the user.
884
947
  */
885
948
  getAuthenticatedPlayers(limit, skip, order, email, _options) {
886
949
  const requestContextPromise = this.requestFactory.getAuthenticatedPlayers(limit, skip, order, email, _options);
@@ -908,7 +971,7 @@ class ObservablePoliciesApi {
908
971
  this.responseProcessor = responseProcessor || new PoliciesApi_1.PoliciesApiResponseProcessor();
909
972
  }
910
973
  /**
911
- * Creates a policy object.
974
+ * Create a policy object.
912
975
  * @param createPolicyRequest
913
976
  */
914
977
  createPolicy(createPolicyRequest, _options) {
@@ -928,7 +991,8 @@ class ObservablePoliciesApi {
928
991
  }));
929
992
  }
930
993
  /**
931
- * @param id
994
+ * Create a policy rule object for a policy.
995
+ * @param id Specifies the unique policy ID.
932
996
  * @param createPolicyAllowFunctionRequest
933
997
  */
934
998
  createPolicyAllowFunction(id, createPolicyAllowFunctionRequest, _options) {
@@ -948,8 +1012,8 @@ class ObservablePoliciesApi {
948
1012
  }));
949
1013
  }
950
1014
  /**
951
- * Deletes a policy object.
952
- * @param id
1015
+ * Delete a policy object.
1016
+ * @param id Specifies the unique policy ID.
953
1017
  */
954
1018
  deletePolicy(id, _options) {
955
1019
  const requestContextPromise = this.requestFactory.deletePolicy(id, _options);
@@ -968,14 +1032,14 @@ class ObservablePoliciesApi {
968
1032
  }));
969
1033
  }
970
1034
  /**
971
- * Gets all policy objects for a given project.
972
- * @param limit
973
- * @param skip
974
- * @param order
975
- * @param expand
976
- * @param name
977
- * @param deleted
978
- * @param chainId
1035
+ * List policies.
1036
+ * @param limit Specifies the maximum number of records to return.
1037
+ * @param skip Specifies the offset for the first records to return.
1038
+ * @param order Specifies the order in which to sort the results.
1039
+ * @param expand Specifies the fields to expand in the response.
1040
+ * @param name Specifies the name of the policy.
1041
+ * @param deleted Specifies whether to include deleted contracts.
1042
+ * @param chainId The chain ID of the policy.
979
1043
  */
980
1044
  getPolicies(limit, skip, order, expand, name, deleted, chainId, _options) {
981
1045
  const requestContextPromise = this.requestFactory.getPolicies(limit, skip, order, expand, name, deleted, chainId, _options);
@@ -994,9 +1058,9 @@ class ObservablePoliciesApi {
994
1058
  }));
995
1059
  }
996
1060
  /**
997
- * Gets a policy object for a given project.
998
- * @param id
999
- * @param expand
1061
+ * Get a policy object.
1062
+ * @param id Specifies the unique policy ID.
1063
+ * @param expand Specifies the fields to expand.
1000
1064
  */
1001
1065
  getPolicy(id, expand, _options) {
1002
1066
  const requestContextPromise = this.requestFactory.getPolicy(id, expand, _options);
@@ -1015,8 +1079,9 @@ class ObservablePoliciesApi {
1015
1079
  }));
1016
1080
  }
1017
1081
  /**
1018
- * @param id
1019
- * @param expand
1082
+ * List policy rules of a policy.
1083
+ * @param id Specifies the unique policy ID.
1084
+ * @param expand Specifies the fields to expand.
1020
1085
  */
1021
1086
  getPolicyAllowFunctions(id, expand, _options) {
1022
1087
  const requestContextPromise = this.requestFactory.getPolicyAllowFunctions(id, expand, _options);
@@ -1035,7 +1100,8 @@ class ObservablePoliciesApi {
1035
1100
  }));
1036
1101
  }
1037
1102
  /**
1038
- * @param id
1103
+ * List all gas reports of a policy.
1104
+ * @param id Specifies the unique policy ID.
1039
1105
  */
1040
1106
  getPolicyTotalGasUsage(id, _options) {
1041
1107
  const requestContextPromise = this.requestFactory.getPolicyTotalGasUsage(id, _options);
@@ -1054,8 +1120,8 @@ class ObservablePoliciesApi {
1054
1120
  }));
1055
1121
  }
1056
1122
  /**
1057
- * Updates a policy object.
1058
- * @param id
1123
+ * Update a policy object.
1124
+ * @param id Specifies the unique policy ID.
1059
1125
  * @param updatePolicyRequest
1060
1126
  */
1061
1127
  updatePolicy(id, updatePolicyRequest, _options) {
@@ -1075,6 +1141,7 @@ class ObservablePoliciesApi {
1075
1141
  }));
1076
1142
  }
1077
1143
  /**
1144
+ * Update a policy rule object of a policy.
1078
1145
  * @param policy
1079
1146
  * @param policyRule
1080
1147
  * @param updatePolicyRuleRequest
@@ -1105,7 +1172,7 @@ class ObservablePolicyRulesApi {
1105
1172
  this.responseProcessor = responseProcessor || new PolicyRulesApi_1.PolicyRulesApiResponseProcessor();
1106
1173
  }
1107
1174
  /**
1108
- * Creates an allow function object.
1175
+ * Create a policy rule object.
1109
1176
  * @param createPolicyRuleRequest
1110
1177
  */
1111
1178
  createPolicyRules(createPolicyRuleRequest, _options) {
@@ -1125,8 +1192,8 @@ class ObservablePolicyRulesApi {
1125
1192
  }));
1126
1193
  }
1127
1194
  /**
1128
- * Deletes an polciy rule (allow_functions) object.
1129
- * @param id
1195
+ * Deletes a policy rule object.
1196
+ * @param id Specifies the unique policy rule ID.
1130
1197
  */
1131
1198
  deletePolicyRules(id, _options) {
1132
1199
  const requestContextPromise = this.requestFactory.deletePolicyRules(id, _options);
@@ -1145,12 +1212,12 @@ class ObservablePolicyRulesApi {
1145
1212
  }));
1146
1213
  }
1147
1214
  /**
1148
- * Returns a list of your allow functions for the given policy. The allow functions are returned sorted by creation date, with the most recently created allow functions appearing first.
1149
- * @param policy
1150
- * @param limit
1151
- * @param skip
1152
- * @param order
1153
- * @param expand
1215
+ * List policy rules of a policy.
1216
+ * @param policy Specifies the unique policy ID.
1217
+ * @param limit Specifies the maximum number of records to return.
1218
+ * @param skip Specifies the offset for the first records to return.
1219
+ * @param order Specifies the order in which to sort the results.
1220
+ * @param expand Specifies the fields to expand in the response.
1154
1221
  */
1155
1222
  getPolicyRules(policy, limit, skip, order, expand, _options) {
1156
1223
  const requestContextPromise = this.requestFactory.getPolicyRules(policy, limit, skip, order, expand, _options);
@@ -1169,8 +1236,8 @@ class ObservablePolicyRulesApi {
1169
1236
  }));
1170
1237
  }
1171
1238
  /**
1172
- * Updates an allow functions object.
1173
- * @param id Specifies the unique allow function ID.
1239
+ * Update a policy rule object.
1240
+ * @param id Specifies the unique policy rule ID.
1174
1241
  * @param updatePolicyRuleRequest
1175
1242
  */
1176
1243
  updatePolicyRules(id, updatePolicyRuleRequest, _options) {
@@ -1199,7 +1266,7 @@ class ObservableSessionsApi {
1199
1266
  this.responseProcessor = responseProcessor || new SessionsApi_1.SessionsApiResponseProcessor();
1200
1267
  }
1201
1268
  /**
1202
- * Creates the session for the account.
1269
+ * Create a session key.
1203
1270
  * @param createSessionRequest
1204
1271
  */
1205
1272
  createSession(createSessionRequest, _options) {
@@ -1219,16 +1286,15 @@ class ObservableSessionsApi {
1219
1286
  }));
1220
1287
  }
1221
1288
  /**
1222
- * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
1223
- * @param player
1224
- * @param limit
1225
- * @param skip
1226
- * @param order
1227
- * @param expand
1228
- * @param address
1289
+ * List session keys of a player.
1290
+ * @param player The player ID
1291
+ * @param limit Specifies the maximum number of records to return.
1292
+ * @param skip Specifies the offset for the first records to return.
1293
+ * @param order Specifies the order in which to sort the results.
1294
+ * @param expand Specifies the fields to expand in the response.
1229
1295
  */
1230
- getPlayerSessions(player, limit, skip, order, expand, address, _options) {
1231
- const requestContextPromise = this.requestFactory.getPlayerSessions(player, limit, skip, order, expand, address, _options);
1296
+ getPlayerSessions(player, limit, skip, order, expand, _options) {
1297
+ const requestContextPromise = this.requestFactory.getPlayerSessions(player, limit, skip, order, expand, _options);
1232
1298
  // build promise chain
1233
1299
  let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1234
1300
  for (let middleware of this.configuration.middleware) {
@@ -1245,8 +1311,8 @@ class ObservableSessionsApi {
1245
1311
  }
1246
1312
  /**
1247
1313
  * Returns a player session by session id
1248
- * @param id
1249
- * @param expand
1314
+ * @param id Specifies the unique session ID.
1315
+ * @param expand Specifies the fields to expand.
1250
1316
  */
1251
1317
  getSession(id, expand, _options) {
1252
1318
  const requestContextPromise = this.requestFactory.getSession(id, expand, _options);
@@ -1265,7 +1331,7 @@ class ObservableSessionsApi {
1265
1331
  }));
1266
1332
  }
1267
1333
  /**
1268
- * Revokes the session for the account.
1334
+ * Revoke the session session key.
1269
1335
  * @param revokeSessionRequest
1270
1336
  */
1271
1337
  revokeSession(revokeSessionRequest, _options) {
@@ -1286,7 +1352,7 @@ class ObservableSessionsApi {
1286
1352
  }
1287
1353
  /**
1288
1354
  * Confirms the creation of a session with an external owner.
1289
- * @param id
1355
+ * @param id Specifies the unique session ID.
1290
1356
  * @param signatureRequest
1291
1357
  */
1292
1358
  signatureSession(id, signatureRequest, _options) {
@@ -1315,7 +1381,8 @@ class ObservableTransactionIntentsApi {
1315
1381
  this.responseProcessor = responseProcessor || new TransactionIntentsApi_1.TransactionIntentsApiResponseProcessor();
1316
1382
  }
1317
1383
  /**
1318
- * Creates a transaction intent object.
1384
+ * Retrieve a transaction intent by providing their id on Openfort. Transaction intents that have not been processed yet, have the `response` attribute as undefined.
1385
+ * Create a transaction intent object.
1319
1386
  * @param createTransactionIntentRequest
1320
1387
  */
1321
1388
  createTransactionIntent(createTransactionIntentRequest, _options) {
@@ -1335,39 +1402,12 @@ class ObservableTransactionIntentsApi {
1335
1402
  }));
1336
1403
  }
1337
1404
  /**
1338
- * Retrieves a transaction intent object.
1339
- * @param id
1340
- * @param expand
1341
- */
1342
- getTransactionIntent(id, expand, _options) {
1343
- const requestContextPromise = this.requestFactory.getTransactionIntent(id, expand, _options);
1344
- // build promise chain
1345
- let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1346
- for (let middleware of this.configuration.middleware) {
1347
- middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => middleware.pre(ctx)));
1348
- }
1349
- return middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)((ctx) => this.configuration.httpApi.send(ctx))).
1350
- pipe((0, rxjsStub_2.mergeMap)((response) => {
1351
- let middlewarePostObservable = (0, rxjsStub_1.of)(response);
1352
- for (let middleware of this.configuration.middleware) {
1353
- middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
1354
- }
1355
- return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.getTransactionIntent(rsp)));
1356
- }));
1357
- }
1358
- /**
1359
- * Returns a list of transaction intents for the given project. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
1360
- * @param limit
1361
- * @param skip
1362
- * @param order
1363
- * @param expand
1364
- * @param chainId
1365
- * @param accountId
1366
- * @param playerId
1367
- * @param policyId
1405
+ * Estimate the gas cost of creating a transaction intent and putting it onchain.
1406
+ * Estimate gas cost of creating a transaction
1407
+ * @param createTransactionIntentRequest
1368
1408
  */
1369
- getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options) {
1370
- const requestContextPromise = this.requestFactory.getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options);
1409
+ estimateTransactionIntentCost(createTransactionIntentRequest, _options) {
1410
+ const requestContextPromise = this.requestFactory.estimateTransactionIntentCost(createTransactionIntentRequest, _options);
1371
1411
  // build promise chain
1372
1412
  let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1373
1413
  for (let middleware of this.configuration.middleware) {
@@ -1379,16 +1419,16 @@ class ObservableTransactionIntentsApi {
1379
1419
  for (let middleware of this.configuration.middleware) {
1380
1420
  middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
1381
1421
  }
1382
- return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.getTransactionIntents(rsp)));
1422
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.estimateTransactionIntentCost(rsp)));
1383
1423
  }));
1384
1424
  }
1385
1425
  /**
1386
- * Confirms the creation of a transaction intent with an external owner.
1387
- * @param id
1388
- * @param signatureRequest
1426
+ * Get a transaction intent object.
1427
+ * @param id Specifies the unique transaction intent ID.
1428
+ * @param expand Specifies the expandable fields.
1389
1429
  */
1390
- signature(id, signatureRequest, _options) {
1391
- const requestContextPromise = this.requestFactory.signature(id, signatureRequest, _options);
1430
+ getTransactionIntent(id, expand, _options) {
1431
+ const requestContextPromise = this.requestFactory.getTransactionIntent(id, expand, _options);
1392
1432
  // build promise chain
1393
1433
  let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1394
1434
  for (let middleware of this.configuration.middleware) {
@@ -1400,14 +1440,22 @@ class ObservableTransactionIntentsApi {
1400
1440
  for (let middleware of this.configuration.middleware) {
1401
1441
  middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
1402
1442
  }
1403
- return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.signature(rsp)));
1443
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.getTransactionIntent(rsp)));
1404
1444
  }));
1405
1445
  }
1406
1446
  /**
1407
- * @param id
1447
+ * List transaction intents.
1448
+ * @param limit Specifies the maximum number of records to return.
1449
+ * @param skip Specifies the offset for the first records to return.
1450
+ * @param order Specifies the order in which to sort the results.
1451
+ * @param expand Specifies the fields to expand in the response.
1452
+ * @param chainId The chain ID.
1453
+ * @param accountId Filter by account ID.
1454
+ * @param playerId Filter by player ID.
1455
+ * @param policyId Filter by policy ID.
1408
1456
  */
1409
- updateTransactionIntentResponse(id, _options) {
1410
- const requestContextPromise = this.requestFactory.updateTransactionIntentResponse(id, _options);
1457
+ getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options) {
1458
+ const requestContextPromise = this.requestFactory.getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options);
1411
1459
  // build promise chain
1412
1460
  let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1413
1461
  for (let middleware of this.configuration.middleware) {
@@ -1419,13 +1467,17 @@ class ObservableTransactionIntentsApi {
1419
1467
  for (let middleware of this.configuration.middleware) {
1420
1468
  middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
1421
1469
  }
1422
- return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.updateTransactionIntentResponse(rsp)));
1470
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.getTransactionIntents(rsp)));
1423
1471
  }));
1424
1472
  }
1425
1473
  /**
1474
+ * 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.
1475
+ * Confirms the creation of a transaction intent with an external owner.
1476
+ * @param id Specifies the unique transaction intent ID.
1477
+ * @param signatureRequest
1426
1478
  */
1427
- updateTransactionIntentsResponse(_options) {
1428
- const requestContextPromise = this.requestFactory.updateTransactionIntentsResponse(_options);
1479
+ signature(id, signatureRequest, _options) {
1480
+ const requestContextPromise = this.requestFactory.signature(id, signatureRequest, _options);
1429
1481
  // build promise chain
1430
1482
  let middlewarePreObservable = (0, rxjsStub_1.from)(requestContextPromise);
1431
1483
  for (let middleware of this.configuration.middleware) {
@@ -1437,7 +1489,7 @@ class ObservableTransactionIntentsApi {
1437
1489
  for (let middleware of this.configuration.middleware) {
1438
1490
  middlewarePostObservable = middlewarePostObservable.pipe((0, rxjsStub_2.mergeMap)((rsp) => middleware.post(rsp)));
1439
1491
  }
1440
- return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.updateTransactionIntentsResponse(rsp)));
1492
+ return middlewarePostObservable.pipe((0, rxjsStub_2.map)((rsp) => this.responseProcessor.signature(rsp)));
1441
1493
  }));
1442
1494
  }
1443
1495
  }