@managespace/sdk 0.1.120 → 0.1.122
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/extensibility/functions/extensibility-function.d.ts +19 -4
- package/dist/extensibility/functions/extensibility-function.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.d.ts +1 -11
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +0 -10
- package/dist/extensibility/types/step-function-signature.d.ts +6 -2
- package/dist/extensibility/types/step-function-signature.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +1 -21
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +0 -64
- package/dist/generated/models/create-payment.d.ts +0 -12
- package/dist/generated/models/create-payment.d.ts.map +1 -1
- package/dist/generated/models/create-payment.js +0 -4
- package/dist/generated/models/create-product-custom.d.ts +6 -0
- package/dist/generated/models/create-product-custom.d.ts.map +1 -1
- package/dist/generated/models/create-product-custom.js +4 -0
- package/dist/generated/models/get-payments-query.d.ts +0 -12
- package/dist/generated/models/get-payments-query.d.ts.map +1 -1
- package/dist/generated/models/get-payments-query.js +0 -4
- package/dist/generated/models/index.d.ts +0 -4
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +0 -4
- package/dist/generated/models/payment.d.ts +0 -12
- package/dist/generated/models/payment.d.ts.map +1 -1
- package/dist/generated/models/payment.js +0 -4
- package/dist/generated/models/product-custom.d.ts +6 -0
- package/dist/generated/models/product-custom.d.ts.map +1 -1
- package/dist/generated/models/product-custom.js +4 -0
- package/dist/generated/models/update-payment.d.ts +0 -12
- package/dist/generated/models/update-payment.d.ts.map +1 -1
- package/dist/generated/models/update-payment.js +0 -4
- package/dist/generated/models/update-product.d.ts +6 -0
- package/dist/generated/models/update-product.d.ts.map +1 -1
- package/dist/generated/models/update-product.js +4 -0
- package/package.deploy.json +5 -2
- package/package.json +5 -2
- package/src/extensibility/functions/extensibility-function.ts +18 -3
- package/src/extensibility/functions/project/billing.ts +1 -12
- package/src/extensibility/types/step-function-signature.ts +6 -2
- package/src/generated/.openapi-generator/FILES +0 -4
- package/src/generated/apis/default-api.ts +0 -99
- package/src/generated/models/create-payment.ts +0 -16
- package/src/generated/models/create-product-custom.ts +9 -0
- package/src/generated/models/get-payments-query.ts +0 -16
- package/src/generated/models/index.ts +0 -4
- package/src/generated/models/payment.ts +0 -16
- package/src/generated/models/product-custom.ts +9 -0
- package/src/generated/models/update-payment.ts +0 -16
- package/src/generated/models/update-product.ts +9 -0
- package/dist/extensibility/types/extensibility-function-api.d.ts +0 -10
- package/dist/extensibility/types/extensibility-function-api.d.ts.map +0 -1
- package/dist/extensibility/types/extensibility-function-api.js +0 -2
- package/dist/extensibility/types/extensibility-function-signature.d.ts +0 -5
- package/dist/extensibility/types/extensibility-function-signature.d.ts.map +0 -1
- package/dist/extensibility/types/extensibility-function-signature.js +0 -2
- package/dist/extensibility/types/step-function-api.d.ts +0 -7
- package/dist/extensibility/types/step-function-api.d.ts.map +0 -1
- package/dist/extensibility/types/step-function-api.js +0 -2
- package/dist/generated/models/billing-schedule.d.ts +0 -149
- package/dist/generated/models/billing-schedule.d.ts.map +0 -1
- package/dist/generated/models/billing-schedule.js +0 -129
- package/dist/generated/models/get-billing-schedules200-response.d.ts +0 -41
- package/dist/generated/models/get-billing-schedules200-response.d.ts.map +0 -1
- package/dist/generated/models/get-billing-schedules200-response.js +0 -55
- package/dist/generated/models/key-metrics.d.ts +0 -51
- package/dist/generated/models/key-metrics.d.ts.map +0 -1
- package/dist/generated/models/key-metrics.js +0 -63
- package/dist/generated/models/schedule-line.d.ts +0 -154
- package/dist/generated/models/schedule-line.d.ts.map +0 -1
- package/dist/generated/models/schedule-line.js +0 -132
- package/src/extensibility/types/extensibility-function-api.ts +0 -10
- package/src/extensibility/types/extensibility-function-signature.ts +0 -16
- package/src/extensibility/types/step-function-api.ts +0 -7
- package/src/generated/models/billing-schedule.ts +0 -252
- package/src/generated/models/get-billing-schedules200-response.ts +0 -89
- package/src/generated/models/key-metrics.ts +0 -93
- package/src/generated/models/schedule-line.ts +0 -256
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
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.BillingScheduleToJSONTyped = exports.BillingScheduleToJSON = exports.BillingScheduleFromJSONTyped = exports.BillingScheduleFromJSON = exports.instanceOfBillingSchedule = void 0;
|
|
17
|
-
const key_metrics_1 = require("./key-metrics");
|
|
18
|
-
const schedule_line_1 = require("./schedule-line");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the BillingSchedule interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfBillingSchedule(value) {
|
|
23
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('customerName' in value) || value['customerName'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('subscriptionId' in value) || value['subscriptionId'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('productId' in value) || value['productId'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('productName' in value) || value['productName'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('chargeId' in value) || value['chargeId'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('chargeName' in value) || value['chargeName'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('chargeType' in value) || value['chargeType'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
if (!('chargeTiming' in value) || value['chargeTiming'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
46
|
-
return false;
|
|
47
|
-
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
48
|
-
return false;
|
|
49
|
-
if (!('keyMetrics' in value) || value['keyMetrics'] === undefined)
|
|
50
|
-
return false;
|
|
51
|
-
if (!('currency' in value) || value['currency'] === undefined)
|
|
52
|
-
return false;
|
|
53
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
54
|
-
return false;
|
|
55
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
56
|
-
return false;
|
|
57
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
58
|
-
return false;
|
|
59
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
60
|
-
return false;
|
|
61
|
-
if (!('scheduleLines' in value) || value['scheduleLines'] === undefined)
|
|
62
|
-
return false;
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
exports.instanceOfBillingSchedule = instanceOfBillingSchedule;
|
|
66
|
-
function BillingScheduleFromJSON(json) {
|
|
67
|
-
return BillingScheduleFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
exports.BillingScheduleFromJSON = BillingScheduleFromJSON;
|
|
70
|
-
function BillingScheduleFromJSONTyped(json, ignoreDiscriminator) {
|
|
71
|
-
if (json == null) {
|
|
72
|
-
return json;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
'id': json['id'],
|
|
76
|
-
'uuid': json['uuid'],
|
|
77
|
-
'customerId': json['customerId'],
|
|
78
|
-
'customerName': json['customerName'],
|
|
79
|
-
'subscriptionId': json['subscriptionId'],
|
|
80
|
-
'productId': json['productId'],
|
|
81
|
-
'productName': json['productName'],
|
|
82
|
-
'chargeId': json['chargeId'],
|
|
83
|
-
'chargeName': json['chargeName'],
|
|
84
|
-
'chargeType': json['chargeType'],
|
|
85
|
-
'chargeTiming': json['chargeTiming'],
|
|
86
|
-
'startDate': json['startDate'],
|
|
87
|
-
'endDate': json['endDate'],
|
|
88
|
-
'keyMetrics': (0, key_metrics_1.KeyMetricsFromJSON)(json['keyMetrics']),
|
|
89
|
-
'currency': json['currency'],
|
|
90
|
-
'createdAt': json['createdAt'],
|
|
91
|
-
'updatedAt': json['updatedAt'],
|
|
92
|
-
'createdBy': json['createdBy'],
|
|
93
|
-
'updatedBy': json['updatedBy'],
|
|
94
|
-
'scheduleLines': (json['scheduleLines'].map(schedule_line_1.ScheduleLineFromJSON)),
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
exports.BillingScheduleFromJSONTyped = BillingScheduleFromJSONTyped;
|
|
98
|
-
function BillingScheduleToJSON(json) {
|
|
99
|
-
return BillingScheduleToJSONTyped(json, false);
|
|
100
|
-
}
|
|
101
|
-
exports.BillingScheduleToJSON = BillingScheduleToJSON;
|
|
102
|
-
function BillingScheduleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
103
|
-
if (value == null) {
|
|
104
|
-
return value;
|
|
105
|
-
}
|
|
106
|
-
return {
|
|
107
|
-
'id': value['id'],
|
|
108
|
-
'uuid': value['uuid'],
|
|
109
|
-
'customerId': value['customerId'],
|
|
110
|
-
'customerName': value['customerName'],
|
|
111
|
-
'subscriptionId': value['subscriptionId'],
|
|
112
|
-
'productId': value['productId'],
|
|
113
|
-
'productName': value['productName'],
|
|
114
|
-
'chargeId': value['chargeId'],
|
|
115
|
-
'chargeName': value['chargeName'],
|
|
116
|
-
'chargeType': value['chargeType'],
|
|
117
|
-
'chargeTiming': value['chargeTiming'],
|
|
118
|
-
'startDate': value['startDate'],
|
|
119
|
-
'endDate': value['endDate'],
|
|
120
|
-
'keyMetrics': (0, key_metrics_1.KeyMetricsToJSON)(value['keyMetrics']),
|
|
121
|
-
'currency': value['currency'],
|
|
122
|
-
'createdAt': value['createdAt'],
|
|
123
|
-
'updatedAt': value['updatedAt'],
|
|
124
|
-
'createdBy': value['createdBy'],
|
|
125
|
-
'updatedBy': value['updatedBy'],
|
|
126
|
-
'scheduleLines': (value['scheduleLines'].map(schedule_line_1.ScheduleLineToJSON)),
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
exports.BillingScheduleToJSONTyped = BillingScheduleToJSONTyped;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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 { BillingSchedule } from './billing-schedule';
|
|
13
|
-
import type { PageMeta } from './page-meta';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetBillingSchedules200Response
|
|
18
|
-
*/
|
|
19
|
-
export interface GetBillingSchedules200Response {
|
|
20
|
-
/**
|
|
21
|
-
* The pagination metadata
|
|
22
|
-
* @type {PageMeta}
|
|
23
|
-
* @memberof GetBillingSchedules200Response
|
|
24
|
-
*/
|
|
25
|
-
pageMeta: PageMeta;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<BillingSchedule>}
|
|
29
|
-
* @memberof GetBillingSchedules200Response
|
|
30
|
-
*/
|
|
31
|
-
results?: Array<BillingSchedule>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the GetBillingSchedules200Response interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfGetBillingSchedules200Response(value: object): value is GetBillingSchedules200Response;
|
|
37
|
-
export declare function GetBillingSchedules200ResponseFromJSON(json: any): GetBillingSchedules200Response;
|
|
38
|
-
export declare function GetBillingSchedules200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetBillingSchedules200Response;
|
|
39
|
-
export declare function GetBillingSchedules200ResponseToJSON(json: any): GetBillingSchedules200Response;
|
|
40
|
-
export declare function GetBillingSchedules200ResponseToJSONTyped(value?: GetBillingSchedules200Response | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
-
//# sourceMappingURL=get-billing-schedules200-response.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-billing-schedules200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-billing-schedules200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAQ5C;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAG/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CASnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlJ"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
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.GetBillingSchedules200ResponseToJSONTyped = exports.GetBillingSchedules200ResponseToJSON = exports.GetBillingSchedules200ResponseFromJSONTyped = exports.GetBillingSchedules200ResponseFromJSON = exports.instanceOfGetBillingSchedules200Response = void 0;
|
|
17
|
-
const billing_schedule_1 = require("./billing-schedule");
|
|
18
|
-
const page_meta_1 = require("./page-meta");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the GetBillingSchedules200Response interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfGetBillingSchedules200Response(value) {
|
|
23
|
-
if (!('pageMeta' in value) || value['pageMeta'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfGetBillingSchedules200Response = instanceOfGetBillingSchedules200Response;
|
|
28
|
-
function GetBillingSchedules200ResponseFromJSON(json) {
|
|
29
|
-
return GetBillingSchedules200ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.GetBillingSchedules200ResponseFromJSON = GetBillingSchedules200ResponseFromJSON;
|
|
32
|
-
function GetBillingSchedules200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
-
'results': json['results'] == null ? undefined : (json['results'].map(billing_schedule_1.BillingScheduleFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.GetBillingSchedules200ResponseFromJSONTyped = GetBillingSchedules200ResponseFromJSONTyped;
|
|
42
|
-
function GetBillingSchedules200ResponseToJSON(json) {
|
|
43
|
-
return GetBillingSchedules200ResponseToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
exports.GetBillingSchedules200ResponseToJSON = GetBillingSchedules200ResponseToJSON;
|
|
46
|
-
function GetBillingSchedules200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
-
'results': value['results'] == null ? undefined : (value['results'].map(billing_schedule_1.BillingScheduleToJSON)),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
exports.GetBillingSchedules200ResponseToJSONTyped = GetBillingSchedules200ResponseToJSONTyped;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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 KeyMetrics
|
|
16
|
-
*/
|
|
17
|
-
export interface KeyMetrics {
|
|
18
|
-
/**
|
|
19
|
-
* Monthly Recurring Revenue
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof KeyMetrics
|
|
22
|
-
*/
|
|
23
|
-
monthlyRecurringRevenue: string;
|
|
24
|
-
/**
|
|
25
|
-
* Annual Contract Revenue
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof KeyMetrics
|
|
28
|
-
*/
|
|
29
|
-
annualContractRevenue: string;
|
|
30
|
-
/**
|
|
31
|
-
* Total Contract Revenue
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof KeyMetrics
|
|
34
|
-
*/
|
|
35
|
-
totalContractRevenue: string;
|
|
36
|
-
/**
|
|
37
|
-
* Amount Invoiced
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof KeyMetrics
|
|
40
|
-
*/
|
|
41
|
-
amountInvoiced: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the KeyMetrics interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfKeyMetrics(value: object): value is KeyMetrics;
|
|
47
|
-
export declare function KeyMetricsFromJSON(json: any): KeyMetrics;
|
|
48
|
-
export declare function KeyMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyMetrics;
|
|
49
|
-
export declare function KeyMetricsToJSON(json: any): KeyMetrics;
|
|
50
|
-
export declare function KeyMetricsToJSONTyped(value?: KeyMetrics | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
-
//# sourceMappingURL=key-metrics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"key-metrics.d.ts","sourceRoot":"","sources":["../../../src/generated/models/key-metrics.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAMvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAW3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY1G"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
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.KeyMetricsToJSONTyped = exports.KeyMetricsToJSON = exports.KeyMetricsFromJSONTyped = exports.KeyMetricsFromJSON = exports.instanceOfKeyMetrics = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the KeyMetrics interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfKeyMetrics(value) {
|
|
21
|
-
if (!('monthlyRecurringRevenue' in value) || value['monthlyRecurringRevenue'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('annualContractRevenue' in value) || value['annualContractRevenue'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('totalContractRevenue' in value) || value['totalContractRevenue'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('amountInvoiced' in value) || value['amountInvoiced'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
exports.instanceOfKeyMetrics = instanceOfKeyMetrics;
|
|
32
|
-
function KeyMetricsFromJSON(json) {
|
|
33
|
-
return KeyMetricsFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.KeyMetricsFromJSON = KeyMetricsFromJSON;
|
|
36
|
-
function KeyMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'monthlyRecurringRevenue': json['monthlyRecurringRevenue'],
|
|
42
|
-
'annualContractRevenue': json['annualContractRevenue'],
|
|
43
|
-
'totalContractRevenue': json['totalContractRevenue'],
|
|
44
|
-
'amountInvoiced': json['amountInvoiced'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.KeyMetricsFromJSONTyped = KeyMetricsFromJSONTyped;
|
|
48
|
-
function KeyMetricsToJSON(json) {
|
|
49
|
-
return KeyMetricsToJSONTyped(json, false);
|
|
50
|
-
}
|
|
51
|
-
exports.KeyMetricsToJSON = KeyMetricsToJSON;
|
|
52
|
-
function KeyMetricsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'monthlyRecurringRevenue': value['monthlyRecurringRevenue'],
|
|
58
|
-
'annualContractRevenue': value['annualContractRevenue'],
|
|
59
|
-
'totalContractRevenue': value['totalContractRevenue'],
|
|
60
|
-
'amountInvoiced': value['amountInvoiced'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
exports.KeyMetricsToJSONTyped = KeyMetricsToJSONTyped;
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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 { ProductType } from './product-type';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ScheduleLine
|
|
17
|
-
*/
|
|
18
|
-
export interface ScheduleLine {
|
|
19
|
-
/**
|
|
20
|
-
* Schedule Line ID
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ScheduleLine
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
* Schedule Line UID
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ScheduleLine
|
|
29
|
-
*/
|
|
30
|
-
uid: string;
|
|
31
|
-
/**
|
|
32
|
-
* Line Type
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ScheduleLine
|
|
35
|
-
*/
|
|
36
|
-
lineType: string;
|
|
37
|
-
/**
|
|
38
|
-
* Charge Ready Date
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ScheduleLine
|
|
41
|
-
*/
|
|
42
|
-
chargeReadyDate: string;
|
|
43
|
-
/**
|
|
44
|
-
* Start Date
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ScheduleLine
|
|
47
|
-
*/
|
|
48
|
-
startDate: string;
|
|
49
|
-
/**
|
|
50
|
-
* End Date
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof ScheduleLine
|
|
53
|
-
*/
|
|
54
|
-
endDate: string;
|
|
55
|
-
/**
|
|
56
|
-
* Unit Price
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ScheduleLine
|
|
59
|
-
*/
|
|
60
|
-
unitPrice: string;
|
|
61
|
-
/**
|
|
62
|
-
* List Price
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ScheduleLine
|
|
65
|
-
*/
|
|
66
|
-
listPrice: string;
|
|
67
|
-
/**
|
|
68
|
-
* List Price Base
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof ScheduleLine
|
|
71
|
-
*/
|
|
72
|
-
listPriceBase: string;
|
|
73
|
-
/**
|
|
74
|
-
* Quantity
|
|
75
|
-
* @type {number}
|
|
76
|
-
* @memberof ScheduleLine
|
|
77
|
-
*/
|
|
78
|
-
quantity: number;
|
|
79
|
-
/**
|
|
80
|
-
* Discount
|
|
81
|
-
* @type {number}
|
|
82
|
-
* @memberof ScheduleLine
|
|
83
|
-
*/
|
|
84
|
-
discount: number;
|
|
85
|
-
/**
|
|
86
|
-
* Amount
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof ScheduleLine
|
|
89
|
-
*/
|
|
90
|
-
amount: string;
|
|
91
|
-
/**
|
|
92
|
-
* Remaining Included Units
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof ScheduleLine
|
|
95
|
-
*/
|
|
96
|
-
remainingIncludedUnits: number;
|
|
97
|
-
/**
|
|
98
|
-
* Total Included Units
|
|
99
|
-
* @type {number}
|
|
100
|
-
* @memberof ScheduleLine
|
|
101
|
-
*/
|
|
102
|
-
totalIncludedUnits: number;
|
|
103
|
-
/**
|
|
104
|
-
* Invoiced
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof ScheduleLine
|
|
107
|
-
*/
|
|
108
|
-
invoiced: string;
|
|
109
|
-
/**
|
|
110
|
-
* When the billing schedule was created
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof ScheduleLine
|
|
113
|
-
*/
|
|
114
|
-
createdAt: string;
|
|
115
|
-
/**
|
|
116
|
-
* When the billing schedule was last updated
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof ScheduleLine
|
|
119
|
-
*/
|
|
120
|
-
updatedAt: string;
|
|
121
|
-
/**
|
|
122
|
-
* The email of the user who created the billing schedule
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof ScheduleLine
|
|
125
|
-
*/
|
|
126
|
-
createdBy: string;
|
|
127
|
-
/**
|
|
128
|
-
* The email of the user who last updated the billing schedule
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @memberof ScheduleLine
|
|
131
|
-
*/
|
|
132
|
-
updatedBy: string;
|
|
133
|
-
/**
|
|
134
|
-
* The description of the billing schedule line
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof ScheduleLine
|
|
137
|
-
*/
|
|
138
|
-
description: string;
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @type {ProductType}
|
|
142
|
-
* @memberof ScheduleLine
|
|
143
|
-
*/
|
|
144
|
-
productType: ProductType;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Check if a given object implements the ScheduleLine interface.
|
|
148
|
-
*/
|
|
149
|
-
export declare function instanceOfScheduleLine(value: object): value is ScheduleLine;
|
|
150
|
-
export declare function ScheduleLineFromJSON(json: any): ScheduleLine;
|
|
151
|
-
export declare function ScheduleLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleLine;
|
|
152
|
-
export declare function ScheduleLineToJSON(json: any): ScheduleLine;
|
|
153
|
-
export declare function ScheduleLineToJSONTyped(value?: ScheduleLine | null, ignoreDiscriminator?: boolean): any;
|
|
154
|
-
//# sourceMappingURL=schedule-line.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-line.d.ts","sourceRoot":"","sources":["../../../src/generated/models/schedule-line.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC5B;AAID;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAuB3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CA4B/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA6B9G"}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* ManageSpace API
|
|
6
|
-
* ManageSpace API Documentation
|
|
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.ScheduleLineToJSONTyped = exports.ScheduleLineToJSON = exports.ScheduleLineFromJSONTyped = exports.ScheduleLineFromJSON = exports.instanceOfScheduleLine = void 0;
|
|
17
|
-
const product_type_1 = require("./product-type");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the ScheduleLine interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfScheduleLine(value) {
|
|
22
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('uid' in value) || value['uid'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('lineType' in value) || value['lineType'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('chargeReadyDate' in value) || value['chargeReadyDate'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('unitPrice' in value) || value['unitPrice'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('listPrice' in value) || value['listPrice'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('listPriceBase' in value) || value['listPriceBase'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('discount' in value) || value['discount'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('amount' in value) || value['amount'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('remainingIncludedUnits' in value) || value['remainingIncludedUnits'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('totalIncludedUnits' in value) || value['totalIncludedUnits'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('invoiced' in value) || value['invoiced'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
61
|
-
return false;
|
|
62
|
-
if (!('productType' in value) || value['productType'] === undefined)
|
|
63
|
-
return false;
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
exports.instanceOfScheduleLine = instanceOfScheduleLine;
|
|
67
|
-
function ScheduleLineFromJSON(json) {
|
|
68
|
-
return ScheduleLineFromJSONTyped(json, false);
|
|
69
|
-
}
|
|
70
|
-
exports.ScheduleLineFromJSON = ScheduleLineFromJSON;
|
|
71
|
-
function ScheduleLineFromJSONTyped(json, ignoreDiscriminator) {
|
|
72
|
-
if (json == null) {
|
|
73
|
-
return json;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
'id': json['id'],
|
|
77
|
-
'uid': json['uid'],
|
|
78
|
-
'lineType': json['lineType'],
|
|
79
|
-
'chargeReadyDate': json['chargeReadyDate'],
|
|
80
|
-
'startDate': json['startDate'],
|
|
81
|
-
'endDate': json['endDate'],
|
|
82
|
-
'unitPrice': json['unitPrice'],
|
|
83
|
-
'listPrice': json['listPrice'],
|
|
84
|
-
'listPriceBase': json['listPriceBase'],
|
|
85
|
-
'quantity': json['quantity'],
|
|
86
|
-
'discount': json['discount'],
|
|
87
|
-
'amount': json['amount'],
|
|
88
|
-
'remainingIncludedUnits': json['remainingIncludedUnits'],
|
|
89
|
-
'totalIncludedUnits': json['totalIncludedUnits'],
|
|
90
|
-
'invoiced': json['invoiced'],
|
|
91
|
-
'createdAt': json['createdAt'],
|
|
92
|
-
'updatedAt': json['updatedAt'],
|
|
93
|
-
'createdBy': json['createdBy'],
|
|
94
|
-
'updatedBy': json['updatedBy'],
|
|
95
|
-
'description': json['description'],
|
|
96
|
-
'productType': (0, product_type_1.ProductTypeFromJSON)(json['productType']),
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
exports.ScheduleLineFromJSONTyped = ScheduleLineFromJSONTyped;
|
|
100
|
-
function ScheduleLineToJSON(json) {
|
|
101
|
-
return ScheduleLineToJSONTyped(json, false);
|
|
102
|
-
}
|
|
103
|
-
exports.ScheduleLineToJSON = ScheduleLineToJSON;
|
|
104
|
-
function ScheduleLineToJSONTyped(value, ignoreDiscriminator = false) {
|
|
105
|
-
if (value == null) {
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
return {
|
|
109
|
-
'id': value['id'],
|
|
110
|
-
'uid': value['uid'],
|
|
111
|
-
'lineType': value['lineType'],
|
|
112
|
-
'chargeReadyDate': value['chargeReadyDate'],
|
|
113
|
-
'startDate': value['startDate'],
|
|
114
|
-
'endDate': value['endDate'],
|
|
115
|
-
'unitPrice': value['unitPrice'],
|
|
116
|
-
'listPrice': value['listPrice'],
|
|
117
|
-
'listPriceBase': value['listPriceBase'],
|
|
118
|
-
'quantity': value['quantity'],
|
|
119
|
-
'discount': value['discount'],
|
|
120
|
-
'amount': value['amount'],
|
|
121
|
-
'remainingIncludedUnits': value['remainingIncludedUnits'],
|
|
122
|
-
'totalIncludedUnits': value['totalIncludedUnits'],
|
|
123
|
-
'invoiced': value['invoiced'],
|
|
124
|
-
'createdAt': value['createdAt'],
|
|
125
|
-
'updatedAt': value['updatedAt'],
|
|
126
|
-
'createdBy': value['createdBy'],
|
|
127
|
-
'updatedBy': value['updatedBy'],
|
|
128
|
-
'description': value['description'],
|
|
129
|
-
'productType': (0, product_type_1.ProductTypeToJSON)(value['productType']),
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
exports.ScheduleLineToJSONTyped = ScheduleLineToJSONTyped;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ExtBasePayload, ExtPlugin, ExtReturnType } from './extensibility';
|
|
2
|
-
import { ExFnApi } from './extensibility-function-api';
|
|
3
|
-
|
|
4
|
-
export type ExtensibilityFunctionSignature<T extends ExtPlugin> = (
|
|
5
|
-
payload: ExtBasePayload & T['payload'],
|
|
6
|
-
api: ExFnApi,
|
|
7
|
-
) => Promise<ExtReturnType<T['responseType']>>;
|
|
8
|
-
|
|
9
|
-
export type ReplicaExtensibilityFunctionSignature<
|
|
10
|
-
T extends ExtPlugin,
|
|
11
|
-
DB = unknown,
|
|
12
|
-
> = (
|
|
13
|
-
payload: ExtBasePayload & T['payload'],
|
|
14
|
-
companyId: string,
|
|
15
|
-
db: DB,
|
|
16
|
-
) => Promise<ExtReturnType<T['responseType']>>;
|