@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
@@ -27,6 +27,8 @@ docs/V1CreateBillingRulePayload.md
27
27
  docs/V1CreateChargebeeV1PortalSessionPayload.md
28
28
  docs/V1CreateDistributorPayload.md
29
29
  docs/V1CreateOrUpdateChargebeeV1SubscriptionPayload.md
30
+ docs/V1DefaultBillingRule.md
31
+ docs/V1DefaultBillingRules.md
30
32
  docs/V1Distributor.md
31
33
  docs/V1DistributorList.md
32
34
  docs/V1Organization.md
@@ -79,6 +81,8 @@ src/models/V1CreateBillingRulePayload.ts
79
81
  src/models/V1CreateChargebeeV1PortalSessionPayload.ts
80
82
  src/models/V1CreateDistributorPayload.ts
81
83
  src/models/V1CreateOrUpdateChargebeeV1SubscriptionPayload.ts
84
+ src/models/V1DefaultBillingRule.ts
85
+ src/models/V1DefaultBillingRules.ts
82
86
  src/models/V1Distributor.ts
83
87
  src/models/V1DistributorList.ts
84
88
  src/models/V1Organization.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @equisoft/billing-sdk@3.7.1-SNAPSHOT
1
+ # @equisoft/billing-sdk@3.8.0
2
2
 
3
3
  A TypeScript SDK client for the .. API.
4
4
 
@@ -55,6 +55,7 @@ All URIs are relative to *http://../..*
55
55
  *DistributorV1Api* | [**createDistributor**](docs/DistributorV1Api.md#createdistributor) | **POST** /v1/distributors | Create a new distributor
56
56
  *DistributorV1Api* | [**deleteBillingRule**](docs/DistributorV1Api.md#deletebillingrule) | **DELETE** /v1/distributors/{code}/profiles/{profile}/billingRules/{uuid} | Delete a billing rule
57
57
  *DistributorV1Api* | [**deleteDistributor**](docs/DistributorV1Api.md#deletedistributor) | **DELETE** /v1/distributors/{code} | Delete a distributor and its non-shared billing rules
58
+ *DistributorV1Api* | [**getDefaultBillingRules**](docs/DistributorV1Api.md#getdefaultbillingrules) | **GET** /v1/distributors/defaultBillingRules |
58
59
  *DistributorV1Api* | [**getDistributor**](docs/DistributorV1Api.md#getdistributor) | **GET** /v1/distributors/{code} | Get billing information about a distributor
59
60
  *DistributorV1Api* | [**listDistributors**](docs/DistributorV1Api.md#listdistributors) | **GET** /v1/distributors | List all available distributors
60
61
  *DistributorV1Api* | [**updateBillingRule**](docs/DistributorV1Api.md#updatebillingrule) | **PUT** /v1/distributors/{code}/profiles/{profile}/billingRules/{uuid} | Update a billing rule\'s services and addons
@@ -105,6 +106,8 @@ All URIs are relative to *http://../..*
105
106
  - [V1CreateChargebeeV1PortalSessionPayload](docs/V1CreateChargebeeV1PortalSessionPayload.md)
106
107
  - [V1CreateDistributorPayload](docs/V1CreateDistributorPayload.md)
107
108
  - [V1CreateOrUpdateChargebeeV1SubscriptionPayload](docs/V1CreateOrUpdateChargebeeV1SubscriptionPayload.md)
109
+ - [V1DefaultBillingRule](docs/V1DefaultBillingRule.md)
110
+ - [V1DefaultBillingRules](docs/V1DefaultBillingRules.md)
108
111
  - [V1Distributor](docs/V1Distributor.md)
109
112
  - [V1DistributorList](docs/V1DistributorList.md)
110
113
  - [V1Organization](docs/V1Organization.md)
@@ -148,8 +151,8 @@ This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.or
148
151
  and is automatically generated by the
149
152
  [OpenAPI Generator](https://openapi-generator.tech) project:
150
153
 
151
- - API version: `3.7.1-SNAPSHOT`
152
- - Package version: `3.7.1-SNAPSHOT`
154
+ - API version: `3.8.0`
155
+ - Package version: `3.8.0`
153
156
  - Generator version: `7.20.0-equisoft1`
154
157
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
155
158
 
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Billing
6
6
  * Micro-Service to handle billing
7
7
  *
8
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.0
9
9
  * Contact: customersuccess@equisoft.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Billing
6
6
  * Micro-Service to handle billing
7
7
  *
8
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.0
9
9
  * Contact: customersuccess@equisoft.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { V1CreateBillingRulePayload, V1CreateDistributorPayload, V1Distributor, V1DistributorList, V1UpdateBillingRulePayload, V1UpdateBillingRulePriorityPayload, V1UpdateDistributorPayload } from '../models/index';
13
+ import type { V1CreateBillingRulePayload, V1CreateDistributorPayload, V1DefaultBillingRules, V1Distributor, V1DistributorList, V1UpdateBillingRulePayload, V1UpdateBillingRulePriorityPayload, V1UpdateDistributorPayload } from '../models/index';
14
14
  export interface CreateBillingRuleRequest {
15
15
  code: string;
16
16
  profile: string;
@@ -98,6 +98,16 @@ export declare class DistributorV1Api extends runtime.BaseAPI {
98
98
  * Delete a distributor and its non-shared billing rules
99
99
  */
100
100
  deleteDistributor(requestParameters: DeleteDistributorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
101
+ /**
102
+ * Creates request options for getDefaultBillingRules without sending the request
103
+ */
104
+ getDefaultBillingRulesRequestOpts(): Promise<runtime.RequestOpts>;
105
+ /**
106
+ */
107
+ getDefaultBillingRulesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1DefaultBillingRules>>;
108
+ /**
109
+ */
110
+ getDefaultBillingRules(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1DefaultBillingRules>;
101
111
  /**
102
112
  * Creates request options for getDistributor without sending the request
103
113
  */
@@ -5,7 +5,7 @@
5
5
  * Billing
6
6
  * Micro-Service to handle billing
7
7
  *
8
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.0
9
9
  * Contact: customersuccess@equisoft.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -232,6 +232,47 @@ class DistributorV1Api extends runtime.BaseAPI {
232
232
  yield this.deleteDistributorRaw(requestParameters, initOverrides);
233
233
  });
234
234
  }
235
+ /**
236
+ * Creates request options for getDefaultBillingRules without sending the request
237
+ */
238
+ getDefaultBillingRulesRequestOpts() {
239
+ return __awaiter(this, void 0, void 0, function* () {
240
+ const queryParameters = {};
241
+ const headerParameters = {};
242
+ if (this.configuration && this.configuration.accessToken) {
243
+ // oauth required
244
+ const token = this.configuration.accessToken;
245
+ const tokenString = yield token("OAuth2", []);
246
+ if (tokenString) {
247
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
248
+ }
249
+ }
250
+ let urlPath = `/v1/distributors/defaultBillingRules`;
251
+ return {
252
+ path: urlPath,
253
+ method: 'GET',
254
+ headers: headerParameters,
255
+ query: queryParameters,
256
+ };
257
+ });
258
+ }
259
+ /**
260
+ */
261
+ getDefaultBillingRulesRaw(initOverrides) {
262
+ return __awaiter(this, void 0, void 0, function* () {
263
+ const requestOptions = yield this.getDefaultBillingRulesRequestOpts();
264
+ const response = yield this.request(requestOptions, initOverrides);
265
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1DefaultBillingRulesFromJSON)(jsonValue));
266
+ });
267
+ }
268
+ /**
269
+ */
270
+ getDefaultBillingRules(initOverrides) {
271
+ return __awaiter(this, void 0, void 0, function* () {
272
+ const response = yield this.getDefaultBillingRulesRaw(initOverrides);
273
+ return yield response.value();
274
+ });
275
+ }
235
276
  /**
236
277
  * Creates request options for getDistributor without sending the request
237
278
  */
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Billing
6
6
  * Micro-Service to handle billing
7
7
  *
8
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.0
9
9
  * Contact: customersuccess@equisoft.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Billing
6
6
  * Micro-Service to handle billing
7
7
  *
8
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
8
+ * The version of the OpenAPI document: 3.8.0
9
9
  * Contact: customersuccess@equisoft.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { V1CreateBillingRulePayload, V1CreateDistributorPayload, V1Distributor, V1DistributorList, V1UpdateBillingRulePayload, V1UpdateBillingRulePriorityPayload, V1UpdateDistributorPayload } from '../models/index';
13
+ import type { V1CreateBillingRulePayload, V1CreateDistributorPayload, V1DefaultBillingRules, V1Distributor, V1DistributorList, V1UpdateBillingRulePayload, V1UpdateBillingRulePriorityPayload, V1UpdateDistributorPayload } from '../models/index';
14
14
  export interface CreateBillingRuleRequest {
15
15
  code: string;
16
16
  profile: string;
@@ -98,6 +98,16 @@ export declare class DistributorV1Api extends runtime.BaseAPI {
98
98
  * Delete a distributor and its non-shared billing rules
99
99
  */
100
100
  deleteDistributor(requestParameters: DeleteDistributorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
101
+ /**
102
+ * Creates request options for getDefaultBillingRules without sending the request
103
+ */
104
+ getDefaultBillingRulesRequestOpts(): Promise<runtime.RequestOpts>;
105
+ /**
106
+ */
107
+ getDefaultBillingRulesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<V1DefaultBillingRules>>;
108
+ /**
109
+ */
110
+ getDefaultBillingRules(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<V1DefaultBillingRules>;
101
111
  /**
102
112
  * Creates request options for getDistributor without sending the request
103
113
  */
@@ -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).
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { V1CreateBillingRulePayloadFromJSON, V1CreateBillingRulePayloadToJSON, V1CreateDistributorPayloadToJSON, V1DistributorFromJSON, V1DistributorListFromJSON, V1UpdateBillingRulePayloadToJSON, V1UpdateBillingRulePriorityPayloadToJSON, V1UpdateDistributorPayloadToJSON, } from '../models/index';
24
+ import { V1CreateBillingRulePayloadFromJSON, V1CreateBillingRulePayloadToJSON, V1CreateDistributorPayloadToJSON, V1DefaultBillingRulesFromJSON, V1DistributorFromJSON, V1DistributorListFromJSON, V1UpdateBillingRulePayloadToJSON, V1UpdateBillingRulePriorityPayloadToJSON, V1UpdateDistributorPayloadToJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -229,6 +229,47 @@ export class DistributorV1Api extends runtime.BaseAPI {
229
229
  yield this.deleteDistributorRaw(requestParameters, initOverrides);
230
230
  });
231
231
  }
232
+ /**
233
+ * Creates request options for getDefaultBillingRules without sending the request
234
+ */
235
+ getDefaultBillingRulesRequestOpts() {
236
+ return __awaiter(this, void 0, void 0, function* () {
237
+ const queryParameters = {};
238
+ const headerParameters = {};
239
+ if (this.configuration && this.configuration.accessToken) {
240
+ // oauth required
241
+ const token = this.configuration.accessToken;
242
+ const tokenString = yield token("OAuth2", []);
243
+ if (tokenString) {
244
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
245
+ }
246
+ }
247
+ let urlPath = `/v1/distributors/defaultBillingRules`;
248
+ return {
249
+ path: urlPath,
250
+ method: 'GET',
251
+ headers: headerParameters,
252
+ query: queryParameters,
253
+ };
254
+ });
255
+ }
256
+ /**
257
+ */
258
+ getDefaultBillingRulesRaw(initOverrides) {
259
+ return __awaiter(this, void 0, void 0, function* () {
260
+ const requestOptions = yield this.getDefaultBillingRulesRequestOpts();
261
+ const response = yield this.request(requestOptions, initOverrides);
262
+ return new runtime.JSONApiResponse(response, (jsonValue) => V1DefaultBillingRulesFromJSON(jsonValue));
263
+ });
264
+ }
265
+ /**
266
+ */
267
+ getDefaultBillingRules(initOverrides) {
268
+ return __awaiter(this, void 0, void 0, function* () {
269
+ const response = yield this.getDefaultBillingRulesRaw(initOverrides);
270
+ return yield response.value();
271
+ });
272
+ }
232
273
  /**
233
274
  * Creates request options for getDistributor without sending the request
234
275
  */
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,18 +16,12 @@ import type { V1Addon } from './V1Addon';
16
16
  * @interface V1BillingRule
17
17
  */
18
18
  export interface V1BillingRule {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof V1BillingRule
23
- */
24
- _default: boolean;
25
19
  /**
26
20
  *
27
21
  * @type {string}
28
22
  * @memberof V1BillingRule
29
23
  */
30
- uuid?: string | null;
24
+ uuid: string;
31
25
  /**
32
26
  *
33
27
  * @type {number}
@@ -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).
@@ -16,7 +16,7 @@ import { V1AddonFromJSON, V1AddonToJSON, } from './V1Addon';
16
16
  * Check if a given object implements the V1BillingRule interface.
17
17
  */
18
18
  export function instanceOfV1BillingRule(value) {
19
- if (!('_default' in value) || value['_default'] === undefined)
19
+ if (!('uuid' in value) || value['uuid'] === undefined)
20
20
  return false;
21
21
  if (!('priority' in value) || value['priority'] === undefined)
22
22
  return false;
@@ -36,8 +36,7 @@ export function V1BillingRuleFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- '_default': json['default'],
40
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
39
+ 'uuid': json['uuid'],
41
40
  'priority': json['priority'],
42
41
  'shared': json['shared'],
43
42
  'services': json['services'],
@@ -52,7 +51,6 @@ export function V1BillingRuleToJSONTyped(value, ignoreDiscriminator = false) {
52
51
  return value;
53
52
  }
54
53
  return {
55
- 'default': value['_default'],
56
54
  'uuid': value['uuid'],
57
55
  'priority': value['priority'],
58
56
  'shared': value['shared'],
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * 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).
@@ -2,7 +2,7 @@
2
2
  * Billing
3
3
  * Micro-Service to handle billing
4
4
  *
5
- * The version of the OpenAPI document: 3.7.1-SNAPSHOT
5
+ * The version of the OpenAPI document: 3.8.0
6
6
  * Contact: customersuccess@equisoft.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).