@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,274 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StringMap = void 0;
4
- var StringMap = (function () {
5
- function StringMap() {
6
- }
7
- StringMap.getAttributeTypeMap = function () {
8
- return StringMap.attributeTypeMap;
9
- };
10
- StringMap.discriminator = undefined;
11
- StringMap.attributeTypeMap = [
12
- {
13
- "name": "en",
14
- "baseName": "en",
15
- "type": "string",
16
- "format": ""
17
- },
18
- {
19
- "name": "ar",
20
- "baseName": "ar",
21
- "type": "string",
22
- "format": ""
23
- },
24
- {
25
- "name": "bs",
26
- "baseName": "bs",
27
- "type": "string",
28
- "format": ""
29
- },
30
- {
31
- "name": "bg",
32
- "baseName": "bg",
33
- "type": "string",
34
- "format": ""
35
- },
36
- {
37
- "name": "ca",
38
- "baseName": "ca",
39
- "type": "string",
40
- "format": ""
41
- },
42
- {
43
- "name": "zh_hans",
44
- "baseName": "zh-Hans",
45
- "type": "string",
46
- "format": ""
47
- },
48
- {
49
- "name": "zh_hant",
50
- "baseName": "zh-Hant",
51
- "type": "string",
52
- "format": ""
53
- },
54
- {
55
- "name": "zh",
56
- "baseName": "zh",
57
- "type": "string",
58
- "format": ""
59
- },
60
- {
61
- "name": "hr",
62
- "baseName": "hr",
63
- "type": "string",
64
- "format": ""
65
- },
66
- {
67
- "name": "cs",
68
- "baseName": "cs",
69
- "type": "string",
70
- "format": ""
71
- },
72
- {
73
- "name": "da",
74
- "baseName": "da",
75
- "type": "string",
76
- "format": ""
77
- },
78
- {
79
- "name": "nl",
80
- "baseName": "nl",
81
- "type": "string",
82
- "format": ""
83
- },
84
- {
85
- "name": "et",
86
- "baseName": "et",
87
- "type": "string",
88
- "format": ""
89
- },
90
- {
91
- "name": "fi",
92
- "baseName": "fi",
93
- "type": "string",
94
- "format": ""
95
- },
96
- {
97
- "name": "fr",
98
- "baseName": "fr",
99
- "type": "string",
100
- "format": ""
101
- },
102
- {
103
- "name": "ka",
104
- "baseName": "ka",
105
- "type": "string",
106
- "format": ""
107
- },
108
- {
109
- "name": "de",
110
- "baseName": "de",
111
- "type": "string",
112
- "format": ""
113
- },
114
- {
115
- "name": "el",
116
- "baseName": "el",
117
- "type": "string",
118
- "format": ""
119
- },
120
- {
121
- "name": "hi",
122
- "baseName": "hi",
123
- "type": "string",
124
- "format": ""
125
- },
126
- {
127
- "name": "he",
128
- "baseName": "he",
129
- "type": "string",
130
- "format": ""
131
- },
132
- {
133
- "name": "hu",
134
- "baseName": "hu",
135
- "type": "string",
136
- "format": ""
137
- },
138
- {
139
- "name": "id",
140
- "baseName": "id",
141
- "type": "string",
142
- "format": ""
143
- },
144
- {
145
- "name": "it",
146
- "baseName": "it",
147
- "type": "string",
148
- "format": ""
149
- },
150
- {
151
- "name": "ja",
152
- "baseName": "ja",
153
- "type": "string",
154
- "format": ""
155
- },
156
- {
157
- "name": "ko",
158
- "baseName": "ko",
159
- "type": "string",
160
- "format": ""
161
- },
162
- {
163
- "name": "lv",
164
- "baseName": "lv",
165
- "type": "string",
166
- "format": ""
167
- },
168
- {
169
- "name": "lt",
170
- "baseName": "lt",
171
- "type": "string",
172
- "format": ""
173
- },
174
- {
175
- "name": "ms",
176
- "baseName": "ms",
177
- "type": "string",
178
- "format": ""
179
- },
180
- {
181
- "name": "nb",
182
- "baseName": "nb",
183
- "type": "string",
184
- "format": ""
185
- },
186
- {
187
- "name": "pl",
188
- "baseName": "pl",
189
- "type": "string",
190
- "format": ""
191
- },
192
- {
193
- "name": "fa",
194
- "baseName": "fa",
195
- "type": "string",
196
- "format": ""
197
- },
198
- {
199
- "name": "pt",
200
- "baseName": "pt",
201
- "type": "string",
202
- "format": ""
203
- },
204
- {
205
- "name": "pa",
206
- "baseName": "pa",
207
- "type": "string",
208
- "format": ""
209
- },
210
- {
211
- "name": "ro",
212
- "baseName": "ro",
213
- "type": "string",
214
- "format": ""
215
- },
216
- {
217
- "name": "ru",
218
- "baseName": "ru",
219
- "type": "string",
220
- "format": ""
221
- },
222
- {
223
- "name": "sr",
224
- "baseName": "sr",
225
- "type": "string",
226
- "format": ""
227
- },
228
- {
229
- "name": "sk",
230
- "baseName": "sk",
231
- "type": "string",
232
- "format": ""
233
- },
234
- {
235
- "name": "es",
236
- "baseName": "es",
237
- "type": "string",
238
- "format": ""
239
- },
240
- {
241
- "name": "sv",
242
- "baseName": "sv",
243
- "type": "string",
244
- "format": ""
245
- },
246
- {
247
- "name": "th",
248
- "baseName": "th",
249
- "type": "string",
250
- "format": ""
251
- },
252
- {
253
- "name": "tr",
254
- "baseName": "tr",
255
- "type": "string",
256
- "format": ""
257
- },
258
- {
259
- "name": "uk",
260
- "baseName": "uk",
261
- "type": "string",
262
- "format": ""
263
- },
264
- {
265
- "name": "vi",
266
- "baseName": "vi",
267
- "type": "string",
268
- "format": ""
269
- }
270
- ];
271
- return StringMap;
272
- }());
273
- exports.StringMap = StringMap;
274
- //# sourceMappingURL=StringMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StringMap.js","sourceRoot":"","sources":["../../models/StringMap.ts"],"names":[],"mappings":";;;AAUA;IAwbI;IACA,CAAC;IALM,6BAAmB,GAA1B;QACI,OAAO,SAAS,CAAC,gBAAgB,CAAC;IACtC,CAAC;IAxQe,uBAAa,GAAuB,SAAS,CAAC;IAE9C,0BAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,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AE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,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,gBAAC;CAAA,AA1bD,IA0bC;AA1bY,8BAAS"}
@@ -1,17 +0,0 @@
1
- export declare class UpdatePlayerTagsRequestBody {
2
- 'tags'?: any;
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.UpdatePlayerTagsRequestBody = void 0;
4
- var UpdatePlayerTagsRequestBody = (function () {
5
- function UpdatePlayerTagsRequestBody() {
6
- }
7
- UpdatePlayerTagsRequestBody.getAttributeTypeMap = function () {
8
- return UpdatePlayerTagsRequestBody.attributeTypeMap;
9
- };
10
- UpdatePlayerTagsRequestBody.discriminator = undefined;
11
- UpdatePlayerTagsRequestBody.attributeTypeMap = [
12
- {
13
- "name": "tags",
14
- "baseName": "tags",
15
- "type": "any",
16
- "format": ""
17
- }
18
- ];
19
- return UpdatePlayerTagsRequestBody;
20
- }());
21
- exports.UpdatePlayerTagsRequestBody = UpdatePlayerTagsRequestBody;
22
- //# sourceMappingURL=UpdatePlayerTagsRequestBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UpdatePlayerTagsRequestBody.js","sourceRoot":"","sources":["../../models/UpdatePlayerTagsRequestBody.ts"],"names":[],"mappings":";;;AAUA;IAoBI;IACA,CAAC;IALM,+CAAmB,GAA1B;QACI,OAAO,2BAA2B,CAAC,gBAAgB,CAAC;IACxD,CAAC;IAZe,yCAAa,GAAuB,SAAS,CAAC;IAE9C,4CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,kCAAC;CAAA,AAtBD,IAsBC;AAtBY,kEAA2B"}
@@ -1,35 +0,0 @@
1
- export * from './App';
2
- export * from './Button';
3
- export * from './DeliveryData';
4
- export * from './ExportPlayersRequestBody';
5
- export * from './Filter';
6
- export * from './FilterExpressions';
7
- export * from './FilterNotificationTarget';
8
- export * from './GetNotificationRequestBody';
9
- export * from './InlineResponse200';
10
- export * from './InlineResponse2001';
11
- export * from './InlineResponse2002';
12
- export * from './InlineResponse2003';
13
- export * from './InlineResponse2004';
14
- export * from './InlineResponse2005';
15
- export * from './InlineResponse201';
16
- export * from './InlineResponse400';
17
- export * from './InlineResponse4001';
18
- export * from './InlineResponse4002';
19
- export * from './InlineResponse409';
20
- export * from './Notification';
21
- export * from './NotificationAllOf';
22
- export * from './NotificationAllOfAndroidBackgroundLayout';
23
- export * from './NotificationSlice';
24
- export * from './NotificationTarget';
25
- export * from './Operator';
26
- export * from './OutcomeData';
27
- export * from './PlatformDeliveryData';
28
- export * from './Player';
29
- export * from './PlayerNotificationTarget';
30
- export * from './PlayerSlice';
31
- export * from './Purchase';
32
- export * from './Segment';
33
- export * from './SegmentNotificationTarget';
34
- export * from './StringMap';
35
- export * from './UpdatePlayerTagsRequestBody';
@@ -1,48 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./App"), exports);
14
- __exportStar(require("./Button"), exports);
15
- __exportStar(require("./DeliveryData"), exports);
16
- __exportStar(require("./ExportPlayersRequestBody"), exports);
17
- __exportStar(require("./Filter"), exports);
18
- __exportStar(require("./FilterExpressions"), exports);
19
- __exportStar(require("./FilterNotificationTarget"), exports);
20
- __exportStar(require("./GetNotificationRequestBody"), exports);
21
- __exportStar(require("./InlineResponse200"), exports);
22
- __exportStar(require("./InlineResponse2001"), exports);
23
- __exportStar(require("./InlineResponse2002"), exports);
24
- __exportStar(require("./InlineResponse2003"), exports);
25
- __exportStar(require("./InlineResponse2004"), exports);
26
- __exportStar(require("./InlineResponse2005"), exports);
27
- __exportStar(require("./InlineResponse201"), exports);
28
- __exportStar(require("./InlineResponse400"), exports);
29
- __exportStar(require("./InlineResponse4001"), exports);
30
- __exportStar(require("./InlineResponse4002"), exports);
31
- __exportStar(require("./InlineResponse409"), exports);
32
- __exportStar(require("./Notification"), exports);
33
- __exportStar(require("./NotificationAllOf"), exports);
34
- __exportStar(require("./NotificationAllOfAndroidBackgroundLayout"), exports);
35
- __exportStar(require("./NotificationSlice"), exports);
36
- __exportStar(require("./NotificationTarget"), exports);
37
- __exportStar(require("./Operator"), exports);
38
- __exportStar(require("./OutcomeData"), exports);
39
- __exportStar(require("./PlatformDeliveryData"), exports);
40
- __exportStar(require("./Player"), exports);
41
- __exportStar(require("./PlayerNotificationTarget"), exports);
42
- __exportStar(require("./PlayerSlice"), exports);
43
- __exportStar(require("./Purchase"), exports);
44
- __exportStar(require("./Segment"), exports);
45
- __exportStar(require("./SegmentNotificationTarget"), exports);
46
- __exportStar(require("./StringMap"), exports);
47
- __exportStar(require("./UpdatePlayerTagsRequestBody"), exports);
48
- //# sourceMappingURL=all.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"all.js","sourceRoot":"","sources":["../../models/all.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAAqB;AACrB,2CAAwB;AACxB,iDAA8B;AAC9B,6DAA0C;AAC1C,2CAAwB;AACxB,sDAAmC;AACnC,6DAA0C;AAC1C,+DAA4C;AAC5C,sDAAmC;AACnC,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,sDAAmC;AACnC,sDAAmC;AACnC,uDAAoC;AACpC,uDAAoC;AACpC,sDAAmC;AACnC,iDAA8B;AAC9B,sDAAmC;AACnC,6EAA0D;AAC1D,sDAAmC;AACnC,uDAAoC;AACpC,6CAA0B;AAC1B,gDAA6B;AAC7B,yDAAsC;AACtC,2CAAwB;AACxB,6DAA0C;AAC1C,gDAA6B;AAC7B,6CAA0B;AAC1B,4CAAyB;AACzB,8DAA2C;AAC3C,8CAA2B;AAC3B,gEAA6C"}
@@ -1,10 +0,0 @@
1
- export declare class Observable<T> {
2
- private promise;
3
- constructor(promise: Promise<T>);
4
- toPromise(): Promise<T>;
5
- pipe<S>(callback: (value: T) => S | Promise<S>): Observable<S>;
6
- }
7
- export declare function from<T>(promise: Promise<any>): Observable<any>;
8
- export declare function of<T>(value: T): Observable<T>;
9
- export declare function mergeMap<T, S>(callback: (value: T) => Observable<S>): (value: T) => Promise<S>;
10
- export declare function map(callback: any): any;
package/dist/rxjsStub.js DELETED
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.map = exports.mergeMap = exports.of = exports.from = exports.Observable = void 0;
4
- var Observable = (function () {
5
- function Observable(promise) {
6
- this.promise = promise;
7
- }
8
- Observable.prototype.toPromise = function () {
9
- return this.promise;
10
- };
11
- Observable.prototype.pipe = function (callback) {
12
- return new Observable(this.promise.then(callback));
13
- };
14
- return Observable;
15
- }());
16
- exports.Observable = Observable;
17
- function from(promise) {
18
- return new Observable(promise);
19
- }
20
- exports.from = from;
21
- function of(value) {
22
- return new Observable(Promise.resolve(value));
23
- }
24
- exports.of = of;
25
- function mergeMap(callback) {
26
- return function (value) { return callback(value).toPromise(); };
27
- }
28
- exports.mergeMap = mergeMap;
29
- function map(callback) {
30
- return callback;
31
- }
32
- exports.map = map;
33
- //# sourceMappingURL=rxjsStub.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rxjsStub.js","sourceRoot":"","sources":["../rxjsStub.ts"],"names":[],"mappings":";;;AAAA;IACE,oBAAoB,OAAmB;QAAnB,YAAO,GAAP,OAAO,CAAY;IAAG,CAAC;IAE3C,8BAAS,GAAT;QACE,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,yBAAI,GAAJ,UAAQ,QAAsC;QAC5C,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrD,CAAC;IACH,iBAAC;AAAD,CAAC,AAVD,IAUC;AAVY,gCAAU;AAYvB,SAAgB,IAAI,CAAI,OAAqB;IAC3C,OAAO,IAAI,UAAU,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC;AAFD,oBAEC;AAED,SAAgB,EAAE,CAAI,KAAQ;IAC5B,OAAO,IAAI,UAAU,CAAI,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;AACnD,CAAC;AAFD,gBAEC;AAED,SAAgB,QAAQ,CAAO,QAAqC;IAClE,OAAO,UAAC,KAAQ,IAAK,OAAA,QAAQ,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,EAA3B,CAA2B,CAAC;AACnD,CAAC;AAFD,4BAEC;AAED,SAAgB,GAAG,CAAC,QAAa;IAC/B,OAAO,QAAQ,CAAC;AAClB,CAAC;AAFD,kBAEC"}
package/dist/servers.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import { RequestContext, HttpMethod } from "./http/http";
2
- export interface BaseServerConfiguration {
3
- makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext;
4
- }
5
- export declare class ServerConfiguration<T extends {
6
- [key: string]: string;
7
- }> implements BaseServerConfiguration {
8
- private url;
9
- private variableConfiguration;
10
- constructor(url: string, variableConfiguration: T);
11
- setVariables(variableConfiguration: Partial<T>): void;
12
- getConfiguration(): T;
13
- private getUrl;
14
- makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext;
15
- }
16
- export declare const server1: ServerConfiguration<{}>;
17
- export declare const servers: ServerConfiguration<{}>[];
package/dist/servers.js DELETED
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.servers = exports.server1 = exports.ServerConfiguration = void 0;
4
- var http_1 = require("./http/http");
5
- var ServerConfiguration = (function () {
6
- function ServerConfiguration(url, variableConfiguration) {
7
- this.url = url;
8
- this.variableConfiguration = variableConfiguration;
9
- }
10
- ServerConfiguration.prototype.setVariables = function (variableConfiguration) {
11
- Object.assign(this.variableConfiguration, variableConfiguration);
12
- };
13
- ServerConfiguration.prototype.getConfiguration = function () {
14
- return this.variableConfiguration;
15
- };
16
- ServerConfiguration.prototype.getUrl = function () {
17
- var replacedUrl = this.url;
18
- for (var key in this.variableConfiguration) {
19
- var re = new RegExp("{" + key + "}", "g");
20
- replacedUrl = replacedUrl.replace(re, this.variableConfiguration[key]);
21
- }
22
- return replacedUrl;
23
- };
24
- ServerConfiguration.prototype.makeRequestContext = function (endpoint, httpMethod) {
25
- return new http_1.RequestContext(this.getUrl() + endpoint, httpMethod);
26
- };
27
- return ServerConfiguration;
28
- }());
29
- exports.ServerConfiguration = ServerConfiguration;
30
- exports.server1 = new ServerConfiguration("https://onesignal.com/api/v1", {});
31
- exports.servers = [exports.server1];
32
- //# sourceMappingURL=servers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"servers.js","sourceRoot":"","sources":["../servers.ts"],"names":[],"mappings":";;;AAAA,oCAAyD;AAYzD;IACI,6BAA2B,GAAW,EAAU,qBAAwB;QAA7C,QAAG,GAAH,GAAG,CAAQ;QAAU,0BAAqB,GAArB,qBAAqB,CAAG;IAAG,CAAC;IAOrE,0CAAY,GAAnB,UAAoB,qBAAiC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,CAAC;IACrE,CAAC;IAEM,8CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,qBAAqB,CAAA;IACrC,CAAC;IAEO,oCAAM,GAAd;QACI,IAAI,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC;QAC3B,KAAK,IAAM,GAAG,IAAI,IAAI,CAAC,qBAAqB,EAAE;YAC1C,IAAI,EAAE,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,EAAC,GAAG,CAAC,CAAC;YACzC,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,CAAC,CAAC;SAC1E;QACD,OAAO,WAAW,CAAA;IACtB,CAAC;IAUM,gDAAkB,GAAzB,UAA0B,QAAgB,EAAE,UAAsB;QAC9D,OAAO,IAAI,qBAAc,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,EAAE,UAAU,CAAC,CAAC;IACpE,CAAC;IACL,0BAAC;AAAD,CAAC,AApCD,IAoCC;AApCY,kDAAmB;AAsCnB,QAAA,OAAO,GAAG,IAAI,mBAAmB,CAAO,8BAA8B,EAAE,EAAI,CAAC,CAAA;AAE7E,QAAA,OAAO,GAAG,CAAC,eAAO,CAAC,CAAC"}
@@ -1,121 +0,0 @@
1
- import { Configuration } from '../configuration';
2
- import { App } from '../models/App';
3
- import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
4
- import { GetNotificationRequestBody } from '../models/GetNotificationRequestBody';
5
- import { InlineResponse200 } from '../models/InlineResponse200';
6
- import { InlineResponse2001 } from '../models/InlineResponse2001';
7
- import { InlineResponse2002 } from '../models/InlineResponse2002';
8
- import { InlineResponse2003 } from '../models/InlineResponse2003';
9
- import { InlineResponse2004 } from '../models/InlineResponse2004';
10
- import { InlineResponse2005 } from '../models/InlineResponse2005';
11
- import { InlineResponse201 } from '../models/InlineResponse201';
12
- import { Notification } from '../models/Notification';
13
- import { NotificationSlice } from '../models/NotificationSlice';
14
- import { OutcomeData } from '../models/OutcomeData';
15
- import { Player } from '../models/Player';
16
- import { PlayerSlice } from '../models/PlayerSlice';
17
- import { Segment } from '../models/Segment';
18
- import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
19
- import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
20
- export interface DefaultApiCancelNotificationRequest {
21
- app_id: string;
22
- notification_id: string;
23
- }
24
- export interface DefaultApiCreateAppRequest {
25
- app: App;
26
- }
27
- export interface DefaultApiCreateNotificationRequest {
28
- notification: Notification;
29
- }
30
- export interface DefaultApiCreatePlayerRequest {
31
- player: Player;
32
- }
33
- export interface DefaultApiCreateSegmentsRequest {
34
- app_id: string;
35
- segment?: Segment;
36
- }
37
- export interface DefaultApiDeletePlayerRequest {
38
- app_id: string;
39
- player_id: string;
40
- }
41
- export interface DefaultApiDeleteSegmentsRequest {
42
- app_id: string;
43
- segment_id: string;
44
- }
45
- export interface DefaultApiExportPlayersRequest {
46
- app_id: string;
47
- export_players_request_body?: ExportPlayersRequestBody;
48
- }
49
- export interface DefaultApiGetAppRequest {
50
- app_id: string;
51
- }
52
- export interface DefaultApiGetAppsRequest {
53
- }
54
- export interface DefaultApiGetNotificationRequest {
55
- app_id: string;
56
- notification_id: string;
57
- }
58
- export interface DefaultApiGetNotificationHistoryRequest {
59
- notification_id: string;
60
- get_notification_request_body: GetNotificationRequestBody;
61
- }
62
- export interface DefaultApiGetNotificationsRequest {
63
- app_id: string;
64
- limit?: string;
65
- offset?: number;
66
- kind?: 0 | 1 | 3;
67
- }
68
- export interface DefaultApiGetOutcomesRequest {
69
- app_id: string;
70
- outcome_names: string;
71
- outcome_names2?: string;
72
- outcome_time_range?: string;
73
- outcome_platforms?: string;
74
- outcome_attribution?: string;
75
- }
76
- export interface DefaultApiGetPlayerRequest {
77
- app_id: string;
78
- player_id: string;
79
- email_auth_hash?: string;
80
- }
81
- export interface DefaultApiGetPlayersRequest {
82
- app_id: string;
83
- limit?: string;
84
- offset?: number;
85
- }
86
- export interface DefaultApiUpdateAppRequest {
87
- app_id: string;
88
- app: App;
89
- }
90
- export interface DefaultApiUpdatePlayerRequest {
91
- player_id: string;
92
- player: Player;
93
- }
94
- export interface DefaultApiUpdatePlayerTagsRequest {
95
- app_id: string;
96
- external_user_id: string;
97
- update_player_tags_request_body?: UpdatePlayerTagsRequestBody;
98
- }
99
- export declare class ObjectDefaultApi {
100
- private api;
101
- constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
102
- cancelNotification(param: DefaultApiCancelNotificationRequest, options?: Configuration): Promise<InlineResponse2001>;
103
- createApp(param: DefaultApiCreateAppRequest, options?: Configuration): Promise<App>;
104
- createNotification(param: DefaultApiCreateNotificationRequest, options?: Configuration): Promise<InlineResponse200>;
105
- createPlayer(param: DefaultApiCreatePlayerRequest, options?: Configuration): Promise<InlineResponse2004>;
106
- createSegments(param: DefaultApiCreateSegmentsRequest, options?: Configuration): Promise<InlineResponse201>;
107
- deletePlayer(param: DefaultApiDeletePlayerRequest, options?: Configuration): Promise<InlineResponse2001>;
108
- deleteSegments(param: DefaultApiDeleteSegmentsRequest, options?: Configuration): Promise<InlineResponse2003>;
109
- exportPlayers(param: DefaultApiExportPlayersRequest, options?: Configuration): Promise<InlineResponse2005>;
110
- getApp(param: DefaultApiGetAppRequest, options?: Configuration): Promise<App>;
111
- getApps(param: DefaultApiGetAppsRequest, options?: Configuration): Promise<string>;
112
- getNotification(param: DefaultApiGetNotificationRequest, options?: Configuration): Promise<Notification>;
113
- getNotificationHistory(param: DefaultApiGetNotificationHistoryRequest, options?: Configuration): Promise<InlineResponse2002>;
114
- getNotifications(param: DefaultApiGetNotificationsRequest, options?: Configuration): Promise<NotificationSlice>;
115
- getOutcomes(param: DefaultApiGetOutcomesRequest, options?: Configuration): Promise<Array<OutcomeData>>;
116
- getPlayer(param: DefaultApiGetPlayerRequest, options?: Configuration): Promise<Player>;
117
- getPlayers(param: DefaultApiGetPlayersRequest, options?: Configuration): Promise<PlayerSlice>;
118
- updateApp(param: DefaultApiUpdateAppRequest, options?: Configuration): Promise<App>;
119
- updatePlayer(param: DefaultApiUpdatePlayerRequest, options?: Configuration): Promise<InlineResponse2001>;
120
- updatePlayerTags(param: DefaultApiUpdatePlayerTagsRequest, options?: Configuration): Promise<InlineResponse2003>;
121
- }