@onesignal/node-onesignal 5.7.0 → 5.9.0
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.
- package/README.md +9 -0
- package/dist/apis/DefaultApi.js +2282 -4372
- package/dist/apis/baseapi.js +11 -30
- package/dist/apis/exception.d.ts +1 -0
- package/dist/apis/exception.js +52 -26
- package/dist/auth/auth.js +17 -83
- package/dist/configuration.js +9 -9
- package/dist/errors.d.ts +8 -0
- package/dist/errors.js +11 -0
- package/dist/helpers.d.ts +12 -0
- package/dist/helpers.js +79 -0
- package/dist/http/http.js +53 -132
- package/dist/http/isomorphic-fetch.js +15 -18
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/middleware.js +8 -9
- package/dist/models/ApiKeyToken.js +45 -46
- package/dist/models/ApiKeyTokensListResponse.js +15 -16
- package/dist/models/App.js +213 -214
- package/dist/models/BasicNotification.js +711 -712
- package/dist/models/BasicNotificationAllOf.js +627 -628
- package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.js +27 -28
- package/dist/models/Button.js +27 -28
- package/dist/models/CopyTemplateRequest.js +15 -16
- package/dist/models/CreateApiKeyRequest.js +27 -28
- package/dist/models/CreateApiKeyResponse.js +21 -22
- package/dist/models/CreateNotificationSuccessResponse.js +27 -28
- package/dist/models/CreateSegmentConflictResponse.js +21 -22
- package/dist/models/CreateSegmentSuccessResponse.js +21 -22
- package/dist/models/CreateTemplateRequest.js +75 -76
- package/dist/models/CreateUserConflictResponse.js +15 -16
- package/dist/models/CreateUserConflictResponseErrorsInner.js +27 -28
- package/dist/models/CreateUserConflictResponseErrorsItemsMeta.js +15 -16
- package/dist/models/CustomEvent.js +39 -40
- package/dist/models/CustomEventsRequest.js +15 -16
- package/dist/models/DeliveryData.js +39 -40
- package/dist/models/ExportEventsSuccessResponse.js +15 -16
- package/dist/models/ExportSubscriptionsRequestBody.js +27 -28
- package/dist/models/ExportSubscriptionsSuccessResponse.js +15 -16
- package/dist/models/Filter.js +57 -58
- package/dist/models/FilterExpression.js +63 -64
- package/dist/models/GenericError.js +27 -28
- package/dist/models/GenericSuccessBoolResponse.js +15 -16
- package/dist/models/GetNotificationHistoryRequestBody.js +27 -28
- package/dist/models/GetSegmentsSuccessResponse.js +33 -34
- package/dist/models/LanguageStringMap.js +267 -268
- package/dist/models/Notification.js +717 -718
- package/dist/models/NotificationAllOf.js +15 -16
- package/dist/models/NotificationHistorySuccessResponse.js +21 -22
- package/dist/models/NotificationSlice.js +33 -34
- package/dist/models/NotificationTarget.js +93 -94
- package/dist/models/NotificationWithMeta.js +789 -790
- package/dist/models/NotificationWithMetaAllOf.js +93 -94
- package/dist/models/ObjectSerializer.js +111 -115
- package/dist/models/Operator.js +15 -16
- package/dist/models/OutcomeData.js +27 -28
- package/dist/models/OutcomesData.js +15 -16
- package/dist/models/PlatformDeliveryData.js +57 -58
- package/dist/models/PlatformDeliveryDataEmailAllOf.js +51 -52
- package/dist/models/PlatformDeliveryDataSmsAllOf.js +27 -28
- package/dist/models/PropertiesBody.js +15 -16
- package/dist/models/PropertiesDeltas.js +27 -28
- package/dist/models/PropertiesObject.js +75 -76
- package/dist/models/Purchase.js +33 -34
- package/dist/models/RateLimitError.js +21 -22
- package/dist/models/Segment.js +27 -28
- package/dist/models/SegmentData.js +51 -52
- package/dist/models/SegmentNotificationTarget.js +21 -22
- package/dist/models/StartLiveActivityRequest.js +105 -106
- package/dist/models/StartLiveActivitySuccessResponse.js +15 -16
- package/dist/models/Subscription.js +111 -112
- package/dist/models/SubscriptionBody.js +15 -16
- package/dist/models/SubscriptionNotificationTarget.js +81 -82
- package/dist/models/TemplateResource.js +45 -46
- package/dist/models/TemplatesListResponse.js +15 -16
- package/dist/models/TransferSubscriptionRequestBody.js +15 -16
- package/dist/models/UpdateApiKeyRequest.js +27 -28
- package/dist/models/UpdateLiveActivityRequest.js +63 -64
- package/dist/models/UpdateLiveActivitySuccessResponse.js +15 -16
- package/dist/models/UpdateTemplateRequest.js +69 -70
- package/dist/models/UpdateUserRequest.js +27 -28
- package/dist/models/User.js +27 -28
- package/dist/models/UserIdentityBody.js +15 -16
- package/dist/models/WebButton.js +33 -34
- package/dist/rxjsStub.js +8 -9
- package/dist/servers.js +14 -15
- package/dist/types/ObjectParamAPI.js +92 -94
- package/dist/types/ObservableAPI.js +534 -931
- package/dist/types/PromiseAPI.d.ts +4 -0
- package/dist/types/PromiseAPI.js +141 -137
- package/dist/util.js +2 -2
- package/package.json +4 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import * as models from '../models/all';
|
|
1
2
|
import { Configuration } from '../configuration';
|
|
3
|
+
import { CreateNotificationWithRetryOptions, CreateNotificationWithRetryResult } from '../helpers';
|
|
2
4
|
import { ApiKeyTokensListResponse } from '../models/ApiKeyTokensListResponse';
|
|
3
5
|
import { App } from '../models/App';
|
|
4
6
|
import { CopyTemplateRequest } from '../models/CopyTemplateRequest';
|
|
@@ -37,7 +39,9 @@ import { UserIdentityBody } from '../models/UserIdentityBody';
|
|
|
37
39
|
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
38
40
|
export declare class PromiseDefaultApi {
|
|
39
41
|
private api;
|
|
42
|
+
private configuration;
|
|
40
43
|
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
44
|
+
createNotificationWithRetry(notification: models.Notification, options?: CreateNotificationWithRetryOptions): Promise<CreateNotificationWithRetryResult>;
|
|
41
45
|
cancelNotification(appId: string, notificationId: string, _options?: Configuration): Promise<GenericSuccessBoolResponse>;
|
|
42
46
|
copyTemplateToApp(templateId: string, appId: string, copyTemplateRequest: CopyTemplateRequest, _options?: Configuration): Promise<TemplateResource>;
|
|
43
47
|
createAlias(appId: string, aliasLabel: string, aliasId: string, userIdentityBody: UserIdentityBody, _options?: Configuration): Promise<UserIdentityBody>;
|
package/dist/types/PromiseAPI.js
CHANGED
|
@@ -1,188 +1,192 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PromiseDefaultApi = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const helpers_1 = require("../helpers");
|
|
5
|
+
const ObservableAPI_1 = require("./ObservableAPI");
|
|
6
|
+
class PromiseDefaultApi {
|
|
7
|
+
constructor(configuration, requestFactory, responseProcessor) {
|
|
7
8
|
this.api = new ObservableAPI_1.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
|
|
9
|
+
this.configuration = configuration;
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
createNotificationWithRetry(notification, options) {
|
|
12
|
+
return (0, helpers_1.createNotificationWithRetry)(this.configuration, notification, options);
|
|
13
|
+
}
|
|
14
|
+
cancelNotification(appId, notificationId, _options) {
|
|
15
|
+
const result = this.api.cancelNotification(appId, notificationId, _options);
|
|
11
16
|
return result.toPromise();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
}
|
|
18
|
+
copyTemplateToApp(templateId, appId, copyTemplateRequest, _options) {
|
|
19
|
+
const result = this.api.copyTemplateToApp(templateId, appId, copyTemplateRequest, _options);
|
|
15
20
|
return result.toPromise();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
}
|
|
22
|
+
createAlias(appId, aliasLabel, aliasId, userIdentityBody, _options) {
|
|
23
|
+
const result = this.api.createAlias(appId, aliasLabel, aliasId, userIdentityBody, _options);
|
|
19
24
|
return result.toPromise();
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
}
|
|
26
|
+
createAliasBySubscription(appId, subscriptionId, userIdentityBody, _options) {
|
|
27
|
+
const result = this.api.createAliasBySubscription(appId, subscriptionId, userIdentityBody, _options);
|
|
23
28
|
return result.toPromise();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
29
|
+
}
|
|
30
|
+
createApiKey(appId, createApiKeyRequest, _options) {
|
|
31
|
+
const result = this.api.createApiKey(appId, createApiKeyRequest, _options);
|
|
27
32
|
return result.toPromise();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
}
|
|
34
|
+
createApp(app, _options) {
|
|
35
|
+
const result = this.api.createApp(app, _options);
|
|
31
36
|
return result.toPromise();
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
}
|
|
38
|
+
createCustomEvents(appId, customEventsRequest, _options) {
|
|
39
|
+
const result = this.api.createCustomEvents(appId, customEventsRequest, _options);
|
|
35
40
|
return result.toPromise();
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
}
|
|
42
|
+
createNotification(notification, _options) {
|
|
43
|
+
const result = this.api.createNotification(notification, _options);
|
|
39
44
|
return result.toPromise();
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
}
|
|
46
|
+
createSegment(appId, segment, _options) {
|
|
47
|
+
const result = this.api.createSegment(appId, segment, _options);
|
|
43
48
|
return result.toPromise();
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
}
|
|
50
|
+
createSubscription(appId, aliasLabel, aliasId, subscriptionBody, _options) {
|
|
51
|
+
const result = this.api.createSubscription(appId, aliasLabel, aliasId, subscriptionBody, _options);
|
|
47
52
|
return result.toPromise();
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
}
|
|
54
|
+
createTemplate(createTemplateRequest, _options) {
|
|
55
|
+
const result = this.api.createTemplate(createTemplateRequest, _options);
|
|
51
56
|
return result.toPromise();
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
}
|
|
58
|
+
createUser(appId, user, _options) {
|
|
59
|
+
const result = this.api.createUser(appId, user, _options);
|
|
55
60
|
return result.toPromise();
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
}
|
|
62
|
+
deleteAlias(appId, aliasLabel, aliasId, aliasLabelToDelete, _options) {
|
|
63
|
+
const result = this.api.deleteAlias(appId, aliasLabel, aliasId, aliasLabelToDelete, _options);
|
|
59
64
|
return result.toPromise();
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
65
|
+
}
|
|
66
|
+
deleteApiKey(appId, tokenId, _options) {
|
|
67
|
+
const result = this.api.deleteApiKey(appId, tokenId, _options);
|
|
63
68
|
return result.toPromise();
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
}
|
|
70
|
+
deleteSegment(appId, segmentId, _options) {
|
|
71
|
+
const result = this.api.deleteSegment(appId, segmentId, _options);
|
|
67
72
|
return result.toPromise();
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
73
|
+
}
|
|
74
|
+
deleteSubscription(appId, subscriptionId, _options) {
|
|
75
|
+
const result = this.api.deleteSubscription(appId, subscriptionId, _options);
|
|
71
76
|
return result.toPromise();
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
}
|
|
78
|
+
deleteTemplate(templateId, appId, _options) {
|
|
79
|
+
const result = this.api.deleteTemplate(templateId, appId, _options);
|
|
75
80
|
return result.toPromise();
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
}
|
|
82
|
+
deleteUser(appId, aliasLabel, aliasId, _options) {
|
|
83
|
+
const result = this.api.deleteUser(appId, aliasLabel, aliasId, _options);
|
|
79
84
|
return result.toPromise();
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
}
|
|
86
|
+
exportEvents(notificationId, appId, _options) {
|
|
87
|
+
const result = this.api.exportEvents(notificationId, appId, _options);
|
|
83
88
|
return result.toPromise();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
89
|
+
}
|
|
90
|
+
exportSubscriptions(appId, exportSubscriptionsRequestBody, _options) {
|
|
91
|
+
const result = this.api.exportSubscriptions(appId, exportSubscriptionsRequestBody, _options);
|
|
87
92
|
return result.toPromise();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
93
|
+
}
|
|
94
|
+
getAliases(appId, aliasLabel, aliasId, _options) {
|
|
95
|
+
const result = this.api.getAliases(appId, aliasLabel, aliasId, _options);
|
|
91
96
|
return result.toPromise();
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
97
|
+
}
|
|
98
|
+
getAliasesBySubscription(appId, subscriptionId, _options) {
|
|
99
|
+
const result = this.api.getAliasesBySubscription(appId, subscriptionId, _options);
|
|
95
100
|
return result.toPromise();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
}
|
|
102
|
+
getApp(appId, _options) {
|
|
103
|
+
const result = this.api.getApp(appId, _options);
|
|
99
104
|
return result.toPromise();
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
}
|
|
106
|
+
getApps(_options) {
|
|
107
|
+
const result = this.api.getApps(_options);
|
|
103
108
|
return result.toPromise();
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
109
|
+
}
|
|
110
|
+
getNotification(appId, notificationId, _options) {
|
|
111
|
+
const result = this.api.getNotification(appId, notificationId, _options);
|
|
107
112
|
return result.toPromise();
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
113
|
+
}
|
|
114
|
+
getNotificationHistory(notificationId, getNotificationHistoryRequestBody, _options) {
|
|
115
|
+
const result = this.api.getNotificationHistory(notificationId, getNotificationHistoryRequestBody, _options);
|
|
111
116
|
return result.toPromise();
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
117
|
+
}
|
|
118
|
+
getNotifications(appId, limit, offset, kind, _options) {
|
|
119
|
+
const result = this.api.getNotifications(appId, limit, offset, kind, _options);
|
|
115
120
|
return result.toPromise();
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
}
|
|
122
|
+
getOutcomes(appId, outcomeNames, outcomeNames2, outcomeTimeRange, outcomePlatforms, outcomeAttribution, _options) {
|
|
123
|
+
const result = this.api.getOutcomes(appId, outcomeNames, outcomeNames2, outcomeTimeRange, outcomePlatforms, outcomeAttribution, _options);
|
|
119
124
|
return result.toPromise();
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
125
|
+
}
|
|
126
|
+
getSegments(appId, offset, limit, _options) {
|
|
127
|
+
const result = this.api.getSegments(appId, offset, limit, _options);
|
|
123
128
|
return result.toPromise();
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
129
|
+
}
|
|
130
|
+
getUser(appId, aliasLabel, aliasId, _options) {
|
|
131
|
+
const result = this.api.getUser(appId, aliasLabel, aliasId, _options);
|
|
127
132
|
return result.toPromise();
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
133
|
+
}
|
|
134
|
+
rotateApiKey(appId, tokenId, _options) {
|
|
135
|
+
const result = this.api.rotateApiKey(appId, tokenId, _options);
|
|
131
136
|
return result.toPromise();
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
137
|
+
}
|
|
138
|
+
startLiveActivity(appId, activityType, startLiveActivityRequest, _options) {
|
|
139
|
+
const result = this.api.startLiveActivity(appId, activityType, startLiveActivityRequest, _options);
|
|
135
140
|
return result.toPromise();
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
}
|
|
142
|
+
transferSubscription(appId, subscriptionId, transferSubscriptionRequestBody, _options) {
|
|
143
|
+
const result = this.api.transferSubscription(appId, subscriptionId, transferSubscriptionRequestBody, _options);
|
|
139
144
|
return result.toPromise();
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
145
|
+
}
|
|
146
|
+
unsubscribeEmailWithToken(appId, notificationId, token, _options) {
|
|
147
|
+
const result = this.api.unsubscribeEmailWithToken(appId, notificationId, token, _options);
|
|
143
148
|
return result.toPromise();
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
149
|
+
}
|
|
150
|
+
updateApiKey(appId, tokenId, updateApiKeyRequest, _options) {
|
|
151
|
+
const result = this.api.updateApiKey(appId, tokenId, updateApiKeyRequest, _options);
|
|
147
152
|
return result.toPromise();
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
153
|
+
}
|
|
154
|
+
updateApp(appId, app, _options) {
|
|
155
|
+
const result = this.api.updateApp(appId, app, _options);
|
|
151
156
|
return result.toPromise();
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
|
|
157
|
+
}
|
|
158
|
+
updateLiveActivity(appId, activityId, updateLiveActivityRequest, _options) {
|
|
159
|
+
const result = this.api.updateLiveActivity(appId, activityId, updateLiveActivityRequest, _options);
|
|
155
160
|
return result.toPromise();
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
161
|
+
}
|
|
162
|
+
updateSubscription(appId, subscriptionId, subscriptionBody, _options) {
|
|
163
|
+
const result = this.api.updateSubscription(appId, subscriptionId, subscriptionBody, _options);
|
|
159
164
|
return result.toPromise();
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
}
|
|
166
|
+
updateSubscriptionByToken(appId, tokenType, token, subscriptionBody, _options) {
|
|
167
|
+
const result = this.api.updateSubscriptionByToken(appId, tokenType, token, subscriptionBody, _options);
|
|
163
168
|
return result.toPromise();
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
}
|
|
170
|
+
updateTemplate(templateId, appId, updateTemplateRequest, _options) {
|
|
171
|
+
const result = this.api.updateTemplate(templateId, appId, updateTemplateRequest, _options);
|
|
167
172
|
return result.toPromise();
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
}
|
|
174
|
+
updateUser(appId, aliasLabel, aliasId, updateUserRequest, _options) {
|
|
175
|
+
const result = this.api.updateUser(appId, aliasLabel, aliasId, updateUserRequest, _options);
|
|
171
176
|
return result.toPromise();
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
}
|
|
178
|
+
viewApiKeys(appId, _options) {
|
|
179
|
+
const result = this.api.viewApiKeys(appId, _options);
|
|
175
180
|
return result.toPromise();
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
}
|
|
182
|
+
viewTemplate(templateId, appId, _options) {
|
|
183
|
+
const result = this.api.viewTemplate(templateId, appId, _options);
|
|
179
184
|
return result.toPromise();
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
185
|
+
}
|
|
186
|
+
viewTemplates(appId, limit, offset, channel, _options) {
|
|
187
|
+
const result = this.api.viewTemplates(appId, limit, offset, channel, _options);
|
|
183
188
|
return result.toPromise();
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
}());
|
|
189
|
+
}
|
|
190
|
+
}
|
|
187
191
|
exports.PromiseDefaultApi = PromiseDefaultApi;
|
|
188
192
|
//# sourceMappingURL=PromiseAPI.js.map
|
package/dist/util.js
CHANGED
|
@@ -9,11 +9,11 @@ function isCodeInRange(codeRange, code) {
|
|
|
9
9
|
return true;
|
|
10
10
|
}
|
|
11
11
|
else {
|
|
12
|
-
|
|
12
|
+
const codeString = code.toString();
|
|
13
13
|
if (codeString.length != codeRange.length) {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
16
|
-
for (
|
|
16
|
+
for (let i = 0; i < codeString.length; i++) {
|
|
17
17
|
if (codeRange.charAt(i) != "X" && codeRange.charAt(i) != codeString.charAt(i)) {
|
|
18
18
|
return false;
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onesignal/node-onesignal",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "OpenAPI client for @onesignal/node-onesignal",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -31,10 +31,12 @@
|
|
|
31
31
|
"build": "tsc",
|
|
32
32
|
"prepare": "npm run build"
|
|
33
33
|
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18.0.0"
|
|
36
|
+
},
|
|
34
37
|
"dependencies": {
|
|
35
38
|
"form-data": "^2.5.0",
|
|
36
39
|
"btoa": "^1.2.1",
|
|
37
|
-
"es6-promise": "^4.2.4",
|
|
38
40
|
"url-parse": "^1.4.3"
|
|
39
41
|
},
|
|
40
42
|
"devDependencies": {
|