@onesignal/node-onesignal 1.0.0-beta8 → 2.0.0-beta1
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 +34 -0
- package/CHANGELOG.md +15 -0
- package/DefaultApi.md +988 -3
- package/README.md +152 -24
- package/apis/DefaultApi.ts +1339 -98
- package/dist/apis/DefaultApi.d.ts +39 -0
- package/dist/apis/DefaultApi.js +1490 -408
- package/dist/apis/DefaultApi.js.map +1 -1
- package/dist/models/BasicNotification.d.ts +4 -0
- package/dist/models/BasicNotification.js +12 -0
- package/dist/models/BasicNotification.js.map +1 -1
- package/dist/models/CreateNotificationSuccessResponse.d.ts +2 -2
- 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/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 +4 -0
- 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 +4 -0
- package/dist/models/NotificationWithMeta.js +12 -0
- package/dist/models/NotificationWithMeta.js.map +1 -1
- package/dist/models/ObjectSerializer.d.ts +21 -0
- package/dist/models/ObjectSerializer.js +69 -0
- package/dist/models/ObjectSerializer.js.map +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 +20 -0
- package/dist/models/PropertiesDeltas.js +34 -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 +2 -1
- package/dist/models/Purchase.js +7 -1
- package/dist/models/Purchase.js.map +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/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 +21 -0
- package/dist/models/all.js +21 -0
- package/dist/models/all.js.map +1 -1
- package/dist/types/ObjectParamAPI.d.ts +95 -0
- package/dist/types/ObjectParamAPI.js +42 -0
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +25 -0
- package/dist/types/ObservableAPI.js +383 -47
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +25 -0
- package/dist/types/PromiseAPI.js +56 -0
- package/dist/types/PromiseAPI.js.map +1 -1
- package/models/App.ts +1 -1
- package/models/BadRequestError.ts +1 -1
- package/models/BasicNotification.ts +17 -1
- package/models/BasicNotificationAllOf.ts +1 -1
- package/models/BasicNotificationAllOfAndroidBackgroundLayout.ts +1 -1
- package/models/BeginLiveActivityRequest.ts +1 -1
- package/models/Button.ts +1 -1
- package/models/CancelNotificationSuccessResponse.ts +1 -1
- package/models/CreateNotificationSuccessResponse.ts +3 -3
- 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 +74 -5
- 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 +46 -0
- package/models/PropertiesObject.ts +102 -0
- package/models/Purchase.ts +10 -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 +1 -1
- package/models/UpdateLiveActivitySuccessResponse.ts +1 -1
- 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 +21 -0
- package/package.json +2 -2
- package/types/ObjectParamAPI.ts +427 -0
- package/types/ObservableAPI.ts +371 -0
- package/types/PromiseAPI.ts +175 -0
|
@@ -5,11 +5,16 @@ import { CancelNotificationSuccessResponse } from '../models/CancelNotificationS
|
|
|
5
5
|
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
6
6
|
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
7
7
|
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
8
|
+
import { CreateSubscriptionRequestBody } from '../models/CreateSubscriptionRequestBody';
|
|
8
9
|
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
9
10
|
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
10
11
|
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
11
12
|
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
12
13
|
import { GetNotificationRequestBody } from '../models/GetNotificationRequestBody';
|
|
14
|
+
import { InlineResponse200 } from '../models/InlineResponse200';
|
|
15
|
+
import { InlineResponse2003 } from '../models/InlineResponse2003';
|
|
16
|
+
import { InlineResponse201 } from '../models/InlineResponse201';
|
|
17
|
+
import { InlineResponse202 } from '../models/InlineResponse202';
|
|
13
18
|
import { Notification } from '../models/Notification';
|
|
14
19
|
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
15
20
|
import { NotificationSlice } from '../models/NotificationSlice';
|
|
@@ -18,11 +23,17 @@ import { OutcomesData } from '../models/OutcomesData';
|
|
|
18
23
|
import { Player } from '../models/Player';
|
|
19
24
|
import { PlayerSlice } from '../models/PlayerSlice';
|
|
20
25
|
import { Segment } from '../models/Segment';
|
|
26
|
+
import { TransferSubscriptionRequestBody } from '../models/TransferSubscriptionRequestBody';
|
|
21
27
|
import { UpdateLiveActivityRequest } from '../models/UpdateLiveActivityRequest';
|
|
22
28
|
import { UpdateLiveActivitySuccessResponse } from '../models/UpdateLiveActivitySuccessResponse';
|
|
23
29
|
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
24
30
|
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
25
31
|
import { UpdatePlayerTagsSuccessResponse } from '../models/UpdatePlayerTagsSuccessResponse';
|
|
32
|
+
import { UpdateSubscriptionRequestBody } from '../models/UpdateSubscriptionRequestBody';
|
|
33
|
+
import { UpdateUserRequest } from '../models/UpdateUserRequest';
|
|
34
|
+
import { User } from '../models/User';
|
|
35
|
+
import { UserIdentityRequestBody } from '../models/UserIdentityRequestBody';
|
|
36
|
+
import { UserIdentityResponse } from '../models/UserIdentityResponse';
|
|
26
37
|
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
27
38
|
export interface DefaultApiBeginLiveActivityRequest {
|
|
28
39
|
appId: string;
|
|
@@ -46,6 +57,22 @@ export interface DefaultApiCreateSegmentsRequest {
|
|
|
46
57
|
appId: string;
|
|
47
58
|
segment?: Segment;
|
|
48
59
|
}
|
|
60
|
+
export interface DefaultApiCreateSubscriptionRequest {
|
|
61
|
+
appId: string;
|
|
62
|
+
aliasLabel: string;
|
|
63
|
+
aliasId: string;
|
|
64
|
+
createSubscriptionRequestBody: CreateSubscriptionRequestBody;
|
|
65
|
+
}
|
|
66
|
+
export interface DefaultApiCreateUserRequest {
|
|
67
|
+
appId: string;
|
|
68
|
+
user: User;
|
|
69
|
+
}
|
|
70
|
+
export interface DefaultApiDeleteAliasRequest {
|
|
71
|
+
appId: string;
|
|
72
|
+
aliasLabel: string;
|
|
73
|
+
aliasId: string;
|
|
74
|
+
aliasLabelToDelete: string;
|
|
75
|
+
}
|
|
49
76
|
export interface DefaultApiDeletePlayerRequest {
|
|
50
77
|
appId: string;
|
|
51
78
|
playerId: string;
|
|
@@ -54,6 +81,15 @@ export interface DefaultApiDeleteSegmentsRequest {
|
|
|
54
81
|
appId: string;
|
|
55
82
|
segmentId: string;
|
|
56
83
|
}
|
|
84
|
+
export interface DefaultApiDeleteSubscriptionRequest {
|
|
85
|
+
appId: string;
|
|
86
|
+
subscriptionId: string;
|
|
87
|
+
}
|
|
88
|
+
export interface DefaultApiDeleteUserRequest {
|
|
89
|
+
appId: string;
|
|
90
|
+
aliasLabel: string;
|
|
91
|
+
aliasId: string;
|
|
92
|
+
}
|
|
57
93
|
export interface DefaultApiEndLiveActivityRequest {
|
|
58
94
|
appId: string;
|
|
59
95
|
activityId: string;
|
|
@@ -63,11 +99,29 @@ export interface DefaultApiExportPlayersRequest {
|
|
|
63
99
|
appId: string;
|
|
64
100
|
exportPlayersRequestBody?: ExportPlayersRequestBody;
|
|
65
101
|
}
|
|
102
|
+
export interface DefaultApiFetchAliasesRequest {
|
|
103
|
+
appId: string;
|
|
104
|
+
subscriptionId: string;
|
|
105
|
+
}
|
|
106
|
+
export interface DefaultApiFetchUserRequest {
|
|
107
|
+
appId: string;
|
|
108
|
+
aliasLabel: string;
|
|
109
|
+
aliasId: string;
|
|
110
|
+
}
|
|
111
|
+
export interface DefaultApiFetchUserIdentityRequest {
|
|
112
|
+
appId: string;
|
|
113
|
+
aliasLabel: string;
|
|
114
|
+
aliasId: string;
|
|
115
|
+
}
|
|
66
116
|
export interface DefaultApiGetAppRequest {
|
|
67
117
|
appId: string;
|
|
68
118
|
}
|
|
69
119
|
export interface DefaultApiGetAppsRequest {
|
|
70
120
|
}
|
|
121
|
+
export interface DefaultApiGetEligibleIamsRequest {
|
|
122
|
+
appId: string;
|
|
123
|
+
subscriptionId: string;
|
|
124
|
+
}
|
|
71
125
|
export interface DefaultApiGetNotificationRequest {
|
|
72
126
|
appId: string;
|
|
73
127
|
notificationId: string;
|
|
@@ -100,6 +154,22 @@ export interface DefaultApiGetPlayersRequest {
|
|
|
100
154
|
limit?: number;
|
|
101
155
|
offset?: number;
|
|
102
156
|
}
|
|
157
|
+
export interface DefaultApiIdentifyUserByAliasRequest {
|
|
158
|
+
appId: string;
|
|
159
|
+
aliasLabel: string;
|
|
160
|
+
aliasId: string;
|
|
161
|
+
userIdentityRequestBody: UserIdentityRequestBody;
|
|
162
|
+
}
|
|
163
|
+
export interface DefaultApiIdentifyUserBySubscriptionIdRequest {
|
|
164
|
+
appId: string;
|
|
165
|
+
subscriptionId: string;
|
|
166
|
+
userIdentityRequestBody: UserIdentityRequestBody;
|
|
167
|
+
}
|
|
168
|
+
export interface DefaultApiTransferSubscriptionRequest {
|
|
169
|
+
appId: string;
|
|
170
|
+
subscriptionId: string;
|
|
171
|
+
transferSubscriptionRequestBody: TransferSubscriptionRequestBody;
|
|
172
|
+
}
|
|
103
173
|
export interface DefaultApiUpdateAppRequest {
|
|
104
174
|
appId: string;
|
|
105
175
|
app: App;
|
|
@@ -118,6 +188,17 @@ export interface DefaultApiUpdatePlayerTagsRequest {
|
|
|
118
188
|
externalUserId: string;
|
|
119
189
|
updatePlayerTagsRequestBody?: UpdatePlayerTagsRequestBody;
|
|
120
190
|
}
|
|
191
|
+
export interface DefaultApiUpdateSubscriptionRequest {
|
|
192
|
+
appId: string;
|
|
193
|
+
subscriptionId: string;
|
|
194
|
+
updateSubscriptionRequestBody: UpdateSubscriptionRequestBody;
|
|
195
|
+
}
|
|
196
|
+
export interface DefaultApiUpdateUserRequest {
|
|
197
|
+
appId: string;
|
|
198
|
+
aliasLabel: string;
|
|
199
|
+
aliasId: string;
|
|
200
|
+
updateUserRequest: UpdateUserRequest;
|
|
201
|
+
}
|
|
121
202
|
export declare class ObjectDefaultApi {
|
|
122
203
|
private api;
|
|
123
204
|
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
@@ -127,20 +208,34 @@ export declare class ObjectDefaultApi {
|
|
|
127
208
|
createNotification(param: DefaultApiCreateNotificationRequest, options?: Configuration): Promise<CreateNotificationSuccessResponse>;
|
|
128
209
|
createPlayer(param: DefaultApiCreatePlayerRequest, options?: Configuration): Promise<CreatePlayerSuccessResponse>;
|
|
129
210
|
createSegments(param: DefaultApiCreateSegmentsRequest, options?: Configuration): Promise<CreateSegmentSuccessResponse>;
|
|
211
|
+
createSubscription(param: DefaultApiCreateSubscriptionRequest, options?: Configuration): Promise<InlineResponse201>;
|
|
212
|
+
createUser(param: DefaultApiCreateUserRequest, options?: Configuration): Promise<User>;
|
|
213
|
+
deleteAlias(param: DefaultApiDeleteAliasRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
130
214
|
deletePlayer(param: DefaultApiDeletePlayerRequest, options?: Configuration): Promise<DeletePlayerSuccessResponse>;
|
|
131
215
|
deleteSegments(param: DefaultApiDeleteSegmentsRequest, options?: Configuration): Promise<DeleteSegmentSuccessResponse>;
|
|
216
|
+
deleteSubscription(param: DefaultApiDeleteSubscriptionRequest, options?: Configuration): Promise<void>;
|
|
217
|
+
deleteUser(param: DefaultApiDeleteUserRequest, options?: Configuration): Promise<void>;
|
|
132
218
|
endLiveActivity(param: DefaultApiEndLiveActivityRequest, options?: Configuration): Promise<void>;
|
|
133
219
|
exportPlayers(param: DefaultApiExportPlayersRequest, options?: Configuration): Promise<ExportPlayersSuccessResponse>;
|
|
220
|
+
fetchAliases(param: DefaultApiFetchAliasesRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
221
|
+
fetchUser(param: DefaultApiFetchUserRequest, options?: Configuration): Promise<User>;
|
|
222
|
+
fetchUserIdentity(param: DefaultApiFetchUserIdentityRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
134
223
|
getApp(param: DefaultApiGetAppRequest, options?: Configuration): Promise<App>;
|
|
135
224
|
getApps(param?: DefaultApiGetAppsRequest, options?: Configuration): Promise<Array<App>>;
|
|
225
|
+
getEligibleIams(param: DefaultApiGetEligibleIamsRequest, options?: Configuration): Promise<InlineResponse2003>;
|
|
136
226
|
getNotification(param: DefaultApiGetNotificationRequest, options?: Configuration): Promise<NotificationWithMeta>;
|
|
137
227
|
getNotificationHistory(param: DefaultApiGetNotificationHistoryRequest, options?: Configuration): Promise<NotificationHistorySuccessResponse>;
|
|
138
228
|
getNotifications(param: DefaultApiGetNotificationsRequest, options?: Configuration): Promise<NotificationSlice>;
|
|
139
229
|
getOutcomes(param: DefaultApiGetOutcomesRequest, options?: Configuration): Promise<OutcomesData>;
|
|
140
230
|
getPlayer(param: DefaultApiGetPlayerRequest, options?: Configuration): Promise<Player>;
|
|
141
231
|
getPlayers(param: DefaultApiGetPlayersRequest, options?: Configuration): Promise<PlayerSlice>;
|
|
232
|
+
identifyUserByAlias(param: DefaultApiIdentifyUserByAliasRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
233
|
+
identifyUserBySubscriptionId(param: DefaultApiIdentifyUserBySubscriptionIdRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
234
|
+
transferSubscription(param: DefaultApiTransferSubscriptionRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
142
235
|
updateApp(param: DefaultApiUpdateAppRequest, options?: Configuration): Promise<App>;
|
|
143
236
|
updateLiveActivity(param: DefaultApiUpdateLiveActivityRequest, options?: Configuration): Promise<UpdateLiveActivitySuccessResponse>;
|
|
144
237
|
updatePlayer(param: DefaultApiUpdatePlayerRequest, options?: Configuration): Promise<UpdatePlayerSuccessResponse>;
|
|
145
238
|
updatePlayerTags(param: DefaultApiUpdatePlayerTagsRequest, options?: Configuration): Promise<UpdatePlayerTagsSuccessResponse>;
|
|
239
|
+
updateSubscription(param: DefaultApiUpdateSubscriptionRequest, options?: Configuration): Promise<void>;
|
|
240
|
+
updateUser(param: DefaultApiUpdateUserRequest, options?: Configuration): Promise<InlineResponse202>;
|
|
146
241
|
}
|
|
@@ -24,18 +24,42 @@ var ObjectDefaultApi = (function () {
|
|
|
24
24
|
ObjectDefaultApi.prototype.createSegments = function (param, options) {
|
|
25
25
|
return this.api.createSegments(param.appId, param.segment, options).toPromise();
|
|
26
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
|
+
};
|
|
27
36
|
ObjectDefaultApi.prototype.deletePlayer = function (param, options) {
|
|
28
37
|
return this.api.deletePlayer(param.appId, param.playerId, options).toPromise();
|
|
29
38
|
};
|
|
30
39
|
ObjectDefaultApi.prototype.deleteSegments = function (param, options) {
|
|
31
40
|
return this.api.deleteSegments(param.appId, param.segmentId, options).toPromise();
|
|
32
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
|
+
};
|
|
33
48
|
ObjectDefaultApi.prototype.endLiveActivity = function (param, options) {
|
|
34
49
|
return this.api.endLiveActivity(param.appId, param.activityId, param.subscriptionId, options).toPromise();
|
|
35
50
|
};
|
|
36
51
|
ObjectDefaultApi.prototype.exportPlayers = function (param, options) {
|
|
37
52
|
return this.api.exportPlayers(param.appId, param.exportPlayersRequestBody, options).toPromise();
|
|
38
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
|
+
};
|
|
39
63
|
ObjectDefaultApi.prototype.getApp = function (param, options) {
|
|
40
64
|
return this.api.getApp(param.appId, options).toPromise();
|
|
41
65
|
};
|
|
@@ -43,6 +67,9 @@ var ObjectDefaultApi = (function () {
|
|
|
43
67
|
if (param === void 0) { param = {}; }
|
|
44
68
|
return this.api.getApps(options).toPromise();
|
|
45
69
|
};
|
|
70
|
+
ObjectDefaultApi.prototype.getEligibleIams = function (param, options) {
|
|
71
|
+
return this.api.getEligibleIams(param.appId, param.subscriptionId, options).toPromise();
|
|
72
|
+
};
|
|
46
73
|
ObjectDefaultApi.prototype.getNotification = function (param, options) {
|
|
47
74
|
return this.api.getNotification(param.appId, param.notificationId, options).toPromise();
|
|
48
75
|
};
|
|
@@ -61,6 +88,15 @@ var ObjectDefaultApi = (function () {
|
|
|
61
88
|
ObjectDefaultApi.prototype.getPlayers = function (param, options) {
|
|
62
89
|
return this.api.getPlayers(param.appId, param.limit, param.offset, options).toPromise();
|
|
63
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
|
+
};
|
|
64
100
|
ObjectDefaultApi.prototype.updateApp = function (param, options) {
|
|
65
101
|
return this.api.updateApp(param.appId, param.app, options).toPromise();
|
|
66
102
|
};
|
|
@@ -73,6 +109,12 @@ var ObjectDefaultApi = (function () {
|
|
|
73
109
|
ObjectDefaultApi.prototype.updatePlayerTags = function (param, options) {
|
|
74
110
|
return this.api.updatePlayerTags(param.appId, param.externalUserId, param.updatePlayerTagsRequestBody, options).toPromise();
|
|
75
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, options).toPromise();
|
|
117
|
+
};
|
|
76
118
|
return ObjectDefaultApi;
|
|
77
119
|
}());
|
|
78
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;AAupBvD;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,GAAzB,UAA0B,KAA0C,EAAE,OAAuB;QACzF,OAAO,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IAChG,CAAC;IAOM,oCAAS,GAAhB,UAAiB,KAAiC,EAAE,OAAuB;QACvE,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IAC/D,CAAC;IAOM,6CAAkB,GAAzB,UAA0B,KAA0C,EAAE,OAAuB;QACzF,OAAO,IA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AG,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;IAMM,6CAAkB,GAAzB,UAA0B,KAA0C,EAAE,OAAuB;QACzF,OAAO,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,6BAA6B,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IACrI,CAAC;IAMM,qCAAU,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QACzE,OAAO,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,iBAAiB,EAAG,OAAO,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5H,CAAC;IAEL,uBAAC;AAAD,CAAC,AA7TD,IA6TC;AA7TY,4CAAgB"}
|
|
@@ -6,11 +6,16 @@ import { CancelNotificationSuccessResponse } from '../models/CancelNotificationS
|
|
|
6
6
|
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
7
7
|
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
8
8
|
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
9
|
+
import { CreateSubscriptionRequestBody } from '../models/CreateSubscriptionRequestBody';
|
|
9
10
|
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
10
11
|
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
11
12
|
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
12
13
|
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
13
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';
|
|
14
19
|
import { Notification } from '../models/Notification';
|
|
15
20
|
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
16
21
|
import { NotificationSlice } from '../models/NotificationSlice';
|
|
@@ -19,11 +24,17 @@ import { OutcomesData } from '../models/OutcomesData';
|
|
|
19
24
|
import { Player } from '../models/Player';
|
|
20
25
|
import { PlayerSlice } from '../models/PlayerSlice';
|
|
21
26
|
import { Segment } from '../models/Segment';
|
|
27
|
+
import { TransferSubscriptionRequestBody } from '../models/TransferSubscriptionRequestBody';
|
|
22
28
|
import { UpdateLiveActivityRequest } from '../models/UpdateLiveActivityRequest';
|
|
23
29
|
import { UpdateLiveActivitySuccessResponse } from '../models/UpdateLiveActivitySuccessResponse';
|
|
24
30
|
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
25
31
|
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
26
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';
|
|
27
38
|
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
28
39
|
export declare class ObservableDefaultApi {
|
|
29
40
|
private requestFactory;
|
|
@@ -36,20 +47,34 @@ export declare class ObservableDefaultApi {
|
|
|
36
47
|
createNotification(notification: Notification, _options?: Configuration): Observable<CreateNotificationSuccessResponse>;
|
|
37
48
|
createPlayer(player: Player, _options?: Configuration): Observable<CreatePlayerSuccessResponse>;
|
|
38
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>;
|
|
39
53
|
deletePlayer(appId: string, playerId: string, _options?: Configuration): Observable<DeletePlayerSuccessResponse>;
|
|
40
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>;
|
|
41
57
|
endLiveActivity(appId: string, activityId: string, subscriptionId: string, _options?: Configuration): Observable<void>;
|
|
42
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>;
|
|
43
62
|
getApp(appId: string, _options?: Configuration): Observable<App>;
|
|
44
63
|
getApps(_options?: Configuration): Observable<Array<App>>;
|
|
64
|
+
getEligibleIams(appId: string, subscriptionId: string, _options?: Configuration): Observable<InlineResponse2003>;
|
|
45
65
|
getNotification(appId: string, notificationId: string, _options?: Configuration): Observable<NotificationWithMeta>;
|
|
46
66
|
getNotificationHistory(notificationId: string, getNotificationRequestBody: GetNotificationRequestBody, _options?: Configuration): Observable<NotificationHistorySuccessResponse>;
|
|
47
67
|
getNotifications(appId: string, limit?: number, offset?: number, kind?: 0 | 1 | 3, _options?: Configuration): Observable<NotificationSlice>;
|
|
48
68
|
getOutcomes(appId: string, outcomeNames: string, outcomeNames2?: string, outcomeTimeRange?: string, outcomePlatforms?: string, outcomeAttribution?: string, _options?: Configuration): Observable<OutcomesData>;
|
|
49
69
|
getPlayer(appId: string, playerId: string, emailAuthHash?: string, _options?: Configuration): Observable<Player>;
|
|
50
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>;
|
|
51
74
|
updateApp(appId: string, app: App, _options?: Configuration): Observable<App>;
|
|
52
75
|
updateLiveActivity(appId: string, activityId: string, updateLiveActivityRequest: UpdateLiveActivityRequest, _options?: Configuration): Observable<UpdateLiveActivitySuccessResponse>;
|
|
53
76
|
updatePlayer(playerId: string, player: Player, _options?: Configuration): Observable<UpdatePlayerSuccessResponse>;
|
|
54
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, _options?: Configuration): Observable<InlineResponse202>;
|
|
55
80
|
}
|