@onesignal/node-onesignal 5.16.0 → 5.18.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/dist/apis/DefaultApi.d.ts +7 -0
- package/dist/apis/DefaultApi.js +153 -54
- package/dist/models/EmailReputationResponse.d.ts +20 -0
- package/dist/models/EmailReputationResponse.js +33 -0
- package/dist/models/EmailReputationWindow.d.ts +18 -0
- package/dist/models/EmailReputationWindow.js +27 -0
- package/dist/models/EstimateNotificationRecipientsRequest.d.ts +26 -0
- package/dist/models/EstimateNotificationRecipientsRequest.js +51 -0
- package/dist/models/EstimateNotificationRecipientsRequestAllOf.d.ts +24 -0
- package/dist/models/EstimateNotificationRecipientsRequestAllOf.js +39 -0
- package/dist/models/EstimateNotificationRecipientsSuccessResponse.d.ts +21 -0
- package/dist/models/EstimateNotificationRecipientsSuccessResponse.js +45 -0
- package/dist/models/ObjectSerializer.d.ts +5 -0
- package/dist/models/ObjectSerializer.js +17 -0
- package/dist/models/all.d.ts +5 -0
- package/dist/models/all.js +5 -0
- package/dist/types/ObjectParamAPI.d.ts +11 -0
- package/dist/types/ObjectParamAPI.js +6 -0
- package/dist/types/ObservableAPI.d.ts +5 -0
- package/dist/types/ObservableAPI.js +30 -0
- package/dist/types/PromiseAPI.d.ts +5 -0
- package/dist/types/PromiseAPI.js +8 -0
- package/package.json +1 -1
|
@@ -11,6 +11,9 @@ import { CreateNotificationSuccessResponse } from '../models/CreateNotificationS
|
|
|
11
11
|
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
12
12
|
import { CreateTemplateRequest } from '../models/CreateTemplateRequest';
|
|
13
13
|
import { CustomEventsRequest } from '../models/CustomEventsRequest';
|
|
14
|
+
import { EmailReputationResponse } from '../models/EmailReputationResponse';
|
|
15
|
+
import { EstimateNotificationRecipientsRequest } from '../models/EstimateNotificationRecipientsRequest';
|
|
16
|
+
import { EstimateNotificationRecipientsSuccessResponse } from '../models/EstimateNotificationRecipientsSuccessResponse';
|
|
14
17
|
import { ExportEventsSuccessResponse } from '../models/ExportEventsSuccessResponse';
|
|
15
18
|
import { ExportSubscriptionsRequestBody } from '../models/ExportSubscriptionsRequestBody';
|
|
16
19
|
import { ExportSubscriptionsSuccessResponse } from '../models/ExportSubscriptionsSuccessResponse';
|
|
@@ -67,12 +70,14 @@ export declare class DefaultApiRequestFactory extends BaseAPIRequestFactory {
|
|
|
67
70
|
deleteSubscription(appId: string, subscriptionId: string, _options?: Configuration): Promise<RequestContext>;
|
|
68
71
|
deleteTemplate(templateId: string, appId: string, _options?: Configuration): Promise<RequestContext>;
|
|
69
72
|
deleteUser(appId: string, aliasLabel: string, aliasId: string, _options?: Configuration): Promise<RequestContext>;
|
|
73
|
+
estimateNotificationRecipients(estimateNotificationRecipientsRequest: EstimateNotificationRecipientsRequest, _options?: Configuration): Promise<RequestContext>;
|
|
70
74
|
exportEvents(notificationId: string, appId: string, _options?: Configuration): Promise<RequestContext>;
|
|
71
75
|
exportSubscriptions(appId: string, exportSubscriptionsRequestBody?: ExportSubscriptionsRequestBody, _options?: Configuration): Promise<RequestContext>;
|
|
72
76
|
getAliases(appId: string, aliasLabel: string, aliasId: string, _options?: Configuration): Promise<RequestContext>;
|
|
73
77
|
getAliasesBySubscription(appId: string, subscriptionId: string, _options?: Configuration): Promise<RequestContext>;
|
|
74
78
|
getApp(appId: string, _options?: Configuration): Promise<RequestContext>;
|
|
75
79
|
getApps(_options?: Configuration): Promise<RequestContext>;
|
|
80
|
+
getEmailReputation(appId: string, _options?: Configuration): Promise<RequestContext>;
|
|
76
81
|
getNotification(appId: string, notificationId: string, _options?: Configuration): Promise<RequestContext>;
|
|
77
82
|
getNotificationHistory(notificationId: string, getNotificationHistoryRequestBody: GetNotificationHistoryRequestBody, _options?: Configuration): Promise<RequestContext>;
|
|
78
83
|
getNotifications(appId: string, limit?: number, offset?: number, kind?: 0 | 1 | 3, timeOffset?: string, _options?: Configuration): Promise<RequestContext>;
|
|
@@ -123,12 +128,14 @@ export declare class DefaultApiResponseProcessor {
|
|
|
123
128
|
deleteSubscription(response: ResponseContext): Promise<void>;
|
|
124
129
|
deleteTemplate(response: ResponseContext): Promise<GenericSuccessBoolResponse>;
|
|
125
130
|
deleteUser(response: ResponseContext): Promise<void>;
|
|
131
|
+
estimateNotificationRecipients(response: ResponseContext): Promise<EstimateNotificationRecipientsSuccessResponse>;
|
|
126
132
|
exportEvents(response: ResponseContext): Promise<ExportEventsSuccessResponse>;
|
|
127
133
|
exportSubscriptions(response: ResponseContext): Promise<ExportSubscriptionsSuccessResponse>;
|
|
128
134
|
getAliases(response: ResponseContext): Promise<UserIdentityBody>;
|
|
129
135
|
getAliasesBySubscription(response: ResponseContext): Promise<UserIdentityBody>;
|
|
130
136
|
getApp(response: ResponseContext): Promise<App>;
|
|
131
137
|
getApps(response: ResponseContext): Promise<Array<App>>;
|
|
138
|
+
getEmailReputation(response: ResponseContext): Promise<EmailReputationResponse>;
|
|
132
139
|
getNotification(response: ResponseContext): Promise<NotificationWithMeta>;
|
|
133
140
|
getNotificationHistory(response: ResponseContext): Promise<NotificationHistorySuccessResponse>;
|
|
134
141
|
getNotifications(response: ResponseContext): Promise<NotificationSlice>;
|