@onesignal/node-onesignal 5.7.0 → 5.8.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.js +2282 -4372
- package/dist/apis/baseapi.js +11 -30
- package/dist/apis/exception.js +9 -26
- package/dist/auth/auth.js +17 -83
- package/dist/configuration.js +9 -9
- package/dist/http/http.js +53 -132
- package/dist/http/isomorphic-fetch.js +15 -18
- 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.js +136 -137
- package/dist/util.js +2 -2
- package/package.json +4 -2
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BasicNotificationAllOfAndroidBackgroundLayout = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
BasicNotificationAllOfAndroidBackgroundLayout.getAttributeTypeMap = function () {
|
|
4
|
+
class BasicNotificationAllOfAndroidBackgroundLayout {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return BasicNotificationAllOfAndroidBackgroundLayout.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "image",
|
|
14
|
-
"baseName": "image",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "headings_color",
|
|
20
|
-
"baseName": "headings_color",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "contents_color",
|
|
26
|
-
"baseName": "contents_color",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"format": ""
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
return BasicNotificationAllOfAndroidBackgroundLayout;
|
|
32
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
33
11
|
exports.BasicNotificationAllOfAndroidBackgroundLayout = BasicNotificationAllOfAndroidBackgroundLayout;
|
|
12
|
+
BasicNotificationAllOfAndroidBackgroundLayout.discriminator = undefined;
|
|
13
|
+
BasicNotificationAllOfAndroidBackgroundLayout.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "image",
|
|
16
|
+
"baseName": "image",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "headings_color",
|
|
22
|
+
"baseName": "headings_color",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "contents_color",
|
|
28
|
+
"baseName": "contents_color",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
}
|
|
32
|
+
];
|
|
34
33
|
//# sourceMappingURL=BasicNotificationAllOfAndroidBackgroundLayout.js.map
|
package/dist/models/Button.js
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Button = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
Button.getAttributeTypeMap = function () {
|
|
4
|
+
class Button {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return Button.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "id",
|
|
14
|
-
"baseName": "id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "text",
|
|
20
|
-
"baseName": "text",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "icon",
|
|
26
|
-
"baseName": "icon",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"format": ""
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
return Button;
|
|
32
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
33
11
|
exports.Button = Button;
|
|
12
|
+
Button.discriminator = undefined;
|
|
13
|
+
Button.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "id",
|
|
16
|
+
"baseName": "id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "text",
|
|
22
|
+
"baseName": "text",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "icon",
|
|
28
|
+
"baseName": "icon",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
}
|
|
32
|
+
];
|
|
34
33
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CopyTemplateRequest = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CopyTemplateRequest.getAttributeTypeMap = function () {
|
|
4
|
+
class CopyTemplateRequest {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CopyTemplateRequest.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "target_app_id",
|
|
14
|
-
"baseName": "target_app_id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
return CopyTemplateRequest;
|
|
20
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
21
11
|
exports.CopyTemplateRequest = CopyTemplateRequest;
|
|
12
|
+
CopyTemplateRequest.discriminator = undefined;
|
|
13
|
+
CopyTemplateRequest.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "target_app_id",
|
|
16
|
+
"baseName": "target_app_id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
}
|
|
20
|
+
];
|
|
22
21
|
//# sourceMappingURL=CopyTemplateRequest.js.map
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateApiKeyRequest = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateApiKeyRequest.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateApiKeyRequest {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateApiKeyRequest.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "name",
|
|
14
|
-
"baseName": "name",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "ip_allowlist_mode",
|
|
20
|
-
"baseName": "ip_allowlist_mode",
|
|
21
|
-
"type": "CreateApiKeyRequestIpAllowlistModeEnum",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "ip_allowlist",
|
|
26
|
-
"baseName": "ip_allowlist",
|
|
27
|
-
"type": "Array<string>",
|
|
28
|
-
"format": ""
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
return CreateApiKeyRequest;
|
|
32
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
33
11
|
exports.CreateApiKeyRequest = CreateApiKeyRequest;
|
|
12
|
+
CreateApiKeyRequest.discriminator = undefined;
|
|
13
|
+
CreateApiKeyRequest.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "name",
|
|
16
|
+
"baseName": "name",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "ip_allowlist_mode",
|
|
22
|
+
"baseName": "ip_allowlist_mode",
|
|
23
|
+
"type": "CreateApiKeyRequestIpAllowlistModeEnum",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "ip_allowlist",
|
|
28
|
+
"baseName": "ip_allowlist",
|
|
29
|
+
"type": "Array<string>",
|
|
30
|
+
"format": ""
|
|
31
|
+
}
|
|
32
|
+
];
|
|
34
33
|
//# sourceMappingURL=CreateApiKeyRequest.js.map
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateApiKeyResponse = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateApiKeyResponse.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateApiKeyResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateApiKeyResponse.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "token_id",
|
|
14
|
-
"baseName": "token_id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "formatted_token",
|
|
20
|
-
"baseName": "formatted_token",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
return CreateApiKeyResponse;
|
|
26
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
27
11
|
exports.CreateApiKeyResponse = CreateApiKeyResponse;
|
|
12
|
+
CreateApiKeyResponse.discriminator = undefined;
|
|
13
|
+
CreateApiKeyResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "token_id",
|
|
16
|
+
"baseName": "token_id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "formatted_token",
|
|
22
|
+
"baseName": "formatted_token",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
}
|
|
26
|
+
];
|
|
28
27
|
//# sourceMappingURL=CreateApiKeyResponse.js.map
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateNotificationSuccessResponse = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateNotificationSuccessResponse.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateNotificationSuccessResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateNotificationSuccessResponse.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "id",
|
|
14
|
-
"baseName": "id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "external_id",
|
|
20
|
-
"baseName": "external_id",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "errors",
|
|
26
|
-
"baseName": "errors",
|
|
27
|
-
"type": "any",
|
|
28
|
-
"format": ""
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
return CreateNotificationSuccessResponse;
|
|
32
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
33
11
|
exports.CreateNotificationSuccessResponse = CreateNotificationSuccessResponse;
|
|
12
|
+
CreateNotificationSuccessResponse.discriminator = undefined;
|
|
13
|
+
CreateNotificationSuccessResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "id",
|
|
16
|
+
"baseName": "id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "external_id",
|
|
22
|
+
"baseName": "external_id",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "errors",
|
|
28
|
+
"baseName": "errors",
|
|
29
|
+
"type": "any",
|
|
30
|
+
"format": ""
|
|
31
|
+
}
|
|
32
|
+
];
|
|
34
33
|
//# sourceMappingURL=CreateNotificationSuccessResponse.js.map
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateSegmentConflictResponse = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateSegmentConflictResponse.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateSegmentConflictResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateSegmentConflictResponse.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "success",
|
|
14
|
-
"baseName": "success",
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "errors",
|
|
20
|
-
"baseName": "errors",
|
|
21
|
-
"type": "Array<string>",
|
|
22
|
-
"format": ""
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
return CreateSegmentConflictResponse;
|
|
26
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
27
11
|
exports.CreateSegmentConflictResponse = CreateSegmentConflictResponse;
|
|
12
|
+
CreateSegmentConflictResponse.discriminator = undefined;
|
|
13
|
+
CreateSegmentConflictResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "success",
|
|
16
|
+
"baseName": "success",
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "errors",
|
|
22
|
+
"baseName": "errors",
|
|
23
|
+
"type": "Array<string>",
|
|
24
|
+
"format": ""
|
|
25
|
+
}
|
|
26
|
+
];
|
|
28
27
|
//# sourceMappingURL=CreateSegmentConflictResponse.js.map
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateSegmentSuccessResponse = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateSegmentSuccessResponse.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateSegmentSuccessResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateSegmentSuccessResponse.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "success",
|
|
14
|
-
"baseName": "success",
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "id",
|
|
20
|
-
"baseName": "id",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
return CreateSegmentSuccessResponse;
|
|
26
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
27
11
|
exports.CreateSegmentSuccessResponse = CreateSegmentSuccessResponse;
|
|
12
|
+
CreateSegmentSuccessResponse.discriminator = undefined;
|
|
13
|
+
CreateSegmentSuccessResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "success",
|
|
16
|
+
"baseName": "success",
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "id",
|
|
22
|
+
"baseName": "id",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
}
|
|
26
|
+
];
|
|
28
27
|
//# sourceMappingURL=CreateSegmentSuccessResponse.js.map
|
|
@@ -1,82 +1,81 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateTemplateRequest = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateTemplateRequest.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateTemplateRequest {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateTemplateRequest.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "app_id",
|
|
14
|
-
"baseName": "app_id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"format": ""
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "name",
|
|
20
|
-
"baseName": "name",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"format": ""
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "contents",
|
|
26
|
-
"baseName": "contents",
|
|
27
|
-
"type": "LanguageStringMap",
|
|
28
|
-
"format": ""
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "headings",
|
|
32
|
-
"baseName": "headings",
|
|
33
|
-
"type": "LanguageStringMap",
|
|
34
|
-
"format": ""
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "subtitle",
|
|
38
|
-
"baseName": "subtitle",
|
|
39
|
-
"type": "LanguageStringMap",
|
|
40
|
-
"format": ""
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "is_email",
|
|
44
|
-
"baseName": "isEmail",
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"format": ""
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "email_subject",
|
|
50
|
-
"baseName": "email_subject",
|
|
51
|
-
"type": "string",
|
|
52
|
-
"format": ""
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "email_body",
|
|
56
|
-
"baseName": "email_body",
|
|
57
|
-
"type": "string",
|
|
58
|
-
"format": ""
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "email_bcc",
|
|
62
|
-
"baseName": "email_bcc",
|
|
63
|
-
"type": "Array<string>",
|
|
64
|
-
"format": ""
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"name": "is_sms",
|
|
68
|
-
"baseName": "isSMS",
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"format": ""
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "dynamic_content",
|
|
74
|
-
"baseName": "dynamic_content",
|
|
75
|
-
"type": "string",
|
|
76
|
-
"format": ""
|
|
77
|
-
}
|
|
78
|
-
];
|
|
79
|
-
return CreateTemplateRequest;
|
|
80
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
81
11
|
exports.CreateTemplateRequest = CreateTemplateRequest;
|
|
12
|
+
CreateTemplateRequest.discriminator = undefined;
|
|
13
|
+
CreateTemplateRequest.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "app_id",
|
|
16
|
+
"baseName": "app_id",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": ""
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "name",
|
|
22
|
+
"baseName": "name",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": ""
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "contents",
|
|
28
|
+
"baseName": "contents",
|
|
29
|
+
"type": "LanguageStringMap",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "headings",
|
|
34
|
+
"baseName": "headings",
|
|
35
|
+
"type": "LanguageStringMap",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "subtitle",
|
|
40
|
+
"baseName": "subtitle",
|
|
41
|
+
"type": "LanguageStringMap",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "is_email",
|
|
46
|
+
"baseName": "isEmail",
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "email_subject",
|
|
52
|
+
"baseName": "email_subject",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "email_body",
|
|
58
|
+
"baseName": "email_body",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"format": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "email_bcc",
|
|
64
|
+
"baseName": "email_bcc",
|
|
65
|
+
"type": "Array<string>",
|
|
66
|
+
"format": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "is_sms",
|
|
70
|
+
"baseName": "isSMS",
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"format": ""
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "dynamic_content",
|
|
76
|
+
"baseName": "dynamic_content",
|
|
77
|
+
"type": "string",
|
|
78
|
+
"format": ""
|
|
79
|
+
}
|
|
80
|
+
];
|
|
82
81
|
//# sourceMappingURL=CreateTemplateRequest.js.map
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateUserConflictResponse = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
CreateUserConflictResponse.getAttributeTypeMap = function () {
|
|
4
|
+
class CreateUserConflictResponse {
|
|
5
|
+
static getAttributeTypeMap() {
|
|
8
6
|
return CreateUserConflictResponse.attributeTypeMap;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"name": "errors",
|
|
14
|
-
"baseName": "errors",
|
|
15
|
-
"type": "Array<CreateUserConflictResponseErrorsInner>",
|
|
16
|
-
"format": ""
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
return CreateUserConflictResponse;
|
|
20
|
-
}());
|
|
7
|
+
}
|
|
8
|
+
constructor() {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
21
11
|
exports.CreateUserConflictResponse = CreateUserConflictResponse;
|
|
12
|
+
CreateUserConflictResponse.discriminator = undefined;
|
|
13
|
+
CreateUserConflictResponse.attributeTypeMap = [
|
|
14
|
+
{
|
|
15
|
+
"name": "errors",
|
|
16
|
+
"baseName": "errors",
|
|
17
|
+
"type": "Array<CreateUserConflictResponseErrorsInner>",
|
|
18
|
+
"format": ""
|
|
19
|
+
}
|
|
20
|
+
];
|
|
22
21
|
//# sourceMappingURL=CreateUserConflictResponse.js.map
|