@equisoft/billing-sdk 2.9.0 → 2.9.1-snapshot.20260213160128
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 +0 -2
- package/README.md +2 -2
- package/dist/apis/ChargebeeV1Api.d.ts +1 -1
- package/dist/apis/ChargebeeV1Api.js +1 -1
- package/dist/apis/DistributorV1Api.d.ts +1 -1
- package/dist/apis/DistributorV1Api.js +1 -1
- package/dist/apis/OrganizationV1Api.d.ts +2 -26
- package/dist/apis/OrganizationV1Api.js +1 -81
- package/dist/apis/UserV1Api.d.ts +1 -1
- package/dist/apis/UserV1Api.js +1 -1
- package/dist/esm/apis/ChargebeeV1Api.d.ts +1 -1
- package/dist/esm/apis/ChargebeeV1Api.js +1 -1
- package/dist/esm/apis/DistributorV1Api.d.ts +1 -1
- package/dist/esm/apis/DistributorV1Api.js +1 -1
- package/dist/esm/apis/OrganizationV1Api.d.ts +2 -26
- package/dist/esm/apis/OrganizationV1Api.js +2 -82
- package/dist/esm/apis/UserV1Api.d.ts +1 -1
- package/dist/esm/apis/UserV1Api.js +1 -1
- package/dist/esm/models/Country.d.ts +1 -1
- package/dist/esm/models/Country.js +1 -1
- package/dist/esm/models/ErrorCodes.d.ts +1 -1
- package/dist/esm/models/ErrorCodes.js +1 -1
- package/dist/esm/models/ErrorSchema.d.ts +1 -1
- package/dist/esm/models/ErrorSchema.js +1 -1
- package/dist/esm/models/SubscriptionCreationMode.d.ts +1 -1
- package/dist/esm/models/SubscriptionCreationMode.js +1 -1
- package/dist/esm/models/V1BillingProfile.d.ts +1 -1
- package/dist/esm/models/V1BillingProfile.js +1 -1
- package/dist/esm/models/V1BillingStatus.d.ts +1 -1
- package/dist/esm/models/V1BillingStatus.js +1 -1
- package/dist/esm/models/V1BillingType.d.ts +1 -3
- package/dist/esm/models/V1BillingType.js +1 -3
- package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.js +1 -1
- package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.js +1 -1
- package/dist/esm/models/V1ChargebeeV1PortalSession.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeV1PortalSession.js +1 -1
- package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.js +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEvent.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEvent.js +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEventContent.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEventContent.js +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEventCustomer.d.ts +1 -1
- package/dist/esm/models/V1ChargebeeWebhookEventCustomer.js +1 -1
- package/dist/esm/models/V1CollectChargebeeV1Payment.d.ts +1 -1
- package/dist/esm/models/V1CollectChargebeeV1Payment.js +1 -1
- package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +1 -1
- package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.js +1 -1
- package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +1 -1
- package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +1 -1
- package/dist/esm/models/V1Distributor.d.ts +1 -1
- package/dist/esm/models/V1Distributor.js +1 -1
- package/dist/esm/models/V1DistributorList.d.ts +1 -1
- package/dist/esm/models/V1DistributorList.js +1 -1
- package/dist/esm/models/V1Organization.d.ts +1 -1
- package/dist/esm/models/V1Organization.js +1 -1
- package/dist/esm/models/V1OrganizationBillingUser.d.ts +1 -1
- package/dist/esm/models/V1OrganizationBillingUser.js +1 -1
- package/dist/esm/models/V1OrganizationBillingUsers.d.ts +1 -1
- package/dist/esm/models/V1OrganizationBillingUsers.js +1 -1
- package/dist/esm/models/V1OrganizationChargebeeV1Status.d.ts +1 -1
- package/dist/esm/models/V1OrganizationChargebeeV1Status.js +1 -1
- package/dist/esm/models/V1OrganizationStatus.d.ts +1 -1
- package/dist/esm/models/V1OrganizationStatus.js +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.d.ts +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.js +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1User.d.ts +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1User.js +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +1 -1
- package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +1 -1
- package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.d.ts +1 -1
- package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.js +1 -1
- package/dist/esm/models/V1SetChargebeeV1Payload.d.ts +1 -1
- package/dist/esm/models/V1SetChargebeeV1Payload.js +1 -1
- package/dist/esm/models/V1SetOrganisationDistributorPayload.d.ts +1 -1
- package/dist/esm/models/V1SetOrganisationDistributorPayload.js +1 -1
- package/dist/esm/models/V1SetUserBillingProfilePayload.d.ts +1 -1
- package/dist/esm/models/V1SetUserBillingProfilePayload.js +1 -1
- package/dist/esm/models/V1SetUserNonBillablePayload.d.ts +1 -1
- package/dist/esm/models/V1SetUserNonBillablePayload.js +1 -1
- package/dist/esm/models/V1User.d.ts +1 -1
- package/dist/esm/models/V1User.js +1 -1
- package/dist/esm/models/V1UserServiceStatus.d.ts +1 -1
- package/dist/esm/models/V1UserServiceStatus.js +1 -1
- package/dist/esm/models/V1UserStatus.d.ts +1 -1
- package/dist/esm/models/V1UserStatus.js +1 -1
- package/dist/esm/models/index.d.ts +0 -2
- package/dist/esm/models/index.js +0 -2
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/Country.d.ts +1 -1
- package/dist/models/Country.js +1 -1
- package/dist/models/ErrorCodes.d.ts +1 -1
- package/dist/models/ErrorCodes.js +1 -1
- package/dist/models/ErrorSchema.d.ts +1 -1
- package/dist/models/ErrorSchema.js +1 -1
- package/dist/models/SubscriptionCreationMode.d.ts +1 -1
- package/dist/models/SubscriptionCreationMode.js +1 -1
- package/dist/models/V1BillingProfile.d.ts +1 -1
- package/dist/models/V1BillingProfile.js +1 -1
- package/dist/models/V1BillingStatus.d.ts +1 -1
- package/dist/models/V1BillingStatus.js +1 -1
- package/dist/models/V1BillingType.d.ts +1 -3
- package/dist/models/V1BillingType.js +1 -3
- package/dist/models/V1ChargebeeV1NotPaidInvoice.d.ts +1 -1
- package/dist/models/V1ChargebeeV1NotPaidInvoice.js +1 -1
- package/dist/models/V1ChargebeeV1PaymentDueInvoice.d.ts +1 -1
- package/dist/models/V1ChargebeeV1PaymentDueInvoice.js +1 -1
- package/dist/models/V1ChargebeeV1PortalSession.d.ts +1 -1
- package/dist/models/V1ChargebeeV1PortalSession.js +1 -1
- package/dist/models/V1ChargebeeV1UnpaidInvoice.d.ts +1 -1
- package/dist/models/V1ChargebeeV1UnpaidInvoice.js +1 -1
- package/dist/models/V1ChargebeeWebhookEvent.d.ts +1 -1
- package/dist/models/V1ChargebeeWebhookEvent.js +1 -1
- package/dist/models/V1ChargebeeWebhookEventContent.d.ts +1 -1
- package/dist/models/V1ChargebeeWebhookEventContent.js +1 -1
- package/dist/models/V1ChargebeeWebhookEventCustomer.d.ts +1 -1
- package/dist/models/V1ChargebeeWebhookEventCustomer.js +1 -1
- package/dist/models/V1CollectChargebeeV1Payment.d.ts +1 -1
- package/dist/models/V1CollectChargebeeV1Payment.js +1 -1
- package/dist/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +1 -1
- package/dist/models/V1CreateChargebeeV1PortalSessionPayload.js +1 -1
- package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +1 -1
- package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +1 -1
- package/dist/models/V1Distributor.d.ts +1 -1
- package/dist/models/V1Distributor.js +1 -1
- package/dist/models/V1DistributorList.d.ts +1 -1
- package/dist/models/V1DistributorList.js +1 -1
- package/dist/models/V1Organization.d.ts +1 -1
- package/dist/models/V1Organization.js +1 -1
- package/dist/models/V1OrganizationBillingUser.d.ts +1 -1
- package/dist/models/V1OrganizationBillingUser.js +1 -1
- package/dist/models/V1OrganizationBillingUsers.d.ts +1 -1
- package/dist/models/V1OrganizationBillingUsers.js +1 -1
- package/dist/models/V1OrganizationChargebeeV1Status.d.ts +1 -1
- package/dist/models/V1OrganizationChargebeeV1Status.js +1 -1
- package/dist/models/V1OrganizationStatus.d.ts +1 -1
- package/dist/models/V1OrganizationStatus.js +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1Addon.d.ts +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1Addon.js +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1User.d.ts +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1User.js +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +1 -1
- package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +1 -1
- package/dist/models/V1SetChargebeeV1BillingPayorPayload.d.ts +1 -1
- package/dist/models/V1SetChargebeeV1BillingPayorPayload.js +1 -1
- package/dist/models/V1SetChargebeeV1Payload.d.ts +1 -1
- package/dist/models/V1SetChargebeeV1Payload.js +1 -1
- package/dist/models/V1SetOrganisationDistributorPayload.d.ts +1 -1
- package/dist/models/V1SetOrganisationDistributorPayload.js +1 -1
- package/dist/models/V1SetUserBillingProfilePayload.d.ts +1 -1
- package/dist/models/V1SetUserBillingProfilePayload.js +1 -1
- package/dist/models/V1SetUserNonBillablePayload.d.ts +1 -1
- package/dist/models/V1SetUserNonBillablePayload.js +1 -1
- package/dist/models/V1User.d.ts +1 -1
- package/dist/models/V1User.js +1 -1
- package/dist/models/V1UserServiceStatus.d.ts +1 -1
- package/dist/models/V1UserServiceStatus.js +1 -1
- package/dist/models/V1UserStatus.d.ts +1 -1
- package/dist/models/V1UserStatus.js +1 -1
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/ChargebeeV1Api.ts +1 -1
- package/src/apis/DistributorV1Api.ts +1 -1
- package/src/apis/OrganizationV1Api.ts +1 -119
- package/src/apis/UserV1Api.ts +1 -1
- package/src/models/Country.ts +1 -1
- package/src/models/ErrorCodes.ts +1 -1
- package/src/models/ErrorSchema.ts +1 -1
- package/src/models/SubscriptionCreationMode.ts +1 -1
- package/src/models/V1BillingProfile.ts +1 -1
- package/src/models/V1BillingStatus.ts +1 -1
- package/src/models/V1BillingType.ts +1 -3
- package/src/models/V1ChargebeeV1NotPaidInvoice.ts +1 -1
- package/src/models/V1ChargebeeV1PaymentDueInvoice.ts +1 -1
- package/src/models/V1ChargebeeV1PortalSession.ts +1 -1
- package/src/models/V1ChargebeeV1UnpaidInvoice.ts +1 -1
- package/src/models/V1ChargebeeWebhookEvent.ts +1 -1
- package/src/models/V1ChargebeeWebhookEventContent.ts +1 -1
- package/src/models/V1ChargebeeWebhookEventCustomer.ts +1 -1
- package/src/models/V1CollectChargebeeV1Payment.ts +1 -1
- package/src/models/V1CreateChargebeeV1PortalSessionPayload.ts +1 -1
- package/src/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.ts +1 -1
- package/src/models/V1Distributor.ts +1 -1
- package/src/models/V1DistributorList.ts +1 -1
- package/src/models/V1Organization.ts +1 -1
- package/src/models/V1OrganizationBillingUser.ts +1 -1
- package/src/models/V1OrganizationBillingUsers.ts +1 -1
- package/src/models/V1OrganizationChargebeeV1Status.ts +1 -1
- package/src/models/V1OrganizationStatus.ts +1 -1
- package/src/models/V1OrganizationStatusChargebeeV1Addon.ts +1 -1
- package/src/models/V1OrganizationStatusChargebeeV1User.ts +1 -1
- package/src/models/V1OrganizationStatusChargebeeV1UserBillingStatus.ts +1 -1
- package/src/models/V1SetChargebeeV1BillingPayorPayload.ts +1 -1
- package/src/models/V1SetChargebeeV1Payload.ts +1 -1
- package/src/models/V1SetOrganisationDistributorPayload.ts +1 -1
- package/src/models/V1SetUserBillingProfilePayload.ts +1 -1
- package/src/models/V1SetUserNonBillablePayload.ts +1 -1
- package/src/models/V1User.ts +1 -1
- package/src/models/V1UserServiceStatus.ts +1 -1
- package/src/models/V1UserStatus.ts +1 -1
- package/src/models/index.ts +0 -2
- package/src/runtime.ts +1 -1
- package/dist/esm/models/V1MigrateLegacyBillingPayload.d.ts +0 -38
- package/dist/esm/models/V1MigrateLegacyBillingPayload.js +0 -47
- package/dist/esm/models/V1SetLegacyBillingPayload.d.ts +0 -45
- package/dist/esm/models/V1SetLegacyBillingPayload.js +0 -50
- package/dist/models/V1MigrateLegacyBillingPayload.d.ts +0 -38
- package/dist/models/V1MigrateLegacyBillingPayload.js +0 -54
- package/dist/models/V1SetLegacyBillingPayload.d.ts +0 -45
- package/dist/models/V1SetLegacyBillingPayload.js +0 -57
- package/src/models/V1MigrateLegacyBillingPayload.ts +0 -75
- package/src/models/V1SetLegacyBillingPayload.ts +0 -93
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/V1User.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/src/models/index.ts
CHANGED
|
@@ -19,7 +19,6 @@ export * from './V1CreateChargebeeV1PortalSessionPayload';
|
|
|
19
19
|
export * from './V1CreateOrUpdateChargebeeV1SubscriptionPayload';
|
|
20
20
|
export * from './V1Distributor';
|
|
21
21
|
export * from './V1DistributorList';
|
|
22
|
-
export * from './V1MigrateLegacyBillingPayload';
|
|
23
22
|
export * from './V1Organization';
|
|
24
23
|
export * from './V1OrganizationBillingUser';
|
|
25
24
|
export * from './V1OrganizationBillingUsers';
|
|
@@ -30,7 +29,6 @@ export * from './V1OrganizationStatusChargebeeV1User';
|
|
|
30
29
|
export * from './V1OrganizationStatusChargebeeV1UserBillingStatus';
|
|
31
30
|
export * from './V1SetChargebeeV1BillingPayorPayload';
|
|
32
31
|
export * from './V1SetChargebeeV1Payload';
|
|
33
|
-
export * from './V1SetLegacyBillingPayload';
|
|
34
32
|
export * from './V1SetOrganisationDistributorPayload';
|
|
35
33
|
export * from './V1SetUserBillingProfilePayload';
|
|
36
34
|
export * from './V1SetUserNonBillablePayload';
|
package/src/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Billing
|
|
5
5
|
* Micro-Service to handle billing
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.
|
|
7
|
+
* The version of the OpenAPI document: 2.9.1-SNAPSHOT
|
|
8
8
|
* Contact: customersuccess@equisoft.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Billing
|
|
3
|
-
* Micro-Service to handle billing
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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 V1MigrateLegacyBillingPayload
|
|
16
|
-
*/
|
|
17
|
-
export interface V1MigrateLegacyBillingPayload {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
22
|
-
*/
|
|
23
|
-
payorUserUuid: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
28
|
-
*/
|
|
29
|
-
distributorCode: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the V1MigrateLegacyBillingPayload interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfV1MigrateLegacyBillingPayload(value: object): value is V1MigrateLegacyBillingPayload;
|
|
35
|
-
export declare function V1MigrateLegacyBillingPayloadFromJSON(json: any): V1MigrateLegacyBillingPayload;
|
|
36
|
-
export declare function V1MigrateLegacyBillingPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1MigrateLegacyBillingPayload;
|
|
37
|
-
export declare function V1MigrateLegacyBillingPayloadToJSON(json: any): V1MigrateLegacyBillingPayload;
|
|
38
|
-
export declare function V1MigrateLegacyBillingPayloadToJSONTyped(value?: V1MigrateLegacyBillingPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Billing
|
|
5
|
-
* Micro-Service to handle billing
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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 V1MigrateLegacyBillingPayload interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfV1MigrateLegacyBillingPayload(value) {
|
|
18
|
-
if (!('payorUserUuid' in value) || value['payorUserUuid'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function V1MigrateLegacyBillingPayloadFromJSON(json) {
|
|
25
|
-
return V1MigrateLegacyBillingPayloadFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function V1MigrateLegacyBillingPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'payorUserUuid': json['payorUserUuid'],
|
|
33
|
-
'distributorCode': json['distributorCode'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function V1MigrateLegacyBillingPayloadToJSON(json) {
|
|
37
|
-
return V1MigrateLegacyBillingPayloadToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function V1MigrateLegacyBillingPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'payorUserUuid': value['payorUserUuid'],
|
|
45
|
-
'distributorCode': value['distributorCode'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Billing
|
|
3
|
-
* Micro-Service to handle billing
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Billing
|
|
5
|
-
* Micro-Service to handle billing
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Billing
|
|
3
|
-
* Micro-Service to handle billing
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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 V1MigrateLegacyBillingPayload
|
|
16
|
-
*/
|
|
17
|
-
export interface V1MigrateLegacyBillingPayload {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
22
|
-
*/
|
|
23
|
-
payorUserUuid: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
28
|
-
*/
|
|
29
|
-
distributorCode: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the V1MigrateLegacyBillingPayload interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfV1MigrateLegacyBillingPayload(value: object): value is V1MigrateLegacyBillingPayload;
|
|
35
|
-
export declare function V1MigrateLegacyBillingPayloadFromJSON(json: any): V1MigrateLegacyBillingPayload;
|
|
36
|
-
export declare function V1MigrateLegacyBillingPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1MigrateLegacyBillingPayload;
|
|
37
|
-
export declare function V1MigrateLegacyBillingPayloadToJSON(json: any): V1MigrateLegacyBillingPayload;
|
|
38
|
-
export declare function V1MigrateLegacyBillingPayloadToJSONTyped(value?: V1MigrateLegacyBillingPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.9.0
|
|
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.instanceOfV1MigrateLegacyBillingPayload = instanceOfV1MigrateLegacyBillingPayload;
|
|
17
|
-
exports.V1MigrateLegacyBillingPayloadFromJSON = V1MigrateLegacyBillingPayloadFromJSON;
|
|
18
|
-
exports.V1MigrateLegacyBillingPayloadFromJSONTyped = V1MigrateLegacyBillingPayloadFromJSONTyped;
|
|
19
|
-
exports.V1MigrateLegacyBillingPayloadToJSON = V1MigrateLegacyBillingPayloadToJSON;
|
|
20
|
-
exports.V1MigrateLegacyBillingPayloadToJSONTyped = V1MigrateLegacyBillingPayloadToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the V1MigrateLegacyBillingPayload interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfV1MigrateLegacyBillingPayload(value) {
|
|
25
|
-
if (!('payorUserUuid' in value) || value['payorUserUuid'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('distributorCode' in value) || value['distributorCode'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function V1MigrateLegacyBillingPayloadFromJSON(json) {
|
|
32
|
-
return V1MigrateLegacyBillingPayloadFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function V1MigrateLegacyBillingPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'payorUserUuid': json['payorUserUuid'],
|
|
40
|
-
'distributorCode': json['distributorCode'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function V1MigrateLegacyBillingPayloadToJSON(json) {
|
|
44
|
-
return V1MigrateLegacyBillingPayloadToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function V1MigrateLegacyBillingPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'payorUserUuid': value['payorUserUuid'],
|
|
52
|
-
'distributorCode': value['distributorCode'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Billing
|
|
3
|
-
* Micro-Service to handle billing
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.9.0
|
|
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
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Billing
|
|
5
|
-
* Micro-Service to handle billing
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface V1MigrateLegacyBillingPayload
|
|
20
|
-
*/
|
|
21
|
-
export interface V1MigrateLegacyBillingPayload {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
26
|
-
*/
|
|
27
|
-
payorUserUuid: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof V1MigrateLegacyBillingPayload
|
|
32
|
-
*/
|
|
33
|
-
distributorCode: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the V1MigrateLegacyBillingPayload interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfV1MigrateLegacyBillingPayload(value: object): value is V1MigrateLegacyBillingPayload {
|
|
40
|
-
if (!('payorUserUuid' in value) || value['payorUserUuid'] === undefined) return false;
|
|
41
|
-
if (!('distributorCode' in value) || value['distributorCode'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function V1MigrateLegacyBillingPayloadFromJSON(json: any): V1MigrateLegacyBillingPayload {
|
|
46
|
-
return V1MigrateLegacyBillingPayloadFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function V1MigrateLegacyBillingPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1MigrateLegacyBillingPayload {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'payorUserUuid': json['payorUserUuid'],
|
|
56
|
-
'distributorCode': json['distributorCode'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function V1MigrateLegacyBillingPayloadToJSON(json: any): V1MigrateLegacyBillingPayload {
|
|
61
|
-
return V1MigrateLegacyBillingPayloadToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function V1MigrateLegacyBillingPayloadToJSONTyped(value?: V1MigrateLegacyBillingPayload | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'payorUserUuid': value['payorUserUuid'],
|
|
72
|
-
'distributorCode': value['distributorCode'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Billing
|
|
5
|
-
* Micro-Service to handle billing
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2.9.0
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { V1BillingType } from './V1BillingType';
|
|
17
|
-
import {
|
|
18
|
-
V1BillingTypeFromJSON,
|
|
19
|
-
V1BillingTypeFromJSONTyped,
|
|
20
|
-
V1BillingTypeToJSON,
|
|
21
|
-
V1BillingTypeToJSONTyped,
|
|
22
|
-
} from './V1BillingType';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface V1SetLegacyBillingPayload
|
|
28
|
-
*/
|
|
29
|
-
export interface V1SetLegacyBillingPayload {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {V1BillingType}
|
|
33
|
-
* @memberof V1SetLegacyBillingPayload
|
|
34
|
-
*/
|
|
35
|
-
billingType: V1BillingType;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof V1SetLegacyBillingPayload
|
|
40
|
-
*/
|
|
41
|
-
chargebeeId: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof V1SetLegacyBillingPayload
|
|
46
|
-
*/
|
|
47
|
-
distributorCode?: string | null;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the V1SetLegacyBillingPayload interface.
|
|
54
|
-
*/
|
|
55
|
-
export function instanceOfV1SetLegacyBillingPayload(value: object): value is V1SetLegacyBillingPayload {
|
|
56
|
-
if (!('billingType' in value) || value['billingType'] === undefined) return false;
|
|
57
|
-
if (!('chargebeeId' in value) || value['chargebeeId'] === undefined) return false;
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function V1SetLegacyBillingPayloadFromJSON(json: any): V1SetLegacyBillingPayload {
|
|
62
|
-
return V1SetLegacyBillingPayloadFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function V1SetLegacyBillingPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1SetLegacyBillingPayload {
|
|
66
|
-
if (json == null) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'billingType': V1BillingTypeFromJSON(json['billingType']),
|
|
72
|
-
'chargebeeId': json['chargebeeId'],
|
|
73
|
-
'distributorCode': json['distributorCode'] == null ? undefined : json['distributorCode'],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export function V1SetLegacyBillingPayloadToJSON(json: any): V1SetLegacyBillingPayload {
|
|
78
|
-
return V1SetLegacyBillingPayloadToJSONTyped(json, false);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function V1SetLegacyBillingPayloadToJSONTyped(value?: V1SetLegacyBillingPayload | null, ignoreDiscriminator: boolean = false): any {
|
|
82
|
-
if (value == null) {
|
|
83
|
-
return value;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return {
|
|
87
|
-
|
|
88
|
-
'billingType': V1BillingTypeToJSON(value['billingType']),
|
|
89
|
-
'chargebeeId': value['chargebeeId'],
|
|
90
|
-
'distributorCode': value['distributorCode'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|