pingram 0.1.1-alpha.725 → 0.1.1
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/dist/generated/src/models/AccountGetResponse.d.ts +0 -32
- package/dist/generated/src/models/AccountGetResponse.js +3 -26
- package/dist/generated/src/models/BillingPostResponseBody.d.ts +0 -32
- package/dist/generated/src/models/BillingPostResponseBody.js +1 -24
- package/dist/generated/src/models/index.d.ts +0 -2
- package/dist/generated/src/models/index.js +0 -2
- package/package.json +1 -1
- package/dist/generated/src/models/AccountGetResponsePendingDowngradeUsageLimit.d.ts +0 -68
- package/dist/generated/src/models/AccountGetResponsePendingDowngradeUsageLimit.js +0 -60
- package/dist/generated/src/models/BillingPostResponseBodyPendingDowngradeUsageLimit.d.ts +0 -68
- package/dist/generated/src/models/BillingPostResponseBodyPendingDowngradeUsageLimit.js +0 -60
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { AccountGetResponsePendingDowngradeUsageLimit } from './AccountGetResponsePendingDowngradeUsageLimit';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -58,30 +57,6 @@ export interface AccountGetResponse {
|
|
|
58
57
|
* @memberof AccountGetResponse
|
|
59
58
|
*/
|
|
60
59
|
subscriptionStatus?: AccountGetResponseSubscriptionStatusEnum | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof AccountGetResponse
|
|
65
|
-
*/
|
|
66
|
-
anniversaryDate?: string;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof AccountGetResponse
|
|
71
|
-
*/
|
|
72
|
-
pendingDowngradeEffectiveDate?: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof AccountGetResponse
|
|
77
|
-
*/
|
|
78
|
-
pendingDowngradeAccountType?: AccountGetResponsePendingDowngradeAccountTypeEnum;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {AccountGetResponsePendingDowngradeUsageLimit}
|
|
82
|
-
* @memberof AccountGetResponse
|
|
83
|
-
*/
|
|
84
|
-
pendingDowngradeUsageLimit?: AccountGetResponsePendingDowngradeUsageLimit;
|
|
85
60
|
}
|
|
86
61
|
/**
|
|
87
62
|
* @export
|
|
@@ -101,13 +76,6 @@ export declare enum AccountGetResponseSubscriptionStatusEnum {
|
|
|
101
76
|
PastDue = "past_due",
|
|
102
77
|
Paused = "paused"
|
|
103
78
|
}
|
|
104
|
-
/**
|
|
105
|
-
* @export
|
|
106
|
-
* @enum {string}
|
|
107
|
-
*/
|
|
108
|
-
export declare enum AccountGetResponsePendingDowngradeAccountTypeEnum {
|
|
109
|
-
Free = "free"
|
|
110
|
-
}
|
|
111
79
|
/**
|
|
112
80
|
* Check if a given object implements the AccountGetResponse interface.
|
|
113
81
|
*/
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.AccountGetResponseSubscriptionStatusEnum = exports.AccountGetResponseAccountTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfAccountGetResponse = instanceOfAccountGetResponse;
|
|
18
18
|
exports.AccountGetResponseFromJSON = AccountGetResponseFromJSON;
|
|
19
19
|
exports.AccountGetResponseFromJSONTyped = AccountGetResponseFromJSONTyped;
|
|
20
20
|
exports.AccountGetResponseToJSON = AccountGetResponseToJSON;
|
|
21
21
|
exports.AccountGetResponseToJSONTyped = AccountGetResponseToJSONTyped;
|
|
22
|
-
const AccountGetResponsePendingDowngradeUsageLimit_1 = require("./AccountGetResponsePendingDowngradeUsageLimit");
|
|
23
22
|
/**
|
|
24
23
|
* @export
|
|
25
24
|
* @enum {string}
|
|
@@ -40,14 +39,6 @@ var AccountGetResponseSubscriptionStatusEnum;
|
|
|
40
39
|
AccountGetResponseSubscriptionStatusEnum["PastDue"] = "past_due";
|
|
41
40
|
AccountGetResponseSubscriptionStatusEnum["Paused"] = "paused";
|
|
42
41
|
})(AccountGetResponseSubscriptionStatusEnum || (exports.AccountGetResponseSubscriptionStatusEnum = AccountGetResponseSubscriptionStatusEnum = {}));
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
* @enum {string}
|
|
46
|
-
*/
|
|
47
|
-
var AccountGetResponsePendingDowngradeAccountTypeEnum;
|
|
48
|
-
(function (AccountGetResponsePendingDowngradeAccountTypeEnum) {
|
|
49
|
-
AccountGetResponsePendingDowngradeAccountTypeEnum["Free"] = "free";
|
|
50
|
-
})(AccountGetResponsePendingDowngradeAccountTypeEnum || (exports.AccountGetResponsePendingDowngradeAccountTypeEnum = AccountGetResponsePendingDowngradeAccountTypeEnum = {}));
|
|
51
42
|
/**
|
|
52
43
|
* Check if a given object implements the AccountGetResponse interface.
|
|
53
44
|
*/
|
|
@@ -80,17 +71,7 @@ function AccountGetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
80
71
|
: json['stripeSubscriptionId'],
|
|
81
72
|
subscriptionStatus: json['subscriptionStatus'] == null
|
|
82
73
|
? undefined
|
|
83
|
-
: json['subscriptionStatus']
|
|
84
|
-
anniversaryDate: json['anniversaryDate'] == null ? undefined : json['anniversaryDate'],
|
|
85
|
-
pendingDowngradeEffectiveDate: json['pendingDowngradeEffectiveDate'] == null
|
|
86
|
-
? undefined
|
|
87
|
-
: json['pendingDowngradeEffectiveDate'],
|
|
88
|
-
pendingDowngradeAccountType: json['pendingDowngradeAccountType'] == null
|
|
89
|
-
? undefined
|
|
90
|
-
: json['pendingDowngradeAccountType'],
|
|
91
|
-
pendingDowngradeUsageLimit: json['pendingDowngradeUsageLimit'] == null
|
|
92
|
-
? undefined
|
|
93
|
-
: (0, AccountGetResponsePendingDowngradeUsageLimit_1.AccountGetResponsePendingDowngradeUsageLimitFromJSON)(json['pendingDowngradeUsageLimit'])
|
|
74
|
+
: json['subscriptionStatus']
|
|
94
75
|
};
|
|
95
76
|
}
|
|
96
77
|
function AccountGetResponseToJSON(json) {
|
|
@@ -107,10 +88,6 @@ function AccountGetResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
107
88
|
createdAt: value['createdAt'],
|
|
108
89
|
stripeCustomerId: value['stripeCustomerId'],
|
|
109
90
|
stripeSubscriptionId: value['stripeSubscriptionId'],
|
|
110
|
-
subscriptionStatus: value['subscriptionStatus']
|
|
111
|
-
anniversaryDate: value['anniversaryDate'],
|
|
112
|
-
pendingDowngradeEffectiveDate: value['pendingDowngradeEffectiveDate'],
|
|
113
|
-
pendingDowngradeAccountType: value['pendingDowngradeAccountType'],
|
|
114
|
-
pendingDowngradeUsageLimit: (0, AccountGetResponsePendingDowngradeUsageLimit_1.AccountGetResponsePendingDowngradeUsageLimitToJSON)(value['pendingDowngradeUsageLimit'])
|
|
91
|
+
subscriptionStatus: value['subscriptionStatus']
|
|
115
92
|
};
|
|
116
93
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { BillingPostResponseBodyPendingDowngradeUsageLimit } from './BillingPostResponseBodyPendingDowngradeUsageLimit';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -64,30 +63,6 @@ export interface BillingPostResponseBody {
|
|
|
64
63
|
* @memberof BillingPostResponseBody
|
|
65
64
|
*/
|
|
66
65
|
subscriptionStatus?: BillingPostResponseBodySubscriptionStatusEnum | null;
|
|
67
|
-
/**
|
|
68
|
-
* ISO date (YYYY-MM-DD) when the billing cycle resets. Used for anniversary-based billing.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof BillingPostResponseBody
|
|
71
|
-
*/
|
|
72
|
-
anniversaryDate?: string;
|
|
73
|
-
/**
|
|
74
|
-
* ISO date (YYYY-MM-DD) when the pending downgrade takes effect
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof BillingPostResponseBody
|
|
77
|
-
*/
|
|
78
|
-
pendingDowngradeEffectiveDate?: string;
|
|
79
|
-
/**
|
|
80
|
-
* The account type to switch to when downgrade takes effect
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof BillingPostResponseBody
|
|
83
|
-
*/
|
|
84
|
-
pendingDowngradeAccountType?: BillingPostResponseBodyPendingDowngradeAccountTypeEnum;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {BillingPostResponseBodyPendingDowngradeUsageLimit}
|
|
88
|
-
* @memberof BillingPostResponseBody
|
|
89
|
-
*/
|
|
90
|
-
pendingDowngradeUsageLimit?: BillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
91
66
|
/**
|
|
92
67
|
*
|
|
93
68
|
* @type {string}
|
|
@@ -119,13 +94,6 @@ export declare enum BillingPostResponseBodySubscriptionStatusEnum {
|
|
|
119
94
|
PastDue = "past_due",
|
|
120
95
|
Paused = "paused"
|
|
121
96
|
}
|
|
122
|
-
/**
|
|
123
|
-
* @export
|
|
124
|
-
* @enum {string}
|
|
125
|
-
*/
|
|
126
|
-
export declare enum BillingPostResponseBodyPendingDowngradeAccountTypeEnum {
|
|
127
|
-
Free = "free"
|
|
128
|
-
}
|
|
129
97
|
/**
|
|
130
98
|
* Check if a given object implements the BillingPostResponseBody interface.
|
|
131
99
|
*/
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.BillingPostResponseBodySubscriptionStatusEnum = exports.BillingPostResponseBodyAccountTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfBillingPostResponseBody = instanceOfBillingPostResponseBody;
|
|
18
18
|
exports.BillingPostResponseBodyFromJSON = BillingPostResponseBodyFromJSON;
|
|
19
19
|
exports.BillingPostResponseBodyFromJSONTyped = BillingPostResponseBodyFromJSONTyped;
|
|
20
20
|
exports.BillingPostResponseBodyToJSON = BillingPostResponseBodyToJSON;
|
|
21
21
|
exports.BillingPostResponseBodyToJSONTyped = BillingPostResponseBodyToJSONTyped;
|
|
22
|
-
const BillingPostResponseBodyPendingDowngradeUsageLimit_1 = require("./BillingPostResponseBodyPendingDowngradeUsageLimit");
|
|
23
22
|
/**
|
|
24
23
|
* @export
|
|
25
24
|
* @enum {string}
|
|
@@ -40,14 +39,6 @@ var BillingPostResponseBodySubscriptionStatusEnum;
|
|
|
40
39
|
BillingPostResponseBodySubscriptionStatusEnum["PastDue"] = "past_due";
|
|
41
40
|
BillingPostResponseBodySubscriptionStatusEnum["Paused"] = "paused";
|
|
42
41
|
})(BillingPostResponseBodySubscriptionStatusEnum || (exports.BillingPostResponseBodySubscriptionStatusEnum = BillingPostResponseBodySubscriptionStatusEnum = {}));
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
* @enum {string}
|
|
46
|
-
*/
|
|
47
|
-
var BillingPostResponseBodyPendingDowngradeAccountTypeEnum;
|
|
48
|
-
(function (BillingPostResponseBodyPendingDowngradeAccountTypeEnum) {
|
|
49
|
-
BillingPostResponseBodyPendingDowngradeAccountTypeEnum["Free"] = "free";
|
|
50
|
-
})(BillingPostResponseBodyPendingDowngradeAccountTypeEnum || (exports.BillingPostResponseBodyPendingDowngradeAccountTypeEnum = BillingPostResponseBodyPendingDowngradeAccountTypeEnum = {}));
|
|
51
42
|
/**
|
|
52
43
|
* Check if a given object implements the BillingPostResponseBody interface.
|
|
53
44
|
*/
|
|
@@ -80,16 +71,6 @@ function BillingPostResponseBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
80
71
|
subscriptionStatus: json['subscriptionStatus'] == null
|
|
81
72
|
? undefined
|
|
82
73
|
: json['subscriptionStatus'],
|
|
83
|
-
anniversaryDate: json['anniversaryDate'] == null ? undefined : json['anniversaryDate'],
|
|
84
|
-
pendingDowngradeEffectiveDate: json['pendingDowngradeEffectiveDate'] == null
|
|
85
|
-
? undefined
|
|
86
|
-
: json['pendingDowngradeEffectiveDate'],
|
|
87
|
-
pendingDowngradeAccountType: json['pendingDowngradeAccountType'] == null
|
|
88
|
-
? undefined
|
|
89
|
-
: json['pendingDowngradeAccountType'],
|
|
90
|
-
pendingDowngradeUsageLimit: json['pendingDowngradeUsageLimit'] == null
|
|
91
|
-
? undefined
|
|
92
|
-
: (0, BillingPostResponseBodyPendingDowngradeUsageLimit_1.BillingPostResponseBodyPendingDowngradeUsageLimitFromJSON)(json['pendingDowngradeUsageLimit']),
|
|
93
74
|
sessionId: json['sessionId'] == null ? undefined : json['sessionId'],
|
|
94
75
|
url: json['url'] == null ? undefined : json['url']
|
|
95
76
|
};
|
|
@@ -110,10 +91,6 @@ function BillingPostResponseBodyToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
110
91
|
stripeCustomerId: value['stripeCustomerId'],
|
|
111
92
|
stripeSubscriptionId: value['stripeSubscriptionId'],
|
|
112
93
|
subscriptionStatus: value['subscriptionStatus'],
|
|
113
|
-
anniversaryDate: value['anniversaryDate'],
|
|
114
|
-
pendingDowngradeEffectiveDate: value['pendingDowngradeEffectiveDate'],
|
|
115
|
-
pendingDowngradeAccountType: value['pendingDowngradeAccountType'],
|
|
116
|
-
pendingDowngradeUsageLimit: (0, BillingPostResponseBodyPendingDowngradeUsageLimit_1.BillingPostResponseBodyPendingDowngradeUsageLimitToJSON)(value['pendingDowngradeUsageLimit']),
|
|
117
94
|
sessionId: value['sessionId'],
|
|
118
95
|
url: value['url']
|
|
119
96
|
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export * from './AccountGetResponse';
|
|
2
|
-
export * from './AccountGetResponsePendingDowngradeUsageLimit';
|
|
3
2
|
export * from './AutoJoinGetResponse';
|
|
4
3
|
export * from './AutoJoinPostResponse';
|
|
5
4
|
export * from './AutoJoinRequestBody';
|
|
6
5
|
export * from './BeeTokenV2';
|
|
7
6
|
export * from './BillingPostRequestBody';
|
|
8
7
|
export * from './BillingPostResponseBody';
|
|
9
|
-
export * from './BillingPostResponseBodyPendingDowngradeUsageLimit';
|
|
10
8
|
export * from './ChannelsEnum';
|
|
11
9
|
export * from './CreateAccountRequestBody';
|
|
12
10
|
export * from './CreateAccountResponse';
|
|
@@ -17,14 +17,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AccountGetResponse"), exports);
|
|
20
|
-
__exportStar(require("./AccountGetResponsePendingDowngradeUsageLimit"), exports);
|
|
21
20
|
__exportStar(require("./AutoJoinGetResponse"), exports);
|
|
22
21
|
__exportStar(require("./AutoJoinPostResponse"), exports);
|
|
23
22
|
__exportStar(require("./AutoJoinRequestBody"), exports);
|
|
24
23
|
__exportStar(require("./BeeTokenV2"), exports);
|
|
25
24
|
__exportStar(require("./BillingPostRequestBody"), exports);
|
|
26
25
|
__exportStar(require("./BillingPostResponseBody"), exports);
|
|
27
|
-
__exportStar(require("./BillingPostResponseBodyPendingDowngradeUsageLimit"), exports);
|
|
28
26
|
__exportStar(require("./ChannelsEnum"), exports);
|
|
29
27
|
__exportStar(require("./CreateAccountRequestBody"), exports);
|
|
30
28
|
__exportStar(require("./CreateAccountResponse"), exports);
|
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NotificationAPI
|
|
3
|
-
* Internal API for notification delivery and management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AccountGetResponsePendingDowngradeUsageLimit
|
|
16
|
-
*/
|
|
17
|
-
export interface AccountGetResponsePendingDowngradeUsageLimit {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
22
|
-
*/
|
|
23
|
-
eMAIL?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
28
|
-
*/
|
|
29
|
-
iNAPPWEB?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
34
|
-
*/
|
|
35
|
-
sMS?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
40
|
-
*/
|
|
41
|
-
cALL?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
46
|
-
*/
|
|
47
|
-
pUSH?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
52
|
-
*/
|
|
53
|
-
wEBPUSH?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof AccountGetResponsePendingDowngradeUsageLimit
|
|
58
|
-
*/
|
|
59
|
-
sLACK?: number;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the AccountGetResponsePendingDowngradeUsageLimit interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfAccountGetResponsePendingDowngradeUsageLimit(value: object): value is AccountGetResponsePendingDowngradeUsageLimit;
|
|
65
|
-
export declare function AccountGetResponsePendingDowngradeUsageLimitFromJSON(json: any): AccountGetResponsePendingDowngradeUsageLimit;
|
|
66
|
-
export declare function AccountGetResponsePendingDowngradeUsageLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountGetResponsePendingDowngradeUsageLimit;
|
|
67
|
-
export declare function AccountGetResponsePendingDowngradeUsageLimitToJSON(json: any): AccountGetResponsePendingDowngradeUsageLimit;
|
|
68
|
-
export declare function AccountGetResponsePendingDowngradeUsageLimitToJSONTyped(value?: AccountGetResponsePendingDowngradeUsageLimit | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* NotificationAPI
|
|
6
|
-
* Internal API for notification delivery and management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAccountGetResponsePendingDowngradeUsageLimit = instanceOfAccountGetResponsePendingDowngradeUsageLimit;
|
|
17
|
-
exports.AccountGetResponsePendingDowngradeUsageLimitFromJSON = AccountGetResponsePendingDowngradeUsageLimitFromJSON;
|
|
18
|
-
exports.AccountGetResponsePendingDowngradeUsageLimitFromJSONTyped = AccountGetResponsePendingDowngradeUsageLimitFromJSONTyped;
|
|
19
|
-
exports.AccountGetResponsePendingDowngradeUsageLimitToJSON = AccountGetResponsePendingDowngradeUsageLimitToJSON;
|
|
20
|
-
exports.AccountGetResponsePendingDowngradeUsageLimitToJSONTyped = AccountGetResponsePendingDowngradeUsageLimitToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AccountGetResponsePendingDowngradeUsageLimit interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAccountGetResponsePendingDowngradeUsageLimit(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function AccountGetResponsePendingDowngradeUsageLimitFromJSON(json) {
|
|
28
|
-
return AccountGetResponsePendingDowngradeUsageLimitFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function AccountGetResponsePendingDowngradeUsageLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
eMAIL: json['EMAIL'] == null ? undefined : json['EMAIL'],
|
|
36
|
-
iNAPPWEB: json['INAPP_WEB'] == null ? undefined : json['INAPP_WEB'],
|
|
37
|
-
sMS: json['SMS'] == null ? undefined : json['SMS'],
|
|
38
|
-
cALL: json['CALL'] == null ? undefined : json['CALL'],
|
|
39
|
-
pUSH: json['PUSH'] == null ? undefined : json['PUSH'],
|
|
40
|
-
wEBPUSH: json['WEB_PUSH'] == null ? undefined : json['WEB_PUSH'],
|
|
41
|
-
sLACK: json['SLACK'] == null ? undefined : json['SLACK']
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function AccountGetResponsePendingDowngradeUsageLimitToJSON(json) {
|
|
45
|
-
return AccountGetResponsePendingDowngradeUsageLimitToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function AccountGetResponsePendingDowngradeUsageLimitToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
EMAIL: value['eMAIL'],
|
|
53
|
-
INAPP_WEB: value['iNAPPWEB'],
|
|
54
|
-
SMS: value['sMS'],
|
|
55
|
-
CALL: value['cALL'],
|
|
56
|
-
PUSH: value['pUSH'],
|
|
57
|
-
WEB_PUSH: value['wEBPUSH'],
|
|
58
|
-
SLACK: value['sLACK']
|
|
59
|
-
};
|
|
60
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NotificationAPI
|
|
3
|
-
* Internal API for notification delivery and management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Optional new usage limits to apply when downgrade takes effect
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
16
|
-
*/
|
|
17
|
-
export interface BillingPostResponseBodyPendingDowngradeUsageLimit {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
22
|
-
*/
|
|
23
|
-
eMAIL?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
28
|
-
*/
|
|
29
|
-
iNAPPWEB?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
34
|
-
*/
|
|
35
|
-
sMS?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
40
|
-
*/
|
|
41
|
-
cALL?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
46
|
-
*/
|
|
47
|
-
pUSH?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
52
|
-
*/
|
|
53
|
-
wEBPUSH?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof BillingPostResponseBodyPendingDowngradeUsageLimit
|
|
58
|
-
*/
|
|
59
|
-
sLACK?: number;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the BillingPostResponseBodyPendingDowngradeUsageLimit interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfBillingPostResponseBodyPendingDowngradeUsageLimit(value: object): value is BillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
65
|
-
export declare function BillingPostResponseBodyPendingDowngradeUsageLimitFromJSON(json: any): BillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
66
|
-
export declare function BillingPostResponseBodyPendingDowngradeUsageLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
67
|
-
export declare function BillingPostResponseBodyPendingDowngradeUsageLimitToJSON(json: any): BillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
68
|
-
export declare function BillingPostResponseBodyPendingDowngradeUsageLimitToJSONTyped(value?: BillingPostResponseBodyPendingDowngradeUsageLimit | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* NotificationAPI
|
|
6
|
-
* Internal API for notification delivery and management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfBillingPostResponseBodyPendingDowngradeUsageLimit = instanceOfBillingPostResponseBodyPendingDowngradeUsageLimit;
|
|
17
|
-
exports.BillingPostResponseBodyPendingDowngradeUsageLimitFromJSON = BillingPostResponseBodyPendingDowngradeUsageLimitFromJSON;
|
|
18
|
-
exports.BillingPostResponseBodyPendingDowngradeUsageLimitFromJSONTyped = BillingPostResponseBodyPendingDowngradeUsageLimitFromJSONTyped;
|
|
19
|
-
exports.BillingPostResponseBodyPendingDowngradeUsageLimitToJSON = BillingPostResponseBodyPendingDowngradeUsageLimitToJSON;
|
|
20
|
-
exports.BillingPostResponseBodyPendingDowngradeUsageLimitToJSONTyped = BillingPostResponseBodyPendingDowngradeUsageLimitToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the BillingPostResponseBodyPendingDowngradeUsageLimit interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfBillingPostResponseBodyPendingDowngradeUsageLimit(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function BillingPostResponseBodyPendingDowngradeUsageLimitFromJSON(json) {
|
|
28
|
-
return BillingPostResponseBodyPendingDowngradeUsageLimitFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function BillingPostResponseBodyPendingDowngradeUsageLimitFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
eMAIL: json['EMAIL'] == null ? undefined : json['EMAIL'],
|
|
36
|
-
iNAPPWEB: json['INAPP_WEB'] == null ? undefined : json['INAPP_WEB'],
|
|
37
|
-
sMS: json['SMS'] == null ? undefined : json['SMS'],
|
|
38
|
-
cALL: json['CALL'] == null ? undefined : json['CALL'],
|
|
39
|
-
pUSH: json['PUSH'] == null ? undefined : json['PUSH'],
|
|
40
|
-
wEBPUSH: json['WEB_PUSH'] == null ? undefined : json['WEB_PUSH'],
|
|
41
|
-
sLACK: json['SLACK'] == null ? undefined : json['SLACK']
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function BillingPostResponseBodyPendingDowngradeUsageLimitToJSON(json) {
|
|
45
|
-
return BillingPostResponseBodyPendingDowngradeUsageLimitToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function BillingPostResponseBodyPendingDowngradeUsageLimitToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
EMAIL: value['eMAIL'],
|
|
53
|
-
INAPP_WEB: value['iNAPPWEB'],
|
|
54
|
-
SMS: value['sMS'],
|
|
55
|
-
CALL: value['cALL'],
|
|
56
|
-
PUSH: value['pUSH'],
|
|
57
|
-
WEB_PUSH: value['wEBPUSH'],
|
|
58
|
-
SLACK: value['sLACK']
|
|
59
|
-
};
|
|
60
|
-
}
|