@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,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,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { V1OrganizationStatusChargebeeV1AddonFromJSON, V1OrganizationStatusChargebeeV1AddonToJSON, } from './V1OrganizationStatusChargebeeV1Addon';
|
|
15
|
+
import { V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON, V1OrganizationStatusChargebeeV1UserBillingStatusToJSON, } from './V1OrganizationStatusChargebeeV1UserBillingStatus';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the V1OrganizationStatusChargebeeV1User interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfV1OrganizationStatusChargebeeV1User(value) {
|
|
20
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('billingStatus' in value) || value['billingStatus'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('addons' in value) || value['addons'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function V1OrganizationStatusChargebeeV1UserFromJSON(json) {
|
|
29
|
+
return V1OrganizationStatusChargebeeV1UserFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function V1OrganizationStatusChargebeeV1UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'uuid': json['uuid'],
|
|
37
|
+
'billingStatus': V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON(json['billingStatus']),
|
|
38
|
+
'addons': (json['addons'].map(V1OrganizationStatusChargebeeV1AddonFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function V1OrganizationStatusChargebeeV1UserToJSON(json) {
|
|
42
|
+
return V1OrganizationStatusChargebeeV1UserToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function V1OrganizationStatusChargebeeV1UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'uuid': value['uuid'],
|
|
50
|
+
'billingStatus': V1OrganizationStatusChargebeeV1UserBillingStatusToJSON(value['billingStatus']),
|
|
51
|
+
'addons': (value['addons'].map(V1OrganizationStatusChargebeeV1AddonToJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -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,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Billing status of the user
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const V1OrganizationStatusChargebeeV1UserBillingStatus = {
|
|
19
|
+
/**
|
|
20
|
+
* User is be billable
|
|
21
|
+
*/
|
|
22
|
+
BILLABLE: 'BILLABLE',
|
|
23
|
+
/**
|
|
24
|
+
* User cannot be billed because it is not enabled
|
|
25
|
+
*/
|
|
26
|
+
NOT_ENABLED: 'NOT_ENABLED',
|
|
27
|
+
/**
|
|
28
|
+
* User cannot be billed because it has no authentication method
|
|
29
|
+
*/
|
|
30
|
+
NO_AUTHENTICATION_METHOD: 'NO_AUTHENTICATION_METHOD',
|
|
31
|
+
/**
|
|
32
|
+
* User is marked as non-billable
|
|
33
|
+
*/
|
|
34
|
+
NON_BILLABLE: 'NON_BILLABLE',
|
|
35
|
+
unknown_default_open_api: '11184809'
|
|
36
|
+
};
|
|
37
|
+
export function instanceOfV1OrganizationStatusChargebeeV1UserBillingStatus(value) {
|
|
38
|
+
for (const key in V1OrganizationStatusChargebeeV1UserBillingStatus) {
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(V1OrganizationStatusChargebeeV1UserBillingStatus, key)) {
|
|
40
|
+
if (V1OrganizationStatusChargebeeV1UserBillingStatus[key] === value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
export function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSON(json) {
|
|
48
|
+
return V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function V1OrganizationStatusChargebeeV1UserBillingStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
export function V1OrganizationStatusChargebeeV1UserBillingStatusToJSON(value) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
export function V1OrganizationStatusChargebeeV1UserBillingStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
@@ -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,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the V1SetChargebeeV1BillingPayorPayload interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfV1SetChargebeeV1BillingPayorPayload(value) {
|
|
18
|
+
if (!('payorUuid' in value) || value['payorUuid'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function V1SetChargebeeV1BillingPayorPayloadFromJSON(json) {
|
|
23
|
+
return V1SetChargebeeV1BillingPayorPayloadFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function V1SetChargebeeV1BillingPayorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'payorUuid': json['payorUuid'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function V1SetChargebeeV1BillingPayorPayloadToJSON(json) {
|
|
34
|
+
return V1SetChargebeeV1BillingPayorPayloadToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function V1SetChargebeeV1BillingPayorPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'payorUuid': value['payorUuid'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SubscriptionCreationModeFromJSON, SubscriptionCreationModeToJSON, } from './SubscriptionCreationMode';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the V1SetChargebeeV1Payload interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfV1SetChargebeeV1Payload(value) {
|
|
19
|
+
if (!('payorUserUuid' in value) || value['payorUserUuid'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('subscriptionCreationMode' in value) || value['subscriptionCreationMode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function V1SetChargebeeV1PayloadFromJSON(json) {
|
|
28
|
+
return V1SetChargebeeV1PayloadFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function V1SetChargebeeV1PayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'payorUserUuid': json['payorUserUuid'],
|
|
36
|
+
'distributorCode': json['distributorCode'],
|
|
37
|
+
'subscriptionCreationMode': SubscriptionCreationModeFromJSON(json['subscriptionCreationMode']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function V1SetChargebeeV1PayloadToJSON(json) {
|
|
41
|
+
return V1SetChargebeeV1PayloadToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function V1SetChargebeeV1PayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'payorUserUuid': value['payorUserUuid'],
|
|
49
|
+
'distributorCode': value['distributorCode'],
|
|
50
|
+
'subscriptionCreationMode': SubscriptionCreationModeToJSON(value['subscriptionCreationMode']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 { V1BillingType } from './V1BillingType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V1SetLegacyBillingPayload
|
|
17
|
+
*/
|
|
18
|
+
export interface V1SetLegacyBillingPayload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {V1BillingType}
|
|
22
|
+
* @memberof V1SetLegacyBillingPayload
|
|
23
|
+
*/
|
|
24
|
+
billingType: V1BillingType;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof V1SetLegacyBillingPayload
|
|
29
|
+
*/
|
|
30
|
+
chargebeeId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof V1SetLegacyBillingPayload
|
|
35
|
+
*/
|
|
36
|
+
distributorCode?: string | null;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the V1SetLegacyBillingPayload interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfV1SetLegacyBillingPayload(value: object): value is V1SetLegacyBillingPayload;
|
|
42
|
+
export declare function V1SetLegacyBillingPayloadFromJSON(json: any): V1SetLegacyBillingPayload;
|
|
43
|
+
export declare function V1SetLegacyBillingPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetLegacyBillingPayload;
|
|
44
|
+
export declare function V1SetLegacyBillingPayloadToJSON(json: any): V1SetLegacyBillingPayload;
|
|
45
|
+
export declare function V1SetLegacyBillingPayloadToJSONTyped(value?: V1SetLegacyBillingPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { V1BillingTypeFromJSON, V1BillingTypeToJSON, } from './V1BillingType';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the V1SetLegacyBillingPayload interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfV1SetLegacyBillingPayload(value) {
|
|
19
|
+
if (!('billingType' in value) || value['billingType'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('chargebeeId' in value) || value['chargebeeId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function V1SetLegacyBillingPayloadFromJSON(json) {
|
|
26
|
+
return V1SetLegacyBillingPayloadFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function V1SetLegacyBillingPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'billingType': V1BillingTypeFromJSON(json['billingType']),
|
|
34
|
+
'chargebeeId': json['chargebeeId'],
|
|
35
|
+
'distributorCode': json['distributorCode'] == null ? undefined : json['distributorCode'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function V1SetLegacyBillingPayloadToJSON(json) {
|
|
39
|
+
return V1SetLegacyBillingPayloadToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function V1SetLegacyBillingPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'billingType': V1BillingTypeToJSON(value['billingType']),
|
|
47
|
+
'chargebeeId': value['chargebeeId'],
|
|
48
|
+
'distributorCode': value['distributorCode'],
|
|
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 V1SetOrganisationDistributorPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface V1SetOrganisationDistributorPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1SetOrganisationDistributorPayload
|
|
22
|
+
*/
|
|
23
|
+
distributorCode: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the V1SetOrganisationDistributorPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfV1SetOrganisationDistributorPayload(value: object): value is V1SetOrganisationDistributorPayload;
|
|
29
|
+
export declare function V1SetOrganisationDistributorPayloadFromJSON(json: any): V1SetOrganisationDistributorPayload;
|
|
30
|
+
export declare function V1SetOrganisationDistributorPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetOrganisationDistributorPayload;
|
|
31
|
+
export declare function V1SetOrganisationDistributorPayloadToJSON(json: any): V1SetOrganisationDistributorPayload;
|
|
32
|
+
export declare function V1SetOrganisationDistributorPayloadToJSONTyped(value?: V1SetOrganisationDistributorPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the V1SetOrganisationDistributorPayload interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfV1SetOrganisationDistributorPayload(value) {
|
|
18
|
+
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function V1SetOrganisationDistributorPayloadFromJSON(json) {
|
|
23
|
+
return V1SetOrganisationDistributorPayloadFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function V1SetOrganisationDistributorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'distributorCode': json['distributorCode'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function V1SetOrganisationDistributorPayloadToJSON(json) {
|
|
34
|
+
return V1SetOrganisationDistributorPayloadToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function V1SetOrganisationDistributorPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'distributorCode': value['distributorCode'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 V1SetUserNonBillablePayload
|
|
16
|
+
*/
|
|
17
|
+
export interface V1SetUserNonBillablePayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1SetUserNonBillablePayload
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the V1SetUserNonBillablePayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfV1SetUserNonBillablePayload(value: object): value is V1SetUserNonBillablePayload;
|
|
29
|
+
export declare function V1SetUserNonBillablePayloadFromJSON(json: any): V1SetUserNonBillablePayload;
|
|
30
|
+
export declare function V1SetUserNonBillablePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetUserNonBillablePayload;
|
|
31
|
+
export declare function V1SetUserNonBillablePayloadToJSON(json: any): V1SetUserNonBillablePayload;
|
|
32
|
+
export declare function V1SetUserNonBillablePayloadToJSONTyped(value?: V1SetUserNonBillablePayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Billing
|
|
5
|
+
* Micro-Service to handle billing
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.1.1-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the V1SetUserNonBillablePayload interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfV1SetUserNonBillablePayload(value) {
|
|
18
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function V1SetUserNonBillablePayloadFromJSON(json) {
|
|
23
|
+
return V1SetUserNonBillablePayloadFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function V1SetUserNonBillablePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'reason': json['reason'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function V1SetUserNonBillablePayloadToJSON(json) {
|
|
34
|
+
return V1SetUserNonBillablePayloadToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function V1SetUserNonBillablePayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'reason': value['reason'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 V1User
|
|
16
|
+
*/
|
|
17
|
+
export interface V1User {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1User
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof V1User
|
|
28
|
+
*/
|
|
29
|
+
nonBillable: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof V1User
|
|
34
|
+
*/
|
|
35
|
+
nonBillableReason: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof V1User
|
|
40
|
+
*/
|
|
41
|
+
payorForOrganizations: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the V1User interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfV1User(value: object): value is V1User;
|
|
47
|
+
export declare function V1UserFromJSON(json: any): V1User;
|
|
48
|
+
export declare function V1UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1User;
|
|
49
|
+
export declare function V1UserToJSON(json: any): V1User;
|
|
50
|
+
export declare function V1UserToJSONTyped(value?: V1User | null, ignoreDiscriminator?: boolean): any;
|