@onesignal/node-onesignal 5.15.0 → 5.17.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 +4 -0
- package/dist/apis/DefaultApi.js +104 -54
- package/dist/models/BasicNotification.d.ts +4 -0
- package/dist/models/BasicNotification.js +12 -0
- package/dist/models/BasicNotificationAllOf.d.ts +4 -0
- package/dist/models/BasicNotificationAllOf.js +12 -0
- package/dist/models/EmailWarmUp.d.ts +23 -0
- package/dist/models/EmailWarmUp.js +39 -0
- package/dist/models/EmailWarmUpRequest.d.ts +20 -0
- package/dist/models/EmailWarmUpRequest.js +27 -0
- package/dist/models/EmailWarmUpStage.d.ts +20 -0
- package/dist/models/EmailWarmUpStage.js +39 -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/Notification.d.ts +4 -0
- package/dist/models/Notification.js +12 -0
- package/dist/models/NotificationWithMeta.d.ts +4 -0
- package/dist/models/NotificationWithMeta.js +12 -0
- package/dist/models/NotificationWithMetaAllOf.d.ts +2 -0
- package/dist/models/NotificationWithMetaAllOf.js +6 -0
- package/dist/models/ObjectSerializer.d.ts +6 -0
- package/dist/models/ObjectSerializer.js +27 -0
- package/dist/models/all.d.ts +6 -0
- package/dist/models/all.js +6 -0
- package/dist/types/ObjectParamAPI.d.ts +6 -0
- package/dist/types/ObjectParamAPI.js +3 -0
- package/dist/types/ObservableAPI.d.ts +3 -0
- package/dist/types/ObservableAPI.js +15 -0
- package/dist/types/PromiseAPI.d.ts +3 -0
- package/dist/types/PromiseAPI.js +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BasicNotificationAllOfAndroidBackgroundLayout } from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
2
2
|
import { Button } from './Button';
|
|
3
|
+
import { EmailWarmUpRequest } from './EmailWarmUpRequest';
|
|
3
4
|
import { FilterExpression } from './FilterExpression';
|
|
4
5
|
import { LanguageStringMap } from './LanguageStringMap';
|
|
5
6
|
import { WebButton } from './WebButton';
|
|
@@ -99,6 +100,8 @@ export declare class BasicNotificationAllOf {
|
|
|
99
100
|
'include_unsubscribed'?: boolean;
|
|
100
101
|
'email_bcc'?: Array<string>;
|
|
101
102
|
'email_sender_domain'?: string;
|
|
103
|
+
'kind'?: BasicNotificationAllOfKindEnum;
|
|
104
|
+
'email_warm_up'?: EmailWarmUpRequest;
|
|
102
105
|
'sms_from'?: string;
|
|
103
106
|
'sms_media_urls'?: Array<string>;
|
|
104
107
|
'filters'?: Array<FilterExpression>;
|
|
@@ -124,4 +127,5 @@ export declare class BasicNotificationAllOf {
|
|
|
124
127
|
constructor();
|
|
125
128
|
}
|
|
126
129
|
export type BasicNotificationAllOfAggregationEnum = "sum" | "count";
|
|
130
|
+
export type BasicNotificationAllOfKindEnum = "warmup";
|
|
127
131
|
export type BasicNotificationAllOfHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING";
|
|
@@ -581,6 +581,18 @@ BasicNotificationAllOf.attributeTypeMap = [
|
|
|
581
581
|
"type": "string",
|
|
582
582
|
"format": ""
|
|
583
583
|
},
|
|
584
|
+
{
|
|
585
|
+
"name": "kind",
|
|
586
|
+
"baseName": "kind",
|
|
587
|
+
"type": "BasicNotificationAllOfKindEnum",
|
|
588
|
+
"format": ""
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "email_warm_up",
|
|
592
|
+
"baseName": "email_warm_up",
|
|
593
|
+
"type": "EmailWarmUpRequest",
|
|
594
|
+
"format": ""
|
|
595
|
+
},
|
|
584
596
|
{
|
|
585
597
|
"name": "sms_from",
|
|
586
598
|
"baseName": "sms_from",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EmailWarmUpStage } from './EmailWarmUpStage';
|
|
2
|
+
export declare class EmailWarmUp {
|
|
3
|
+
'stages'?: Array<EmailWarmUpStage>;
|
|
4
|
+
'strategy'?: EmailWarmUpStrategyEnum;
|
|
5
|
+
'status'?: EmailWarmUpStatusEnum;
|
|
6
|
+
'is_live'?: boolean;
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
22
|
+
export type EmailWarmUpStrategyEnum = "recommended" | "custom";
|
|
23
|
+
export type EmailWarmUpStatusEnum = "initializing" | "draft" | "active" | "finished" | "canceled";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailWarmUp = void 0;
|
|
4
|
+
class EmailWarmUp {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EmailWarmUp.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EmailWarmUp = EmailWarmUp;
|
|
12
|
+
EmailWarmUp.discriminator = undefined;
|
|
13
|
+
EmailWarmUp.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "stages",
|
|
16
|
+
"baseName": "stages",
|
|
17
|
+
"type": "Array<EmailWarmUpStage>",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "strategy",
|
|
22
|
+
"baseName": "strategy",
|
|
23
|
+
"type": "EmailWarmUpStrategyEnum",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "status",
|
|
28
|
+
"baseName": "status",
|
|
29
|
+
"type": "EmailWarmUpStatusEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "is_live",
|
|
34
|
+
"baseName": "is_live",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
//# sourceMappingURL=EmailWarmUp.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EmailWarmUpStage } from './EmailWarmUpStage';
|
|
2
|
+
export declare class EmailWarmUpRequest {
|
|
3
|
+
'stages': Array<EmailWarmUpStage>;
|
|
4
|
+
'strategy'?: EmailWarmUpRequestStrategyEnum;
|
|
5
|
+
static readonly discriminator: string | undefined;
|
|
6
|
+
static readonly attributeTypeMap: Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
baseName: string;
|
|
9
|
+
type: string;
|
|
10
|
+
format: string;
|
|
11
|
+
}>;
|
|
12
|
+
static getAttributeTypeMap(): {
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
format: string;
|
|
17
|
+
}[];
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
20
|
+
export type EmailWarmUpRequestStrategyEnum = "recommended" | "custom";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailWarmUpRequest = void 0;
|
|
4
|
+
class EmailWarmUpRequest {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EmailWarmUpRequest.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EmailWarmUpRequest = EmailWarmUpRequest;
|
|
12
|
+
EmailWarmUpRequest.discriminator = undefined;
|
|
13
|
+
EmailWarmUpRequest.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "stages",
|
|
16
|
+
"baseName": "stages",
|
|
17
|
+
"type": "Array<EmailWarmUpStage>",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "strategy",
|
|
22
|
+
"baseName": "strategy",
|
|
23
|
+
"type": "EmailWarmUpRequestStrategyEnum",
|
|
24
|
+
"format": ""
|
|
25
|
+
}
|
|
26
|
+
];
|
|
27
|
+
//# sourceMappingURL=EmailWarmUpRequest.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class EmailWarmUpStage {
|
|
2
|
+
'start': string;
|
|
3
|
+
'end': string;
|
|
4
|
+
'quota': number;
|
|
5
|
+
'acked'?: boolean;
|
|
6
|
+
static readonly discriminator: string | undefined;
|
|
7
|
+
static readonly attributeTypeMap: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
baseName: string;
|
|
10
|
+
type: string;
|
|
11
|
+
format: string;
|
|
12
|
+
}>;
|
|
13
|
+
static getAttributeTypeMap(): {
|
|
14
|
+
name: string;
|
|
15
|
+
baseName: string;
|
|
16
|
+
type: string;
|
|
17
|
+
format: string;
|
|
18
|
+
}[];
|
|
19
|
+
constructor();
|
|
20
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailWarmUpStage = void 0;
|
|
4
|
+
class EmailWarmUpStage {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EmailWarmUpStage.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EmailWarmUpStage = EmailWarmUpStage;
|
|
12
|
+
EmailWarmUpStage.discriminator = undefined;
|
|
13
|
+
EmailWarmUpStage.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "start",
|
|
16
|
+
"baseName": "start",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "date-time"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "end",
|
|
22
|
+
"baseName": "end",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "date-time"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "quota",
|
|
28
|
+
"baseName": "quota",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "acked",
|
|
34
|
+
"baseName": "acked",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
//# sourceMappingURL=EmailWarmUpStage.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FilterExpression } from './FilterExpression';
|
|
2
|
+
export declare class EstimateNotificationRecipientsRequest {
|
|
3
|
+
'included_segments'?: Array<string>;
|
|
4
|
+
'excluded_segments'?: Array<string>;
|
|
5
|
+
'app_id': string;
|
|
6
|
+
'filters'?: Array<FilterExpression>;
|
|
7
|
+
'include_aliases'?: {
|
|
8
|
+
[key: string]: Array<string>;
|
|
9
|
+
};
|
|
10
|
+
'target_channel'?: EstimateNotificationRecipientsRequestTargetChannelEnum;
|
|
11
|
+
static readonly discriminator: string | undefined;
|
|
12
|
+
static readonly attributeTypeMap: Array<{
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
format: string;
|
|
17
|
+
}>;
|
|
18
|
+
static getAttributeTypeMap(): {
|
|
19
|
+
name: string;
|
|
20
|
+
baseName: string;
|
|
21
|
+
type: string;
|
|
22
|
+
format: string;
|
|
23
|
+
}[];
|
|
24
|
+
constructor();
|
|
25
|
+
}
|
|
26
|
+
export type EstimateNotificationRecipientsRequestTargetChannelEnum = "push" | "email" | "sms";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EstimateNotificationRecipientsRequest = void 0;
|
|
4
|
+
class EstimateNotificationRecipientsRequest {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EstimateNotificationRecipientsRequest.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EstimateNotificationRecipientsRequest = EstimateNotificationRecipientsRequest;
|
|
12
|
+
EstimateNotificationRecipientsRequest.discriminator = undefined;
|
|
13
|
+
EstimateNotificationRecipientsRequest.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "included_segments",
|
|
16
|
+
"baseName": "included_segments",
|
|
17
|
+
"type": "Array<string>",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "excluded_segments",
|
|
22
|
+
"baseName": "excluded_segments",
|
|
23
|
+
"type": "Array<string>",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "app_id",
|
|
28
|
+
"baseName": "app_id",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "filters",
|
|
34
|
+
"baseName": "filters",
|
|
35
|
+
"type": "Array<FilterExpression>",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "include_aliases",
|
|
40
|
+
"baseName": "include_aliases",
|
|
41
|
+
"type": "{ [key: string]: Array<string>; }",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "target_channel",
|
|
46
|
+
"baseName": "target_channel",
|
|
47
|
+
"type": "EstimateNotificationRecipientsRequestTargetChannelEnum",
|
|
48
|
+
"format": ""
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
//# sourceMappingURL=EstimateNotificationRecipientsRequest.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FilterExpression } from './FilterExpression';
|
|
2
|
+
export declare class EstimateNotificationRecipientsRequestAllOf {
|
|
3
|
+
'app_id'?: string;
|
|
4
|
+
'filters'?: Array<FilterExpression>;
|
|
5
|
+
'include_aliases'?: {
|
|
6
|
+
[key: string]: Array<string>;
|
|
7
|
+
};
|
|
8
|
+
'target_channel'?: EstimateNotificationRecipientsRequestAllOfTargetChannelEnum;
|
|
9
|
+
static readonly discriminator: string | undefined;
|
|
10
|
+
static readonly attributeTypeMap: Array<{
|
|
11
|
+
name: string;
|
|
12
|
+
baseName: string;
|
|
13
|
+
type: string;
|
|
14
|
+
format: string;
|
|
15
|
+
}>;
|
|
16
|
+
static getAttributeTypeMap(): {
|
|
17
|
+
name: string;
|
|
18
|
+
baseName: string;
|
|
19
|
+
type: string;
|
|
20
|
+
format: string;
|
|
21
|
+
}[];
|
|
22
|
+
constructor();
|
|
23
|
+
}
|
|
24
|
+
export type EstimateNotificationRecipientsRequestAllOfTargetChannelEnum = "push" | "email" | "sms";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EstimateNotificationRecipientsRequestAllOf = void 0;
|
|
4
|
+
class EstimateNotificationRecipientsRequestAllOf {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EstimateNotificationRecipientsRequestAllOf.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EstimateNotificationRecipientsRequestAllOf = EstimateNotificationRecipientsRequestAllOf;
|
|
12
|
+
EstimateNotificationRecipientsRequestAllOf.discriminator = undefined;
|
|
13
|
+
EstimateNotificationRecipientsRequestAllOf.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "app_id",
|
|
16
|
+
"baseName": "app_id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "filters",
|
|
22
|
+
"baseName": "filters",
|
|
23
|
+
"type": "Array<FilterExpression>",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "include_aliases",
|
|
28
|
+
"baseName": "include_aliases",
|
|
29
|
+
"type": "{ [key: string]: Array<string>; }",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "target_channel",
|
|
34
|
+
"baseName": "target_channel",
|
|
35
|
+
"type": "EstimateNotificationRecipientsRequestAllOfTargetChannelEnum",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
//# sourceMappingURL=EstimateNotificationRecipientsRequestAllOf.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class EstimateNotificationRecipientsSuccessResponse {
|
|
2
|
+
'count'?: number;
|
|
3
|
+
'uncapped_count'?: number;
|
|
4
|
+
'cap_applied'?: boolean;
|
|
5
|
+
'mobile_suppressed'?: boolean;
|
|
6
|
+
'mobile_excluded_count'?: number;
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EstimateNotificationRecipientsSuccessResponse = void 0;
|
|
4
|
+
class EstimateNotificationRecipientsSuccessResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
6
|
+
return EstimateNotificationRecipientsSuccessResponse.attributeTypeMap;
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.EstimateNotificationRecipientsSuccessResponse = EstimateNotificationRecipientsSuccessResponse;
|
|
12
|
+
EstimateNotificationRecipientsSuccessResponse.discriminator = undefined;
|
|
13
|
+
EstimateNotificationRecipientsSuccessResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "count",
|
|
16
|
+
"baseName": "count",
|
|
17
|
+
"type": "number",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "uncapped_count",
|
|
22
|
+
"baseName": "uncapped_count",
|
|
23
|
+
"type": "number",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "cap_applied",
|
|
28
|
+
"baseName": "cap_applied",
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "mobile_suppressed",
|
|
34
|
+
"baseName": "mobile_suppressed",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "mobile_excluded_count",
|
|
40
|
+
"baseName": "mobile_excluded_count",
|
|
41
|
+
"type": "number",
|
|
42
|
+
"format": ""
|
|
43
|
+
}
|
|
44
|
+
];
|
|
45
|
+
//# sourceMappingURL=EstimateNotificationRecipientsSuccessResponse.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BasicNotificationAllOfAndroidBackgroundLayout } from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
2
2
|
import { Button } from './Button';
|
|
3
|
+
import { EmailWarmUpRequest } from './EmailWarmUpRequest';
|
|
3
4
|
import { FilterExpression } from './FilterExpression';
|
|
4
5
|
import { LanguageStringMap } from './LanguageStringMap';
|
|
5
6
|
import { WebButton } from './WebButton';
|
|
@@ -115,6 +116,8 @@ export declare class Notification {
|
|
|
115
116
|
'include_unsubscribed'?: boolean;
|
|
116
117
|
'email_bcc'?: Array<string>;
|
|
117
118
|
'email_sender_domain'?: string;
|
|
119
|
+
'kind'?: NotificationKindEnum;
|
|
120
|
+
'email_warm_up'?: EmailWarmUpRequest;
|
|
118
121
|
'sms_from'?: string;
|
|
119
122
|
'sms_media_urls'?: Array<string>;
|
|
120
123
|
'filters'?: Array<FilterExpression>;
|
|
@@ -142,4 +145,5 @@ export declare class Notification {
|
|
|
142
145
|
}
|
|
143
146
|
export type NotificationTargetChannelEnum = "push" | "email" | "sms";
|
|
144
147
|
export type NotificationAggregationEnum = "sum" | "count";
|
|
148
|
+
export type NotificationKindEnum = "warmup";
|
|
145
149
|
export type NotificationHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING";
|
|
@@ -665,6 +665,18 @@ Notification.attributeTypeMap = [
|
|
|
665
665
|
"type": "string",
|
|
666
666
|
"format": ""
|
|
667
667
|
},
|
|
668
|
+
{
|
|
669
|
+
"name": "kind",
|
|
670
|
+
"baseName": "kind",
|
|
671
|
+
"type": "NotificationKindEnum",
|
|
672
|
+
"format": ""
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "email_warm_up",
|
|
676
|
+
"baseName": "email_warm_up",
|
|
677
|
+
"type": "EmailWarmUpRequest",
|
|
678
|
+
"format": ""
|
|
679
|
+
},
|
|
668
680
|
{
|
|
669
681
|
"name": "sms_from",
|
|
670
682
|
"baseName": "sms_from",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BasicNotificationAllOfAndroidBackgroundLayout } from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
2
2
|
import { Button } from './Button';
|
|
3
|
+
import { EmailWarmUp } from './EmailWarmUp';
|
|
3
4
|
import { FilterExpression } from './FilterExpression';
|
|
4
5
|
import { LanguageStringMap } from './LanguageStringMap';
|
|
5
6
|
import { OutcomeData } from './OutcomeData';
|
|
@@ -117,6 +118,8 @@ export declare class NotificationWithMeta {
|
|
|
117
118
|
'include_unsubscribed'?: boolean;
|
|
118
119
|
'email_bcc'?: Array<string>;
|
|
119
120
|
'email_sender_domain'?: string;
|
|
121
|
+
'kind'?: NotificationWithMetaKindEnum;
|
|
122
|
+
'email_warm_up'?: EmailWarmUp;
|
|
120
123
|
'sms_from'?: string;
|
|
121
124
|
'sms_media_urls'?: Array<string>;
|
|
122
125
|
'filters'?: Array<FilterExpression>;
|
|
@@ -156,4 +159,5 @@ export declare class NotificationWithMeta {
|
|
|
156
159
|
}
|
|
157
160
|
export type NotificationWithMetaTargetChannelEnum = "push" | "email" | "sms";
|
|
158
161
|
export type NotificationWithMetaAggregationEnum = "sum" | "count";
|
|
162
|
+
export type NotificationWithMetaKindEnum = "warmup";
|
|
159
163
|
export type NotificationWithMetaHuaweiCategoryEnum = "IM" | "VOIP" | "SUBSCRIPTION" | "TRAVEL" | "HEALTH" | "WORK" | "ACCOUNT" | "EXPRESS" | "FINANCE" | "DEVICE_REMINDER" | "MAIL" | "MARKETING";
|
|
@@ -665,6 +665,18 @@ NotificationWithMeta.attributeTypeMap = [
|
|
|
665
665
|
"type": "string",
|
|
666
666
|
"format": ""
|
|
667
667
|
},
|
|
668
|
+
{
|
|
669
|
+
"name": "kind",
|
|
670
|
+
"baseName": "kind",
|
|
671
|
+
"type": "NotificationWithMetaKindEnum",
|
|
672
|
+
"format": ""
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "email_warm_up",
|
|
676
|
+
"baseName": "email_warm_up",
|
|
677
|
+
"type": "EmailWarmUp",
|
|
678
|
+
"format": ""
|
|
679
|
+
},
|
|
668
680
|
{
|
|
669
681
|
"name": "sms_from",
|
|
670
682
|
"baseName": "sms_from",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EmailWarmUp } from './EmailWarmUp';
|
|
1
2
|
import { PlatformDeliveryData } from './PlatformDeliveryData';
|
|
2
3
|
export declare class NotificationWithMetaAllOf {
|
|
3
4
|
'remaining'?: number;
|
|
@@ -14,6 +15,7 @@ export declare class NotificationWithMetaAllOf {
|
|
|
14
15
|
'canceled'?: boolean;
|
|
15
16
|
'email_bcc'?: Array<string>;
|
|
16
17
|
'bcc_sent'?: number;
|
|
18
|
+
'email_warm_up'?: EmailWarmUp;
|
|
17
19
|
static readonly discriminator: string | undefined;
|
|
18
20
|
static readonly attributeTypeMap: Array<{
|
|
19
21
|
name: string;
|
|
@@ -94,6 +94,12 @@ NotificationWithMetaAllOf.attributeTypeMap = [
|
|
|
94
94
|
"baseName": "bcc_sent",
|
|
95
95
|
"type": "number",
|
|
96
96
|
"format": ""
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "email_warm_up",
|
|
100
|
+
"baseName": "email_warm_up",
|
|
101
|
+
"type": "EmailWarmUp",
|
|
102
|
+
"format": ""
|
|
97
103
|
}
|
|
98
104
|
];
|
|
99
105
|
//# sourceMappingURL=NotificationWithMetaAllOf.js.map
|
|
@@ -23,6 +23,12 @@ export * from './CreateUserConflictResponseErrorsItemsMeta';
|
|
|
23
23
|
export * from './CustomEvent';
|
|
24
24
|
export * from './CustomEventsRequest';
|
|
25
25
|
export * from './DeliveryData';
|
|
26
|
+
export * from './EmailWarmUp';
|
|
27
|
+
export * from './EmailWarmUpRequest';
|
|
28
|
+
export * from './EmailWarmUpStage';
|
|
29
|
+
export * from './EstimateNotificationRecipientsRequest';
|
|
30
|
+
export * from './EstimateNotificationRecipientsRequestAllOf';
|
|
31
|
+
export * from './EstimateNotificationRecipientsSuccessResponse';
|
|
26
32
|
export * from './ExportEventsSuccessResponse';
|
|
27
33
|
export * from './ExportSubscriptionsRequestBody';
|
|
28
34
|
export * from './ExportSubscriptionsSuccessResponse';
|
|
@@ -40,6 +40,12 @@ __exportStar(require("./CreateUserConflictResponseErrorsItemsMeta"), exports);
|
|
|
40
40
|
__exportStar(require("./CustomEvent"), exports);
|
|
41
41
|
__exportStar(require("./CustomEventsRequest"), exports);
|
|
42
42
|
__exportStar(require("./DeliveryData"), exports);
|
|
43
|
+
__exportStar(require("./EmailWarmUp"), exports);
|
|
44
|
+
__exportStar(require("./EmailWarmUpRequest"), exports);
|
|
45
|
+
__exportStar(require("./EmailWarmUpStage"), exports);
|
|
46
|
+
__exportStar(require("./EstimateNotificationRecipientsRequest"), exports);
|
|
47
|
+
__exportStar(require("./EstimateNotificationRecipientsRequestAllOf"), exports);
|
|
48
|
+
__exportStar(require("./EstimateNotificationRecipientsSuccessResponse"), exports);
|
|
43
49
|
__exportStar(require("./ExportEventsSuccessResponse"), exports);
|
|
44
50
|
__exportStar(require("./ExportSubscriptionsRequestBody"), exports);
|
|
45
51
|
__exportStar(require("./ExportSubscriptionsSuccessResponse"), exports);
|
|
@@ -141,6 +147,12 @@ const CreateUserConflictResponseErrorsItemsMeta_1 = require("./CreateUserConflic
|
|
|
141
147
|
const CustomEvent_1 = require("./CustomEvent");
|
|
142
148
|
const CustomEventsRequest_1 = require("./CustomEventsRequest");
|
|
143
149
|
const DeliveryData_1 = require("./DeliveryData");
|
|
150
|
+
const EmailWarmUp_1 = require("./EmailWarmUp");
|
|
151
|
+
const EmailWarmUpRequest_1 = require("./EmailWarmUpRequest");
|
|
152
|
+
const EmailWarmUpStage_1 = require("./EmailWarmUpStage");
|
|
153
|
+
const EstimateNotificationRecipientsRequest_1 = require("./EstimateNotificationRecipientsRequest");
|
|
154
|
+
const EstimateNotificationRecipientsRequestAllOf_1 = require("./EstimateNotificationRecipientsRequestAllOf");
|
|
155
|
+
const EstimateNotificationRecipientsSuccessResponse_1 = require("./EstimateNotificationRecipientsSuccessResponse");
|
|
144
156
|
const ExportEventsSuccessResponse_1 = require("./ExportEventsSuccessResponse");
|
|
145
157
|
const ExportSubscriptionsRequestBody_1 = require("./ExportSubscriptionsRequestBody");
|
|
146
158
|
const ExportSubscriptionsSuccessResponse_1 = require("./ExportSubscriptionsSuccessResponse");
|
|
@@ -237,10 +249,17 @@ let enumsMap = new Set([
|
|
|
237
249
|
"AppApnsEnvEnum",
|
|
238
250
|
"BasicNotificationTargetChannelEnum",
|
|
239
251
|
"BasicNotificationAggregationEnum",
|
|
252
|
+
"BasicNotificationKindEnum",
|
|
240
253
|
"BasicNotificationHuaweiCategoryEnum",
|
|
241
254
|
"BasicNotificationAllOfAggregationEnum",
|
|
255
|
+
"BasicNotificationAllOfKindEnum",
|
|
242
256
|
"BasicNotificationAllOfHuaweiCategoryEnum",
|
|
243
257
|
"CreateApiKeyRequestIpAllowlistModeEnum",
|
|
258
|
+
"EmailWarmUpStrategyEnum",
|
|
259
|
+
"EmailWarmUpStatusEnum",
|
|
260
|
+
"EmailWarmUpRequestStrategyEnum",
|
|
261
|
+
"EstimateNotificationRecipientsRequestTargetChannelEnum",
|
|
262
|
+
"EstimateNotificationRecipientsRequestAllOfTargetChannelEnum",
|
|
244
263
|
"FilterRelationEnum",
|
|
245
264
|
"FilterExpressionRelationEnum",
|
|
246
265
|
"FilterExpressionOperatorEnum",
|
|
@@ -257,10 +276,12 @@ let enumsMap = new Set([
|
|
|
257
276
|
"JourneyNodeStatsKindEnum",
|
|
258
277
|
"NotificationTargetChannelEnum",
|
|
259
278
|
"NotificationAggregationEnum",
|
|
279
|
+
"NotificationKindEnum",
|
|
260
280
|
"NotificationHuaweiCategoryEnum",
|
|
261
281
|
"NotificationTargetTargetChannelEnum",
|
|
262
282
|
"NotificationWithMetaTargetChannelEnum",
|
|
263
283
|
"NotificationWithMetaAggregationEnum",
|
|
284
|
+
"NotificationWithMetaKindEnum",
|
|
264
285
|
"NotificationWithMetaHuaweiCategoryEnum",
|
|
265
286
|
"OperatorOperatorEnum",
|
|
266
287
|
"OutcomeDataAggregationEnum",
|
|
@@ -300,6 +321,12 @@ let typeMap = {
|
|
|
300
321
|
"CustomEvent": CustomEvent_1.CustomEvent,
|
|
301
322
|
"CustomEventsRequest": CustomEventsRequest_1.CustomEventsRequest,
|
|
302
323
|
"DeliveryData": DeliveryData_1.DeliveryData,
|
|
324
|
+
"EmailWarmUp": EmailWarmUp_1.EmailWarmUp,
|
|
325
|
+
"EmailWarmUpRequest": EmailWarmUpRequest_1.EmailWarmUpRequest,
|
|
326
|
+
"EmailWarmUpStage": EmailWarmUpStage_1.EmailWarmUpStage,
|
|
327
|
+
"EstimateNotificationRecipientsRequest": EstimateNotificationRecipientsRequest_1.EstimateNotificationRecipientsRequest,
|
|
328
|
+
"EstimateNotificationRecipientsRequestAllOf": EstimateNotificationRecipientsRequestAllOf_1.EstimateNotificationRecipientsRequestAllOf,
|
|
329
|
+
"EstimateNotificationRecipientsSuccessResponse": EstimateNotificationRecipientsSuccessResponse_1.EstimateNotificationRecipientsSuccessResponse,
|
|
303
330
|
"ExportEventsSuccessResponse": ExportEventsSuccessResponse_1.ExportEventsSuccessResponse,
|
|
304
331
|
"ExportSubscriptionsRequestBody": ExportSubscriptionsRequestBody_1.ExportSubscriptionsRequestBody,
|
|
305
332
|
"ExportSubscriptionsSuccessResponse": ExportSubscriptionsSuccessResponse_1.ExportSubscriptionsSuccessResponse,
|
package/dist/models/all.d.ts
CHANGED
|
@@ -23,6 +23,12 @@ export * from './CreateUserConflictResponseErrorsItemsMeta';
|
|
|
23
23
|
export * from './CustomEvent';
|
|
24
24
|
export * from './CustomEventsRequest';
|
|
25
25
|
export * from './DeliveryData';
|
|
26
|
+
export * from './EmailWarmUp';
|
|
27
|
+
export * from './EmailWarmUpRequest';
|
|
28
|
+
export * from './EmailWarmUpStage';
|
|
29
|
+
export * from './EstimateNotificationRecipientsRequest';
|
|
30
|
+
export * from './EstimateNotificationRecipientsRequestAllOf';
|
|
31
|
+
export * from './EstimateNotificationRecipientsSuccessResponse';
|
|
26
32
|
export * from './ExportEventsSuccessResponse';
|
|
27
33
|
export * from './ExportSubscriptionsRequestBody';
|
|
28
34
|
export * from './ExportSubscriptionsSuccessResponse';
|
package/dist/models/all.js
CHANGED
|
@@ -39,6 +39,12 @@ __exportStar(require("./CreateUserConflictResponseErrorsItemsMeta"), exports);
|
|
|
39
39
|
__exportStar(require("./CustomEvent"), exports);
|
|
40
40
|
__exportStar(require("./CustomEventsRequest"), exports);
|
|
41
41
|
__exportStar(require("./DeliveryData"), exports);
|
|
42
|
+
__exportStar(require("./EmailWarmUp"), exports);
|
|
43
|
+
__exportStar(require("./EmailWarmUpRequest"), exports);
|
|
44
|
+
__exportStar(require("./EmailWarmUpStage"), exports);
|
|
45
|
+
__exportStar(require("./EstimateNotificationRecipientsRequest"), exports);
|
|
46
|
+
__exportStar(require("./EstimateNotificationRecipientsRequestAllOf"), exports);
|
|
47
|
+
__exportStar(require("./EstimateNotificationRecipientsSuccessResponse"), exports);
|
|
42
48
|
__exportStar(require("./ExportEventsSuccessResponse"), exports);
|
|
43
49
|
__exportStar(require("./ExportSubscriptionsRequestBody"), exports);
|
|
44
50
|
__exportStar(require("./ExportSubscriptionsSuccessResponse"), exports);
|