@l7mp/tivadar-ai-api-sdk 0.2.10 → 0.2.12
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/api-client.d.ts +46 -4
- package/dist/api-client.js +33 -3
- package/dist/apis/AdminSubscriptionsApi.d.ts +82 -0
- package/dist/apis/AdminSubscriptionsApi.js +243 -0
- package/dist/apis/CallFlagsApi.d.ts +133 -0
- package/dist/apis/CallFlagsApi.js +376 -0
- package/dist/apis/SubscriptionApi.d.ts +54 -75
- package/dist/apis/SubscriptionApi.js +95 -114
- package/dist/apis/VoiceUsageApi.d.ts +31 -0
- package/dist/apis/VoiceUsageApi.js +73 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/api-client.d.ts +46 -4
- package/dist/esm/api-client.js +33 -3
- package/dist/esm/apis/AdminSubscriptionsApi.d.ts +82 -0
- package/dist/esm/apis/AdminSubscriptionsApi.js +239 -0
- package/dist/esm/apis/CallFlagsApi.d.ts +133 -0
- package/dist/esm/apis/CallFlagsApi.js +372 -0
- package/dist/esm/apis/SubscriptionApi.d.ts +54 -75
- package/dist/esm/apis/SubscriptionApi.js +96 -115
- package/dist/esm/apis/VoiceUsageApi.d.ts +31 -0
- package/dist/esm/apis/VoiceUsageApi.js +69 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AdminGrantMinutesRequest.d.ts +38 -0
- package/dist/esm/models/AdminGrantMinutesRequest.js +45 -0
- package/dist/esm/models/AdminSetSubscriptionRequest.d.ts +86 -0
- package/dist/esm/models/AdminSetSubscriptionRequest.js +71 -0
- package/dist/esm/models/AdminSubscriptionsListResponse.d.ts +39 -0
- package/dist/esm/models/AdminSubscriptionsListResponse.js +48 -0
- package/dist/esm/models/BillingPortalRequest.d.ts +1 -1
- package/dist/esm/models/BillingPortalResponse.d.ts +1 -1
- package/dist/esm/models/Call.d.ts +7 -0
- package/dist/esm/models/Call.js +3 -0
- package/dist/esm/models/CallFlag.d.ts +110 -0
- package/dist/esm/models/CallFlag.js +89 -0
- package/dist/esm/models/CallFlagCreate.d.ts +48 -0
- package/dist/esm/models/CallFlagCreate.js +54 -0
- package/dist/esm/models/CallFlagResolve.d.ts +32 -0
- package/dist/esm/models/CallFlagResolve.js +41 -0
- package/dist/esm/models/CallFlagUpdate.d.ts +48 -0
- package/dist/esm/models/CallFlagUpdate.js +52 -0
- package/dist/esm/models/CallFlagWithCall.d.ts +117 -0
- package/dist/esm/models/CallFlagWithCall.js +92 -0
- package/dist/esm/models/CallFlagWithCallAllOfCall.d.ts +56 -0
- package/dist/esm/models/CallFlagWithCallAllOfCall.js +49 -0
- package/dist/esm/models/CancelSubscriptionRequest.d.ts +2 -2
- package/dist/esm/models/CheckoutSessionResponse.d.ts +2 -2
- package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +21 -7
- package/dist/esm/models/CreateCheckoutSessionRequest.js +18 -5
- package/dist/esm/models/CurrentPeriodUsage.d.ts +59 -0
- package/dist/esm/models/CurrentPeriodUsage.js +62 -0
- package/dist/esm/models/LifecycleResponse.d.ts +50 -0
- package/dist/esm/models/LifecycleResponse.js +51 -0
- package/dist/esm/models/PauseSubscriptionRequest.d.ts +1 -1
- package/dist/esm/models/PlanCatalogEntry.d.ts +90 -0
- package/dist/esm/models/PlanCatalogEntry.js +73 -0
- package/dist/esm/models/PlanCatalogEntryOverageInner.d.ts +44 -0
- package/dist/esm/models/PlanCatalogEntryOverageInner.js +45 -0
- package/dist/esm/models/PlanCatalogPrice.d.ts +58 -0
- package/dist/esm/models/PlanCatalogPrice.js +60 -0
- package/dist/esm/models/SubscriptionPlanSummary.d.ts +83 -0
- package/dist/esm/models/SubscriptionPlanSummary.js +70 -0
- package/dist/esm/models/SubscriptionPlanSummaryOverageRate.d.ts +38 -0
- package/dist/esm/models/SubscriptionPlanSummaryOverageRate.js +43 -0
- package/dist/esm/models/SubscriptionStatus.d.ts +103 -10
- package/dist/esm/models/SubscriptionStatus.js +58 -9
- package/dist/esm/models/SubscriptionUsageSummary.d.ts +56 -0
- package/dist/esm/models/SubscriptionUsageSummary.js +57 -0
- package/dist/esm/models/UpdatePlanRequest.d.ts +13 -5
- package/dist/esm/models/UpdatePlanRequest.js +12 -3
- package/dist/esm/models/UsageBreakdownByAgent.d.ts +44 -0
- package/dist/esm/models/UsageBreakdownByAgent.js +49 -0
- package/dist/esm/models/UsageBreakdownByDay.d.ts +44 -0
- package/dist/esm/models/UsageBreakdownByDay.js +51 -0
- package/dist/esm/models/UsageHistoryResponse.d.ts +39 -0
- package/dist/esm/models/UsageHistoryResponse.js +48 -0
- package/dist/esm/models/UsageRecordDto.d.ts +80 -0
- package/dist/esm/models/UsageRecordDto.js +65 -0
- package/dist/esm/models/VoiceUsageReportRequest.d.ts +62 -0
- package/dist/esm/models/VoiceUsageReportRequest.js +57 -0
- package/dist/esm/models/VoiceUsageReportResponse.d.ts +51 -0
- package/dist/esm/models/VoiceUsageReportResponse.js +52 -0
- package/dist/esm/models/index.d.ts +23 -13
- package/dist/esm/models/index.js +23 -13
- package/dist/models/AdminGrantMinutesRequest.d.ts +38 -0
- package/dist/models/AdminGrantMinutesRequest.js +52 -0
- package/dist/models/AdminSetSubscriptionRequest.d.ts +86 -0
- package/dist/models/AdminSetSubscriptionRequest.js +79 -0
- package/dist/models/AdminSubscriptionsListResponse.d.ts +39 -0
- package/dist/models/AdminSubscriptionsListResponse.js +55 -0
- package/dist/models/BillingPortalRequest.d.ts +1 -1
- package/dist/models/BillingPortalResponse.d.ts +1 -1
- package/dist/models/Call.d.ts +7 -0
- package/dist/models/Call.js +3 -0
- package/dist/models/CallFlag.d.ts +110 -0
- package/dist/models/CallFlag.js +97 -0
- package/dist/models/CallFlagCreate.d.ts +48 -0
- package/dist/models/CallFlagCreate.js +62 -0
- package/dist/models/CallFlagResolve.d.ts +32 -0
- package/dist/models/CallFlagResolve.js +48 -0
- package/dist/models/CallFlagUpdate.d.ts +48 -0
- package/dist/models/CallFlagUpdate.js +60 -0
- package/dist/models/CallFlagWithCall.d.ts +117 -0
- package/dist/models/CallFlagWithCall.js +100 -0
- package/dist/models/CallFlagWithCallAllOfCall.d.ts +56 -0
- package/dist/models/CallFlagWithCallAllOfCall.js +56 -0
- package/dist/models/CancelSubscriptionRequest.d.ts +2 -2
- package/dist/models/CheckoutSessionResponse.d.ts +2 -2
- package/dist/models/CreateCheckoutSessionRequest.d.ts +21 -7
- package/dist/models/CreateCheckoutSessionRequest.js +19 -5
- package/dist/models/CurrentPeriodUsage.d.ts +59 -0
- package/dist/models/CurrentPeriodUsage.js +69 -0
- package/dist/models/LifecycleResponse.d.ts +50 -0
- package/dist/models/LifecycleResponse.js +58 -0
- package/dist/models/PauseSubscriptionRequest.d.ts +1 -1
- package/dist/models/PlanCatalogEntry.d.ts +90 -0
- package/dist/models/PlanCatalogEntry.js +80 -0
- package/dist/models/PlanCatalogEntryOverageInner.d.ts +44 -0
- package/dist/models/PlanCatalogEntryOverageInner.js +52 -0
- package/dist/models/PlanCatalogPrice.d.ts +58 -0
- package/dist/models/PlanCatalogPrice.js +68 -0
- package/dist/models/SubscriptionPlanSummary.d.ts +83 -0
- package/dist/models/SubscriptionPlanSummary.js +77 -0
- package/dist/models/SubscriptionPlanSummaryOverageRate.d.ts +38 -0
- package/dist/models/SubscriptionPlanSummaryOverageRate.js +50 -0
- package/dist/models/SubscriptionStatus.d.ts +103 -10
- package/dist/models/SubscriptionStatus.js +59 -9
- package/dist/models/SubscriptionUsageSummary.d.ts +56 -0
- package/dist/models/SubscriptionUsageSummary.js +64 -0
- package/dist/models/UpdatePlanRequest.d.ts +13 -5
- package/dist/models/UpdatePlanRequest.js +13 -3
- package/dist/models/UsageBreakdownByAgent.d.ts +44 -0
- package/dist/models/UsageBreakdownByAgent.js +56 -0
- package/dist/models/UsageBreakdownByDay.d.ts +44 -0
- package/dist/models/UsageBreakdownByDay.js +58 -0
- package/dist/models/UsageHistoryResponse.d.ts +39 -0
- package/dist/models/UsageHistoryResponse.js +55 -0
- package/dist/models/UsageRecordDto.d.ts +80 -0
- package/dist/models/UsageRecordDto.js +72 -0
- package/dist/models/VoiceUsageReportRequest.d.ts +62 -0
- package/dist/models/VoiceUsageReportRequest.js +64 -0
- package/dist/models/VoiceUsageReportResponse.d.ts +51 -0
- package/dist/models/VoiceUsageReportResponse.js +59 -0
- package/dist/models/index.d.ts +23 -13
- package/dist/models/index.js +23 -13
- package/package.json +1 -1
- package/src/api-client.ts +71 -6
- package/src/apis/AdminSubscriptionsApi.ts +331 -0
- package/src/apis/CallFlagsApi.ts +546 -0
- package/src/apis/SubscriptionApi.ts +130 -162
- package/src/apis/VoiceUsageApi.ts +86 -0
- package/src/apis/index.ts +3 -0
- package/src/models/AdminGrantMinutesRequest.ts +74 -0
- package/src/models/AdminSetSubscriptionRequest.ts +136 -0
- package/src/models/AdminSubscriptionsListResponse.ts +83 -0
- package/src/models/BillingPortalRequest.ts +1 -1
- package/src/models/BillingPortalResponse.ts +1 -1
- package/src/models/Call.ts +16 -0
- package/src/models/CallFlag.ts +173 -0
- package/src/models/CallFlagCreate.ts +87 -0
- package/src/models/CallFlagResolve.ts +65 -0
- package/src/models/CallFlagUpdate.ts +86 -0
- package/src/models/CallFlagWithCall.ts +189 -0
- package/src/models/CallFlagWithCallAllOfCall.ts +97 -0
- package/src/models/CancelSubscriptionRequest.ts +2 -2
- package/src/models/CheckoutSessionResponse.ts +2 -2
- package/src/models/CreateCheckoutSessionRequest.ts +33 -12
- package/src/models/CurrentPeriodUsage.ts +124 -0
- package/src/models/LifecycleResponse.ts +91 -0
- package/src/models/PauseSubscriptionRequest.ts +1 -1
- package/src/models/PlanCatalogEntry.ts +158 -0
- package/src/models/PlanCatalogEntryOverageInner.ts +81 -0
- package/src/models/PlanCatalogPrice.ts +103 -0
- package/src/models/SubscriptionPlanSummary.ts +143 -0
- package/src/models/SubscriptionPlanSummaryOverageRate.ts +73 -0
- package/src/models/SubscriptionStatus.ts +150 -32
- package/src/models/SubscriptionUsageSummary.ts +101 -0
- package/src/models/UpdatePlanRequest.ts +20 -8
- package/src/models/UsageBreakdownByAgent.ts +83 -0
- package/src/models/UsageBreakdownByDay.ts +84 -0
- package/src/models/UsageHistoryResponse.ts +83 -0
- package/src/models/UsageRecordDto.ts +133 -0
- package/src/models/VoiceUsageReportRequest.ts +108 -0
- package/src/models/VoiceUsageReportResponse.ts +99 -0
- package/src/models/index.ts +23 -13
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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
|
+
import type { UsageBreakdownByDay } from './UsageBreakdownByDay';
|
|
13
|
+
import type { SubscriptionUsageSummary } from './SubscriptionUsageSummary';
|
|
14
|
+
import type { UsageBreakdownByAgent } from './UsageBreakdownByAgent';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CurrentPeriodUsage
|
|
19
|
+
*/
|
|
20
|
+
export interface CurrentPeriodUsage {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Date}
|
|
24
|
+
* @memberof CurrentPeriodUsage
|
|
25
|
+
*/
|
|
26
|
+
periodStart: Date | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Date}
|
|
30
|
+
* @memberof CurrentPeriodUsage
|
|
31
|
+
*/
|
|
32
|
+
periodEnd: Date | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {SubscriptionUsageSummary}
|
|
36
|
+
* @memberof CurrentPeriodUsage
|
|
37
|
+
*/
|
|
38
|
+
usage: SubscriptionUsageSummary;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<UsageBreakdownByDay>}
|
|
42
|
+
* @memberof CurrentPeriodUsage
|
|
43
|
+
*/
|
|
44
|
+
byDay: Array<UsageBreakdownByDay>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<UsageBreakdownByAgent>}
|
|
48
|
+
* @memberof CurrentPeriodUsage
|
|
49
|
+
*/
|
|
50
|
+
byAgent: Array<UsageBreakdownByAgent>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the CurrentPeriodUsage interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfCurrentPeriodUsage(value: object): value is CurrentPeriodUsage;
|
|
56
|
+
export declare function CurrentPeriodUsageFromJSON(json: any): CurrentPeriodUsage;
|
|
57
|
+
export declare function CurrentPeriodUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentPeriodUsage;
|
|
58
|
+
export declare function CurrentPeriodUsageToJSON(json: any): CurrentPeriodUsage;
|
|
59
|
+
export declare function CurrentPeriodUsageToJSONTyped(value?: CurrentPeriodUsage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { UsageBreakdownByDayFromJSON, UsageBreakdownByDayToJSON, } from './UsageBreakdownByDay';
|
|
15
|
+
import { SubscriptionUsageSummaryFromJSON, SubscriptionUsageSummaryToJSON, } from './SubscriptionUsageSummary';
|
|
16
|
+
import { UsageBreakdownByAgentFromJSON, UsageBreakdownByAgentToJSON, } from './UsageBreakdownByAgent';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CurrentPeriodUsage interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfCurrentPeriodUsage(value) {
|
|
21
|
+
if (!('periodStart' in value) || value['periodStart'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('periodEnd' in value) || value['periodEnd'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('usage' in value) || value['usage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('byDay' in value) || value['byDay'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('byAgent' in value) || value['byAgent'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function CurrentPeriodUsageFromJSON(json) {
|
|
34
|
+
return CurrentPeriodUsageFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CurrentPeriodUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'periodStart': (json['periodStart'] == null ? null : new Date(json['periodStart'])),
|
|
42
|
+
'periodEnd': (json['periodEnd'] == null ? null : new Date(json['periodEnd'])),
|
|
43
|
+
'usage': SubscriptionUsageSummaryFromJSON(json['usage']),
|
|
44
|
+
'byDay': (json['byDay'].map(UsageBreakdownByDayFromJSON)),
|
|
45
|
+
'byAgent': (json['byAgent'].map(UsageBreakdownByAgentFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function CurrentPeriodUsageToJSON(json) {
|
|
49
|
+
return CurrentPeriodUsageToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function CurrentPeriodUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'periodStart': value['periodStart'] == null ? value['periodStart'] : value['periodStart'].toISOString(),
|
|
57
|
+
'periodEnd': value['periodEnd'] == null ? value['periodEnd'] : value['periodEnd'].toISOString(),
|
|
58
|
+
'usage': SubscriptionUsageSummaryToJSON(value['usage']),
|
|
59
|
+
'byDay': (value['byDay'].map(UsageBreakdownByDayToJSON)),
|
|
60
|
+
'byAgent': (value['byAgent'].map(UsageBreakdownByAgentToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 LifecycleResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface LifecycleResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LifecycleResponse
|
|
22
|
+
*/
|
|
23
|
+
subscriptionId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LifecycleResponse
|
|
28
|
+
*/
|
|
29
|
+
status: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LifecycleResponse
|
|
34
|
+
*/
|
|
35
|
+
cancelAtPeriodEnd?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof LifecycleResponse
|
|
40
|
+
*/
|
|
41
|
+
currentPeriodEnd?: Date | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the LifecycleResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfLifecycleResponse(value: object): value is LifecycleResponse;
|
|
47
|
+
export declare function LifecycleResponseFromJSON(json: any): LifecycleResponse;
|
|
48
|
+
export declare function LifecycleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LifecycleResponse;
|
|
49
|
+
export declare function LifecycleResponseToJSON(json: any): LifecycleResponse;
|
|
50
|
+
export declare function LifecycleResponseToJSONTyped(value?: LifecycleResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the LifecycleResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfLifecycleResponse(value) {
|
|
18
|
+
if (!('subscriptionId' in value) || value['subscriptionId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function LifecycleResponseFromJSON(json) {
|
|
25
|
+
return LifecycleResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function LifecycleResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'subscriptionId': json['subscriptionId'],
|
|
33
|
+
'status': json['status'],
|
|
34
|
+
'cancelAtPeriodEnd': json['cancelAtPeriodEnd'] == null ? undefined : json['cancelAtPeriodEnd'],
|
|
35
|
+
'currentPeriodEnd': json['currentPeriodEnd'] == null ? undefined : (new Date(json['currentPeriodEnd'])),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function LifecycleResponseToJSON(json) {
|
|
39
|
+
return LifecycleResponseToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function LifecycleResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'subscriptionId': value['subscriptionId'],
|
|
47
|
+
'status': value['status'],
|
|
48
|
+
'cancelAtPeriodEnd': value['cancelAtPeriodEnd'],
|
|
49
|
+
'currentPeriodEnd': value['currentPeriodEnd'] == null ? value['currentPeriodEnd'] : value['currentPeriodEnd'].toISOString(),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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
|
+
import type { PlanCatalogPrice } from './PlanCatalogPrice';
|
|
13
|
+
import type { PlanCatalogEntryOverageInner } from './PlanCatalogEntryOverageInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PlanCatalogEntry
|
|
18
|
+
*/
|
|
19
|
+
export interface PlanCatalogEntry {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PlanCatalogEntry
|
|
24
|
+
*/
|
|
25
|
+
slug: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PlanCatalogEntry
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PlanCatalogEntry
|
|
36
|
+
*/
|
|
37
|
+
description?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PlanCatalogEntry
|
|
42
|
+
*/
|
|
43
|
+
rank: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof PlanCatalogEntry
|
|
48
|
+
*/
|
|
49
|
+
hasStripeProduct?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof PlanCatalogEntry
|
|
54
|
+
*/
|
|
55
|
+
includedVoiceMinutes: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof PlanCatalogEntry
|
|
60
|
+
*/
|
|
61
|
+
features?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {{ [key: string]: number | null; }}
|
|
65
|
+
* @memberof PlanCatalogEntry
|
|
66
|
+
*/
|
|
67
|
+
limits?: {
|
|
68
|
+
[key: string]: number | null;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Array<PlanCatalogPrice>}
|
|
73
|
+
* @memberof PlanCatalogEntry
|
|
74
|
+
*/
|
|
75
|
+
prices: Array<PlanCatalogPrice>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Array<PlanCatalogEntryOverageInner>}
|
|
79
|
+
* @memberof PlanCatalogEntry
|
|
80
|
+
*/
|
|
81
|
+
overage: Array<PlanCatalogEntryOverageInner>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the PlanCatalogEntry interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfPlanCatalogEntry(value: object): value is PlanCatalogEntry;
|
|
87
|
+
export declare function PlanCatalogEntryFromJSON(json: any): PlanCatalogEntry;
|
|
88
|
+
export declare function PlanCatalogEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanCatalogEntry;
|
|
89
|
+
export declare function PlanCatalogEntryToJSON(json: any): PlanCatalogEntry;
|
|
90
|
+
export declare function PlanCatalogEntryToJSONTyped(value?: PlanCatalogEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { PlanCatalogPriceFromJSON, PlanCatalogPriceToJSON, } from './PlanCatalogPrice';
|
|
15
|
+
import { PlanCatalogEntryOverageInnerFromJSON, PlanCatalogEntryOverageInnerToJSON, } from './PlanCatalogEntryOverageInner';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PlanCatalogEntry interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPlanCatalogEntry(value) {
|
|
20
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('rank' in value) || value['rank'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('includedVoiceMinutes' in value) || value['includedVoiceMinutes'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('prices' in value) || value['prices'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('overage' in value) || value['overage'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function PlanCatalogEntryFromJSON(json) {
|
|
35
|
+
return PlanCatalogEntryFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PlanCatalogEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'slug': json['slug'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
45
|
+
'rank': json['rank'],
|
|
46
|
+
'hasStripeProduct': json['hasStripeProduct'] == null ? undefined : json['hasStripeProduct'],
|
|
47
|
+
'includedVoiceMinutes': json['includedVoiceMinutes'],
|
|
48
|
+
'features': json['features'] == null ? undefined : json['features'],
|
|
49
|
+
'limits': json['limits'] == null ? undefined : json['limits'],
|
|
50
|
+
'prices': (json['prices'].map(PlanCatalogPriceFromJSON)),
|
|
51
|
+
'overage': (json['overage'].map(PlanCatalogEntryOverageInnerFromJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function PlanCatalogEntryToJSON(json) {
|
|
55
|
+
return PlanCatalogEntryToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function PlanCatalogEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'slug': value['slug'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'description': value['description'],
|
|
65
|
+
'rank': value['rank'],
|
|
66
|
+
'hasStripeProduct': value['hasStripeProduct'],
|
|
67
|
+
'includedVoiceMinutes': value['includedVoiceMinutes'],
|
|
68
|
+
'features': value['features'],
|
|
69
|
+
'limits': value['limits'],
|
|
70
|
+
'prices': (value['prices'].map(PlanCatalogPriceToJSON)),
|
|
71
|
+
'overage': (value['overage'].map(PlanCatalogEntryOverageInnerToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 PlanCatalogEntryOverageInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PlanCatalogEntryOverageInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PlanCatalogEntryOverageInner
|
|
22
|
+
*/
|
|
23
|
+
currency?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PlanCatalogEntryOverageInner
|
|
28
|
+
*/
|
|
29
|
+
priceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PlanCatalogEntryOverageInner
|
|
34
|
+
*/
|
|
35
|
+
unitAmountDecimal?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PlanCatalogEntryOverageInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPlanCatalogEntryOverageInner(value: object): value is PlanCatalogEntryOverageInner;
|
|
41
|
+
export declare function PlanCatalogEntryOverageInnerFromJSON(json: any): PlanCatalogEntryOverageInner;
|
|
42
|
+
export declare function PlanCatalogEntryOverageInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanCatalogEntryOverageInner;
|
|
43
|
+
export declare function PlanCatalogEntryOverageInnerToJSON(json: any): PlanCatalogEntryOverageInner;
|
|
44
|
+
export declare function PlanCatalogEntryOverageInnerToJSONTyped(value?: PlanCatalogEntryOverageInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the PlanCatalogEntryOverageInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPlanCatalogEntryOverageInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PlanCatalogEntryOverageInnerFromJSON(json) {
|
|
21
|
+
return PlanCatalogEntryOverageInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PlanCatalogEntryOverageInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
29
|
+
'priceId': json['priceId'] == null ? undefined : json['priceId'],
|
|
30
|
+
'unitAmountDecimal': json['unitAmountDecimal'] == null ? undefined : json['unitAmountDecimal'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PlanCatalogEntryOverageInnerToJSON(json) {
|
|
34
|
+
return PlanCatalogEntryOverageInnerToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PlanCatalogEntryOverageInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'currency': value['currency'],
|
|
42
|
+
'priceId': value['priceId'],
|
|
43
|
+
'unitAmountDecimal': value['unitAmountDecimal'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 PlanCatalogPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface PlanCatalogPrice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PlanCatalogPrice
|
|
22
|
+
*/
|
|
23
|
+
interval: PlanCatalogPriceIntervalEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PlanCatalogPrice
|
|
28
|
+
*/
|
|
29
|
+
currency: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PlanCatalogPrice
|
|
34
|
+
*/
|
|
35
|
+
priceId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PlanCatalogPrice
|
|
40
|
+
*/
|
|
41
|
+
unitAmount?: number | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PlanCatalogPriceIntervalEnum: {
|
|
47
|
+
readonly Monthly: "monthly";
|
|
48
|
+
readonly Yearly: "yearly";
|
|
49
|
+
};
|
|
50
|
+
export type PlanCatalogPriceIntervalEnum = typeof PlanCatalogPriceIntervalEnum[keyof typeof PlanCatalogPriceIntervalEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the PlanCatalogPrice interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfPlanCatalogPrice(value: object): value is PlanCatalogPrice;
|
|
55
|
+
export declare function PlanCatalogPriceFromJSON(json: any): PlanCatalogPrice;
|
|
56
|
+
export declare function PlanCatalogPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlanCatalogPrice;
|
|
57
|
+
export declare function PlanCatalogPriceToJSON(json: any): PlanCatalogPrice;
|
|
58
|
+
export declare function PlanCatalogPriceToJSONTyped(value?: PlanCatalogPrice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PlanCatalogPriceIntervalEnum = {
|
|
18
|
+
Monthly: 'monthly',
|
|
19
|
+
Yearly: 'yearly'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PlanCatalogPrice interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfPlanCatalogPrice(value) {
|
|
25
|
+
if (!('interval' in value) || value['interval'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('priceId' in value) || value['priceId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function PlanCatalogPriceFromJSON(json) {
|
|
34
|
+
return PlanCatalogPriceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PlanCatalogPriceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'interval': json['interval'],
|
|
42
|
+
'currency': json['currency'],
|
|
43
|
+
'priceId': json['priceId'],
|
|
44
|
+
'unitAmount': json['unitAmount'] == null ? undefined : json['unitAmount'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function PlanCatalogPriceToJSON(json) {
|
|
48
|
+
return PlanCatalogPriceToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function PlanCatalogPriceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'interval': value['interval'],
|
|
56
|
+
'currency': value['currency'],
|
|
57
|
+
'priceId': value['priceId'],
|
|
58
|
+
'unitAmount': value['unitAmount'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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
|
+
import type { SubscriptionPlanSummaryOverageRate } from './SubscriptionPlanSummaryOverageRate';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SubscriptionPlanSummary
|
|
17
|
+
*/
|
|
18
|
+
export interface SubscriptionPlanSummary {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SubscriptionPlanSummary
|
|
23
|
+
*/
|
|
24
|
+
slug: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SubscriptionPlanSummary
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubscriptionPlanSummary
|
|
35
|
+
*/
|
|
36
|
+
description?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof SubscriptionPlanSummary
|
|
41
|
+
*/
|
|
42
|
+
rank: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof SubscriptionPlanSummary
|
|
47
|
+
*/
|
|
48
|
+
hasStripeProduct?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Voice minutes included per billing period before overage.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof SubscriptionPlanSummary
|
|
53
|
+
*/
|
|
54
|
+
includedVoiceMinutes: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof SubscriptionPlanSummary
|
|
59
|
+
*/
|
|
60
|
+
features: Array<string>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: number | null; }}
|
|
64
|
+
* @memberof SubscriptionPlanSummary
|
|
65
|
+
*/
|
|
66
|
+
limits: {
|
|
67
|
+
[key: string]: number | null;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {SubscriptionPlanSummaryOverageRate}
|
|
72
|
+
* @memberof SubscriptionPlanSummary
|
|
73
|
+
*/
|
|
74
|
+
overageRate?: SubscriptionPlanSummaryOverageRate | null;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the SubscriptionPlanSummary interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfSubscriptionPlanSummary(value: object): value is SubscriptionPlanSummary;
|
|
80
|
+
export declare function SubscriptionPlanSummaryFromJSON(json: any): SubscriptionPlanSummary;
|
|
81
|
+
export declare function SubscriptionPlanSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPlanSummary;
|
|
82
|
+
export declare function SubscriptionPlanSummaryToJSON(json: any): SubscriptionPlanSummary;
|
|
83
|
+
export declare function SubscriptionPlanSummaryToJSONTyped(value?: SubscriptionPlanSummary | null, ignoreDiscriminator?: boolean): any;
|