Skip to content

Commit 0d5de91

Browse files
authored
Merge pull request #140 from OneSignal/user-api-updates
Add v5.3.0-beta1 package updates
2 parents c7e11bd + f426055 commit 0d5de91

File tree

75 files changed

+4581
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+4581
-188
lines changed

DefaultApi.md

Lines changed: 1163 additions & 45 deletions
Large diffs are not rendered by default.

apis/DefaultApi.ts

Lines changed: 1492 additions & 89 deletions
Large diffs are not rendered by default.

models/ApiKeyToken.ts

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/**
2+
* OneSignal
3+
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4+
*
5+
* API Version: 5.3.0
6+
* Contact: [email protected]
7+
*/
8+
9+
import { HttpFile } from '../http/http';
10+
11+
export class ApiKeyToken {
12+
'token_id'?: string;
13+
'updated_at'?: string;
14+
'created_at'?: string;
15+
'name'?: string;
16+
'ip_allowlist_mode'?: ApiKeyTokenIpAllowlistModeEnum;
17+
'ip_allowlist'?: Array<string>;
18+
19+
static readonly discriminator: string | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "token_id",
24+
"baseName": "token_id",
25+
"type": "string",
26+
"format": ""
27+
},
28+
{
29+
"name": "updated_at",
30+
"baseName": "updated_at",
31+
"type": "string",
32+
"format": ""
33+
},
34+
{
35+
"name": "created_at",
36+
"baseName": "created_at",
37+
"type": "string",
38+
"format": ""
39+
},
40+
{
41+
"name": "name",
42+
"baseName": "name",
43+
"type": "string",
44+
"format": ""
45+
},
46+
{
47+
"name": "ip_allowlist_mode",
48+
"baseName": "ip_allowlist_mode",
49+
"type": "ApiKeyTokenIpAllowlistModeEnum",
50+
"format": ""
51+
},
52+
{
53+
"name": "ip_allowlist",
54+
"baseName": "ip_allowlist",
55+
"type": "Array<string>",
56+
"format": ""
57+
} ];
58+
59+
static getAttributeTypeMap() {
60+
return ApiKeyToken.attributeTypeMap;
61+
}
62+
63+
public constructor() {
64+
}
65+
}
66+
67+
68+
export type ApiKeyTokenIpAllowlistModeEnum = "disabled" | "explicit" ;
69+

models/ApiKeyTokensListResponse.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* OneSignal
3+
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4+
*
5+
* API Version: 5.3.0
6+
* Contact: [email protected]
7+
*/
8+
9+
import { ApiKeyToken } from './ApiKeyToken';
10+
import { HttpFile } from '../http/http';
11+
12+
export class ApiKeyTokensListResponse {
13+
'tokens'?: Array<ApiKeyToken>;
14+
15+
static readonly discriminator: string | undefined = undefined;
16+
17+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
18+
{
19+
"name": "tokens",
20+
"baseName": "tokens",
21+
"type": "Array<ApiKeyToken>",
22+
"format": ""
23+
} ];
24+
25+
static getAttributeTypeMap() {
26+
return ApiKeyTokensListResponse.attributeTypeMap;
27+
}
28+
29+
public constructor() {
30+
}
31+
}
32+

models/App.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* API Version: 5.2.1
5+
* API Version: 5.3.0
66
* Contact: [email protected]
77
*/
88

models/BasicNotification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* API Version: 5.2.1
5+
* API Version: 5.3.0
66
* Contact: [email protected]
77
*/
88

models/BasicNotificationAllOf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* API Version: 5.2.1
5+
* API Version: 5.3.0
66
* Contact: [email protected]
77
*/
88

models/BasicNotificationAllOfAndroidBackgroundLayout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* API Version: 5.2.1
5+
* API Version: 5.3.0
66
* Contact: [email protected]
77
*/
88

models/Button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* API Version: 5.2.1
5+
* API Version: 5.3.0
66
* Contact: [email protected]
77
*/
88

models/CopyTemplateRequest.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/**
2+
* OneSignal
3+
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
4+
*
5+
* API Version: 5.3.0
6+
* Contact: [email protected]
7+
*/
8+
9+
import { HttpFile } from '../http/http';
10+
11+
export class CopyTemplateRequest {
12+
/**
13+
* Destination OneSignal App ID in UUID v4 format.
14+
*/
15+
'target_app_id': string;
16+
17+
static readonly discriminator: string | undefined = undefined;
18+
19+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
20+
{
21+
"name": "target_app_id",
22+
"baseName": "target_app_id",
23+
"type": "string",
24+
"format": ""
25+
} ];
26+
27+
static getAttributeTypeMap() {
28+
return CopyTemplateRequest.attributeTypeMap;
29+
}
30+
31+
public constructor() {
32+
}
33+
}
34+

0 commit comments

Comments
 (0)