@equisoft/billing-sdk 0.0.2-snapshot.20250930230514
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/.openapi-generator/FILES +41 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +13 -0
- package/.tool-versions +3 -0
- package/README.md +46 -0
- package/dist/apis/DistributorV1Api.d.ts +37 -0
- package/dist/apis/DistributorV1Api.js +102 -0
- package/dist/apis/OrganizationV1Api.d.ts +180 -0
- package/dist/apis/OrganizationV1Api.js +566 -0
- package/dist/apis/UserV1Api.d.ts +63 -0
- package/dist/apis/UserV1Api.js +180 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +21 -0
- package/dist/esm/apis/DistributorV1Api.d.ts +37 -0
- package/dist/esm/apis/DistributorV1Api.js +98 -0
- package/dist/esm/apis/OrganizationV1Api.d.ts +180 -0
- package/dist/esm/apis/OrganizationV1Api.js +562 -0
- package/dist/esm/apis/UserV1Api.d.ts +63 -0
- package/dist/esm/apis/UserV1Api.js +176 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ErrorCodes.d.ts +31 -0
- package/dist/esm/models/ErrorCodes.js +49 -0
- package/dist/esm/models/ErrorSchema.d.ts +39 -0
- package/dist/esm/models/ErrorSchema.js +46 -0
- package/dist/esm/models/SubscriptionCreationMode.d.ts +26 -0
- package/dist/esm/models/SubscriptionCreationMode.js +44 -0
- package/dist/esm/models/V1BillingStatus.d.ts +48 -0
- package/dist/esm/models/V1BillingStatus.js +66 -0
- package/dist/esm/models/V1BillingType.d.ts +30 -0
- package/dist/esm/models/V1BillingType.js +48 -0
- package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.d.ts +44 -0
- package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.js +49 -0
- package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.d.ts +44 -0
- package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.js +49 -0
- package/dist/esm/models/V1ChargebeeV1PortalSession.d.ts +44 -0
- package/dist/esm/models/V1ChargebeeV1PortalSession.js +49 -0
- package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.d.ts +44 -0
- package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.js +49 -0
- package/dist/esm/models/V1CollectChargebeeV1Payment.d.ts +32 -0
- package/dist/esm/models/V1CollectChargebeeV1Payment.js +43 -0
- package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +32 -0
- package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.js +41 -0
- package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +38 -0
- package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +47 -0
- package/dist/esm/models/V1Distributor.d.ts +50 -0
- package/dist/esm/models/V1Distributor.js +53 -0
- package/dist/esm/models/V1DistributorList.d.ts +33 -0
- package/dist/esm/models/V1DistributorList.js +44 -0
- package/dist/esm/models/V1MigrateLegacyBillingPayload.d.ts +38 -0
- package/dist/esm/models/V1MigrateLegacyBillingPayload.js +47 -0
- package/dist/esm/models/V1Organization.d.ts +57 -0
- package/dist/esm/models/V1Organization.js +54 -0
- package/dist/esm/models/V1OrganizationChargebeeV1Status.d.ts +79 -0
- package/dist/esm/models/V1OrganizationChargebeeV1Status.js +72 -0
- package/dist/esm/models/V1OrganizationStatus.d.ts +59 -0
- package/dist/esm/models/V1OrganizationStatus.js +58 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.d.ts +44 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.js +49 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1User.d.ts +46 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1User.js +53 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +40 -0
- package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +58 -0
- package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.d.ts +32 -0
- package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.js +43 -0
- package/dist/esm/models/V1SetChargebeeV1Payload.d.ts +45 -0
- package/dist/esm/models/V1SetChargebeeV1Payload.js +52 -0
- package/dist/esm/models/V1SetLegacyBillingPayload.d.ts +45 -0
- package/dist/esm/models/V1SetLegacyBillingPayload.js +50 -0
- package/dist/esm/models/V1SetOrganisationDistributorPayload.d.ts +32 -0
- package/dist/esm/models/V1SetOrganisationDistributorPayload.js +43 -0
- package/dist/esm/models/V1SetUserNonBillablePayload.d.ts +32 -0
- package/dist/esm/models/V1SetUserNonBillablePayload.js +43 -0
- package/dist/esm/models/V1User.d.ts +50 -0
- package/dist/esm/models/V1User.js +55 -0
- package/dist/esm/models/V1UserServiceStatus.d.ts +44 -0
- package/dist/esm/models/V1UserServiceStatus.js +51 -0
- package/dist/esm/models/V1UserStatus.d.ts +33 -0
- package/dist/esm/models/V1UserStatus.js +44 -0
- package/dist/esm/models/index.d.ts +29 -0
- package/dist/esm/models/index.js +31 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ErrorCodes.d.ts +31 -0
- package/dist/models/ErrorCodes.js +57 -0
- package/dist/models/ErrorSchema.d.ts +39 -0
- package/dist/models/ErrorSchema.js +53 -0
- package/dist/models/SubscriptionCreationMode.d.ts +26 -0
- package/dist/models/SubscriptionCreationMode.js +52 -0
- package/dist/models/V1BillingStatus.d.ts +48 -0
- package/dist/models/V1BillingStatus.js +74 -0
- package/dist/models/V1BillingType.d.ts +30 -0
- package/dist/models/V1BillingType.js +56 -0
- package/dist/models/V1ChargebeeV1NotPaidInvoice.d.ts +44 -0
- package/dist/models/V1ChargebeeV1NotPaidInvoice.js +56 -0
- package/dist/models/V1ChargebeeV1PaymentDueInvoice.d.ts +44 -0
- package/dist/models/V1ChargebeeV1PaymentDueInvoice.js +56 -0
- package/dist/models/V1ChargebeeV1PortalSession.d.ts +44 -0
- package/dist/models/V1ChargebeeV1PortalSession.js +56 -0
- package/dist/models/V1ChargebeeV1UnpaidInvoice.d.ts +44 -0
- package/dist/models/V1ChargebeeV1UnpaidInvoice.js +56 -0
- package/dist/models/V1CollectChargebeeV1Payment.d.ts +32 -0
- package/dist/models/V1CollectChargebeeV1Payment.js +50 -0
- package/dist/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +32 -0
- package/dist/models/V1CreateChargebeeV1PortalSessionPayload.js +48 -0
- package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +38 -0
- package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +54 -0
- package/dist/models/V1Distributor.d.ts +50 -0
- package/dist/models/V1Distributor.js +60 -0
- package/dist/models/V1DistributorList.d.ts +33 -0
- package/dist/models/V1DistributorList.js +51 -0
- package/dist/models/V1MigrateLegacyBillingPayload.d.ts +38 -0
- package/dist/models/V1MigrateLegacyBillingPayload.js +54 -0
- package/dist/models/V1Organization.d.ts +57 -0
- package/dist/models/V1Organization.js +61 -0
- package/dist/models/V1OrganizationChargebeeV1Status.d.ts +79 -0
- package/dist/models/V1OrganizationChargebeeV1Status.js +79 -0
- package/dist/models/V1OrganizationStatus.d.ts +59 -0
- package/dist/models/V1OrganizationStatus.js +65 -0
- package/dist/models/V1OrganizationStatusChargebeeV1Addon.d.ts +44 -0
- package/dist/models/V1OrganizationStatusChargebeeV1Addon.js +56 -0
- package/dist/models/V1OrganizationStatusChargebeeV1User.d.ts +46 -0
- package/dist/models/V1OrganizationStatusChargebeeV1User.js +60 -0
- package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +40 -0
- package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +66 -0
- package/dist/models/V1SetChargebeeV1BillingPayorPayload.d.ts +32 -0
- package/dist/models/V1SetChargebeeV1BillingPayorPayload.js +50 -0
- package/dist/models/V1SetChargebeeV1Payload.d.ts +45 -0
- package/dist/models/V1SetChargebeeV1Payload.js +59 -0
- package/dist/models/V1SetLegacyBillingPayload.d.ts +45 -0
- package/dist/models/V1SetLegacyBillingPayload.js +57 -0
- package/dist/models/V1SetOrganisationDistributorPayload.d.ts +32 -0
- package/dist/models/V1SetOrganisationDistributorPayload.js +50 -0
- package/dist/models/V1SetUserNonBillablePayload.d.ts +32 -0
- package/dist/models/V1SetUserNonBillablePayload.js +50 -0
- package/dist/models/V1User.d.ts +50 -0
- package/dist/models/V1User.js +62 -0
- package/dist/models/V1UserServiceStatus.d.ts +44 -0
- package/dist/models/V1UserServiceStatus.js +58 -0
- package/dist/models/V1UserStatus.d.ts +33 -0
- package/dist/models/V1UserStatus.js +51 -0
- package/dist/models/index.d.ts +29 -0
- package/dist/models/index.js +47 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +22 -0
- package/renovate.json +6 -0
- package/src/apis/DistributorV1Api.ts +117 -0
- package/src/apis/OrganizationV1Api.ts +784 -0
- package/src/apis/UserV1Api.ts +232 -0
- package/src/apis/index.ts +5 -0
- package/src/index.ts +5 -0
- package/src/models/ErrorCodes.ts +59 -0
- package/src/models/ErrorSchema.ts +84 -0
- package/src/models/SubscriptionCreationMode.ts +54 -0
- package/src/models/V1BillingStatus.ts +76 -0
- package/src/models/V1BillingType.ts +58 -0
- package/src/models/V1ChargebeeV1NotPaidInvoice.ts +83 -0
- package/src/models/V1ChargebeeV1PaymentDueInvoice.ts +83 -0
- package/src/models/V1ChargebeeV1PortalSession.ts +83 -0
- package/src/models/V1ChargebeeV1UnpaidInvoice.ts +83 -0
- package/src/models/V1CollectChargebeeV1Payment.ts +66 -0
- package/src/models/V1CreateChargebeeV1PortalSessionPayload.ts +65 -0
- package/src/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.ts +75 -0
- package/src/models/V1Distributor.ts +92 -0
- package/src/models/V1DistributorList.ts +74 -0
- package/src/models/V1MigrateLegacyBillingPayload.ts +75 -0
- package/src/models/V1Organization.ts +109 -0
- package/src/models/V1OrganizationChargebeeV1Status.ts +163 -0
- package/src/models/V1OrganizationStatus.ts +124 -0
- package/src/models/V1OrganizationStatusChargebeeV1Addon.ts +83 -0
- package/src/models/V1OrganizationStatusChargebeeV1User.ts +101 -0
- package/src/models/V1OrganizationStatusChargebeeV1UserBillingStatus.ts +68 -0
- package/src/models/V1SetChargebeeV1BillingPayorPayload.ts +66 -0
- package/src/models/V1SetChargebeeV1Payload.ts +94 -0
- package/src/models/V1SetLegacyBillingPayload.ts +93 -0
- package/src/models/V1SetOrganisationDistributorPayload.ts +66 -0
- package/src/models/V1SetUserNonBillablePayload.ts +66 -0
- package/src/models/V1User.ts +93 -0
- package/src/models/V1UserServiceStatus.ts +84 -0
- package/src/models/V1UserStatus.ts +74 -0
- package/src/models/index.ts +31 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.V1BillingStatus = void 0;
|
|
17
|
+
exports.instanceOfV1BillingStatus = instanceOfV1BillingStatus;
|
|
18
|
+
exports.V1BillingStatusFromJSON = V1BillingStatusFromJSON;
|
|
19
|
+
exports.V1BillingStatusFromJSONTyped = V1BillingStatusFromJSONTyped;
|
|
20
|
+
exports.V1BillingStatusToJSON = V1BillingStatusToJSON;
|
|
21
|
+
exports.V1BillingStatusToJSONTyped = V1BillingStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Billing status of the organization. This is agnostic and complementary to the billingType
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.V1BillingStatus = {
|
|
27
|
+
/**
|
|
28
|
+
* Automatic billing with active subscription
|
|
29
|
+
*/
|
|
30
|
+
ACTIVE_SUBSCRIPTION: 'ACTIVE_SUBSCRIPTION',
|
|
31
|
+
/**
|
|
32
|
+
* Automatic billing without subscription. Waiting customer first payment.
|
|
33
|
+
*/
|
|
34
|
+
NO_SUBSCRIPTION: 'NO_SUBSCRIPTION',
|
|
35
|
+
/**
|
|
36
|
+
* Automatic billing without unpaid invoices
|
|
37
|
+
*/
|
|
38
|
+
UNPAID_SUBSCRIPTION: 'UNPAID_SUBSCRIPTION',
|
|
39
|
+
/**
|
|
40
|
+
* Automatic billing with canceled subscription
|
|
41
|
+
*/
|
|
42
|
+
CANCELLED_SUBSCRIPTION: 'CANCELLED_SUBSCRIPTION',
|
|
43
|
+
/**
|
|
44
|
+
* Manual billing
|
|
45
|
+
*/
|
|
46
|
+
MANUAL: 'MANUAL',
|
|
47
|
+
/**
|
|
48
|
+
* No billing
|
|
49
|
+
*/
|
|
50
|
+
NONE: 'NONE',
|
|
51
|
+
unknown_default_open_api: '11184809'
|
|
52
|
+
};
|
|
53
|
+
function instanceOfV1BillingStatus(value) {
|
|
54
|
+
for (const key in exports.V1BillingStatus) {
|
|
55
|
+
if (Object.prototype.hasOwnProperty.call(exports.V1BillingStatus, key)) {
|
|
56
|
+
if (exports.V1BillingStatus[key] === value) {
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
function V1BillingStatusFromJSON(json) {
|
|
64
|
+
return V1BillingStatusFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function V1BillingStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
function V1BillingStatusToJSON(value) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
function V1BillingStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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
|
+
*/
|
|
16
|
+
export declare const V1BillingType: {
|
|
17
|
+
readonly NONE: "NONE";
|
|
18
|
+
readonly MANUAL: "MANUAL";
|
|
19
|
+
readonly LEGACY_CONNECT: "LEGACY_CONNECT";
|
|
20
|
+
readonly LEGACY_PLAN: "LEGACY_PLAN";
|
|
21
|
+
readonly CHARGEBEE_V1: "CHARGEBEE_V1";
|
|
22
|
+
readonly NON_BILLABLE: "NON_BILLABLE";
|
|
23
|
+
readonly unknown_default_open_api: "11184809";
|
|
24
|
+
};
|
|
25
|
+
export type V1BillingType = typeof V1BillingType[keyof typeof V1BillingType];
|
|
26
|
+
export declare function instanceOfV1BillingType(value: any): boolean;
|
|
27
|
+
export declare function V1BillingTypeFromJSON(json: any): V1BillingType;
|
|
28
|
+
export declare function V1BillingTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1BillingType;
|
|
29
|
+
export declare function V1BillingTypeToJSON(value?: V1BillingType | null): any;
|
|
30
|
+
export declare function V1BillingTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): V1BillingType;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.V1BillingType = void 0;
|
|
17
|
+
exports.instanceOfV1BillingType = instanceOfV1BillingType;
|
|
18
|
+
exports.V1BillingTypeFromJSON = V1BillingTypeFromJSON;
|
|
19
|
+
exports.V1BillingTypeFromJSONTyped = V1BillingTypeFromJSONTyped;
|
|
20
|
+
exports.V1BillingTypeToJSON = V1BillingTypeToJSON;
|
|
21
|
+
exports.V1BillingTypeToJSONTyped = V1BillingTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.V1BillingType = {
|
|
27
|
+
NONE: 'NONE',
|
|
28
|
+
MANUAL: 'MANUAL',
|
|
29
|
+
LEGACY_CONNECT: 'LEGACY_CONNECT',
|
|
30
|
+
LEGACY_PLAN: 'LEGACY_PLAN',
|
|
31
|
+
CHARGEBEE_V1: 'CHARGEBEE_V1',
|
|
32
|
+
NON_BILLABLE: 'NON_BILLABLE',
|
|
33
|
+
unknown_default_open_api: '11184809'
|
|
34
|
+
};
|
|
35
|
+
function instanceOfV1BillingType(value) {
|
|
36
|
+
for (const key in exports.V1BillingType) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(exports.V1BillingType, key)) {
|
|
38
|
+
if (exports.V1BillingType[key] === value) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
function V1BillingTypeFromJSON(json) {
|
|
46
|
+
return V1BillingTypeFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function V1BillingTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
function V1BillingTypeToJSON(value) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function V1BillingTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1ChargebeeV1NotPaidInvoice
|
|
16
|
+
*/
|
|
17
|
+
export interface V1ChargebeeV1NotPaidInvoice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1ChargebeeV1NotPaidInvoice
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Due date of the invoice
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof V1ChargebeeV1NotPaidInvoice
|
|
28
|
+
*/
|
|
29
|
+
dueDate?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The unpaid amount that is due on the invoice in dollars.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof V1ChargebeeV1NotPaidInvoice
|
|
34
|
+
*/
|
|
35
|
+
amountDue: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1ChargebeeV1NotPaidInvoice interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1ChargebeeV1NotPaidInvoice(value: object): value is V1ChargebeeV1NotPaidInvoice;
|
|
41
|
+
export declare function V1ChargebeeV1NotPaidInvoiceFromJSON(json: any): V1ChargebeeV1NotPaidInvoice;
|
|
42
|
+
export declare function V1ChargebeeV1NotPaidInvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1ChargebeeV1NotPaidInvoice;
|
|
43
|
+
export declare function V1ChargebeeV1NotPaidInvoiceToJSON(json: any): V1ChargebeeV1NotPaidInvoice;
|
|
44
|
+
export declare function V1ChargebeeV1NotPaidInvoiceToJSONTyped(value?: V1ChargebeeV1NotPaidInvoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.instanceOfV1ChargebeeV1NotPaidInvoice = instanceOfV1ChargebeeV1NotPaidInvoice;
|
|
17
|
+
exports.V1ChargebeeV1NotPaidInvoiceFromJSON = V1ChargebeeV1NotPaidInvoiceFromJSON;
|
|
18
|
+
exports.V1ChargebeeV1NotPaidInvoiceFromJSONTyped = V1ChargebeeV1NotPaidInvoiceFromJSONTyped;
|
|
19
|
+
exports.V1ChargebeeV1NotPaidInvoiceToJSON = V1ChargebeeV1NotPaidInvoiceToJSON;
|
|
20
|
+
exports.V1ChargebeeV1NotPaidInvoiceToJSONTyped = V1ChargebeeV1NotPaidInvoiceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1ChargebeeV1NotPaidInvoice interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1ChargebeeV1NotPaidInvoice(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('amountDue' in value) || value['amountDue'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function V1ChargebeeV1NotPaidInvoiceFromJSON(json) {
|
|
32
|
+
return V1ChargebeeV1NotPaidInvoiceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function V1ChargebeeV1NotPaidInvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'dueDate': json['dueDate'] == null ? undefined : (new Date(json['dueDate'])),
|
|
41
|
+
'amountDue': json['amountDue'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V1ChargebeeV1NotPaidInvoiceToJSON(json) {
|
|
45
|
+
return V1ChargebeeV1NotPaidInvoiceToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1ChargebeeV1NotPaidInvoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'dueDate': value['dueDate'] == null ? undefined : (value['dueDate'].toISOString()),
|
|
54
|
+
'amountDue': value['amountDue'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1ChargebeeV1PaymentDueInvoice
|
|
16
|
+
*/
|
|
17
|
+
export interface V1ChargebeeV1PaymentDueInvoice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1ChargebeeV1PaymentDueInvoice
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Due date of the invoice
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof V1ChargebeeV1PaymentDueInvoice
|
|
28
|
+
*/
|
|
29
|
+
dueDate?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The unpaid amount that is due on the invoice in dollars.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof V1ChargebeeV1PaymentDueInvoice
|
|
34
|
+
*/
|
|
35
|
+
amountDue: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1ChargebeeV1PaymentDueInvoice interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1ChargebeeV1PaymentDueInvoice(value: object): value is V1ChargebeeV1PaymentDueInvoice;
|
|
41
|
+
export declare function V1ChargebeeV1PaymentDueInvoiceFromJSON(json: any): V1ChargebeeV1PaymentDueInvoice;
|
|
42
|
+
export declare function V1ChargebeeV1PaymentDueInvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1ChargebeeV1PaymentDueInvoice;
|
|
43
|
+
export declare function V1ChargebeeV1PaymentDueInvoiceToJSON(json: any): V1ChargebeeV1PaymentDueInvoice;
|
|
44
|
+
export declare function V1ChargebeeV1PaymentDueInvoiceToJSONTyped(value?: V1ChargebeeV1PaymentDueInvoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.instanceOfV1ChargebeeV1PaymentDueInvoice = instanceOfV1ChargebeeV1PaymentDueInvoice;
|
|
17
|
+
exports.V1ChargebeeV1PaymentDueInvoiceFromJSON = V1ChargebeeV1PaymentDueInvoiceFromJSON;
|
|
18
|
+
exports.V1ChargebeeV1PaymentDueInvoiceFromJSONTyped = V1ChargebeeV1PaymentDueInvoiceFromJSONTyped;
|
|
19
|
+
exports.V1ChargebeeV1PaymentDueInvoiceToJSON = V1ChargebeeV1PaymentDueInvoiceToJSON;
|
|
20
|
+
exports.V1ChargebeeV1PaymentDueInvoiceToJSONTyped = V1ChargebeeV1PaymentDueInvoiceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1ChargebeeV1PaymentDueInvoice interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1ChargebeeV1PaymentDueInvoice(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('amountDue' in value) || value['amountDue'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function V1ChargebeeV1PaymentDueInvoiceFromJSON(json) {
|
|
32
|
+
return V1ChargebeeV1PaymentDueInvoiceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function V1ChargebeeV1PaymentDueInvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'dueDate': json['dueDate'] == null ? undefined : (new Date(json['dueDate'])),
|
|
41
|
+
'amountDue': json['amountDue'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V1ChargebeeV1PaymentDueInvoiceToJSON(json) {
|
|
45
|
+
return V1ChargebeeV1PaymentDueInvoiceToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1ChargebeeV1PaymentDueInvoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'dueDate': value['dueDate'] == null ? undefined : (value['dueDate'].toISOString()),
|
|
54
|
+
'amountDue': value['amountDue'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1ChargebeeV1PortalSession
|
|
16
|
+
*/
|
|
17
|
+
export interface V1ChargebeeV1PortalSession {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1ChargebeeV1PortalSession
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V1ChargebeeV1PortalSession
|
|
28
|
+
*/
|
|
29
|
+
accessUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof V1ChargebeeV1PortalSession
|
|
34
|
+
*/
|
|
35
|
+
expiresAt?: Date | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1ChargebeeV1PortalSession interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1ChargebeeV1PortalSession(value: object): value is V1ChargebeeV1PortalSession;
|
|
41
|
+
export declare function V1ChargebeeV1PortalSessionFromJSON(json: any): V1ChargebeeV1PortalSession;
|
|
42
|
+
export declare function V1ChargebeeV1PortalSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1ChargebeeV1PortalSession;
|
|
43
|
+
export declare function V1ChargebeeV1PortalSessionToJSON(json: any): V1ChargebeeV1PortalSession;
|
|
44
|
+
export declare function V1ChargebeeV1PortalSessionToJSONTyped(value?: V1ChargebeeV1PortalSession | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.instanceOfV1ChargebeeV1PortalSession = instanceOfV1ChargebeeV1PortalSession;
|
|
17
|
+
exports.V1ChargebeeV1PortalSessionFromJSON = V1ChargebeeV1PortalSessionFromJSON;
|
|
18
|
+
exports.V1ChargebeeV1PortalSessionFromJSONTyped = V1ChargebeeV1PortalSessionFromJSONTyped;
|
|
19
|
+
exports.V1ChargebeeV1PortalSessionToJSON = V1ChargebeeV1PortalSessionToJSON;
|
|
20
|
+
exports.V1ChargebeeV1PortalSessionToJSONTyped = V1ChargebeeV1PortalSessionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1ChargebeeV1PortalSession interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1ChargebeeV1PortalSession(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('accessUrl' in value) || value['accessUrl'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function V1ChargebeeV1PortalSessionFromJSON(json) {
|
|
32
|
+
return V1ChargebeeV1PortalSessionFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function V1ChargebeeV1PortalSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'accessUrl': json['accessUrl'],
|
|
41
|
+
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V1ChargebeeV1PortalSessionToJSON(json) {
|
|
45
|
+
return V1ChargebeeV1PortalSessionToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1ChargebeeV1PortalSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'accessUrl': value['accessUrl'],
|
|
54
|
+
'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1ChargebeeV1UnpaidInvoice
|
|
16
|
+
*/
|
|
17
|
+
export interface V1ChargebeeV1UnpaidInvoice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1ChargebeeV1UnpaidInvoice
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Due date of the invoice
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof V1ChargebeeV1UnpaidInvoice
|
|
28
|
+
*/
|
|
29
|
+
dueDate?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The unpaid amount that is due on the invoice in cents.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof V1ChargebeeV1UnpaidInvoice
|
|
34
|
+
*/
|
|
35
|
+
amountDue: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1ChargebeeV1UnpaidInvoice interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1ChargebeeV1UnpaidInvoice(value: object): value is V1ChargebeeV1UnpaidInvoice;
|
|
41
|
+
export declare function V1ChargebeeV1UnpaidInvoiceFromJSON(json: any): V1ChargebeeV1UnpaidInvoice;
|
|
42
|
+
export declare function V1ChargebeeV1UnpaidInvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1ChargebeeV1UnpaidInvoice;
|
|
43
|
+
export declare function V1ChargebeeV1UnpaidInvoiceToJSON(json: any): V1ChargebeeV1UnpaidInvoice;
|
|
44
|
+
export declare function V1ChargebeeV1UnpaidInvoiceToJSONTyped(value?: V1ChargebeeV1UnpaidInvoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.instanceOfV1ChargebeeV1UnpaidInvoice = instanceOfV1ChargebeeV1UnpaidInvoice;
|
|
17
|
+
exports.V1ChargebeeV1UnpaidInvoiceFromJSON = V1ChargebeeV1UnpaidInvoiceFromJSON;
|
|
18
|
+
exports.V1ChargebeeV1UnpaidInvoiceFromJSONTyped = V1ChargebeeV1UnpaidInvoiceFromJSONTyped;
|
|
19
|
+
exports.V1ChargebeeV1UnpaidInvoiceToJSON = V1ChargebeeV1UnpaidInvoiceToJSON;
|
|
20
|
+
exports.V1ChargebeeV1UnpaidInvoiceToJSONTyped = V1ChargebeeV1UnpaidInvoiceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1ChargebeeV1UnpaidInvoice interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1ChargebeeV1UnpaidInvoice(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('amountDue' in value) || value['amountDue'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function V1ChargebeeV1UnpaidInvoiceFromJSON(json) {
|
|
32
|
+
return V1ChargebeeV1UnpaidInvoiceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function V1ChargebeeV1UnpaidInvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'dueDate': json['dueDate'] == null ? undefined : (new Date(json['dueDate'])),
|
|
41
|
+
'amountDue': json['amountDue'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V1ChargebeeV1UnpaidInvoiceToJSON(json) {
|
|
45
|
+
return V1ChargebeeV1UnpaidInvoiceToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1ChargebeeV1UnpaidInvoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'dueDate': value['dueDate'] == null ? undefined : (value['dueDate'].toISOString()),
|
|
54
|
+
'amountDue': value['amountDue'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1CollectChargebeeV1Payment
|
|
16
|
+
*/
|
|
17
|
+
export interface V1CollectChargebeeV1Payment {
|
|
18
|
+
/**
|
|
19
|
+
* The single-use card token returned by vaults like Stripe/Braintree which act as a substitute for your card details.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1CollectChargebeeV1Payment
|
|
22
|
+
*/
|
|
23
|
+
tmpToken: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the V1CollectChargebeeV1Payment interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfV1CollectChargebeeV1Payment(value: object): value is V1CollectChargebeeV1Payment;
|
|
29
|
+
export declare function V1CollectChargebeeV1PaymentFromJSON(json: any): V1CollectChargebeeV1Payment;
|
|
30
|
+
export declare function V1CollectChargebeeV1PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1CollectChargebeeV1Payment;
|
|
31
|
+
export declare function V1CollectChargebeeV1PaymentToJSON(json: any): V1CollectChargebeeV1Payment;
|
|
32
|
+
export declare function V1CollectChargebeeV1PaymentToJSONTyped(value?: V1CollectChargebeeV1Payment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Billing
|
|
6
|
+
* Micro-Service to handle billing
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
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.instanceOfV1CollectChargebeeV1Payment = instanceOfV1CollectChargebeeV1Payment;
|
|
17
|
+
exports.V1CollectChargebeeV1PaymentFromJSON = V1CollectChargebeeV1PaymentFromJSON;
|
|
18
|
+
exports.V1CollectChargebeeV1PaymentFromJSONTyped = V1CollectChargebeeV1PaymentFromJSONTyped;
|
|
19
|
+
exports.V1CollectChargebeeV1PaymentToJSON = V1CollectChargebeeV1PaymentToJSON;
|
|
20
|
+
exports.V1CollectChargebeeV1PaymentToJSONTyped = V1CollectChargebeeV1PaymentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1CollectChargebeeV1Payment interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1CollectChargebeeV1Payment(value) {
|
|
25
|
+
if (!('tmpToken' in value) || value['tmpToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function V1CollectChargebeeV1PaymentFromJSON(json) {
|
|
30
|
+
return V1CollectChargebeeV1PaymentFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function V1CollectChargebeeV1PaymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'tmpToken': json['tmpToken'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function V1CollectChargebeeV1PaymentToJSON(json) {
|
|
41
|
+
return V1CollectChargebeeV1PaymentToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function V1CollectChargebeeV1PaymentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'tmpToken': value['tmpToken'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing
|
|
3
|
+
* Micro-Service to handle billing
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
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 V1CreateChargebeeV1PortalSessionPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface V1CreateChargebeeV1PortalSessionPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1CreateChargebeeV1PortalSessionPayload
|
|
22
|
+
*/
|
|
23
|
+
redirectUrl?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the V1CreateChargebeeV1PortalSessionPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfV1CreateChargebeeV1PortalSessionPayload(value: object): value is V1CreateChargebeeV1PortalSessionPayload;
|
|
29
|
+
export declare function V1CreateChargebeeV1PortalSessionPayloadFromJSON(json: any): V1CreateChargebeeV1PortalSessionPayload;
|
|
30
|
+
export declare function V1CreateChargebeeV1PortalSessionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1CreateChargebeeV1PortalSessionPayload;
|
|
31
|
+
export declare function V1CreateChargebeeV1PortalSessionPayloadToJSON(json: any): V1CreateChargebeeV1PortalSessionPayload;
|
|
32
|
+
export declare function V1CreateChargebeeV1PortalSessionPayloadToJSONTyped(value?: V1CreateChargebeeV1PortalSessionPayload | null, ignoreDiscriminator?: boolean): any;
|