@onesignal/node-onesignal 2.0.1-beta2 → 5.0.0-alpha-01

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 (268) hide show
  1. package/DefaultApi.md +401 -778
  2. package/apis/DefaultApi.ts +682 -1216
  3. package/auth/auth.ts +14 -14
  4. package/configuration.ts +6 -6
  5. package/dist/apis/DefaultApi.d.ts +36 -63
  6. package/dist/apis/DefaultApi.js +653 -1174
  7. package/dist/apis/DefaultApi.js.map +1 -1
  8. package/dist/auth/auth.d.ts +6 -6
  9. package/dist/auth/auth.js +19 -19
  10. package/dist/auth/auth.js.map +1 -1
  11. package/dist/configuration.d.ts +2 -2
  12. package/dist/configuration.js +4 -4
  13. package/dist/configuration.js.map +1 -1
  14. package/dist/models/BasicNotification.d.ts +14 -12
  15. package/dist/models/BasicNotification.js +20 -20
  16. package/dist/models/BasicNotification.js.map +1 -1
  17. package/dist/models/BasicNotificationAllOf.d.ts +10 -8
  18. package/dist/models/BasicNotificationAllOf.js +17 -11
  19. package/dist/models/BasicNotificationAllOf.js.map +1 -1
  20. package/dist/models/CreateNotificationSuccessResponse.d.ts +1 -3
  21. package/dist/models/CreateNotificationSuccessResponse.js +1 -7
  22. package/dist/models/CreateNotificationSuccessResponse.js.map +1 -1
  23. package/dist/models/{ExportPlayersRequestBody.d.ts → ExportSubscriptionsRequestBody.d.ts} +1 -1
  24. package/dist/models/ExportSubscriptionsRequestBody.js +34 -0
  25. package/dist/models/ExportSubscriptionsRequestBody.js.map +1 -0
  26. package/dist/models/{ExportPlayersSuccessResponse.d.ts → ExportSubscriptionsSuccessResponse.d.ts} +1 -1
  27. package/dist/models/ExportSubscriptionsSuccessResponse.js +22 -0
  28. package/dist/models/ExportSubscriptionsSuccessResponse.js.map +1 -0
  29. package/dist/models/Filter.d.ts +6 -2
  30. package/dist/models/Filter.js +24 -0
  31. package/dist/models/Filter.js.map +1 -1
  32. package/dist/models/FilterExpression.d.ts +27 -0
  33. package/dist/models/FilterExpression.js +70 -0
  34. package/dist/models/FilterExpression.js.map +1 -0
  35. package/dist/models/GenericError.d.ts +3 -2
  36. package/dist/models/GenericError.js +13 -1
  37. package/dist/models/GenericError.js.map +1 -1
  38. package/dist/models/{DeletePlayerSuccessResponse.d.ts → GenericSuccessBoolResponse.d.ts} +1 -1
  39. package/dist/models/GenericSuccessBoolResponse.js +22 -0
  40. package/dist/models/GenericSuccessBoolResponse.js.map +1 -0
  41. package/dist/models/{GetNotificationRequestBody.d.ts → GetNotificationHistoryRequestBody.d.ts} +3 -3
  42. package/dist/models/GetNotificationHistoryRequestBody.js +34 -0
  43. package/dist/models/GetNotificationHistoryRequestBody.js.map +1 -0
  44. package/dist/models/{PlayerSlice.d.ts → GetSegmentsSuccessResponse.d.ts} +3 -3
  45. package/dist/models/GetSegmentsSuccessResponse.js +40 -0
  46. package/dist/models/GetSegmentsSuccessResponse.js.map +1 -0
  47. package/dist/models/InvalidIdentifierError.d.ts +1 -1
  48. package/dist/models/InvalidIdentifierError.js +2 -2
  49. package/dist/models/InvalidIdentifierError.js.map +1 -1
  50. package/dist/models/{StringMap.d.ts → LanguageStringMap.d.ts} +1 -1
  51. package/dist/models/{StringMap.js → LanguageStringMap.js} +10 -10
  52. package/dist/models/LanguageStringMap.js.map +1 -0
  53. package/dist/models/Notification.d.ts +14 -12
  54. package/dist/models/Notification.js +20 -20
  55. package/dist/models/Notification.js.map +1 -1
  56. package/dist/models/NotificationTarget.d.ts +4 -4
  57. package/dist/models/NotificationTarget.js +3 -9
  58. package/dist/models/NotificationTarget.js.map +1 -1
  59. package/dist/models/NotificationWithMeta.d.ts +14 -12
  60. package/dist/models/NotificationWithMeta.js +20 -20
  61. package/dist/models/NotificationWithMeta.js.map +1 -1
  62. package/dist/models/ObjectSerializer.d.ts +15 -32
  63. package/dist/models/ObjectSerializer.js +50 -102
  64. package/dist/models/ObjectSerializer.js.map +1 -1
  65. package/dist/models/{InlineResponse202.d.ts → PropertiesBody.d.ts} +1 -1
  66. package/dist/models/PropertiesBody.js +22 -0
  67. package/dist/models/PropertiesBody.js.map +1 -0
  68. package/dist/models/{DeleteSegmentNotFoundResponse.d.ts → RateLimitError.d.ts} +3 -2
  69. package/dist/models/RateLimitError.js +28 -0
  70. package/dist/models/RateLimitError.js.map +1 -0
  71. package/dist/models/Segment.d.ts +2 -2
  72. package/dist/models/Segment.js +1 -1
  73. package/dist/models/Segment.js.map +1 -1
  74. package/dist/models/{CreateSubscriptionRequestBody.d.ts → SegmentData.d.ts} +8 -4
  75. package/dist/models/SegmentData.js +58 -0
  76. package/dist/models/SegmentData.js.map +1 -0
  77. package/dist/models/{SubscriptionObject.d.ts → Subscription.d.ts} +3 -3
  78. package/dist/models/{SubscriptionObject.js → Subscription.js} +11 -11
  79. package/dist/models/Subscription.js.map +1 -0
  80. package/dist/models/{CreatePlayerSuccessResponse.d.ts → SubscriptionBody.d.ts} +3 -3
  81. package/dist/models/SubscriptionBody.js +22 -0
  82. package/dist/models/SubscriptionBody.js.map +1 -0
  83. package/dist/models/{PlayerNotificationTarget.d.ts → SubscriptionNotificationTarget.d.ts} +7 -7
  84. package/dist/models/{PlayerNotificationTarget.js → SubscriptionNotificationTarget.js} +14 -20
  85. package/dist/models/SubscriptionNotificationTarget.js.map +1 -0
  86. package/dist/models/TransferSubscriptionRequestBody.d.ts +1 -1
  87. package/dist/models/TransferSubscriptionRequestBody.js +1 -1
  88. package/dist/models/TransferSubscriptionRequestBody.js.map +1 -1
  89. package/dist/models/UpdateLiveActivityRequest.d.ts +8 -3
  90. package/dist/models/UpdateLiveActivityRequest.js +33 -3
  91. package/dist/models/UpdateLiveActivityRequest.js.map +1 -1
  92. package/dist/models/UpdateLiveActivitySuccessResponse.d.ts +1 -3
  93. package/dist/models/UpdateLiveActivitySuccessResponse.js +2 -8
  94. package/dist/models/UpdateLiveActivitySuccessResponse.js.map +1 -1
  95. package/dist/models/User.d.ts +3 -5
  96. package/dist/models/User.js +2 -8
  97. package/dist/models/User.js.map +1 -1
  98. package/dist/models/{InlineResponse200.d.ts → UserIdentityBody.d.ts} +2 -2
  99. package/dist/models/UserIdentityBody.js +22 -0
  100. package/dist/models/UserIdentityBody.js.map +1 -0
  101. package/dist/models/{BeginLiveActivityRequest.d.ts → WebButton.d.ts} +5 -3
  102. package/dist/models/WebButton.js +40 -0
  103. package/dist/models/WebButton.js.map +1 -0
  104. package/dist/models/all.d.ts +15 -32
  105. package/dist/models/all.js +15 -32
  106. package/dist/models/all.js.map +1 -1
  107. package/dist/servers.js +1 -1
  108. package/dist/servers.js.map +1 -1
  109. package/dist/types/ObjectParamAPI.d.ts +52 -102
  110. package/dist/types/ObjectParamAPI.js +26 -47
  111. package/dist/types/ObjectParamAPI.js.map +1 -1
  112. package/dist/types/ObservableAPI.d.ts +25 -45
  113. package/dist/types/ObservableAPI.js +82 -250
  114. package/dist/types/ObservableAPI.js.map +1 -1
  115. package/dist/types/PromiseAPI.d.ts +25 -45
  116. package/dist/types/PromiseAPI.js +32 -60
  117. package/dist/types/PromiseAPI.js.map +1 -1
  118. package/models/App.ts +1 -1
  119. package/models/BasicNotification.ts +49 -46
  120. package/models/BasicNotificationAllOf.ts +34 -23
  121. package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +1 -1
  122. package/models/Button.ts +1 -1
  123. package/models/CreateNotificationSuccessResponse.ts +5 -13
  124. package/models/CreateSegmentConflictResponse.ts +1 -1
  125. package/models/CreateSegmentSuccessResponse.ts +1 -1
  126. package/models/CreateUserConflictResponse.ts +1 -1
  127. package/models/CreateUserConflictResponseErrorsInner.ts +1 -1
  128. package/models/CreateUserConflictResponseErrorsItemsMeta.ts +1 -1
  129. package/models/DeliveryData.ts +1 -1
  130. package/models/ExportEventsSuccessResponse.ts +1 -1
  131. package/models/{ExportPlayersRequestBody.ts → ExportSubscriptionsRequestBody.ts} +3 -3
  132. package/models/{ExportPlayersSuccessResponse.ts → ExportSubscriptionsSuccessResponse.ts} +3 -3
  133. package/models/Filter.ts +45 -5
  134. package/models/FilterExpression.ts +120 -0
  135. package/models/GenericError.ts +17 -4
  136. package/models/{DeletePlayerSuccessResponse.ts → GenericSuccessBoolResponse.ts} +3 -3
  137. package/models/{GetNotificationRequestBody.ts → GetNotificationHistoryRequestBody.ts} +6 -6
  138. package/models/{PlayerSlice.ts → GetSegmentsSuccessResponse.ts} +20 -8
  139. package/models/InvalidIdentifierError.ts +6 -6
  140. package/models/{StringMap.ts → LanguageStringMap.ts} +3 -3
  141. package/models/Notification.ts +49 -46
  142. package/models/NotificationAllOf.ts +1 -1
  143. package/models/NotificationHistorySuccessResponse.ts +1 -1
  144. package/models/NotificationSlice.ts +1 -1
  145. package/models/NotificationTarget.ts +17 -25
  146. package/models/NotificationWithMeta.ts +49 -46
  147. package/models/NotificationWithMetaAllOf.ts +1 -1
  148. package/models/ObjectSerializer.ts +57 -109
  149. package/models/Operator.ts +1 -1
  150. package/models/OutcomeData.ts +1 -1
  151. package/models/OutcomesData.ts +1 -1
  152. package/models/PlatformDeliveryData.ts +1 -1
  153. package/models/PlatformDeliveryDataEmailAllOf.ts +1 -1
  154. package/models/PlatformDeliveryDataSmsAllOf.ts +1 -1
  155. package/models/{InlineResponse202.ts → PropertiesBody.ts} +3 -3
  156. package/models/PropertiesDeltas.ts +1 -1
  157. package/models/PropertiesObject.ts +1 -1
  158. package/models/Purchase.ts +1 -1
  159. package/models/{CreatePlayerSuccessResponse.ts → RateLimitError.ts} +10 -10
  160. package/models/Segment.ts +4 -4
  161. package/models/SegmentData.ts +94 -0
  162. package/models/SegmentNotificationTarget.ts +1 -1
  163. package/models/{SubscriptionObject.ts → Subscription.ts} +6 -6
  164. package/models/{InlineResponse201.ts → SubscriptionBody.ts} +6 -6
  165. package/models/{PlayerNotificationTarget.ts → SubscriptionNotificationTarget.ts} +21 -29
  166. package/models/TransferSubscriptionRequestBody.ts +3 -3
  167. package/models/UpdateLiveActivityRequest.ts +56 -9
  168. package/models/UpdateLiveActivitySuccessResponse.ts +4 -12
  169. package/models/UpdateUserRequest.ts +1 -1
  170. package/models/User.ts +6 -14
  171. package/models/{InlineResponse200.ts → UserIdentityBody.ts} +5 -5
  172. package/models/{BeginLiveActivityRequest.ts → WebButton.ts} +23 -9
  173. package/models/all.ts +15 -32
  174. package/package.json +2 -2
  175. package/servers.ts +1 -1
  176. package/types/ObjectParamAPI.ts +161 -357
  177. package/types/ObservableAPI.ts +108 -301
  178. package/types/PromiseAPI.ts +89 -184
  179. package/dist/models/BeginLiveActivityRequest.js +0 -28
  180. package/dist/models/BeginLiveActivityRequest.js.map +0 -1
  181. package/dist/models/CancelNotificationSuccessResponse.d.ts +0 -17
  182. package/dist/models/CancelNotificationSuccessResponse.js +0 -22
  183. package/dist/models/CancelNotificationSuccessResponse.js.map +0 -1
  184. package/dist/models/CreatePlayerSuccessResponse.js +0 -28
  185. package/dist/models/CreatePlayerSuccessResponse.js.map +0 -1
  186. package/dist/models/CreateSubscriptionRequestBody.js +0 -28
  187. package/dist/models/CreateSubscriptionRequestBody.js.map +0 -1
  188. package/dist/models/DeletePlayerNotFoundResponse.d.ts +0 -17
  189. package/dist/models/DeletePlayerNotFoundResponse.js +0 -22
  190. package/dist/models/DeletePlayerNotFoundResponse.js.map +0 -1
  191. package/dist/models/DeletePlayerSuccessResponse.js +0 -22
  192. package/dist/models/DeletePlayerSuccessResponse.js.map +0 -1
  193. package/dist/models/DeleteSegmentNotFoundResponse.js +0 -22
  194. package/dist/models/DeleteSegmentNotFoundResponse.js.map +0 -1
  195. package/dist/models/DeleteSegmentSuccessResponse.d.ts +0 -17
  196. package/dist/models/DeleteSegmentSuccessResponse.js +0 -22
  197. package/dist/models/DeleteSegmentSuccessResponse.js.map +0 -1
  198. package/dist/models/ExportPlayersRequestBody.js +0 -34
  199. package/dist/models/ExportPlayersRequestBody.js.map +0 -1
  200. package/dist/models/ExportPlayersSuccessResponse.js +0 -22
  201. package/dist/models/ExportPlayersSuccessResponse.js.map +0 -1
  202. package/dist/models/FilterExpressions.d.ts +0 -23
  203. package/dist/models/FilterExpressions.js +0 -46
  204. package/dist/models/FilterExpressions.js.map +0 -1
  205. package/dist/models/GetNotificationRequestBody.js +0 -34
  206. package/dist/models/GetNotificationRequestBody.js.map +0 -1
  207. package/dist/models/InlineResponse200.js +0 -22
  208. package/dist/models/InlineResponse200.js.map +0 -1
  209. package/dist/models/InlineResponse2003.d.ts +0 -17
  210. package/dist/models/InlineResponse2003.js +0 -22
  211. package/dist/models/InlineResponse2003.js.map +0 -1
  212. package/dist/models/InlineResponse201.d.ts +0 -18
  213. package/dist/models/InlineResponse201.js +0 -22
  214. package/dist/models/InlineResponse201.js.map +0 -1
  215. package/dist/models/InlineResponse202.js +0 -22
  216. package/dist/models/InlineResponse202.js.map +0 -1
  217. package/dist/models/Notification200Errors.d.ts +0 -18
  218. package/dist/models/Notification200Errors.js +0 -28
  219. package/dist/models/Notification200Errors.js.map +0 -1
  220. package/dist/models/Player.d.ts +0 -43
  221. package/dist/models/Player.js +0 -178
  222. package/dist/models/Player.js.map +0 -1
  223. package/dist/models/PlayerNotificationTarget.js.map +0 -1
  224. package/dist/models/PlayerNotificationTargetIncludeAliases.d.ts +0 -17
  225. package/dist/models/PlayerNotificationTargetIncludeAliases.js +0 -22
  226. package/dist/models/PlayerNotificationTargetIncludeAliases.js.map +0 -1
  227. package/dist/models/PlayerSlice.js +0 -40
  228. package/dist/models/PlayerSlice.js.map +0 -1
  229. package/dist/models/StringMap.js.map +0 -1
  230. package/dist/models/SubscriptionObject.js.map +0 -1
  231. package/dist/models/UpdatePlayerSuccessResponse.d.ts +0 -17
  232. package/dist/models/UpdatePlayerSuccessResponse.js +0 -22
  233. package/dist/models/UpdatePlayerSuccessResponse.js.map +0 -1
  234. package/dist/models/UpdatePlayerTagsRequestBody.d.ts +0 -17
  235. package/dist/models/UpdatePlayerTagsRequestBody.js +0 -22
  236. package/dist/models/UpdatePlayerTagsRequestBody.js.map +0 -1
  237. package/dist/models/UpdatePlayerTagsSuccessResponse.d.ts +0 -17
  238. package/dist/models/UpdatePlayerTagsSuccessResponse.js +0 -22
  239. package/dist/models/UpdatePlayerTagsSuccessResponse.js.map +0 -1
  240. package/dist/models/UpdateSubscriptionRequestBody.d.ts +0 -18
  241. package/dist/models/UpdateSubscriptionRequestBody.js +0 -22
  242. package/dist/models/UpdateSubscriptionRequestBody.js.map +0 -1
  243. package/dist/models/UserIdentityRequestBody.d.ts +0 -19
  244. package/dist/models/UserIdentityRequestBody.js +0 -22
  245. package/dist/models/UserIdentityRequestBody.js.map +0 -1
  246. package/dist/models/UserIdentityResponse.d.ts +0 -19
  247. package/dist/models/UserIdentityResponse.js +0 -22
  248. package/dist/models/UserIdentityResponse.js.map +0 -1
  249. package/dist/models/UserSubscriptionOptions.d.ts +0 -17
  250. package/dist/models/UserSubscriptionOptions.js +0 -22
  251. package/dist/models/UserSubscriptionOptions.js.map +0 -1
  252. package/models/CancelNotificationSuccessResponse.ts +0 -31
  253. package/models/CreateSubscriptionRequestBody.ts +0 -39
  254. package/models/DeletePlayerNotFoundResponse.ts +0 -31
  255. package/models/DeleteSegmentNotFoundResponse.ts +0 -31
  256. package/models/DeleteSegmentSuccessResponse.ts +0 -31
  257. package/models/FilterExpressions.ts +0 -80
  258. package/models/InlineResponse2003.ts +0 -31
  259. package/models/Notification200Errors.ts +0 -45
  260. package/models/Player.ts +0 -291
  261. package/models/PlayerNotificationTargetIncludeAliases.ts +0 -31
  262. package/models/UpdatePlayerSuccessResponse.ts +0 -31
  263. package/models/UpdatePlayerTagsRequestBody.ts +0 -34
  264. package/models/UpdatePlayerTagsSuccessResponse.ts +0 -31
  265. package/models/UpdateSubscriptionRequestBody.ts +0 -32
  266. package/models/UserIdentityRequestBody.ts +0 -31
  267. package/models/UserIdentityResponse.ts +0 -31
  268. package/models/UserSubscriptionOptions.ts +0 -31
@@ -1,7 +1,5 @@
1
- import { PlayerNotificationTargetIncludeAliases } from './PlayerNotificationTargetIncludeAliases';
2
- export declare class PlayerNotificationTarget {
3
- 'include_player_ids'?: Array<string>;
4
- 'include_external_user_ids'?: Array<string>;
1
+ export declare class SubscriptionNotificationTarget {
2
+ 'include_subscription_ids'?: Array<string>;
5
3
  'include_email_tokens'?: Array<string>;
6
4
  'include_phone_numbers'?: Array<string>;
7
5
  'include_ios_tokens'?: Array<string>;
@@ -10,8 +8,10 @@ export declare class PlayerNotificationTarget {
10
8
  'include_chrome_reg_ids'?: Array<string>;
11
9
  'include_chrome_web_reg_ids'?: Array<string>;
12
10
  'include_android_reg_ids'?: Array<string>;
13
- 'include_aliases'?: PlayerNotificationTargetIncludeAliases;
14
- 'target_channel'?: PlayerNotificationTargetTargetChannelEnum;
11
+ 'include_aliases'?: {
12
+ [key: string]: Array<string>;
13
+ };
14
+ 'target_channel'?: SubscriptionNotificationTargetTargetChannelEnum;
15
15
  static readonly discriminator: string | undefined;
16
16
  static readonly attributeTypeMap: Array<{
17
17
  name: string;
@@ -27,4 +27,4 @@ export declare class PlayerNotificationTarget {
27
27
  }[];
28
28
  constructor();
29
29
  }
30
- export type PlayerNotificationTargetTargetChannelEnum = "push" | "email" | "sms";
30
+ export type SubscriptionNotificationTargetTargetChannelEnum = "push" | "email" | "sms";
@@ -1,23 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PlayerNotificationTarget = void 0;
4
- var PlayerNotificationTarget = (function () {
5
- function PlayerNotificationTarget() {
3
+ exports.SubscriptionNotificationTarget = void 0;
4
+ var SubscriptionNotificationTarget = (function () {
5
+ function SubscriptionNotificationTarget() {
6
6
  }
7
- PlayerNotificationTarget.getAttributeTypeMap = function () {
8
- return PlayerNotificationTarget.attributeTypeMap;
7
+ SubscriptionNotificationTarget.getAttributeTypeMap = function () {
8
+ return SubscriptionNotificationTarget.attributeTypeMap;
9
9
  };
10
- PlayerNotificationTarget.discriminator = undefined;
11
- PlayerNotificationTarget.attributeTypeMap = [
10
+ SubscriptionNotificationTarget.discriminator = undefined;
11
+ SubscriptionNotificationTarget.attributeTypeMap = [
12
12
  {
13
- "name": "include_player_ids",
14
- "baseName": "include_player_ids",
15
- "type": "Array<string>",
16
- "format": ""
17
- },
18
- {
19
- "name": "include_external_user_ids",
20
- "baseName": "include_external_user_ids",
13
+ "name": "include_subscription_ids",
14
+ "baseName": "include_subscription_ids",
21
15
  "type": "Array<string>",
22
16
  "format": ""
23
17
  },
@@ -72,17 +66,17 @@ var PlayerNotificationTarget = (function () {
72
66
  {
73
67
  "name": "include_aliases",
74
68
  "baseName": "include_aliases",
75
- "type": "PlayerNotificationTargetIncludeAliases",
69
+ "type": "{ [key: string]: Array<string>; }",
76
70
  "format": ""
77
71
  },
78
72
  {
79
73
  "name": "target_channel",
80
74
  "baseName": "target_channel",
81
- "type": "PlayerNotificationTargetTargetChannelEnum",
75
+ "type": "SubscriptionNotificationTargetTargetChannelEnum",
82
76
  "format": ""
83
77
  }
84
78
  ];
85
- return PlayerNotificationTarget;
79
+ return SubscriptionNotificationTarget;
86
80
  }());
87
- exports.PlayerNotificationTarget = PlayerNotificationTarget;
88
- //# sourceMappingURL=PlayerNotificationTarget.js.map
81
+ exports.SubscriptionNotificationTarget = SubscriptionNotificationTarget;
82
+ //# sourceMappingURL=SubscriptionNotificationTarget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubscriptionNotificationTarget.js","sourceRoot":"","sources":["../../models/SubscriptionNotificationTarget.ts"],"names":[],"mappings":";;;AAUA;IAqHI;IACA,CAAC;IALM,kDAAmB,GAA1B;QACI,OAAO,8BAA8B,CAAC,gBAAgB,CAAC;IAC3D,CAAC;IAxEe,4CAAa,GAAuB,SAAS,CAAC;IAE9C,+CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,0BAA0B;YAClC,UAAU,EAAE,0BAA0B;YACtC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,sBAAsB;YAC9B,UAAU,EAAE,sBAAsB;YAClC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,uBAAuB;YAC/B,UAAU,EAAE,uBAAuB;YACnC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,oBAAoB;YAC5B,UAAU,EAAE,oBAAoB;YAChC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,qBAAqB;YAC7B,UAAU,EAAE,qBAAqB;YACjC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,wBAAwB;YAChC,UAAU,EAAE,wBAAwB;YACpC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,wBAAwB;YAChC,UAAU,EAAE,wBAAwB;YACpC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,4BAA4B;YACpC,UAAU,EAAE,4BAA4B;YACxC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,yBAAyB;YACjC,UAAU,EAAE,yBAAyB;YACrC,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,mCAAmC;YAC3C,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,gBAAgB;YAC5B,MAAM,EAAE,iDAAiD;YACzD,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,qCAAC;CAAA,AAvHD,IAuHC;AAvHY,wEAA8B"}
@@ -1,6 +1,6 @@
1
1
  export declare class TransferSubscriptionRequestBody {
2
2
  'identity'?: {
3
- [key: string]: any;
3
+ [key: string]: string;
4
4
  };
5
5
  static readonly discriminator: string | undefined;
6
6
  static readonly attributeTypeMap: Array<{
@@ -12,7 +12,7 @@ var TransferSubscriptionRequestBody = (function () {
12
12
  {
13
13
  "name": "identity",
14
14
  "baseName": "identity",
15
- "type": "{ [key: string]: any; }",
15
+ "type": "{ [key: string]: string; }",
16
16
  "format": ""
17
17
  }
18
18
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"TransferSubscriptionRequestBody.js","sourceRoot":"","sources":["../../models/TransferSubscriptionRequestBody.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,mDAAmB,GAA1B;QACI,OAAO,+BAA+B,CAAC,gBAAgB,CAAC;IAC5D,CAAC;IAZe,6CAAa,GAAuB,SAAS,CAAC;IAE9C,gDAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,sCAAC;CAAA,AAnBD,IAmBC;AAnBY,0EAA+B"}
1
+ {"version":3,"file":"TransferSubscriptionRequestBody.js","sourceRoot":"","sources":["../../models/TransferSubscriptionRequestBody.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,mDAAmB,GAA1B;QACI,OAAO,+BAA+B,CAAC,gBAAgB,CAAC;IAC5D,CAAC;IAZe,6CAAa,GAAuB,SAAS,CAAC;IAE9C,gDAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,4BAA4B;YACpC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,sCAAC;CAAA,AAnBD,IAmBC;AAnBY,0EAA+B"}
@@ -1,8 +1,14 @@
1
+ import { LanguageStringMap } from './LanguageStringMap';
1
2
  export declare class UpdateLiveActivityRequest {
2
- 'name': UpdateLiveActivityRequestNameEnum;
3
+ 'name': string;
3
4
  'event': UpdateLiveActivityRequestEventEnum;
4
5
  'event_updates': object;
5
- 'dismiss_at'?: number;
6
+ 'contents'?: LanguageStringMap;
7
+ 'headings'?: LanguageStringMap;
8
+ 'sound'?: string;
9
+ 'stale_date'?: number;
10
+ 'dismissal_date'?: number;
11
+ 'priority'?: number;
6
12
  static readonly discriminator: string | undefined;
7
13
  static readonly attributeTypeMap: Array<{
8
14
  name: string;
@@ -18,5 +24,4 @@ export declare class UpdateLiveActivityRequest {
18
24
  }[];
19
25
  constructor();
20
26
  }
21
- export type UpdateLiveActivityRequestNameEnum = "headings" | "contents" | "ios_sound" | "priority_level";
22
27
  export type UpdateLiveActivityRequestEventEnum = "update" | "end";
@@ -12,7 +12,7 @@ var UpdateLiveActivityRequest = (function () {
12
12
  {
13
13
  "name": "name",
14
14
  "baseName": "name",
15
- "type": "UpdateLiveActivityRequestNameEnum",
15
+ "type": "string",
16
16
  "format": ""
17
17
  },
18
18
  {
@@ -28,8 +28,38 @@ var UpdateLiveActivityRequest = (function () {
28
28
  "format": ""
29
29
  },
30
30
  {
31
- "name": "dismiss_at",
32
- "baseName": "dismiss_at",
31
+ "name": "contents",
32
+ "baseName": "contents",
33
+ "type": "LanguageStringMap",
34
+ "format": ""
35
+ },
36
+ {
37
+ "name": "headings",
38
+ "baseName": "headings",
39
+ "type": "LanguageStringMap",
40
+ "format": ""
41
+ },
42
+ {
43
+ "name": "sound",
44
+ "baseName": "sound",
45
+ "type": "string",
46
+ "format": ""
47
+ },
48
+ {
49
+ "name": "stale_date",
50
+ "baseName": "stale_date",
51
+ "type": "number",
52
+ "format": ""
53
+ },
54
+ {
55
+ "name": "dismissal_date",
56
+ "baseName": "dismissal_date",
57
+ "type": "number",
58
+ "format": ""
59
+ },
60
+ {
61
+ "name": "priority",
62
+ "baseName": "priority",
33
63
  "type": "number",
34
64
  "format": ""
35
65
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateLiveActivityRequest.js","sourceRoot":"","sources":["../../models/UpdateLiveActivityRequest.ts"],"names":[],"mappings":";;;AAUA;IA4CI;IACA,CAAC;IALM,6CAAmB,GAA1B;QACI,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACtD,CAAC;IA9Be,uCAAa,GAAuB,SAAS,CAAC;IAE9C,0CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,mCAAmC;YAC3C,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,oCAAoC;YAC5C,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,gCAAC;CAAA,AA9CD,IA8CC;AA9CY,8DAAyB"}
1
+ {"version":3,"file":"UpdateLiveActivityRequest.js","sourceRoot":"","sources":["../../models/UpdateLiveActivityRequest.ts"],"names":[],"mappings":";;;AAWA;IA2FI;IACA,CAAC;IALM,6CAAmB,GAA1B;QACI,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACtD,CAAC;IA5De,uCAAa,GAAuB,SAAS,CAAC;IAE9C,0CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,oCAAoC;YAC5C,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,mBAAmB;YAC3B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,gBAAgB;YACxB,UAAU,EAAE,gBAAgB;YAC5B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,gCAAC;CAAA,AA7FD,IA6FC;AA7FY,8DAAyB"}
@@ -1,7 +1,5 @@
1
- import { Notification200Errors } from './Notification200Errors';
2
1
  export declare class UpdateLiveActivitySuccessResponse {
3
- 'notification_id'?: string;
4
- 'errors'?: Notification200Errors;
2
+ 'id'?: string;
5
3
  static readonly discriminator: string | undefined;
6
4
  static readonly attributeTypeMap: Array<{
7
5
  name: string;
@@ -10,16 +10,10 @@ var UpdateLiveActivitySuccessResponse = (function () {
10
10
  UpdateLiveActivitySuccessResponse.discriminator = undefined;
11
11
  UpdateLiveActivitySuccessResponse.attributeTypeMap = [
12
12
  {
13
- "name": "notification_id",
14
- "baseName": "notification_id",
13
+ "name": "id",
14
+ "baseName": "id",
15
15
  "type": "string",
16
16
  "format": ""
17
- },
18
- {
19
- "name": "errors",
20
- "baseName": "errors",
21
- "type": "Notification200Errors",
22
- "format": ""
23
17
  }
24
18
  ];
25
19
  return UpdateLiveActivitySuccessResponse;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateLiveActivitySuccessResponse.js","sourceRoot":"","sources":["../../models/UpdateLiveActivitySuccessResponse.ts"],"names":[],"mappings":";;;AAWA;IAwBI;IACA,CAAC;IALM,qDAAmB,GAA1B;QACI,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC9D,CAAC;IAlBe,+CAAa,GAAuB,SAAS,CAAC;IAE9C,kDAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,iBAAiB;YACzB,UAAU,EAAE,iBAAiB;YAC7B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,uBAAuB;YAC/B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wCAAC;CAAA,AA1BD,IA0BC;AA1BY,8EAAiC"}
1
+ {"version":3,"file":"UpdateLiveActivitySuccessResponse.js","sourceRoot":"","sources":["../../models/UpdateLiveActivitySuccessResponse.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,qDAAmB,GAA1B;QACI,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC9D,CAAC;IAZe,+CAAa,GAAuB,SAAS,CAAC;IAE9C,kDAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wCAAC;CAAA,AAnBD,IAmBC;AAnBY,8EAAiC"}
@@ -1,13 +1,11 @@
1
1
  import { PropertiesObject } from './PropertiesObject';
2
- import { SubscriptionObject } from './SubscriptionObject';
3
- import { UserSubscriptionOptions } from './UserSubscriptionOptions';
2
+ import { Subscription } from './Subscription';
4
3
  export declare class User {
5
4
  'properties'?: PropertiesObject;
6
5
  'identity'?: {
7
- [key: string]: any;
6
+ [key: string]: string;
8
7
  };
9
- 'subscriptions'?: Array<SubscriptionObject>;
10
- 'subscription_options'?: UserSubscriptionOptions;
8
+ 'subscriptions'?: Array<Subscription>;
11
9
  static readonly discriminator: string | undefined;
12
10
  static readonly attributeTypeMap: Array<{
13
11
  name: string;
@@ -18,19 +18,13 @@ var User = (function () {
18
18
  {
19
19
  "name": "identity",
20
20
  "baseName": "identity",
21
- "type": "{ [key: string]: any; }",
21
+ "type": "{ [key: string]: string; }",
22
22
  "format": ""
23
23
  },
24
24
  {
25
25
  "name": "subscriptions",
26
26
  "baseName": "subscriptions",
27
- "type": "Array<SubscriptionObject>",
28
- "format": ""
29
- },
30
- {
31
- "name": "subscription_options",
32
- "baseName": "subscription_options",
33
- "type": "UserSubscriptionOptions",
27
+ "type": "Array<Subscription>",
34
28
  "format": ""
35
29
  }
36
30
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../models/User.ts"],"names":[],"mappings":";;;AAaA;IAsCI;IACA,CAAC;IALM,wBAAmB,GAA1B;QACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IA9Be,kBAAa,GAAuB,SAAS,CAAC;IAE9C,qBAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,2BAA2B;YACnC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,sBAAsB;YAC9B,UAAU,EAAE,sBAAsB;YAClC,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,WAAC;CAAA,AAxCD,IAwCC;AAxCY,oBAAI"}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../models/User.ts"],"names":[],"mappings":";;;AAYA;IA+BI;IACA,CAAC;IALM,wBAAmB,GAA1B;QACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IAxBe,kBAAa,GAAuB,SAAS,CAAC;IAE9C,qBAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,4BAA4B;YACpC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,qBAAqB;YAC7B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,WAAC;CAAA,AAjCD,IAiCC;AAjCY,oBAAI"}
@@ -1,6 +1,6 @@
1
- export declare class InlineResponse200 {
1
+ export declare class UserIdentityBody {
2
2
  'identity'?: {
3
- [key: string]: any;
3
+ [key: string]: string;
4
4
  };
5
5
  static readonly discriminator: string | undefined;
6
6
  static readonly attributeTypeMap: Array<{
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserIdentityBody = void 0;
4
+ var UserIdentityBody = (function () {
5
+ function UserIdentityBody() {
6
+ }
7
+ UserIdentityBody.getAttributeTypeMap = function () {
8
+ return UserIdentityBody.attributeTypeMap;
9
+ };
10
+ UserIdentityBody.discriminator = undefined;
11
+ UserIdentityBody.attributeTypeMap = [
12
+ {
13
+ "name": "identity",
14
+ "baseName": "identity",
15
+ "type": "{ [key: string]: string; }",
16
+ "format": ""
17
+ }
18
+ ];
19
+ return UserIdentityBody;
20
+ }());
21
+ exports.UserIdentityBody = UserIdentityBody;
22
+ //# sourceMappingURL=UserIdentityBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserIdentityBody.js","sourceRoot":"","sources":["../../models/UserIdentityBody.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,oCAAmB,GAA1B;QACI,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC7C,CAAC;IAZe,8BAAa,GAAuB,SAAS,CAAC;IAE9C,iCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,4BAA4B;YACpC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,uBAAC;CAAA,AAnBD,IAmBC;AAnBY,4CAAgB"}
@@ -1,6 +1,8 @@
1
- export declare class BeginLiveActivityRequest {
2
- 'push_token': string;
3
- 'subscription_id': string;
1
+ export declare class WebButton {
2
+ 'id': string;
3
+ 'text'?: string;
4
+ 'icon'?: string;
5
+ 'url'?: string;
4
6
  static readonly discriminator: string | undefined;
5
7
  static readonly attributeTypeMap: Array<{
6
8
  name: string;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WebButton = void 0;
4
+ var WebButton = (function () {
5
+ function WebButton() {
6
+ }
7
+ WebButton.getAttributeTypeMap = function () {
8
+ return WebButton.attributeTypeMap;
9
+ };
10
+ WebButton.discriminator = undefined;
11
+ WebButton.attributeTypeMap = [
12
+ {
13
+ "name": "id",
14
+ "baseName": "id",
15
+ "type": "string",
16
+ "format": ""
17
+ },
18
+ {
19
+ "name": "text",
20
+ "baseName": "text",
21
+ "type": "string",
22
+ "format": ""
23
+ },
24
+ {
25
+ "name": "icon",
26
+ "baseName": "icon",
27
+ "type": "string",
28
+ "format": ""
29
+ },
30
+ {
31
+ "name": "url",
32
+ "baseName": "url",
33
+ "type": "string",
34
+ "format": ""
35
+ }
36
+ ];
37
+ return WebButton;
38
+ }());
39
+ exports.WebButton = WebButton;
40
+ //# sourceMappingURL=WebButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebButton.js","sourceRoot":"","sources":["../../models/WebButton.ts"],"names":[],"mappings":";;;AAUA;IAsCI;IACA,CAAC;IALM,6BAAmB,GAA1B;QACI,OAAO,SAAS,CAAC,gBAAgB,CAAC;IACtC,CAAC;IA9Be,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,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,MAAM;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,KAAK;YACb,UAAU,EAAE,KAAK;YACjB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,gBAAC;CAAA,AAxCD,IAwCC;AAxCY,8BAAS"}
@@ -2,37 +2,26 @@ export * from './App';
2
2
  export * from './BasicNotification';
3
3
  export * from './BasicNotificationAllOf';
4
4
  export * from './BasicNotificationAllOfAndroidBackgroundLayout';
5
- export * from './BeginLiveActivityRequest';
6
5
  export * from './Button';
7
- export * from './CancelNotificationSuccessResponse';
8
6
  export * from './CreateNotificationSuccessResponse';
9
- export * from './CreatePlayerSuccessResponse';
10
7
  export * from './CreateSegmentConflictResponse';
11
8
  export * from './CreateSegmentSuccessResponse';
12
- export * from './CreateSubscriptionRequestBody';
13
9
  export * from './CreateUserConflictResponse';
14
10
  export * from './CreateUserConflictResponseErrorsInner';
15
11
  export * from './CreateUserConflictResponseErrorsItemsMeta';
16
- export * from './DeletePlayerNotFoundResponse';
17
- export * from './DeletePlayerSuccessResponse';
18
- export * from './DeleteSegmentNotFoundResponse';
19
- export * from './DeleteSegmentSuccessResponse';
20
12
  export * from './DeliveryData';
21
13
  export * from './ExportEventsSuccessResponse';
22
- export * from './ExportPlayersRequestBody';
23
- export * from './ExportPlayersSuccessResponse';
14
+ export * from './ExportSubscriptionsRequestBody';
15
+ export * from './ExportSubscriptionsSuccessResponse';
24
16
  export * from './Filter';
25
- export * from './FilterExpressions';
17
+ export * from './FilterExpression';
26
18
  export * from './GenericError';
27
- export * from './GenericErrorErrorsInner';
28
- export * from './GetNotificationRequestBody';
29
- export * from './InlineResponse200';
30
- export * from './InlineResponse2003';
31
- export * from './InlineResponse201';
32
- export * from './InlineResponse202';
19
+ export * from './GenericSuccessBoolResponse';
20
+ export * from './GetNotificationHistoryRequestBody';
21
+ export * from './GetSegmentsSuccessResponse';
33
22
  export * from './InvalidIdentifierError';
23
+ export * from './LanguageStringMap';
34
24
  export * from './Notification';
35
- export * from './Notification200Errors';
36
25
  export * from './NotificationAllOf';
37
26
  export * from './NotificationHistorySuccessResponse';
38
27
  export * from './NotificationSlice';
@@ -45,27 +34,21 @@ export * from './OutcomesData';
45
34
  export * from './PlatformDeliveryData';
46
35
  export * from './PlatformDeliveryDataEmailAllOf';
47
36
  export * from './PlatformDeliveryDataSmsAllOf';
48
- export * from './Player';
49
- export * from './PlayerNotificationTarget';
50
- export * from './PlayerNotificationTargetIncludeAliases';
51
- export * from './PlayerSlice';
37
+ export * from './PropertiesBody';
52
38
  export * from './PropertiesDeltas';
53
39
  export * from './PropertiesObject';
54
40
  export * from './Purchase';
55
- export * from './RateLimiterError';
41
+ export * from './RateLimitError';
56
42
  export * from './Segment';
43
+ export * from './SegmentData';
57
44
  export * from './SegmentNotificationTarget';
58
- export * from './StringMap';
59
- export * from './SubscriptionObject';
45
+ export * from './Subscription';
46
+ export * from './SubscriptionBody';
47
+ export * from './SubscriptionNotificationTarget';
60
48
  export * from './TransferSubscriptionRequestBody';
61
49
  export * from './UpdateLiveActivityRequest';
62
50
  export * from './UpdateLiveActivitySuccessResponse';
63
- export * from './UpdatePlayerSuccessResponse';
64
- export * from './UpdatePlayerTagsRequestBody';
65
- export * from './UpdatePlayerTagsSuccessResponse';
66
- export * from './UpdateSubscriptionRequestBody';
67
51
  export * from './UpdateUserRequest';
68
52
  export * from './User';
69
- export * from './UserIdentityRequestBody';
70
- export * from './UserIdentityResponse';
71
- export * from './UserSubscriptionOptions';
53
+ export * from './UserIdentityBody';
54
+ export * from './WebButton';
@@ -18,37 +18,26 @@ __exportStar(require("./App"), exports);
18
18
  __exportStar(require("./BasicNotification"), exports);
19
19
  __exportStar(require("./BasicNotificationAllOf"), exports);
20
20
  __exportStar(require("./BasicNotificationAllOfAndroidBackgroundLayout"), exports);
21
- __exportStar(require("./BeginLiveActivityRequest"), exports);
22
21
  __exportStar(require("./Button"), exports);
23
- __exportStar(require("./CancelNotificationSuccessResponse"), exports);
24
22
  __exportStar(require("./CreateNotificationSuccessResponse"), exports);
25
- __exportStar(require("./CreatePlayerSuccessResponse"), exports);
26
23
  __exportStar(require("./CreateSegmentConflictResponse"), exports);
27
24
  __exportStar(require("./CreateSegmentSuccessResponse"), exports);
28
- __exportStar(require("./CreateSubscriptionRequestBody"), exports);
29
25
  __exportStar(require("./CreateUserConflictResponse"), exports);
30
26
  __exportStar(require("./CreateUserConflictResponseErrorsInner"), exports);
31
27
  __exportStar(require("./CreateUserConflictResponseErrorsItemsMeta"), exports);
32
- __exportStar(require("./DeletePlayerNotFoundResponse"), exports);
33
- __exportStar(require("./DeletePlayerSuccessResponse"), exports);
34
- __exportStar(require("./DeleteSegmentNotFoundResponse"), exports);
35
- __exportStar(require("./DeleteSegmentSuccessResponse"), exports);
36
28
  __exportStar(require("./DeliveryData"), exports);
37
29
  __exportStar(require("./ExportEventsSuccessResponse"), exports);
38
- __exportStar(require("./ExportPlayersRequestBody"), exports);
39
- __exportStar(require("./ExportPlayersSuccessResponse"), exports);
30
+ __exportStar(require("./ExportSubscriptionsRequestBody"), exports);
31
+ __exportStar(require("./ExportSubscriptionsSuccessResponse"), exports);
40
32
  __exportStar(require("./Filter"), exports);
41
- __exportStar(require("./FilterExpressions"), exports);
33
+ __exportStar(require("./FilterExpression"), exports);
42
34
  __exportStar(require("./GenericError"), exports);
43
- __exportStar(require("./GenericErrorErrorsInner"), exports);
44
- __exportStar(require("./GetNotificationRequestBody"), exports);
45
- __exportStar(require("./InlineResponse200"), exports);
46
- __exportStar(require("./InlineResponse2003"), exports);
47
- __exportStar(require("./InlineResponse201"), exports);
48
- __exportStar(require("./InlineResponse202"), exports);
35
+ __exportStar(require("./GenericSuccessBoolResponse"), exports);
36
+ __exportStar(require("./GetNotificationHistoryRequestBody"), exports);
37
+ __exportStar(require("./GetSegmentsSuccessResponse"), exports);
49
38
  __exportStar(require("./InvalidIdentifierError"), exports);
39
+ __exportStar(require("./LanguageStringMap"), exports);
50
40
  __exportStar(require("./Notification"), exports);
51
- __exportStar(require("./Notification200Errors"), exports);
52
41
  __exportStar(require("./NotificationAllOf"), exports);
53
42
  __exportStar(require("./NotificationHistorySuccessResponse"), exports);
54
43
  __exportStar(require("./NotificationSlice"), exports);
@@ -61,28 +50,22 @@ __exportStar(require("./OutcomesData"), exports);
61
50
  __exportStar(require("./PlatformDeliveryData"), exports);
62
51
  __exportStar(require("./PlatformDeliveryDataEmailAllOf"), exports);
63
52
  __exportStar(require("./PlatformDeliveryDataSmsAllOf"), exports);
64
- __exportStar(require("./Player"), exports);
65
- __exportStar(require("./PlayerNotificationTarget"), exports);
66
- __exportStar(require("./PlayerNotificationTargetIncludeAliases"), exports);
67
- __exportStar(require("./PlayerSlice"), exports);
53
+ __exportStar(require("./PropertiesBody"), exports);
68
54
  __exportStar(require("./PropertiesDeltas"), exports);
69
55
  __exportStar(require("./PropertiesObject"), exports);
70
56
  __exportStar(require("./Purchase"), exports);
71
- __exportStar(require("./RateLimiterError"), exports);
57
+ __exportStar(require("./RateLimitError"), exports);
72
58
  __exportStar(require("./Segment"), exports);
59
+ __exportStar(require("./SegmentData"), exports);
73
60
  __exportStar(require("./SegmentNotificationTarget"), exports);
74
- __exportStar(require("./StringMap"), exports);
75
- __exportStar(require("./SubscriptionObject"), exports);
61
+ __exportStar(require("./Subscription"), exports);
62
+ __exportStar(require("./SubscriptionBody"), exports);
63
+ __exportStar(require("./SubscriptionNotificationTarget"), exports);
76
64
  __exportStar(require("./TransferSubscriptionRequestBody"), exports);
77
65
  __exportStar(require("./UpdateLiveActivityRequest"), exports);
78
66
  __exportStar(require("./UpdateLiveActivitySuccessResponse"), exports);
79
- __exportStar(require("./UpdatePlayerSuccessResponse"), exports);
80
- __exportStar(require("./UpdatePlayerTagsRequestBody"), exports);
81
- __exportStar(require("./UpdatePlayerTagsSuccessResponse"), exports);
82
- __exportStar(require("./UpdateSubscriptionRequestBody"), exports);
83
67
  __exportStar(require("./UpdateUserRequest"), exports);
84
68
  __exportStar(require("./User"), exports);
85
- __exportStar(require("./UserIdentityRequestBody"), exports);
86
- __exportStar(require("./UserIdentityResponse"), exports);
87
- __exportStar(require("./UserSubscriptionOptions"), exports);
69
+ __exportStar(require("./UserIdentityBody"), exports);
70
+ __exportStar(require("./WebButton"), exports);
88
71
  //# sourceMappingURL=all.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"all.js","sourceRoot":"","sources":["../../models/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,sDAAmC;AACnC,2DAAwC;AACxC,kFAA+D;AAC/D,6DAA0C;AAC1C,2CAAwB;AACxB,sEAAmD;AACnD,sEAAmD;AACnD,gEAA6C;AAC7C,kEAA+C;AAC/C,iEAA8C;AAC9C,kEAA+C;AAC/C,+DAA4C;AAC5C,0EAAuD;AACvD,8EAA2D;AAC3D,iEAA8C;AAC9C,gEAA6C;AAC7C,kEAA+C;AAC/C,iEAA8C;AAC9C,iDAA8B;AAC9B,gEAA6C;AAC7C,6DAA0C;AAC1C,iEAA8C;AAC9C,2CAAwB;AACxB,sDAAmC;AACnC,iDAA8B;AAC9B,4DAAyC;AACzC,+DAA4C;AAC5C,sDAAmC;AACnC,uDAAoC;AACpC,sDAAmC;AACnC,sDAAmC;AACnC,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,sDAAmC;AACnC,uEAAoD;AACpD,sDAAmC;AACnC,uDAAoC;AACpC,yDAAsC;AACtC,8DAA2C;AAC3C,6CAA0B;AAC1B,gDAA6B;AAC7B,iDAA8B;AAC9B,yDAAsC;AACtC,mEAAgD;AAChD,iEAA8C;AAC9C,2CAAwB;AACxB,6DAA0C;AAC1C,2EAAwD;AACxD,gDAA6B;AAC7B,qDAAkC;AAClC,qDAAkC;AAClC,6CAA0B;AAC1B,qDAAkC;AAClC,4CAAyB;AACzB,8DAA2C;AAC3C,8CAA2B;AAC3B,uDAAoC;AACpC,oEAAiD;AACjD,8DAA2C;AAC3C,sEAAmD;AACnD,gEAA6C;AAC7C,gEAA6C;AAC7C,oEAAiD;AACjD,kEAA+C;AAC/C,sDAAmC;AACnC,yCAAsB;AACtB,4DAAyC;AACzC,yDAAsC;AACtC,4DAAyC"}
1
+ {"version":3,"file":"all.js","sourceRoot":"","sources":["../../models/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,sDAAmC;AACnC,2DAAwC;AACxC,kFAA+D;AAC/D,2CAAwB;AACxB,sEAAmD;AACnD,kEAA+C;AAC/C,iEAA8C;AAC9C,+DAA4C;AAC5C,0EAAuD;AACvD,8EAA2D;AAC3D,iDAA8B;AAC9B,gEAA6C;AAC7C,mEAAgD;AAChD,uEAAoD;AACpD,2CAAwB;AACxB,qDAAkC;AAClC,iDAA8B;AAC9B,+DAA4C;AAC5C,sEAAmD;AACnD,+DAA4C;AAC5C,2DAAwC;AACxC,sDAAmC;AACnC,iDAA8B;AAC9B,sDAAmC;AACnC,uEAAoD;AACpD,sDAAmC;AACnC,uDAAoC;AACpC,yDAAsC;AACtC,8DAA2C;AAC3C,6CAA0B;AAC1B,gDAA6B;AAC7B,iDAA8B;AAC9B,yDAAsC;AACtC,mEAAgD;AAChD,iEAA8C;AAC9C,mDAAgC;AAChC,qDAAkC;AAClC,qDAAkC;AAClC,6CAA0B;AAC1B,mDAAgC;AAChC,4CAAyB;AACzB,gDAA6B;AAC7B,8DAA2C;AAC3C,iDAA8B;AAC9B,qDAAkC;AAClC,mEAAgD;AAChD,oEAAiD;AACjD,8DAA2C;AAC3C,sEAAmD;AACnD,sDAAmC;AACnC,yCAAsB;AACtB,qDAAkC;AAClC,8CAA2B"}
package/dist/servers.js CHANGED
@@ -27,6 +27,6 @@ var ServerConfiguration = (function () {
27
27
  return ServerConfiguration;
28
28
  }());
29
29
  exports.ServerConfiguration = ServerConfiguration;
30
- exports.server1 = new ServerConfiguration("https://onesignal.com/api/v1", {});
30
+ exports.server1 = new ServerConfiguration("https://api.onesignal.com", {});
31
31
  exports.servers = [exports.server1];
32
32
  //# sourceMappingURL=servers.js.map
@@ -1 +1 @@
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
+ {"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,2BAA2B,EAAE,EAAI,CAAC,CAAA;AAE1E,QAAA,OAAO,GAAG,CAAC,eAAO,CAAC,CAAC"}