@openfort/openfort-node 0.6.34 → 0.6.36

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 (210) hide show
  1. package/dist/apis/inventoriesApiWrapper.js +2 -2
  2. package/dist/apis/inventoriesApiWrapper.js.map +1 -1
  3. package/dist/apis/notificationSubscriptionsApiWrapper.d.ts +29 -0
  4. package/dist/apis/notificationSubscriptionsApiWrapper.js +56 -0
  5. package/dist/apis/notificationSubscriptionsApiWrapper.js.map +1 -0
  6. package/dist/apis/notificationTriggersApiWrapper.d.ts +29 -0
  7. package/dist/apis/notificationTriggersApiWrapper.js +56 -0
  8. package/dist/apis/notificationTriggersApiWrapper.js.map +1 -0
  9. package/dist/apis/notificationsApiWrapper.d.ts +29 -0
  10. package/dist/apis/notificationsApiWrapper.js +56 -0
  11. package/dist/apis/notificationsApiWrapper.js.map +1 -0
  12. package/dist/apis/policyRulesApiWrapper.d.ts +6 -6
  13. package/dist/apis/policyRulesApiWrapper.js +9 -9
  14. package/dist/apis/policyRulesApiWrapper.js.map +1 -1
  15. package/dist/apis/settingsApiWrapper.d.ts +5 -0
  16. package/dist/apis/settingsApiWrapper.js +6 -0
  17. package/dist/apis/settingsApiWrapper.js.map +1 -1
  18. package/dist/apis/transactionIntentsApiWrapper.js +1 -1
  19. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  20. package/dist/generated/apis/AccountsApi.d.ts +1 -1
  21. package/dist/generated/apis/AccountsApi.js +1 -1
  22. package/dist/generated/apis/InventoriesApi.d.ts +4 -4
  23. package/dist/generated/apis/InventoriesApi.js +8 -8
  24. package/dist/generated/apis/InventoriesApi.js.map +1 -1
  25. package/dist/generated/apis/NotificationsApi.d.ts +204 -0
  26. package/dist/generated/apis/NotificationsApi.js +744 -0
  27. package/dist/generated/apis/NotificationsApi.js.map +1 -0
  28. package/dist/generated/apis/PoliciesApi.d.ts +2 -2
  29. package/dist/generated/apis/PoliciesApi.js +2 -2
  30. package/dist/generated/apis/PolicyRulesApi.d.ts +10 -9
  31. package/dist/generated/apis/PolicyRulesApi.js +14 -13
  32. package/dist/generated/apis/PolicyRulesApi.js.map +1 -1
  33. package/dist/generated/apis/SettingsApi.d.ts +24 -3
  34. package/dist/generated/apis/SettingsApi.js +83 -3
  35. package/dist/generated/apis/SettingsApi.js.map +1 -1
  36. package/dist/generated/apis/TransactionIntentsApi.d.ts +4 -4
  37. package/dist/generated/apis/TransactionIntentsApi.js +10 -10
  38. package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
  39. package/dist/generated/index.d.ts +1 -1
  40. package/dist/generated/index.js +2 -1
  41. package/dist/generated/index.js.map +1 -1
  42. package/dist/generated/models/AccountNotificationTriggerResponse.d.ts +37 -0
  43. package/dist/generated/models/AccountNotificationTriggerResponse.js +68 -0
  44. package/dist/generated/models/AccountNotificationTriggerResponse.js.map +1 -0
  45. package/dist/generated/models/AccountNotificationTriggerResponseAccount.d.ts +36 -0
  46. package/dist/generated/models/AccountNotificationTriggerResponseAccount.js +68 -0
  47. package/dist/generated/models/AccountNotificationTriggerResponseAccount.js.map +1 -0
  48. package/dist/generated/models/BalanceNotificationTriggerResponse.d.ts +34 -0
  49. package/dist/generated/models/BalanceNotificationTriggerResponse.js +56 -0
  50. package/dist/generated/models/BalanceNotificationTriggerResponse.js.map +1 -0
  51. package/dist/generated/models/CancelTransferOwnershipRequest.d.ts +1 -1
  52. package/dist/generated/models/ContractNotificationTriggerResponse.d.ts +38 -0
  53. package/dist/generated/models/ContractNotificationTriggerResponse.js +74 -0
  54. package/dist/generated/models/ContractNotificationTriggerResponse.js.map +1 -0
  55. package/dist/generated/models/{ContractPolicyRuleResponseContract.d.ts → ContractNotificationTriggerResponseContract.d.ts} +1 -1
  56. package/dist/generated/models/{ContractPolicyRuleResponseContract.js → ContractNotificationTriggerResponseContract.js} +7 -7
  57. package/dist/generated/models/ContractNotificationTriggerResponseContract.js.map +1 -0
  58. package/dist/generated/models/ContractPolicyRuleResponse.d.ts +2 -2
  59. package/dist/generated/models/ContractPolicyRuleResponse.js +1 -1
  60. package/dist/generated/models/ContractPolicyRuleResponse.js.map +1 -1
  61. package/dist/generated/models/CreateNotificationRequest.d.ts +31 -0
  62. package/dist/generated/models/CreateNotificationRequest.js +32 -0
  63. package/dist/generated/models/CreateNotificationRequest.js.map +1 -0
  64. package/dist/generated/models/CreatePolicyRuleRequest.d.ts +2 -2
  65. package/dist/generated/models/CreateSubscriptionRequest.d.ts +37 -0
  66. package/dist/generated/models/CreateSubscriptionRequest.js +44 -0
  67. package/dist/generated/models/CreateSubscriptionRequest.js.map +1 -0
  68. package/dist/generated/models/CreateTriggerRequest.d.ts +57 -0
  69. package/dist/generated/models/CreateTriggerRequest.js +74 -0
  70. package/dist/generated/models/CreateTriggerRequest.js.map +1 -0
  71. package/dist/generated/models/DeveloperAccount.d.ts +36 -0
  72. package/dist/generated/models/DeveloperAccount.js +68 -0
  73. package/dist/generated/models/DeveloperAccount.js.map +1 -0
  74. package/dist/generated/models/DeveloperAccountListQueries.d.ts +42 -0
  75. package/dist/generated/models/DeveloperAccountListQueries.js +50 -0
  76. package/dist/generated/models/DeveloperAccountListQueries.js.map +1 -0
  77. package/dist/generated/models/DeveloperAccountResponse.d.ts +3 -1
  78. package/dist/generated/models/DeveloperAccountResponse.js +12 -6
  79. package/dist/generated/models/DeveloperAccountResponse.js.map +1 -1
  80. package/dist/generated/models/DeveloperAccountResponseExpandable.d.ts +12 -0
  81. package/dist/generated/models/DeveloperAccountResponseExpandable.js +14 -0
  82. package/dist/generated/models/DeveloperAccountResponseExpandable.js.map +1 -0
  83. package/dist/generated/models/EntityTypeNOTIFICATION.d.ts +12 -0
  84. package/dist/generated/models/EntityTypeNOTIFICATION.js +14 -0
  85. package/dist/generated/models/EntityTypeNOTIFICATION.js.map +1 -0
  86. package/dist/generated/models/EntityTypeNOTIFICATIONSUBSCRIPTION.d.ts +12 -0
  87. package/dist/generated/models/EntityTypeNOTIFICATIONSUBSCRIPTION.js +14 -0
  88. package/dist/generated/models/EntityTypeNOTIFICATIONSUBSCRIPTION.js.map +1 -0
  89. package/dist/generated/models/EntityTypeNOTIFICATIONTRIGGER.d.ts +12 -0
  90. package/dist/generated/models/EntityTypeNOTIFICATIONTRIGGER.js +14 -0
  91. package/dist/generated/models/EntityTypeNOTIFICATIONTRIGGER.js.map +1 -0
  92. package/dist/generated/models/Interaction.d.ts +1 -1
  93. package/dist/generated/models/NotificationDeleteResponse.d.ts +31 -0
  94. package/dist/generated/models/NotificationDeleteResponse.js +44 -0
  95. package/dist/generated/models/NotificationDeleteResponse.js.map +1 -0
  96. package/dist/generated/models/NotificationListQueries.d.ts +50 -0
  97. package/dist/generated/models/NotificationListQueries.js +62 -0
  98. package/dist/generated/models/NotificationListQueries.js.map +1 -0
  99. package/dist/generated/models/NotificationListResponse.d.ts +35 -0
  100. package/dist/generated/models/NotificationListResponse.js +62 -0
  101. package/dist/generated/models/NotificationListResponse.js.map +1 -0
  102. package/dist/generated/models/NotificationResponse.d.ts +38 -0
  103. package/dist/generated/models/NotificationResponse.js +74 -0
  104. package/dist/generated/models/NotificationResponse.js.map +1 -0
  105. package/dist/generated/models/NotificationResponseExpandable.d.ts +12 -0
  106. package/dist/generated/models/NotificationResponseExpandable.js +14 -0
  107. package/dist/generated/models/NotificationResponseExpandable.js.map +1 -0
  108. package/dist/generated/models/NotificationResponseSubscriptionsInner.d.ts +34 -0
  109. package/dist/generated/models/NotificationResponseSubscriptionsInner.js +56 -0
  110. package/dist/generated/models/NotificationResponseSubscriptionsInner.js.map +1 -0
  111. package/dist/generated/models/NotificationResponseTriggersInner.d.ts +41 -0
  112. package/dist/generated/models/NotificationResponseTriggersInner.js +86 -0
  113. package/dist/generated/models/NotificationResponseTriggersInner.js.map +1 -0
  114. package/dist/generated/models/NotificationSubscription.d.ts +34 -0
  115. package/dist/generated/models/NotificationSubscription.js +56 -0
  116. package/dist/generated/models/NotificationSubscription.js.map +1 -0
  117. package/dist/generated/models/NotificationSubscriptionDeleteResponse.d.ts +31 -0
  118. package/dist/generated/models/NotificationSubscriptionDeleteResponse.js +44 -0
  119. package/dist/generated/models/NotificationSubscriptionDeleteResponse.js.map +1 -0
  120. package/dist/generated/models/NotificationSubscriptionListQueries.d.ts +41 -0
  121. package/dist/generated/models/NotificationSubscriptionListQueries.js +50 -0
  122. package/dist/generated/models/NotificationSubscriptionListQueries.js.map +1 -0
  123. package/dist/generated/models/NotificationSubscriptionListResponse.d.ts +35 -0
  124. package/dist/generated/models/NotificationSubscriptionListResponse.js +62 -0
  125. package/dist/generated/models/NotificationSubscriptionListResponse.js.map +1 -0
  126. package/dist/generated/models/NotificationTriggerDeleteResponse.d.ts +31 -0
  127. package/dist/generated/models/NotificationTriggerDeleteResponse.js +44 -0
  128. package/dist/generated/models/NotificationTriggerDeleteResponse.js.map +1 -0
  129. package/dist/generated/models/NotificationTriggerListQueries.d.ts +41 -0
  130. package/dist/generated/models/NotificationTriggerListQueries.js +50 -0
  131. package/dist/generated/models/NotificationTriggerListQueries.js.map +1 -0
  132. package/dist/generated/models/NotificationTriggerListResponse.d.ts +35 -0
  133. package/dist/generated/models/NotificationTriggerListResponse.js +62 -0
  134. package/dist/generated/models/NotificationTriggerListResponse.js.map +1 -0
  135. package/dist/generated/models/NotificationTriggerResponse.d.ts +41 -0
  136. package/dist/generated/models/NotificationTriggerResponse.js +86 -0
  137. package/dist/generated/models/NotificationTriggerResponse.js.map +1 -0
  138. package/dist/generated/models/NotificationTriggerType.d.ts +12 -0
  139. package/dist/generated/models/NotificationTriggerType.js +14 -0
  140. package/dist/generated/models/NotificationTriggerType.js.map +1 -0
  141. package/dist/generated/models/NotificationTriggerTypeCONTRACTTRIGGER.d.ts +12 -0
  142. package/dist/generated/models/NotificationTriggerTypeCONTRACTTRIGGER.js +14 -0
  143. package/dist/generated/models/NotificationTriggerTypeCONTRACTTRIGGER.js.map +1 -0
  144. package/dist/generated/models/NotificationTriggerTypeDEVELOPERACCOUNTTRIGGER.d.ts +12 -0
  145. package/dist/generated/models/NotificationTriggerTypeDEVELOPERACCOUNTTRIGGER.js +14 -0
  146. package/dist/generated/models/NotificationTriggerTypeDEVELOPERACCOUNTTRIGGER.js.map +1 -0
  147. package/dist/generated/models/NotificationTriggerTypePROJECTBALANCETRIGGER.d.ts +12 -0
  148. package/dist/generated/models/NotificationTriggerTypePROJECTBALANCETRIGGER.js +14 -0
  149. package/dist/generated/models/NotificationTriggerTypePROJECTBALANCETRIGGER.js.map +1 -0
  150. package/dist/generated/models/ObjectSerializer.d.ts +35 -1
  151. package/dist/generated/models/ObjectSerializer.js +95 -3
  152. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  153. package/dist/generated/models/PickDeveloperAccountId.d.ts +31 -0
  154. package/dist/generated/models/PickDeveloperAccountId.js +35 -0
  155. package/dist/generated/models/PickDeveloperAccountId.js.map +1 -0
  156. package/dist/generated/models/PlayerCancelTransferOwnershipRequest.d.ts +1 -1
  157. package/dist/generated/models/PlayerInventoryListQueries.d.ts +1 -1
  158. package/dist/generated/models/PlayerInventoryListQueries.js +2 -2
  159. package/dist/generated/models/PlayerInventoryListQueries.js.map +1 -1
  160. package/dist/generated/models/PlayerTransferOwnershipRequest.d.ts +1 -1
  161. package/dist/generated/models/PolicyListQueries.d.ts +2 -2
  162. package/dist/generated/models/PolicyResponsePolicyRulesInner.d.ts +2 -2
  163. package/dist/generated/models/PolicyResponsePolicyRulesInner.js +1 -1
  164. package/dist/generated/models/PolicyResponsePolicyRulesInner.js.map +1 -1
  165. package/dist/generated/models/PolicyRuleResponse.d.ts +2 -2
  166. package/dist/generated/models/PolicyRuleResponse.js +1 -1
  167. package/dist/generated/models/PolicyRuleResponse.js.map +1 -1
  168. package/dist/generated/models/SubscriptionType.d.ts +12 -0
  169. package/dist/generated/models/SubscriptionType.js +14 -0
  170. package/dist/generated/models/SubscriptionType.js.map +1 -0
  171. package/dist/generated/models/TransactionIntentListQueries.d.ts +4 -4
  172. package/dist/generated/models/TransactionIntentListQueries.js +6 -6
  173. package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
  174. package/dist/generated/models/TransactionIntentResponseAccount.d.ts +3 -2
  175. package/dist/generated/models/TransactionIntentResponseAccount.js +8 -2
  176. package/dist/generated/models/TransactionIntentResponseAccount.js.map +1 -1
  177. package/dist/generated/models/TransferOwnershipRequest.d.ts +1 -1
  178. package/dist/generated/models/UpdatePolicyRuleRequest.d.ts +2 -2
  179. package/dist/generated/models/all.d.ts +35 -1
  180. package/dist/generated/models/all.js +35 -1
  181. package/dist/generated/models/all.js.map +1 -1
  182. package/dist/generated/types/ObjectParamAPI.d.ts +325 -21
  183. package/dist/generated/types/ObjectParamAPI.js +142 -30
  184. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  185. package/dist/generated/types/ObservableAPI.d.ts +134 -17
  186. package/dist/generated/types/ObservableAPI.js +328 -28
  187. package/dist/generated/types/ObservableAPI.js.map +1 -1
  188. package/dist/generated/types/PromiseAPI.d.ts +132 -17
  189. package/dist/generated/types/PromiseAPI.js +184 -42
  190. package/dist/generated/types/PromiseAPI.js.map +1 -1
  191. package/dist/index.d.ts +6 -0
  192. package/dist/index.js +12 -0
  193. package/dist/index.js.map +1 -1
  194. package/dist/models/getDeveloperAccountRequest.d.ts +4 -0
  195. package/dist/models/getDeveloperAccountRequest.js +3 -0
  196. package/dist/models/getDeveloperAccountRequest.js.map +1 -0
  197. package/dist/models/getNotificationRequest.d.ts +4 -0
  198. package/dist/models/getNotificationRequest.js +3 -0
  199. package/dist/models/getNotificationRequest.js.map +1 -0
  200. package/dist/models/getNotificationSubscriptionRequest.d.ts +3 -0
  201. package/dist/models/getNotificationSubscriptionRequest.js +3 -0
  202. package/dist/models/getNotificationSubscriptionRequest.js.map +1 -0
  203. package/dist/models/getNotificationTriggerRequest.d.ts +3 -0
  204. package/dist/models/getNotificationTriggerRequest.js +3 -0
  205. package/dist/models/getNotificationTriggerRequest.js.map +1 -0
  206. package/dist/version.d.ts +1 -1
  207. package/dist/version.js +1 -1
  208. package/package.json +1 -1
  209. package/tsconfig.tsbuildinfo +1 -1
  210. package/dist/generated/models/ContractPolicyRuleResponseContract.js.map +0 -1
@@ -13,10 +13,13 @@ import { ContractReadResponse } from '../models/ContractReadResponse';
13
13
  import { ContractResponse } from '../models/ContractResponse';
14
14
  import { CreateAccountRequest } from '../models/CreateAccountRequest';
15
15
  import { CreateContractRequest } from '../models/CreateContractRequest';
16
+ import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
16
17
  import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
17
18
  import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
18
19
  import { CreateSessionRequest } from '../models/CreateSessionRequest';
20
+ import { CreateSubscriptionRequest } from '../models/CreateSubscriptionRequest';
19
21
  import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
22
+ import { CreateTriggerRequest } from '../models/CreateTriggerRequest';
20
23
  import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
21
24
  import { DeployRequest } from '../models/DeployRequest';
22
25
  import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
@@ -24,12 +27,23 @@ import { DeveloperAccountDeleteResponse } from '../models/DeveloperAccountDelete
24
27
  import { DeveloperAccountGetMessageResponse } from '../models/DeveloperAccountGetMessageResponse';
25
28
  import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResponse';
26
29
  import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
30
+ import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
27
31
  import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
28
32
  import { GasReport } from '../models/GasReport';
29
33
  import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
30
34
  import { InventoryListResponse } from '../models/InventoryListResponse';
31
35
  import { InventoryResponse } from '../models/InventoryResponse';
32
36
  import { LoginRequest } from '../models/LoginRequest';
37
+ import { NotificationDeleteResponse } from '../models/NotificationDeleteResponse';
38
+ import { NotificationListResponse } from '../models/NotificationListResponse';
39
+ import { NotificationResponse } from '../models/NotificationResponse';
40
+ import { NotificationResponseExpandable } from '../models/NotificationResponseExpandable';
41
+ import { NotificationSubscription } from '../models/NotificationSubscription';
42
+ import { NotificationSubscriptionDeleteResponse } from '../models/NotificationSubscriptionDeleteResponse';
43
+ import { NotificationSubscriptionListResponse } from '../models/NotificationSubscriptionListResponse';
44
+ import { NotificationTriggerDeleteResponse } from '../models/NotificationTriggerDeleteResponse';
45
+ import { NotificationTriggerListResponse } from '../models/NotificationTriggerListResponse';
46
+ import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
33
47
  import { OAuthConfig } from '../models/OAuthConfig';
34
48
  import { OAuthConfigListResponse } from '../models/OAuthConfigListResponse';
35
49
  import { OAuthProvider } from '../models/OAuthProvider';
@@ -94,7 +108,7 @@ export declare class PromiseAccountsApi {
94
108
  */
95
109
  completeRecovery(id: string, completeRecoveryRequest: CompleteRecoveryRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
96
110
  /**
97
- * 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.
111
+ * 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. Each player can only have one account per chain.
98
112
  * Create an account object.
99
113
  * @param createAccountRequest
100
114
  */
@@ -270,9 +284,9 @@ export declare class PromiseInventoriesApi {
270
284
  * @param limit Specifies the maximum number of records to return.
271
285
  * @param skip Specifies the offset for the first records to return.
272
286
  * @param order Specifies the order in which to sort the results.
273
- * @param contractId Filter by contract ID (starts with con_).
287
+ * @param contract Filter by contract ID (starts with con_).
274
288
  */
275
- getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
289
+ getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
276
290
  /**
277
291
  * Get native token list of player.
278
292
  * @param id Specifies the unique player ID (starts with pla_).
@@ -286,9 +300,98 @@ export declare class PromiseInventoriesApi {
286
300
  * @param limit Specifies the maximum number of records to return.
287
301
  * @param skip Specifies the offset for the first records to return.
288
302
  * @param order Specifies the order in which to sort the results.
289
- * @param contractId Filter by contract ID (starts with con_).
303
+ * @param contract Filter by contract ID (starts with con_).
290
304
  */
291
- getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
305
+ getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
306
+ }
307
+ import { NotificationsApiRequestFactory, NotificationsApiResponseProcessor } from "../apis/NotificationsApi";
308
+ export declare class PromiseNotificationsApi {
309
+ private api;
310
+ constructor(configuration: Configuration, requestFactory?: NotificationsApiRequestFactory, responseProcessor?: NotificationsApiResponseProcessor);
311
+ /**
312
+ * Create a notification object.
313
+ * Create a notification object.
314
+ * @param createNotificationRequest
315
+ */
316
+ createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Promise<NotificationResponse>;
317
+ /**
318
+ * Create a subscription for the provided notification.
319
+ * Create a notification subscription object.
320
+ * @param createSubscriptionRequest
321
+ */
322
+ createNotificationSubscription(createSubscriptionRequest: CreateSubscriptionRequest, _options?: Configuration): Promise<NotificationSubscription>;
323
+ /**
324
+ * Create a trigger for the provided notification.
325
+ * Create a notification trigger object.
326
+ * @param createTriggerRequest
327
+ */
328
+ createNotificationTrigger(createTriggerRequest: CreateTriggerRequest, _options?: Configuration): Promise<NotificationTriggerResponse>;
329
+ /**
330
+ * Delete a notification by providing its notification id.
331
+ * Deletes a notification object.
332
+ * @param id Specifies the unique notification ID (starts with not_).
333
+ */
334
+ deleteNotification(id: string, _options?: Configuration): Promise<NotificationDeleteResponse>;
335
+ /**
336
+ * Delete a notification subscription by providing its notification subscription id.
337
+ * Deletes a notification subscription object.
338
+ * @param id Specifies the unique notification subscription ID (starts with ntr_).
339
+ */
340
+ deleteNotificationSubscription(id: string, _options?: Configuration): Promise<NotificationSubscriptionDeleteResponse>;
341
+ /**
342
+ * Delete a notification trigger by providing its notification trigger id.
343
+ * Deletes a notification trigger object.
344
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
345
+ */
346
+ deleteNotificationTrigger(id: string, _options?: Configuration): Promise<NotificationTriggerDeleteResponse>;
347
+ /**
348
+ * Retrieves the details of an existing account. Supply the unique notification ID.
349
+ * Get existing account.
350
+ * @param id Specifies the unique account ID (starts with not_).
351
+ * @param expand
352
+ */
353
+ getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Promise<NotificationResponse>;
354
+ /**
355
+ * Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
356
+ * Get existing notification subscription.
357
+ * @param id Specifies the unique notification subscription ID (starts with not_).
358
+ */
359
+ getNotificationSubscription(id: string, _options?: Configuration): Promise<NotificationSubscription>;
360
+ /**
361
+ * Returns a list of subscriptions of a notification. The subscriptions are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification subscriptions are shown per page.
362
+ * List notification subscriptions of a notification.
363
+ * @param notification Specifies the unique notification ID (starts with not_).
364
+ * @param limit Specifies the maximum number of records to return.
365
+ * @param skip Specifies the offset for the first records to return.
366
+ * @param order Specifies the order in which to sort the results.
367
+ */
368
+ getNotificationSubscriptions(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<NotificationSubscriptionListResponse>;
369
+ /**
370
+ * Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
371
+ * Get existing notification trigger.
372
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
373
+ */
374
+ getNotificationTrigger(id: string, _options?: Configuration): Promise<NotificationTriggerResponse>;
375
+ /**
376
+ * Returns a list of triggers of a notification. The triggers are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification triggers are shown per page.
377
+ * List notification triggers of a notification.
378
+ * @param notification Specifies the unique notification ID (starts with not_).
379
+ * @param limit Specifies the maximum number of records to return.
380
+ * @param skip Specifies the offset for the first records to return.
381
+ * @param order Specifies the order in which to sort the results.
382
+ */
383
+ getNotificationTriggers(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<NotificationTriggerListResponse>;
384
+ /**
385
+ * Returns a list of notifications. The notifications are returned sorted by creation date, with the most recently created notifications appearing first. By default, a maximum of 10 notifications are shown per page.
386
+ * List notifications.
387
+ * @param limit Specifies the maximum number of records to return.
388
+ * @param skip Specifies the offset for the first records to return.
389
+ * @param order Specifies the order in which to sort the results.
390
+ * @param expand Specifies the fields to expand in the response.
391
+ * @param deleted Specifies whether to include deleted notifications.
392
+ * @param name Specifies the name of the notifications.
393
+ */
394
+ getNotifications(limit?: number, skip?: number, order?: SortOrder, expand?: Array<NotificationResponseExpandable>, deleted?: boolean, name?: string, _options?: Configuration): Promise<NotificationListResponse>;
292
395
  }
293
396
  import { OAuthApiRequestFactory, OAuthApiResponseProcessor } from "../apis/OAuthApi";
294
397
  export declare class PromiseOAuthApi {
@@ -446,9 +549,9 @@ export declare class PromisePoliciesApi {
446
549
  * @param order Specifies the order in which to sort the results.
447
550
  * @param expand Specifies the fields to expand in the response.
448
551
  * @param name Specifies the name of the policy.
449
- * @param deleted Specifies whether to include deleted contracts.
552
+ * @param deleted Specifies whether to include deleted policies.
450
553
  * @param chainId The chain ID of the policy.
451
- * @param enabled Specifies whether to include enabled contracts.
554
+ * @param enabled Specifies whether to include enabled policies.
452
555
  */
453
556
  getPolicies(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PolicyResponseExpandable>, name?: string, deleted?: boolean, chainId?: number, enabled?: boolean, _options?: Configuration): Promise<PolicyListResponse>;
454
557
  /**
@@ -478,13 +581,14 @@ export declare class PromisePolicyRulesApi {
478
581
  * Create a policy rule object.
479
582
  * @param createPolicyRuleRequest
480
583
  */
481
- createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
584
+ createPolicyRule(createPolicyRuleRequest: CreatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
482
585
  /**
483
586
  * Deletes a policy rule object.
484
587
  * @param id Specifies the unique policy rule ID (starts with afu_).
485
588
  */
486
- deletePolicyRules(id: string, _options?: Configuration): Promise<PolicyRuleDeleteResponse>;
589
+ deletePolicyRule(id: string, _options?: Configuration): Promise<PolicyRuleDeleteResponse>;
487
590
  /**
591
+ * Returns a list of policy rules of a policy. The policy rules are returned sorted by creation date, with the most recently created policy rules appearing first. By default, a maximum of 10 policy rules are shown per page.
488
592
  * List policy rules of a policy.
489
593
  * @param policy Specifies the unique policy ID (starts with pol_).
490
594
  * @param limit Specifies the maximum number of records to return.
@@ -498,7 +602,7 @@ export declare class PromisePolicyRulesApi {
498
602
  * @param id Specifies the unique policy rule ID (starts with afu_).
499
603
  * @param updatePolicyRuleRequest
500
604
  */
501
- updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
605
+ updatePolicyRule(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, _options?: Configuration): Promise<PolicyRuleResponse>;
502
606
  }
503
607
  import { SessionsApiRequestFactory, SessionsApiResponseProcessor } from "../apis/SessionsApi";
504
608
  export declare class PromiseSessionsApi {
@@ -552,14 +656,25 @@ export declare class PromiseSettingsApi {
552
656
  /**
553
657
  * Delete a developer account from the current project.
554
658
  * Delete a developer account.
555
- * @param id Specifies a unique developer account.
659
+ * @param id Specifies a unique developer account (starts with dac_).
556
660
  */
557
661
  deleteDeveloperAccount(id: string, _options?: Configuration): Promise<DeveloperAccountDeleteResponse>;
558
662
  /**
559
- * Retrieve the list of the developer accounts for the current project.
663
+ * Retrieve a developer account.
664
+ * Get existing developer account.
665
+ * @param id Specifies the unique developer account ID (starts with dac_).
666
+ * @param expand
667
+ */
668
+ getDeveloperAccount(id: string, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Promise<DeveloperAccountResponse>;
669
+ /**
670
+ * Retrieve the list of the developer accounts for the current project. By default, a maximum of 10 accounts are shown per page.
560
671
  * List of developer accounts.
672
+ * @param limit Specifies the maximum number of records to return.
673
+ * @param skip Specifies the offset for the first records to return.
674
+ * @param order Specifies the order in which to sort the results.
675
+ * @param expand Specifies the fields to expand in the response.
561
676
  */
562
- getDeveloperAccounts(_options?: Configuration): Promise<DeveloperAccountListResponse>;
677
+ getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Promise<DeveloperAccountListResponse>;
563
678
  /**
564
679
  * Generate message, which should be signed by the account your want to add as a developer account.
565
680
  * Generate message to sign
@@ -609,11 +724,11 @@ export declare class PromiseTransactionIntentsApi {
609
724
  * @param order Specifies the order in which to sort the results.
610
725
  * @param expand Specifies the fields to expand in the response.
611
726
  * @param chainId The chain ID. Must be a [supported chain](/chains).
612
- * @param accountId Filter by account ID.
613
- * @param playerId Filter by player ID (starts with pla_).
614
- * @param policyId Filter by policy ID (starts with pol_).
727
+ * @param account Filter by account ID or developer account (starts with acc_ or dac_ respectively).
728
+ * @param player Filter by player ID (starts with pla_).
729
+ * @param policy Filter by policy ID (starts with pol_).
615
730
  */
616
- 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>;
731
+ getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, policy?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
617
732
  /**
618
733
  * Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `userOperationHash`. Openfort will then put it on-chain.
619
734
  * Send a signed transaction userOperationHash.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PromiseWeb3ConnectionsApi = exports.PromiseTransactionIntentsApi = exports.PromiseSettingsApi = exports.PromiseSessionsApi = exports.PromisePolicyRulesApi = exports.PromisePoliciesApi = exports.PromisePlayersAuthenticationApi = exports.PromisePlayersApi = exports.PromiseOAuthApi = exports.PromiseInventoriesApi = exports.PromiseGoogleAuthenticationApi = exports.PromiseContractsApi = exports.PromiseAuthenticationApi = exports.PromiseAccountsApi = void 0;
3
+ exports.PromiseWeb3ConnectionsApi = exports.PromiseTransactionIntentsApi = exports.PromiseSettingsApi = exports.PromiseSessionsApi = exports.PromisePolicyRulesApi = exports.PromisePoliciesApi = exports.PromisePlayersAuthenticationApi = exports.PromisePlayersApi = exports.PromiseOAuthApi = exports.PromiseNotificationsApi = exports.PromiseInventoriesApi = exports.PromiseGoogleAuthenticationApi = exports.PromiseContractsApi = exports.PromiseAuthenticationApi = exports.PromiseAccountsApi = void 0;
4
4
  const ObservableAPI_1 = require("./ObservableAPI");
5
5
  class PromiseAccountsApi {
6
6
  constructor(configuration, requestFactory, responseProcessor) {
@@ -26,7 +26,7 @@ class PromiseAccountsApi {
26
26
  return result.toPromise();
27
27
  }
28
28
  /**
29
- * 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.
29
+ * 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. Each player can only have one account per chain.
30
30
  * Create an account object.
31
31
  * @param createAccountRequest
32
32
  */
@@ -276,10 +276,10 @@ class PromiseInventoriesApi {
276
276
  * @param limit Specifies the maximum number of records to return.
277
277
  * @param skip Specifies the offset for the first records to return.
278
278
  * @param order Specifies the order in which to sort the results.
279
- * @param contractId Filter by contract ID (starts with con_).
279
+ * @param contract Filter by contract ID (starts with con_).
280
280
  */
281
- getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contractId, _options) {
282
- const result = this.api.getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contractId, _options);
281
+ getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contract, _options) {
282
+ const result = this.api.getPlayerCryptoCurrencyInventory(id, chainId, limit, skip, order, contract, _options);
283
283
  return result.toPromise();
284
284
  }
285
285
  /**
@@ -298,18 +298,145 @@ class PromiseInventoriesApi {
298
298
  * @param limit Specifies the maximum number of records to return.
299
299
  * @param skip Specifies the offset for the first records to return.
300
300
  * @param order Specifies the order in which to sort the results.
301
- * @param contractId Filter by contract ID (starts with con_).
301
+ * @param contract Filter by contract ID (starts with con_).
302
302
  */
303
- getPlayerNftInventory(id, chainId, limit, skip, order, contractId, _options) {
304
- const result = this.api.getPlayerNftInventory(id, chainId, limit, skip, order, contractId, _options);
303
+ getPlayerNftInventory(id, chainId, limit, skip, order, contract, _options) {
304
+ const result = this.api.getPlayerNftInventory(id, chainId, limit, skip, order, contract, _options);
305
305
  return result.toPromise();
306
306
  }
307
307
  }
308
308
  exports.PromiseInventoriesApi = PromiseInventoriesApi;
309
309
  const ObservableAPI_6 = require("./ObservableAPI");
310
+ class PromiseNotificationsApi {
311
+ constructor(configuration, requestFactory, responseProcessor) {
312
+ this.api = new ObservableAPI_6.ObservableNotificationsApi(configuration, requestFactory, responseProcessor);
313
+ }
314
+ /**
315
+ * Create a notification object.
316
+ * Create a notification object.
317
+ * @param createNotificationRequest
318
+ */
319
+ createNotification(createNotificationRequest, _options) {
320
+ const result = this.api.createNotification(createNotificationRequest, _options);
321
+ return result.toPromise();
322
+ }
323
+ /**
324
+ * Create a subscription for the provided notification.
325
+ * Create a notification subscription object.
326
+ * @param createSubscriptionRequest
327
+ */
328
+ createNotificationSubscription(createSubscriptionRequest, _options) {
329
+ const result = this.api.createNotificationSubscription(createSubscriptionRequest, _options);
330
+ return result.toPromise();
331
+ }
332
+ /**
333
+ * Create a trigger for the provided notification.
334
+ * Create a notification trigger object.
335
+ * @param createTriggerRequest
336
+ */
337
+ createNotificationTrigger(createTriggerRequest, _options) {
338
+ const result = this.api.createNotificationTrigger(createTriggerRequest, _options);
339
+ return result.toPromise();
340
+ }
341
+ /**
342
+ * Delete a notification by providing its notification id.
343
+ * Deletes a notification object.
344
+ * @param id Specifies the unique notification ID (starts with not_).
345
+ */
346
+ deleteNotification(id, _options) {
347
+ const result = this.api.deleteNotification(id, _options);
348
+ return result.toPromise();
349
+ }
350
+ /**
351
+ * Delete a notification subscription by providing its notification subscription id.
352
+ * Deletes a notification subscription object.
353
+ * @param id Specifies the unique notification subscription ID (starts with ntr_).
354
+ */
355
+ deleteNotificationSubscription(id, _options) {
356
+ const result = this.api.deleteNotificationSubscription(id, _options);
357
+ return result.toPromise();
358
+ }
359
+ /**
360
+ * Delete a notification trigger by providing its notification trigger id.
361
+ * Deletes a notification trigger object.
362
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
363
+ */
364
+ deleteNotificationTrigger(id, _options) {
365
+ const result = this.api.deleteNotificationTrigger(id, _options);
366
+ return result.toPromise();
367
+ }
368
+ /**
369
+ * Retrieves the details of an existing account. Supply the unique notification ID.
370
+ * Get existing account.
371
+ * @param id Specifies the unique account ID (starts with not_).
372
+ * @param expand
373
+ */
374
+ getNotification(id, expand, _options) {
375
+ const result = this.api.getNotification(id, expand, _options);
376
+ return result.toPromise();
377
+ }
378
+ /**
379
+ * Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
380
+ * Get existing notification subscription.
381
+ * @param id Specifies the unique notification subscription ID (starts with not_).
382
+ */
383
+ getNotificationSubscription(id, _options) {
384
+ const result = this.api.getNotificationSubscription(id, _options);
385
+ return result.toPromise();
386
+ }
387
+ /**
388
+ * Returns a list of subscriptions of a notification. The subscriptions are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification subscriptions are shown per page.
389
+ * List notification subscriptions of a notification.
390
+ * @param notification Specifies the unique notification ID (starts with not_).
391
+ * @param limit Specifies the maximum number of records to return.
392
+ * @param skip Specifies the offset for the first records to return.
393
+ * @param order Specifies the order in which to sort the results.
394
+ */
395
+ getNotificationSubscriptions(notification, limit, skip, order, _options) {
396
+ const result = this.api.getNotificationSubscriptions(notification, limit, skip, order, _options);
397
+ return result.toPromise();
398
+ }
399
+ /**
400
+ * Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
401
+ * Get existing notification trigger.
402
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
403
+ */
404
+ getNotificationTrigger(id, _options) {
405
+ const result = this.api.getNotificationTrigger(id, _options);
406
+ return result.toPromise();
407
+ }
408
+ /**
409
+ * Returns a list of triggers of a notification. The triggers are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification triggers are shown per page.
410
+ * List notification triggers of a notification.
411
+ * @param notification Specifies the unique notification ID (starts with not_).
412
+ * @param limit Specifies the maximum number of records to return.
413
+ * @param skip Specifies the offset for the first records to return.
414
+ * @param order Specifies the order in which to sort the results.
415
+ */
416
+ getNotificationTriggers(notification, limit, skip, order, _options) {
417
+ const result = this.api.getNotificationTriggers(notification, limit, skip, order, _options);
418
+ return result.toPromise();
419
+ }
420
+ /**
421
+ * Returns a list of notifications. The notifications are returned sorted by creation date, with the most recently created notifications appearing first. By default, a maximum of 10 notifications are shown per page.
422
+ * List notifications.
423
+ * @param limit Specifies the maximum number of records to return.
424
+ * @param skip Specifies the offset for the first records to return.
425
+ * @param order Specifies the order in which to sort the results.
426
+ * @param expand Specifies the fields to expand in the response.
427
+ * @param deleted Specifies whether to include deleted notifications.
428
+ * @param name Specifies the name of the notifications.
429
+ */
430
+ getNotifications(limit, skip, order, expand, deleted, name, _options) {
431
+ const result = this.api.getNotifications(limit, skip, order, expand, deleted, name, _options);
432
+ return result.toPromise();
433
+ }
434
+ }
435
+ exports.PromiseNotificationsApi = PromiseNotificationsApi;
436
+ const ObservableAPI_7 = require("./ObservableAPI");
310
437
  class PromiseOAuthApi {
311
438
  constructor(configuration, requestFactory, responseProcessor) {
312
- this.api = new ObservableAPI_6.ObservableOAuthApi(configuration, requestFactory, responseProcessor);
439
+ this.api = new ObservableAPI_7.ObservableOAuthApi(configuration, requestFactory, responseProcessor);
313
440
  }
314
441
  /**
315
442
  * 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.
@@ -378,10 +505,10 @@ class PromiseOAuthApi {
378
505
  }
379
506
  }
380
507
  exports.PromiseOAuthApi = PromiseOAuthApi;
381
- const ObservableAPI_7 = require("./ObservableAPI");
508
+ const ObservableAPI_8 = require("./ObservableAPI");
382
509
  class PromisePlayersApi {
383
510
  constructor(configuration, requestFactory, responseProcessor) {
384
- this.api = new ObservableAPI_7.ObservablePlayersApi(configuration, requestFactory, responseProcessor);
511
+ this.api = new ObservableAPI_8.ObservablePlayersApi(configuration, requestFactory, responseProcessor);
385
512
  }
386
513
  /**
387
514
  * This endpoint allows you to cancel a pending transfer of ownership.
@@ -454,10 +581,10 @@ class PromisePlayersApi {
454
581
  }
455
582
  }
456
583
  exports.PromisePlayersApi = PromisePlayersApi;
457
- const ObservableAPI_8 = require("./ObservableAPI");
584
+ const ObservableAPI_9 = require("./ObservableAPI");
458
585
  class PromisePlayersAuthenticationApi {
459
586
  constructor(configuration, requestFactory, responseProcessor) {
460
- this.api = new ObservableAPI_8.ObservablePlayersAuthenticationApi(configuration, requestFactory, responseProcessor);
587
+ this.api = new ObservableAPI_9.ObservablePlayersAuthenticationApi(configuration, requestFactory, responseProcessor);
461
588
  }
462
589
  /**
463
590
  * List authenticated players.
@@ -487,10 +614,10 @@ class PromisePlayersAuthenticationApi {
487
614
  }
488
615
  }
489
616
  exports.PromisePlayersAuthenticationApi = PromisePlayersAuthenticationApi;
490
- const ObservableAPI_9 = require("./ObservableAPI");
617
+ const ObservableAPI_10 = require("./ObservableAPI");
491
618
  class PromisePoliciesApi {
492
619
  constructor(configuration, requestFactory, responseProcessor) {
493
- this.api = new ObservableAPI_9.ObservablePoliciesApi(configuration, requestFactory, responseProcessor);
620
+ this.api = new ObservableAPI_10.ObservablePoliciesApi(configuration, requestFactory, responseProcessor);
494
621
  }
495
622
  /**
496
623
  * Create a policy object.
@@ -532,9 +659,9 @@ class PromisePoliciesApi {
532
659
  * @param order Specifies the order in which to sort the results.
533
660
  * @param expand Specifies the fields to expand in the response.
534
661
  * @param name Specifies the name of the policy.
535
- * @param deleted Specifies whether to include deleted contracts.
662
+ * @param deleted Specifies whether to include deleted policies.
536
663
  * @param chainId The chain ID of the policy.
537
- * @param enabled Specifies whether to include enabled contracts.
664
+ * @param enabled Specifies whether to include enabled policies.
538
665
  */
539
666
  getPolicies(limit, skip, order, expand, name, deleted, chainId, enabled, _options) {
540
667
  const result = this.api.getPolicies(limit, skip, order, expand, name, deleted, chainId, enabled, _options);
@@ -569,28 +696,29 @@ class PromisePoliciesApi {
569
696
  }
570
697
  }
571
698
  exports.PromisePoliciesApi = PromisePoliciesApi;
572
- const ObservableAPI_10 = require("./ObservableAPI");
699
+ const ObservableAPI_11 = require("./ObservableAPI");
573
700
  class PromisePolicyRulesApi {
574
701
  constructor(configuration, requestFactory, responseProcessor) {
575
- this.api = new ObservableAPI_10.ObservablePolicyRulesApi(configuration, requestFactory, responseProcessor);
702
+ this.api = new ObservableAPI_11.ObservablePolicyRulesApi(configuration, requestFactory, responseProcessor);
576
703
  }
577
704
  /**
578
705
  * Create a policy rule object.
579
706
  * @param createPolicyRuleRequest
580
707
  */
581
- createPolicyRules(createPolicyRuleRequest, _options) {
582
- const result = this.api.createPolicyRules(createPolicyRuleRequest, _options);
708
+ createPolicyRule(createPolicyRuleRequest, _options) {
709
+ const result = this.api.createPolicyRule(createPolicyRuleRequest, _options);
583
710
  return result.toPromise();
584
711
  }
585
712
  /**
586
713
  * Deletes a policy rule object.
587
714
  * @param id Specifies the unique policy rule ID (starts with afu_).
588
715
  */
589
- deletePolicyRules(id, _options) {
590
- const result = this.api.deletePolicyRules(id, _options);
716
+ deletePolicyRule(id, _options) {
717
+ const result = this.api.deletePolicyRule(id, _options);
591
718
  return result.toPromise();
592
719
  }
593
720
  /**
721
+ * Returns a list of policy rules of a policy. The policy rules are returned sorted by creation date, with the most recently created policy rules appearing first. By default, a maximum of 10 policy rules are shown per page.
594
722
  * List policy rules of a policy.
595
723
  * @param policy Specifies the unique policy ID (starts with pol_).
596
724
  * @param limit Specifies the maximum number of records to return.
@@ -607,16 +735,16 @@ class PromisePolicyRulesApi {
607
735
  * @param id Specifies the unique policy rule ID (starts with afu_).
608
736
  * @param updatePolicyRuleRequest
609
737
  */
610
- updatePolicyRules(id, updatePolicyRuleRequest, _options) {
611
- const result = this.api.updatePolicyRules(id, updatePolicyRuleRequest, _options);
738
+ updatePolicyRule(id, updatePolicyRuleRequest, _options) {
739
+ const result = this.api.updatePolicyRule(id, updatePolicyRuleRequest, _options);
612
740
  return result.toPromise();
613
741
  }
614
742
  }
615
743
  exports.PromisePolicyRulesApi = PromisePolicyRulesApi;
616
- const ObservableAPI_11 = require("./ObservableAPI");
744
+ const ObservableAPI_12 = require("./ObservableAPI");
617
745
  class PromiseSessionsApi {
618
746
  constructor(configuration, requestFactory, responseProcessor) {
619
- this.api = new ObservableAPI_11.ObservableSessionsApi(configuration, requestFactory, responseProcessor);
747
+ this.api = new ObservableAPI_12.ObservableSessionsApi(configuration, requestFactory, responseProcessor);
620
748
  }
621
749
  /**
622
750
  * Creates a Session.
@@ -669,10 +797,10 @@ class PromiseSessionsApi {
669
797
  }
670
798
  }
671
799
  exports.PromiseSessionsApi = PromiseSessionsApi;
672
- const ObservableAPI_12 = require("./ObservableAPI");
800
+ const ObservableAPI_13 = require("./ObservableAPI");
673
801
  class PromiseSettingsApi {
674
802
  constructor(configuration, requestFactory, responseProcessor) {
675
- this.api = new ObservableAPI_12.ObservableSettingsApi(configuration, requestFactory, responseProcessor);
803
+ this.api = new ObservableAPI_13.ObservableSettingsApi(configuration, requestFactory, responseProcessor);
676
804
  }
677
805
  /**
678
806
  * Create or add a developer account. Developer accounts can be used as for escrow, minting and transferring assets. To add your own external account, add a signature and the address of the account. This verified account can then be used as a verified depositor
@@ -686,18 +814,32 @@ class PromiseSettingsApi {
686
814
  /**
687
815
  * Delete a developer account from the current project.
688
816
  * Delete a developer account.
689
- * @param id Specifies a unique developer account.
817
+ * @param id Specifies a unique developer account (starts with dac_).
690
818
  */
691
819
  deleteDeveloperAccount(id, _options) {
692
820
  const result = this.api.deleteDeveloperAccount(id, _options);
693
821
  return result.toPromise();
694
822
  }
695
823
  /**
696
- * Retrieve the list of the developer accounts for the current project.
824
+ * Retrieve a developer account.
825
+ * Get existing developer account.
826
+ * @param id Specifies the unique developer account ID (starts with dac_).
827
+ * @param expand
828
+ */
829
+ getDeveloperAccount(id, expand, _options) {
830
+ const result = this.api.getDeveloperAccount(id, expand, _options);
831
+ return result.toPromise();
832
+ }
833
+ /**
834
+ * Retrieve the list of the developer accounts for the current project. By default, a maximum of 10 accounts are shown per page.
697
835
  * List of developer accounts.
836
+ * @param limit Specifies the maximum number of records to return.
837
+ * @param skip Specifies the offset for the first records to return.
838
+ * @param order Specifies the order in which to sort the results.
839
+ * @param expand Specifies the fields to expand in the response.
698
840
  */
699
- getDeveloperAccounts(_options) {
700
- const result = this.api.getDeveloperAccounts(_options);
841
+ getDeveloperAccounts(limit, skip, order, expand, _options) {
842
+ const result = this.api.getDeveloperAccounts(limit, skip, order, expand, _options);
701
843
  return result.toPromise();
702
844
  }
703
845
  /**
@@ -728,10 +870,10 @@ class PromiseSettingsApi {
728
870
  }
729
871
  }
730
872
  exports.PromiseSettingsApi = PromiseSettingsApi;
731
- const ObservableAPI_13 = require("./ObservableAPI");
873
+ const ObservableAPI_14 = require("./ObservableAPI");
732
874
  class PromiseTransactionIntentsApi {
733
875
  constructor(configuration, requestFactory, responseProcessor) {
734
- this.api = new ObservableAPI_13.ObservableTransactionIntentsApi(configuration, requestFactory, responseProcessor);
876
+ this.api = new ObservableAPI_14.ObservableTransactionIntentsApi(configuration, requestFactory, responseProcessor);
735
877
  }
736
878
  /**
737
879
  * 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.
@@ -769,12 +911,12 @@ class PromiseTransactionIntentsApi {
769
911
  * @param order Specifies the order in which to sort the results.
770
912
  * @param expand Specifies the fields to expand in the response.
771
913
  * @param chainId The chain ID. Must be a [supported chain](/chains).
772
- * @param accountId Filter by account ID.
773
- * @param playerId Filter by player ID (starts with pla_).
774
- * @param policyId Filter by policy ID (starts with pol_).
914
+ * @param account Filter by account ID or developer account (starts with acc_ or dac_ respectively).
915
+ * @param player Filter by player ID (starts with pla_).
916
+ * @param policy Filter by policy ID (starts with pol_).
775
917
  */
776
- getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options) {
777
- const result = this.api.getTransactionIntents(limit, skip, order, expand, chainId, accountId, playerId, policyId, _options);
918
+ getTransactionIntents(limit, skip, order, expand, chainId, account, player, policy, _options) {
919
+ const result = this.api.getTransactionIntents(limit, skip, order, expand, chainId, account, player, policy, _options);
778
920
  return result.toPromise();
779
921
  }
780
922
  /**
@@ -789,10 +931,10 @@ class PromiseTransactionIntentsApi {
789
931
  }
790
932
  }
791
933
  exports.PromiseTransactionIntentsApi = PromiseTransactionIntentsApi;
792
- const ObservableAPI_14 = require("./ObservableAPI");
934
+ const ObservableAPI_15 = require("./ObservableAPI");
793
935
  class PromiseWeb3ConnectionsApi {
794
936
  constructor(configuration, requestFactory, responseProcessor) {
795
- this.api = new ObservableAPI_14.ObservableWeb3ConnectionsApi(configuration, requestFactory, responseProcessor);
937
+ this.api = new ObservableAPI_15.ObservableWeb3ConnectionsApi(configuration, requestFactory, responseProcessor);
796
938
  }
797
939
  /**
798
940
  * This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a [WalletConnect pairing URI](https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri).