@onesignal/node-onesignal 1.0.0-beta4 → 1.0.0-beta5

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.
Files changed (234) hide show
  1. package/.github/ISSUE_TEMPLATE/ask-question.yml +25 -0
  2. package/.github/ISSUE_TEMPLATE/bug-report.yml +51 -0
  3. package/.github/ISSUE_TEMPLATE/general-feedback.yml +25 -0
  4. package/.github/pull_request_template.md +44 -0
  5. package/.github/workflows/npm_deploy.yml +21 -0
  6. package/CHANGELOG.md +26 -0
  7. package/DefaultApi.md +1232 -0
  8. package/LICENSE +24 -0
  9. package/README.md +205 -102
  10. package/RELEASE_INSTRUCTIONS.md +2 -0
  11. package/apis/DefaultApi.ts +519 -532
  12. package/apis/baseapi.ts +4 -4
  13. package/apis/exception.ts +4 -3
  14. package/auth/auth.ts +4 -1
  15. package/configuration.ts +21 -2
  16. package/http/http.ts +26 -26
  17. package/index.ts +1 -0
  18. package/middleware.ts +1 -1
  19. package/models/App.ts +8 -8
  20. package/models/BasicNotification.ts +1019 -0
  21. package/models/BasicNotificationAllOf.ts +897 -0
  22. package/models/{NotificationAllOfAndroidBackgroundLayout.ts → BasicNotificationAllOfAndroidBackgroundLayout.ts} +4 -4
  23. package/models/Button.ts +2 -2
  24. package/models/CancelNotificationSuccessResponse.ts +31 -0
  25. package/models/{InlineResponse400.ts → CreateNotificationBadRequestResponse.ts} +4 -4
  26. package/models/{InlineResponse200.ts → CreateNotificationSuccessResponse.ts} +7 -6
  27. package/models/{InlineResponse2004.ts → CreatePlayerSuccessResponse.ts} +4 -4
  28. package/models/CreateSegmentBadRequestResponse.ts +38 -0
  29. package/models/{InlineResponse409.ts → CreateSegmentConflictResponse.ts} +4 -4
  30. package/models/{InlineResponse201.ts → CreateSegmentSuccessResponse.ts} +4 -4
  31. package/models/DeletePlayerBadRequestResponse.ts +31 -0
  32. package/models/DeletePlayerNotFoundResponse.ts +31 -0
  33. package/models/{InlineResponse2003.ts → DeletePlayerSuccessResponse.ts} +4 -4
  34. package/models/{InlineResponse4002.ts → DeleteSegmentBadRequestResponse.ts} +4 -4
  35. package/models/DeleteSegmentNotFoundResponse.ts +31 -0
  36. package/models/DeleteSegmentSuccessResponse.ts +31 -0
  37. package/models/DeliveryData.ts +17 -2
  38. package/models/ExportPlayersRequestBody.ts +5 -5
  39. package/models/{InlineResponse2005.ts → ExportPlayersSuccessResponse.ts} +4 -4
  40. package/models/Filter.ts +4 -4
  41. package/models/FilterExpressions.ts +4 -4
  42. package/models/FilterNotificationTarget.ts +2 -2
  43. package/models/GetNotificationRequestBody.ts +2 -2
  44. package/models/InvalidIdentifierError.ts +44 -0
  45. package/models/Notification.ts +72 -174
  46. package/models/Notification200Errors.ts +45 -0
  47. package/models/NotificationAllOf.ts +3 -858
  48. package/models/{InlineResponse4001.ts → NotificationHistoryBadRequestResponse.ts} +4 -4
  49. package/models/{InlineResponse2002.ts → NotificationHistorySuccessResponse.ts} +6 -6
  50. package/models/NotificationSlice.ts +5 -5
  51. package/models/NotificationTarget.ts +3 -124
  52. package/models/NotificationWithMeta.ts +1127 -0
  53. package/models/NotificationWithMetaAllOf.ts +132 -0
  54. package/models/ObjectSerializer.ts +97 -46
  55. package/models/Operator.ts +2 -2
  56. package/models/OutcomeData.ts +2 -2
  57. package/models/OutcomesData.ts +32 -0
  58. package/models/PlatformDeliveryData.ts +18 -2
  59. package/models/PlatformDeliveryDataEmailAllOf.ts +94 -0
  60. package/models/PlatformDeliveryDataSmsAllOf.ts +54 -0
  61. package/models/Player.ts +14 -14
  62. package/models/PlayerNotificationTarget.ts +3 -3
  63. package/models/PlayerSlice.ts +2 -2
  64. package/models/Purchase.ts +2 -2
  65. package/models/Segment.ts +3 -3
  66. package/models/SegmentNotificationTarget.ts +2 -2
  67. package/models/StringMap.ts +3 -3
  68. package/models/{InlineResponse2001.ts → UpdatePlayerSuccessResponse.ts} +6 -6
  69. package/models/UpdatePlayerTagsRequestBody.ts +4 -4
  70. package/models/UpdatePlayerTagsSuccessResponse.ts +31 -0
  71. package/models/all.ts +28 -13
  72. package/package.json +14 -9
  73. package/tsconfig.json +1 -2
  74. package/types/ObjectParamAPI.ts +101 -86
  75. package/types/ObservableAPI.ts +116 -101
  76. package/types/PromiseAPI.ts +97 -82
  77. package/util.ts +10 -1
  78. package/dist/apis/DefaultApi.d.ts +0 -62
  79. package/dist/apis/DefaultApi.js +0 -1317
  80. package/dist/apis/DefaultApi.js.map +0 -1
  81. package/dist/apis/baseapi.d.ts +0 -16
  82. package/dist/apis/baseapi.js +0 -42
  83. package/dist/apis/baseapi.js.map +0 -1
  84. package/dist/apis/exception.d.ts +0 -5
  85. package/dist/apis/exception.js +0 -28
  86. package/dist/apis/exception.js.map +0 -1
  87. package/dist/auth/auth.d.ts +0 -40
  88. package/dist/auth/auth.js +0 -108
  89. package/dist/auth/auth.js.map +0 -1
  90. package/dist/configuration.d.ts +0 -18
  91. package/dist/configuration.js +0 -21
  92. package/dist/configuration.js.map +0 -1
  93. package/dist/http/http.d.ts +0 -72
  94. package/dist/http/http.js +0 -205
  95. package/dist/http/http.js.map +0 -1
  96. package/dist/http/isomorphic-fetch.d.ts +0 -5
  97. package/dist/http/isomorphic-fetch.js +0 -33
  98. package/dist/http/isomorphic-fetch.js.map +0 -1
  99. package/dist/index.d.ts +0 -9
  100. package/dist/index.js +0 -22
  101. package/dist/index.js.map +0 -1
  102. package/dist/middleware.d.ts +0 -16
  103. package/dist/middleware.js +0 -18
  104. package/dist/middleware.js.map +0 -1
  105. package/dist/models/App.d.ts +0 -47
  106. package/dist/models/App.js +0 -196
  107. package/dist/models/App.js.map +0 -1
  108. package/dist/models/Button.d.ts +0 -19
  109. package/dist/models/Button.js +0 -34
  110. package/dist/models/Button.js.map +0 -1
  111. package/dist/models/DeliveryData.d.ts +0 -21
  112. package/dist/models/DeliveryData.js +0 -46
  113. package/dist/models/DeliveryData.js.map +0 -1
  114. package/dist/models/ExportPlayersRequestBody.d.ts +0 -19
  115. package/dist/models/ExportPlayersRequestBody.js +0 -34
  116. package/dist/models/ExportPlayersRequestBody.js.map +0 -1
  117. package/dist/models/Filter.d.ts +0 -21
  118. package/dist/models/Filter.js +0 -40
  119. package/dist/models/Filter.js.map +0 -1
  120. package/dist/models/FilterExpressions.d.ts +0 -23
  121. package/dist/models/FilterExpressions.js +0 -46
  122. package/dist/models/FilterExpressions.js.map +0 -1
  123. package/dist/models/FilterNotificationTarget.d.ts +0 -28
  124. package/dist/models/FilterNotificationTarget.js +0 -88
  125. package/dist/models/FilterNotificationTarget.js.map +0 -1
  126. package/dist/models/GetNotificationRequestBody.d.ts +0 -20
  127. package/dist/models/GetNotificationRequestBody.js +0 -34
  128. package/dist/models/GetNotificationRequestBody.js.map +0 -1
  129. package/dist/models/InlineResponse200.d.ts +0 -20
  130. package/dist/models/InlineResponse200.js +0 -40
  131. package/dist/models/InlineResponse200.js.map +0 -1
  132. package/dist/models/InlineResponse2001.d.ts +0 -17
  133. package/dist/models/InlineResponse2001.js +0 -22
  134. package/dist/models/InlineResponse2001.js.map +0 -1
  135. package/dist/models/InlineResponse2002.d.ts +0 -18
  136. package/dist/models/InlineResponse2002.js +0 -28
  137. package/dist/models/InlineResponse2002.js.map +0 -1
  138. package/dist/models/InlineResponse2003.d.ts +0 -17
  139. package/dist/models/InlineResponse2003.js +0 -22
  140. package/dist/models/InlineResponse2003.js.map +0 -1
  141. package/dist/models/InlineResponse2004.d.ts +0 -18
  142. package/dist/models/InlineResponse2004.js +0 -28
  143. package/dist/models/InlineResponse2004.js.map +0 -1
  144. package/dist/models/InlineResponse2005.d.ts +0 -17
  145. package/dist/models/InlineResponse2005.js +0 -22
  146. package/dist/models/InlineResponse2005.js.map +0 -1
  147. package/dist/models/InlineResponse201.d.ts +0 -18
  148. package/dist/models/InlineResponse201.js +0 -28
  149. package/dist/models/InlineResponse201.js.map +0 -1
  150. package/dist/models/InlineResponse400.d.ts +0 -17
  151. package/dist/models/InlineResponse400.js +0 -22
  152. package/dist/models/InlineResponse400.js.map +0 -1
  153. package/dist/models/InlineResponse4001.d.ts +0 -18
  154. package/dist/models/InlineResponse4001.js +0 -28
  155. package/dist/models/InlineResponse4001.js.map +0 -1
  156. package/dist/models/InlineResponse4002.d.ts +0 -17
  157. package/dist/models/InlineResponse4002.js +0 -22
  158. package/dist/models/InlineResponse4002.js.map +0 -1
  159. package/dist/models/InlineResponse409.d.ts +0 -18
  160. package/dist/models/InlineResponse409.js +0 -28
  161. package/dist/models/InlineResponse409.js.map +0 -1
  162. package/dist/models/Notification.d.ts +0 -132
  163. package/dist/models/Notification.js +0 -688
  164. package/dist/models/Notification.js.map +0 -1
  165. package/dist/models/NotificationAllOf.d.ts +0 -108
  166. package/dist/models/NotificationAllOf.js +0 -544
  167. package/dist/models/NotificationAllOf.js.map +0 -1
  168. package/dist/models/NotificationAllOfAndroidBackgroundLayout.d.ts +0 -19
  169. package/dist/models/NotificationAllOfAndroidBackgroundLayout.js +0 -34
  170. package/dist/models/NotificationAllOfAndroidBackgroundLayout.js.map +0 -1
  171. package/dist/models/NotificationSlice.d.ts +0 -21
  172. package/dist/models/NotificationSlice.js +0 -40
  173. package/dist/models/NotificationSlice.js.map +0 -1
  174. package/dist/models/NotificationTarget.d.ts +0 -40
  175. package/dist/models/NotificationTarget.js +0 -160
  176. package/dist/models/NotificationTarget.js.map +0 -1
  177. package/dist/models/ObjectSerializer.d.ts +0 -44
  178. package/dist/models/ObjectSerializer.js +0 -312
  179. package/dist/models/ObjectSerializer.js.map +0 -1
  180. package/dist/models/Operator.d.ts +0 -18
  181. package/dist/models/Operator.js +0 -22
  182. package/dist/models/Operator.js.map +0 -1
  183. package/dist/models/OutcomeData.d.ts +0 -20
  184. package/dist/models/OutcomeData.js +0 -34
  185. package/dist/models/OutcomeData.js.map +0 -1
  186. package/dist/models/PlatformDeliveryData.d.ts +0 -23
  187. package/dist/models/PlatformDeliveryData.js +0 -52
  188. package/dist/models/PlatformDeliveryData.js.map +0 -1
  189. package/dist/models/Player.d.ts +0 -43
  190. package/dist/models/Player.js +0 -178
  191. package/dist/models/Player.js.map +0 -1
  192. package/dist/models/PlayerNotificationTarget.d.ts +0 -26
  193. package/dist/models/PlayerNotificationTarget.js +0 -76
  194. package/dist/models/PlayerNotificationTarget.js.map +0 -1
  195. package/dist/models/PlayerSlice.d.ts +0 -21
  196. package/dist/models/PlayerSlice.js +0 -40
  197. package/dist/models/PlayerSlice.js.map +0 -1
  198. package/dist/models/Purchase.d.ts +0 -19
  199. package/dist/models/Purchase.js +0 -34
  200. package/dist/models/Purchase.js.map +0 -1
  201. package/dist/models/Segment.d.ts +0 -20
  202. package/dist/models/Segment.js +0 -34
  203. package/dist/models/Segment.js.map +0 -1
  204. package/dist/models/SegmentNotificationTarget.d.ts +0 -18
  205. package/dist/models/SegmentNotificationTarget.js +0 -28
  206. package/dist/models/SegmentNotificationTarget.js.map +0 -1
  207. package/dist/models/StringMap.d.ts +0 -59
  208. package/dist/models/StringMap.js +0 -274
  209. package/dist/models/StringMap.js.map +0 -1
  210. package/dist/models/UpdatePlayerTagsRequestBody.d.ts +0 -17
  211. package/dist/models/UpdatePlayerTagsRequestBody.js +0 -22
  212. package/dist/models/UpdatePlayerTagsRequestBody.js.map +0 -1
  213. package/dist/models/all.d.ts +0 -35
  214. package/dist/models/all.js +0 -48
  215. package/dist/models/all.js.map +0 -1
  216. package/dist/rxjsStub.d.ts +0 -10
  217. package/dist/rxjsStub.js +0 -33
  218. package/dist/rxjsStub.js.map +0 -1
  219. package/dist/servers.d.ts +0 -17
  220. package/dist/servers.js +0 -32
  221. package/dist/servers.js.map +0 -1
  222. package/dist/types/ObjectParamAPI.d.ts +0 -121
  223. package/dist/types/ObjectParamAPI.js +0 -69
  224. package/dist/types/ObjectParamAPI.js.map +0 -1
  225. package/dist/types/ObservableAPI.d.ts +0 -45
  226. package/dist/types/ObservableAPI.js +0 -472
  227. package/dist/types/ObservableAPI.js.map +0 -1
  228. package/dist/types/PromiseAPI.d.ts +0 -42
  229. package/dist/types/PromiseAPI.js +0 -88
  230. package/dist/types/PromiseAPI.js.map +0 -1
  231. package/dist/util.d.ts +0 -1
  232. package/dist/util.js +0 -25
  233. package/dist/util.js.map +0 -1
  234. package/git_push.sh +0 -52
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse2003 = void 0;
4
- var InlineResponse2003 = (function () {
5
- function InlineResponse2003() {
6
- }
7
- InlineResponse2003.getAttributeTypeMap = function () {
8
- return InlineResponse2003.attributeTypeMap;
9
- };
10
- InlineResponse2003.discriminator = undefined;
11
- InlineResponse2003.attributeTypeMap = [
12
- {
13
- "name": "success",
14
- "baseName": "success",
15
- "type": "boolean",
16
- "format": ""
17
- }
18
- ];
19
- return InlineResponse2003;
20
- }());
21
- exports.InlineResponse2003 = InlineResponse2003;
22
- //# sourceMappingURL=InlineResponse2003.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse2003.js","sourceRoot":"","sources":["../../models/InlineResponse2003.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAZe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,yBAAC;CAAA,AAnBD,IAmBC;AAnBY,gDAAkB"}
@@ -1,18 +0,0 @@
1
- export declare class InlineResponse2004 {
2
- 'success'?: boolean;
3
- 'id'?: 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
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse2004 = void 0;
4
- var InlineResponse2004 = (function () {
5
- function InlineResponse2004() {
6
- }
7
- InlineResponse2004.getAttributeTypeMap = function () {
8
- return InlineResponse2004.attributeTypeMap;
9
- };
10
- InlineResponse2004.discriminator = undefined;
11
- InlineResponse2004.attributeTypeMap = [
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 InlineResponse2004;
26
- }());
27
- exports.InlineResponse2004 = InlineResponse2004;
28
- //# sourceMappingURL=InlineResponse2004.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse2004.js","sourceRoot":"","sources":["../../models/InlineResponse2004.ts"],"names":[],"mappings":";;;AAUA;IAwBI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAlBe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,yBAAC;CAAA,AA1BD,IA0BC;AA1BY,gDAAkB"}
@@ -1,17 +0,0 @@
1
- export declare class InlineResponse2005 {
2
- 'csv_file_url'?: 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
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse2005 = void 0;
4
- var InlineResponse2005 = (function () {
5
- function InlineResponse2005() {
6
- }
7
- InlineResponse2005.getAttributeTypeMap = function () {
8
- return InlineResponse2005.attributeTypeMap;
9
- };
10
- InlineResponse2005.discriminator = undefined;
11
- InlineResponse2005.attributeTypeMap = [
12
- {
13
- "name": "csv_file_url",
14
- "baseName": "csv_file_url",
15
- "type": "string",
16
- "format": ""
17
- }
18
- ];
19
- return InlineResponse2005;
20
- }());
21
- exports.InlineResponse2005 = InlineResponse2005;
22
- //# sourceMappingURL=InlineResponse2005.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse2005.js","sourceRoot":"","sources":["../../models/InlineResponse2005.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAZe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,yBAAC;CAAA,AAnBD,IAmBC;AAnBY,gDAAkB"}
@@ -1,18 +0,0 @@
1
- export declare class InlineResponse201 {
2
- 'success'?: boolean;
3
- 'id'?: 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
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse201 = void 0;
4
- var InlineResponse201 = (function () {
5
- function InlineResponse201() {
6
- }
7
- InlineResponse201.getAttributeTypeMap = function () {
8
- return InlineResponse201.attributeTypeMap;
9
- };
10
- InlineResponse201.discriminator = undefined;
11
- InlineResponse201.attributeTypeMap = [
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 InlineResponse201;
26
- }());
27
- exports.InlineResponse201 = InlineResponse201;
28
- //# sourceMappingURL=InlineResponse201.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse201.js","sourceRoot":"","sources":["../../models/InlineResponse201.ts"],"names":[],"mappings":";;;AAUA;IA2BI;IACA,CAAC;IALM,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IAlBe,+BAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wBAAC;CAAA,AA7BD,IA6BC;AA7BY,8CAAiB"}
@@ -1,17 +0,0 @@
1
- export declare class InlineResponse400 {
2
- 'errors'?: Array<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
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse400 = void 0;
4
- var InlineResponse400 = (function () {
5
- function InlineResponse400() {
6
- }
7
- InlineResponse400.getAttributeTypeMap = function () {
8
- return InlineResponse400.attributeTypeMap;
9
- };
10
- InlineResponse400.discriminator = undefined;
11
- InlineResponse400.attributeTypeMap = [
12
- {
13
- "name": "errors",
14
- "baseName": "errors",
15
- "type": "Array<string>",
16
- "format": ""
17
- }
18
- ];
19
- return InlineResponse400;
20
- }());
21
- exports.InlineResponse400 = InlineResponse400;
22
- //# sourceMappingURL=InlineResponse400.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse400.js","sourceRoot":"","sources":["../../models/InlineResponse400.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IAZe,+BAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wBAAC;CAAA,AAnBD,IAmBC;AAnBY,8CAAiB"}
@@ -1,18 +0,0 @@
1
- export declare class InlineResponse4001 {
2
- 'success'?: string;
3
- 'errors'?: Array<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
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse4001 = void 0;
4
- var InlineResponse4001 = (function () {
5
- function InlineResponse4001() {
6
- }
7
- InlineResponse4001.getAttributeTypeMap = function () {
8
- return InlineResponse4001.attributeTypeMap;
9
- };
10
- InlineResponse4001.discriminator = undefined;
11
- InlineResponse4001.attributeTypeMap = [
12
- {
13
- "name": "success",
14
- "baseName": "success",
15
- "type": "string",
16
- "format": ""
17
- },
18
- {
19
- "name": "errors",
20
- "baseName": "errors",
21
- "type": "Array<string>",
22
- "format": ""
23
- }
24
- ];
25
- return InlineResponse4001;
26
- }());
27
- exports.InlineResponse4001 = InlineResponse4001;
28
- //# sourceMappingURL=InlineResponse4001.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse4001.js","sourceRoot":"","sources":["../../models/InlineResponse4001.ts"],"names":[],"mappings":";;;AAUA;IAwBI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAlBe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,yBAAC;CAAA,AA1BD,IA0BC;AA1BY,gDAAkB"}
@@ -1,17 +0,0 @@
1
- export declare class InlineResponse4002 {
2
- 'erorrs'?: Array<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
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse4002 = void 0;
4
- var InlineResponse4002 = (function () {
5
- function InlineResponse4002() {
6
- }
7
- InlineResponse4002.getAttributeTypeMap = function () {
8
- return InlineResponse4002.attributeTypeMap;
9
- };
10
- InlineResponse4002.discriminator = undefined;
11
- InlineResponse4002.attributeTypeMap = [
12
- {
13
- "name": "erorrs",
14
- "baseName": "erorrs",
15
- "type": "Array<string>",
16
- "format": ""
17
- }
18
- ];
19
- return InlineResponse4002;
20
- }());
21
- exports.InlineResponse4002 = InlineResponse4002;
22
- //# sourceMappingURL=InlineResponse4002.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse4002.js","sourceRoot":"","sources":["../../models/InlineResponse4002.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,sCAAmB,GAA1B;QACI,OAAO,kBAAkB,CAAC,gBAAgB,CAAC;IAC/C,CAAC;IAZe,gCAAa,GAAuB,SAAS,CAAC;IAE9C,mCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,yBAAC;CAAA,AAnBD,IAmBC;AAnBY,gDAAkB"}
@@ -1,18 +0,0 @@
1
- export declare class InlineResponse409 {
2
- 'success'?: boolean;
3
- 'errors'?: Array<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
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InlineResponse409 = void 0;
4
- var InlineResponse409 = (function () {
5
- function InlineResponse409() {
6
- }
7
- InlineResponse409.getAttributeTypeMap = function () {
8
- return InlineResponse409.attributeTypeMap;
9
- };
10
- InlineResponse409.discriminator = undefined;
11
- InlineResponse409.attributeTypeMap = [
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 InlineResponse409;
26
- }());
27
- exports.InlineResponse409 = InlineResponse409;
28
- //# sourceMappingURL=InlineResponse409.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InlineResponse409.js","sourceRoot":"","sources":["../../models/InlineResponse409.ts"],"names":[],"mappings":";;;AAUA;IAwBI;IACA,CAAC;IALM,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IAlBe,+BAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wBAAC;CAAA,AA1BD,IA0BC;AA1BY,8CAAiB"}
@@ -1,132 +0,0 @@
1
- import { Button } from './Button';
2
- import { NotificationAllOfAndroidBackgroundLayout } from './NotificationAllOfAndroidBackgroundLayout';
3
- import { StringMap } from './StringMap';
4
- export declare class Notification {
5
- 'included_segments'?: Array<string>;
6
- 'excluded_segments'?: Array<string>;
7
- 'last_session'?: string;
8
- 'first_session'?: string;
9
- 'session_count'?: string;
10
- 'session_time'?: string;
11
- 'amount_spent'?: string;
12
- 'bought_sku'?: string;
13
- 'tag'?: string;
14
- 'language'?: string;
15
- 'app_version'?: string;
16
- 'location'?: string;
17
- 'email'?: string;
18
- 'country'?: string;
19
- 'include_player_ids'?: Array<string>;
20
- 'include_external_user_ids'?: Array<string>;
21
- 'include_email_tokens'?: Array<string>;
22
- 'include_phone_numbers'?: Array<string>;
23
- 'include_ios_tokens'?: Array<string>;
24
- 'include_wp_wns_uris'?: Array<string>;
25
- 'include_amazon_reg_ids'?: Array<string>;
26
- 'include_chrome_reg_ids'?: Array<string>;
27
- 'include_chrome_web_reg_ids'?: Array<string>;
28
- 'include_android_reg_ids'?: Array<string>;
29
- 'id'?: string;
30
- 'value'?: number;
31
- 'aggregation'?: NotificationAggregationEnum;
32
- 'is_ios'?: boolean;
33
- 'is_android'?: boolean;
34
- 'is_huawei'?: boolean;
35
- 'is_any_web'?: boolean;
36
- 'is_chrome_web'?: boolean;
37
- 'is_firefox'?: boolean;
38
- 'is_safari'?: boolean;
39
- 'is_wp_wns'?: boolean;
40
- 'is_adm'?: boolean;
41
- 'is_chrome'?: boolean;
42
- 'channel_for_external_user_ids'?: string;
43
- 'app_id': string;
44
- 'external_id'?: string;
45
- 'contents'?: StringMap;
46
- 'headings'?: StringMap;
47
- 'subtitle'?: StringMap;
48
- 'data'?: any;
49
- 'huawei_msg_type'?: string;
50
- 'url'?: string;
51
- 'web_url'?: string;
52
- 'app_url'?: string;
53
- 'ios_attachments'?: any;
54
- 'template_id'?: string;
55
- 'content_available'?: boolean;
56
- 'mutable_content'?: boolean;
57
- 'target_content_identifier'?: string;
58
- 'big_picture'?: string;
59
- 'huawei_big_picture'?: string;
60
- 'adm_big_picture'?: string;
61
- 'chrome_big_picture'?: string;
62
- 'chrome_web_image'?: string;
63
- 'buttons'?: Array<Button>;
64
- 'web_buttons'?: Array<Button>;
65
- 'ios_category'?: string;
66
- 'android_channel_id'?: string;
67
- 'huawei_channel_id'?: string;
68
- 'existing_android_channel_id'?: string;
69
- 'huawei_existing_channel_id'?: string;
70
- 'android_background_layout'?: NotificationAllOfAndroidBackgroundLayout;
71
- 'small_icon'?: string;
72
- 'huawei_small_icon'?: string;
73
- 'large_icon'?: string;
74
- 'huawei_large_icon'?: string;
75
- 'adm_small_icon'?: string;
76
- 'adm_large_icon'?: string;
77
- 'chrome_web_icon'?: string;
78
- 'chrome_web_badge'?: string;
79
- 'firefox_icon'?: string;
80
- 'chrome_icon'?: string;
81
- 'ios_sound'?: string;
82
- 'android_sound'?: string;
83
- 'huawei_sound'?: string;
84
- 'adm_sound'?: string;
85
- 'wp_wns_sound'?: string;
86
- 'android_led_color'?: string;
87
- 'huawei_led_color'?: string;
88
- 'android_accent_color'?: string;
89
- 'huawei_accent_color'?: string;
90
- 'android_visibility'?: number;
91
- 'huawei_visibility'?: number;
92
- 'ios_badge_type'?: string;
93
- 'ios_badge_count'?: number;
94
- 'collapse_id'?: string;
95
- 'web_push_topic'?: string;
96
- 'apns_alert'?: any;
97
- 'send_after'?: string;
98
- 'delayed_option'?: string;
99
- 'delivery_time_of_day'?: string;
100
- 'ttl'?: number;
101
- 'priority'?: number;
102
- 'apns_push_type_override'?: string;
103
- 'throttle_rate_per_minute'?: string;
104
- 'android_group'?: string;
105
- 'android_group_message'?: string;
106
- 'adm_group'?: string;
107
- 'adm_group_message'?: any;
108
- 'thread_id'?: string;
109
- 'summary_arg'?: string;
110
- 'summary_arg_count'?: number;
111
- 'email_subect'?: string;
112
- 'email_body'?: string;
113
- 'email_from_name'?: string;
114
- 'email_from_address'?: string;
115
- 'sms_from'?: string;
116
- 'sms_media_urls'?: Array<string>;
117
- static readonly discriminator: string | undefined;
118
- static readonly attributeTypeMap: Array<{
119
- name: string;
120
- baseName: string;
121
- type: string;
122
- format: string;
123
- }>;
124
- static getAttributeTypeMap(): {
125
- name: string;
126
- baseName: string;
127
- type: string;
128
- format: string;
129
- }[];
130
- constructor();
131
- }
132
- export declare type NotificationAggregationEnum = "sum" | "count";