@onesignal/node-onesignal 1.0.0-beta7 → 1.0.0-beta9
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/Zapier.yml +29 -0
- package/.github/workflows/npm_deploy.yml +6 -7
- package/CHANGELOG.md +19 -0
- package/DefaultApi.md +1365 -164
- package/README.md +189 -0
- package/apis/DefaultApi.ts +2041 -423
- package/dist/apis/DefaultApi.d.ts +48 -0
- package/dist/apis/DefaultApi.js +1861 -414
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/auth.js +1 -1
- package/dist/http/http.d.ts +2 -2
- package/dist/http/http.js +1 -1
- package/dist/models/App.d.ts +5 -1
- package/dist/models/App.js +24 -0
- package/dist/models/App.js.map +1 -1
- package/dist/models/BadRequestError.d.ts +17 -0
- package/dist/models/BadRequestError.js +22 -0
- package/dist/models/BadRequestError.js.map +1 -0
- package/dist/models/BasicNotification.d.ts +5 -1
- package/dist/models/BasicNotification.js +12 -0
- package/dist/models/BasicNotification.js.map +1 -1
- package/dist/models/BasicNotificationAllOf.d.ts +1 -1
- package/dist/models/BeginLiveActivityRequest.d.ts +18 -0
- package/dist/models/BeginLiveActivityRequest.js +28 -0
- package/dist/models/BeginLiveActivityRequest.js.map +1 -0
- package/dist/models/CreateSubscriptionRequestBody.d.ts +19 -0
- package/dist/models/CreateSubscriptionRequestBody.js +28 -0
- package/dist/models/CreateSubscriptionRequestBody.js.map +1 -0
- package/dist/models/CreateUserConflictResponse.d.ts +18 -0
- package/dist/models/CreateUserConflictResponse.js +22 -0
- package/dist/models/CreateUserConflictResponse.js.map +1 -0
- package/dist/models/CreateUserConflictResponseErrorsInner.d.ts +20 -0
- package/dist/models/CreateUserConflictResponseErrorsInner.js +34 -0
- package/dist/models/CreateUserConflictResponseErrorsInner.js.map +1 -0
- package/dist/models/CreateUserConflictResponseErrorsItemsMeta.d.ts +17 -0
- package/dist/models/CreateUserConflictResponseErrorsItemsMeta.js +22 -0
- package/dist/models/CreateUserConflictResponseErrorsItemsMeta.js.map +1 -0
- package/dist/models/Filter.d.ts +1 -1
- package/dist/models/FilterExpressions.d.ts +2 -2
- package/dist/models/GetNotificationRequestBody.d.ts +1 -1
- package/dist/models/IdentifyUserConflictResponse.d.ts +18 -0
- package/dist/models/IdentifyUserConflictResponse.js +22 -0
- package/dist/models/IdentifyUserConflictResponse.js.map +1 -0
- package/dist/models/IdentifyUserConflictResponseErrorsInner.d.ts +18 -0
- package/dist/models/IdentifyUserConflictResponseErrorsInner.js +28 -0
- package/dist/models/IdentifyUserConflictResponseErrorsInner.js.map +1 -0
- package/dist/models/InlineResponse200.d.ts +19 -0
- package/dist/models/InlineResponse200.js +22 -0
- package/dist/models/InlineResponse200.js.map +1 -0
- package/dist/models/InlineResponse2003.d.ts +17 -0
- package/dist/models/InlineResponse2003.js +22 -0
- package/dist/models/InlineResponse2003.js.map +1 -0
- package/dist/models/InlineResponse201.d.ts +18 -0
- package/dist/models/InlineResponse201.js +22 -0
- package/dist/models/InlineResponse201.js.map +1 -0
- package/dist/models/InlineResponse202.d.ts +18 -0
- package/dist/models/InlineResponse202.js +22 -0
- package/dist/models/InlineResponse202.js.map +1 -0
- package/dist/models/Notification.d.ts +5 -1
- package/dist/models/Notification.js +12 -0
- package/dist/models/Notification.js.map +1 -1
- package/dist/models/NotificationTarget.d.ts +4 -0
- package/dist/models/NotificationTarget.js +12 -0
- package/dist/models/NotificationTarget.js.map +1 -1
- package/dist/models/NotificationWithMeta.d.ts +5 -1
- package/dist/models/NotificationWithMeta.js +12 -0
- package/dist/models/NotificationWithMeta.js.map +1 -1
- package/dist/models/ObjectSerializer.d.ts +25 -5
- package/dist/models/ObjectSerializer.js +83 -15
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/Operator.d.ts +1 -1
- package/dist/models/OutcomeData.d.ts +1 -1
- package/dist/models/Player.d.ts +1 -1
- package/dist/models/Player.js +1 -1
- package/dist/models/Player.js.map +1 -1
- package/dist/models/PlayerNotificationTarget.d.ts +4 -0
- package/dist/models/PlayerNotificationTarget.js +12 -0
- package/dist/models/PlayerNotificationTarget.js.map +1 -1
- package/dist/models/PlayerNotificationTargetIncludeAliases.d.ts +17 -0
- package/dist/models/PlayerNotificationTargetIncludeAliases.js +22 -0
- package/dist/models/PlayerNotificationTargetIncludeAliases.js.map +1 -0
- package/dist/models/PropertiesDeltas.d.ts +21 -0
- package/dist/models/PropertiesDeltas.js +40 -0
- package/dist/models/PropertiesDeltas.js.map +1 -0
- package/dist/models/PropertiesObject.d.ts +30 -0
- package/dist/models/PropertiesObject.js +82 -0
- package/dist/models/PropertiesObject.js.map +1 -0
- package/dist/models/Purchase.d.ts +1 -1
- package/dist/models/Purchase.js +1 -1
- package/dist/models/SubscriptionObject.d.ts +34 -0
- package/dist/models/SubscriptionObject.js +118 -0
- package/dist/models/SubscriptionObject.js.map +1 -0
- package/dist/models/TransferSubscriptionRequestBody.d.ts +19 -0
- package/dist/models/TransferSubscriptionRequestBody.js +22 -0
- package/dist/models/TransferSubscriptionRequestBody.js.map +1 -0
- package/dist/models/UpdateLiveActivityRequest.d.ts +22 -0
- package/dist/models/UpdateLiveActivityRequest.js +40 -0
- package/dist/models/UpdateLiveActivityRequest.js.map +1 -0
- package/dist/models/UpdateLiveActivitySuccessResponse.d.ts +19 -0
- package/dist/models/UpdateLiveActivitySuccessResponse.js +28 -0
- package/dist/models/UpdateLiveActivitySuccessResponse.js.map +1 -0
- package/dist/models/UpdateSubscriptionRequestBody.d.ts +18 -0
- package/dist/models/UpdateSubscriptionRequestBody.js +22 -0
- package/dist/models/UpdateSubscriptionRequestBody.js.map +1 -0
- package/dist/models/UpdateUserRequest.d.ts +21 -0
- package/dist/models/UpdateUserRequest.js +34 -0
- package/dist/models/UpdateUserRequest.js.map +1 -0
- package/dist/models/User.d.ts +25 -0
- package/dist/models/User.js +40 -0
- package/dist/models/User.js.map +1 -0
- package/dist/models/UserIdentityRequestBody.d.ts +19 -0
- package/dist/models/UserIdentityRequestBody.js +22 -0
- package/dist/models/UserIdentityRequestBody.js.map +1 -0
- package/dist/models/UserIdentityResponse.d.ts +19 -0
- package/dist/models/UserIdentityResponse.js +22 -0
- package/dist/models/UserIdentityResponse.js.map +1 -0
- package/dist/models/UserSubscriptionOptions.d.ts +17 -0
- package/dist/models/UserSubscriptionOptions.js +22 -0
- package/dist/models/UserSubscriptionOptions.js.map +1 -0
- package/dist/models/all.d.ts +25 -5
- package/dist/models/all.js +25 -5
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +117 -0
- package/dist/types/ObjectParamAPI.js +51 -0
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +31 -0
- package/dist/types/ObservableAPI.js +464 -56
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +31 -0
- package/dist/types/PromiseAPI.js +68 -0
- package/dist/types/PromiseAPI.js.map +1 -1
- package/models/App.ts +41 -1
- package/models/BadRequestError.ts +31 -0
- package/models/BasicNotification.ts +17 -1
- package/models/BasicNotificationAllOf.ts +1 -1
- package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +1 -1
- package/models/BeginLiveActivityRequest.ts +38 -0
- package/models/Button.ts +1 -1
- package/models/CancelNotificationSuccessResponse.ts +1 -1
- package/models/CreateNotificationSuccessResponse.ts +1 -1
- package/models/CreatePlayerSuccessResponse.ts +1 -1
- package/models/CreateSegmentConflictResponse.ts +1 -1
- package/models/CreateSegmentSuccessResponse.ts +1 -1
- package/models/CreateSubscriptionRequestBody.ts +39 -0
- package/models/CreateUserConflictResponse.ts +32 -0
- package/models/CreateUserConflictResponseErrorsInner.ts +46 -0
- package/models/CreateUserConflictResponseErrorsItemsMeta.ts +31 -0
- package/models/DeletePlayerNotFoundResponse.ts +1 -1
- package/models/DeletePlayerSuccessResponse.ts +1 -1
- package/models/DeleteSegmentNotFoundResponse.ts +1 -1
- package/models/DeleteSegmentSuccessResponse.ts +1 -1
- package/models/DeliveryData.ts +1 -1
- package/models/ExportPlayersRequestBody.ts +1 -1
- package/models/ExportPlayersSuccessResponse.ts +1 -1
- package/models/Filter.ts +1 -1
- package/models/FilterExpressions.ts +1 -1
- package/models/GetNotificationRequestBody.ts +1 -1
- package/models/IdentifyUserConflictResponse.ts +32 -0
- package/models/IdentifyUserConflictResponseErrorsInner.ts +38 -0
- package/models/InlineResponse200.ts +31 -0
- package/models/InlineResponse2003.ts +31 -0
- package/models/InlineResponse201.ts +32 -0
- package/models/InlineResponse202.ts +32 -0
- package/models/InvalidIdentifierError.ts +1 -1
- package/models/Notification.ts +17 -1
- package/models/Notification200Errors.ts +1 -1
- package/models/NotificationAllOf.ts +1 -1
- package/models/NotificationHistorySuccessResponse.ts +1 -1
- package/models/NotificationSlice.ts +1 -1
- package/models/NotificationTarget.ts +19 -1
- package/models/NotificationWithMeta.ts +17 -1
- package/models/NotificationWithMetaAllOf.ts +1 -1
- package/models/ObjectSerializer.ts +89 -21
- package/models/Operator.ts +1 -1
- package/models/OutcomeData.ts +1 -1
- package/models/OutcomesData.ts +1 -1
- package/models/PlatformDeliveryData.ts +1 -1
- package/models/PlatformDeliveryDataEmailAllOf.ts +1 -1
- package/models/PlatformDeliveryDataSmsAllOf.ts +1 -1
- package/models/Player.ts +3 -3
- package/models/PlayerNotificationTarget.ts +19 -1
- package/models/PlayerNotificationTargetIncludeAliases.ts +31 -0
- package/models/PlayerSlice.ts +1 -1
- package/models/PropertiesDeltas.ts +53 -0
- package/models/PropertiesObject.ts +102 -0
- package/models/Purchase.ts +3 -3
- package/models/Segment.ts +1 -1
- package/models/SegmentNotificationTarget.ts +1 -1
- package/models/StringMap.ts +1 -1
- package/models/SubscriptionObject.ts +146 -0
- package/models/TransferSubscriptionRequestBody.ts +31 -0
- package/models/UpdateLiveActivityRequest.ts +62 -0
- package/models/UpdateLiveActivitySuccessResponse.ts +39 -0
- package/models/UpdatePlayerSuccessResponse.ts +1 -1
- package/models/UpdatePlayerTagsRequestBody.ts +1 -1
- package/models/UpdatePlayerTagsSuccessResponse.ts +1 -1
- package/models/UpdateSubscriptionRequestBody.ts +32 -0
- package/models/UpdateUserRequest.ts +47 -0
- package/models/User.ts +55 -0
- package/models/UserIdentityRequestBody.ts +31 -0
- package/models/UserIdentityResponse.ts +31 -0
- package/models/UserSubscriptionOptions.ts +31 -0
- package/models/all.ts +25 -5
- package/package.json +3 -3
- package/types/ObjectParamAPI.ts +527 -5
- package/types/ObservableAPI.ts +454 -5
- package/types/PromiseAPI.ts +216 -5
|
@@ -6,6 +6,9 @@ var ObjectDefaultApi = (function () {
|
|
|
6
6
|
function ObjectDefaultApi(configuration, requestFactory, responseProcessor) {
|
|
7
7
|
this.api = new ObservableAPI_1.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
|
|
8
8
|
}
|
|
9
|
+
ObjectDefaultApi.prototype.beginLiveActivity = function (param, options) {
|
|
10
|
+
return this.api.beginLiveActivity(param.appId, param.activityId, param.beginLiveActivityRequest, options).toPromise();
|
|
11
|
+
};
|
|
9
12
|
ObjectDefaultApi.prototype.cancelNotification = function (param, options) {
|
|
10
13
|
return this.api.cancelNotification(param.appId, param.notificationId, options).toPromise();
|
|
11
14
|
};
|
|
@@ -21,15 +24,42 @@ var ObjectDefaultApi = (function () {
|
|
|
21
24
|
ObjectDefaultApi.prototype.createSegments = function (param, options) {
|
|
22
25
|
return this.api.createSegments(param.appId, param.segment, options).toPromise();
|
|
23
26
|
};
|
|
27
|
+
ObjectDefaultApi.prototype.createSubscription = function (param, options) {
|
|
28
|
+
return this.api.createSubscription(param.appId, param.aliasLabel, param.aliasId, param.createSubscriptionRequestBody, options).toPromise();
|
|
29
|
+
};
|
|
30
|
+
ObjectDefaultApi.prototype.createUser = function (param, options) {
|
|
31
|
+
return this.api.createUser(param.appId, param.user, options).toPromise();
|
|
32
|
+
};
|
|
33
|
+
ObjectDefaultApi.prototype.deleteAlias = function (param, options) {
|
|
34
|
+
return this.api.deleteAlias(param.appId, param.aliasLabel, param.aliasId, param.aliasLabelToDelete, options).toPromise();
|
|
35
|
+
};
|
|
24
36
|
ObjectDefaultApi.prototype.deletePlayer = function (param, options) {
|
|
25
37
|
return this.api.deletePlayer(param.appId, param.playerId, options).toPromise();
|
|
26
38
|
};
|
|
27
39
|
ObjectDefaultApi.prototype.deleteSegments = function (param, options) {
|
|
28
40
|
return this.api.deleteSegments(param.appId, param.segmentId, options).toPromise();
|
|
29
41
|
};
|
|
42
|
+
ObjectDefaultApi.prototype.deleteSubscription = function (param, options) {
|
|
43
|
+
return this.api.deleteSubscription(param.appId, param.subscriptionId, options).toPromise();
|
|
44
|
+
};
|
|
45
|
+
ObjectDefaultApi.prototype.deleteUser = function (param, options) {
|
|
46
|
+
return this.api.deleteUser(param.appId, param.aliasLabel, param.aliasId, options).toPromise();
|
|
47
|
+
};
|
|
48
|
+
ObjectDefaultApi.prototype.endLiveActivity = function (param, options) {
|
|
49
|
+
return this.api.endLiveActivity(param.appId, param.activityId, param.subscriptionId, options).toPromise();
|
|
50
|
+
};
|
|
30
51
|
ObjectDefaultApi.prototype.exportPlayers = function (param, options) {
|
|
31
52
|
return this.api.exportPlayers(param.appId, param.exportPlayersRequestBody, options).toPromise();
|
|
32
53
|
};
|
|
54
|
+
ObjectDefaultApi.prototype.fetchAliases = function (param, options) {
|
|
55
|
+
return this.api.fetchAliases(param.appId, param.subscriptionId, options).toPromise();
|
|
56
|
+
};
|
|
57
|
+
ObjectDefaultApi.prototype.fetchUser = function (param, options) {
|
|
58
|
+
return this.api.fetchUser(param.appId, param.aliasLabel, param.aliasId, options).toPromise();
|
|
59
|
+
};
|
|
60
|
+
ObjectDefaultApi.prototype.fetchUserIdentity = function (param, options) {
|
|
61
|
+
return this.api.fetchUserIdentity(param.appId, param.aliasLabel, param.aliasId, options).toPromise();
|
|
62
|
+
};
|
|
33
63
|
ObjectDefaultApi.prototype.getApp = function (param, options) {
|
|
34
64
|
return this.api.getApp(param.appId, options).toPromise();
|
|
35
65
|
};
|
|
@@ -37,6 +67,9 @@ var ObjectDefaultApi = (function () {
|
|
|
37
67
|
if (param === void 0) { param = {}; }
|
|
38
68
|
return this.api.getApps(options).toPromise();
|
|
39
69
|
};
|
|
70
|
+
ObjectDefaultApi.prototype.getEligibleIams = function (param, options) {
|
|
71
|
+
return this.api.getEligibleIams(param.appId, param.subscriptionId, options).toPromise();
|
|
72
|
+
};
|
|
40
73
|
ObjectDefaultApi.prototype.getNotification = function (param, options) {
|
|
41
74
|
return this.api.getNotification(param.appId, param.notificationId, options).toPromise();
|
|
42
75
|
};
|
|
@@ -55,15 +88,33 @@ var ObjectDefaultApi = (function () {
|
|
|
55
88
|
ObjectDefaultApi.prototype.getPlayers = function (param, options) {
|
|
56
89
|
return this.api.getPlayers(param.appId, param.limit, param.offset, options).toPromise();
|
|
57
90
|
};
|
|
91
|
+
ObjectDefaultApi.prototype.identifyUserByAlias = function (param, options) {
|
|
92
|
+
return this.api.identifyUserByAlias(param.appId, param.aliasLabel, param.aliasId, param.userIdentityRequestBody, options).toPromise();
|
|
93
|
+
};
|
|
94
|
+
ObjectDefaultApi.prototype.identifyUserBySubscriptionId = function (param, options) {
|
|
95
|
+
return this.api.identifyUserBySubscriptionId(param.appId, param.subscriptionId, param.userIdentityRequestBody, options).toPromise();
|
|
96
|
+
};
|
|
97
|
+
ObjectDefaultApi.prototype.transferSubscription = function (param, options) {
|
|
98
|
+
return this.api.transferSubscription(param.appId, param.subscriptionId, param.transferSubscriptionRequestBody, options).toPromise();
|
|
99
|
+
};
|
|
58
100
|
ObjectDefaultApi.prototype.updateApp = function (param, options) {
|
|
59
101
|
return this.api.updateApp(param.appId, param.app, options).toPromise();
|
|
60
102
|
};
|
|
103
|
+
ObjectDefaultApi.prototype.updateLiveActivity = function (param, options) {
|
|
104
|
+
return this.api.updateLiveActivity(param.appId, param.activityId, param.updateLiveActivityRequest, options).toPromise();
|
|
105
|
+
};
|
|
61
106
|
ObjectDefaultApi.prototype.updatePlayer = function (param, options) {
|
|
62
107
|
return this.api.updatePlayer(param.playerId, param.player, options).toPromise();
|
|
63
108
|
};
|
|
64
109
|
ObjectDefaultApi.prototype.updatePlayerTags = function (param, options) {
|
|
65
110
|
return this.api.updatePlayerTags(param.appId, param.externalUserId, param.updatePlayerTagsRequestBody, options).toPromise();
|
|
66
111
|
};
|
|
112
|
+
ObjectDefaultApi.prototype.updateSubscription = function (param, options) {
|
|
113
|
+
return this.api.updateSubscription(param.appId, param.subscriptionId, param.updateSubscriptionRequestBody, options).toPromise();
|
|
114
|
+
};
|
|
115
|
+
ObjectDefaultApi.prototype.updateUser = function (param, options) {
|
|
116
|
+
return this.api.updateUser(param.appId, param.aliasLabel, param.aliasId, param.updateUserRequest, param.subscriptionId, options).toPromise();
|
|
117
|
+
};
|
|
67
118
|
return ObjectDefaultApi;
|
|
68
119
|
}());
|
|
69
120
|
exports.ObjectDefaultApi = ObjectDefaultApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectParamAPI.js","sourceRoot":"","sources":["../../types/ObjectParamAPI.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ObjectParamAPI.js","sourceRoot":"","sources":["../../types/ObjectParamAPI.ts"],"names":[],"mappings":";;;AA2EA,iDAAuD;AA6pBvD;IAGI,0BAAmB,aAA4B,EAAE,cAAyC,EAAE,iBAA+C;QACvI,IAAI,CAAC,GAAG,GAAG,IAAI,oCAAoB,CAAC,aAAa,EAAE,cAAc,EAAE,iBAAiB,CAAC,CAAC;IAC1F,CAAC;IAOM,4CAAiB,GAAxB,UAAyB,KAAyC,EAAE,OAAuB;QACvF,OAAO,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,wBAAwB,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3H,CAAC;IAOM,6CAAkB,G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B"}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { Configuration } from '../configuration';
|
|
2
2
|
import { Observable } from '../rxjsStub';
|
|
3
3
|
import { App } from '../models/App';
|
|
4
|
+
import { BeginLiveActivityRequest } from '../models/BeginLiveActivityRequest';
|
|
4
5
|
import { CancelNotificationSuccessResponse } from '../models/CancelNotificationSuccessResponse';
|
|
5
6
|
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
6
7
|
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
7
8
|
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
9
|
+
import { CreateSubscriptionRequestBody } from '../models/CreateSubscriptionRequestBody';
|
|
8
10
|
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
9
11
|
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
10
12
|
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
11
13
|
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
12
14
|
import { GetNotificationRequestBody } from '../models/GetNotificationRequestBody';
|
|
15
|
+
import { InlineResponse200 } from '../models/InlineResponse200';
|
|
16
|
+
import { InlineResponse2003 } from '../models/InlineResponse2003';
|
|
17
|
+
import { InlineResponse201 } from '../models/InlineResponse201';
|
|
18
|
+
import { InlineResponse202 } from '../models/InlineResponse202';
|
|
13
19
|
import { Notification } from '../models/Notification';
|
|
14
20
|
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
15
21
|
import { NotificationSlice } from '../models/NotificationSlice';
|
|
@@ -18,32 +24,57 @@ import { OutcomesData } from '../models/OutcomesData';
|
|
|
18
24
|
import { Player } from '../models/Player';
|
|
19
25
|
import { PlayerSlice } from '../models/PlayerSlice';
|
|
20
26
|
import { Segment } from '../models/Segment';
|
|
27
|
+
import { TransferSubscriptionRequestBody } from '../models/TransferSubscriptionRequestBody';
|
|
28
|
+
import { UpdateLiveActivityRequest } from '../models/UpdateLiveActivityRequest';
|
|
29
|
+
import { UpdateLiveActivitySuccessResponse } from '../models/UpdateLiveActivitySuccessResponse';
|
|
21
30
|
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
22
31
|
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
23
32
|
import { UpdatePlayerTagsSuccessResponse } from '../models/UpdatePlayerTagsSuccessResponse';
|
|
33
|
+
import { UpdateSubscriptionRequestBody } from '../models/UpdateSubscriptionRequestBody';
|
|
34
|
+
import { UpdateUserRequest } from '../models/UpdateUserRequest';
|
|
35
|
+
import { User } from '../models/User';
|
|
36
|
+
import { UserIdentityRequestBody } from '../models/UserIdentityRequestBody';
|
|
37
|
+
import { UserIdentityResponse } from '../models/UserIdentityResponse';
|
|
24
38
|
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
25
39
|
export declare class ObservableDefaultApi {
|
|
26
40
|
private requestFactory;
|
|
27
41
|
private responseProcessor;
|
|
28
42
|
private configuration;
|
|
29
43
|
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
44
|
+
beginLiveActivity(appId: string, activityId: string, beginLiveActivityRequest: BeginLiveActivityRequest, _options?: Configuration): Observable<void>;
|
|
30
45
|
cancelNotification(appId: string, notificationId: string, _options?: Configuration): Observable<CancelNotificationSuccessResponse>;
|
|
31
46
|
createApp(app: App, _options?: Configuration): Observable<App>;
|
|
32
47
|
createNotification(notification: Notification, _options?: Configuration): Observable<CreateNotificationSuccessResponse>;
|
|
33
48
|
createPlayer(player: Player, _options?: Configuration): Observable<CreatePlayerSuccessResponse>;
|
|
34
49
|
createSegments(appId: string, segment?: Segment, _options?: Configuration): Observable<CreateSegmentSuccessResponse>;
|
|
50
|
+
createSubscription(appId: string, aliasLabel: string, aliasId: string, createSubscriptionRequestBody: CreateSubscriptionRequestBody, _options?: Configuration): Observable<InlineResponse201>;
|
|
51
|
+
createUser(appId: string, user: User, _options?: Configuration): Observable<User>;
|
|
52
|
+
deleteAlias(appId: string, aliasLabel: string, aliasId: string, aliasLabelToDelete: string, _options?: Configuration): Observable<InlineResponse200>;
|
|
35
53
|
deletePlayer(appId: string, playerId: string, _options?: Configuration): Observable<DeletePlayerSuccessResponse>;
|
|
36
54
|
deleteSegments(appId: string, segmentId: string, _options?: Configuration): Observable<DeleteSegmentSuccessResponse>;
|
|
55
|
+
deleteSubscription(appId: string, subscriptionId: string, _options?: Configuration): Observable<void>;
|
|
56
|
+
deleteUser(appId: string, aliasLabel: string, aliasId: string, _options?: Configuration): Observable<void>;
|
|
57
|
+
endLiveActivity(appId: string, activityId: string, subscriptionId: string, _options?: Configuration): Observable<void>;
|
|
37
58
|
exportPlayers(appId: string, exportPlayersRequestBody?: ExportPlayersRequestBody, _options?: Configuration): Observable<ExportPlayersSuccessResponse>;
|
|
59
|
+
fetchAliases(appId: string, subscriptionId: string, _options?: Configuration): Observable<UserIdentityResponse>;
|
|
60
|
+
fetchUser(appId: string, aliasLabel: string, aliasId: string, _options?: Configuration): Observable<User>;
|
|
61
|
+
fetchUserIdentity(appId: string, aliasLabel: string, aliasId: string, _options?: Configuration): Observable<InlineResponse200>;
|
|
38
62
|
getApp(appId: string, _options?: Configuration): Observable<App>;
|
|
39
63
|
getApps(_options?: Configuration): Observable<Array<App>>;
|
|
64
|
+
getEligibleIams(appId: string, subscriptionId: string, _options?: Configuration): Observable<InlineResponse2003>;
|
|
40
65
|
getNotification(appId: string, notificationId: string, _options?: Configuration): Observable<NotificationWithMeta>;
|
|
41
66
|
getNotificationHistory(notificationId: string, getNotificationRequestBody: GetNotificationRequestBody, _options?: Configuration): Observable<NotificationHistorySuccessResponse>;
|
|
42
67
|
getNotifications(appId: string, limit?: number, offset?: number, kind?: 0 | 1 | 3, _options?: Configuration): Observable<NotificationSlice>;
|
|
43
68
|
getOutcomes(appId: string, outcomeNames: string, outcomeNames2?: string, outcomeTimeRange?: string, outcomePlatforms?: string, outcomeAttribution?: string, _options?: Configuration): Observable<OutcomesData>;
|
|
44
69
|
getPlayer(appId: string, playerId: string, emailAuthHash?: string, _options?: Configuration): Observable<Player>;
|
|
45
70
|
getPlayers(appId: string, limit?: number, offset?: number, _options?: Configuration): Observable<PlayerSlice>;
|
|
71
|
+
identifyUserByAlias(appId: string, aliasLabel: string, aliasId: string, userIdentityRequestBody: UserIdentityRequestBody, _options?: Configuration): Observable<InlineResponse200>;
|
|
72
|
+
identifyUserBySubscriptionId(appId: string, subscriptionId: string, userIdentityRequestBody: UserIdentityRequestBody, _options?: Configuration): Observable<UserIdentityResponse>;
|
|
73
|
+
transferSubscription(appId: string, subscriptionId: string, transferSubscriptionRequestBody: TransferSubscriptionRequestBody, _options?: Configuration): Observable<UserIdentityResponse>;
|
|
46
74
|
updateApp(appId: string, app: App, _options?: Configuration): Observable<App>;
|
|
75
|
+
updateLiveActivity(appId: string, activityId: string, updateLiveActivityRequest: UpdateLiveActivityRequest, _options?: Configuration): Observable<UpdateLiveActivitySuccessResponse>;
|
|
47
76
|
updatePlayer(playerId: string, player: Player, _options?: Configuration): Observable<UpdatePlayerSuccessResponse>;
|
|
48
77
|
updatePlayerTags(appId: string, externalUserId: string, updatePlayerTagsRequestBody?: UpdatePlayerTagsRequestBody, _options?: Configuration): Observable<UpdatePlayerTagsSuccessResponse>;
|
|
78
|
+
updateSubscription(appId: string, subscriptionId: string, updateSubscriptionRequestBody: UpdateSubscriptionRequestBody, _options?: Configuration): Observable<void>;
|
|
79
|
+
updateUser(appId: string, aliasLabel: string, aliasId: string, updateUserRequest: UpdateUserRequest, subscriptionId?: string, _options?: Configuration): Observable<InlineResponse202>;
|
|
49
80
|
}
|