@openfort/openfort-node 0.6.36 → 0.6.39

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 (94) hide show
  1. package/dist/apis/notificationSubscriptionsApiWrapper.d.ts +3 -4
  2. package/dist/apis/notificationSubscriptionsApiWrapper.js +2 -2
  3. package/dist/apis/notificationSubscriptionsApiWrapper.js.map +1 -1
  4. package/dist/apis/notificationTriggersApiWrapper.d.ts +3 -4
  5. package/dist/apis/notificationTriggersApiWrapper.js +2 -2
  6. package/dist/apis/notificationTriggersApiWrapper.js.map +1 -1
  7. package/dist/apis/policiesApiWrapper.d.ts +3 -3
  8. package/dist/apis/policiesApiWrapper.js +1 -1
  9. package/dist/apis/policiesApiWrapper.js.map +1 -1
  10. package/dist/apis/transactionIntentsApiWrapper.js +1 -1
  11. package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
  12. package/dist/generated/apis/InventoriesApi.d.ts +6 -0
  13. package/dist/generated/apis/InventoriesApi.js +6 -0
  14. package/dist/generated/apis/InventoriesApi.js.map +1 -1
  15. package/dist/generated/apis/NotificationSubscriptionsApi.d.ts +74 -0
  16. package/dist/generated/apis/NotificationSubscriptionsApi.js +257 -0
  17. package/dist/generated/apis/NotificationSubscriptionsApi.js.map +1 -0
  18. package/dist/generated/apis/NotificationTriggersApi.d.ts +74 -0
  19. package/dist/generated/apis/NotificationTriggersApi.js +257 -0
  20. package/dist/generated/apis/NotificationTriggersApi.js.map +1 -0
  21. package/dist/generated/apis/NotificationsApi.d.ts +4 -130
  22. package/dist/generated/apis/NotificationsApi.js +4 -480
  23. package/dist/generated/apis/NotificationsApi.js.map +1 -1
  24. package/dist/generated/apis/PoliciesApi.d.ts +32 -2
  25. package/dist/generated/apis/PoliciesApi.js +122 -2
  26. package/dist/generated/apis/PoliciesApi.js.map +1 -1
  27. package/dist/generated/apis/SettingsApi.d.ts +2 -1
  28. package/dist/generated/apis/SettingsApi.js +6 -1
  29. package/dist/generated/apis/SettingsApi.js.map +1 -1
  30. package/dist/generated/apis/TransactionIntentsApi.d.ts +2 -1
  31. package/dist/generated/apis/TransactionIntentsApi.js +6 -1
  32. package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
  33. package/dist/generated/index.d.ts +1 -1
  34. package/dist/generated/index.js +3 -1
  35. package/dist/generated/index.js.map +1 -1
  36. package/dist/generated/models/{CreateSubscriptionRequest.d.ts → CreateNotificationSubscriptionRequest.d.ts} +1 -1
  37. package/dist/generated/models/{CreateSubscriptionRequest.js → CreateNotificationSubscriptionRequest.js} +7 -7
  38. package/dist/generated/models/CreateNotificationSubscriptionRequest.js.map +1 -0
  39. package/dist/generated/models/{CreateTriggerRequest.d.ts → CreateNotificationTriggerRequest.d.ts} +1 -1
  40. package/dist/generated/models/{CreateTriggerRequest.js → CreateNotificationTriggerRequest.js} +7 -7
  41. package/dist/generated/models/CreateNotificationTriggerRequest.js.map +1 -0
  42. package/dist/generated/models/DeveloperAccountListQueries.d.ts +4 -0
  43. package/dist/generated/models/DeveloperAccountListQueries.js +6 -0
  44. package/dist/generated/models/DeveloperAccountListQueries.js.map +1 -1
  45. package/dist/generated/models/GasReport.d.ts +8 -4
  46. package/dist/generated/models/GasReport.js +30 -6
  47. package/dist/generated/models/GasReport.js.map +1 -1
  48. package/dist/generated/models/{GasReportDataInner.d.ts → GasReportListResponse.d.ts} +9 -9
  49. package/dist/generated/models/GasReportListResponse.js +62 -0
  50. package/dist/generated/models/GasReportListResponse.js.map +1 -0
  51. package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.d.ts → GasReportTransactionIntentsInner.d.ts} +2 -2
  52. package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.js → GasReportTransactionIntentsInner.js} +9 -9
  53. package/dist/generated/models/GasReportTransactionIntentsInner.js.map +1 -0
  54. package/dist/generated/models/{GasReportDataInnerPeriod.d.ts → MonthRange.d.ts} +2 -2
  55. package/dist/generated/models/{GasReportDataInnerPeriod.js → MonthRange.js} +13 -13
  56. package/dist/generated/models/MonthRange.js.map +1 -0
  57. package/dist/generated/models/ObjectSerializer.d.ts +7 -5
  58. package/dist/generated/models/ObjectSerializer.js +21 -15
  59. package/dist/generated/models/ObjectSerializer.js.map +1 -1
  60. package/dist/generated/models/PolicyBalanceWithdrawResponse.d.ts +30 -0
  61. package/dist/generated/models/PolicyBalanceWithdrawResponse.js +44 -0
  62. package/dist/generated/models/PolicyBalanceWithdrawResponse.js.map +1 -0
  63. package/dist/generated/models/ResponseResponse.d.ts +9 -1
  64. package/dist/generated/models/ResponseResponse.js +12 -0
  65. package/dist/generated/models/ResponseResponse.js.map +1 -1
  66. package/dist/generated/models/SubscriptionType.d.ts +1 -1
  67. package/dist/generated/models/TransactionIntentListQueries.d.ts +4 -0
  68. package/dist/generated/models/TransactionIntentListQueries.js +6 -0
  69. package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
  70. package/dist/generated/models/WithdrawalPolicyRequest.d.ts +35 -0
  71. package/dist/generated/models/WithdrawalPolicyRequest.js +38 -0
  72. package/dist/generated/models/WithdrawalPolicyRequest.js.map +1 -0
  73. package/dist/generated/models/all.d.ts +7 -5
  74. package/dist/generated/models/all.js +7 -5
  75. package/dist/generated/models/all.js.map +1 -1
  76. package/dist/generated/types/ObjectParamAPI.d.ts +184 -122
  77. package/dist/generated/types/ObjectParamAPI.js +98 -64
  78. package/dist/generated/types/ObjectParamAPI.js.map +1 -1
  79. package/dist/generated/types/ObservableAPI.d.ts +80 -45
  80. package/dist/generated/types/ObservableAPI.js +144 -77
  81. package/dist/generated/types/ObservableAPI.js.map +1 -1
  82. package/dist/generated/types/PromiseAPI.d.ts +76 -45
  83. package/dist/generated/types/PromiseAPI.js +116 -77
  84. package/dist/generated/types/PromiseAPI.js.map +1 -1
  85. package/dist/version.d.ts +1 -1
  86. package/dist/version.js +1 -1
  87. package/package.json +1 -1
  88. package/tsconfig.tsbuildinfo +1 -1
  89. package/dist/generated/models/CreateSubscriptionRequest.js.map +0 -1
  90. package/dist/generated/models/CreateTriggerRequest.js.map +0 -1
  91. package/dist/generated/models/GasReportDataInner.js +0 -62
  92. package/dist/generated/models/GasReportDataInner.js.map +0 -1
  93. package/dist/generated/models/GasReportDataInnerPeriod.js.map +0 -1
  94. package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js.map +0 -1
@@ -2,18 +2,10 @@ import { BaseAPIRequestFactory } from './baseapi';
2
2
  import { Configuration } from '../configuration';
3
3
  import { RequestContext, ResponseContext } from '../http/http';
4
4
  import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
5
- import { CreateSubscriptionRequest } from '../models/CreateSubscriptionRequest';
6
- import { CreateTriggerRequest } from '../models/CreateTriggerRequest';
7
5
  import { NotificationDeleteResponse } from '../models/NotificationDeleteResponse';
8
6
  import { NotificationListResponse } from '../models/NotificationListResponse';
9
7
  import { NotificationResponse } from '../models/NotificationResponse';
10
8
  import { NotificationResponseExpandable } from '../models/NotificationResponseExpandable';
11
- import { NotificationSubscription } from '../models/NotificationSubscription';
12
- import { NotificationSubscriptionDeleteResponse } from '../models/NotificationSubscriptionDeleteResponse';
13
- import { NotificationSubscriptionListResponse } from '../models/NotificationSubscriptionListResponse';
14
- import { NotificationTriggerDeleteResponse } from '../models/NotificationTriggerDeleteResponse';
15
- import { NotificationTriggerListResponse } from '../models/NotificationTriggerListResponse';
16
- import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
17
9
  import { SortOrder } from '../models/SortOrder';
18
10
  /**
19
11
  * no description
@@ -25,18 +17,6 @@ export declare class NotificationsApiRequestFactory extends BaseAPIRequestFactor
25
17
  * @param createNotificationRequest
26
18
  */
27
19
  createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Promise<RequestContext>;
28
- /**
29
- * Create a subscription for the provided notification.
30
- * Create a notification subscription object.
31
- * @param createSubscriptionRequest
32
- */
33
- createNotificationSubscription(createSubscriptionRequest: CreateSubscriptionRequest, _options?: Configuration): Promise<RequestContext>;
34
- /**
35
- * Create a trigger for the provided notification.
36
- * Create a notification trigger object.
37
- * @param createTriggerRequest
38
- */
39
- createNotificationTrigger(createTriggerRequest: CreateTriggerRequest, _options?: Configuration): Promise<RequestContext>;
40
20
  /**
41
21
  * Delete a notification by providing its notification id.
42
22
  * Deletes a notification object.
@@ -44,56 +24,14 @@ export declare class NotificationsApiRequestFactory extends BaseAPIRequestFactor
44
24
  */
45
25
  deleteNotification(id: string, _options?: Configuration): Promise<RequestContext>;
46
26
  /**
47
- * Delete a notification subscription by providing its notification subscription id.
48
- * Deletes a notification subscription object.
49
- * @param id Specifies the unique notification subscription ID (starts with ntr_).
50
- */
51
- deleteNotificationSubscription(id: string, _options?: Configuration): Promise<RequestContext>;
52
- /**
53
- * Delete a notification trigger by providing its notification trigger id.
54
- * Deletes a notification trigger object.
55
- * @param id Specifies the unique notification trigger ID (starts with ntr_).
56
- */
57
- deleteNotificationTrigger(id: string, _options?: Configuration): Promise<RequestContext>;
58
- /**
59
- * Retrieves the details of an existing account. Supply the unique notification ID.
60
- * Get existing account.
61
- * @param id Specifies the unique account ID (starts with not_).
27
+ * Retrieves the details of an existing notification. Supply the unique notification ID.
28
+ * Get existing notification.
29
+ * @param id Specifies the unique notification ID (starts with not_).
62
30
  * @param expand
63
31
  */
64
32
  getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Promise<RequestContext>;
65
33
  /**
66
- * Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
67
- * Get existing notification subscription.
68
- * @param id Specifies the unique notification subscription ID (starts with not_).
69
- */
70
- getNotificationSubscription(id: string, _options?: Configuration): Promise<RequestContext>;
71
- /**
72
- * 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.
73
- * List notification subscriptions of a notification.
74
- * @param notification Specifies the unique notification ID (starts with not_).
75
- * @param limit Specifies the maximum number of records to return.
76
- * @param skip Specifies the offset for the first records to return.
77
- * @param order Specifies the order in which to sort the results.
78
- */
79
- getNotificationSubscriptions(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<RequestContext>;
80
- /**
81
- * Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
82
- * Get existing notification trigger.
83
- * @param id Specifies the unique notification trigger ID (starts with ntr_).
84
- */
85
- getNotificationTrigger(id: string, _options?: Configuration): Promise<RequestContext>;
86
- /**
87
- * 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.
88
- * List notification triggers of a notification.
89
- * @param notification Specifies the unique notification ID (starts with not_).
90
- * @param limit Specifies the maximum number of records to return.
91
- * @param skip Specifies the offset for the first records to return.
92
- * @param order Specifies the order in which to sort the results.
93
- */
94
- getNotificationTriggers(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<RequestContext>;
95
- /**
96
- * 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.
34
+ * Returns a list of notifications. Notifications are useful to get notified about events that happen on-chain or in your Openfort account. 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.
97
35
  * List notifications.
98
36
  * @param limit Specifies the maximum number of records to return.
99
37
  * @param skip Specifies the offset for the first records to return.
@@ -113,22 +51,6 @@ export declare class NotificationsApiResponseProcessor {
113
51
  * @throws ApiException if the response code was not in [200, 299]
114
52
  */
115
53
  createNotification(response: ResponseContext): Promise<NotificationResponse>;
116
- /**
117
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
118
- * to the expected objects
119
- *
120
- * @params response Response returned by the server for a request to createNotificationSubscription
121
- * @throws ApiException if the response code was not in [200, 299]
122
- */
123
- createNotificationSubscription(response: ResponseContext): Promise<NotificationSubscription>;
124
- /**
125
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
126
- * to the expected objects
127
- *
128
- * @params response Response returned by the server for a request to createNotificationTrigger
129
- * @throws ApiException if the response code was not in [200, 299]
130
- */
131
- createNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerResponse>;
132
54
  /**
133
55
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
134
56
  * to the expected objects
@@ -137,22 +59,6 @@ export declare class NotificationsApiResponseProcessor {
137
59
  * @throws ApiException if the response code was not in [200, 299]
138
60
  */
139
61
  deleteNotification(response: ResponseContext): Promise<NotificationDeleteResponse>;
140
- /**
141
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
142
- * to the expected objects
143
- *
144
- * @params response Response returned by the server for a request to deleteNotificationSubscription
145
- * @throws ApiException if the response code was not in [200, 299]
146
- */
147
- deleteNotificationSubscription(response: ResponseContext): Promise<NotificationSubscriptionDeleteResponse>;
148
- /**
149
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
150
- * to the expected objects
151
- *
152
- * @params response Response returned by the server for a request to deleteNotificationTrigger
153
- * @throws ApiException if the response code was not in [200, 299]
154
- */
155
- deleteNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerDeleteResponse>;
156
62
  /**
157
63
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
158
64
  * to the expected objects
@@ -161,38 +67,6 @@ export declare class NotificationsApiResponseProcessor {
161
67
  * @throws ApiException if the response code was not in [200, 299]
162
68
  */
163
69
  getNotification(response: ResponseContext): Promise<NotificationResponse>;
164
- /**
165
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
166
- * to the expected objects
167
- *
168
- * @params response Response returned by the server for a request to getNotificationSubscription
169
- * @throws ApiException if the response code was not in [200, 299]
170
- */
171
- getNotificationSubscription(response: ResponseContext): Promise<NotificationSubscription>;
172
- /**
173
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
174
- * to the expected objects
175
- *
176
- * @params response Response returned by the server for a request to getNotificationSubscriptions
177
- * @throws ApiException if the response code was not in [200, 299]
178
- */
179
- getNotificationSubscriptions(response: ResponseContext): Promise<NotificationSubscriptionListResponse>;
180
- /**
181
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
182
- * to the expected objects
183
- *
184
- * @params response Response returned by the server for a request to getNotificationTrigger
185
- * @throws ApiException if the response code was not in [200, 299]
186
- */
187
- getNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerResponse>;
188
- /**
189
- * Unwraps the actual response sent by the server from the response context and deserializes the response content
190
- * to the expected objects
191
- *
192
- * @params response Response returned by the server for a request to getNotificationTriggers
193
- * @throws ApiException if the response code was not in [200, 299]
194
- */
195
- getNotificationTriggers(response: ResponseContext): Promise<NotificationTriggerListResponse>;
196
70
  /**
197
71
  * Unwraps the actual response sent by the server from the response context and deserializes the response content
198
72
  * to the expected objects