@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,59 @@
|
|
|
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.instanceOfV1SetChargebeeV1Payload = instanceOfV1SetChargebeeV1Payload;
|
|
17
|
+
exports.V1SetChargebeeV1PayloadFromJSON = V1SetChargebeeV1PayloadFromJSON;
|
|
18
|
+
exports.V1SetChargebeeV1PayloadFromJSONTyped = V1SetChargebeeV1PayloadFromJSONTyped;
|
|
19
|
+
exports.V1SetChargebeeV1PayloadToJSON = V1SetChargebeeV1PayloadToJSON;
|
|
20
|
+
exports.V1SetChargebeeV1PayloadToJSONTyped = V1SetChargebeeV1PayloadToJSONTyped;
|
|
21
|
+
const SubscriptionCreationMode_1 = require("./SubscriptionCreationMode");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the V1SetChargebeeV1Payload interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfV1SetChargebeeV1Payload(value) {
|
|
26
|
+
if (!('payorUserUuid' in value) || value['payorUserUuid'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('subscriptionCreationMode' in value) || value['subscriptionCreationMode'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function V1SetChargebeeV1PayloadFromJSON(json) {
|
|
35
|
+
return V1SetChargebeeV1PayloadFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function V1SetChargebeeV1PayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'payorUserUuid': json['payorUserUuid'],
|
|
43
|
+
'distributorCode': json['distributorCode'],
|
|
44
|
+
'subscriptionCreationMode': (0, SubscriptionCreationMode_1.SubscriptionCreationModeFromJSON)(json['subscriptionCreationMode']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function V1SetChargebeeV1PayloadToJSON(json) {
|
|
48
|
+
return V1SetChargebeeV1PayloadToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function V1SetChargebeeV1PayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'payorUserUuid': value['payorUserUuid'],
|
|
56
|
+
'distributorCode': value['distributorCode'],
|
|
57
|
+
'subscriptionCreationMode': (0, SubscriptionCreationMode_1.SubscriptionCreationModeToJSON)(value['subscriptionCreationMode']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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,57 @@
|
|
|
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.instanceOfV1SetLegacyBillingPayload = instanceOfV1SetLegacyBillingPayload;
|
|
17
|
+
exports.V1SetLegacyBillingPayloadFromJSON = V1SetLegacyBillingPayloadFromJSON;
|
|
18
|
+
exports.V1SetLegacyBillingPayloadFromJSONTyped = V1SetLegacyBillingPayloadFromJSONTyped;
|
|
19
|
+
exports.V1SetLegacyBillingPayloadToJSON = V1SetLegacyBillingPayloadToJSON;
|
|
20
|
+
exports.V1SetLegacyBillingPayloadToJSONTyped = V1SetLegacyBillingPayloadToJSONTyped;
|
|
21
|
+
const V1BillingType_1 = require("./V1BillingType");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the V1SetLegacyBillingPayload interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfV1SetLegacyBillingPayload(value) {
|
|
26
|
+
if (!('billingType' in value) || value['billingType'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('chargebeeId' in value) || value['chargebeeId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function V1SetLegacyBillingPayloadFromJSON(json) {
|
|
33
|
+
return V1SetLegacyBillingPayloadFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function V1SetLegacyBillingPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'billingType': (0, V1BillingType_1.V1BillingTypeFromJSON)(json['billingType']),
|
|
41
|
+
'chargebeeId': json['chargebeeId'],
|
|
42
|
+
'distributorCode': json['distributorCode'] == null ? undefined : json['distributorCode'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function V1SetLegacyBillingPayloadToJSON(json) {
|
|
46
|
+
return V1SetLegacyBillingPayloadToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function V1SetLegacyBillingPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'billingType': (0, V1BillingType_1.V1BillingTypeToJSON)(value['billingType']),
|
|
54
|
+
'chargebeeId': value['chargebeeId'],
|
|
55
|
+
'distributorCode': value['distributorCode'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -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,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.instanceOfV1SetOrganisationDistributorPayload = instanceOfV1SetOrganisationDistributorPayload;
|
|
17
|
+
exports.V1SetOrganisationDistributorPayloadFromJSON = V1SetOrganisationDistributorPayloadFromJSON;
|
|
18
|
+
exports.V1SetOrganisationDistributorPayloadFromJSONTyped = V1SetOrganisationDistributorPayloadFromJSONTyped;
|
|
19
|
+
exports.V1SetOrganisationDistributorPayloadToJSON = V1SetOrganisationDistributorPayloadToJSON;
|
|
20
|
+
exports.V1SetOrganisationDistributorPayloadToJSONTyped = V1SetOrganisationDistributorPayloadToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1SetOrganisationDistributorPayload interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1SetOrganisationDistributorPayload(value) {
|
|
25
|
+
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function V1SetOrganisationDistributorPayloadFromJSON(json) {
|
|
30
|
+
return V1SetOrganisationDistributorPayloadFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function V1SetOrganisationDistributorPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'distributorCode': json['distributorCode'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function V1SetOrganisationDistributorPayloadToJSON(json) {
|
|
41
|
+
return V1SetOrganisationDistributorPayloadToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function V1SetOrganisationDistributorPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
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 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,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.instanceOfV1SetUserNonBillablePayload = instanceOfV1SetUserNonBillablePayload;
|
|
17
|
+
exports.V1SetUserNonBillablePayloadFromJSON = V1SetUserNonBillablePayloadFromJSON;
|
|
18
|
+
exports.V1SetUserNonBillablePayloadFromJSONTyped = V1SetUserNonBillablePayloadFromJSONTyped;
|
|
19
|
+
exports.V1SetUserNonBillablePayloadToJSON = V1SetUserNonBillablePayloadToJSON;
|
|
20
|
+
exports.V1SetUserNonBillablePayloadToJSONTyped = V1SetUserNonBillablePayloadToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1SetUserNonBillablePayload interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1SetUserNonBillablePayload(value) {
|
|
25
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function V1SetUserNonBillablePayloadFromJSON(json) {
|
|
30
|
+
return V1SetUserNonBillablePayloadFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function V1SetUserNonBillablePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'reason': json['reason'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function V1SetUserNonBillablePayloadToJSON(json) {
|
|
41
|
+
return V1SetUserNonBillablePayloadToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function V1SetUserNonBillablePayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'reason': value['reason'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfV1User = instanceOfV1User;
|
|
17
|
+
exports.V1UserFromJSON = V1UserFromJSON;
|
|
18
|
+
exports.V1UserFromJSONTyped = V1UserFromJSONTyped;
|
|
19
|
+
exports.V1UserToJSON = V1UserToJSON;
|
|
20
|
+
exports.V1UserToJSONTyped = V1UserToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1User interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1User(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('nonBillable' in value) || value['nonBillable'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('nonBillableReason' in value) || value['nonBillableReason'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('payorForOrganizations' in value) || value['payorForOrganizations'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function V1UserFromJSON(json) {
|
|
36
|
+
return V1UserFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function V1UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'nonBillable': json['nonBillable'],
|
|
45
|
+
'nonBillableReason': json['nonBillableReason'],
|
|
46
|
+
'payorForOrganizations': json['payorForOrganizations'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function V1UserToJSON(json) {
|
|
50
|
+
return V1UserToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function V1UserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'nonBillable': value['nonBillable'],
|
|
59
|
+
'nonBillableReason': value['nonBillableReason'],
|
|
60
|
+
'payorForOrganizations': value['payorForOrganizations'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 V1UserServiceStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface V1UserServiceStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V1UserServiceStatus
|
|
22
|
+
*/
|
|
23
|
+
organizationUuid: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V1UserServiceStatus
|
|
28
|
+
*/
|
|
29
|
+
code: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof V1UserServiceStatus
|
|
34
|
+
*/
|
|
35
|
+
authorized: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the V1UserServiceStatus interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfV1UserServiceStatus(value: object): value is V1UserServiceStatus;
|
|
41
|
+
export declare function V1UserServiceStatusFromJSON(json: any): V1UserServiceStatus;
|
|
42
|
+
export declare function V1UserServiceStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1UserServiceStatus;
|
|
43
|
+
export declare function V1UserServiceStatusToJSON(json: any): V1UserServiceStatus;
|
|
44
|
+
export declare function V1UserServiceStatusToJSONTyped(value?: V1UserServiceStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfV1UserServiceStatus = instanceOfV1UserServiceStatus;
|
|
17
|
+
exports.V1UserServiceStatusFromJSON = V1UserServiceStatusFromJSON;
|
|
18
|
+
exports.V1UserServiceStatusFromJSONTyped = V1UserServiceStatusFromJSONTyped;
|
|
19
|
+
exports.V1UserServiceStatusToJSON = V1UserServiceStatusToJSON;
|
|
20
|
+
exports.V1UserServiceStatusToJSONTyped = V1UserServiceStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the V1UserServiceStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfV1UserServiceStatus(value) {
|
|
25
|
+
if (!('organizationUuid' in value) || value['organizationUuid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('authorized' in value) || value['authorized'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function V1UserServiceStatusFromJSON(json) {
|
|
34
|
+
return V1UserServiceStatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function V1UserServiceStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'organizationUuid': json['organizationUuid'],
|
|
42
|
+
'code': json['code'],
|
|
43
|
+
'authorized': json['authorized'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function V1UserServiceStatusToJSON(json) {
|
|
47
|
+
return V1UserServiceStatusToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function V1UserServiceStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'organizationUuid': value['organizationUuid'],
|
|
55
|
+
'code': value['code'],
|
|
56
|
+
'authorized': value['authorized'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { V1UserServiceStatus } from './V1UserServiceStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface V1UserStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface V1UserStatus {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<V1UserServiceStatus>}
|
|
22
|
+
* @memberof V1UserStatus
|
|
23
|
+
*/
|
|
24
|
+
services: Array<V1UserServiceStatus>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the V1UserStatus interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfV1UserStatus(value: object): value is V1UserStatus;
|
|
30
|
+
export declare function V1UserStatusFromJSON(json: any): V1UserStatus;
|
|
31
|
+
export declare function V1UserStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1UserStatus;
|
|
32
|
+
export declare function V1UserStatusToJSON(json: any): V1UserStatus;
|
|
33
|
+
export declare function V1UserStatusToJSONTyped(value?: V1UserStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfV1UserStatus = instanceOfV1UserStatus;
|
|
17
|
+
exports.V1UserStatusFromJSON = V1UserStatusFromJSON;
|
|
18
|
+
exports.V1UserStatusFromJSONTyped = V1UserStatusFromJSONTyped;
|
|
19
|
+
exports.V1UserStatusToJSON = V1UserStatusToJSON;
|
|
20
|
+
exports.V1UserStatusToJSONTyped = V1UserStatusToJSONTyped;
|
|
21
|
+
const V1UserServiceStatus_1 = require("./V1UserServiceStatus");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the V1UserStatus interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfV1UserStatus(value) {
|
|
26
|
+
if (!('services' in value) || value['services'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function V1UserStatusFromJSON(json) {
|
|
31
|
+
return V1UserStatusFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function V1UserStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'services': (json['services'].map(V1UserServiceStatus_1.V1UserServiceStatusFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function V1UserStatusToJSON(json) {
|
|
42
|
+
return V1UserStatusToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function V1UserStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'services': (value['services'].map(V1UserServiceStatus_1.V1UserServiceStatusToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './ErrorCodes';
|
|
2
|
+
export * from './ErrorSchema';
|
|
3
|
+
export * from './SubscriptionCreationMode';
|
|
4
|
+
export * from './V1BillingStatus';
|
|
5
|
+
export * from './V1BillingType';
|
|
6
|
+
export * from './V1ChargebeeV1NotPaidInvoice';
|
|
7
|
+
export * from './V1ChargebeeV1PaymentDueInvoice';
|
|
8
|
+
export * from './V1ChargebeeV1PortalSession';
|
|
9
|
+
export * from './V1ChargebeeV1UnpaidInvoice';
|
|
10
|
+
export * from './V1CollectChargebeeV1Payment';
|
|
11
|
+
export * from './V1CreateChargebeeV1PortalSessionPayload';
|
|
12
|
+
export * from './V1CreateOrUpdateChargebeeV1SubscriptionPayload';
|
|
13
|
+
export * from './V1Distributor';
|
|
14
|
+
export * from './V1DistributorList';
|
|
15
|
+
export * from './V1MigrateLegacyBillingPayload';
|
|
16
|
+
export * from './V1Organization';
|
|
17
|
+
export * from './V1OrganizationChargebeeV1Status';
|
|
18
|
+
export * from './V1OrganizationStatus';
|
|
19
|
+
export * from './V1OrganizationStatusChargebeeV1Addon';
|
|
20
|
+
export * from './V1OrganizationStatusChargebeeV1User';
|
|
21
|
+
export * from './V1OrganizationStatusChargebeeV1UserBillingStatus';
|
|
22
|
+
export * from './V1SetChargebeeV1BillingPayorPayload';
|
|
23
|
+
export * from './V1SetChargebeeV1Payload';
|
|
24
|
+
export * from './V1SetLegacyBillingPayload';
|
|
25
|
+
export * from './V1SetOrganisationDistributorPayload';
|
|
26
|
+
export * from './V1SetUserNonBillablePayload';
|
|
27
|
+
export * from './V1User';
|
|
28
|
+
export * from './V1UserServiceStatus';
|
|
29
|
+
export * from './V1UserStatus';
|