@equisoft/billing-sdk 3.7.1-snapshot.20260629135524 → 3.8.0

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.
Files changed (273) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +6 -3
  3. package/dist/apis/AddonV1Api.d.ts +1 -1
  4. package/dist/apis/AddonV1Api.js +1 -1
  5. package/dist/apis/ChargebeeV1Api.d.ts +1 -1
  6. package/dist/apis/ChargebeeV1Api.js +1 -1
  7. package/dist/apis/DistributorV1Api.d.ts +12 -2
  8. package/dist/apis/DistributorV1Api.js +42 -1
  9. package/dist/apis/OrganizationV1Api.d.ts +1 -1
  10. package/dist/apis/OrganizationV1Api.js +1 -1
  11. package/dist/apis/UserV1Api.d.ts +1 -1
  12. package/dist/apis/UserV1Api.js +1 -1
  13. package/dist/esm/apis/AddonV1Api.d.ts +1 -1
  14. package/dist/esm/apis/AddonV1Api.js +1 -1
  15. package/dist/esm/apis/ChargebeeV1Api.d.ts +1 -1
  16. package/dist/esm/apis/ChargebeeV1Api.js +1 -1
  17. package/dist/esm/apis/DistributorV1Api.d.ts +12 -2
  18. package/dist/esm/apis/DistributorV1Api.js +43 -2
  19. package/dist/esm/apis/OrganizationV1Api.d.ts +1 -1
  20. package/dist/esm/apis/OrganizationV1Api.js +1 -1
  21. package/dist/esm/apis/UserV1Api.d.ts +1 -1
  22. package/dist/esm/apis/UserV1Api.js +1 -1
  23. package/dist/esm/models/Country.d.ts +1 -1
  24. package/dist/esm/models/Country.js +1 -1
  25. package/dist/esm/models/ErrorCodes.d.ts +1 -1
  26. package/dist/esm/models/ErrorCodes.js +1 -1
  27. package/dist/esm/models/ErrorSchema.d.ts +1 -1
  28. package/dist/esm/models/ErrorSchema.js +1 -1
  29. package/dist/esm/models/SubscriptionCreationMode.d.ts +1 -1
  30. package/dist/esm/models/SubscriptionCreationMode.js +1 -1
  31. package/dist/esm/models/V1Addon.d.ts +1 -1
  32. package/dist/esm/models/V1Addon.js +1 -1
  33. package/dist/esm/models/V1AddonList.d.ts +1 -1
  34. package/dist/esm/models/V1AddonList.js +1 -1
  35. package/dist/esm/models/V1BillingProfile.d.ts +1 -1
  36. package/dist/esm/models/V1BillingProfile.js +1 -1
  37. package/dist/esm/models/V1BillingRule.d.ts +2 -8
  38. package/dist/esm/models/V1BillingRule.js +3 -5
  39. package/dist/esm/models/V1BillingStatus.d.ts +1 -1
  40. package/dist/esm/models/V1BillingStatus.js +1 -1
  41. package/dist/esm/models/V1BillingType.d.ts +1 -1
  42. package/dist/esm/models/V1BillingType.js +1 -1
  43. package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.d.ts +1 -1
  44. package/dist/esm/models/V1ChargebeeV1NotPaidInvoice.js +1 -1
  45. package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.d.ts +1 -1
  46. package/dist/esm/models/V1ChargebeeV1PaymentDueInvoice.js +1 -1
  47. package/dist/esm/models/V1ChargebeeV1PortalSession.d.ts +1 -1
  48. package/dist/esm/models/V1ChargebeeV1PortalSession.js +1 -1
  49. package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.d.ts +1 -1
  50. package/dist/esm/models/V1ChargebeeV1UnpaidInvoice.js +1 -1
  51. package/dist/esm/models/V1ChargebeeWebhookEvent.d.ts +1 -1
  52. package/dist/esm/models/V1ChargebeeWebhookEvent.js +1 -1
  53. package/dist/esm/models/V1ChargebeeWebhookEventContent.d.ts +1 -1
  54. package/dist/esm/models/V1ChargebeeWebhookEventContent.js +1 -1
  55. package/dist/esm/models/V1ChargebeeWebhookEventCustomer.d.ts +1 -1
  56. package/dist/esm/models/V1ChargebeeWebhookEventCustomer.js +1 -1
  57. package/dist/esm/models/V1CollectChargebeeV1Payment.d.ts +1 -1
  58. package/dist/esm/models/V1CollectChargebeeV1Payment.js +1 -1
  59. package/dist/esm/models/V1CreateBillingRulePayload.d.ts +1 -1
  60. package/dist/esm/models/V1CreateBillingRulePayload.js +1 -1
  61. package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +1 -1
  62. package/dist/esm/models/V1CreateChargebeeV1PortalSessionPayload.js +1 -1
  63. package/dist/esm/models/V1CreateDistributorPayload.d.ts +1 -1
  64. package/dist/esm/models/V1CreateDistributorPayload.js +1 -1
  65. package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +1 -1
  66. package/dist/esm/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +1 -1
  67. package/dist/esm/models/V1DefaultBillingRule.d.ts +45 -0
  68. package/dist/esm/models/V1DefaultBillingRule.js +52 -0
  69. package/dist/esm/models/V1DefaultBillingRules.d.ts +33 -0
  70. package/dist/esm/models/V1DefaultBillingRules.js +44 -0
  71. package/dist/esm/models/V1Distributor.d.ts +1 -7
  72. package/dist/esm/models/V1Distributor.js +1 -3
  73. package/dist/esm/models/V1DistributorList.d.ts +1 -1
  74. package/dist/esm/models/V1DistributorList.js +1 -1
  75. package/dist/esm/models/V1Organization.d.ts +1 -1
  76. package/dist/esm/models/V1Organization.js +1 -1
  77. package/dist/esm/models/V1OrganizationBillingUser.d.ts +1 -1
  78. package/dist/esm/models/V1OrganizationBillingUser.js +1 -1
  79. package/dist/esm/models/V1OrganizationBillingUsers.d.ts +1 -1
  80. package/dist/esm/models/V1OrganizationBillingUsers.js +1 -1
  81. package/dist/esm/models/V1OrganizationChargebeeV1Status.d.ts +1 -1
  82. package/dist/esm/models/V1OrganizationChargebeeV1Status.js +1 -1
  83. package/dist/esm/models/V1OrganizationStatus.d.ts +1 -1
  84. package/dist/esm/models/V1OrganizationStatus.js +1 -1
  85. package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.d.ts +1 -1
  86. package/dist/esm/models/V1OrganizationStatusChargebeeV1Addon.js +1 -1
  87. package/dist/esm/models/V1OrganizationStatusChargebeeV1User.d.ts +1 -1
  88. package/dist/esm/models/V1OrganizationStatusChargebeeV1User.js +1 -1
  89. package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +1 -1
  90. package/dist/esm/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +1 -1
  91. package/dist/esm/models/V1Profile.d.ts +1 -1
  92. package/dist/esm/models/V1Profile.js +1 -1
  93. package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.d.ts +1 -1
  94. package/dist/esm/models/V1SetChargebeeV1BillingPayorPayload.js +1 -1
  95. package/dist/esm/models/V1SetChargebeeV1Payload.d.ts +1 -1
  96. package/dist/esm/models/V1SetChargebeeV1Payload.js +1 -1
  97. package/dist/esm/models/V1SetOrganisationDistributorPayload.d.ts +1 -1
  98. package/dist/esm/models/V1SetOrganisationDistributorPayload.js +1 -1
  99. package/dist/esm/models/V1SetUserBillingProfilePayload.d.ts +1 -1
  100. package/dist/esm/models/V1SetUserBillingProfilePayload.js +1 -1
  101. package/dist/esm/models/V1SetUserNonBillablePayload.d.ts +1 -1
  102. package/dist/esm/models/V1SetUserNonBillablePayload.js +1 -1
  103. package/dist/esm/models/V1UpdateBillingRulePayload.d.ts +1 -1
  104. package/dist/esm/models/V1UpdateBillingRulePayload.js +1 -1
  105. package/dist/esm/models/V1UpdateBillingRulePriorityPayload.d.ts +1 -1
  106. package/dist/esm/models/V1UpdateBillingRulePriorityPayload.js +1 -1
  107. package/dist/esm/models/V1UpdateDistributorPayload.d.ts +1 -1
  108. package/dist/esm/models/V1UpdateDistributorPayload.js +1 -1
  109. package/dist/esm/models/V1User.d.ts +1 -1
  110. package/dist/esm/models/V1User.js +1 -1
  111. package/dist/esm/models/V1UserServiceStatus.d.ts +1 -1
  112. package/dist/esm/models/V1UserServiceStatus.js +1 -1
  113. package/dist/esm/models/V1UserStatus.d.ts +1 -1
  114. package/dist/esm/models/V1UserStatus.js +1 -1
  115. package/dist/esm/models/index.d.ts +2 -0
  116. package/dist/esm/models/index.js +2 -0
  117. package/dist/esm/runtime.d.ts +1 -1
  118. package/dist/esm/runtime.js +1 -1
  119. package/dist/models/Country.d.ts +1 -1
  120. package/dist/models/Country.js +1 -1
  121. package/dist/models/ErrorCodes.d.ts +1 -1
  122. package/dist/models/ErrorCodes.js +1 -1
  123. package/dist/models/ErrorSchema.d.ts +1 -1
  124. package/dist/models/ErrorSchema.js +1 -1
  125. package/dist/models/SubscriptionCreationMode.d.ts +1 -1
  126. package/dist/models/SubscriptionCreationMode.js +1 -1
  127. package/dist/models/V1Addon.d.ts +1 -1
  128. package/dist/models/V1Addon.js +1 -1
  129. package/dist/models/V1AddonList.d.ts +1 -1
  130. package/dist/models/V1AddonList.js +1 -1
  131. package/dist/models/V1BillingProfile.d.ts +1 -1
  132. package/dist/models/V1BillingProfile.js +1 -1
  133. package/dist/models/V1BillingRule.d.ts +2 -8
  134. package/dist/models/V1BillingRule.js +3 -5
  135. package/dist/models/V1BillingStatus.d.ts +1 -1
  136. package/dist/models/V1BillingStatus.js +1 -1
  137. package/dist/models/V1BillingType.d.ts +1 -1
  138. package/dist/models/V1BillingType.js +1 -1
  139. package/dist/models/V1ChargebeeV1NotPaidInvoice.d.ts +1 -1
  140. package/dist/models/V1ChargebeeV1NotPaidInvoice.js +1 -1
  141. package/dist/models/V1ChargebeeV1PaymentDueInvoice.d.ts +1 -1
  142. package/dist/models/V1ChargebeeV1PaymentDueInvoice.js +1 -1
  143. package/dist/models/V1ChargebeeV1PortalSession.d.ts +1 -1
  144. package/dist/models/V1ChargebeeV1PortalSession.js +1 -1
  145. package/dist/models/V1ChargebeeV1UnpaidInvoice.d.ts +1 -1
  146. package/dist/models/V1ChargebeeV1UnpaidInvoice.js +1 -1
  147. package/dist/models/V1ChargebeeWebhookEvent.d.ts +1 -1
  148. package/dist/models/V1ChargebeeWebhookEvent.js +1 -1
  149. package/dist/models/V1ChargebeeWebhookEventContent.d.ts +1 -1
  150. package/dist/models/V1ChargebeeWebhookEventContent.js +1 -1
  151. package/dist/models/V1ChargebeeWebhookEventCustomer.d.ts +1 -1
  152. package/dist/models/V1ChargebeeWebhookEventCustomer.js +1 -1
  153. package/dist/models/V1CollectChargebeeV1Payment.d.ts +1 -1
  154. package/dist/models/V1CollectChargebeeV1Payment.js +1 -1
  155. package/dist/models/V1CreateBillingRulePayload.d.ts +1 -1
  156. package/dist/models/V1CreateBillingRulePayload.js +1 -1
  157. package/dist/models/V1CreateChargebeeV1PortalSessionPayload.d.ts +1 -1
  158. package/dist/models/V1CreateChargebeeV1PortalSessionPayload.js +1 -1
  159. package/dist/models/V1CreateDistributorPayload.d.ts +1 -1
  160. package/dist/models/V1CreateDistributorPayload.js +1 -1
  161. package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.d.ts +1 -1
  162. package/dist/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.js +1 -1
  163. package/dist/models/V1DefaultBillingRule.d.ts +45 -0
  164. package/dist/models/V1DefaultBillingRule.js +59 -0
  165. package/dist/models/V1DefaultBillingRules.d.ts +33 -0
  166. package/dist/models/V1DefaultBillingRules.js +51 -0
  167. package/dist/models/V1Distributor.d.ts +1 -7
  168. package/dist/models/V1Distributor.js +1 -3
  169. package/dist/models/V1DistributorList.d.ts +1 -1
  170. package/dist/models/V1DistributorList.js +1 -1
  171. package/dist/models/V1Organization.d.ts +1 -1
  172. package/dist/models/V1Organization.js +1 -1
  173. package/dist/models/V1OrganizationBillingUser.d.ts +1 -1
  174. package/dist/models/V1OrganizationBillingUser.js +1 -1
  175. package/dist/models/V1OrganizationBillingUsers.d.ts +1 -1
  176. package/dist/models/V1OrganizationBillingUsers.js +1 -1
  177. package/dist/models/V1OrganizationChargebeeV1Status.d.ts +1 -1
  178. package/dist/models/V1OrganizationChargebeeV1Status.js +1 -1
  179. package/dist/models/V1OrganizationStatus.d.ts +1 -1
  180. package/dist/models/V1OrganizationStatus.js +1 -1
  181. package/dist/models/V1OrganizationStatusChargebeeV1Addon.d.ts +1 -1
  182. package/dist/models/V1OrganizationStatusChargebeeV1Addon.js +1 -1
  183. package/dist/models/V1OrganizationStatusChargebeeV1User.d.ts +1 -1
  184. package/dist/models/V1OrganizationStatusChargebeeV1User.js +1 -1
  185. package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.d.ts +1 -1
  186. package/dist/models/V1OrganizationStatusChargebeeV1UserBillingStatus.js +1 -1
  187. package/dist/models/V1Profile.d.ts +1 -1
  188. package/dist/models/V1Profile.js +1 -1
  189. package/dist/models/V1SetChargebeeV1BillingPayorPayload.d.ts +1 -1
  190. package/dist/models/V1SetChargebeeV1BillingPayorPayload.js +1 -1
  191. package/dist/models/V1SetChargebeeV1Payload.d.ts +1 -1
  192. package/dist/models/V1SetChargebeeV1Payload.js +1 -1
  193. package/dist/models/V1SetOrganisationDistributorPayload.d.ts +1 -1
  194. package/dist/models/V1SetOrganisationDistributorPayload.js +1 -1
  195. package/dist/models/V1SetUserBillingProfilePayload.d.ts +1 -1
  196. package/dist/models/V1SetUserBillingProfilePayload.js +1 -1
  197. package/dist/models/V1SetUserNonBillablePayload.d.ts +1 -1
  198. package/dist/models/V1SetUserNonBillablePayload.js +1 -1
  199. package/dist/models/V1UpdateBillingRulePayload.d.ts +1 -1
  200. package/dist/models/V1UpdateBillingRulePayload.js +1 -1
  201. package/dist/models/V1UpdateBillingRulePriorityPayload.d.ts +1 -1
  202. package/dist/models/V1UpdateBillingRulePriorityPayload.js +1 -1
  203. package/dist/models/V1UpdateDistributorPayload.d.ts +1 -1
  204. package/dist/models/V1UpdateDistributorPayload.js +1 -1
  205. package/dist/models/V1User.d.ts +1 -1
  206. package/dist/models/V1User.js +1 -1
  207. package/dist/models/V1UserServiceStatus.d.ts +1 -1
  208. package/dist/models/V1UserServiceStatus.js +1 -1
  209. package/dist/models/V1UserStatus.d.ts +1 -1
  210. package/dist/models/V1UserStatus.js +1 -1
  211. package/dist/models/index.d.ts +2 -0
  212. package/dist/models/index.js +2 -0
  213. package/dist/runtime.d.ts +1 -1
  214. package/dist/runtime.js +1 -1
  215. package/docs/DistributorV1Api.md +63 -0
  216. package/docs/V1BillingRule.md +0 -2
  217. package/docs/V1DefaultBillingRule.md +38 -0
  218. package/docs/V1DefaultBillingRules.md +34 -0
  219. package/docs/V1Distributor.md +0 -2
  220. package/package.json +1 -1
  221. package/src/apis/AddonV1Api.ts +1 -1
  222. package/src/apis/ChargebeeV1Api.ts +1 -1
  223. package/src/apis/DistributorV1Api.ts +48 -1
  224. package/src/apis/OrganizationV1Api.ts +1 -1
  225. package/src/apis/UserV1Api.ts +1 -1
  226. package/src/models/Country.ts +1 -1
  227. package/src/models/ErrorCodes.ts +1 -1
  228. package/src/models/ErrorSchema.ts +1 -1
  229. package/src/models/SubscriptionCreationMode.ts +1 -1
  230. package/src/models/V1Addon.ts +1 -1
  231. package/src/models/V1AddonList.ts +1 -1
  232. package/src/models/V1BillingProfile.ts +1 -1
  233. package/src/models/V1BillingRule.ts +4 -12
  234. package/src/models/V1BillingStatus.ts +1 -1
  235. package/src/models/V1BillingType.ts +1 -1
  236. package/src/models/V1ChargebeeV1NotPaidInvoice.ts +1 -1
  237. package/src/models/V1ChargebeeV1PaymentDueInvoice.ts +1 -1
  238. package/src/models/V1ChargebeeV1PortalSession.ts +1 -1
  239. package/src/models/V1ChargebeeV1UnpaidInvoice.ts +1 -1
  240. package/src/models/V1ChargebeeWebhookEvent.ts +1 -1
  241. package/src/models/V1ChargebeeWebhookEventContent.ts +1 -1
  242. package/src/models/V1ChargebeeWebhookEventCustomer.ts +1 -1
  243. package/src/models/V1CollectChargebeeV1Payment.ts +1 -1
  244. package/src/models/V1CreateBillingRulePayload.ts +1 -1
  245. package/src/models/V1CreateChargebeeV1PortalSessionPayload.ts +1 -1
  246. package/src/models/V1CreateDistributorPayload.ts +1 -1
  247. package/src/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.ts +1 -1
  248. package/src/models/V1DefaultBillingRule.ts +92 -0
  249. package/src/models/V1DefaultBillingRules.ts +74 -0
  250. package/src/models/V1Distributor.ts +1 -9
  251. package/src/models/V1DistributorList.ts +1 -1
  252. package/src/models/V1Organization.ts +1 -1
  253. package/src/models/V1OrganizationBillingUser.ts +1 -1
  254. package/src/models/V1OrganizationBillingUsers.ts +1 -1
  255. package/src/models/V1OrganizationChargebeeV1Status.ts +1 -1
  256. package/src/models/V1OrganizationStatus.ts +1 -1
  257. package/src/models/V1OrganizationStatusChargebeeV1Addon.ts +1 -1
  258. package/src/models/V1OrganizationStatusChargebeeV1User.ts +1 -1
  259. package/src/models/V1OrganizationStatusChargebeeV1UserBillingStatus.ts +1 -1
  260. package/src/models/V1Profile.ts +1 -1
  261. package/src/models/V1SetChargebeeV1BillingPayorPayload.ts +1 -1
  262. package/src/models/V1SetChargebeeV1Payload.ts +1 -1
  263. package/src/models/V1SetOrganisationDistributorPayload.ts +1 -1
  264. package/src/models/V1SetUserBillingProfilePayload.ts +1 -1
  265. package/src/models/V1SetUserNonBillablePayload.ts +1 -1
  266. package/src/models/V1UpdateBillingRulePayload.ts +1 -1
  267. package/src/models/V1UpdateBillingRulePriorityPayload.ts +1 -1
  268. package/src/models/V1UpdateDistributorPayload.ts +1 -1
  269. package/src/models/V1User.ts +1 -1
  270. package/src/models/V1UserServiceStatus.ts +1 -1
  271. package/src/models/V1UserStatus.ts +1 -1
  272. package/src/models/index.ts +2 -0
  273. package/src/runtime.ts +1 -1
@@ -4,7 +4,7 @@
4
4
  * Billing
5
5
  * Micro-Service to handle billing
6
6
  *
7
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
8
8
  * Contact: customersuccess@equisoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,18 +27,12 @@ import {
27
27
  * @interface V1BillingRule
28
28
  */
29
29
  export interface V1BillingRule {
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof V1BillingRule
34
- */
35
- _default: boolean;
36
30
  /**
37
31
  *
38
32
  * @type {string}
39
33
  * @memberof V1BillingRule
40
34
  */
41
- uuid?: string | null;
35
+ uuid: string;
42
36
  /**
43
37
  *
44
38
  * @type {number}
@@ -69,7 +63,7 @@ export interface V1BillingRule {
69
63
  * Check if a given object implements the V1BillingRule interface.
70
64
  */
71
65
  export function instanceOfV1BillingRule(value: object): value is V1BillingRule {
72
- if (!('_default' in value) || value['_default'] === undefined) return false;
66
+ if (!('uuid' in value) || value['uuid'] === undefined) return false;
73
67
  if (!('priority' in value) || value['priority'] === undefined) return false;
74
68
  if (!('shared' in value) || value['shared'] === undefined) return false;
75
69
  if (!('services' in value) || value['services'] === undefined) return false;
@@ -87,8 +81,7 @@ export function V1BillingRuleFromJSONTyped(json: any, ignoreDiscriminator: boole
87
81
  }
88
82
  return {
89
83
 
90
- '_default': json['default'],
91
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
84
+ 'uuid': json['uuid'],
92
85
  'priority': json['priority'],
93
86
  'shared': json['shared'],
94
87
  'services': json['services'],
@@ -107,7 +100,6 @@ export function V1BillingRuleToJSONTyped(value?: V1BillingRule | null, ignoreDis
107
100
 
108
101
  return {
109
102
 
110
- 'default': value['_default'],
111
103
  'uuid': value['uuid'],
112
104
  'priority': value['priority'],
113
105
  'shared': value['shared'],
@@ -4,7 +4,7 @@
4
4
  * Billing
5
5
  * Micro-Service to handle billing
6
6
  *
7
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
8
8
  * Contact: customersuccess@equisoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,92 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Billing
5
+ * Micro-Service to handle billing
6
+ *
7
+ * The version of the OpenAPI document: 3.8.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 { V1Addon } from './V1Addon';
17
+ import {
18
+ V1AddonFromJSON,
19
+ V1AddonFromJSONTyped,
20
+ V1AddonToJSON,
21
+ V1AddonToJSONTyped,
22
+ } from './V1Addon';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface V1DefaultBillingRule
28
+ */
29
+ export interface V1DefaultBillingRule {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof V1DefaultBillingRule
34
+ */
35
+ priority: number;
36
+ /**
37
+ *
38
+ * @type {Array<string>}
39
+ * @memberof V1DefaultBillingRule
40
+ */
41
+ services: Array<string>;
42
+ /**
43
+ *
44
+ * @type {Array<V1Addon>}
45
+ * @memberof V1DefaultBillingRule
46
+ */
47
+ addons: Array<V1Addon>;
48
+ }
49
+
50
+ /**
51
+ * Check if a given object implements the V1DefaultBillingRule interface.
52
+ */
53
+ export function instanceOfV1DefaultBillingRule(value: object): value is V1DefaultBillingRule {
54
+ if (!('priority' in value) || value['priority'] === undefined) return false;
55
+ if (!('services' in value) || value['services'] === undefined) return false;
56
+ if (!('addons' in value) || value['addons'] === undefined) return false;
57
+ return true;
58
+ }
59
+
60
+ export function V1DefaultBillingRuleFromJSON(json: any): V1DefaultBillingRule {
61
+ return V1DefaultBillingRuleFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function V1DefaultBillingRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1DefaultBillingRule {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'priority': json['priority'],
71
+ 'services': json['services'],
72
+ 'addons': ((json['addons'] as Array<any>).map(V1AddonFromJSON)),
73
+ };
74
+ }
75
+
76
+ export function V1DefaultBillingRuleToJSON(json: any): V1DefaultBillingRule {
77
+ return V1DefaultBillingRuleToJSONTyped(json, false);
78
+ }
79
+
80
+ export function V1DefaultBillingRuleToJSONTyped(value?: V1DefaultBillingRule | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'priority': value['priority'],
88
+ 'services': value['services'],
89
+ 'addons': ((value['addons'] as Array<any>).map(V1AddonToJSON)),
90
+ };
91
+ }
92
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Billing
5
+ * Micro-Service to handle billing
6
+ *
7
+ * The version of the OpenAPI document: 3.8.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 { V1DefaultBillingRule } from './V1DefaultBillingRule';
17
+ import {
18
+ V1DefaultBillingRuleFromJSON,
19
+ V1DefaultBillingRuleFromJSONTyped,
20
+ V1DefaultBillingRuleToJSON,
21
+ V1DefaultBillingRuleToJSONTyped,
22
+ } from './V1DefaultBillingRule';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface V1DefaultBillingRules
28
+ */
29
+ export interface V1DefaultBillingRules {
30
+ /**
31
+ *
32
+ * @type {Array<V1DefaultBillingRule>}
33
+ * @memberof V1DefaultBillingRules
34
+ */
35
+ defaultBillingRules: Array<V1DefaultBillingRule>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the V1DefaultBillingRules interface.
40
+ */
41
+ export function instanceOfV1DefaultBillingRules(value: object): value is V1DefaultBillingRules {
42
+ if (!('defaultBillingRules' in value) || value['defaultBillingRules'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function V1DefaultBillingRulesFromJSON(json: any): V1DefaultBillingRules {
47
+ return V1DefaultBillingRulesFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function V1DefaultBillingRulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): V1DefaultBillingRules {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'defaultBillingRules': ((json['defaultBillingRules'] as Array<any>).map(V1DefaultBillingRuleFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function V1DefaultBillingRulesToJSON(json: any): V1DefaultBillingRules {
61
+ return V1DefaultBillingRulesToJSONTyped(json, false);
62
+ }
63
+
64
+ export function V1DefaultBillingRulesToJSONTyped(value?: V1DefaultBillingRules | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'defaultBillingRules': ((value['defaultBillingRules'] as Array<any>).map(V1DefaultBillingRuleToJSON)),
72
+ };
73
+ }
74
+
@@ -4,7 +4,7 @@
4
4
  * Billing
5
5
  * Micro-Service to handle billing
6
6
  *
7
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
8
8
  * Contact: customersuccess@equisoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -39,12 +39,6 @@ export interface V1Distributor {
39
39
  * @memberof V1Distributor
40
40
  */
41
41
  name: string;
42
- /**
43
- *
44
- * @type {boolean}
45
- * @memberof V1Distributor
46
- */
47
- billable?: boolean | null;
48
42
  /**
49
43
  *
50
44
  * @type {Array<V1Profile>}
@@ -75,7 +69,6 @@ export function V1DistributorFromJSONTyped(json: any, ignoreDiscriminator: boole
75
69
 
76
70
  'code': json['code'],
77
71
  'name': json['name'],
78
- 'billable': json['billable'] == null ? undefined : json['billable'],
79
72
  'profiles': ((json['profiles'] as Array<any>).map(V1ProfileFromJSON)),
80
73
  };
81
74
  }
@@ -93,7 +86,6 @@ export function V1DistributorToJSONTyped(value?: V1Distributor | null, ignoreDis
93
86
 
94
87
  'code': value['code'],
95
88
  'name': value['name'],
96
- 'billable': value['billable'],
97
89
  'profiles': ((value['profiles'] as Array<any>).map(V1ProfileToJSON)),
98
90
  };
99
91
  }
@@ -4,7 +4,7 @@
4
4
  * Billing
5
5
  * Micro-Service to handle billing
6
6
  *
7
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
8
8
  * Contact: customersuccess@equisoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,6 +22,8 @@ export * from './V1CreateBillingRulePayload';
22
22
  export * from './V1CreateChargebeeV1PortalSessionPayload';
23
23
  export * from './V1CreateDistributorPayload';
24
24
  export * from './V1CreateOrUpdateChargebeeV1SubscriptionPayload';
25
+ export * from './V1DefaultBillingRule';
26
+ export * from './V1DefaultBillingRules';
25
27
  export * from './V1Distributor';
26
28
  export * from './V1DistributorList';
27
29
  export * from './V1Organization';
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: 3.7.1-SNAPSHOT
7
+ * The version of the OpenAPI document: 3.8.0
8
8
  * Contact: customersuccess@equisoft.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).