@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.
@@ -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>;