@onesignal/node-onesignal 5.2.1-beta1 → 5.3.1-beta1
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 +40 -0
- package/dist/apis/DefaultApi.js +1363 -100
- package/dist/models/ApiKeyToken.d.ts +23 -0
- package/dist/models/ApiKeyToken.js +52 -0
- package/dist/models/ApiKeyTokensListResponse.d.ts +18 -0
- package/dist/models/ApiKeyTokensListResponse.js +22 -0
- package/dist/models/CopyTemplateRequest.d.ts +17 -0
- package/dist/models/CopyTemplateRequest.js +22 -0
- package/dist/models/CreateApiKeyRequest.d.ts +20 -0
- package/dist/models/CreateApiKeyRequest.js +34 -0
- package/dist/models/CreateApiKeyResponse.d.ts +18 -0
- package/dist/models/CreateApiKeyResponse.js +28 -0
- package/dist/models/CreateTemplateRequest.d.ts +25 -0
- package/dist/models/CreateTemplateRequest.js +64 -0
- package/dist/models/CustomEvent.d.ts +23 -0
- package/dist/models/CustomEvent.js +46 -0
- package/dist/models/CustomEventsRequest.d.ts +18 -0
- package/dist/models/CustomEventsRequest.js +22 -0
- package/dist/models/NotificationWithMeta.d.ts +1 -0
- package/dist/models/NotificationWithMeta.js +6 -0
- package/dist/models/NotificationWithMetaAllOf.d.ts +1 -0
- package/dist/models/NotificationWithMetaAllOf.js +6 -0
- package/dist/models/ObjectSerializer.d.ts +14 -0
- package/dist/models/ObjectSerializer.js +47 -0
- package/dist/models/StartLiveActivityRequest.d.ts +37 -0
- package/dist/models/StartLiveActivityRequest.js +112 -0
- package/dist/models/StartLiveActivitySuccessResponse.d.ts +17 -0
- package/dist/models/StartLiveActivitySuccessResponse.js +22 -0
- package/dist/models/TemplateResource.d.ts +25 -0
- package/dist/models/TemplateResource.js +52 -0
- package/dist/models/TemplatesListResponse.d.ts +18 -0
- package/dist/models/TemplatesListResponse.js +22 -0
- package/dist/models/UpdateApiKeyRequest.d.ts +20 -0
- package/dist/models/UpdateApiKeyRequest.js +34 -0
- package/dist/models/UpdateTemplateRequest.d.ts +24 -0
- package/dist/models/UpdateTemplateRequest.js +58 -0
- package/dist/models/all.d.ts +14 -0
- package/dist/models/all.js +14 -0
- package/dist/types/ObjectParamAPI.d.ts +88 -0
- package/dist/types/ObjectParamAPI.js +42 -0
- package/dist/types/ObservableAPI.d.ts +26 -0
- package/dist/types/ObservableAPI.js +422 -86
- package/dist/types/PromiseAPI.d.ts +26 -0
- package/dist/types/PromiseAPI.js +56 -0
- package/package.json +9 -3
- package/.github/ISSUE_TEMPLATE/ask-question.yml +0 -25
- package/.github/ISSUE_TEMPLATE/bug-report.yml +0 -51
- package/.github/ISSUE_TEMPLATE/general-feedback.yml +0 -25
- package/.github/pull_request_template.md +0 -44
- package/.github/workflows/asana-add-comment.yml +0 -47
- package/.github/workflows/asana-create-task.yml +0 -119
- package/.github/workflows/asana-update-issue.yml +0 -172
- package/.github/workflows/npm_deploy.yml +0 -22
- package/.github/workflows/project.yml +0 -17
- package/CHANGELOG.md +0 -48
- package/DefaultApi.md +0 -2177
- package/RELEASE_INSTRUCTIONS.md +0 -2
- package/apis/DefaultApi.ts +0 -3270
- package/apis/baseapi.ts +0 -37
- package/apis/exception.ts +0 -15
- package/auth/auth.ts +0 -110
- package/configuration.ts +0 -85
- package/dist/apis/DefaultApi.js.map +0 -1
- package/dist/apis/baseapi.js.map +0 -1
- package/dist/apis/exception.js.map +0 -1
- package/dist/auth/auth.js.map +0 -1
- package/dist/configuration.js.map +0 -1
- package/dist/http/http.js.map +0 -1
- package/dist/http/isomorphic-fetch.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/middleware.js.map +0 -1
- package/dist/models/App.js.map +0 -1
- package/dist/models/BasicNotification.js.map +0 -1
- package/dist/models/BasicNotificationAllOf.js.map +0 -1
- package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.js.map +0 -1
- package/dist/models/Button.js.map +0 -1
- package/dist/models/CreateNotificationSuccessResponse.js.map +0 -1
- package/dist/models/CreateSegmentConflictResponse.js.map +0 -1
- package/dist/models/CreateSegmentSuccessResponse.js.map +0 -1
- package/dist/models/CreateUserConflictResponse.js.map +0 -1
- package/dist/models/CreateUserConflictResponseErrorsInner.js.map +0 -1
- package/dist/models/CreateUserConflictResponseErrorsItemsMeta.js.map +0 -1
- package/dist/models/DeliveryData.js.map +0 -1
- package/dist/models/ExportEventsSuccessResponse.js.map +0 -1
- package/dist/models/ExportSubscriptionsRequestBody.js.map +0 -1
- package/dist/models/ExportSubscriptionsSuccessResponse.js.map +0 -1
- package/dist/models/Filter.js.map +0 -1
- package/dist/models/FilterExpression.js.map +0 -1
- package/dist/models/GenericError.js.map +0 -1
- package/dist/models/GenericSuccessBoolResponse.js.map +0 -1
- package/dist/models/GetNotificationHistoryRequestBody.js.map +0 -1
- package/dist/models/GetSegmentsSuccessResponse.js.map +0 -1
- package/dist/models/LanguageStringMap.js.map +0 -1
- package/dist/models/Notification.js.map +0 -1
- package/dist/models/NotificationAllOf.js.map +0 -1
- package/dist/models/NotificationHistorySuccessResponse.js.map +0 -1
- package/dist/models/NotificationSlice.js.map +0 -1
- package/dist/models/NotificationTarget.js.map +0 -1
- package/dist/models/NotificationWithMeta.js.map +0 -1
- package/dist/models/NotificationWithMetaAllOf.js.map +0 -1
- package/dist/models/ObjectSerializer.js.map +0 -1
- package/dist/models/Operator.js.map +0 -1
- package/dist/models/OutcomeData.js.map +0 -1
- package/dist/models/OutcomesData.js.map +0 -1
- package/dist/models/PlatformDeliveryData.js.map +0 -1
- package/dist/models/PlatformDeliveryDataEmailAllOf.js.map +0 -1
- package/dist/models/PlatformDeliveryDataSmsAllOf.js.map +0 -1
- package/dist/models/PropertiesBody.js.map +0 -1
- package/dist/models/PropertiesDeltas.js.map +0 -1
- package/dist/models/PropertiesObject.js.map +0 -1
- package/dist/models/Purchase.js.map +0 -1
- package/dist/models/RateLimitError.js.map +0 -1
- package/dist/models/Segment.js.map +0 -1
- package/dist/models/SegmentData.js.map +0 -1
- package/dist/models/SegmentNotificationTarget.js.map +0 -1
- package/dist/models/Subscription.js.map +0 -1
- package/dist/models/SubscriptionBody.js.map +0 -1
- package/dist/models/SubscriptionNotificationTarget.js.map +0 -1
- package/dist/models/TransferSubscriptionRequestBody.js.map +0 -1
- package/dist/models/UpdateLiveActivityRequest.js.map +0 -1
- package/dist/models/UpdateLiveActivitySuccessResponse.js.map +0 -1
- package/dist/models/UpdateUserRequest.js.map +0 -1
- package/dist/models/User.js.map +0 -1
- package/dist/models/UserIdentityBody.js.map +0 -1
- package/dist/models/WebButton.js.map +0 -1
- package/dist/models/all.js.map +0 -1
- package/dist/rxjsStub.js.map +0 -1
- package/dist/servers.js.map +0 -1
- package/dist/types/ObjectParamAPI.js.map +0 -1
- package/dist/types/ObservableAPI.js.map +0 -1
- package/dist/types/PromiseAPI.js.map +0 -1
- package/dist/util.js.map +0 -1
- package/http/http.ts +0 -205
- package/http/isomorphic-fetch.ts +0 -30
- package/index.ts +0 -12
- package/middleware.ts +0 -66
- package/models/App.ts +0 -328
- package/models/BasicNotification.ts +0 -1088
- package/models/BasicNotificationAllOf.ts +0 -958
- package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +0 -57
- package/models/Button.ts +0 -45
- package/models/CreateNotificationSuccessResponse.ts +0 -48
- package/models/CreateSegmentConflictResponse.ts +0 -38
- package/models/CreateSegmentSuccessResponse.ts +0 -41
- package/models/CreateUserConflictResponse.ts +0 -32
- package/models/CreateUserConflictResponseErrorsInner.ts +0 -46
- package/models/CreateUserConflictResponseErrorsItemsMeta.ts +0 -31
- package/models/DeliveryData.ts +0 -74
- package/models/ExportEventsSuccessResponse.ts +0 -31
- package/models/ExportSubscriptionsRequestBody.ts +0 -54
- package/models/ExportSubscriptionsSuccessResponse.ts +0 -31
- package/models/Filter.ts +0 -107
- package/models/FilterExpression.ts +0 -120
- package/models/GenericError.ts +0 -45
- package/models/GenericSuccessBoolResponse.ts +0 -31
- package/models/GetNotificationHistoryRequestBody.ts +0 -54
- package/models/GetSegmentsSuccessResponse.ts +0 -65
- package/models/LanguageStringMap.ts +0 -454
- package/models/Notification.ts +0 -1098
- package/models/NotificationAllOf.ts +0 -34
- package/models/NotificationHistorySuccessResponse.ts +0 -38
- package/models/NotificationSlice.ts +0 -53
- package/models/NotificationTarget.ts +0 -156
- package/models/NotificationWithMeta.ts +0 -1196
- package/models/NotificationWithMetaAllOf.ts +0 -132
- package/models/ObjectSerializer.ts +0 -395
- package/models/Operator.ts +0 -37
- package/models/OutcomeData.ts +0 -48
- package/models/OutcomesData.ts +0 -32
- package/models/PlatformDeliveryData.ts +0 -86
- package/models/PlatformDeliveryDataEmailAllOf.ts +0 -94
- package/models/PlatformDeliveryDataSmsAllOf.ts +0 -54
- package/models/PropertiesBody.ts +0 -32
- package/models/PropertiesDeltas.ts +0 -46
- package/models/PropertiesObject.ts +0 -102
- package/models/Purchase.ts +0 -61
- package/models/RateLimitError.ts +0 -38
- package/models/Segment.ts +0 -55
- package/models/SegmentData.ts +0 -94
- package/models/SegmentNotificationTarget.ts +0 -44
- package/models/Subscription.ts +0 -146
- package/models/SubscriptionBody.ts +0 -32
- package/models/SubscriptionNotificationTarget.ts +0 -134
- package/models/TransferSubscriptionRequestBody.ts +0 -31
- package/models/UpdateLiveActivityRequest.ts +0 -109
- package/models/UpdateLiveActivitySuccessResponse.ts +0 -31
- package/models/UpdateUserRequest.ts +0 -47
- package/models/User.ts +0 -47
- package/models/UserIdentityBody.ts +0 -31
- package/models/WebButton.ts +0 -52
- package/models/all.ts +0 -53
- package/rxjsStub.ts +0 -27
- package/servers.ts +0 -53
- package/tsconfig.json +0 -28
- package/types/ObjectParamAPI.ts +0 -884
- package/types/ObservableAPI.ts +0 -831
- package/types/PromiseAPI.ts +0 -411
- package/util.ts +0 -37
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class ApiKeyToken {
|
|
2
|
+
'token_id'?: string;
|
|
3
|
+
'updated_at'?: string;
|
|
4
|
+
'created_at'?: string;
|
|
5
|
+
'name'?: string;
|
|
6
|
+
'ip_allowlist_mode'?: ApiKeyTokenIpAllowlistModeEnum;
|
|
7
|
+
'ip_allowlist'?: Array<string>;
|
|
8
|
+
static readonly discriminator: string | undefined;
|
|
9
|
+
static readonly attributeTypeMap: Array<{
|
|
10
|
+
name: string;
|
|
11
|
+
baseName: string;
|
|
12
|
+
type: string;
|
|
13
|
+
format: string;
|
|
14
|
+
}>;
|
|
15
|
+
static getAttributeTypeMap(): {
|
|
16
|
+
name: string;
|
|
17
|
+
baseName: string;
|
|
18
|
+
type: string;
|
|
19
|
+
format: string;
|
|
20
|
+
}[];
|
|
21
|
+
constructor();
|
|
22
|
+
}
|
|
23
|
+
export type ApiKeyTokenIpAllowlistModeEnum = "disabled" | "explicit";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiKeyToken = void 0;
|
|
4
|
+
var ApiKeyToken = (function () {
|
|
5
|
+
function ApiKeyToken() {
|
|
6
|
+
}
|
|
7
|
+
ApiKeyToken.getAttributeTypeMap = function () {
|
|
8
|
+
return ApiKeyToken.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
ApiKeyToken.discriminator = undefined;
|
|
11
|
+
ApiKeyToken.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "token_id",
|
|
14
|
+
"baseName": "token_id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "updated_at",
|
|
20
|
+
"baseName": "updated_at",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "created_at",
|
|
26
|
+
"baseName": "created_at",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "name",
|
|
32
|
+
"baseName": "name",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "ip_allowlist_mode",
|
|
38
|
+
"baseName": "ip_allowlist_mode",
|
|
39
|
+
"type": "ApiKeyTokenIpAllowlistModeEnum",
|
|
40
|
+
"format": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "ip_allowlist",
|
|
44
|
+
"baseName": "ip_allowlist",
|
|
45
|
+
"type": "Array<string>",
|
|
46
|
+
"format": ""
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
return ApiKeyToken;
|
|
50
|
+
}());
|
|
51
|
+
exports.ApiKeyToken = ApiKeyToken;
|
|
52
|
+
//# sourceMappingURL=ApiKeyToken.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ApiKeyToken } from './ApiKeyToken';
|
|
2
|
+
export declare class ApiKeyTokensListResponse {
|
|
3
|
+
'tokens'?: Array<ApiKeyToken>;
|
|
4
|
+
static readonly discriminator: string | undefined;
|
|
5
|
+
static readonly attributeTypeMap: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
baseName: string;
|
|
8
|
+
type: string;
|
|
9
|
+
format: string;
|
|
10
|
+
}>;
|
|
11
|
+
static getAttributeTypeMap(): {
|
|
12
|
+
name: string;
|
|
13
|
+
baseName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
format: string;
|
|
16
|
+
}[];
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiKeyTokensListResponse = void 0;
|
|
4
|
+
var ApiKeyTokensListResponse = (function () {
|
|
5
|
+
function ApiKeyTokensListResponse() {
|
|
6
|
+
}
|
|
7
|
+
ApiKeyTokensListResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return ApiKeyTokensListResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
ApiKeyTokensListResponse.discriminator = undefined;
|
|
11
|
+
ApiKeyTokensListResponse.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "tokens",
|
|
14
|
+
"baseName": "tokens",
|
|
15
|
+
"type": "Array<ApiKeyToken>",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return ApiKeyTokensListResponse;
|
|
20
|
+
}());
|
|
21
|
+
exports.ApiKeyTokensListResponse = ApiKeyTokensListResponse;
|
|
22
|
+
//# sourceMappingURL=ApiKeyTokensListResponse.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class CopyTemplateRequest {
|
|
2
|
+
'target_app_id': string;
|
|
3
|
+
static readonly discriminator: string | undefined;
|
|
4
|
+
static readonly attributeTypeMap: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
baseName: string;
|
|
7
|
+
type: string;
|
|
8
|
+
format: string;
|
|
9
|
+
}>;
|
|
10
|
+
static getAttributeTypeMap(): {
|
|
11
|
+
name: string;
|
|
12
|
+
baseName: string;
|
|
13
|
+
type: string;
|
|
14
|
+
format: string;
|
|
15
|
+
}[];
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CopyTemplateRequest = void 0;
|
|
4
|
+
var CopyTemplateRequest = (function () {
|
|
5
|
+
function CopyTemplateRequest() {
|
|
6
|
+
}
|
|
7
|
+
CopyTemplateRequest.getAttributeTypeMap = function () {
|
|
8
|
+
return CopyTemplateRequest.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CopyTemplateRequest.discriminator = undefined;
|
|
11
|
+
CopyTemplateRequest.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "target_app_id",
|
|
14
|
+
"baseName": "target_app_id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return CopyTemplateRequest;
|
|
20
|
+
}());
|
|
21
|
+
exports.CopyTemplateRequest = CopyTemplateRequest;
|
|
22
|
+
//# sourceMappingURL=CopyTemplateRequest.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class CreateApiKeyRequest {
|
|
2
|
+
'name'?: string;
|
|
3
|
+
'ip_allowlist_mode'?: CreateApiKeyRequestIpAllowlistModeEnum;
|
|
4
|
+
'ip_allowlist'?: Array<string>;
|
|
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 CreateApiKeyRequestIpAllowlistModeEnum = "disabled" | "explicit";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateApiKeyRequest = void 0;
|
|
4
|
+
var CreateApiKeyRequest = (function () {
|
|
5
|
+
function CreateApiKeyRequest() {
|
|
6
|
+
}
|
|
7
|
+
CreateApiKeyRequest.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateApiKeyRequest.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CreateApiKeyRequest.discriminator = undefined;
|
|
11
|
+
CreateApiKeyRequest.attributeTypeMap = [
|
|
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
|
+
}());
|
|
33
|
+
exports.CreateApiKeyRequest = CreateApiKeyRequest;
|
|
34
|
+
//# sourceMappingURL=CreateApiKeyRequest.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class CreateApiKeyResponse {
|
|
2
|
+
'token_id'?: string;
|
|
3
|
+
'formatted_token'?: string;
|
|
4
|
+
static readonly discriminator: string | undefined;
|
|
5
|
+
static readonly attributeTypeMap: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
baseName: string;
|
|
8
|
+
type: string;
|
|
9
|
+
format: string;
|
|
10
|
+
}>;
|
|
11
|
+
static getAttributeTypeMap(): {
|
|
12
|
+
name: string;
|
|
13
|
+
baseName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
format: string;
|
|
16
|
+
}[];
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateApiKeyResponse = void 0;
|
|
4
|
+
var CreateApiKeyResponse = (function () {
|
|
5
|
+
function CreateApiKeyResponse() {
|
|
6
|
+
}
|
|
7
|
+
CreateApiKeyResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateApiKeyResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CreateApiKeyResponse.discriminator = undefined;
|
|
11
|
+
CreateApiKeyResponse.attributeTypeMap = [
|
|
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
|
+
}());
|
|
27
|
+
exports.CreateApiKeyResponse = CreateApiKeyResponse;
|
|
28
|
+
//# sourceMappingURL=CreateApiKeyResponse.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LanguageStringMap } from './LanguageStringMap';
|
|
2
|
+
export declare class CreateTemplateRequest {
|
|
3
|
+
'app_id': string;
|
|
4
|
+
'name': string;
|
|
5
|
+
'contents': LanguageStringMap;
|
|
6
|
+
'is_email'?: boolean;
|
|
7
|
+
'email_subject'?: string;
|
|
8
|
+
'email_body'?: string;
|
|
9
|
+
'is_sms'?: boolean;
|
|
10
|
+
'dynamic_content'?: string;
|
|
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
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTemplateRequest = void 0;
|
|
4
|
+
var CreateTemplateRequest = (function () {
|
|
5
|
+
function CreateTemplateRequest() {
|
|
6
|
+
}
|
|
7
|
+
CreateTemplateRequest.getAttributeTypeMap = function () {
|
|
8
|
+
return CreateTemplateRequest.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CreateTemplateRequest.discriminator = undefined;
|
|
11
|
+
CreateTemplateRequest.attributeTypeMap = [
|
|
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": "is_email",
|
|
32
|
+
"baseName": "isEmail",
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"format": ""
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "email_subject",
|
|
38
|
+
"baseName": "email_subject",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": ""
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "email_body",
|
|
44
|
+
"baseName": "email_body",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"format": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "is_sms",
|
|
50
|
+
"baseName": "isSMS",
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"format": ""
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "dynamic_content",
|
|
56
|
+
"baseName": "dynamic_content",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"format": ""
|
|
59
|
+
}
|
|
60
|
+
];
|
|
61
|
+
return CreateTemplateRequest;
|
|
62
|
+
}());
|
|
63
|
+
exports.CreateTemplateRequest = CreateTemplateRequest;
|
|
64
|
+
//# sourceMappingURL=CreateTemplateRequest.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class CustomEvent {
|
|
2
|
+
'name': string;
|
|
3
|
+
'external_id'?: string;
|
|
4
|
+
'onesignal_id'?: string;
|
|
5
|
+
'timestamp'?: string;
|
|
6
|
+
'payload'?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomEvent = void 0;
|
|
4
|
+
var CustomEvent = (function () {
|
|
5
|
+
function CustomEvent() {
|
|
6
|
+
}
|
|
7
|
+
CustomEvent.getAttributeTypeMap = function () {
|
|
8
|
+
return CustomEvent.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CustomEvent.discriminator = undefined;
|
|
11
|
+
CustomEvent.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "name",
|
|
14
|
+
"baseName": "name",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "external_id",
|
|
20
|
+
"baseName": "external_id",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "onesignal_id",
|
|
26
|
+
"baseName": "onesignal_id",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "timestamp",
|
|
32
|
+
"baseName": "timestamp",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "date-time"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "payload",
|
|
38
|
+
"baseName": "payload",
|
|
39
|
+
"type": "{ [key: string]: any; }",
|
|
40
|
+
"format": ""
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
return CustomEvent;
|
|
44
|
+
}());
|
|
45
|
+
exports.CustomEvent = CustomEvent;
|
|
46
|
+
//# sourceMappingURL=CustomEvent.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CustomEvent } from './CustomEvent';
|
|
2
|
+
export declare class CustomEventsRequest {
|
|
3
|
+
'events': Array<CustomEvent>;
|
|
4
|
+
static readonly discriminator: string | undefined;
|
|
5
|
+
static readonly attributeTypeMap: Array<{
|
|
6
|
+
name: string;
|
|
7
|
+
baseName: string;
|
|
8
|
+
type: string;
|
|
9
|
+
format: string;
|
|
10
|
+
}>;
|
|
11
|
+
static getAttributeTypeMap(): {
|
|
12
|
+
name: string;
|
|
13
|
+
baseName: string;
|
|
14
|
+
type: string;
|
|
15
|
+
format: string;
|
|
16
|
+
}[];
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomEventsRequest = void 0;
|
|
4
|
+
var CustomEventsRequest = (function () {
|
|
5
|
+
function CustomEventsRequest() {
|
|
6
|
+
}
|
|
7
|
+
CustomEventsRequest.getAttributeTypeMap = function () {
|
|
8
|
+
return CustomEventsRequest.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
CustomEventsRequest.discriminator = undefined;
|
|
11
|
+
CustomEventsRequest.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "events",
|
|
14
|
+
"baseName": "events",
|
|
15
|
+
"type": "Array<CustomEvent>",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return CustomEventsRequest;
|
|
20
|
+
}());
|
|
21
|
+
exports.CustomEventsRequest = CustomEventsRequest;
|
|
22
|
+
//# sourceMappingURL=CustomEventsRequest.js.map
|
|
@@ -127,6 +127,7 @@ export declare class NotificationWithMeta {
|
|
|
127
127
|
'send_after'?: number;
|
|
128
128
|
'completed_at'?: number;
|
|
129
129
|
'platform_delivery_stats'?: PlatformDeliveryData;
|
|
130
|
+
'canceled'?: boolean;
|
|
130
131
|
static readonly discriminator: string | undefined;
|
|
131
132
|
static readonly attributeTypeMap: Array<{
|
|
132
133
|
name: string;
|
|
@@ -722,6 +722,12 @@ var NotificationWithMeta = (function () {
|
|
|
722
722
|
"baseName": "platform_delivery_stats",
|
|
723
723
|
"type": "PlatformDeliveryData",
|
|
724
724
|
"format": ""
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "canceled",
|
|
728
|
+
"baseName": "canceled",
|
|
729
|
+
"type": "boolean",
|
|
730
|
+
"format": ""
|
|
725
731
|
}
|
|
726
732
|
];
|
|
727
733
|
return NotificationWithMeta;
|
|
@@ -11,6 +11,7 @@ export declare class NotificationWithMetaAllOf {
|
|
|
11
11
|
'platform_delivery_stats'?: PlatformDeliveryData;
|
|
12
12
|
'received'?: number;
|
|
13
13
|
'throttle_rate_per_minute'?: number;
|
|
14
|
+
'canceled'?: boolean;
|
|
14
15
|
static readonly discriminator: string | undefined;
|
|
15
16
|
static readonly attributeTypeMap: Array<{
|
|
16
17
|
name: string;
|
|
@@ -74,6 +74,12 @@ var NotificationWithMetaAllOf = (function () {
|
|
|
74
74
|
"baseName": "throttle_rate_per_minute",
|
|
75
75
|
"type": "number",
|
|
76
76
|
"format": ""
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "canceled",
|
|
80
|
+
"baseName": "canceled",
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"format": ""
|
|
77
83
|
}
|
|
78
84
|
];
|
|
79
85
|
return NotificationWithMetaAllOf;
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
+
export * from './ApiKeyToken';
|
|
2
|
+
export * from './ApiKeyTokensListResponse';
|
|
1
3
|
export * from './App';
|
|
2
4
|
export * from './BasicNotification';
|
|
3
5
|
export * from './BasicNotificationAllOf';
|
|
4
6
|
export * from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
5
7
|
export * from './Button';
|
|
8
|
+
export * from './CopyTemplateRequest';
|
|
9
|
+
export * from './CreateApiKeyRequest';
|
|
10
|
+
export * from './CreateApiKeyResponse';
|
|
6
11
|
export * from './CreateNotificationSuccessResponse';
|
|
7
12
|
export * from './CreateSegmentConflictResponse';
|
|
8
13
|
export * from './CreateSegmentSuccessResponse';
|
|
14
|
+
export * from './CreateTemplateRequest';
|
|
9
15
|
export * from './CreateUserConflictResponse';
|
|
10
16
|
export * from './CreateUserConflictResponseErrorsInner';
|
|
11
17
|
export * from './CreateUserConflictResponseErrorsItemsMeta';
|
|
18
|
+
export * from './CustomEvent';
|
|
19
|
+
export * from './CustomEventsRequest';
|
|
12
20
|
export * from './DeliveryData';
|
|
13
21
|
export * from './ExportEventsSuccessResponse';
|
|
14
22
|
export * from './ExportSubscriptionsRequestBody';
|
|
@@ -41,12 +49,18 @@ export * from './RateLimitError';
|
|
|
41
49
|
export * from './Segment';
|
|
42
50
|
export * from './SegmentData';
|
|
43
51
|
export * from './SegmentNotificationTarget';
|
|
52
|
+
export * from './StartLiveActivityRequest';
|
|
53
|
+
export * from './StartLiveActivitySuccessResponse';
|
|
44
54
|
export * from './Subscription';
|
|
45
55
|
export * from './SubscriptionBody';
|
|
46
56
|
export * from './SubscriptionNotificationTarget';
|
|
57
|
+
export * from './TemplateResource';
|
|
58
|
+
export * from './TemplatesListResponse';
|
|
47
59
|
export * from './TransferSubscriptionRequestBody';
|
|
60
|
+
export * from './UpdateApiKeyRequest';
|
|
48
61
|
export * from './UpdateLiveActivityRequest';
|
|
49
62
|
export * from './UpdateLiveActivitySuccessResponse';
|
|
63
|
+
export * from './UpdateTemplateRequest';
|
|
50
64
|
export * from './UpdateUserRequest';
|
|
51
65
|
export * from './User';
|
|
52
66
|
export * from './UserIdentityBody';
|