@onesignal/node-onesignal 1.0.0-beta5 → 1.0.0-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm_deploy.yml +7 -5
- package/CHANGELOG.md +13 -10
- package/dist/apis/DefaultApi.d.ts +66 -0
- package/dist/apis/DefaultApi.js +1537 -0
- package/dist/apis/DefaultApi.js.map +1 -0
- package/dist/apis/baseapi.d.ts +18 -0
- package/dist/apis/baseapi.js +46 -0
- package/dist/apis/baseapi.js.map +1 -0
- package/dist/apis/exception.d.ts +10 -0
- package/dist/apis/exception.js +32 -0
- package/dist/apis/exception.js.map +1 -0
- package/dist/auth/auth.d.ts +42 -0
- package/dist/auth/auth.js +109 -0
- package/dist/auth/auth.js.map +1 -0
- package/dist/configuration.d.ts +20 -0
- package/dist/configuration.js +33 -0
- package/dist/configuration.js.map +1 -0
- package/dist/http/http.d.ts +73 -0
- package/dist/http/http.js +215 -0
- package/dist/http/http.js.map +1 -0
- package/dist/http/isomorphic-fetch.d.ts +5 -0
- package/dist/http/isomorphic-fetch.js +33 -0
- package/dist/http/isomorphic-fetch.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/middleware.d.ts +16 -0
- package/dist/middleware.js +18 -0
- package/dist/middleware.js.map +1 -0
- package/dist/models/App.d.ts +47 -0
- package/dist/models/App.js +196 -0
- package/dist/models/App.js.map +1 -0
- package/dist/models/BasicNotification.d.ts +122 -0
- package/dist/models/BasicNotification.js +622 -0
- package/dist/models/BasicNotification.js.map +1 -0
- package/dist/models/BasicNotificationAllOf.d.ts +110 -0
- package/dist/models/BasicNotificationAllOf.js +550 -0
- package/dist/models/BasicNotificationAllOf.js.map +1 -0
- package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.d.ts +19 -0
- package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.js +34 -0
- package/dist/models/BasicNotificationAllOfAndroidBackgroundLayout.js.map +1 -0
- package/dist/models/Button.d.ts +19 -0
- package/dist/models/Button.js +34 -0
- package/dist/models/Button.js.map +1 -0
- package/dist/models/CancelNotificationSuccessResponse.d.ts +17 -0
- package/dist/models/CancelNotificationSuccessResponse.js +22 -0
- package/dist/models/CancelNotificationSuccessResponse.js.map +1 -0
- package/dist/models/CreateNotificationBadRequestResponse.d.ts +17 -0
- package/dist/models/CreateNotificationBadRequestResponse.js +22 -0
- package/dist/models/CreateNotificationBadRequestResponse.js.map +1 -0
- package/dist/models/CreateNotificationSuccessResponse.d.ts +21 -0
- package/dist/models/CreateNotificationSuccessResponse.js +40 -0
- package/dist/models/CreateNotificationSuccessResponse.js.map +1 -0
- package/dist/models/CreatePlayerSuccessResponse.d.ts +18 -0
- package/dist/models/CreatePlayerSuccessResponse.js +28 -0
- package/dist/models/CreatePlayerSuccessResponse.js.map +1 -0
- package/dist/models/CreateSegmentBadRequestResponse.d.ts +18 -0
- package/dist/models/CreateSegmentBadRequestResponse.js +28 -0
- package/dist/models/CreateSegmentBadRequestResponse.js.map +1 -0
- package/dist/models/CreateSegmentConflictResponse.d.ts +18 -0
- package/dist/models/CreateSegmentConflictResponse.js +28 -0
- package/dist/models/CreateSegmentConflictResponse.js.map +1 -0
- package/dist/models/CreateSegmentSuccessResponse.d.ts +18 -0
- package/dist/models/CreateSegmentSuccessResponse.js +28 -0
- package/dist/models/CreateSegmentSuccessResponse.js.map +1 -0
- package/dist/models/DeletePlayerBadRequestResponse.d.ts +17 -0
- package/dist/models/DeletePlayerBadRequestResponse.js +22 -0
- package/dist/models/DeletePlayerBadRequestResponse.js.map +1 -0
- package/dist/models/DeletePlayerNotFoundResponse.d.ts +17 -0
- package/dist/models/DeletePlayerNotFoundResponse.js +22 -0
- package/dist/models/DeletePlayerNotFoundResponse.js.map +1 -0
- package/dist/models/DeletePlayerSuccessResponse.d.ts +17 -0
- package/dist/models/DeletePlayerSuccessResponse.js +22 -0
- package/dist/models/DeletePlayerSuccessResponse.js.map +1 -0
- package/dist/models/DeleteSegmentBadRequestResponse.d.ts +17 -0
- package/dist/models/DeleteSegmentBadRequestResponse.js +22 -0
- package/dist/models/DeleteSegmentBadRequestResponse.js.map +1 -0
- package/dist/models/DeleteSegmentNotFoundResponse.d.ts +17 -0
- package/dist/models/DeleteSegmentNotFoundResponse.js +22 -0
- package/dist/models/DeleteSegmentNotFoundResponse.js.map +1 -0
- package/dist/models/DeleteSegmentSuccessResponse.d.ts +17 -0
- package/dist/models/DeleteSegmentSuccessResponse.js +22 -0
- package/dist/models/DeleteSegmentSuccessResponse.js.map +1 -0
- package/dist/models/DeliveryData.d.ts +21 -0
- package/dist/models/DeliveryData.js +46 -0
- package/dist/models/DeliveryData.js.map +1 -0
- package/dist/models/ExportPlayersRequestBody.d.ts +19 -0
- package/dist/models/ExportPlayersRequestBody.js +34 -0
- package/dist/models/ExportPlayersRequestBody.js.map +1 -0
- package/dist/models/ExportPlayersSuccessResponse.d.ts +17 -0
- package/dist/models/ExportPlayersSuccessResponse.js +22 -0
- package/dist/models/ExportPlayersSuccessResponse.js.map +1 -0
- package/dist/models/Filter.d.ts +21 -0
- package/dist/models/Filter.js +40 -0
- package/dist/models/Filter.js.map +1 -0
- package/dist/models/FilterExpressions.d.ts +23 -0
- package/dist/models/FilterExpressions.js +46 -0
- package/dist/models/FilterExpressions.js.map +1 -0
- package/dist/models/FilterNotificationTarget.d.ts +28 -0
- package/dist/models/FilterNotificationTarget.js +88 -0
- package/dist/models/FilterNotificationTarget.js.map +1 -0
- package/dist/models/GetNotificationRequestBody.d.ts +20 -0
- package/dist/models/GetNotificationRequestBody.js +34 -0
- package/dist/models/GetNotificationRequestBody.js.map +1 -0
- package/dist/models/InvalidIdentifierError.d.ts +18 -0
- package/dist/models/InvalidIdentifierError.js +28 -0
- package/dist/models/InvalidIdentifierError.js.map +1 -0
- package/dist/models/Notification.d.ts +123 -0
- package/dist/models/Notification.js +628 -0
- package/dist/models/Notification.js.map +1 -0
- package/dist/models/Notification200Errors.d.ts +18 -0
- package/dist/models/Notification200Errors.js +28 -0
- package/dist/models/Notification200Errors.js.map +1 -0
- package/dist/models/NotificationAllOf.d.ts +17 -0
- package/dist/models/NotificationAllOf.js +22 -0
- package/dist/models/NotificationAllOf.js.map +1 -0
- package/dist/models/NotificationHistoryBadRequestResponse.d.ts +18 -0
- package/dist/models/NotificationHistoryBadRequestResponse.js +28 -0
- package/dist/models/NotificationHistoryBadRequestResponse.js.map +1 -0
- package/dist/models/NotificationHistorySuccessResponse.d.ts +18 -0
- package/dist/models/NotificationHistorySuccessResponse.js +28 -0
- package/dist/models/NotificationHistorySuccessResponse.js.map +1 -0
- package/dist/models/NotificationSlice.d.ts +21 -0
- package/dist/models/NotificationSlice.js +40 -0
- package/dist/models/NotificationSlice.js.map +1 -0
- package/dist/models/NotificationTarget.d.ts +28 -0
- package/dist/models/NotificationTarget.js +88 -0
- package/dist/models/NotificationTarget.js.map +1 -0
- package/dist/models/NotificationWithMeta.d.ts +135 -0
- package/dist/models/NotificationWithMeta.js +688 -0
- package/dist/models/NotificationWithMeta.js.map +1 -0
- package/dist/models/NotificationWithMetaAllOf.d.ts +28 -0
- package/dist/models/NotificationWithMetaAllOf.js +82 -0
- package/dist/models/NotificationWithMetaAllOf.js.map +1 -0
- package/dist/models/ObjectSerializer.d.ts +59 -0
- package/dist/models/ObjectSerializer.js +367 -0
- package/dist/models/ObjectSerializer.js.map +1 -0
- package/dist/models/Operator.d.ts +18 -0
- package/dist/models/Operator.js +22 -0
- package/dist/models/Operator.js.map +1 -0
- package/dist/models/OutcomeData.d.ts +20 -0
- package/dist/models/OutcomeData.js +34 -0
- package/dist/models/OutcomeData.js.map +1 -0
- package/dist/models/OutcomesData.d.ts +18 -0
- package/dist/models/OutcomesData.js +22 -0
- package/dist/models/OutcomesData.js.map +1 -0
- package/dist/models/PlatformDeliveryData.d.ts +27 -0
- package/dist/models/PlatformDeliveryData.js +64 -0
- package/dist/models/PlatformDeliveryData.js.map +1 -0
- package/dist/models/PlatformDeliveryDataEmailAllOf.d.ts +23 -0
- package/dist/models/PlatformDeliveryDataEmailAllOf.js +58 -0
- package/dist/models/PlatformDeliveryDataEmailAllOf.js.map +1 -0
- package/dist/models/PlatformDeliveryDataSmsAllOf.d.ts +19 -0
- package/dist/models/PlatformDeliveryDataSmsAllOf.js +34 -0
- package/dist/models/PlatformDeliveryDataSmsAllOf.js.map +1 -0
- package/dist/models/Player.d.ts +43 -0
- package/dist/models/Player.js +178 -0
- package/dist/models/Player.js.map +1 -0
- package/dist/models/PlayerNotificationTarget.d.ts +26 -0
- package/dist/models/PlayerNotificationTarget.js +76 -0
- package/dist/models/PlayerNotificationTarget.js.map +1 -0
- package/dist/models/PlayerSlice.d.ts +21 -0
- package/dist/models/PlayerSlice.js +40 -0
- package/dist/models/PlayerSlice.js.map +1 -0
- package/dist/models/Purchase.d.ts +19 -0
- package/dist/models/Purchase.js +34 -0
- package/dist/models/Purchase.js.map +1 -0
- package/dist/models/Segment.d.ts +20 -0
- package/dist/models/Segment.js +34 -0
- package/dist/models/Segment.js.map +1 -0
- package/dist/models/SegmentNotificationTarget.d.ts +18 -0
- package/dist/models/SegmentNotificationTarget.js +28 -0
- package/dist/models/SegmentNotificationTarget.js.map +1 -0
- package/dist/models/StringMap.d.ts +59 -0
- package/dist/models/StringMap.js +274 -0
- package/dist/models/StringMap.js.map +1 -0
- package/dist/models/UpdatePlayerSuccessResponse.d.ts +17 -0
- package/dist/models/UpdatePlayerSuccessResponse.js +22 -0
- package/dist/models/UpdatePlayerSuccessResponse.js.map +1 -0
- package/dist/models/UpdatePlayerTagsRequestBody.d.ts +17 -0
- package/dist/models/UpdatePlayerTagsRequestBody.js +22 -0
- package/dist/models/UpdatePlayerTagsRequestBody.js.map +1 -0
- package/dist/models/UpdatePlayerTagsSuccessResponse.d.ts +17 -0
- package/dist/models/UpdatePlayerTagsSuccessResponse.js +22 -0
- package/dist/models/UpdatePlayerTagsSuccessResponse.js.map +1 -0
- package/dist/models/all.d.ts +50 -0
- package/dist/models/all.js +67 -0
- package/dist/models/all.js.map +1 -0
- package/dist/rxjsStub.d.ts +10 -0
- package/dist/rxjsStub.js +33 -0
- package/dist/rxjsStub.js.map +1 -0
- package/dist/servers.d.ts +17 -0
- package/dist/servers.js +32 -0
- package/dist/servers.js.map +1 -0
- package/dist/types/ObjectParamAPI.d.ts +125 -0
- package/dist/types/ObjectParamAPI.js +70 -0
- package/dist/types/ObjectParamAPI.js.map +1 -0
- package/dist/types/ObservableAPI.d.ts +49 -0
- package/dist/types/ObservableAPI.js +472 -0
- package/dist/types/ObservableAPI.js.map +1 -0
- package/dist/types/PromiseAPI.d.ts +46 -0
- package/dist/types/PromiseAPI.js +88 -0
- package/dist/types/PromiseAPI.js.map +1 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.js +29 -0
- package/dist/util.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class UpdatePlayerTagsSuccessResponse {
|
|
2
|
+
'success'?: boolean;
|
|
3
|
+
static readonly discriminator: string | undefined;
|
|
4
|
+
static readonly attributeTypeMap: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
baseName: string;
|
|
7
|
+
type: string;
|
|
8
|
+
format: string;
|
|
9
|
+
}>;
|
|
10
|
+
static getAttributeTypeMap(): {
|
|
11
|
+
name: string;
|
|
12
|
+
baseName: string;
|
|
13
|
+
type: string;
|
|
14
|
+
format: string;
|
|
15
|
+
}[];
|
|
16
|
+
constructor();
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdatePlayerTagsSuccessResponse = void 0;
|
|
4
|
+
var UpdatePlayerTagsSuccessResponse = (function () {
|
|
5
|
+
function UpdatePlayerTagsSuccessResponse() {
|
|
6
|
+
}
|
|
7
|
+
UpdatePlayerTagsSuccessResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return UpdatePlayerTagsSuccessResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UpdatePlayerTagsSuccessResponse.discriminator = undefined;
|
|
11
|
+
UpdatePlayerTagsSuccessResponse.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "success",
|
|
14
|
+
"baseName": "success",
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return UpdatePlayerTagsSuccessResponse;
|
|
20
|
+
}());
|
|
21
|
+
exports.UpdatePlayerTagsSuccessResponse = UpdatePlayerTagsSuccessResponse;
|
|
22
|
+
//# sourceMappingURL=UpdatePlayerTagsSuccessResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdatePlayerTagsSuccessResponse.js","sourceRoot":"","sources":["../../models/UpdatePlayerTagsSuccessResponse.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,SAAS;YACjB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,sCAAC;CAAA,AAnBD,IAmBC;AAnBY,0EAA+B"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export * from './App';
|
|
2
|
+
export * from './BasicNotification';
|
|
3
|
+
export * from './BasicNotificationAllOf';
|
|
4
|
+
export * from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
5
|
+
export * from './Button';
|
|
6
|
+
export * from './CancelNotificationSuccessResponse';
|
|
7
|
+
export * from './CreateNotificationBadRequestResponse';
|
|
8
|
+
export * from './CreateNotificationSuccessResponse';
|
|
9
|
+
export * from './CreatePlayerSuccessResponse';
|
|
10
|
+
export * from './CreateSegmentBadRequestResponse';
|
|
11
|
+
export * from './CreateSegmentConflictResponse';
|
|
12
|
+
export * from './CreateSegmentSuccessResponse';
|
|
13
|
+
export * from './DeletePlayerBadRequestResponse';
|
|
14
|
+
export * from './DeletePlayerNotFoundResponse';
|
|
15
|
+
export * from './DeletePlayerSuccessResponse';
|
|
16
|
+
export * from './DeleteSegmentBadRequestResponse';
|
|
17
|
+
export * from './DeleteSegmentNotFoundResponse';
|
|
18
|
+
export * from './DeleteSegmentSuccessResponse';
|
|
19
|
+
export * from './DeliveryData';
|
|
20
|
+
export * from './ExportPlayersRequestBody';
|
|
21
|
+
export * from './ExportPlayersSuccessResponse';
|
|
22
|
+
export * from './Filter';
|
|
23
|
+
export * from './FilterExpressions';
|
|
24
|
+
export * from './GetNotificationRequestBody';
|
|
25
|
+
export * from './InvalidIdentifierError';
|
|
26
|
+
export * from './Notification';
|
|
27
|
+
export * from './Notification200Errors';
|
|
28
|
+
export * from './NotificationAllOf';
|
|
29
|
+
export * from './NotificationHistoryBadRequestResponse';
|
|
30
|
+
export * from './NotificationHistorySuccessResponse';
|
|
31
|
+
export * from './NotificationSlice';
|
|
32
|
+
export * from './NotificationTarget';
|
|
33
|
+
export * from './NotificationWithMeta';
|
|
34
|
+
export * from './NotificationWithMetaAllOf';
|
|
35
|
+
export * from './Operator';
|
|
36
|
+
export * from './OutcomeData';
|
|
37
|
+
export * from './OutcomesData';
|
|
38
|
+
export * from './PlatformDeliveryData';
|
|
39
|
+
export * from './PlatformDeliveryDataEmailAllOf';
|
|
40
|
+
export * from './PlatformDeliveryDataSmsAllOf';
|
|
41
|
+
export * from './Player';
|
|
42
|
+
export * from './PlayerNotificationTarget';
|
|
43
|
+
export * from './PlayerSlice';
|
|
44
|
+
export * from './Purchase';
|
|
45
|
+
export * from './Segment';
|
|
46
|
+
export * from './SegmentNotificationTarget';
|
|
47
|
+
export * from './StringMap';
|
|
48
|
+
export * from './UpdatePlayerSuccessResponse';
|
|
49
|
+
export * from './UpdatePlayerTagsRequestBody';
|
|
50
|
+
export * from './UpdatePlayerTagsSuccessResponse';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./App"), exports);
|
|
18
|
+
__exportStar(require("./BasicNotification"), exports);
|
|
19
|
+
__exportStar(require("./BasicNotificationAllOf"), exports);
|
|
20
|
+
__exportStar(require("./BasicNotificationAllOfAndroidBackgroundLayout"), exports);
|
|
21
|
+
__exportStar(require("./Button"), exports);
|
|
22
|
+
__exportStar(require("./CancelNotificationSuccessResponse"), exports);
|
|
23
|
+
__exportStar(require("./CreateNotificationBadRequestResponse"), exports);
|
|
24
|
+
__exportStar(require("./CreateNotificationSuccessResponse"), exports);
|
|
25
|
+
__exportStar(require("./CreatePlayerSuccessResponse"), exports);
|
|
26
|
+
__exportStar(require("./CreateSegmentBadRequestResponse"), exports);
|
|
27
|
+
__exportStar(require("./CreateSegmentConflictResponse"), exports);
|
|
28
|
+
__exportStar(require("./CreateSegmentSuccessResponse"), exports);
|
|
29
|
+
__exportStar(require("./DeletePlayerBadRequestResponse"), exports);
|
|
30
|
+
__exportStar(require("./DeletePlayerNotFoundResponse"), exports);
|
|
31
|
+
__exportStar(require("./DeletePlayerSuccessResponse"), exports);
|
|
32
|
+
__exportStar(require("./DeleteSegmentBadRequestResponse"), exports);
|
|
33
|
+
__exportStar(require("./DeleteSegmentNotFoundResponse"), exports);
|
|
34
|
+
__exportStar(require("./DeleteSegmentSuccessResponse"), exports);
|
|
35
|
+
__exportStar(require("./DeliveryData"), exports);
|
|
36
|
+
__exportStar(require("./ExportPlayersRequestBody"), exports);
|
|
37
|
+
__exportStar(require("./ExportPlayersSuccessResponse"), exports);
|
|
38
|
+
__exportStar(require("./Filter"), exports);
|
|
39
|
+
__exportStar(require("./FilterExpressions"), exports);
|
|
40
|
+
__exportStar(require("./GetNotificationRequestBody"), exports);
|
|
41
|
+
__exportStar(require("./InvalidIdentifierError"), exports);
|
|
42
|
+
__exportStar(require("./Notification"), exports);
|
|
43
|
+
__exportStar(require("./Notification200Errors"), exports);
|
|
44
|
+
__exportStar(require("./NotificationAllOf"), exports);
|
|
45
|
+
__exportStar(require("./NotificationHistoryBadRequestResponse"), exports);
|
|
46
|
+
__exportStar(require("./NotificationHistorySuccessResponse"), exports);
|
|
47
|
+
__exportStar(require("./NotificationSlice"), exports);
|
|
48
|
+
__exportStar(require("./NotificationTarget"), exports);
|
|
49
|
+
__exportStar(require("./NotificationWithMeta"), exports);
|
|
50
|
+
__exportStar(require("./NotificationWithMetaAllOf"), exports);
|
|
51
|
+
__exportStar(require("./Operator"), exports);
|
|
52
|
+
__exportStar(require("./OutcomeData"), exports);
|
|
53
|
+
__exportStar(require("./OutcomesData"), exports);
|
|
54
|
+
__exportStar(require("./PlatformDeliveryData"), exports);
|
|
55
|
+
__exportStar(require("./PlatformDeliveryDataEmailAllOf"), exports);
|
|
56
|
+
__exportStar(require("./PlatformDeliveryDataSmsAllOf"), exports);
|
|
57
|
+
__exportStar(require("./Player"), exports);
|
|
58
|
+
__exportStar(require("./PlayerNotificationTarget"), exports);
|
|
59
|
+
__exportStar(require("./PlayerSlice"), exports);
|
|
60
|
+
__exportStar(require("./Purchase"), exports);
|
|
61
|
+
__exportStar(require("./Segment"), exports);
|
|
62
|
+
__exportStar(require("./SegmentNotificationTarget"), exports);
|
|
63
|
+
__exportStar(require("./StringMap"), exports);
|
|
64
|
+
__exportStar(require("./UpdatePlayerSuccessResponse"), exports);
|
|
65
|
+
__exportStar(require("./UpdatePlayerTagsRequestBody"), exports);
|
|
66
|
+
__exportStar(require("./UpdatePlayerTagsSuccessResponse"), exports);
|
|
67
|
+
//# sourceMappingURL=all.js.map
|
|
@@ -0,0 +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,2CAAwB;AACxB,sEAAmD;AACnD,yEAAsD;AACtD,sEAAmD;AACnD,gEAA6C;AAC7C,oEAAiD;AACjD,kEAA+C;AAC/C,iEAA8C;AAC9C,mEAAgD;AAChD,iEAA8C;AAC9C,gEAA6C;AAC7C,oEAAiD;AACjD,kEAA+C;AAC/C,iEAA8C;AAC9C,iDAA8B;AAC9B,6DAA0C;AAC1C,iEAA8C;AAC9C,2CAAwB;AACxB,sDAAmC;AACnC,+DAA4C;AAC5C,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,sDAAmC;AACnC,0EAAuD;AACvD,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,gDAA6B;AAC7B,6CAA0B;AAC1B,4CAAyB;AACzB,8DAA2C;AAC3C,8CAA2B;AAC3B,gEAA6C;AAC7C,gEAA6C;AAC7C,oEAAiD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
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
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { App } from '../models/App';
|
|
3
|
+
import { CancelNotificationSuccessResponse } from '../models/CancelNotificationSuccessResponse';
|
|
4
|
+
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
5
|
+
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
6
|
+
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
7
|
+
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
8
|
+
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
9
|
+
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
10
|
+
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
11
|
+
import { GetNotificationRequestBody } from '../models/GetNotificationRequestBody';
|
|
12
|
+
import { Notification } from '../models/Notification';
|
|
13
|
+
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
14
|
+
import { NotificationSlice } from '../models/NotificationSlice';
|
|
15
|
+
import { NotificationWithMeta } from '../models/NotificationWithMeta';
|
|
16
|
+
import { OutcomesData } from '../models/OutcomesData';
|
|
17
|
+
import { Player } from '../models/Player';
|
|
18
|
+
import { PlayerSlice } from '../models/PlayerSlice';
|
|
19
|
+
import { Segment } from '../models/Segment';
|
|
20
|
+
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
21
|
+
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
22
|
+
import { UpdatePlayerTagsSuccessResponse } from '../models/UpdatePlayerTagsSuccessResponse';
|
|
23
|
+
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
24
|
+
export interface DefaultApiCancelNotificationRequest {
|
|
25
|
+
appId: string;
|
|
26
|
+
notificationId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface DefaultApiCreateAppRequest {
|
|
29
|
+
app: App;
|
|
30
|
+
}
|
|
31
|
+
export interface DefaultApiCreateNotificationRequest {
|
|
32
|
+
notification: Notification;
|
|
33
|
+
}
|
|
34
|
+
export interface DefaultApiCreatePlayerRequest {
|
|
35
|
+
player: Player;
|
|
36
|
+
}
|
|
37
|
+
export interface DefaultApiCreateSegmentsRequest {
|
|
38
|
+
appId: string;
|
|
39
|
+
segment?: Segment;
|
|
40
|
+
}
|
|
41
|
+
export interface DefaultApiDeletePlayerRequest {
|
|
42
|
+
appId: string;
|
|
43
|
+
playerId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface DefaultApiDeleteSegmentsRequest {
|
|
46
|
+
appId: string;
|
|
47
|
+
segmentId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface DefaultApiExportPlayersRequest {
|
|
50
|
+
appId: string;
|
|
51
|
+
exportPlayersRequestBody?: ExportPlayersRequestBody;
|
|
52
|
+
}
|
|
53
|
+
export interface DefaultApiGetAppRequest {
|
|
54
|
+
appId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface DefaultApiGetAppsRequest {
|
|
57
|
+
}
|
|
58
|
+
export interface DefaultApiGetNotificationRequest {
|
|
59
|
+
appId: string;
|
|
60
|
+
notificationId: string;
|
|
61
|
+
}
|
|
62
|
+
export interface DefaultApiGetNotificationHistoryRequest {
|
|
63
|
+
notificationId: string;
|
|
64
|
+
getNotificationRequestBody: GetNotificationRequestBody;
|
|
65
|
+
}
|
|
66
|
+
export interface DefaultApiGetNotificationsRequest {
|
|
67
|
+
appId: string;
|
|
68
|
+
limit?: number;
|
|
69
|
+
offset?: number;
|
|
70
|
+
kind?: 0 | 1 | 3;
|
|
71
|
+
}
|
|
72
|
+
export interface DefaultApiGetOutcomesRequest {
|
|
73
|
+
appId: string;
|
|
74
|
+
outcomeNames: string;
|
|
75
|
+
outcomeNames2?: string;
|
|
76
|
+
outcomeTimeRange?: string;
|
|
77
|
+
outcomePlatforms?: string;
|
|
78
|
+
outcomeAttribution?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface DefaultApiGetPlayerRequest {
|
|
81
|
+
appId: string;
|
|
82
|
+
playerId: string;
|
|
83
|
+
emailAuthHash?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface DefaultApiGetPlayersRequest {
|
|
86
|
+
appId: string;
|
|
87
|
+
limit?: number;
|
|
88
|
+
offset?: number;
|
|
89
|
+
}
|
|
90
|
+
export interface DefaultApiUpdateAppRequest {
|
|
91
|
+
appId: string;
|
|
92
|
+
app: App;
|
|
93
|
+
}
|
|
94
|
+
export interface DefaultApiUpdatePlayerRequest {
|
|
95
|
+
playerId: string;
|
|
96
|
+
player: Player;
|
|
97
|
+
}
|
|
98
|
+
export interface DefaultApiUpdatePlayerTagsRequest {
|
|
99
|
+
appId: string;
|
|
100
|
+
externalUserId: string;
|
|
101
|
+
updatePlayerTagsRequestBody?: UpdatePlayerTagsRequestBody;
|
|
102
|
+
}
|
|
103
|
+
export declare class ObjectDefaultApi {
|
|
104
|
+
private api;
|
|
105
|
+
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
106
|
+
cancelNotification(param: DefaultApiCancelNotificationRequest, options?: Configuration): Promise<CancelNotificationSuccessResponse>;
|
|
107
|
+
createApp(param: DefaultApiCreateAppRequest, options?: Configuration): Promise<App>;
|
|
108
|
+
createNotification(param: DefaultApiCreateNotificationRequest, options?: Configuration): Promise<CreateNotificationSuccessResponse>;
|
|
109
|
+
createPlayer(param: DefaultApiCreatePlayerRequest, options?: Configuration): Promise<CreatePlayerSuccessResponse>;
|
|
110
|
+
createSegments(param: DefaultApiCreateSegmentsRequest, options?: Configuration): Promise<CreateSegmentSuccessResponse>;
|
|
111
|
+
deletePlayer(param: DefaultApiDeletePlayerRequest, options?: Configuration): Promise<DeletePlayerSuccessResponse>;
|
|
112
|
+
deleteSegments(param: DefaultApiDeleteSegmentsRequest, options?: Configuration): Promise<DeleteSegmentSuccessResponse>;
|
|
113
|
+
exportPlayers(param: DefaultApiExportPlayersRequest, options?: Configuration): Promise<ExportPlayersSuccessResponse>;
|
|
114
|
+
getApp(param: DefaultApiGetAppRequest, options?: Configuration): Promise<App>;
|
|
115
|
+
getApps(param?: DefaultApiGetAppsRequest, options?: Configuration): Promise<Array<App>>;
|
|
116
|
+
getNotification(param: DefaultApiGetNotificationRequest, options?: Configuration): Promise<NotificationWithMeta>;
|
|
117
|
+
getNotificationHistory(param: DefaultApiGetNotificationHistoryRequest, options?: Configuration): Promise<NotificationHistorySuccessResponse>;
|
|
118
|
+
getNotifications(param: DefaultApiGetNotificationsRequest, options?: Configuration): Promise<NotificationSlice>;
|
|
119
|
+
getOutcomes(param: DefaultApiGetOutcomesRequest, options?: Configuration): Promise<OutcomesData>;
|
|
120
|
+
getPlayer(param: DefaultApiGetPlayerRequest, options?: Configuration): Promise<Player>;
|
|
121
|
+
getPlayers(param: DefaultApiGetPlayersRequest, options?: Configuration): Promise<PlayerSlice>;
|
|
122
|
+
updateApp(param: DefaultApiUpdateAppRequest, options?: Configuration): Promise<App>;
|
|
123
|
+
updatePlayer(param: DefaultApiUpdatePlayerRequest, options?: Configuration): Promise<UpdatePlayerSuccessResponse>;
|
|
124
|
+
updatePlayerTags(param: DefaultApiUpdatePlayerTagsRequest, options?: Configuration): Promise<UpdatePlayerTagsSuccessResponse>;
|
|
125
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ObjectDefaultApi = void 0;
|
|
4
|
+
var ObservableAPI_1 = require("./ObservableAPI");
|
|
5
|
+
var ObjectDefaultApi = (function () {
|
|
6
|
+
function ObjectDefaultApi(configuration, requestFactory, responseProcessor) {
|
|
7
|
+
this.api = new ObservableAPI_1.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
|
|
8
|
+
}
|
|
9
|
+
ObjectDefaultApi.prototype.cancelNotification = function (param, options) {
|
|
10
|
+
return this.api.cancelNotification(param.appId, param.notificationId, options).toPromise();
|
|
11
|
+
};
|
|
12
|
+
ObjectDefaultApi.prototype.createApp = function (param, options) {
|
|
13
|
+
return this.api.createApp(param.app, options).toPromise();
|
|
14
|
+
};
|
|
15
|
+
ObjectDefaultApi.prototype.createNotification = function (param, options) {
|
|
16
|
+
return this.api.createNotification(param.notification, options).toPromise();
|
|
17
|
+
};
|
|
18
|
+
ObjectDefaultApi.prototype.createPlayer = function (param, options) {
|
|
19
|
+
return this.api.createPlayer(param.player, options).toPromise();
|
|
20
|
+
};
|
|
21
|
+
ObjectDefaultApi.prototype.createSegments = function (param, options) {
|
|
22
|
+
return this.api.createSegments(param.appId, param.segment, options).toPromise();
|
|
23
|
+
};
|
|
24
|
+
ObjectDefaultApi.prototype.deletePlayer = function (param, options) {
|
|
25
|
+
return this.api.deletePlayer(param.appId, param.playerId, options).toPromise();
|
|
26
|
+
};
|
|
27
|
+
ObjectDefaultApi.prototype.deleteSegments = function (param, options) {
|
|
28
|
+
return this.api.deleteSegments(param.appId, param.segmentId, options).toPromise();
|
|
29
|
+
};
|
|
30
|
+
ObjectDefaultApi.prototype.exportPlayers = function (param, options) {
|
|
31
|
+
return this.api.exportPlayers(param.appId, param.exportPlayersRequestBody, options).toPromise();
|
|
32
|
+
};
|
|
33
|
+
ObjectDefaultApi.prototype.getApp = function (param, options) {
|
|
34
|
+
return this.api.getApp(param.appId, options).toPromise();
|
|
35
|
+
};
|
|
36
|
+
ObjectDefaultApi.prototype.getApps = function (param, options) {
|
|
37
|
+
if (param === void 0) { param = {}; }
|
|
38
|
+
return this.api.getApps(options).toPromise();
|
|
39
|
+
};
|
|
40
|
+
ObjectDefaultApi.prototype.getNotification = function (param, options) {
|
|
41
|
+
return this.api.getNotification(param.appId, param.notificationId, options).toPromise();
|
|
42
|
+
};
|
|
43
|
+
ObjectDefaultApi.prototype.getNotificationHistory = function (param, options) {
|
|
44
|
+
return this.api.getNotificationHistory(param.notificationId, param.getNotificationRequestBody, options).toPromise();
|
|
45
|
+
};
|
|
46
|
+
ObjectDefaultApi.prototype.getNotifications = function (param, options) {
|
|
47
|
+
return this.api.getNotifications(param.appId, param.limit, param.offset, param.kind, options).toPromise();
|
|
48
|
+
};
|
|
49
|
+
ObjectDefaultApi.prototype.getOutcomes = function (param, options) {
|
|
50
|
+
return this.api.getOutcomes(param.appId, param.outcomeNames, param.outcomeNames2, param.outcomeTimeRange, param.outcomePlatforms, param.outcomeAttribution, options).toPromise();
|
|
51
|
+
};
|
|
52
|
+
ObjectDefaultApi.prototype.getPlayer = function (param, options) {
|
|
53
|
+
return this.api.getPlayer(param.appId, param.playerId, param.emailAuthHash, options).toPromise();
|
|
54
|
+
};
|
|
55
|
+
ObjectDefaultApi.prototype.getPlayers = function (param, options) {
|
|
56
|
+
return this.api.getPlayers(param.appId, param.limit, param.offset, options).toPromise();
|
|
57
|
+
};
|
|
58
|
+
ObjectDefaultApi.prototype.updateApp = function (param, options) {
|
|
59
|
+
return this.api.updateApp(param.appId, param.app, options).toPromise();
|
|
60
|
+
};
|
|
61
|
+
ObjectDefaultApi.prototype.updatePlayer = function (param, options) {
|
|
62
|
+
return this.api.updatePlayer(param.playerId, param.player, options).toPromise();
|
|
63
|
+
};
|
|
64
|
+
ObjectDefaultApi.prototype.updatePlayerTags = function (param, options) {
|
|
65
|
+
return this.api.updatePlayerTags(param.appId, param.externalUserId, param.updatePlayerTagsRequestBody, options).toPromise();
|
|
66
|
+
};
|
|
67
|
+
return ObjectDefaultApi;
|
|
68
|
+
}());
|
|
69
|
+
exports.ObjectDefaultApi = ObjectDefaultApi;
|
|
70
|
+
//# sourceMappingURL=ObjectParamAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectParamAPI.js","sourceRoot":"","sources":["../../types/ObjectParamAPI.ts"],"names":[],"mappings":";;;AAuD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AM,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IACrF,CAAC;IAOM,2CAAgB,GAAvB,UAAwB,KAAwC,EAAE,OAAuB;QACrF,OAAO,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,2BAA2B,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IACjI,CAAC;IAEL,uBAAC;AAAD,CAAC,AAlLD,IAkLC;AAlLY,4CAAgB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Configuration } from '../configuration';
|
|
2
|
+
import { Observable } from '../rxjsStub';
|
|
3
|
+
import { App } from '../models/App';
|
|
4
|
+
import { CancelNotificationSuccessResponse } from '../models/CancelNotificationSuccessResponse';
|
|
5
|
+
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
6
|
+
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
7
|
+
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
8
|
+
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
9
|
+
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
10
|
+
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
11
|
+
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
12
|
+
import { GetNotificationRequestBody } from '../models/GetNotificationRequestBody';
|
|
13
|
+
import { Notification } from '../models/Notification';
|
|
14
|
+
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
15
|
+
import { NotificationSlice } from '../models/NotificationSlice';
|
|
16
|
+
import { NotificationWithMeta } from '../models/NotificationWithMeta';
|
|
17
|
+
import { OutcomesData } from '../models/OutcomesData';
|
|
18
|
+
import { Player } from '../models/Player';
|
|
19
|
+
import { PlayerSlice } from '../models/PlayerSlice';
|
|
20
|
+
import { Segment } from '../models/Segment';
|
|
21
|
+
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
22
|
+
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
23
|
+
import { UpdatePlayerTagsSuccessResponse } from '../models/UpdatePlayerTagsSuccessResponse';
|
|
24
|
+
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
25
|
+
export declare class ObservableDefaultApi {
|
|
26
|
+
private requestFactory;
|
|
27
|
+
private responseProcessor;
|
|
28
|
+
private configuration;
|
|
29
|
+
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
30
|
+
cancelNotification(appId: string, notificationId: string, _options?: Configuration): Observable<CancelNotificationSuccessResponse>;
|
|
31
|
+
createApp(app: App, _options?: Configuration): Observable<App>;
|
|
32
|
+
createNotification(notification: Notification, _options?: Configuration): Observable<CreateNotificationSuccessResponse>;
|
|
33
|
+
createPlayer(player: Player, _options?: Configuration): Observable<CreatePlayerSuccessResponse>;
|
|
34
|
+
createSegments(appId: string, segment?: Segment, _options?: Configuration): Observable<CreateSegmentSuccessResponse>;
|
|
35
|
+
deletePlayer(appId: string, playerId: string, _options?: Configuration): Observable<DeletePlayerSuccessResponse>;
|
|
36
|
+
deleteSegments(appId: string, segmentId: string, _options?: Configuration): Observable<DeleteSegmentSuccessResponse>;
|
|
37
|
+
exportPlayers(appId: string, exportPlayersRequestBody?: ExportPlayersRequestBody, _options?: Configuration): Observable<ExportPlayersSuccessResponse>;
|
|
38
|
+
getApp(appId: string, _options?: Configuration): Observable<App>;
|
|
39
|
+
getApps(_options?: Configuration): Observable<Array<App>>;
|
|
40
|
+
getNotification(appId: string, notificationId: string, _options?: Configuration): Observable<NotificationWithMeta>;
|
|
41
|
+
getNotificationHistory(notificationId: string, getNotificationRequestBody: GetNotificationRequestBody, _options?: Configuration): Observable<NotificationHistorySuccessResponse>;
|
|
42
|
+
getNotifications(appId: string, limit?: number, offset?: number, kind?: 0 | 1 | 3, _options?: Configuration): Observable<NotificationSlice>;
|
|
43
|
+
getOutcomes(appId: string, outcomeNames: string, outcomeNames2?: string, outcomeTimeRange?: string, outcomePlatforms?: string, outcomeAttribution?: string, _options?: Configuration): Observable<OutcomesData>;
|
|
44
|
+
getPlayer(appId: string, playerId: string, emailAuthHash?: string, _options?: Configuration): Observable<Player>;
|
|
45
|
+
getPlayers(appId: string, limit?: number, offset?: number, _options?: Configuration): Observable<PlayerSlice>;
|
|
46
|
+
updateApp(appId: string, app: App, _options?: Configuration): Observable<App>;
|
|
47
|
+
updatePlayer(playerId: string, player: Player, _options?: Configuration): Observable<UpdatePlayerSuccessResponse>;
|
|
48
|
+
updatePlayerTags(appId: string, externalUserId: string, updatePlayerTagsRequestBody?: UpdatePlayerTagsRequestBody, _options?: Configuration): Observable<UpdatePlayerTagsSuccessResponse>;
|
|
49
|
+
}
|