@managespace/sdk 0.0.13 → 0.0.14
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/project/billing.d.ts +9 -7
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +0 -4
- package/dist/generated/apis/default-api.d.ts +24 -3
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +68 -1
- package/dist/generated/models/charge-response.d.ts +3 -3
- package/dist/generated/models/charge-response.d.ts.map +1 -1
- package/dist/generated/models/charge-response.js +3 -3
- package/dist/generated/models/create-plan-charge.d.ts +3 -3
- package/dist/generated/models/create-plan-charge.d.ts.map +1 -1
- package/dist/generated/models/create-plan-charge.js +3 -3
- package/dist/generated/models/create-product-custom.d.ts +45 -3
- package/dist/generated/models/create-product-custom.d.ts.map +1 -1
- package/dist/generated/models/create-product-custom.js +14 -0
- package/dist/generated/models/create-product.d.ts +1 -1
- package/dist/generated/models/get-products200-response.d.ts +3 -3
- package/dist/generated/models/get-products200-response.d.ts.map +1 -1
- package/dist/generated/models/get-products200-response.js +3 -3
- package/dist/generated/models/index.d.ts +2 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +2 -1
- package/dist/generated/models/plan-charge-response.d.ts +3 -3
- package/dist/generated/models/plan-charge-response.d.ts.map +1 -1
- package/dist/generated/models/plan-charge-response.js +3 -3
- package/dist/generated/models/product-custom-response.d.ts +150 -0
- package/dist/generated/models/product-custom-response.d.ts.map +1 -0
- package/dist/generated/models/product-custom-response.js +110 -0
- package/dist/generated/models/product-response.d.ts +1 -1
- package/dist/generated/models/subscription-plan-response.d.ts +3 -3
- package/dist/generated/models/subscription-plan-response.d.ts.map +1 -1
- package/dist/generated/models/subscription-plan-response.js +3 -3
- package/dist/generated/models/transaction-posting-entries.d.ts +3 -3
- package/package.json +2 -1
- package/src/extensibility/functions/project/billing.ts +16 -11
- package/src/generated/.openapi-generator/FILES +2 -1
- package/src/generated/apis/default-api.ts +113 -6
- package/src/generated/models/charge-response.ts +10 -10
- package/src/generated/models/create-plan-charge.ts +10 -10
- package/src/generated/models/create-product-custom.ts +59 -3
- package/src/generated/models/create-product.ts +1 -1
- package/src/generated/models/get-products200-response.ts +11 -11
- package/src/generated/models/index.ts +2 -1
- package/src/generated/models/plan-charge-response.ts +10 -10
- package/src/generated/models/product-custom-response.ts +249 -0
- package/src/generated/models/product-response.ts +1 -1
- package/src/generated/models/subscription-plan-response.ts +10 -10
- package/src/generated/models/transaction-posting-entries.ts +3 -3
|
@@ -17,7 +17,7 @@ import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateProductCustom {
|
|
19
19
|
/**
|
|
20
|
-
* The product name
|
|
20
|
+
* The product name
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CreateProductCustom
|
|
23
23
|
*/
|
|
@@ -47,17 +47,59 @@ export interface CreateProductCustom {
|
|
|
47
47
|
*/
|
|
48
48
|
revenueRuleId: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Date revenue will begin to be recognized.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof CreateProductCustom
|
|
53
53
|
*/
|
|
54
54
|
recognitionStartDate: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Date revenue will end to be recognized.
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof CreateProductCustom
|
|
59
59
|
*/
|
|
60
60
|
recognitionEndDate: string;
|
|
61
|
+
/**
|
|
62
|
+
* Stock keeping unit
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CreateProductCustom
|
|
65
|
+
*/
|
|
66
|
+
sku?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Product status
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CreateProductCustom
|
|
71
|
+
*/
|
|
72
|
+
status?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Description of product
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CreateProductCustom
|
|
77
|
+
*/
|
|
78
|
+
description?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Currency
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof CreateProductCustom
|
|
83
|
+
*/
|
|
84
|
+
currency?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Show revenue schedules
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof CreateProductCustom
|
|
89
|
+
*/
|
|
90
|
+
showRevenueSchedules?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* List of custom fields
|
|
93
|
+
* @type {object}
|
|
94
|
+
* @memberof CreateProductCustom
|
|
95
|
+
*/
|
|
96
|
+
customFields?: object;
|
|
97
|
+
/**
|
|
98
|
+
* Code of Chart of Account
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof CreateProductCustom
|
|
101
|
+
*/
|
|
102
|
+
incomeAccount?: string;
|
|
61
103
|
}
|
|
62
104
|
/**
|
|
63
105
|
* Check if a given object implements the CreateProductCustom interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product-custom.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-custom.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"create-product-custom.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-product-custom.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAQzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAqB7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsB5H"}
|
|
@@ -50,6 +50,13 @@ function CreateProductCustomFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'revenueRuleId': json['revenueRuleId'],
|
|
51
51
|
'recognitionStartDate': json['recognitionStartDate'],
|
|
52
52
|
'recognitionEndDate': json['recognitionEndDate'],
|
|
53
|
+
'sku': json['sku'] == null ? undefined : json['sku'],
|
|
54
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
55
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
56
|
+
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
57
|
+
'showRevenueSchedules': json['showRevenueSchedules'] == null ? undefined : json['showRevenueSchedules'],
|
|
58
|
+
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
59
|
+
'incomeAccount': json['incomeAccount'] == null ? undefined : json['incomeAccount'],
|
|
53
60
|
};
|
|
54
61
|
}
|
|
55
62
|
exports.CreateProductCustomFromJSONTyped = CreateProductCustomFromJSONTyped;
|
|
@@ -69,6 +76,13 @@ function CreateProductCustomToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
69
76
|
'revenueRuleId': value['revenueRuleId'],
|
|
70
77
|
'recognitionStartDate': value['recognitionStartDate'],
|
|
71
78
|
'recognitionEndDate': value['recognitionEndDate'],
|
|
79
|
+
'sku': value['sku'],
|
|
80
|
+
'status': value['status'],
|
|
81
|
+
'description': value['description'],
|
|
82
|
+
'currency': value['currency'],
|
|
83
|
+
'showRevenueSchedules': value['showRevenueSchedules'],
|
|
84
|
+
'customFields': value['customFields'],
|
|
85
|
+
'incomeAccount': value['incomeAccount'],
|
|
72
86
|
};
|
|
73
87
|
}
|
|
74
88
|
exports.CreateProductCustomToJSONTyped = CreateProductCustomToJSONTyped;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { ProductBillingResponse } from './product-billing-response';
|
|
13
12
|
import type { PageMeta } from './page-meta';
|
|
13
|
+
import type { ProductCustomResponse } from './product-custom-response';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface GetProducts200Response {
|
|
|
25
25
|
pageMeta: PageMeta;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<ProductCustomResponse>}
|
|
29
29
|
* @memberof GetProducts200Response
|
|
30
30
|
*/
|
|
31
|
-
results?: Array<
|
|
31
|
+
results?: Array<ProductCustomResponse>;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the GetProducts200Response interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-products200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-products200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"get-products200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-products200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.GetProducts200ResponseToJSONTyped = exports.GetProducts200ResponseToJSON = exports.GetProducts200ResponseFromJSONTyped = exports.GetProducts200ResponseFromJSON = exports.instanceOfGetProducts200Response = void 0;
|
|
17
|
-
const product_billing_response_1 = require("./product-billing-response");
|
|
18
17
|
const page_meta_1 = require("./page-meta");
|
|
18
|
+
const product_custom_response_1 = require("./product-custom-response");
|
|
19
19
|
/**
|
|
20
20
|
* Check if a given object implements the GetProducts200Response interface.
|
|
21
21
|
*/
|
|
@@ -35,7 +35,7 @@ function GetProducts200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
|
|
38
|
-
'results': json['results'] == null ? undefined : (json['results'].map(
|
|
38
|
+
'results': json['results'] == null ? undefined : (json['results'].map(product_custom_response_1.ProductCustomResponseFromJSON)),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
exports.GetProducts200ResponseFromJSONTyped = GetProducts200ResponseFromJSONTyped;
|
|
@@ -49,7 +49,7 @@ function GetProducts200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
|
|
52
|
-
'results': value['results'] == null ? undefined : (value['results'].map(
|
|
52
|
+
'results': value['results'] == null ? undefined : (value['results'].map(product_custom_response_1.ProductCustomResponseToJSON)),
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
exports.GetProducts200ResponseToJSONTyped = GetProducts200ResponseToJSONTyped;
|
|
@@ -97,6 +97,7 @@ export * from './get-payment-runs200-response';
|
|
|
97
97
|
export * from './get-payments200-response';
|
|
98
98
|
export * from './get-plans200-response';
|
|
99
99
|
export * from './get-plugins200-response';
|
|
100
|
+
export * from './get-products200-response';
|
|
100
101
|
export * from './get-revenue-rules200-response';
|
|
101
102
|
export * from './get-sites200-response';
|
|
102
103
|
export * from './get-statements200-response';
|
|
@@ -135,9 +136,9 @@ export * from './plugin-extensibility-function-metadata-response';
|
|
|
135
136
|
export * from './plugin-extensibility-status';
|
|
136
137
|
export * from './plugin-response';
|
|
137
138
|
export * from './plugin-version-response';
|
|
139
|
+
export * from './product-custom-response';
|
|
138
140
|
export * from './product-response';
|
|
139
141
|
export * from './product-status';
|
|
140
|
-
export * from './product-transaction-posting-entries';
|
|
141
142
|
export * from './project-response';
|
|
142
143
|
export * from './project-response1';
|
|
143
144
|
export * from './project-version-response';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,C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S,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC"}
|
|
@@ -115,6 +115,7 @@ __exportStar(require("./get-payment-runs200-response"), exports);
|
|
|
115
115
|
__exportStar(require("./get-payments200-response"), exports);
|
|
116
116
|
__exportStar(require("./get-plans200-response"), exports);
|
|
117
117
|
__exportStar(require("./get-plugins200-response"), exports);
|
|
118
|
+
__exportStar(require("./get-products200-response"), exports);
|
|
118
119
|
__exportStar(require("./get-revenue-rules200-response"), exports);
|
|
119
120
|
__exportStar(require("./get-sites200-response"), exports);
|
|
120
121
|
__exportStar(require("./get-statements200-response"), exports);
|
|
@@ -153,9 +154,9 @@ __exportStar(require("./plugin-extensibility-function-metadata-response"), expor
|
|
|
153
154
|
__exportStar(require("./plugin-extensibility-status"), exports);
|
|
154
155
|
__exportStar(require("./plugin-response"), exports);
|
|
155
156
|
__exportStar(require("./plugin-version-response"), exports);
|
|
157
|
+
__exportStar(require("./product-custom-response"), exports);
|
|
156
158
|
__exportStar(require("./product-response"), exports);
|
|
157
159
|
__exportStar(require("./product-status"), exports);
|
|
158
|
-
__exportStar(require("./product-transaction-posting-entries"), exports);
|
|
159
160
|
__exportStar(require("./project-response"), exports);
|
|
160
161
|
__exportStar(require("./project-response1"), exports);
|
|
161
162
|
__exportStar(require("./project-version-response"), exports);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -144,10 +144,10 @@ export interface PlanChargeResponse {
|
|
|
144
144
|
recognitionEndDate: string;
|
|
145
145
|
/**
|
|
146
146
|
* Product transaction posting entries
|
|
147
|
-
* @type {Array<
|
|
147
|
+
* @type {Array<TransactionPostingEntries>}
|
|
148
148
|
* @memberof PlanChargeResponse
|
|
149
149
|
*/
|
|
150
|
-
transactionPostingEntries: Array<
|
|
150
|
+
transactionPostingEntries: Array<TransactionPostingEntries>;
|
|
151
151
|
/**
|
|
152
152
|
* Custom fields on the invoice
|
|
153
153
|
* @type {object}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-charge-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/plan-charge-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"plan-charge-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/plan-charge-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAyBvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CA8B3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA+B1H"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PlanChargeResponseToJSONTyped = exports.PlanChargeResponseToJSON = exports.PlanChargeResponseFromJSONTyped = exports.PlanChargeResponseFromJSON = exports.instanceOfPlanChargeResponse = void 0;
|
|
17
|
-
const
|
|
17
|
+
const transaction_posting_entries_1 = require("./transaction-posting-entries");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the PlanChargeResponse interface.
|
|
20
20
|
*/
|
|
@@ -98,7 +98,7 @@ function PlanChargeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
98
98
|
'revenueRuleId': json['revenueRuleId'],
|
|
99
99
|
'recognitionStartDate': json['recognitionStartDate'],
|
|
100
100
|
'recognitionEndDate': json['recognitionEndDate'],
|
|
101
|
-
'transactionPostingEntries': (json['transactionPostingEntries'].map(
|
|
101
|
+
'transactionPostingEntries': (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
102
102
|
'customFields': json['customFields'],
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -133,7 +133,7 @@ function PlanChargeResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
133
133
|
'revenueRuleId': value['revenueRuleId'],
|
|
134
134
|
'recognitionStartDate': value['recognitionStartDate'],
|
|
135
135
|
'recognitionEndDate': value['recognitionEndDate'],
|
|
136
|
-
'transactionPostingEntries': (value['transactionPostingEntries'].map(
|
|
136
|
+
'transactionPostingEntries': (value['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesToJSON)),
|
|
137
137
|
'customFields': value['customFields'],
|
|
138
138
|
};
|
|
139
139
|
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ManageSpace V2 Auth API
|
|
3
|
+
* ManageSpace Auth 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 { TransactionPostingEntries } from './transaction-posting-entries';
|
|
13
|
+
import type { OrgResponse } from './org-response';
|
|
14
|
+
import type { SiteResponse } from './site-response';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ProductCustomResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface ProductCustomResponse {
|
|
21
|
+
/**
|
|
22
|
+
* The product name
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ProductCustomResponse
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
/**
|
|
28
|
+
* The price of the product in the lowest denomination of the currency
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof ProductCustomResponse
|
|
31
|
+
*/
|
|
32
|
+
price: number;
|
|
33
|
+
/**
|
|
34
|
+
* Tax exempt
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof ProductCustomResponse
|
|
37
|
+
*/
|
|
38
|
+
taxable?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<TransactionPostingEntries>}
|
|
42
|
+
* @memberof ProductCustomResponse
|
|
43
|
+
*/
|
|
44
|
+
transactionPostingEntries: Array<TransactionPostingEntries>;
|
|
45
|
+
/**
|
|
46
|
+
* Revenue Rule ID.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ProductCustomResponse
|
|
49
|
+
*/
|
|
50
|
+
revenueRuleId: string;
|
|
51
|
+
/**
|
|
52
|
+
* Date revenue will begin to be recognized.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ProductCustomResponse
|
|
55
|
+
*/
|
|
56
|
+
recognitionStartDate: string;
|
|
57
|
+
/**
|
|
58
|
+
* Date revenue will end to be recognized.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ProductCustomResponse
|
|
61
|
+
*/
|
|
62
|
+
recognitionEndDate: string;
|
|
63
|
+
/**
|
|
64
|
+
* Stock keeping unit
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof ProductCustomResponse
|
|
67
|
+
*/
|
|
68
|
+
sku?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Product status
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ProductCustomResponse
|
|
73
|
+
*/
|
|
74
|
+
status?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Description of product
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ProductCustomResponse
|
|
79
|
+
*/
|
|
80
|
+
description?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Currency
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof ProductCustomResponse
|
|
85
|
+
*/
|
|
86
|
+
currency?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Show revenue schedules
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof ProductCustomResponse
|
|
91
|
+
*/
|
|
92
|
+
showRevenueSchedules?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* List of custom fields
|
|
95
|
+
* @type {object}
|
|
96
|
+
* @memberof ProductCustomResponse
|
|
97
|
+
*/
|
|
98
|
+
customFields?: object;
|
|
99
|
+
/**
|
|
100
|
+
* Code of Chart of Account
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof ProductCustomResponse
|
|
103
|
+
*/
|
|
104
|
+
incomeAccount?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Product ID
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof ProductCustomResponse
|
|
109
|
+
*/
|
|
110
|
+
id: string;
|
|
111
|
+
/**
|
|
112
|
+
* The product id stored in the external sytem
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof ProductCustomResponse
|
|
115
|
+
*/
|
|
116
|
+
externalId: string | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {OrgResponse}
|
|
120
|
+
* @memberof ProductCustomResponse
|
|
121
|
+
*/
|
|
122
|
+
org?: OrgResponse;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof ProductCustomResponse
|
|
127
|
+
*/
|
|
128
|
+
orgId: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {SiteResponse}
|
|
132
|
+
* @memberof ProductCustomResponse
|
|
133
|
+
*/
|
|
134
|
+
site?: SiteResponse;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof ProductCustomResponse
|
|
139
|
+
*/
|
|
140
|
+
siteId: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Check if a given object implements the ProductCustomResponse interface.
|
|
144
|
+
*/
|
|
145
|
+
export declare function instanceOfProductCustomResponse(value: object): value is ProductCustomResponse;
|
|
146
|
+
export declare function ProductCustomResponseFromJSON(json: any): ProductCustomResponse;
|
|
147
|
+
export declare function ProductCustomResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCustomResponse;
|
|
148
|
+
export declare function ProductCustomResponseToJSON(json: any): ProductCustomResponse;
|
|
149
|
+
export declare function ProductCustomResponseToJSONTyped(value?: ProductCustomResponse | null, ignoreDiscriminator?: boolean): any;
|
|
150
|
+
//# sourceMappingURL=product-custom-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-custom-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/product-custom-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAQpD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,yBAAyB,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAY7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CA2BjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA4BhI"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace V2 Auth API
|
|
6
|
+
* ManageSpace Auth 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.ProductCustomResponseToJSONTyped = exports.ProductCustomResponseToJSON = exports.ProductCustomResponseFromJSONTyped = exports.ProductCustomResponseFromJSON = exports.instanceOfProductCustomResponse = void 0;
|
|
17
|
+
const transaction_posting_entries_1 = require("./transaction-posting-entries");
|
|
18
|
+
const org_response_1 = require("./org-response");
|
|
19
|
+
const site_response_1 = require("./site-response");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ProductCustomResponse interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfProductCustomResponse(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('price' in value) || value['price'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('transactionPostingEntries' in value) || value['transactionPostingEntries'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('revenueRuleId' in value) || value['revenueRuleId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('recognitionStartDate' in value) || value['recognitionStartDate'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('recognitionEndDate' in value) || value['recognitionEndDate'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('externalId' in value) || value['externalId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('orgId' in value) || value['orgId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
exports.instanceOfProductCustomResponse = instanceOfProductCustomResponse;
|
|
47
|
+
function ProductCustomResponseFromJSON(json) {
|
|
48
|
+
return ProductCustomResponseFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
exports.ProductCustomResponseFromJSON = ProductCustomResponseFromJSON;
|
|
51
|
+
function ProductCustomResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'price': json['price'],
|
|
58
|
+
'taxable': json['taxable'] == null ? undefined : json['taxable'],
|
|
59
|
+
'transactionPostingEntries': (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
60
|
+
'revenueRuleId': json['revenueRuleId'],
|
|
61
|
+
'recognitionStartDate': json['recognitionStartDate'],
|
|
62
|
+
'recognitionEndDate': json['recognitionEndDate'],
|
|
63
|
+
'sku': json['sku'] == null ? undefined : json['sku'],
|
|
64
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
65
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
66
|
+
'currency': json['currency'] == null ? undefined : json['currency'],
|
|
67
|
+
'showRevenueSchedules': json['showRevenueSchedules'] == null ? undefined : json['showRevenueSchedules'],
|
|
68
|
+
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
69
|
+
'incomeAccount': json['incomeAccount'] == null ? undefined : json['incomeAccount'],
|
|
70
|
+
'id': json['id'],
|
|
71
|
+
'externalId': json['externalId'],
|
|
72
|
+
'org': json['org'] == null ? undefined : (0, org_response_1.OrgResponseFromJSON)(json['org']),
|
|
73
|
+
'orgId': json['orgId'],
|
|
74
|
+
'site': json['site'] == null ? undefined : (0, site_response_1.SiteResponseFromJSON)(json['site']),
|
|
75
|
+
'siteId': json['siteId'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
exports.ProductCustomResponseFromJSONTyped = ProductCustomResponseFromJSONTyped;
|
|
79
|
+
function ProductCustomResponseToJSON(json) {
|
|
80
|
+
return ProductCustomResponseToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
exports.ProductCustomResponseToJSON = ProductCustomResponseToJSON;
|
|
83
|
+
function ProductCustomResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
'name': value['name'],
|
|
89
|
+
'price': value['price'],
|
|
90
|
+
'taxable': value['taxable'],
|
|
91
|
+
'transactionPostingEntries': (value['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesToJSON)),
|
|
92
|
+
'revenueRuleId': value['revenueRuleId'],
|
|
93
|
+
'recognitionStartDate': value['recognitionStartDate'],
|
|
94
|
+
'recognitionEndDate': value['recognitionEndDate'],
|
|
95
|
+
'sku': value['sku'],
|
|
96
|
+
'status': value['status'],
|
|
97
|
+
'description': value['description'],
|
|
98
|
+
'currency': value['currency'],
|
|
99
|
+
'showRevenueSchedules': value['showRevenueSchedules'],
|
|
100
|
+
'customFields': value['customFields'],
|
|
101
|
+
'incomeAccount': value['incomeAccount'],
|
|
102
|
+
'id': value['id'],
|
|
103
|
+
'externalId': value['externalId'],
|
|
104
|
+
'org': (0, org_response_1.OrgResponseToJSON)(value['org']),
|
|
105
|
+
'orgId': value['orgId'],
|
|
106
|
+
'site': (0, site_response_1.SiteResponseToJSON)(value['site']),
|
|
107
|
+
'siteId': value['siteId'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
exports.ProductCustomResponseToJSONTyped = ProductCustomResponseToJSONTyped;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -246,10 +246,10 @@ export interface SubscriptionPlanResponse {
|
|
|
246
246
|
recognitionEndDate: string;
|
|
247
247
|
/**
|
|
248
248
|
* Transaction type
|
|
249
|
-
* @type {Array<
|
|
249
|
+
* @type {Array<TransactionPostingEntries>}
|
|
250
250
|
* @memberof SubscriptionPlanResponse
|
|
251
251
|
*/
|
|
252
|
-
transactionPostingEntries: Array<
|
|
252
|
+
transactionPostingEntries: Array<TransactionPostingEntries>;
|
|
253
253
|
/**
|
|
254
254
|
* Custom fields on the invoice
|
|
255
255
|
* @type {object}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-plan-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/subscription-plan-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"subscription-plan-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/subscription-plan-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ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,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CA0CnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CA+CvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgDtI"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.SubscriptionPlanResponseToJSONTyped = exports.SubscriptionPlanResponseToJSON = exports.SubscriptionPlanResponseFromJSONTyped = exports.SubscriptionPlanResponseFromJSON = exports.instanceOfSubscriptionPlanResponse = void 0;
|
|
17
|
-
const
|
|
17
|
+
const transaction_posting_entries_1 = require("./transaction-posting-entries");
|
|
18
18
|
/**
|
|
19
19
|
* Check if a given object implements the SubscriptionPlanResponse interface.
|
|
20
20
|
*/
|
|
@@ -149,7 +149,7 @@ function SubscriptionPlanResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
149
149
|
'revenueRuleId': json['revenueRuleId'],
|
|
150
150
|
'recognitionStartDate': json['recognitionStartDate'],
|
|
151
151
|
'recognitionEndDate': json['recognitionEndDate'],
|
|
152
|
-
'transactionPostingEntries': (json['transactionPostingEntries'].map(
|
|
152
|
+
'transactionPostingEntries': (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
153
153
|
'customFields': json['customFields'],
|
|
154
154
|
};
|
|
155
155
|
}
|
|
@@ -201,7 +201,7 @@ function SubscriptionPlanResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
201
201
|
'revenueRuleId': value['revenueRuleId'],
|
|
202
202
|
'recognitionStartDate': value['recognitionStartDate'],
|
|
203
203
|
'recognitionEndDate': value['recognitionEndDate'],
|
|
204
|
-
'transactionPostingEntries': (value['transactionPostingEntries'].map(
|
|
204
|
+
'transactionPostingEntries': (value['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesToJSON)),
|
|
205
205
|
'customFields': value['customFields'],
|
|
206
206
|
};
|
|
207
207
|
}
|