@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSubscriptionRequestBody = void 0;
|
|
4
|
+
var UpdateSubscriptionRequestBody = (function () {
|
|
5
|
+
function UpdateSubscriptionRequestBody() {
|
|
6
|
+
}
|
|
7
|
+
UpdateSubscriptionRequestBody.getAttributeTypeMap = function () {
|
|
8
|
+
return UpdateSubscriptionRequestBody.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UpdateSubscriptionRequestBody.discriminator = undefined;
|
|
11
|
+
UpdateSubscriptionRequestBody.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "subscription",
|
|
14
|
+
"baseName": "subscription",
|
|
15
|
+
"type": "SubscriptionObject",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return UpdateSubscriptionRequestBody;
|
|
20
|
+
}());
|
|
21
|
+
exports.UpdateSubscriptionRequestBody = UpdateSubscriptionRequestBody;
|
|
22
|
+
//# sourceMappingURL=UpdateSubscriptionRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateSubscriptionRequestBody.js","sourceRoot":"","sources":["../../models/UpdateSubscriptionRequestBody.ts"],"names":[],"mappings":";;;AAWA;IAiBI;IACA,CAAC;IALM,iDAAmB,GAA1B;QACI,OAAO,6BAA6B,CAAC,gBAAgB,CAAC;IAC1D,CAAC;IAZe,2CAAa,GAAuB,SAAS,CAAC;IAE9C,8CAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,cAAc;YACtB,UAAU,EAAE,cAAc;YAC1B,MAAM,EAAE,oBAAoB;YAC5B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,oCAAC;CAAA,AAnBD,IAmBC;AAnBY,sEAA6B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropertiesDeltas } from './PropertiesDeltas';
|
|
2
|
+
import { PropertiesObject } from './PropertiesObject';
|
|
3
|
+
export declare class UpdateUserRequest {
|
|
4
|
+
'properties'?: PropertiesObject;
|
|
5
|
+
'refresh_device_metadata'?: boolean;
|
|
6
|
+
'deltas'?: PropertiesDeltas;
|
|
7
|
+
static readonly discriminator: string | undefined;
|
|
8
|
+
static readonly attributeTypeMap: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
baseName: string;
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
}>;
|
|
14
|
+
static getAttributeTypeMap(): {
|
|
15
|
+
name: string;
|
|
16
|
+
baseName: string;
|
|
17
|
+
type: string;
|
|
18
|
+
format: string;
|
|
19
|
+
}[];
|
|
20
|
+
constructor();
|
|
21
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateUserRequest = void 0;
|
|
4
|
+
var UpdateUserRequest = (function () {
|
|
5
|
+
function UpdateUserRequest() {
|
|
6
|
+
}
|
|
7
|
+
UpdateUserRequest.getAttributeTypeMap = function () {
|
|
8
|
+
return UpdateUserRequest.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UpdateUserRequest.discriminator = undefined;
|
|
11
|
+
UpdateUserRequest.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "properties",
|
|
14
|
+
"baseName": "properties",
|
|
15
|
+
"type": "PropertiesObject",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "refresh_device_metadata",
|
|
20
|
+
"baseName": "refresh_device_metadata",
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "deltas",
|
|
26
|
+
"baseName": "deltas",
|
|
27
|
+
"type": "PropertiesDeltas",
|
|
28
|
+
"format": ""
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
return UpdateUserRequest;
|
|
32
|
+
}());
|
|
33
|
+
exports.UpdateUserRequest = UpdateUserRequest;
|
|
34
|
+
//# sourceMappingURL=UpdateUserRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateUserRequest.js","sourceRoot":"","sources":["../../models/UpdateUserRequest.ts"],"names":[],"mappings":";;;AAYA;IA+BI;IACA,CAAC;IALM,qCAAmB,GAA1B;QACI,OAAO,iBAAiB,CAAC,gBAAgB,CAAC;IAC9C,CAAC;IAxBe,+BAAa,GAAuB,SAAS,CAAC;IAE9C,kCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,yBAAyB;YACjC,UAAU,EAAE,yBAAyB;YACrC,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,wBAAC;CAAA,AAjCD,IAiCC;AAjCY,8CAAiB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PropertiesObject } from './PropertiesObject';
|
|
2
|
+
import { SubscriptionObject } from './SubscriptionObject';
|
|
3
|
+
import { UserSubscriptionOptions } from './UserSubscriptionOptions';
|
|
4
|
+
export declare class User {
|
|
5
|
+
'properties'?: PropertiesObject;
|
|
6
|
+
'identity'?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
'subscriptions'?: Array<SubscriptionObject>;
|
|
10
|
+
'subscription_options'?: UserSubscriptionOptions;
|
|
11
|
+
static readonly discriminator: string | undefined;
|
|
12
|
+
static readonly attributeTypeMap: Array<{
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
format: string;
|
|
17
|
+
}>;
|
|
18
|
+
static getAttributeTypeMap(): {
|
|
19
|
+
name: string;
|
|
20
|
+
baseName: string;
|
|
21
|
+
type: string;
|
|
22
|
+
format: string;
|
|
23
|
+
}[];
|
|
24
|
+
constructor();
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.User = void 0;
|
|
4
|
+
var User = (function () {
|
|
5
|
+
function User() {
|
|
6
|
+
}
|
|
7
|
+
User.getAttributeTypeMap = function () {
|
|
8
|
+
return User.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
User.discriminator = undefined;
|
|
11
|
+
User.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "properties",
|
|
14
|
+
"baseName": "properties",
|
|
15
|
+
"type": "PropertiesObject",
|
|
16
|
+
"format": ""
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "identity",
|
|
20
|
+
"baseName": "identity",
|
|
21
|
+
"type": "{ [key: string]: any; }",
|
|
22
|
+
"format": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "subscriptions",
|
|
26
|
+
"baseName": "subscriptions",
|
|
27
|
+
"type": "Array<SubscriptionObject>",
|
|
28
|
+
"format": ""
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "subscription_options",
|
|
32
|
+
"baseName": "subscription_options",
|
|
33
|
+
"type": "UserSubscriptionOptions",
|
|
34
|
+
"format": ""
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
return User;
|
|
38
|
+
}());
|
|
39
|
+
exports.User = User;
|
|
40
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../models/User.ts"],"names":[],"mappings":";;;AAaA;IAsCI;IACA,CAAC;IALM,wBAAmB,GAA1B;QACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IA9Be,kBAAa,GAAuB,SAAS,CAAC;IAE9C,qBAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,eAAe;YACvB,UAAU,EAAE,eAAe;YAC3B,MAAM,EAAE,2BAA2B;YACnC,QAAQ,EAAE,EAAE;SACf;QACD;YACI,MAAM,EAAE,sBAAsB;YAC9B,UAAU,EAAE,sBAAsB;YAClC,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,WAAC;CAAA,AAxCD,IAwCC;AAxCY,oBAAI"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class UserIdentityRequestBody {
|
|
2
|
+
'identity'?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
static readonly discriminator: string | undefined;
|
|
6
|
+
static readonly attributeTypeMap: Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
baseName: string;
|
|
9
|
+
type: string;
|
|
10
|
+
format: string;
|
|
11
|
+
}>;
|
|
12
|
+
static getAttributeTypeMap(): {
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
format: string;
|
|
17
|
+
}[];
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserIdentityRequestBody = void 0;
|
|
4
|
+
var UserIdentityRequestBody = (function () {
|
|
5
|
+
function UserIdentityRequestBody() {
|
|
6
|
+
}
|
|
7
|
+
UserIdentityRequestBody.getAttributeTypeMap = function () {
|
|
8
|
+
return UserIdentityRequestBody.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UserIdentityRequestBody.discriminator = undefined;
|
|
11
|
+
UserIdentityRequestBody.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "identity",
|
|
14
|
+
"baseName": "identity",
|
|
15
|
+
"type": "{ [key: string]: any; }",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return UserIdentityRequestBody;
|
|
20
|
+
}());
|
|
21
|
+
exports.UserIdentityRequestBody = UserIdentityRequestBody;
|
|
22
|
+
//# sourceMappingURL=UserIdentityRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserIdentityRequestBody.js","sourceRoot":"","sources":["../../models/UserIdentityRequestBody.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,2CAAmB,GAA1B;QACI,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAZe,qCAAa,GAAuB,SAAS,CAAC;IAE9C,wCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,8BAAC;CAAA,AAnBD,IAmBC;AAnBY,0DAAuB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class UserIdentityResponse {
|
|
2
|
+
'identity'?: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
static readonly discriminator: string | undefined;
|
|
6
|
+
static readonly attributeTypeMap: Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
baseName: string;
|
|
9
|
+
type: string;
|
|
10
|
+
format: string;
|
|
11
|
+
}>;
|
|
12
|
+
static getAttributeTypeMap(): {
|
|
13
|
+
name: string;
|
|
14
|
+
baseName: string;
|
|
15
|
+
type: string;
|
|
16
|
+
format: string;
|
|
17
|
+
}[];
|
|
18
|
+
constructor();
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserIdentityResponse = void 0;
|
|
4
|
+
var UserIdentityResponse = (function () {
|
|
5
|
+
function UserIdentityResponse() {
|
|
6
|
+
}
|
|
7
|
+
UserIdentityResponse.getAttributeTypeMap = function () {
|
|
8
|
+
return UserIdentityResponse.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UserIdentityResponse.discriminator = undefined;
|
|
11
|
+
UserIdentityResponse.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "identity",
|
|
14
|
+
"baseName": "identity",
|
|
15
|
+
"type": "{ [key: string]: any; }",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return UserIdentityResponse;
|
|
20
|
+
}());
|
|
21
|
+
exports.UserIdentityResponse = UserIdentityResponse;
|
|
22
|
+
//# sourceMappingURL=UserIdentityResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserIdentityResponse.js","sourceRoot":"","sources":["../../models/UserIdentityResponse.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,wCAAmB,GAA1B;QACI,OAAO,oBAAoB,CAAC,gBAAgB,CAAC;IACjD,CAAC;IAZe,kCAAa,GAAuB,SAAS,CAAC;IAE9C,qCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,UAAU;YAClB,UAAU,EAAE,UAAU;YACtB,MAAM,EAAE,yBAAyB;YACjC,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,2BAAC;CAAA,AAnBD,IAmBC;AAnBY,oDAAoB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class UserSubscriptionOptions {
|
|
2
|
+
'retain_previous_owner'?: 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.UserSubscriptionOptions = void 0;
|
|
4
|
+
var UserSubscriptionOptions = (function () {
|
|
5
|
+
function UserSubscriptionOptions() {
|
|
6
|
+
}
|
|
7
|
+
UserSubscriptionOptions.getAttributeTypeMap = function () {
|
|
8
|
+
return UserSubscriptionOptions.attributeTypeMap;
|
|
9
|
+
};
|
|
10
|
+
UserSubscriptionOptions.discriminator = undefined;
|
|
11
|
+
UserSubscriptionOptions.attributeTypeMap = [
|
|
12
|
+
{
|
|
13
|
+
"name": "retain_previous_owner",
|
|
14
|
+
"baseName": "retain_previous_owner",
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"format": ""
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
return UserSubscriptionOptions;
|
|
20
|
+
}());
|
|
21
|
+
exports.UserSubscriptionOptions = UserSubscriptionOptions;
|
|
22
|
+
//# sourceMappingURL=UserSubscriptionOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserSubscriptionOptions.js","sourceRoot":"","sources":["../../models/UserSubscriptionOptions.ts"],"names":[],"mappings":";;;AAUA;IAiBI;IACA,CAAC;IALM,2CAAmB,GAA1B;QACI,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAZe,qCAAa,GAAuB,SAAS,CAAC;IAE9C,wCAAgB,GAA0E;QACtG;YACI,MAAM,EAAE,uBAAuB;YAC/B,UAAU,EAAE,uBAAuB;YACnC,MAAM,EAAE,SAAS;YACjB,QAAQ,EAAE,EAAE;SACf;KAAK,CAAC;IAQf,8BAAC;CAAA,AAnBD,IAmBC;AAnBY,0DAAuB"}
|
package/dist/models/all.d.ts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
export * from './App';
|
|
2
|
+
export * from './BadRequestError';
|
|
2
3
|
export * from './BasicNotification';
|
|
3
4
|
export * from './BasicNotificationAllOf';
|
|
4
5
|
export * from './BasicNotificationAllOfAndroidBackgroundLayout';
|
|
6
|
+
export * from './BeginLiveActivityRequest';
|
|
5
7
|
export * from './Button';
|
|
6
8
|
export * from './CancelNotificationSuccessResponse';
|
|
7
|
-
export * from './CreateNotificationBadRequestResponse';
|
|
8
9
|
export * from './CreateNotificationSuccessResponse';
|
|
9
10
|
export * from './CreatePlayerSuccessResponse';
|
|
10
|
-
export * from './CreateSegmentBadRequestResponse';
|
|
11
11
|
export * from './CreateSegmentConflictResponse';
|
|
12
12
|
export * from './CreateSegmentSuccessResponse';
|
|
13
|
-
export * from './
|
|
13
|
+
export * from './CreateSubscriptionRequestBody';
|
|
14
|
+
export * from './CreateUserConflictResponse';
|
|
15
|
+
export * from './CreateUserConflictResponseErrorsInner';
|
|
16
|
+
export * from './CreateUserConflictResponseErrorsItemsMeta';
|
|
14
17
|
export * from './DeletePlayerNotFoundResponse';
|
|
15
18
|
export * from './DeletePlayerSuccessResponse';
|
|
16
|
-
export * from './DeleteSegmentBadRequestResponse';
|
|
17
19
|
export * from './DeleteSegmentNotFoundResponse';
|
|
18
20
|
export * from './DeleteSegmentSuccessResponse';
|
|
19
21
|
export * from './DeliveryData';
|
|
@@ -22,11 +24,16 @@ export * from './ExportPlayersSuccessResponse';
|
|
|
22
24
|
export * from './Filter';
|
|
23
25
|
export * from './FilterExpressions';
|
|
24
26
|
export * from './GetNotificationRequestBody';
|
|
27
|
+
export * from './IdentifyUserConflictResponse';
|
|
28
|
+
export * from './IdentifyUserConflictResponseErrorsInner';
|
|
29
|
+
export * from './InlineResponse200';
|
|
30
|
+
export * from './InlineResponse2003';
|
|
31
|
+
export * from './InlineResponse201';
|
|
32
|
+
export * from './InlineResponse202';
|
|
25
33
|
export * from './InvalidIdentifierError';
|
|
26
34
|
export * from './Notification';
|
|
27
35
|
export * from './Notification200Errors';
|
|
28
36
|
export * from './NotificationAllOf';
|
|
29
|
-
export * from './NotificationHistoryBadRequestResponse';
|
|
30
37
|
export * from './NotificationHistorySuccessResponse';
|
|
31
38
|
export * from './NotificationSlice';
|
|
32
39
|
export * from './NotificationTarget';
|
|
@@ -40,11 +47,24 @@ export * from './PlatformDeliveryDataEmailAllOf';
|
|
|
40
47
|
export * from './PlatformDeliveryDataSmsAllOf';
|
|
41
48
|
export * from './Player';
|
|
42
49
|
export * from './PlayerNotificationTarget';
|
|
50
|
+
export * from './PlayerNotificationTargetIncludeAliases';
|
|
43
51
|
export * from './PlayerSlice';
|
|
52
|
+
export * from './PropertiesDeltas';
|
|
53
|
+
export * from './PropertiesObject';
|
|
44
54
|
export * from './Purchase';
|
|
45
55
|
export * from './Segment';
|
|
46
56
|
export * from './SegmentNotificationTarget';
|
|
47
57
|
export * from './StringMap';
|
|
58
|
+
export * from './SubscriptionObject';
|
|
59
|
+
export * from './TransferSubscriptionRequestBody';
|
|
60
|
+
export * from './UpdateLiveActivityRequest';
|
|
61
|
+
export * from './UpdateLiveActivitySuccessResponse';
|
|
48
62
|
export * from './UpdatePlayerSuccessResponse';
|
|
49
63
|
export * from './UpdatePlayerTagsRequestBody';
|
|
50
64
|
export * from './UpdatePlayerTagsSuccessResponse';
|
|
65
|
+
export * from './UpdateSubscriptionRequestBody';
|
|
66
|
+
export * from './UpdateUserRequest';
|
|
67
|
+
export * from './User';
|
|
68
|
+
export * from './UserIdentityRequestBody';
|
|
69
|
+
export * from './UserIdentityResponse';
|
|
70
|
+
export * from './UserSubscriptionOptions';
|
package/dist/models/all.js
CHANGED
|
@@ -15,21 +15,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./App"), exports);
|
|
18
|
+
__exportStar(require("./BadRequestError"), exports);
|
|
18
19
|
__exportStar(require("./BasicNotification"), exports);
|
|
19
20
|
__exportStar(require("./BasicNotificationAllOf"), exports);
|
|
20
21
|
__exportStar(require("./BasicNotificationAllOfAndroidBackgroundLayout"), exports);
|
|
22
|
+
__exportStar(require("./BeginLiveActivityRequest"), exports);
|
|
21
23
|
__exportStar(require("./Button"), exports);
|
|
22
24
|
__exportStar(require("./CancelNotificationSuccessResponse"), exports);
|
|
23
|
-
__exportStar(require("./CreateNotificationBadRequestResponse"), exports);
|
|
24
25
|
__exportStar(require("./CreateNotificationSuccessResponse"), exports);
|
|
25
26
|
__exportStar(require("./CreatePlayerSuccessResponse"), exports);
|
|
26
|
-
__exportStar(require("./CreateSegmentBadRequestResponse"), exports);
|
|
27
27
|
__exportStar(require("./CreateSegmentConflictResponse"), exports);
|
|
28
28
|
__exportStar(require("./CreateSegmentSuccessResponse"), exports);
|
|
29
|
-
__exportStar(require("./
|
|
29
|
+
__exportStar(require("./CreateSubscriptionRequestBody"), exports);
|
|
30
|
+
__exportStar(require("./CreateUserConflictResponse"), exports);
|
|
31
|
+
__exportStar(require("./CreateUserConflictResponseErrorsInner"), exports);
|
|
32
|
+
__exportStar(require("./CreateUserConflictResponseErrorsItemsMeta"), exports);
|
|
30
33
|
__exportStar(require("./DeletePlayerNotFoundResponse"), exports);
|
|
31
34
|
__exportStar(require("./DeletePlayerSuccessResponse"), exports);
|
|
32
|
-
__exportStar(require("./DeleteSegmentBadRequestResponse"), exports);
|
|
33
35
|
__exportStar(require("./DeleteSegmentNotFoundResponse"), exports);
|
|
34
36
|
__exportStar(require("./DeleteSegmentSuccessResponse"), exports);
|
|
35
37
|
__exportStar(require("./DeliveryData"), exports);
|
|
@@ -38,11 +40,16 @@ __exportStar(require("./ExportPlayersSuccessResponse"), exports);
|
|
|
38
40
|
__exportStar(require("./Filter"), exports);
|
|
39
41
|
__exportStar(require("./FilterExpressions"), exports);
|
|
40
42
|
__exportStar(require("./GetNotificationRequestBody"), exports);
|
|
43
|
+
__exportStar(require("./IdentifyUserConflictResponse"), exports);
|
|
44
|
+
__exportStar(require("./IdentifyUserConflictResponseErrorsInner"), exports);
|
|
45
|
+
__exportStar(require("./InlineResponse200"), exports);
|
|
46
|
+
__exportStar(require("./InlineResponse2003"), exports);
|
|
47
|
+
__exportStar(require("./InlineResponse201"), exports);
|
|
48
|
+
__exportStar(require("./InlineResponse202"), exports);
|
|
41
49
|
__exportStar(require("./InvalidIdentifierError"), exports);
|
|
42
50
|
__exportStar(require("./Notification"), exports);
|
|
43
51
|
__exportStar(require("./Notification200Errors"), exports);
|
|
44
52
|
__exportStar(require("./NotificationAllOf"), exports);
|
|
45
|
-
__exportStar(require("./NotificationHistoryBadRequestResponse"), exports);
|
|
46
53
|
__exportStar(require("./NotificationHistorySuccessResponse"), exports);
|
|
47
54
|
__exportStar(require("./NotificationSlice"), exports);
|
|
48
55
|
__exportStar(require("./NotificationTarget"), exports);
|
|
@@ -56,12 +63,25 @@ __exportStar(require("./PlatformDeliveryDataEmailAllOf"), exports);
|
|
|
56
63
|
__exportStar(require("./PlatformDeliveryDataSmsAllOf"), exports);
|
|
57
64
|
__exportStar(require("./Player"), exports);
|
|
58
65
|
__exportStar(require("./PlayerNotificationTarget"), exports);
|
|
66
|
+
__exportStar(require("./PlayerNotificationTargetIncludeAliases"), exports);
|
|
59
67
|
__exportStar(require("./PlayerSlice"), exports);
|
|
68
|
+
__exportStar(require("./PropertiesDeltas"), exports);
|
|
69
|
+
__exportStar(require("./PropertiesObject"), exports);
|
|
60
70
|
__exportStar(require("./Purchase"), exports);
|
|
61
71
|
__exportStar(require("./Segment"), exports);
|
|
62
72
|
__exportStar(require("./SegmentNotificationTarget"), exports);
|
|
63
73
|
__exportStar(require("./StringMap"), exports);
|
|
74
|
+
__exportStar(require("./SubscriptionObject"), exports);
|
|
75
|
+
__exportStar(require("./TransferSubscriptionRequestBody"), exports);
|
|
76
|
+
__exportStar(require("./UpdateLiveActivityRequest"), exports);
|
|
77
|
+
__exportStar(require("./UpdateLiveActivitySuccessResponse"), exports);
|
|
64
78
|
__exportStar(require("./UpdatePlayerSuccessResponse"), exports);
|
|
65
79
|
__exportStar(require("./UpdatePlayerTagsRequestBody"), exports);
|
|
66
80
|
__exportStar(require("./UpdatePlayerTagsSuccessResponse"), exports);
|
|
81
|
+
__exportStar(require("./UpdateSubscriptionRequestBody"), exports);
|
|
82
|
+
__exportStar(require("./UpdateUserRequest"), exports);
|
|
83
|
+
__exportStar(require("./User"), exports);
|
|
84
|
+
__exportStar(require("./UserIdentityRequestBody"), exports);
|
|
85
|
+
__exportStar(require("./UserIdentityResponse"), exports);
|
|
86
|
+
__exportStar(require("./UserSubscriptionOptions"), exports);
|
|
67
87
|
//# sourceMappingURL=all.js.map
|
package/dist/models/all.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all.js","sourceRoot":"","sources":["../../models/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,sDAAmC;AACnC,2DAAwC;AACxC,kFAA+D;AAC/D,2CAAwB;AACxB,sEAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"all.js","sourceRoot":"","sources":["../../models/all.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,oDAAiC;AACjC,sDAAmC;AACnC,2DAAwC;AACxC,kFAA+D;AAC/D,6DAA0C;AAC1C,2CAAwB;AACxB,sEAAmD;AACnD,sEAAmD;AACnD,gEAA6C;AAC7C,kEAA+C;AAC/C,iEAA8C;AAC9C,kEAA+C;AAC/C,+DAA4C;AAC5C,0EAAuD;AACvD,8EAA2D;AAC3D,iEAA8C;AAC9C,gEAA6C;AAC7C,kEAA+C;AAC/C,iEAA8C;AAC9C,iDAA8B;AAC9B,6DAA0C;AAC1C,iEAA8C;AAC9C,2CAAwB;AACxB,sDAAmC;AACnC,+DAA4C;AAC5C,iEAA8C;AAC9C,4EAAyD;AACzD,sDAAmC;AACnC,uDAAoC;AACpC,sDAAmC;AACnC,sDAAmC;AACnC,2DAAwC;AACxC,iDAA8B;AAC9B,0DAAuC;AACvC,sDAAmC;AACnC,uEAAoD;AACpD,sDAAmC;AACnC,uDAAoC;AACpC,yDAAsC;AACtC,8DAA2C;AAC3C,6CAA0B;AAC1B,gDAA6B;AAC7B,iDAA8B;AAC9B,yDAAsC;AACtC,mEAAgD;AAChD,iEAA8C;AAC9C,2CAAwB;AACxB,6DAA0C;AAC1C,2EAAwD;AACxD,gDAA6B;AAC7B,qDAAkC;AAClC,qDAAkC;AAClC,6CAA0B;AAC1B,4CAAyB;AACzB,8DAA2C;AAC3C,8CAA2B;AAC3B,uDAAoC;AACpC,oEAAiD;AACjD,8DAA2C;AAC3C,sEAAmD;AACnD,gEAA6C;AAC7C,gEAA6C;AAC7C,oEAAiD;AACjD,kEAA+C;AAC/C,sDAAmC;AACnC,yCAAsB;AACtB,4DAAyC;AACzC,yDAAsC;AACtC,4DAAyC"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { Configuration } from '../configuration';
|
|
2
2
|
import { App } from '../models/App';
|
|
3
|
+
import { BeginLiveActivityRequest } from '../models/BeginLiveActivityRequest';
|
|
3
4
|
import { CancelNotificationSuccessResponse } from '../models/CancelNotificationSuccessResponse';
|
|
4
5
|
import { CreateNotificationSuccessResponse } from '../models/CreateNotificationSuccessResponse';
|
|
5
6
|
import { CreatePlayerSuccessResponse } from '../models/CreatePlayerSuccessResponse';
|
|
6
7
|
import { CreateSegmentSuccessResponse } from '../models/CreateSegmentSuccessResponse';
|
|
8
|
+
import { CreateSubscriptionRequestBody } from '../models/CreateSubscriptionRequestBody';
|
|
7
9
|
import { DeletePlayerSuccessResponse } from '../models/DeletePlayerSuccessResponse';
|
|
8
10
|
import { DeleteSegmentSuccessResponse } from '../models/DeleteSegmentSuccessResponse';
|
|
9
11
|
import { ExportPlayersRequestBody } from '../models/ExportPlayersRequestBody';
|
|
10
12
|
import { ExportPlayersSuccessResponse } from '../models/ExportPlayersSuccessResponse';
|
|
11
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';
|
|
12
18
|
import { Notification } from '../models/Notification';
|
|
13
19
|
import { NotificationHistorySuccessResponse } from '../models/NotificationHistorySuccessResponse';
|
|
14
20
|
import { NotificationSlice } from '../models/NotificationSlice';
|
|
@@ -17,10 +23,23 @@ import { OutcomesData } from '../models/OutcomesData';
|
|
|
17
23
|
import { Player } from '../models/Player';
|
|
18
24
|
import { PlayerSlice } from '../models/PlayerSlice';
|
|
19
25
|
import { Segment } from '../models/Segment';
|
|
26
|
+
import { TransferSubscriptionRequestBody } from '../models/TransferSubscriptionRequestBody';
|
|
27
|
+
import { UpdateLiveActivityRequest } from '../models/UpdateLiveActivityRequest';
|
|
28
|
+
import { UpdateLiveActivitySuccessResponse } from '../models/UpdateLiveActivitySuccessResponse';
|
|
20
29
|
import { UpdatePlayerSuccessResponse } from '../models/UpdatePlayerSuccessResponse';
|
|
21
30
|
import { UpdatePlayerTagsRequestBody } from '../models/UpdatePlayerTagsRequestBody';
|
|
22
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';
|
|
23
37
|
import { DefaultApiRequestFactory, DefaultApiResponseProcessor } from "../apis/DefaultApi";
|
|
38
|
+
export interface DefaultApiBeginLiveActivityRequest {
|
|
39
|
+
appId: string;
|
|
40
|
+
activityId: string;
|
|
41
|
+
beginLiveActivityRequest: BeginLiveActivityRequest;
|
|
42
|
+
}
|
|
24
43
|
export interface DefaultApiCancelNotificationRequest {
|
|
25
44
|
appId: string;
|
|
26
45
|
notificationId: string;
|
|
@@ -38,6 +57,22 @@ export interface DefaultApiCreateSegmentsRequest {
|
|
|
38
57
|
appId: string;
|
|
39
58
|
segment?: Segment;
|
|
40
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
|
+
}
|
|
41
76
|
export interface DefaultApiDeletePlayerRequest {
|
|
42
77
|
appId: string;
|
|
43
78
|
playerId: string;
|
|
@@ -46,15 +81,47 @@ export interface DefaultApiDeleteSegmentsRequest {
|
|
|
46
81
|
appId: string;
|
|
47
82
|
segmentId: string;
|
|
48
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
|
+
}
|
|
93
|
+
export interface DefaultApiEndLiveActivityRequest {
|
|
94
|
+
appId: string;
|
|
95
|
+
activityId: string;
|
|
96
|
+
subscriptionId: string;
|
|
97
|
+
}
|
|
49
98
|
export interface DefaultApiExportPlayersRequest {
|
|
50
99
|
appId: string;
|
|
51
100
|
exportPlayersRequestBody?: ExportPlayersRequestBody;
|
|
52
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
|
+
}
|
|
53
116
|
export interface DefaultApiGetAppRequest {
|
|
54
117
|
appId: string;
|
|
55
118
|
}
|
|
56
119
|
export interface DefaultApiGetAppsRequest {
|
|
57
120
|
}
|
|
121
|
+
export interface DefaultApiGetEligibleIamsRequest {
|
|
122
|
+
appId: string;
|
|
123
|
+
subscriptionId: string;
|
|
124
|
+
}
|
|
58
125
|
export interface DefaultApiGetNotificationRequest {
|
|
59
126
|
appId: string;
|
|
60
127
|
notificationId: string;
|
|
@@ -87,10 +154,31 @@ export interface DefaultApiGetPlayersRequest {
|
|
|
87
154
|
limit?: number;
|
|
88
155
|
offset?: number;
|
|
89
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
|
+
}
|
|
90
173
|
export interface DefaultApiUpdateAppRequest {
|
|
91
174
|
appId: string;
|
|
92
175
|
app: App;
|
|
93
176
|
}
|
|
177
|
+
export interface DefaultApiUpdateLiveActivityRequest {
|
|
178
|
+
appId: string;
|
|
179
|
+
activityId: string;
|
|
180
|
+
updateLiveActivityRequest: UpdateLiveActivityRequest;
|
|
181
|
+
}
|
|
94
182
|
export interface DefaultApiUpdatePlayerRequest {
|
|
95
183
|
playerId: string;
|
|
96
184
|
player: Player;
|
|
@@ -100,26 +188,55 @@ export interface DefaultApiUpdatePlayerTagsRequest {
|
|
|
100
188
|
externalUserId: string;
|
|
101
189
|
updatePlayerTagsRequestBody?: UpdatePlayerTagsRequestBody;
|
|
102
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
|
+
subscriptionId?: string;
|
|
202
|
+
}
|
|
103
203
|
export declare class ObjectDefaultApi {
|
|
104
204
|
private api;
|
|
105
205
|
constructor(configuration: Configuration, requestFactory?: DefaultApiRequestFactory, responseProcessor?: DefaultApiResponseProcessor);
|
|
206
|
+
beginLiveActivity(param: DefaultApiBeginLiveActivityRequest, options?: Configuration): Promise<void>;
|
|
106
207
|
cancelNotification(param: DefaultApiCancelNotificationRequest, options?: Configuration): Promise<CancelNotificationSuccessResponse>;
|
|
107
208
|
createApp(param: DefaultApiCreateAppRequest, options?: Configuration): Promise<App>;
|
|
108
209
|
createNotification(param: DefaultApiCreateNotificationRequest, options?: Configuration): Promise<CreateNotificationSuccessResponse>;
|
|
109
210
|
createPlayer(param: DefaultApiCreatePlayerRequest, options?: Configuration): Promise<CreatePlayerSuccessResponse>;
|
|
110
211
|
createSegments(param: DefaultApiCreateSegmentsRequest, options?: Configuration): Promise<CreateSegmentSuccessResponse>;
|
|
212
|
+
createSubscription(param: DefaultApiCreateSubscriptionRequest, options?: Configuration): Promise<InlineResponse201>;
|
|
213
|
+
createUser(param: DefaultApiCreateUserRequest, options?: Configuration): Promise<User>;
|
|
214
|
+
deleteAlias(param: DefaultApiDeleteAliasRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
111
215
|
deletePlayer(param: DefaultApiDeletePlayerRequest, options?: Configuration): Promise<DeletePlayerSuccessResponse>;
|
|
112
216
|
deleteSegments(param: DefaultApiDeleteSegmentsRequest, options?: Configuration): Promise<DeleteSegmentSuccessResponse>;
|
|
217
|
+
deleteSubscription(param: DefaultApiDeleteSubscriptionRequest, options?: Configuration): Promise<void>;
|
|
218
|
+
deleteUser(param: DefaultApiDeleteUserRequest, options?: Configuration): Promise<void>;
|
|
219
|
+
endLiveActivity(param: DefaultApiEndLiveActivityRequest, options?: Configuration): Promise<void>;
|
|
113
220
|
exportPlayers(param: DefaultApiExportPlayersRequest, options?: Configuration): Promise<ExportPlayersSuccessResponse>;
|
|
221
|
+
fetchAliases(param: DefaultApiFetchAliasesRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
222
|
+
fetchUser(param: DefaultApiFetchUserRequest, options?: Configuration): Promise<User>;
|
|
223
|
+
fetchUserIdentity(param: DefaultApiFetchUserIdentityRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
114
224
|
getApp(param: DefaultApiGetAppRequest, options?: Configuration): Promise<App>;
|
|
115
225
|
getApps(param?: DefaultApiGetAppsRequest, options?: Configuration): Promise<Array<App>>;
|
|
226
|
+
getEligibleIams(param: DefaultApiGetEligibleIamsRequest, options?: Configuration): Promise<InlineResponse2003>;
|
|
116
227
|
getNotification(param: DefaultApiGetNotificationRequest, options?: Configuration): Promise<NotificationWithMeta>;
|
|
117
228
|
getNotificationHistory(param: DefaultApiGetNotificationHistoryRequest, options?: Configuration): Promise<NotificationHistorySuccessResponse>;
|
|
118
229
|
getNotifications(param: DefaultApiGetNotificationsRequest, options?: Configuration): Promise<NotificationSlice>;
|
|
119
230
|
getOutcomes(param: DefaultApiGetOutcomesRequest, options?: Configuration): Promise<OutcomesData>;
|
|
120
231
|
getPlayer(param: DefaultApiGetPlayerRequest, options?: Configuration): Promise<Player>;
|
|
121
232
|
getPlayers(param: DefaultApiGetPlayersRequest, options?: Configuration): Promise<PlayerSlice>;
|
|
233
|
+
identifyUserByAlias(param: DefaultApiIdentifyUserByAliasRequest, options?: Configuration): Promise<InlineResponse200>;
|
|
234
|
+
identifyUserBySubscriptionId(param: DefaultApiIdentifyUserBySubscriptionIdRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
235
|
+
transferSubscription(param: DefaultApiTransferSubscriptionRequest, options?: Configuration): Promise<UserIdentityResponse>;
|
|
122
236
|
updateApp(param: DefaultApiUpdateAppRequest, options?: Configuration): Promise<App>;
|
|
237
|
+
updateLiveActivity(param: DefaultApiUpdateLiveActivityRequest, options?: Configuration): Promise<UpdateLiveActivitySuccessResponse>;
|
|
123
238
|
updatePlayer(param: DefaultApiUpdatePlayerRequest, options?: Configuration): Promise<UpdatePlayerSuccessResponse>;
|
|
124
239
|
updatePlayerTags(param: DefaultApiUpdatePlayerTagsRequest, options?: Configuration): Promise<UpdatePlayerTagsSuccessResponse>;
|
|
240
|
+
updateSubscription(param: DefaultApiUpdateSubscriptionRequest, options?: Configuration): Promise<void>;
|
|
241
|
+
updateUser(param: DefaultApiUpdateUserRequest, options?: Configuration): Promise<InlineResponse202>;
|
|
125
242
|
}
|