@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,79 @@
|
|
|
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.instanceOfV1OrganizationChargebeeV1Status = instanceOfV1OrganizationChargebeeV1Status;
|
|
17
|
+
exports.V1OrganizationChargebeeV1StatusFromJSON = V1OrganizationChargebeeV1StatusFromJSON;
|
|
18
|
+
exports.V1OrganizationChargebeeV1StatusFromJSONTyped = V1OrganizationChargebeeV1StatusFromJSONTyped;
|
|
19
|
+
exports.V1OrganizationChargebeeV1StatusToJSON = V1OrganizationChargebeeV1StatusToJSON;
|
|
20
|
+
exports.V1OrganizationChargebeeV1StatusToJSONTyped = V1OrganizationChargebeeV1StatusToJSONTyped;
|
|
21
|
+
const V1OrganizationStatusChargebeeV1Addon_1 = require("./V1OrganizationStatusChargebeeV1Addon");
|
|
22
|
+
const V1ChargebeeV1UnpaidInvoice_1 = require("./V1ChargebeeV1UnpaidInvoice");
|
|
23
|
+
const V1OrganizationStatusChargebeeV1User_1 = require("./V1OrganizationStatusChargebeeV1User");
|
|
24
|
+
const V1ChargebeeV1NotPaidInvoice_1 = require("./V1ChargebeeV1NotPaidInvoice");
|
|
25
|
+
const V1ChargebeeV1PaymentDueInvoice_1 = require("./V1ChargebeeV1PaymentDueInvoice");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the V1OrganizationChargebeeV1Status interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfV1OrganizationChargebeeV1Status(value) {
|
|
30
|
+
if (!('customerId' in value) || value['customerId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('notPaidInvoices' in value) || value['notPaidInvoices'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('unpaidInvoices' in value) || value['unpaidInvoices'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('paymentDueInvoices' in value) || value['paymentDueInvoices'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('addons' in value) || value['addons'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('users' in value) || value['users'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function V1OrganizationChargebeeV1StatusFromJSON(json) {
|
|
45
|
+
return V1OrganizationChargebeeV1StatusFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1OrganizationChargebeeV1StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'customerId': json['customerId'],
|
|
53
|
+
'customerEmail': json['customerEmail'] == null ? undefined : json['customerEmail'],
|
|
54
|
+
'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
|
|
55
|
+
'notPaidInvoices': (json['notPaidInvoices'].map(V1ChargebeeV1NotPaidInvoice_1.V1ChargebeeV1NotPaidInvoiceFromJSON)),
|
|
56
|
+
'unpaidInvoices': (json['unpaidInvoices'].map(V1ChargebeeV1UnpaidInvoice_1.V1ChargebeeV1UnpaidInvoiceFromJSON)),
|
|
57
|
+
'paymentDueInvoices': (json['paymentDueInvoices'].map(V1ChargebeeV1PaymentDueInvoice_1.V1ChargebeeV1PaymentDueInvoiceFromJSON)),
|
|
58
|
+
'addons': (json['addons'].map(V1OrganizationStatusChargebeeV1Addon_1.V1OrganizationStatusChargebeeV1AddonFromJSON)),
|
|
59
|
+
'users': (json['users'].map(V1OrganizationStatusChargebeeV1User_1.V1OrganizationStatusChargebeeV1UserFromJSON)),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function V1OrganizationChargebeeV1StatusToJSON(json) {
|
|
63
|
+
return V1OrganizationChargebeeV1StatusToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function V1OrganizationChargebeeV1StatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'customerId': value['customerId'],
|
|
71
|
+
'customerEmail': value['customerEmail'],
|
|
72
|
+
'subscriptionId': value['subscriptionId'],
|
|
73
|
+
'notPaidInvoices': (value['notPaidInvoices'].map(V1ChargebeeV1NotPaidInvoice_1.V1ChargebeeV1NotPaidInvoiceToJSON)),
|
|
74
|
+
'unpaidInvoices': (value['unpaidInvoices'].map(V1ChargebeeV1UnpaidInvoice_1.V1ChargebeeV1UnpaidInvoiceToJSON)),
|
|
75
|
+
'paymentDueInvoices': (value['paymentDueInvoices'].map(V1ChargebeeV1PaymentDueInvoice_1.V1ChargebeeV1PaymentDueInvoiceToJSON)),
|
|
76
|
+
'addons': (value['addons'].map(V1OrganizationStatusChargebeeV1Addon_1.V1OrganizationStatusChargebeeV1AddonToJSON)),
|
|
77
|
+
'users': (value['users'].map(V1OrganizationStatusChargebeeV1User_1.V1OrganizationStatusChargebeeV1UserToJSON)),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
import type { V1BillingType } from './V1BillingType';
|
|
13
|
+
import type { V1OrganizationChargebeeV1Status } from './V1OrganizationChargebeeV1Status';
|
|
14
|
+
import type { V1BillingStatus } from './V1BillingStatus';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface V1OrganizationStatus
|
|
19
|
+
*/
|
|
20
|
+
export interface V1OrganizationStatus {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof V1OrganizationStatus
|
|
25
|
+
*/
|
|
26
|
+
uuid: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {V1BillingType}
|
|
30
|
+
* @memberof V1OrganizationStatus
|
|
31
|
+
*/
|
|
32
|
+
billingType: V1BillingType;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {V1BillingStatus}
|
|
36
|
+
* @memberof V1OrganizationStatus
|
|
37
|
+
*/
|
|
38
|
+
billingStatus: V1BillingStatus;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof V1OrganizationStatus
|
|
43
|
+
*/
|
|
44
|
+
payorUuid?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {V1OrganizationChargebeeV1Status}
|
|
48
|
+
* @memberof V1OrganizationStatus
|
|
49
|
+
*/
|
|
50
|
+
chargebeeV1?: V1OrganizationChargebeeV1Status | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the V1OrganizationStatus interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfV1OrganizationStatus(value: object): value is V1OrganizationStatus;
|
|
56
|
+
export declare function V1OrganizationStatusFromJSON(json: any): V1OrganizationStatus;
|
|
57
|
+
export declare function V1OrganizationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1OrganizationStatus;
|
|
58
|
+
export declare function V1OrganizationStatusToJSON(json: any): V1OrganizationStatus;
|
|
59
|
+
export declare function V1OrganizationStatusToJSONTyped(value?: V1OrganizationStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfV1OrganizationStatus = instanceOfV1OrganizationStatus;
|
|
17
|
+
exports.V1OrganizationStatusFromJSON = V1OrganizationStatusFromJSON;
|
|
18
|
+
exports.V1OrganizationStatusFromJSONTyped = V1OrganizationStatusFromJSONTyped;
|
|
19
|
+
exports.V1OrganizationStatusToJSON = V1OrganizationStatusToJSON;
|
|
20
|
+
exports.V1OrganizationStatusToJSONTyped = V1OrganizationStatusToJSONTyped;
|
|
21
|
+
const V1BillingType_1 = require("./V1BillingType");
|
|
22
|
+
const V1OrganizationChargebeeV1Status_1 = require("./V1OrganizationChargebeeV1Status");
|
|
23
|
+
const V1BillingStatus_1 = require("./V1BillingStatus");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the V1OrganizationStatus interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfV1OrganizationStatus(value) {
|
|
28
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('billingType' in value) || value['billingType'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('billingStatus' in value) || value['billingStatus'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function V1OrganizationStatusFromJSON(json) {
|
|
37
|
+
return V1OrganizationStatusFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function V1OrganizationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'uuid': json['uuid'],
|
|
45
|
+
'billingType': (0, V1BillingType_1.V1BillingTypeFromJSON)(json['billingType']),
|
|
46
|
+
'billingStatus': (0, V1BillingStatus_1.V1BillingStatusFromJSON)(json['billingStatus']),
|
|
47
|
+
'payorUuid': json['payorUuid'] == null ? undefined : json['payorUuid'],
|
|
48
|
+
'chargebeeV1': json['chargebeeV1'] == null ? undefined : (0, V1OrganizationChargebeeV1Status_1.V1OrganizationChargebeeV1StatusFromJSON)(json['chargebeeV1']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function V1OrganizationStatusToJSON(json) {
|
|
52
|
+
return V1OrganizationStatusToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function V1OrganizationStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'uuid': value['uuid'],
|
|
60
|
+
'billingType': (0, V1BillingType_1.V1BillingTypeToJSON)(value['billingType']),
|
|
61
|
+
'billingStatus': (0, V1BillingStatus_1.V1BillingStatusToJSON)(value['billingStatus']),
|
|
62
|
+
'payorUuid': value['payorUuid'],
|
|
63
|
+
'chargebeeV1': (0, V1OrganizationChargebeeV1Status_1.V1OrganizationChargebeeV1StatusToJSON)(value['chargebeeV1']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -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 V1OrganizationStatusChargebeeV1Addon
|
|
16
|
+
*/
|
|
17
|
+
export interface V1OrganizationStatusChargebeeV1Addon {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1OrganizationStatusChargebeeV1Addon
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V1OrganizationStatusChargebeeV1Addon
|
|
28
|
+
*/
|
|
29
|
+
name?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof V1OrganizationStatusChargebeeV1Addon
|
|
34
|
+
*/
|
|
35
|
+
quantity: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1OrganizationStatusChargebeeV1Addon interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1OrganizationStatusChargebeeV1Addon(value: object): value is V1OrganizationStatusChargebeeV1Addon;
|
|
41
|
+
export declare function V1OrganizationStatusChargebeeV1AddonFromJSON(json: any): V1OrganizationStatusChargebeeV1Addon;
|
|
42
|
+
export declare function V1OrganizationStatusChargebeeV1AddonFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1OrganizationStatusChargebeeV1Addon;
|
|
43
|
+
export declare function V1OrganizationStatusChargebeeV1AddonToJSON(json: any): V1OrganizationStatusChargebeeV1Addon;
|
|
44
|
+
export declare function V1OrganizationStatusChargebeeV1AddonToJSONTyped(value?: V1OrganizationStatusChargebeeV1Addon | 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.instanceOfV1OrganizationStatusChargebeeV1Addon = instanceOfV1OrganizationStatusChargebeeV1Addon;
|
|
17
|
+
exports.V1OrganizationStatusChargebeeV1AddonFromJSON = V1OrganizationStatusChargebeeV1AddonFromJSON;
|
|
18
|
+
exports.V1OrganizationStatusChargebeeV1AddonFromJSONTyped = V1OrganizationStatusChargebeeV1AddonFromJSONTyped;
|
|
19
|
+
exports.V1OrganizationStatusChargebeeV1AddonToJSON = V1OrganizationStatusChargebeeV1AddonToJSON;
|
|
20
|
+
exports.V1OrganizationStatusChargebeeV1AddonToJSONTyped = V1OrganizationStatusChargebeeV1AddonToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1OrganizationStatusChargebeeV1Addon interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1OrganizationStatusChargebeeV1Addon(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function V1OrganizationStatusChargebeeV1AddonFromJSON(json) {
|
|
32
|
+
return V1OrganizationStatusChargebeeV1AddonFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function V1OrganizationStatusChargebeeV1AddonFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
+
'quantity': json['quantity'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function V1OrganizationStatusChargebeeV1AddonToJSON(json) {
|
|
45
|
+
return V1OrganizationStatusChargebeeV1AddonToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function V1OrganizationStatusChargebeeV1AddonToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'quantity': value['quantity'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import type { V1OrganizationStatusChargebeeV1Addon } from './V1OrganizationStatusChargebeeV1Addon';
|
|
13
|
+
import type { V1OrganizationStatusChargebeeV1UserBillingStatus } from './V1OrganizationStatusChargebeeV1UserBillingStatus';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface V1OrganizationStatusChargebeeV1User
|
|
18
|
+
*/
|
|
19
|
+
export interface V1OrganizationStatusChargebeeV1User {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof V1OrganizationStatusChargebeeV1User
|
|
24
|
+
*/
|
|
25
|
+
uuid: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {V1OrganizationStatusChargebeeV1UserBillingStatus}
|
|
29
|
+
* @memberof V1OrganizationStatusChargebeeV1User
|
|
30
|
+
*/
|
|
31
|
+
billingStatus: V1OrganizationStatusChargebeeV1UserBillingStatus;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<V1OrganizationStatusChargebeeV1Addon>}
|
|
35
|
+
* @memberof V1OrganizationStatusChargebeeV1User
|
|
36
|
+
*/
|
|
37
|
+
addons: Array<V1OrganizationStatusChargebeeV1Addon>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the V1OrganizationStatusChargebeeV1User interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfV1OrganizationStatusChargebeeV1User(value: object): value is V1OrganizationStatusChargebeeV1User;
|
|
43
|
+
export declare function V1OrganizationStatusChargebeeV1UserFromJSON(json: any): V1OrganizationStatusChargebeeV1User;
|
|
44
|
+
export declare function V1OrganizationStatusChargebeeV1UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1OrganizationStatusChargebeeV1User;
|
|
45
|
+
export declare function V1OrganizationStatusChargebeeV1UserToJSON(json: any): V1OrganizationStatusChargebeeV1User;
|
|
46
|
+
export declare function V1OrganizationStatusChargebeeV1UserToJSONTyped(value?: V1OrganizationStatusChargebeeV1User | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfV1OrganizationStatusChargebeeV1User = instanceOfV1OrganizationStatusChargebeeV1User;
|
|
17
|
+
exports.V1OrganizationStatusChargebeeV1UserFromJSON = V1OrganizationStatusChargebeeV1UserFromJSON;
|
|
18
|
+
exports.V1OrganizationStatusChargebeeV1UserFromJSONTyped = V1OrganizationStatusChargebeeV1UserFromJSONTyped;
|
|
19
|
+
exports.V1OrganizationStatusChargebeeV1UserToJSON = V1OrganizationStatusChargebeeV1UserToJSON;
|
|
20
|
+
exports.V1OrganizationStatusChargebeeV1UserToJSONTyped = V1OrganizationStatusChargebeeV1UserToJSONTyped;
|
|
21
|
+
const V1OrganizationStatusChargebeeV1Addon_1 = require("./V1OrganizationStatusChargebeeV1Addon");
|
|
22
|
+
const V1OrganizationStatusChargebeeV1UserBillingStatus_1 = require("./V1OrganizationStatusChargebeeV1UserBillingStatus");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the V1OrganizationStatusChargebeeV1User interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfV1OrganizationStatusChargebeeV1User(value) {
|
|
27
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('billingStatus' in value) || value['billingStatus'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('addons' in value) || value['addons'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function V1OrganizationStatusChargebeeV1UserFromJSON(json) {
|
|
36
|
+
return V1OrganizationStatusChargebeeV1UserFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function V1OrganizationStatusChargebeeV1UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'uuid': json['uuid'],
|
|
44
|
+
'billingStatus': (0, V1OrganizationStatusChargebeeV1UserBillingStatus_1.V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON)(json['billingStatus']),
|
|
45
|
+
'addons': (json['addons'].map(V1OrganizationStatusChargebeeV1Addon_1.V1OrganizationStatusChargebeeV1AddonFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function V1OrganizationStatusChargebeeV1UserToJSON(json) {
|
|
49
|
+
return V1OrganizationStatusChargebeeV1UserToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function V1OrganizationStatusChargebeeV1UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'uuid': value['uuid'],
|
|
57
|
+
'billingStatus': (0, V1OrganizationStatusChargebeeV1UserBillingStatus_1.V1OrganizationStatusChargebeeV1UserBillingStatusToJSON)(value['billingStatus']),
|
|
58
|
+
'addons': (value['addons'].map(V1OrganizationStatusChargebeeV1Addon_1.V1OrganizationStatusChargebeeV1AddonToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* Billing status of the user
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const V1OrganizationStatusChargebeeV1UserBillingStatus: {
|
|
17
|
+
/**
|
|
18
|
+
* User is be billable
|
|
19
|
+
*/
|
|
20
|
+
readonly BILLABLE: "BILLABLE";
|
|
21
|
+
/**
|
|
22
|
+
* User cannot be billed because it is not enabled
|
|
23
|
+
*/
|
|
24
|
+
readonly NOT_ENABLED: "NOT_ENABLED";
|
|
25
|
+
/**
|
|
26
|
+
* User cannot be billed because it has no authentication method
|
|
27
|
+
*/
|
|
28
|
+
readonly NO_AUTHENTICATION_METHOD: "NO_AUTHENTICATION_METHOD";
|
|
29
|
+
/**
|
|
30
|
+
* User is marked as non-billable
|
|
31
|
+
*/
|
|
32
|
+
readonly NON_BILLABLE: "NON_BILLABLE";
|
|
33
|
+
readonly unknown_default_open_api: "11184809";
|
|
34
|
+
};
|
|
35
|
+
export type V1OrganizationStatusChargebeeV1UserBillingStatus = typeof V1OrganizationStatusChargebeeV1UserBillingStatus[keyof typeof V1OrganizationStatusChargebeeV1UserBillingStatus];
|
|
36
|
+
export declare function instanceOfV1OrganizationStatusChargebeeV1UserBillingStatus(value: any): boolean;
|
|
37
|
+
export declare function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON(json: any): V1OrganizationStatusChargebeeV1UserBillingStatus;
|
|
38
|
+
export declare function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1OrganizationStatusChargebeeV1UserBillingStatus;
|
|
39
|
+
export declare function V1OrganizationStatusChargebeeV1UserBillingStatusToJSON(value?: V1OrganizationStatusChargebeeV1UserBillingStatus | null): any;
|
|
40
|
+
export declare function V1OrganizationStatusChargebeeV1UserBillingStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): V1OrganizationStatusChargebeeV1UserBillingStatus;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.V1OrganizationStatusChargebeeV1UserBillingStatus = void 0;
|
|
17
|
+
exports.instanceOfV1OrganizationStatusChargebeeV1UserBillingStatus = instanceOfV1OrganizationStatusChargebeeV1UserBillingStatus;
|
|
18
|
+
exports.V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON = V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON;
|
|
19
|
+
exports.V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped = V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped;
|
|
20
|
+
exports.V1OrganizationStatusChargebeeV1UserBillingStatusToJSON = V1OrganizationStatusChargebeeV1UserBillingStatusToJSON;
|
|
21
|
+
exports.V1OrganizationStatusChargebeeV1UserBillingStatusToJSONTyped = V1OrganizationStatusChargebeeV1UserBillingStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Billing status of the user
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.V1OrganizationStatusChargebeeV1UserBillingStatus = {
|
|
27
|
+
/**
|
|
28
|
+
* User is be billable
|
|
29
|
+
*/
|
|
30
|
+
BILLABLE: 'BILLABLE',
|
|
31
|
+
/**
|
|
32
|
+
* User cannot be billed because it is not enabled
|
|
33
|
+
*/
|
|
34
|
+
NOT_ENABLED: 'NOT_ENABLED',
|
|
35
|
+
/**
|
|
36
|
+
* User cannot be billed because it has no authentication method
|
|
37
|
+
*/
|
|
38
|
+
NO_AUTHENTICATION_METHOD: 'NO_AUTHENTICATION_METHOD',
|
|
39
|
+
/**
|
|
40
|
+
* User is marked as non-billable
|
|
41
|
+
*/
|
|
42
|
+
NON_BILLABLE: 'NON_BILLABLE',
|
|
43
|
+
unknown_default_open_api: '11184809'
|
|
44
|
+
};
|
|
45
|
+
function instanceOfV1OrganizationStatusChargebeeV1UserBillingStatus(value) {
|
|
46
|
+
for (const key in exports.V1OrganizationStatusChargebeeV1UserBillingStatus) {
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(exports.V1OrganizationStatusChargebeeV1UserBillingStatus, key)) {
|
|
48
|
+
if (exports.V1OrganizationStatusChargebeeV1UserBillingStatus[key] === value) {
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON(json) {
|
|
56
|
+
return V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
function V1OrganizationStatusChargebeeV1UserBillingStatusToJSON(value) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
function V1OrganizationStatusChargebeeV1UserBillingStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
@@ -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 V1SetChargebeeV1BillingPayorPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface V1SetChargebeeV1BillingPayorPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1SetChargebeeV1BillingPayorPayload
|
|
22
|
+
*/
|
|
23
|
+
payorUuid: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the V1SetChargebeeV1BillingPayorPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfV1SetChargebeeV1BillingPayorPayload(value: object): value is V1SetChargebeeV1BillingPayorPayload;
|
|
29
|
+
export declare function V1SetChargebeeV1BillingPayorPayloadFromJSON(json: any): V1SetChargebeeV1BillingPayorPayload;
|
|
30
|
+
export declare function V1SetChargebeeV1BillingPayorPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetChargebeeV1BillingPayorPayload;
|
|
31
|
+
export declare function V1SetChargebeeV1BillingPayorPayloadToJSON(json: any): V1SetChargebeeV1BillingPayorPayload;
|
|
32
|
+
export declare function V1SetChargebeeV1BillingPayorPayloadToJSONTyped(value?: V1SetChargebeeV1BillingPayorPayload | 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.instanceOfV1SetChargebeeV1BillingPayorPayload = instanceOfV1SetChargebeeV1BillingPayorPayload;
|
|
17
|
+
exports.V1SetChargebeeV1BillingPayorPayloadFromJSON = V1SetChargebeeV1BillingPayorPayloadFromJSON;
|
|
18
|
+
exports.V1SetChargebeeV1BillingPayorPayloadFromJSONTyped = V1SetChargebeeV1BillingPayorPayloadFromJSONTyped;
|
|
19
|
+
exports.V1SetChargebeeV1BillingPayorPayloadToJSON = V1SetChargebeeV1BillingPayorPayloadToJSON;
|
|
20
|
+
exports.V1SetChargebeeV1BillingPayorPayloadToJSONTyped = V1SetChargebeeV1BillingPayorPayloadToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1SetChargebeeV1BillingPayorPayload interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1SetChargebeeV1BillingPayorPayload(value) {
|
|
25
|
+
if (!('payorUuid' in value) || value['payorUuid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function V1SetChargebeeV1BillingPayorPayloadFromJSON(json) {
|
|
30
|
+
return V1SetChargebeeV1BillingPayorPayloadFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function V1SetChargebeeV1BillingPayorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'payorUuid': json['payorUuid'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function V1SetChargebeeV1BillingPayorPayloadToJSON(json) {
|
|
41
|
+
return V1SetChargebeeV1BillingPayorPayloadToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function V1SetChargebeeV1BillingPayorPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'payorUuid': value['payorUuid'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import type { SubscriptionCreationMode } from './SubscriptionCreationMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V1SetChargebeeV1Payload
|
|
17
|
+
*/
|
|
18
|
+
export interface V1SetChargebeeV1Payload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof V1SetChargebeeV1Payload
|
|
23
|
+
*/
|
|
24
|
+
payorUserUuid: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof V1SetChargebeeV1Payload
|
|
29
|
+
*/
|
|
30
|
+
distributorCode: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SubscriptionCreationMode}
|
|
34
|
+
* @memberof V1SetChargebeeV1Payload
|
|
35
|
+
*/
|
|
36
|
+
subscriptionCreationMode: SubscriptionCreationMode;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the V1SetChargebeeV1Payload interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfV1SetChargebeeV1Payload(value: object): value is V1SetChargebeeV1Payload;
|
|
42
|
+
export declare function V1SetChargebeeV1PayloadFromJSON(json: any): V1SetChargebeeV1Payload;
|
|
43
|
+
export declare function V1SetChargebeeV1PayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetChargebeeV1Payload;
|
|
44
|
+
export declare function V1SetChargebeeV1PayloadToJSON(json: any): V1SetChargebeeV1Payload;
|
|
45
|
+
export declare function V1SetChargebeeV1PayloadToJSONTyped(value?: V1SetChargebeeV1Payload | null, ignoreDiscriminator?: boolean): any;
|