@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
@@ -0,0 +1,257 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationSubscriptionsApiResponseProcessor = exports.NotificationSubscriptionsApiRequestFactory = void 0;
4
+ // TODO: better import syntax?
5
+ const baseapi_1 = require("./baseapi");
6
+ const http_1 = require("../http/http");
7
+ const ObjectSerializer_1 = require("../models/ObjectSerializer");
8
+ const exception_1 = require("./exception");
9
+ const util_1 = require("../util");
10
+ /**
11
+ * no description
12
+ */
13
+ class NotificationSubscriptionsApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
14
+ /**
15
+ * Create a subscription for the provided notification.
16
+ * Create a notification subscription object.
17
+ * @param createNotificationSubscriptionRequest
18
+ */
19
+ async createNotificationSubscription(createNotificationSubscriptionRequest, _options) {
20
+ let _config = _options || this.configuration;
21
+ // verify required parameter 'createNotificationSubscriptionRequest' is not null or undefined
22
+ if (createNotificationSubscriptionRequest === null || createNotificationSubscriptionRequest === undefined) {
23
+ throw new baseapi_1.RequiredError("NotificationSubscriptionsApi", "createNotificationSubscription", "createNotificationSubscriptionRequest");
24
+ }
25
+ // Path Params
26
+ const localVarPath = '/v1/notification_subscriptions';
27
+ // Make Request Context
28
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
29
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
30
+ // Body Params
31
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
32
+ "application/json"
33
+ ]);
34
+ requestContext.setHeaderParam("Content-Type", contentType);
35
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(createNotificationSubscriptionRequest, "CreateNotificationSubscriptionRequest", ""), contentType);
36
+ requestContext.setBody(serializedBody);
37
+ let authMethod;
38
+ // Apply auth methods
39
+ authMethod = _config.authMethods["sk"];
40
+ if (authMethod?.applySecurityAuthentication) {
41
+ await authMethod?.applySecurityAuthentication(requestContext);
42
+ }
43
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
44
+ if (defaultAuth?.applySecurityAuthentication) {
45
+ await defaultAuth?.applySecurityAuthentication(requestContext);
46
+ }
47
+ return requestContext;
48
+ }
49
+ /**
50
+ * Delete a notification subscription by providing its notification subscription id.
51
+ * Deletes a notification subscription object.
52
+ * @param id Specifies the unique notification subscription ID (starts with ntr_).
53
+ */
54
+ async deleteNotificationSubscription(id, _options) {
55
+ let _config = _options || this.configuration;
56
+ // verify required parameter 'id' is not null or undefined
57
+ if (id === null || id === undefined) {
58
+ throw new baseapi_1.RequiredError("NotificationSubscriptionsApi", "deleteNotificationSubscription", "id");
59
+ }
60
+ // Path Params
61
+ const localVarPath = '/v1/notification_subscriptions/{id}'
62
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
63
+ // Make Request Context
64
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
65
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
66
+ let authMethod;
67
+ // Apply auth methods
68
+ authMethod = _config.authMethods["sk"];
69
+ if (authMethod?.applySecurityAuthentication) {
70
+ await authMethod?.applySecurityAuthentication(requestContext);
71
+ }
72
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
73
+ if (defaultAuth?.applySecurityAuthentication) {
74
+ await defaultAuth?.applySecurityAuthentication(requestContext);
75
+ }
76
+ return requestContext;
77
+ }
78
+ /**
79
+ * Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
80
+ * Get existing notification subscription.
81
+ * @param id Specifies the unique notification subscription ID (starts with not_).
82
+ */
83
+ async getNotificationSubscription(id, _options) {
84
+ let _config = _options || this.configuration;
85
+ // verify required parameter 'id' is not null or undefined
86
+ if (id === null || id === undefined) {
87
+ throw new baseapi_1.RequiredError("NotificationSubscriptionsApi", "getNotificationSubscription", "id");
88
+ }
89
+ // Path Params
90
+ const localVarPath = '/v1/notification_subscriptions/{id}'
91
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
92
+ // Make Request Context
93
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
94
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
95
+ let authMethod;
96
+ // Apply auth methods
97
+ authMethod = _config.authMethods["sk"];
98
+ if (authMethod?.applySecurityAuthentication) {
99
+ await authMethod?.applySecurityAuthentication(requestContext);
100
+ }
101
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
102
+ if (defaultAuth?.applySecurityAuthentication) {
103
+ await defaultAuth?.applySecurityAuthentication(requestContext);
104
+ }
105
+ return requestContext;
106
+ }
107
+ /**
108
+ * Returns a list of subscriptions of a notification. Subscriptions define the the way you will get notified and the target of the notification. 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.
109
+ * List notification subscriptions of a notification.
110
+ * @param notification Specifies the unique notification ID (starts with not_).
111
+ * @param limit Specifies the maximum number of records to return.
112
+ * @param skip Specifies the offset for the first records to return.
113
+ * @param order Specifies the order in which to sort the results.
114
+ */
115
+ async getNotificationSubscriptions(notification, limit, skip, order, _options) {
116
+ let _config = _options || this.configuration;
117
+ // verify required parameter 'notification' is not null or undefined
118
+ if (notification === null || notification === undefined) {
119
+ throw new baseapi_1.RequiredError("NotificationSubscriptionsApi", "getNotificationSubscriptions", "notification");
120
+ }
121
+ // Path Params
122
+ const localVarPath = '/v1/notification_subscriptions';
123
+ // Make Request Context
124
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
125
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
126
+ // Query Params
127
+ if (limit !== undefined) {
128
+ requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"));
129
+ }
130
+ // Query Params
131
+ if (skip !== undefined) {
132
+ requestContext.setQueryParam("skip", ObjectSerializer_1.ObjectSerializer.serialize(skip, "number", "int32"));
133
+ }
134
+ // Query Params
135
+ if (order !== undefined) {
136
+ requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "SortOrder", ""));
137
+ }
138
+ // Query Params
139
+ if (notification !== undefined) {
140
+ requestContext.setQueryParam("notification", ObjectSerializer_1.ObjectSerializer.serialize(notification, "string", ""));
141
+ }
142
+ let authMethod;
143
+ // Apply auth methods
144
+ authMethod = _config.authMethods["sk"];
145
+ if (authMethod?.applySecurityAuthentication) {
146
+ await authMethod?.applySecurityAuthentication(requestContext);
147
+ }
148
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
149
+ if (defaultAuth?.applySecurityAuthentication) {
150
+ await defaultAuth?.applySecurityAuthentication(requestContext);
151
+ }
152
+ return requestContext;
153
+ }
154
+ }
155
+ exports.NotificationSubscriptionsApiRequestFactory = NotificationSubscriptionsApiRequestFactory;
156
+ class NotificationSubscriptionsApiResponseProcessor {
157
+ /**
158
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
159
+ * to the expected objects
160
+ *
161
+ * @params response Response returned by the server for a request to createNotificationSubscription
162
+ * @throws ApiException if the response code was not in [200, 299]
163
+ */
164
+ async createNotificationSubscription(response) {
165
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
166
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
167
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscription", "");
168
+ return body;
169
+ }
170
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
171
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
172
+ }
173
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
174
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
175
+ }
176
+ // Work around for missing responses in specification, e.g. for petstore.yaml
177
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
178
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscription", "");
179
+ return body;
180
+ }
181
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
182
+ }
183
+ /**
184
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
185
+ * to the expected objects
186
+ *
187
+ * @params response Response returned by the server for a request to deleteNotificationSubscription
188
+ * @throws ApiException if the response code was not in [200, 299]
189
+ */
190
+ async deleteNotificationSubscription(response) {
191
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
192
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
193
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscriptionDeleteResponse", "");
194
+ return body;
195
+ }
196
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
197
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
198
+ }
199
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
200
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
201
+ }
202
+ // Work around for missing responses in specification, e.g. for petstore.yaml
203
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
204
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscriptionDeleteResponse", "");
205
+ return body;
206
+ }
207
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
208
+ }
209
+ /**
210
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
211
+ * to the expected objects
212
+ *
213
+ * @params response Response returned by the server for a request to getNotificationSubscription
214
+ * @throws ApiException if the response code was not in [200, 299]
215
+ */
216
+ async getNotificationSubscription(response) {
217
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
218
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
219
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscription", "");
220
+ return body;
221
+ }
222
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
223
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
224
+ }
225
+ // Work around for missing responses in specification, e.g. for petstore.yaml
226
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
227
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscription", "");
228
+ return body;
229
+ }
230
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
231
+ }
232
+ /**
233
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
234
+ * to the expected objects
235
+ *
236
+ * @params response Response returned by the server for a request to getNotificationSubscriptions
237
+ * @throws ApiException if the response code was not in [200, 299]
238
+ */
239
+ async getNotificationSubscriptions(response) {
240
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
241
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
242
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscriptionListResponse", "");
243
+ return body;
244
+ }
245
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
246
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
247
+ }
248
+ // Work around for missing responses in specification, e.g. for petstore.yaml
249
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
250
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationSubscriptionListResponse", "");
251
+ return body;
252
+ }
253
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
254
+ }
255
+ }
256
+ exports.NotificationSubscriptionsApiResponseProcessor = NotificationSubscriptionsApiResponseProcessor;
257
+ //# sourceMappingURL=NotificationSubscriptionsApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationSubscriptionsApi.js","sourceRoot":"","sources":["../../../src/generated/apis/NotificationSubscriptionsApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAUtD;;GAEG;AACH,MAAa,0CAA2C,SAAQ,+BAAqB;IAEjF;;;;OAIG;IACI,KAAK,CAAC,8BAA8B,CAAC,qCAA4E,EAAE,QAAwB;QAC9I,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,6FAA6F;QAC7F,IAAI,qCAAqC,KAAK,IAAI,IAAI,qCAAqC,KAAK,SAAS,EAAE;YACvG,MAAM,IAAI,uBAAa,CAAC,8BAA8B,EAAE,gCAAgC,EAAE,uCAAuC,CAAC,CAAC;SACtI;QAGD,cAAc;QACd,MAAM,YAAY,GAAG,gCAAgC,CAAC;QAEtD,uBAAuB;QACvB,MAAM,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;QAC5F,cAAc,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IAAA,oBAAa,EAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE;YAC/C,MAAM,IAAI,GAAyC,mCAAgB,CAAC,WAAW,CAC3E,mCAAgB,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,EAC/D,sCAAsC,EAAE,EAAE,CACL,CAAC;YAC1C,OAAO,IAAI,CAAC;SACf;QACD,IAAI,IAAA,oBAAa,EAAC,KAAK,EAAE,QAAQ,CAAC,cAAc,CAAC,EAAE;YAC/C,MAAM,IAAI,wBAAY,CAAY,QAAQ,CAAC,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;SAC9G;QAED,6EAA6E;QAC7E,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,EAAE;YAClE,MAAM,IAAI,GAAyC,mCAAgB,CAAC,WAAW,CAC3E,mCAAgB,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,EAC/D,sCAAsC,EAAE,EAAE,CACL,CAAC;YAC1C,OAAO,IAAI,CAAC;SACf;QAED,MAAM,IAAI,wBAAY,CAA8B,QAAQ,CAAC,cAAc,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC,YAAY,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC9J,CAAC;CAEJ;AAxID,sGAwIC"}
@@ -0,0 +1,74 @@
1
+ import { BaseAPIRequestFactory } from './baseapi';
2
+ import { Configuration } from '../configuration';
3
+ import { RequestContext, ResponseContext } from '../http/http';
4
+ import { CreateNotificationTriggerRequest } from '../models/CreateNotificationTriggerRequest';
5
+ import { NotificationTriggerDeleteResponse } from '../models/NotificationTriggerDeleteResponse';
6
+ import { NotificationTriggerListResponse } from '../models/NotificationTriggerListResponse';
7
+ import { NotificationTriggerResponse } from '../models/NotificationTriggerResponse';
8
+ import { SortOrder } from '../models/SortOrder';
9
+ /**
10
+ * no description
11
+ */
12
+ export declare class NotificationTriggersApiRequestFactory extends BaseAPIRequestFactory {
13
+ /**
14
+ * Create a trigger for the provided notification.
15
+ * Create a notification trigger object.
16
+ * @param createNotificationTriggerRequest
17
+ */
18
+ createNotificationTrigger(createNotificationTriggerRequest: CreateNotificationTriggerRequest, _options?: Configuration): Promise<RequestContext>;
19
+ /**
20
+ * Delete a notification trigger by providing its notification trigger id.
21
+ * Deletes a notification trigger object.
22
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
23
+ */
24
+ deleteNotificationTrigger(id: string, _options?: Configuration): Promise<RequestContext>;
25
+ /**
26
+ * Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
27
+ * Get existing notification trigger.
28
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
29
+ */
30
+ getNotificationTrigger(id: string, _options?: Configuration): Promise<RequestContext>;
31
+ /**
32
+ * Returns a list of triggers of a notification. Triggers define the conditions that will trigger a notification. 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.
33
+ * List notification triggers of a notification.
34
+ * @param notification Specifies the unique notification ID (starts with not_).
35
+ * @param limit Specifies the maximum number of records to return.
36
+ * @param skip Specifies the offset for the first records to return.
37
+ * @param order Specifies the order in which to sort the results.
38
+ */
39
+ getNotificationTriggers(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<RequestContext>;
40
+ }
41
+ export declare class NotificationTriggersApiResponseProcessor {
42
+ /**
43
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
44
+ * to the expected objects
45
+ *
46
+ * @params response Response returned by the server for a request to createNotificationTrigger
47
+ * @throws ApiException if the response code was not in [200, 299]
48
+ */
49
+ createNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerResponse>;
50
+ /**
51
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
52
+ * to the expected objects
53
+ *
54
+ * @params response Response returned by the server for a request to deleteNotificationTrigger
55
+ * @throws ApiException if the response code was not in [200, 299]
56
+ */
57
+ deleteNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerDeleteResponse>;
58
+ /**
59
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
60
+ * to the expected objects
61
+ *
62
+ * @params response Response returned by the server for a request to getNotificationTrigger
63
+ * @throws ApiException if the response code was not in [200, 299]
64
+ */
65
+ getNotificationTrigger(response: ResponseContext): Promise<NotificationTriggerResponse>;
66
+ /**
67
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
68
+ * to the expected objects
69
+ *
70
+ * @params response Response returned by the server for a request to getNotificationTriggers
71
+ * @throws ApiException if the response code was not in [200, 299]
72
+ */
73
+ getNotificationTriggers(response: ResponseContext): Promise<NotificationTriggerListResponse>;
74
+ }
@@ -0,0 +1,257 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationTriggersApiResponseProcessor = exports.NotificationTriggersApiRequestFactory = void 0;
4
+ // TODO: better import syntax?
5
+ const baseapi_1 = require("./baseapi");
6
+ const http_1 = require("../http/http");
7
+ const ObjectSerializer_1 = require("../models/ObjectSerializer");
8
+ const exception_1 = require("./exception");
9
+ const util_1 = require("../util");
10
+ /**
11
+ * no description
12
+ */
13
+ class NotificationTriggersApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
14
+ /**
15
+ * Create a trigger for the provided notification.
16
+ * Create a notification trigger object.
17
+ * @param createNotificationTriggerRequest
18
+ */
19
+ async createNotificationTrigger(createNotificationTriggerRequest, _options) {
20
+ let _config = _options || this.configuration;
21
+ // verify required parameter 'createNotificationTriggerRequest' is not null or undefined
22
+ if (createNotificationTriggerRequest === null || createNotificationTriggerRequest === undefined) {
23
+ throw new baseapi_1.RequiredError("NotificationTriggersApi", "createNotificationTrigger", "createNotificationTriggerRequest");
24
+ }
25
+ // Path Params
26
+ const localVarPath = '/v1/notification_triggers';
27
+ // Make Request Context
28
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
29
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
30
+ // Body Params
31
+ const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
32
+ "application/json"
33
+ ]);
34
+ requestContext.setHeaderParam("Content-Type", contentType);
35
+ const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(createNotificationTriggerRequest, "CreateNotificationTriggerRequest", ""), contentType);
36
+ requestContext.setBody(serializedBody);
37
+ let authMethod;
38
+ // Apply auth methods
39
+ authMethod = _config.authMethods["sk"];
40
+ if (authMethod?.applySecurityAuthentication) {
41
+ await authMethod?.applySecurityAuthentication(requestContext);
42
+ }
43
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
44
+ if (defaultAuth?.applySecurityAuthentication) {
45
+ await defaultAuth?.applySecurityAuthentication(requestContext);
46
+ }
47
+ return requestContext;
48
+ }
49
+ /**
50
+ * Delete a notification trigger by providing its notification trigger id.
51
+ * Deletes a notification trigger object.
52
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
53
+ */
54
+ async deleteNotificationTrigger(id, _options) {
55
+ let _config = _options || this.configuration;
56
+ // verify required parameter 'id' is not null or undefined
57
+ if (id === null || id === undefined) {
58
+ throw new baseapi_1.RequiredError("NotificationTriggersApi", "deleteNotificationTrigger", "id");
59
+ }
60
+ // Path Params
61
+ const localVarPath = '/v1/notification_triggers/{id}'
62
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
63
+ // Make Request Context
64
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
65
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
66
+ let authMethod;
67
+ // Apply auth methods
68
+ authMethod = _config.authMethods["sk"];
69
+ if (authMethod?.applySecurityAuthentication) {
70
+ await authMethod?.applySecurityAuthentication(requestContext);
71
+ }
72
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
73
+ if (defaultAuth?.applySecurityAuthentication) {
74
+ await defaultAuth?.applySecurityAuthentication(requestContext);
75
+ }
76
+ return requestContext;
77
+ }
78
+ /**
79
+ * Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
80
+ * Get existing notification trigger.
81
+ * @param id Specifies the unique notification trigger ID (starts with ntr_).
82
+ */
83
+ async getNotificationTrigger(id, _options) {
84
+ let _config = _options || this.configuration;
85
+ // verify required parameter 'id' is not null or undefined
86
+ if (id === null || id === undefined) {
87
+ throw new baseapi_1.RequiredError("NotificationTriggersApi", "getNotificationTrigger", "id");
88
+ }
89
+ // Path Params
90
+ const localVarPath = '/v1/notification_triggers/{id}'
91
+ .replace('{' + 'id' + '}', encodeURIComponent(String(id)));
92
+ // Make Request Context
93
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
94
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
95
+ let authMethod;
96
+ // Apply auth methods
97
+ authMethod = _config.authMethods["sk"];
98
+ if (authMethod?.applySecurityAuthentication) {
99
+ await authMethod?.applySecurityAuthentication(requestContext);
100
+ }
101
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
102
+ if (defaultAuth?.applySecurityAuthentication) {
103
+ await defaultAuth?.applySecurityAuthentication(requestContext);
104
+ }
105
+ return requestContext;
106
+ }
107
+ /**
108
+ * Returns a list of triggers of a notification. Triggers define the conditions that will trigger a notification. 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.
109
+ * List notification triggers of a notification.
110
+ * @param notification Specifies the unique notification ID (starts with not_).
111
+ * @param limit Specifies the maximum number of records to return.
112
+ * @param skip Specifies the offset for the first records to return.
113
+ * @param order Specifies the order in which to sort the results.
114
+ */
115
+ async getNotificationTriggers(notification, limit, skip, order, _options) {
116
+ let _config = _options || this.configuration;
117
+ // verify required parameter 'notification' is not null or undefined
118
+ if (notification === null || notification === undefined) {
119
+ throw new baseapi_1.RequiredError("NotificationTriggersApi", "getNotificationTriggers", "notification");
120
+ }
121
+ // Path Params
122
+ const localVarPath = '/v1/notification_triggers';
123
+ // Make Request Context
124
+ const requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
125
+ requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
126
+ // Query Params
127
+ if (limit !== undefined) {
128
+ requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"));
129
+ }
130
+ // Query Params
131
+ if (skip !== undefined) {
132
+ requestContext.setQueryParam("skip", ObjectSerializer_1.ObjectSerializer.serialize(skip, "number", "int32"));
133
+ }
134
+ // Query Params
135
+ if (order !== undefined) {
136
+ requestContext.setQueryParam("order", ObjectSerializer_1.ObjectSerializer.serialize(order, "SortOrder", ""));
137
+ }
138
+ // Query Params
139
+ if (notification !== undefined) {
140
+ requestContext.setQueryParam("notification", ObjectSerializer_1.ObjectSerializer.serialize(notification, "string", ""));
141
+ }
142
+ let authMethod;
143
+ // Apply auth methods
144
+ authMethod = _config.authMethods["sk"];
145
+ if (authMethod?.applySecurityAuthentication) {
146
+ await authMethod?.applySecurityAuthentication(requestContext);
147
+ }
148
+ const defaultAuth = _options?.authMethods?.default || this.configuration?.authMethods?.default;
149
+ if (defaultAuth?.applySecurityAuthentication) {
150
+ await defaultAuth?.applySecurityAuthentication(requestContext);
151
+ }
152
+ return requestContext;
153
+ }
154
+ }
155
+ exports.NotificationTriggersApiRequestFactory = NotificationTriggersApiRequestFactory;
156
+ class NotificationTriggersApiResponseProcessor {
157
+ /**
158
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
159
+ * to the expected objects
160
+ *
161
+ * @params response Response returned by the server for a request to createNotificationTrigger
162
+ * @throws ApiException if the response code was not in [200, 299]
163
+ */
164
+ async createNotificationTrigger(response) {
165
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
166
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
167
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerResponse", "");
168
+ return body;
169
+ }
170
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
171
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
172
+ }
173
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
174
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
175
+ }
176
+ // Work around for missing responses in specification, e.g. for petstore.yaml
177
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
178
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerResponse", "");
179
+ return body;
180
+ }
181
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
182
+ }
183
+ /**
184
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
185
+ * to the expected objects
186
+ *
187
+ * @params response Response returned by the server for a request to deleteNotificationTrigger
188
+ * @throws ApiException if the response code was not in [200, 299]
189
+ */
190
+ async deleteNotificationTrigger(response) {
191
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
192
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
193
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerDeleteResponse", "");
194
+ return body;
195
+ }
196
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
197
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
198
+ }
199
+ if ((0, util_1.isCodeInRange)("409", response.httpStatusCode)) {
200
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
201
+ }
202
+ // Work around for missing responses in specification, e.g. for petstore.yaml
203
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
204
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerDeleteResponse", "");
205
+ return body;
206
+ }
207
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
208
+ }
209
+ /**
210
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
211
+ * to the expected objects
212
+ *
213
+ * @params response Response returned by the server for a request to getNotificationTrigger
214
+ * @throws ApiException if the response code was not in [200, 299]
215
+ */
216
+ async getNotificationTrigger(response) {
217
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
218
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
219
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerResponse", "");
220
+ return body;
221
+ }
222
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
223
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
224
+ }
225
+ // Work around for missing responses in specification, e.g. for petstore.yaml
226
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
227
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerResponse", "");
228
+ return body;
229
+ }
230
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
231
+ }
232
+ /**
233
+ * Unwraps the actual response sent by the server from the response context and deserializes the response content
234
+ * to the expected objects
235
+ *
236
+ * @params response Response returned by the server for a request to getNotificationTriggers
237
+ * @throws ApiException if the response code was not in [200, 299]
238
+ */
239
+ async getNotificationTriggers(response) {
240
+ const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
241
+ if ((0, util_1.isCodeInRange)("200", response.httpStatusCode)) {
242
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerListResponse", "");
243
+ return body;
244
+ }
245
+ if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
246
+ throw new exception_1.ApiException(response.httpStatusCode, "Error response.", undefined, response.headers);
247
+ }
248
+ // Work around for missing responses in specification, e.g. for petstore.yaml
249
+ if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
250
+ const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(await response.body.text(), contentType), "NotificationTriggerListResponse", "");
251
+ return body;
252
+ }
253
+ throw new exception_1.ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers);
254
+ }
255
+ }
256
+ exports.NotificationTriggersApiResponseProcessor = NotificationTriggersApiResponseProcessor;
257
+ //# sourceMappingURL=NotificationTriggersApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationTriggersApi.js","sourceRoot":"","sources":["../../../src/generated/apis/NotificationTriggersApi.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,uCAAmF;AAEnF,uCAAmF;AAGnF,iEAA4D;AAC5D,2CAAyC;AACzC,kCAAsD;AAUtD;;GAEG;AACH,MAAa,qCAAsC,SAAQ,+BAAqB;IAE5E;;;;OAIG;IACI,KAAK,CAAC,yBAAyB,CAAC,gCAAkE,EAAE,QAAwB;QAC/H,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;QAE7C,wFAAwF;QACxF,IAAI,gCAAgC,KAAK,IAAI,IAAI,gCAAgC,KAAK,SAAS,EAAE;YAC7F,MAAM,IAAI,uBAAa,CAAC,yBAAyB,EAAE,2BA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