@managespace/sdk 0.1.10 → 0.1.11
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 +10 -2
- package/dist/extensibility/functions/extensibility-function.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.d.ts +14 -5
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +5 -0
- package/dist/extensibility/functions/project/document.d.ts +1 -14
- package/dist/extensibility/functions/project/document.d.ts.map +1 -1
- package/dist/extensibility/functions/project/document.js +0 -10
- package/dist/extensibility/types/mapped-ports.d.ts +3 -5
- package/dist/extensibility/types/mapped-ports.d.ts.map +1 -1
- package/dist/extensibility/types/step-function-signature.d.ts +6 -1
- package/dist/extensibility/types/step-function-signature.d.ts.map +1 -1
- package/dist/extensibility/types/workflow-step.d.ts +2 -1
- package/dist/extensibility/types/workflow-step.d.ts.map +1 -1
- package/dist/extensibility/workflow/workflow-step.d.ts +5 -6
- package/dist/extensibility/workflow/workflow-step.d.ts.map +1 -1
- package/dist/extensibility/workflow/workflow.d.ts +3 -9
- package/dist/extensibility/workflow/workflow.d.ts.map +1 -1
- package/dist/extensibility/workflow/workflow.js +36 -0
- package/dist/generated/apis/default-api.d.ts +45 -31
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +131 -85
- package/dist/generated/models/charge.d.ts +5 -5
- package/dist/generated/models/charge.d.ts.map +1 -1
- package/dist/generated/models/charge.js +5 -15
- package/dist/generated/models/contact.d.ts +7 -0
- package/dist/generated/models/contact.d.ts.map +1 -1
- package/dist/generated/models/contact.js +3 -0
- package/dist/generated/models/create-charge.d.ts +5 -5
- package/dist/generated/models/create-charge.d.ts.map +1 -1
- package/dist/generated/models/create-charge.js +5 -15
- package/dist/generated/models/create-document.d.ts +6 -12
- package/dist/generated/models/create-document.d.ts.map +1 -1
- package/dist/generated/models/create-document.js +2 -4
- package/dist/generated/models/create-plan-charge.d.ts +187 -5
- package/dist/generated/models/create-plan-charge.d.ts.map +1 -1
- package/dist/generated/models/create-plan-charge.js +64 -6
- package/dist/generated/models/customer.d.ts +7 -0
- package/dist/generated/models/customer.d.ts.map +1 -1
- package/dist/generated/models/customer.js +3 -0
- package/dist/generated/models/document-hierarchy.d.ts +45 -0
- package/dist/generated/models/document-hierarchy.d.ts.map +1 -0
- package/dist/generated/models/document-hierarchy.js +59 -0
- package/dist/generated/models/document-signed.d.ts +18 -0
- package/dist/generated/models/document-signed.d.ts.map +1 -1
- package/dist/generated/models/document-signed.js +6 -0
- package/dist/generated/models/document-url.d.ts +0 -6
- package/dist/generated/models/document-url.d.ts.map +1 -1
- package/dist/generated/models/document-url.js +0 -4
- package/dist/generated/models/extensibility-function-metadata.d.ts +3 -3
- package/dist/generated/models/extensibility-function-metadata.d.ts.map +1 -1
- package/dist/generated/models/extensibility-function-metadata.js +3 -3
- package/dist/generated/models/get-documents200-response.d.ts +3 -3
- package/dist/generated/models/get-documents200-response.d.ts.map +1 -1
- package/dist/generated/models/get-documents200-response.js +3 -3
- package/dist/generated/models/index.d.ts +7 -1
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +7 -1
- package/dist/generated/models/org.d.ts +10 -3
- package/dist/generated/models/org.d.ts.map +1 -1
- package/dist/generated/models/org.js +6 -3
- package/dist/generated/models/project-version1.d.ts +109 -0
- package/dist/generated/models/project-version1.d.ts.map +1 -0
- package/dist/generated/models/project-version1.js +95 -0
- package/dist/generated/models/project2.d.ts +70 -0
- package/dist/generated/models/project2.d.ts.map +1 -0
- package/dist/generated/models/project2.js +74 -0
- package/dist/generated/models/role3.d.ts +59 -0
- package/dist/generated/models/role3.d.ts.map +1 -0
- package/dist/generated/models/role3.js +67 -0
- package/dist/generated/models/roles4.d.ts +32 -0
- package/dist/generated/models/roles4.d.ts.map +1 -0
- package/dist/generated/models/roles4.js +57 -0
- package/dist/generated/models/site-type4.d.ts +46 -0
- package/dist/generated/models/site-type4.d.ts.map +1 -0
- package/dist/generated/models/site-type4.js +58 -0
- package/dist/generated/models/site.d.ts +10 -3
- package/dist/generated/models/site.d.ts.map +1 -1
- package/dist/generated/models/site.js +6 -3
- package/dist/generated/models/update-plan.d.ts +58 -0
- package/dist/generated/models/update-plan.d.ts.map +1 -0
- package/dist/generated/models/update-plan.js +62 -0
- package/dist/generated/models/upload-document.d.ts +30 -6
- package/dist/generated/models/upload-document.d.ts.map +1 -1
- package/dist/generated/models/upload-document.js +14 -4
- package/dist/generated/models/uploaded-document.d.ts +85 -2
- package/dist/generated/models/uploaded-document.d.ts.map +1 -1
- package/dist/generated/models/uploaded-document.js +50 -3
- package/dist/generated/models/user.d.ts +10 -3
- package/dist/generated/models/user.d.ts.map +1 -1
- package/dist/generated/models/user.js +6 -3
- package/dist/generated/models/workflow-step-metadata.d.ts +3 -3
- package/dist/generated/models/workflow-step-metadata.d.ts.map +1 -1
- package/dist/generated/models/workflow-step-metadata.js +3 -3
- package/package.json +1 -1
- package/package.publish.json +1 -1
- package/package.temp.json +1 -1
- package/src/extensibility/functions/extensibility-function.ts +9 -1
- package/src/extensibility/functions/project/billing.ts +19 -3
- package/src/extensibility/functions/project/document.ts +0 -9
- package/src/extensibility/types/mapped-ports.ts +3 -10
- package/src/extensibility/types/step-function-signature.ts +8 -3
- package/src/extensibility/types/workflow-step.ts +2 -1
- package/src/extensibility/workflow/workflow-step.ts +10 -14
- package/src/extensibility/workflow/workflow.ts +43 -5
- package/src/generated/.openapi-generator/FILES +7 -1
- package/src/generated/apis/default-api.ts +205 -140
- package/src/generated/models/charge.ts +10 -15
- package/src/generated/models/contact.ts +15 -0
- package/src/generated/models/create-charge.ts +10 -15
- package/src/generated/models/create-document.ts +8 -16
- package/src/generated/models/create-plan-charge.ts +262 -9
- package/src/generated/models/customer.ts +15 -0
- package/src/generated/models/{uploaded-documents.ts → document-hierarchy.ts} +13 -13
- package/src/generated/models/document-signed.ts +24 -0
- package/src/generated/models/document-url.ts +0 -9
- package/src/generated/models/extensibility-function-metadata.ts +10 -10
- package/src/generated/models/get-documents200-response.ts +11 -11
- package/src/generated/models/index.ts +7 -1
- package/src/generated/models/org.ts +26 -11
- package/src/generated/models/project-version1.ts +199 -0
- package/src/generated/models/project2.ts +127 -0
- package/src/generated/models/role3.ts +118 -0
- package/src/generated/models/roles4.ts +59 -0
- package/src/generated/models/site-type4.ts +91 -0
- package/src/generated/models/site.ts +26 -11
- package/src/generated/models/update-plan.ts +107 -0
- package/src/generated/models/upload-document.ts +43 -10
- package/src/generated/models/uploaded-document.ts +153 -5
- package/src/generated/models/user.ts +25 -10
- package/src/generated/models/workflow-step-metadata.ts +10 -10
- package/src/generated/models/document.ts +0 -75
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAA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E,OAAO,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7D;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAM/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CA2CnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA4ClG"}
|
|
@@ -24,16 +24,6 @@ function instanceOfCharge(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('pricingModel' in value) || value['pricingModel'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('listPrice' in value) || value['listPrice'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('includedUnits' in value) || value['includedUnits'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('defaultFromProduct' in value) || value['defaultFromProduct'] === undefined)
|
|
36
|
-
return false;
|
|
37
27
|
if (!('id' in value) || value['id'] === undefined)
|
|
38
28
|
return false;
|
|
39
29
|
if (!('chargeBillingDate' in value) || value['chargeBillingDate'] === undefined)
|
|
@@ -53,13 +43,13 @@ function ChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
43
|
'productId': json['productId'],
|
|
54
44
|
'name': json['name'],
|
|
55
45
|
'description': json['description'] == null ? undefined : json['description'],
|
|
56
|
-
'type': json['type'],
|
|
46
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
57
47
|
'timing': json['timing'] == null ? undefined : json['timing'],
|
|
58
48
|
'effectiveDate': json['effectiveDate'] == null ? undefined : json['effectiveDate'],
|
|
59
49
|
'billingDate': json['billingDate'] == null ? undefined : json['billingDate'],
|
|
60
50
|
'completionDate': json['completionDate'] == null ? undefined : json['completionDate'],
|
|
61
|
-
'pricingModel': json['pricingModel'],
|
|
62
|
-
'listPrice': json['listPrice'],
|
|
51
|
+
'pricingModel': json['pricingModel'] == null ? undefined : json['pricingModel'],
|
|
52
|
+
'listPrice': json['listPrice'] == null ? undefined : json['listPrice'],
|
|
63
53
|
'chargeTiming': json['chargeTiming'] == null ? undefined : json['chargeTiming'],
|
|
64
54
|
'listPriceBase': json['listPriceBase'] == null ? undefined : json['listPriceBase'],
|
|
65
55
|
'billingPeriod': json['billingPeriod'] == null ? undefined : json['billingPeriod'],
|
|
@@ -69,7 +59,7 @@ function ChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
59
|
'prepaymentPeriods': json['prepaymentPeriods'] == null ? undefined : json['prepaymentPeriods'],
|
|
70
60
|
'prepaymentAmount': json['prepaymentAmount'] == null ? undefined : json['prepaymentAmount'],
|
|
71
61
|
'unitOfMeasure': json['unitOfMeasure'] == null ? undefined : json['unitOfMeasure'],
|
|
72
|
-
'includedUnits': json['includedUnits'],
|
|
62
|
+
'includedUnits': json['includedUnits'] == null ? undefined : json['includedUnits'],
|
|
73
63
|
'unusedPrepaymentUnits': json['unusedPrepaymentUnits'] == null ? undefined : json['unusedPrepaymentUnits'],
|
|
74
64
|
'tiers': json['tiers'] == null ? undefined : (json['tiers'].map(charge_tier_1.ChargeTierFromJSON)),
|
|
75
65
|
'backchargeCurrentPeriod': json['backchargeCurrentPeriod'] == null ? undefined : json['backchargeCurrentPeriod'],
|
|
@@ -80,7 +70,7 @@ function ChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
80
70
|
'refillPrepaidUnitsFor': json['refillPrepaidUnitsFor'] == null ? undefined : json['refillPrepaidUnitsFor'],
|
|
81
71
|
'prepaidUnitsExpiry': json['prepaidUnitsExpiry'] == null ? undefined : json['prepaidUnitsExpiry'],
|
|
82
72
|
'refundUnitsOnCancel': json['refundUnitsOnCancel'] == null ? undefined : json['refundUnitsOnCancel'],
|
|
83
|
-
'defaultFromProduct': json['defaultFromProduct'],
|
|
73
|
+
'defaultFromProduct': json['defaultFromProduct'] == null ? undefined : json['defaultFromProduct'],
|
|
84
74
|
'revenueRuleId': json['revenueRuleId'] == null ? undefined : json['revenueRuleId'],
|
|
85
75
|
'recognitionStartDate': json['recognitionStartDate'] == null ? undefined : json['recognitionStartDate'],
|
|
86
76
|
'transactionPostingEntries': json['transactionPostingEntries'] == null ? undefined : (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Address } from './address';
|
|
13
|
+
import type { UploadedDocument } from './uploaded-document';
|
|
13
14
|
import type { Customer } from './customer';
|
|
14
15
|
import type { Org } from './org';
|
|
15
16
|
import type { Communication } from './communication';
|
|
@@ -127,6 +128,12 @@ export interface Contact {
|
|
|
127
128
|
* @memberof Contact
|
|
128
129
|
*/
|
|
129
130
|
communications?: Array<Communication>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {Array<UploadedDocument>}
|
|
134
|
+
* @memberof Contact
|
|
135
|
+
*/
|
|
136
|
+
documents?: Array<UploadedDocument>;
|
|
130
137
|
}
|
|
131
138
|
/**
|
|
132
139
|
* Check if a given object implements the Contact interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../src/generated/models/contact.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAO3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAA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EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;IACV;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,OAAO,CAgBjE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAElD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,OAAO,CA0BrF;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAEhD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2BpG"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ContactToJSONTyped = exports.ContactToJSON = exports.ContactFromJSONTyped = exports.ContactFromJSON = exports.instanceOfContact = void 0;
|
|
17
17
|
const address_1 = require("./address");
|
|
18
|
+
const uploaded_document_1 = require("./uploaded-document");
|
|
18
19
|
const customer_1 = require("./customer");
|
|
19
20
|
const org_1 = require("./org");
|
|
20
21
|
const communication_1 = require("./communication");
|
|
@@ -80,6 +81,7 @@ function ContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
80
81
|
'address': json['address'] == null ? undefined : (0, address_1.AddressFromJSON)(json['address']),
|
|
81
82
|
'addressId': json['addressId'],
|
|
82
83
|
'communications': json['communications'] == null ? undefined : (json['communications'].map(communication_1.CommunicationFromJSON)),
|
|
84
|
+
'documents': json['documents'] == null ? undefined : (json['documents'].map(uploaded_document_1.UploadedDocumentFromJSON)),
|
|
83
85
|
};
|
|
84
86
|
}
|
|
85
87
|
exports.ContactFromJSONTyped = ContactFromJSONTyped;
|
|
@@ -110,6 +112,7 @@ function ContactToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
110
112
|
'address': (0, address_1.AddressToJSON)(value['address']),
|
|
111
113
|
'addressId': value['addressId'],
|
|
112
114
|
'communications': value['communications'] == null ? undefined : (value['communications'].map(communication_1.CommunicationToJSON)),
|
|
115
|
+
'documents': value['documents'] == null ? undefined : (value['documents'].map(uploaded_document_1.UploadedDocumentToJSON)),
|
|
113
116
|
};
|
|
114
117
|
}
|
|
115
118
|
exports.ContactToJSONTyped = ContactToJSONTyped;
|
|
@@ -40,7 +40,7 @@ export interface CreateCharge {
|
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof CreateCharge
|
|
42
42
|
*/
|
|
43
|
-
type
|
|
43
|
+
type?: string;
|
|
44
44
|
/**
|
|
45
45
|
* timing of one-time charge, to process at start of contract or termination
|
|
46
46
|
* @type {string}
|
|
@@ -70,13 +70,13 @@ export interface CreateCharge {
|
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof CreateCharge
|
|
72
72
|
*/
|
|
73
|
-
pricingModel
|
|
73
|
+
pricingModel?: string;
|
|
74
74
|
/**
|
|
75
75
|
* Original unit price of charge
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof CreateCharge
|
|
78
78
|
*/
|
|
79
|
-
listPrice
|
|
79
|
+
listPrice?: string;
|
|
80
80
|
/**
|
|
81
81
|
* For recurring charges, time of charges
|
|
82
82
|
* @type {string}
|
|
@@ -136,7 +136,7 @@ export interface CreateCharge {
|
|
|
136
136
|
* @type {number}
|
|
137
137
|
* @memberof CreateCharge
|
|
138
138
|
*/
|
|
139
|
-
includedUnits
|
|
139
|
+
includedUnits?: number;
|
|
140
140
|
/**
|
|
141
141
|
* Unused prepayment units remaining for charge
|
|
142
142
|
* @type {number}
|
|
@@ -202,7 +202,7 @@ export interface CreateCharge {
|
|
|
202
202
|
* @type {boolean}
|
|
203
203
|
* @memberof CreateCharge
|
|
204
204
|
*/
|
|
205
|
-
defaultFromProduct
|
|
205
|
+
defaultFromProduct?: boolean;
|
|
206
206
|
/**
|
|
207
207
|
* Revenue Rule ID
|
|
208
208
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"create-charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD;;;;GAIG;AACH,M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C,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CAChE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAI3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAyC/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,CA0C9G"}
|
|
@@ -24,16 +24,6 @@ function instanceOfCreateCharge(value) {
|
|
|
24
24
|
return false;
|
|
25
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('pricingModel' in value) || value['pricingModel'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('listPrice' in value) || value['listPrice'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('includedUnits' in value) || value['includedUnits'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('defaultFromProduct' in value) || value['defaultFromProduct'] === undefined)
|
|
36
|
-
return false;
|
|
37
27
|
return true;
|
|
38
28
|
}
|
|
39
29
|
exports.instanceOfCreateCharge = instanceOfCreateCharge;
|
|
@@ -49,13 +39,13 @@ function CreateChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
39
|
'productId': json['productId'],
|
|
50
40
|
'name': json['name'],
|
|
51
41
|
'description': json['description'] == null ? undefined : json['description'],
|
|
52
|
-
'type': json['type'],
|
|
42
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
53
43
|
'timing': json['timing'] == null ? undefined : json['timing'],
|
|
54
44
|
'effectiveDate': json['effectiveDate'] == null ? undefined : json['effectiveDate'],
|
|
55
45
|
'billingDate': json['billingDate'] == null ? undefined : json['billingDate'],
|
|
56
46
|
'completionDate': json['completionDate'] == null ? undefined : json['completionDate'],
|
|
57
|
-
'pricingModel': json['pricingModel'],
|
|
58
|
-
'listPrice': json['listPrice'],
|
|
47
|
+
'pricingModel': json['pricingModel'] == null ? undefined : json['pricingModel'],
|
|
48
|
+
'listPrice': json['listPrice'] == null ? undefined : json['listPrice'],
|
|
59
49
|
'chargeTiming': json['chargeTiming'] == null ? undefined : json['chargeTiming'],
|
|
60
50
|
'listPriceBase': json['listPriceBase'] == null ? undefined : json['listPriceBase'],
|
|
61
51
|
'billingPeriod': json['billingPeriod'] == null ? undefined : json['billingPeriod'],
|
|
@@ -65,7 +55,7 @@ function CreateChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
55
|
'prepaymentPeriods': json['prepaymentPeriods'] == null ? undefined : json['prepaymentPeriods'],
|
|
66
56
|
'prepaymentAmount': json['prepaymentAmount'] == null ? undefined : json['prepaymentAmount'],
|
|
67
57
|
'unitOfMeasure': json['unitOfMeasure'] == null ? undefined : json['unitOfMeasure'],
|
|
68
|
-
'includedUnits': json['includedUnits'],
|
|
58
|
+
'includedUnits': json['includedUnits'] == null ? undefined : json['includedUnits'],
|
|
69
59
|
'unusedPrepaymentUnits': json['unusedPrepaymentUnits'] == null ? undefined : json['unusedPrepaymentUnits'],
|
|
70
60
|
'tiers': json['tiers'] == null ? undefined : (json['tiers'].map(charge_tier_1.ChargeTierFromJSON)),
|
|
71
61
|
'backchargeCurrentPeriod': json['backchargeCurrentPeriod'] == null ? undefined : json['backchargeCurrentPeriod'],
|
|
@@ -76,7 +66,7 @@ function CreateChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
66
|
'refillPrepaidUnitsFor': json['refillPrepaidUnitsFor'] == null ? undefined : json['refillPrepaidUnitsFor'],
|
|
77
67
|
'prepaidUnitsExpiry': json['prepaidUnitsExpiry'] == null ? undefined : json['prepaidUnitsExpiry'],
|
|
78
68
|
'refundUnitsOnCancel': json['refundUnitsOnCancel'] == null ? undefined : json['refundUnitsOnCancel'],
|
|
79
|
-
'defaultFromProduct': json['defaultFromProduct'],
|
|
69
|
+
'defaultFromProduct': json['defaultFromProduct'] == null ? undefined : json['defaultFromProduct'],
|
|
80
70
|
'revenueRuleId': json['revenueRuleId'] == null ? undefined : json['revenueRuleId'],
|
|
81
71
|
'recognitionStartDate': json['recognitionStartDate'] == null ? undefined : json['recognitionStartDate'],
|
|
82
72
|
'transactionPostingEntries': json['transactionPostingEntries'] == null ? undefined : (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
@@ -23,18 +23,6 @@ export interface CreateDocument {
|
|
|
23
23
|
* @memberof CreateDocument
|
|
24
24
|
*/
|
|
25
25
|
templateId: string;
|
|
26
|
-
/**
|
|
27
|
-
* The ID of the workflow that created the document.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof CreateDocument
|
|
30
|
-
*/
|
|
31
|
-
workflowId?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The ID of the workflow step that created the document.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof CreateDocument
|
|
36
|
-
*/
|
|
37
|
-
workflowStepId?: string;
|
|
38
26
|
/**
|
|
39
27
|
* The signers of the template
|
|
40
28
|
* @type {Array<DocumentSigner>}
|
|
@@ -47,6 +35,12 @@ export interface CreateDocument {
|
|
|
47
35
|
* @memberof CreateDocument
|
|
48
36
|
*/
|
|
49
37
|
fields?: Array<DocumentField>;
|
|
38
|
+
/**
|
|
39
|
+
* Metadata for the document
|
|
40
|
+
* @type {object}
|
|
41
|
+
* @memberof CreateDocument
|
|
42
|
+
*/
|
|
43
|
+
metadata?: object;
|
|
50
44
|
}
|
|
51
45
|
/**
|
|
52
46
|
* Check if a given object implements the CreateDocument interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-document.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"create-document.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQtD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
|
|
@@ -35,10 +35,9 @@ function CreateDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'templateId': json['templateId'],
|
|
38
|
-
'workflowId': json['workflowId'] == null ? undefined : json['workflowId'],
|
|
39
|
-
'workflowStepId': json['workflowStepId'] == null ? undefined : json['workflowStepId'],
|
|
40
38
|
'signers': json['signers'] == null ? undefined : (json['signers'].map(document_signer_1.DocumentSignerFromJSON)),
|
|
41
39
|
'fields': json['fields'] == null ? undefined : (json['fields'].map(document_field_1.DocumentFieldFromJSON)),
|
|
40
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
42
41
|
};
|
|
43
42
|
}
|
|
44
43
|
exports.CreateDocumentFromJSONTyped = CreateDocumentFromJSONTyped;
|
|
@@ -52,10 +51,9 @@ function CreateDocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
51
|
}
|
|
53
52
|
return {
|
|
54
53
|
'templateId': value['templateId'],
|
|
55
|
-
'workflowId': value['workflowId'],
|
|
56
|
-
'workflowStepId': value['workflowStepId'],
|
|
57
54
|
'signers': value['signers'] == null ? undefined : (value['signers'].map(document_signer_1.DocumentSignerToJSON)),
|
|
58
55
|
'fields': value['fields'] == null ? undefined : (value['fields'].map(document_field_1.DocumentFieldToJSON)),
|
|
56
|
+
'metadata': value['metadata'],
|
|
59
57
|
};
|
|
60
58
|
}
|
|
61
59
|
exports.CreateDocumentToJSONTyped = CreateDocumentToJSONTyped;
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { TransactionPostingEntries } from './transaction-posting-entries';
|
|
13
|
+
import type { ChargeTier } from './charge-tier';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -22,29 +24,209 @@ export interface CreatePlanCharge {
|
|
|
22
24
|
*/
|
|
23
25
|
productId: string;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
27
|
+
* Name of charge
|
|
26
28
|
* @type {string}
|
|
27
29
|
* @memberof CreatePlanCharge
|
|
28
30
|
*/
|
|
29
31
|
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Description of charge
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePlanCharge
|
|
36
|
+
*/
|
|
37
|
+
description?: string;
|
|
30
38
|
/**
|
|
31
39
|
* Type of charge
|
|
32
40
|
* @type {string}
|
|
33
41
|
* @memberof CreatePlanCharge
|
|
34
42
|
*/
|
|
35
|
-
type
|
|
43
|
+
type?: string;
|
|
44
|
+
/**
|
|
45
|
+
* timing of one-time charge, to process at start of contract or termination
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreatePlanCharge
|
|
48
|
+
*/
|
|
49
|
+
timing?: string;
|
|
36
50
|
/**
|
|
37
|
-
*
|
|
51
|
+
* For one-time charges, date charge goes into effect; for custom billing period, provide Billing Period Name
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreatePlanCharge
|
|
54
|
+
*/
|
|
55
|
+
effectiveDate?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Defines trigger date after which the one-time charges should be processed
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreatePlanCharge
|
|
60
|
+
*/
|
|
61
|
+
billingDate?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Date can drive bililng and/or revenue recognition upon completion of task
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreatePlanCharge
|
|
66
|
+
*/
|
|
67
|
+
completionDate?: string;
|
|
68
|
+
/**
|
|
69
|
+
* How charge is priced
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CreatePlanCharge
|
|
72
|
+
*/
|
|
73
|
+
pricingModel?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Original unit price of charge
|
|
38
76
|
* @type {string}
|
|
39
77
|
* @memberof CreatePlanCharge
|
|
40
78
|
*/
|
|
41
79
|
listPrice?: string;
|
|
42
80
|
/**
|
|
43
|
-
*
|
|
81
|
+
* For recurring charges, time of charges
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreatePlanCharge
|
|
84
|
+
*/
|
|
85
|
+
chargeTiming?: string;
|
|
86
|
+
/**
|
|
87
|
+
* List price base of charge
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof CreatePlanCharge
|
|
90
|
+
*/
|
|
91
|
+
listPriceBase?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Billing period
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof CreatePlanCharge
|
|
96
|
+
*/
|
|
97
|
+
billingPeriod?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Which day of the month or week Charge is invoiced
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof CreatePlanCharge
|
|
102
|
+
*/
|
|
103
|
+
billingDay?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Determine boundary of Charge period
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof CreatePlanCharge
|
|
108
|
+
*/
|
|
109
|
+
billingPeriodStartAlignment?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Charge for partial periods
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof CreatePlanCharge
|
|
114
|
+
*/
|
|
115
|
+
proratePartialPeriods?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Number of periods/units to charge
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof CreatePlanCharge
|
|
120
|
+
*/
|
|
121
|
+
prepaymentPeriods?: number;
|
|
122
|
+
/**
|
|
123
|
+
* If there is a number of prepayment units you request
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof CreatePlanCharge
|
|
126
|
+
*/
|
|
127
|
+
prepaymentAmount?: number;
|
|
128
|
+
/**
|
|
129
|
+
* For usage charges, unit of measure for charge
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof CreatePlanCharge
|
|
132
|
+
*/
|
|
133
|
+
unitOfMeasure?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Number of units included in plan for usage based charges (can be float)
|
|
136
|
+
* @type {number}
|
|
137
|
+
* @memberof CreatePlanCharge
|
|
138
|
+
*/
|
|
139
|
+
includedUnits?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Unused prepayment units remaining for charge
|
|
142
|
+
* @type {number}
|
|
143
|
+
* @memberof CreatePlanCharge
|
|
144
|
+
*/
|
|
145
|
+
unusedPrepaymentUnits?: number;
|
|
146
|
+
/**
|
|
147
|
+
* For tiered/volume pricing, each tier will represent price of specific units in given range
|
|
148
|
+
* @type {Array<ChargeTier>}
|
|
149
|
+
* @memberof CreatePlanCharge
|
|
150
|
+
*/
|
|
151
|
+
tiers?: Array<ChargeTier>;
|
|
152
|
+
/**
|
|
153
|
+
* Determines proration logic
|
|
154
|
+
* @type {boolean}
|
|
155
|
+
* @memberof CreatePlanCharge
|
|
156
|
+
*/
|
|
157
|
+
backchargeCurrentPeriod?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Custom fields on the invoice
|
|
160
|
+
* @type {object}
|
|
161
|
+
* @memberof CreatePlanCharge
|
|
162
|
+
*/
|
|
163
|
+
customFields?: object;
|
|
164
|
+
/**
|
|
165
|
+
* Ability to bill your customers for a present number of units
|
|
166
|
+
* @type {boolean}
|
|
167
|
+
* @memberof CreatePlanCharge
|
|
168
|
+
*/
|
|
169
|
+
prepaidUnitsEnable?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Ability to automatically refill number of prepaid units
|
|
172
|
+
* @type {boolean}
|
|
173
|
+
* @memberof CreatePlanCharge
|
|
174
|
+
*/
|
|
175
|
+
autoRefillPrepaymentUnits?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Refill quantity
|
|
178
|
+
* @type {number}
|
|
179
|
+
* @memberof CreatePlanCharge
|
|
180
|
+
*/
|
|
181
|
+
refillQty?: number;
|
|
182
|
+
/**
|
|
183
|
+
* Prepayment refill period
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof CreatePlanCharge
|
|
186
|
+
*/
|
|
187
|
+
refillPrepaidUnitsFor?: string;
|
|
188
|
+
/**
|
|
189
|
+
* Remaining balance of prepaid units
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof CreatePlanCharge
|
|
192
|
+
*/
|
|
193
|
+
prepaidUnitsExpiry?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Remaining balance of prepaid units to be refunded
|
|
196
|
+
* @type {boolean}
|
|
197
|
+
* @memberof CreatePlanCharge
|
|
198
|
+
*/
|
|
199
|
+
refundUnitsOnCancel?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @type {boolean}
|
|
203
|
+
* @memberof CreatePlanCharge
|
|
204
|
+
*/
|
|
205
|
+
defaultFromProduct?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* Revenue Rule ID
|
|
208
|
+
* @type {string}
|
|
209
|
+
* @memberof CreatePlanCharge
|
|
210
|
+
*/
|
|
211
|
+
revenueRuleId?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Date when revenue recognition will begin
|
|
214
|
+
* @type {string}
|
|
215
|
+
* @memberof CreatePlanCharge
|
|
216
|
+
*/
|
|
217
|
+
recognitionStartDate?: string;
|
|
218
|
+
/**
|
|
219
|
+
* Transaction type
|
|
220
|
+
* @type {Array<TransactionPostingEntries>}
|
|
221
|
+
* @memberof CreatePlanCharge
|
|
222
|
+
*/
|
|
223
|
+
transactionPostingEntries?: Array<TransactionPostingEntries>;
|
|
224
|
+
/**
|
|
225
|
+
* Charge ID
|
|
44
226
|
* @type {string}
|
|
45
227
|
* @memberof CreatePlanCharge
|
|
46
228
|
*/
|
|
47
|
-
|
|
229
|
+
id?: string;
|
|
48
230
|
}
|
|
49
231
|
/**
|
|
50
232
|
* Check if a given object implements the CreatePlanCharge interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-plan-charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-plan-charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"create-plan-charge.d.ts","sourceRoot":"","sources":["../../../src/generated/models/create-plan-charge.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAO/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;I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CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7D;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAInF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CA0CvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2CtH"}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CreatePlanChargeToJSONTyped = exports.CreatePlanChargeToJSON = exports.CreatePlanChargeFromJSONTyped = exports.CreatePlanChargeFromJSON = exports.instanceOfCreatePlanCharge = void 0;
|
|
17
|
+
const transaction_posting_entries_1 = require("./transaction-posting-entries");
|
|
18
|
+
const charge_tier_1 = require("./charge-tier");
|
|
17
19
|
/**
|
|
18
20
|
* Check if a given object implements the CreatePlanCharge interface.
|
|
19
21
|
*/
|
|
@@ -22,10 +24,6 @@ function instanceOfCreatePlanCharge(value) {
|
|
|
22
24
|
return false;
|
|
23
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
24
26
|
return false;
|
|
25
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('billingPeriod' in value) || value['billingPeriod'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
return true;
|
|
30
28
|
}
|
|
31
29
|
exports.instanceOfCreatePlanCharge = instanceOfCreatePlanCharge;
|
|
@@ -40,9 +38,39 @@ function CreatePlanChargeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
38
|
return {
|
|
41
39
|
'productId': json['productId'],
|
|
42
40
|
'name': json['name'],
|
|
43
|
-
'
|
|
41
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
42
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
43
|
+
'timing': json['timing'] == null ? undefined : json['timing'],
|
|
44
|
+
'effectiveDate': json['effectiveDate'] == null ? undefined : json['effectiveDate'],
|
|
45
|
+
'billingDate': json['billingDate'] == null ? undefined : json['billingDate'],
|
|
46
|
+
'completionDate': json['completionDate'] == null ? undefined : json['completionDate'],
|
|
47
|
+
'pricingModel': json['pricingModel'] == null ? undefined : json['pricingModel'],
|
|
44
48
|
'listPrice': json['listPrice'] == null ? undefined : json['listPrice'],
|
|
45
|
-
'
|
|
49
|
+
'chargeTiming': json['chargeTiming'] == null ? undefined : json['chargeTiming'],
|
|
50
|
+
'listPriceBase': json['listPriceBase'] == null ? undefined : json['listPriceBase'],
|
|
51
|
+
'billingPeriod': json['billingPeriod'] == null ? undefined : json['billingPeriod'],
|
|
52
|
+
'billingDay': json['billingDay'] == null ? undefined : json['billingDay'],
|
|
53
|
+
'billingPeriodStartAlignment': json['billingPeriodStartAlignment'] == null ? undefined : json['billingPeriodStartAlignment'],
|
|
54
|
+
'proratePartialPeriods': json['proratePartialPeriods'] == null ? undefined : json['proratePartialPeriods'],
|
|
55
|
+
'prepaymentPeriods': json['prepaymentPeriods'] == null ? undefined : json['prepaymentPeriods'],
|
|
56
|
+
'prepaymentAmount': json['prepaymentAmount'] == null ? undefined : json['prepaymentAmount'],
|
|
57
|
+
'unitOfMeasure': json['unitOfMeasure'] == null ? undefined : json['unitOfMeasure'],
|
|
58
|
+
'includedUnits': json['includedUnits'] == null ? undefined : json['includedUnits'],
|
|
59
|
+
'unusedPrepaymentUnits': json['unusedPrepaymentUnits'] == null ? undefined : json['unusedPrepaymentUnits'],
|
|
60
|
+
'tiers': json['tiers'] == null ? undefined : (json['tiers'].map(charge_tier_1.ChargeTierFromJSON)),
|
|
61
|
+
'backchargeCurrentPeriod': json['backchargeCurrentPeriod'] == null ? undefined : json['backchargeCurrentPeriod'],
|
|
62
|
+
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
63
|
+
'prepaidUnitsEnable': json['prepaidUnitsEnable'] == null ? undefined : json['prepaidUnitsEnable'],
|
|
64
|
+
'autoRefillPrepaymentUnits': json['autoRefillPrepaymentUnits'] == null ? undefined : json['autoRefillPrepaymentUnits'],
|
|
65
|
+
'refillQty': json['refillQty'] == null ? undefined : json['refillQty'],
|
|
66
|
+
'refillPrepaidUnitsFor': json['refillPrepaidUnitsFor'] == null ? undefined : json['refillPrepaidUnitsFor'],
|
|
67
|
+
'prepaidUnitsExpiry': json['prepaidUnitsExpiry'] == null ? undefined : json['prepaidUnitsExpiry'],
|
|
68
|
+
'refundUnitsOnCancel': json['refundUnitsOnCancel'] == null ? undefined : json['refundUnitsOnCancel'],
|
|
69
|
+
'defaultFromProduct': json['defaultFromProduct'] == null ? undefined : json['defaultFromProduct'],
|
|
70
|
+
'revenueRuleId': json['revenueRuleId'] == null ? undefined : json['revenueRuleId'],
|
|
71
|
+
'recognitionStartDate': json['recognitionStartDate'] == null ? undefined : json['recognitionStartDate'],
|
|
72
|
+
'transactionPostingEntries': json['transactionPostingEntries'] == null ? undefined : (json['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesFromJSON)),
|
|
73
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
46
74
|
};
|
|
47
75
|
}
|
|
48
76
|
exports.CreatePlanChargeFromJSONTyped = CreatePlanChargeFromJSONTyped;
|
|
@@ -57,9 +85,39 @@ function CreatePlanChargeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
57
85
|
return {
|
|
58
86
|
'productId': value['productId'],
|
|
59
87
|
'name': value['name'],
|
|
88
|
+
'description': value['description'],
|
|
60
89
|
'type': value['type'],
|
|
90
|
+
'timing': value['timing'],
|
|
91
|
+
'effectiveDate': value['effectiveDate'],
|
|
92
|
+
'billingDate': value['billingDate'],
|
|
93
|
+
'completionDate': value['completionDate'],
|
|
94
|
+
'pricingModel': value['pricingModel'],
|
|
61
95
|
'listPrice': value['listPrice'],
|
|
96
|
+
'chargeTiming': value['chargeTiming'],
|
|
97
|
+
'listPriceBase': value['listPriceBase'],
|
|
62
98
|
'billingPeriod': value['billingPeriod'],
|
|
99
|
+
'billingDay': value['billingDay'],
|
|
100
|
+
'billingPeriodStartAlignment': value['billingPeriodStartAlignment'],
|
|
101
|
+
'proratePartialPeriods': value['proratePartialPeriods'],
|
|
102
|
+
'prepaymentPeriods': value['prepaymentPeriods'],
|
|
103
|
+
'prepaymentAmount': value['prepaymentAmount'],
|
|
104
|
+
'unitOfMeasure': value['unitOfMeasure'],
|
|
105
|
+
'includedUnits': value['includedUnits'],
|
|
106
|
+
'unusedPrepaymentUnits': value['unusedPrepaymentUnits'],
|
|
107
|
+
'tiers': value['tiers'] == null ? undefined : (value['tiers'].map(charge_tier_1.ChargeTierToJSON)),
|
|
108
|
+
'backchargeCurrentPeriod': value['backchargeCurrentPeriod'],
|
|
109
|
+
'customFields': value['customFields'],
|
|
110
|
+
'prepaidUnitsEnable': value['prepaidUnitsEnable'],
|
|
111
|
+
'autoRefillPrepaymentUnits': value['autoRefillPrepaymentUnits'],
|
|
112
|
+
'refillQty': value['refillQty'],
|
|
113
|
+
'refillPrepaidUnitsFor': value['refillPrepaidUnitsFor'],
|
|
114
|
+
'prepaidUnitsExpiry': value['prepaidUnitsExpiry'],
|
|
115
|
+
'refundUnitsOnCancel': value['refundUnitsOnCancel'],
|
|
116
|
+
'defaultFromProduct': value['defaultFromProduct'],
|
|
117
|
+
'revenueRuleId': value['revenueRuleId'],
|
|
118
|
+
'recognitionStartDate': value['recognitionStartDate'],
|
|
119
|
+
'transactionPostingEntries': value['transactionPostingEntries'] == null ? undefined : (value['transactionPostingEntries'].map(transaction_posting_entries_1.TransactionPostingEntriesToJSON)),
|
|
120
|
+
'id': value['id'],
|
|
63
121
|
};
|
|
64
122
|
}
|
|
65
123
|
exports.CreatePlanChargeToJSONTyped = CreatePlanChargeToJSONTyped;
|