orb-billing 1.20.0 → 1.20.2

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 (278) hide show
  1. package/README.md +1 -1
  2. package/dist/sdk/availability.js +17 -36
  3. package/dist/sdk/coupon.js +85 -180
  4. package/dist/sdk/credit.js +102 -216
  5. package/dist/sdk/creditnote.js +34 -72
  6. package/dist/sdk/customer.js +221 -468
  7. package/dist/sdk/event.js +153 -324
  8. package/dist/sdk/invoice.js +136 -288
  9. package/dist/sdk/item.js +34 -72
  10. package/dist/sdk/metric.js +51 -108
  11. package/dist/sdk/models/errors/fivehundrederror.d.ts +11 -0
  12. package/dist/sdk/models/{shared → errors}/fivehundrederror.js +21 -11
  13. package/dist/sdk/models/errors/fourhundredandoneerror.d.ts +11 -0
  14. package/dist/sdk/models/{shared → errors}/fourhundredandoneerror.js +21 -15
  15. package/dist/sdk/models/errors/fourhundredandtwentynineerror.d.ts +11 -0
  16. package/dist/sdk/models/{shared → errors}/fourhundredandtwentynineerror.js +21 -15
  17. package/dist/sdk/models/errors/index.d.ts +3 -0
  18. package/dist/sdk/models/errors/index.js +3 -0
  19. package/dist/sdk/models/operations/addeditpriceintervals.d.ts +0 -28
  20. package/dist/sdk/models/operations/addeditpriceintervals.js +0 -28
  21. package/dist/sdk/models/operations/amendevent.d.ts +0 -28
  22. package/dist/sdk/models/operations/amendevent.js +0 -28
  23. package/dist/sdk/models/operations/amendusage.d.ts +0 -28
  24. package/dist/sdk/models/operations/amendusage.js +0 -28
  25. package/dist/sdk/models/operations/amendusageexternalcustomerid.d.ts +0 -28
  26. package/dist/sdk/models/operations/amendusageexternalcustomerid.js +0 -28
  27. package/dist/sdk/models/operations/archivecoupon.d.ts +0 -28
  28. package/dist/sdk/models/operations/archivecoupon.js +0 -28
  29. package/dist/sdk/models/operations/cancelsubscription.d.ts +0 -28
  30. package/dist/sdk/models/operations/cancelsubscription.js +0 -28
  31. package/dist/sdk/models/operations/closebackfill.d.ts +0 -28
  32. package/dist/sdk/models/operations/closebackfill.js +0 -28
  33. package/dist/sdk/models/operations/createbackfill.d.ts +0 -28
  34. package/dist/sdk/models/operations/createbackfill.js +0 -28
  35. package/dist/sdk/models/operations/createcoupon.d.ts +0 -28
  36. package/dist/sdk/models/operations/createcoupon.js +0 -28
  37. package/dist/sdk/models/operations/createcustomer.d.ts +0 -28
  38. package/dist/sdk/models/operations/createcustomer.js +0 -28
  39. package/dist/sdk/models/operations/createcustomerbalancetransaction.d.ts +0 -28
  40. package/dist/sdk/models/operations/createcustomerbalancetransaction.js +0 -28
  41. package/dist/sdk/models/operations/createinvoice.d.ts +0 -28
  42. package/dist/sdk/models/operations/createinvoice.js +0 -28
  43. package/dist/sdk/models/operations/createinvoicelineitem.d.ts +0 -28
  44. package/dist/sdk/models/operations/createinvoicelineitem.js +0 -28
  45. package/dist/sdk/models/operations/createledgerentry.d.ts +0 -29
  46. package/dist/sdk/models/operations/createledgerentry.js +0 -52
  47. package/dist/sdk/models/operations/createledgerentryexternalid.d.ts +0 -29
  48. package/dist/sdk/models/operations/createledgerentryexternalid.js +0 -52
  49. package/dist/sdk/models/operations/createmetric.d.ts +0 -28
  50. package/dist/sdk/models/operations/createmetric.js +0 -28
  51. package/dist/sdk/models/operations/createplan.d.ts +0 -28
  52. package/dist/sdk/models/operations/createplan.js +0 -28
  53. package/dist/sdk/models/operations/createprice.d.ts +0 -29
  54. package/dist/sdk/models/operations/createprice.js +0 -52
  55. package/dist/sdk/models/operations/createsubscription.d.ts +0 -28
  56. package/dist/sdk/models/operations/createsubscription.js +0 -28
  57. package/dist/sdk/models/operations/deletecustomer.d.ts +0 -28
  58. package/dist/sdk/models/operations/deletecustomer.js +0 -28
  59. package/dist/sdk/models/operations/deprecateevent.d.ts +0 -28
  60. package/dist/sdk/models/operations/deprecateevent.js +0 -28
  61. package/dist/sdk/models/operations/fetchbackfill.d.ts +0 -28
  62. package/dist/sdk/models/operations/fetchbackfill.js +0 -28
  63. package/dist/sdk/models/operations/fetchcoupon.d.ts +0 -28
  64. package/dist/sdk/models/operations/fetchcoupon.js +0 -28
  65. package/dist/sdk/models/operations/fetchcreditnote.d.ts +0 -28
  66. package/dist/sdk/models/operations/fetchcreditnote.js +0 -28
  67. package/dist/sdk/models/operations/fetchcustomer.d.ts +0 -28
  68. package/dist/sdk/models/operations/fetchcustomer.js +0 -28
  69. package/dist/sdk/models/operations/fetchcustomercosts.d.ts +0 -28
  70. package/dist/sdk/models/operations/fetchcustomercosts.js +0 -28
  71. package/dist/sdk/models/operations/fetchcustomercostsexternalid.d.ts +0 -28
  72. package/dist/sdk/models/operations/fetchcustomercostsexternalid.js +0 -28
  73. package/dist/sdk/models/operations/fetchcustomercredits.d.ts +0 -28
  74. package/dist/sdk/models/operations/fetchcustomercredits.js +0 -28
  75. package/dist/sdk/models/operations/fetchcustomercreditsexternalid.d.ts +0 -28
  76. package/dist/sdk/models/operations/fetchcustomercreditsexternalid.js +0 -28
  77. package/dist/sdk/models/operations/fetchcustomercreditsledger.d.ts +0 -28
  78. package/dist/sdk/models/operations/fetchcustomercreditsledger.js +0 -28
  79. package/dist/sdk/models/operations/fetchcustomercreditsledgerexternalid.d.ts +0 -28
  80. package/dist/sdk/models/operations/fetchcustomercreditsledgerexternalid.js +0 -28
  81. package/dist/sdk/models/operations/fetchcustomerexternalid.d.ts +0 -28
  82. package/dist/sdk/models/operations/fetchcustomerexternalid.js +0 -28
  83. package/dist/sdk/models/operations/fetchinvoice.d.ts +0 -28
  84. package/dist/sdk/models/operations/fetchinvoice.js +0 -28
  85. package/dist/sdk/models/operations/fetchitem.d.ts +0 -28
  86. package/dist/sdk/models/operations/fetchitem.js +0 -28
  87. package/dist/sdk/models/operations/fetchmetric.d.ts +0 -28
  88. package/dist/sdk/models/operations/fetchmetric.js +0 -28
  89. package/dist/sdk/models/operations/fetchplan.d.ts +0 -28
  90. package/dist/sdk/models/operations/fetchplan.js +0 -28
  91. package/dist/sdk/models/operations/fetchplanexternalid.d.ts +0 -28
  92. package/dist/sdk/models/operations/fetchplanexternalid.js +0 -28
  93. package/dist/sdk/models/operations/fetchprice.d.ts +0 -29
  94. package/dist/sdk/models/operations/fetchprice.js +0 -52
  95. package/dist/sdk/models/operations/fetchpriceexternalid.d.ts +0 -29
  96. package/dist/sdk/models/operations/fetchpriceexternalid.js +0 -52
  97. package/dist/sdk/models/operations/fetchsubscription.d.ts +0 -28
  98. package/dist/sdk/models/operations/fetchsubscription.js +0 -28
  99. package/dist/sdk/models/operations/fetchsubscriptioncosts.d.ts +0 -28
  100. package/dist/sdk/models/operations/fetchsubscriptioncosts.js +0 -28
  101. package/dist/sdk/models/operations/fetchsubscriptionschedule.d.ts +0 -28
  102. package/dist/sdk/models/operations/fetchsubscriptionschedule.js +0 -28
  103. package/dist/sdk/models/operations/fetchsubscriptionusage.d.ts +0 -29
  104. package/dist/sdk/models/operations/fetchsubscriptionusage.js +0 -52
  105. package/dist/sdk/models/operations/fetchupcominginvoice.d.ts +0 -28
  106. package/dist/sdk/models/operations/fetchupcominginvoice.js +0 -28
  107. package/dist/sdk/models/operations/ingest.d.ts +0 -28
  108. package/dist/sdk/models/operations/ingest.js +0 -28
  109. package/dist/sdk/models/operations/issueinvoice.d.ts +0 -28
  110. package/dist/sdk/models/operations/issueinvoice.js +0 -28
  111. package/dist/sdk/models/operations/listbackfills.d.ts +0 -28
  112. package/dist/sdk/models/operations/listbackfills.js +0 -28
  113. package/dist/sdk/models/operations/listbalancetransactions.d.ts +0 -28
  114. package/dist/sdk/models/operations/listbalancetransactions.js +0 -28
  115. package/dist/sdk/models/operations/listcoupons.d.ts +0 -28
  116. package/dist/sdk/models/operations/listcoupons.js +0 -28
  117. package/dist/sdk/models/operations/listcouponsubscriptions.d.ts +0 -28
  118. package/dist/sdk/models/operations/listcouponsubscriptions.js +0 -28
  119. package/dist/sdk/models/operations/listcreditnotes.d.ts +0 -28
  120. package/dist/sdk/models/operations/listcreditnotes.js +0 -28
  121. package/dist/sdk/models/operations/listcustomers.d.ts +0 -28
  122. package/dist/sdk/models/operations/listcustomers.js +0 -28
  123. package/dist/sdk/models/operations/listinvoices.d.ts +0 -28
  124. package/dist/sdk/models/operations/listinvoices.js +0 -28
  125. package/dist/sdk/models/operations/listitems.d.ts +0 -28
  126. package/dist/sdk/models/operations/listitems.js +0 -28
  127. package/dist/sdk/models/operations/listmetrics.d.ts +0 -28
  128. package/dist/sdk/models/operations/listmetrics.js +0 -28
  129. package/dist/sdk/models/operations/listplans.d.ts +0 -28
  130. package/dist/sdk/models/operations/listplans.js +0 -28
  131. package/dist/sdk/models/operations/listprices.d.ts +0 -28
  132. package/dist/sdk/models/operations/listprices.js +0 -28
  133. package/dist/sdk/models/operations/listsubscriptions.d.ts +0 -28
  134. package/dist/sdk/models/operations/listsubscriptions.js +0 -28
  135. package/dist/sdk/models/operations/markinvoiceaspaid.d.ts +0 -28
  136. package/dist/sdk/models/operations/markinvoiceaspaid.js +0 -28
  137. package/dist/sdk/models/operations/ping.d.ts +0 -28
  138. package/dist/sdk/models/operations/ping.js +0 -28
  139. package/dist/sdk/models/operations/revertbackfill.d.ts +0 -28
  140. package/dist/sdk/models/operations/revertbackfill.js +0 -28
  141. package/dist/sdk/models/operations/scheduleplanchange.d.ts +0 -28
  142. package/dist/sdk/models/operations/scheduleplanchange.js +0 -28
  143. package/dist/sdk/models/operations/searchevents.d.ts +0 -28
  144. package/dist/sdk/models/operations/searchevents.js +0 -28
  145. package/dist/sdk/models/operations/triggerphase.d.ts +0 -28
  146. package/dist/sdk/models/operations/triggerphase.js +0 -28
  147. package/dist/sdk/models/operations/unschedulecancellation.d.ts +0 -28
  148. package/dist/sdk/models/operations/unschedulecancellation.js +0 -28
  149. package/dist/sdk/models/operations/unschedulefixedfeequantity.d.ts +0 -28
  150. package/dist/sdk/models/operations/unschedulefixedfeequantity.js +0 -28
  151. package/dist/sdk/models/operations/unscheduleplanchange.d.ts +0 -28
  152. package/dist/sdk/models/operations/unscheduleplanchange.js +0 -28
  153. package/dist/sdk/models/operations/updatecustomer.d.ts +0 -28
  154. package/dist/sdk/models/operations/updatecustomer.js +0 -28
  155. package/dist/sdk/models/operations/updatecustomerexternalid.d.ts +0 -28
  156. package/dist/sdk/models/operations/updatecustomerexternalid.js +0 -28
  157. package/dist/sdk/models/operations/updatefixedfeequantity.d.ts +0 -28
  158. package/dist/sdk/models/operations/updatefixedfeequantity.js +0 -28
  159. package/dist/sdk/models/operations/updateplan.d.ts +0 -28
  160. package/dist/sdk/models/operations/updateplan.js +0 -28
  161. package/dist/sdk/models/operations/updateplanexternal.d.ts +0 -28
  162. package/dist/sdk/models/operations/updateplanexternal.js +0 -28
  163. package/dist/sdk/models/operations/voidinvoice.d.ts +0 -28
  164. package/dist/sdk/models/operations/voidinvoice.js +0 -28
  165. package/dist/sdk/models/shared/index.d.ts +0 -3
  166. package/dist/sdk/models/shared/index.js +0 -3
  167. package/dist/sdk/models/shared/security.d.ts +1 -1
  168. package/dist/sdk/models/shared/security.js +1 -1
  169. package/dist/sdk/plan.js +102 -216
  170. package/dist/sdk/price.js +68 -144
  171. package/dist/sdk/priceinterval.js +17 -36
  172. package/dist/sdk/sdk.js +2 -2
  173. package/dist/sdk/subscription.js +221 -468
  174. package/docs/models/errors/fivehundrederror.md +12 -0
  175. package/docs/models/errors/fourhundredandoneerror.md +12 -0
  176. package/docs/models/errors/fourhundredandtwentynineerror.md +12 -0
  177. package/docs/models/operations/addeditpriceintervalsresponse.md +6 -13
  178. package/docs/models/operations/amendeventresponse.md +6 -13
  179. package/docs/models/operations/amendusageexternalcustomeridresponse.md +6 -13
  180. package/docs/models/operations/amendusageresponse.md +6 -13
  181. package/docs/models/operations/archivecouponresponse.md +6 -13
  182. package/docs/models/operations/cancelsubscriptionresponse.md +6 -13
  183. package/docs/models/operations/closebackfillresponse.md +6 -13
  184. package/docs/models/operations/createbackfillresponse.md +6 -13
  185. package/docs/models/operations/createcouponresponse.md +6 -13
  186. package/docs/models/operations/createcustomerbalancetransactionresponse.md +6 -13
  187. package/docs/models/operations/createcustomerresponse.md +6 -13
  188. package/docs/models/operations/createinvoicelineitemresponse.md +6 -13
  189. package/docs/models/operations/createinvoiceresponse.md +6 -13
  190. package/docs/models/operations/createledgerentryexternalidresponse.md +6 -13
  191. package/docs/models/operations/createledgerentryresponse.md +6 -13
  192. package/docs/models/operations/createmetricresponse.md +6 -13
  193. package/docs/models/operations/createplanresponse.md +6 -13
  194. package/docs/models/operations/createpriceresponse.md +6 -13
  195. package/docs/models/operations/createsubscriptionresponse.md +6 -13
  196. package/docs/models/operations/deletecustomerresponse.md +6 -13
  197. package/docs/models/operations/deprecateeventresponse.md +6 -13
  198. package/docs/models/operations/fetchbackfillresponse.md +6 -13
  199. package/docs/models/operations/fetchcouponresponse.md +6 -13
  200. package/docs/models/operations/fetchcreditnoteresponse.md +6 -13
  201. package/docs/models/operations/fetchcustomercostsexternalidresponse.md +6 -13
  202. package/docs/models/operations/fetchcustomercostsresponse.md +6 -13
  203. package/docs/models/operations/fetchcustomercreditsexternalidresponse.md +6 -13
  204. package/docs/models/operations/fetchcustomercreditsledgerexternalidresponse.md +6 -13
  205. package/docs/models/operations/fetchcustomercreditsledgerresponse.md +6 -13
  206. package/docs/models/operations/fetchcustomercreditsresponse.md +6 -13
  207. package/docs/models/operations/fetchcustomerexternalidresponse.md +6 -13
  208. package/docs/models/operations/fetchcustomerresponse.md +6 -13
  209. package/docs/models/operations/fetchinvoiceresponse.md +6 -13
  210. package/docs/models/operations/fetchitemresponse.md +6 -13
  211. package/docs/models/operations/fetchmetricresponse.md +6 -13
  212. package/docs/models/operations/fetchplanexternalidresponse.md +6 -13
  213. package/docs/models/operations/fetchplanresponse.md +6 -13
  214. package/docs/models/operations/fetchpriceexternalidresponse.md +6 -13
  215. package/docs/models/operations/fetchpriceresponse.md +6 -13
  216. package/docs/models/operations/fetchsubscriptioncostsresponse.md +6 -13
  217. package/docs/models/operations/fetchsubscriptionresponse.md +6 -13
  218. package/docs/models/operations/fetchsubscriptionscheduleresponse.md +6 -13
  219. package/docs/models/operations/fetchsubscriptionusageresponse.md +6 -13
  220. package/docs/models/operations/fetchupcominginvoiceresponse.md +6 -13
  221. package/docs/models/operations/ingestresponse.md +6 -13
  222. package/docs/models/operations/issueinvoiceresponse.md +6 -13
  223. package/docs/models/operations/listbackfillsresponse.md +6 -13
  224. package/docs/models/operations/listbalancetransactionsresponse.md +6 -13
  225. package/docs/models/operations/listcouponsresponse.md +6 -13
  226. package/docs/models/operations/listcouponsubscriptionsresponse.md +6 -13
  227. package/docs/models/operations/listcreditnotesresponse.md +6 -13
  228. package/docs/models/operations/listcustomersresponse.md +6 -13
  229. package/docs/models/operations/listinvoicesresponse.md +6 -13
  230. package/docs/models/operations/listitemsresponse.md +6 -13
  231. package/docs/models/operations/listmetricsresponse.md +6 -13
  232. package/docs/models/operations/listplansresponse.md +6 -13
  233. package/docs/models/operations/listpricesresponse.md +6 -13
  234. package/docs/models/operations/listsubscriptionsresponse.md +6 -13
  235. package/docs/models/operations/markinvoiceaspaidresponse.md +6 -13
  236. package/docs/models/operations/pingresponse.md +6 -13
  237. package/docs/models/operations/revertbackfillresponse.md +6 -13
  238. package/docs/models/operations/scheduleplanchangeresponse.md +6 -13
  239. package/docs/models/operations/searcheventsresponse.md +6 -13
  240. package/docs/models/operations/triggerphaseresponse.md +6 -13
  241. package/docs/models/operations/unschedulecancellationresponse.md +6 -13
  242. package/docs/models/operations/unschedulefixedfeequantityresponse.md +6 -13
  243. package/docs/models/operations/unscheduleplanchangeresponse.md +6 -13
  244. package/docs/models/operations/updatecustomerexternalidresponse.md +6 -13
  245. package/docs/models/operations/updatecustomerresponse.md +6 -13
  246. package/docs/models/operations/updatefixedfeequantityresponse.md +6 -13
  247. package/docs/models/operations/updateplanexternalresponse.md +6 -13
  248. package/docs/models/operations/updateplanresponse.md +6 -13
  249. package/docs/models/operations/voidinvoiceresponse.md +6 -13
  250. package/docs/models/shared/security.md +1 -1
  251. package/docs/sdks/availability/README.md +1 -1
  252. package/docs/sdks/coupon/README.md +5 -5
  253. package/docs/sdks/credit/README.md +6 -6
  254. package/docs/sdks/creditnote/README.md +2 -2
  255. package/docs/sdks/customer/README.md +13 -13
  256. package/docs/sdks/event/README.md +9 -9
  257. package/docs/sdks/invoice/README.md +8 -8
  258. package/docs/sdks/item/README.md +2 -2
  259. package/docs/sdks/metric/README.md +3 -3
  260. package/docs/sdks/plan/README.md +6 -6
  261. package/docs/sdks/price/README.md +4 -4
  262. package/docs/sdks/priceinterval/README.md +1 -1
  263. package/docs/sdks/subscription/README.md +13 -13
  264. package/package.json +1 -1
  265. package/dist/sdk/models/shared/fivehundrederror.d.ts +0 -13
  266. package/dist/sdk/models/shared/fourhundredandoneerror.d.ts +0 -16
  267. package/dist/sdk/models/shared/fourhundredandtwentynineerror.d.ts +0 -16
  268. package/docs/models/shared/fivehundrederror.md +0 -12
  269. package/docs/models/shared/fivehundrederrortype.md +0 -8
  270. package/docs/models/shared/fourhundredandoneerror.md +0 -12
  271. package/docs/models/shared/fourhundredandoneerrorstatus.md +0 -8
  272. package/docs/models/shared/fourhundredandoneerrortype.md +0 -8
  273. package/docs/models/shared/fourhundredandtwentynineerror.md +0 -12
  274. package/docs/models/shared/fourhundredandtwentynineerrorstatus.md +0 -8
  275. package/docs/models/shared/fourhundredandtwentynineerrortype.md +0 -8
  276. /package/docs/models/{shared → errors}/fivehundrederrorheaders.md +0 -0
  277. /package/docs/models/{shared → errors}/fourhundredandoneerrorheaders.md +0 -0
  278. /package/docs/models/{shared → errors}/fourhundredandtwentynineerrorheaders.md +0 -0
@@ -63,7 +63,7 @@ import { AmendedEvent, AmendedEventProperties } from "orb-billing/dist/sdk/model
63
63
  (async() => {
64
64
  const sdk = new Orb({
65
65
  security: {
66
- apiKeyAuth: "",
66
+ apiKey: "",
67
67
  },
68
68
  });
69
69
  const eventId: string = "Steel";
@@ -110,7 +110,7 @@ import { CloseBackfillRequest } from "orb-billing/dist/sdk/models/operations";
110
110
  (async() => {
111
111
  const sdk = new Orb({
112
112
  security: {
113
- apiKeyAuth: "",
113
+ apiKey: "",
114
114
  },
115
115
  });
116
116
  const backfillId: string = "olive";
@@ -167,7 +167,7 @@ import { Orb } from "orb-billing";
167
167
  (async() => {
168
168
  const sdk = new Orb({
169
169
  security: {
170
- apiKeyAuth: "",
170
+ apiKey: "",
171
171
  },
172
172
  });
173
173
 
@@ -235,7 +235,7 @@ import { DeprecateEventRequest } from "orb-billing/dist/sdk/models/operations";
235
235
  (async() => {
236
236
  const sdk = new Orb({
237
237
  security: {
238
- apiKeyAuth: "",
238
+ apiKey: "",
239
239
  },
240
240
  });
241
241
  const eventId: string = "CSS";
@@ -274,7 +274,7 @@ import { FetchBackfillRequest } from "orb-billing/dist/sdk/models/operations";
274
274
  (async() => {
275
275
  const sdk = new Orb({
276
276
  security: {
277
- apiKeyAuth: "",
277
+ apiKey: "",
278
278
  },
279
279
  });
280
280
  const backfillId: string = "grateful";
@@ -488,7 +488,7 @@ import { IngestEvent, IngestEventProperties, IngestRequestBody } from "orb-billi
488
488
  (async() => {
489
489
  const sdk = new Orb({
490
490
  security: {
491
- apiKeyAuth: "",
491
+ apiKey: "",
492
492
  },
493
493
  });
494
494
  const ingestRequestBody: IngestRequestBody = {
@@ -544,7 +544,7 @@ import { ListBackfillsRequest } from "orb-billing/dist/sdk/models/operations";
544
544
  (async() => {
545
545
  const sdk = new Orb({
546
546
  security: {
547
- apiKeyAuth: "",
547
+ apiKey: "",
548
548
  },
549
549
  });
550
550
  const cursor: string = "bespatter";
@@ -590,7 +590,7 @@ import { RevertBackfillRequest } from "orb-billing/dist/sdk/models/operations";
590
590
  (async() => {
591
591
  const sdk = new Orb({
592
592
  security: {
593
- apiKeyAuth: "",
593
+ apiKey: "",
594
594
  },
595
595
  });
596
596
  const backfillId: string = "Gasoline";
@@ -642,7 +642,7 @@ import { Orb } from "orb-billing";
642
642
  (async() => {
643
643
  const sdk = new Orb({
644
644
  security: {
645
- apiKeyAuth: "",
645
+ apiKey: "",
646
646
  },
647
647
  });
648
648
 
@@ -33,7 +33,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
33
33
  (async() => {
34
34
  const sdk = new Orb({
35
35
  security: {
36
- apiKeyAuth: "",
36
+ apiKey: "",
37
37
  },
38
38
  });
39
39
 
@@ -93,7 +93,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
93
93
  (async() => {
94
94
  const sdk = new Orb({
95
95
  security: {
96
- apiKeyAuth: "",
96
+ apiKey: "",
97
97
  },
98
98
  });
99
99
 
@@ -138,7 +138,7 @@ import { FetchInvoiceRequest } from "orb-billing/dist/sdk/models/operations";
138
138
  (async() => {
139
139
  const sdk = new Orb({
140
140
  security: {
141
- apiKeyAuth: "",
141
+ apiKey: "",
142
142
  },
143
143
  });
144
144
  const invoiceId: string = "grateful";
@@ -178,7 +178,7 @@ import { FetchUpcomingInvoiceRequest } from "orb-billing/dist/sdk/models/operati
178
178
  (async() => {
179
179
  const sdk = new Orb({
180
180
  security: {
181
- apiKeyAuth: "",
181
+ apiKey: "",
182
182
  },
183
183
  });
184
184
  const subscriptionId: string = "soluta";
@@ -220,7 +220,7 @@ import { IssueInvoiceRequest } from "orb-billing/dist/sdk/models/operations";
220
220
  (async() => {
221
221
  const sdk = new Orb({
222
222
  security: {
223
- apiKeyAuth: "",
223
+ apiKey: "",
224
224
  },
225
225
  });
226
226
  const invoiceId: string = "hazel";
@@ -266,7 +266,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
266
266
  (async() => {
267
267
  const sdk = new Orb({
268
268
  security: {
269
- apiKeyAuth: "",
269
+ apiKey: "",
270
270
  },
271
271
  });
272
272
 
@@ -311,7 +311,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
311
311
  (async() => {
312
312
  const sdk = new Orb({
313
313
  security: {
314
- apiKeyAuth: "",
314
+ apiKey: "",
315
315
  },
316
316
  });
317
317
  const invoiceId: string = "Illinois";
@@ -361,7 +361,7 @@ import { VoidInvoiceRequest } from "orb-billing/dist/sdk/models/operations";
361
361
  (async() => {
362
362
  const sdk = new Orb({
363
363
  security: {
364
- apiKeyAuth: "",
364
+ apiKey: "",
365
365
  },
366
366
  });
367
367
  const invoiceId: string = "turquoise";
@@ -24,7 +24,7 @@ import { FetchItemRequest } from "orb-billing/dist/sdk/models/operations";
24
24
  (async() => {
25
25
  const sdk = new Orb({
26
26
  security: {
27
- apiKeyAuth: "",
27
+ apiKey: "",
28
28
  },
29
29
  });
30
30
  const itemId: string = "grateful";
@@ -63,7 +63,7 @@ import { ListItemsRequest } from "orb-billing/dist/sdk/models/operations";
63
63
  (async() => {
64
64
  const sdk = new Orb({
65
65
  security: {
66
- apiKeyAuth: "",
66
+ apiKey: "",
67
67
  },
68
68
  });
69
69
  const cursor: string = "Bicycle";
@@ -26,7 +26,7 @@ import { Orb } from "orb-billing";
26
26
  (async() => {
27
27
  const sdk = new Orb({
28
28
  security: {
29
- apiKeyAuth: "",
29
+ apiKey: "",
30
30
  },
31
31
  });
32
32
 
@@ -71,7 +71,7 @@ import { FetchMetricRequest } from "orb-billing/dist/sdk/models/operations";
71
71
  (async() => {
72
72
  const sdk = new Orb({
73
73
  security: {
74
- apiKeyAuth: "",
74
+ apiKey: "",
75
75
  },
76
76
  });
77
77
  const metricId: string = "grateful";
@@ -110,7 +110,7 @@ import { Orb } from "orb-billing";
110
110
  (async() => {
111
111
  const sdk = new Orb({
112
112
  security: {
113
- apiKeyAuth: "",
113
+ apiKey: "",
114
114
  },
115
115
  });
116
116
 
@@ -28,7 +28,7 @@ import { Orb } from "orb-billing";
28
28
  (async() => {
29
29
  const sdk = new Orb({
30
30
  security: {
31
- apiKeyAuth: "",
31
+ apiKey: "",
32
32
  },
33
33
  });
34
34
 
@@ -85,7 +85,7 @@ import { FetchPlanRequest } from "orb-billing/dist/sdk/models/operations";
85
85
  (async() => {
86
86
  const sdk = new Orb({
87
87
  security: {
88
- apiKeyAuth: "",
88
+ apiKey: "",
89
89
  },
90
90
  });
91
91
  const planId: string = "grateful";
@@ -132,7 +132,7 @@ import { FetchPlanExternalIdRequest } from "orb-billing/dist/sdk/models/operatio
132
132
  (async() => {
133
133
  const sdk = new Orb({
134
134
  security: {
135
- apiKeyAuth: "",
135
+ apiKey: "",
136
136
  },
137
137
  });
138
138
  const externalPlanId: string = "Technician";
@@ -174,7 +174,7 @@ import { ListPlansStatusStatus } from "orb-billing/dist/sdk/models/operations";
174
174
  (async() => {
175
175
  const sdk = new Orb({
176
176
  security: {
177
- apiKeyAuth: "",
177
+ apiKey: "",
178
178
  },
179
179
  });
180
180
 
@@ -215,7 +215,7 @@ import { EditPlan, EditPlanMetadata } from "orb-billing/dist/sdk/models/shared";
215
215
  (async() => {
216
216
  const sdk = new Orb({
217
217
  security: {
218
- apiKeyAuth: "",
218
+ apiKey: "",
219
219
  },
220
220
  });
221
221
  const planId: string = "hie";
@@ -267,7 +267,7 @@ import { EditPlan, EditPlanMetadata } from "orb-billing/dist/sdk/models/shared";
267
267
  (async() => {
268
268
  const sdk = new Orb({
269
269
  security: {
270
- apiKeyAuth: "",
270
+ apiKey: "",
271
271
  },
272
272
  });
273
273
  const externalPlanId: string = "morph";
@@ -229,7 +229,7 @@ import { Orb } from "orb-billing";
229
229
  (async() => {
230
230
  const sdk = new Orb({
231
231
  security: {
232
- apiKeyAuth: "",
232
+ apiKey: "",
233
233
  },
234
234
  });
235
235
 
@@ -267,7 +267,7 @@ import { FetchPriceRequest } from "orb-billing/dist/sdk/models/operations";
267
267
  (async() => {
268
268
  const sdk = new Orb({
269
269
  security: {
270
- apiKeyAuth: "",
270
+ apiKey: "",
271
271
  },
272
272
  });
273
273
  const priceId: string = "grateful";
@@ -307,7 +307,7 @@ import { FetchPriceExternalIdRequest } from "orb-billing/dist/sdk/models/operati
307
307
  (async() => {
308
308
  const sdk = new Orb({
309
309
  security: {
310
- apiKeyAuth: "",
310
+ apiKey: "",
311
311
  },
312
312
  });
313
313
  const externalPriceId: string = "Technician";
@@ -346,7 +346,7 @@ import { ListPricesRequest } from "orb-billing/dist/sdk/models/operations";
346
346
  (async() => {
347
347
  const sdk = new Orb({
348
348
  security: {
349
- apiKeyAuth: "",
349
+ apiKey: "",
350
350
  },
351
351
  });
352
352
  const cursor: string = "Bicycle";
@@ -74,7 +74,7 @@ import {
74
74
  (async() => {
75
75
  const sdk = new Orb({
76
76
  security: {
77
- apiKeyAuth: "",
77
+ apiKey: "",
78
78
  },
79
79
  });
80
80
  const subscriptionId: string = "Shoes";
@@ -89,7 +89,7 @@ import { CancelSubscriptionParams, CancelSubscriptionParamsCancelOption } from "
89
89
  (async() => {
90
90
  const sdk = new Orb({
91
91
  security: {
92
- apiKeyAuth: "",
92
+ apiKey: "",
93
93
  },
94
94
  });
95
95
  const subscriptionId: string = "Clifton";
@@ -533,7 +533,7 @@ import { DiscountDiscountType, NewSubscriptionExternalMarketplace } from "orb-bi
533
533
  (async() => {
534
534
  const sdk = new Orb({
535
535
  security: {
536
- apiKeyAuth: "",
536
+ apiKey: "",
537
537
  },
538
538
  });
539
539
 
@@ -606,7 +606,7 @@ import { FetchSubscriptionRequest } from "orb-billing/dist/sdk/models/operations
606
606
  (async() => {
607
607
  const sdk = new Orb({
608
608
  security: {
609
- apiKeyAuth: "",
609
+ apiKey: "",
610
610
  },
611
611
  });
612
612
  const subscriptionId: string = "grateful";
@@ -651,7 +651,7 @@ import { FetchSubscriptionCostsViewModeViewMode } from "orb-billing/dist/sdk/mod
651
651
  (async() => {
652
652
  const sdk = new Orb({
653
653
  security: {
654
- apiKeyAuth: "",
654
+ apiKey: "",
655
655
  },
656
656
  });
657
657
 
@@ -694,7 +694,7 @@ import { Orb } from "orb-billing";
694
694
  (async() => {
695
695
  const sdk = new Orb({
696
696
  security: {
697
- apiKeyAuth: "",
697
+ apiKey: "",
698
698
  },
699
699
  });
700
700
 
@@ -892,7 +892,7 @@ import {
892
892
  (async() => {
893
893
  const sdk = new Orb({
894
894
  security: {
895
- apiKeyAuth: "",
895
+ apiKey: "",
896
896
  },
897
897
  });
898
898
 
@@ -939,7 +939,7 @@ import { ListSubscriptionsStatusStatus } from "orb-billing/dist/sdk/models/opera
939
939
  (async() => {
940
940
  const sdk = new Orb({
941
941
  security: {
942
- apiKeyAuth: "",
942
+ apiKey: "",
943
943
  },
944
944
  });
945
945
 
@@ -1012,7 +1012,7 @@ import {
1012
1012
  (async() => {
1013
1013
  const sdk = new Orb({
1014
1014
  security: {
1015
- apiKeyAuth: "",
1015
+ apiKey: "",
1016
1016
  },
1017
1017
  });
1018
1018
  const subscriptionId: string = "Consultant";
@@ -1093,7 +1093,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
1093
1093
  (async() => {
1094
1094
  const sdk = new Orb({
1095
1095
  security: {
1096
- apiKeyAuth: "",
1096
+ apiKey: "",
1097
1097
  },
1098
1098
  });
1099
1099
  const subscriptionId: string = "global";
@@ -1137,7 +1137,7 @@ import { UnscheduleCancellationRequest } from "orb-billing/dist/sdk/models/opera
1137
1137
  (async() => {
1138
1138
  const sdk = new Orb({
1139
1139
  security: {
1140
- apiKeyAuth: "",
1140
+ apiKey: "",
1141
1141
  },
1142
1142
  });
1143
1143
  const subscriptionId: string = "Steel";
@@ -1179,7 +1179,7 @@ import { UnscheduleFixedFeeQuantityChangeParams } from "orb-billing/dist/sdk/mod
1179
1179
  (async() => {
1180
1180
  const sdk = new Orb({
1181
1181
  security: {
1182
- apiKeyAuth: "",
1182
+ apiKey: "",
1183
1183
  },
1184
1184
  });
1185
1185
  const subscriptionId: string = "East";
@@ -1222,7 +1222,7 @@ import { UnschedulePlanChangeRequest } from "orb-billing/dist/sdk/models/operati
1222
1222
  (async() => {
1223
1223
  const sdk = new Orb({
1224
1224
  security: {
1225
- apiKeyAuth: "",
1225
+ apiKey: "",
1226
1226
  },
1227
1227
  });
1228
1228
  const subscriptionId: string = "embrace";
@@ -1273,7 +1273,7 @@ import { RFCDate } from "orb-billing/dist/sdk/types";
1273
1273
  (async() => {
1274
1274
  const sdk = new Orb({
1275
1275
  security: {
1276
- apiKeyAuth: "",
1276
+ apiKey: "",
1277
1277
  },
1278
1278
  });
1279
1279
  const subscriptionId: string = "Falls";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orb-billing",
3
- "version": "1.20.0",
3
+ "version": "1.20.2",
4
4
  "author": "orbcorp",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build"
@@ -1,13 +0,0 @@
1
- import { SpeakeasyBase } from "../../../internal/utils";
2
- export declare class FiveHundredErrorHeaders extends SpeakeasyBase {
3
- }
4
- export declare enum FiveHundredErrorType {
5
- HttpsDocsWithorbComReferenceErrorResponsesNumber500InternalServerError = "https://docs.withorb.com/reference/error-responses#500-internal-server-error"
6
- }
7
- export declare class FiveHundredError extends SpeakeasyBase {
8
- detail?: string;
9
- headers?: FiveHundredErrorHeaders;
10
- status: number;
11
- title?: string;
12
- type: FiveHundredErrorType;
13
- }
@@ -1,16 +0,0 @@
1
- import { SpeakeasyBase } from "../../../internal/utils";
2
- export declare class FourHundredAndOneErrorHeaders extends SpeakeasyBase {
3
- }
4
- export declare enum FourHundredAndOneErrorStatus {
5
- FourHundredAndOne = 401
6
- }
7
- export declare enum FourHundredAndOneErrorType {
8
- HttpsDocsWithorbComReferenceErrorResponsesNumber401AuthenticationError = "https://docs.withorb.com/reference/error-responses#401-authentication-error"
9
- }
10
- export declare class FourHundredAndOneError extends SpeakeasyBase {
11
- detail?: string;
12
- headers?: FourHundredAndOneErrorHeaders;
13
- status: FourHundredAndOneErrorStatus;
14
- title?: string;
15
- type: FourHundredAndOneErrorType;
16
- }
@@ -1,16 +0,0 @@
1
- import { SpeakeasyBase } from "../../../internal/utils";
2
- export declare class FourHundredAndTwentyNineErrorHeaders extends SpeakeasyBase {
3
- }
4
- export declare enum FourHundredAndTwentyNineErrorStatus {
5
- FourHundredAndTwentyNine = 429
6
- }
7
- export declare enum FourHundredAndTwentyNineErrorType {
8
- HttpsDocsWithorbComReferenceErrorResponsesNumber429TooManyRequests = "https://docs.withorb.com/reference/error-responses#429-too-many-requests"
9
- }
10
- export declare class FourHundredAndTwentyNineError extends SpeakeasyBase {
11
- detail?: string;
12
- headers?: FourHundredAndTwentyNineErrorHeaders;
13
- status: FourHundredAndTwentyNineErrorStatus;
14
- title?: string;
15
- type: FourHundredAndTwentyNineErrorType;
16
- }
@@ -1,12 +0,0 @@
1
- # FiveHundredError
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
8
- | `detail` | *string* | :heavy_minus_sign: | N/A |
9
- | `headers` | [FiveHundredErrorHeaders](../../models/shared/fivehundrederrorheaders.md) | :heavy_minus_sign: | N/A |
10
- | `status` | *number* | :heavy_check_mark: | N/A |
11
- | `title` | *string* | :heavy_minus_sign: | N/A |
12
- | `type` | [FiveHundredErrorType](../../models/shared/fivehundrederrortype.md) | :heavy_check_mark: | N/A |
@@ -1,8 +0,0 @@
1
- # FiveHundredErrorType
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
8
- | `HttpsDocsWithorbComReferenceErrorResponsesNumber500InternalServerError` | https://docs.withorb.com/reference/error-responses#500-internal-server-error |
@@ -1,12 +0,0 @@
1
- # FourHundredAndOneError
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8
- | `detail` | *string* | :heavy_minus_sign: | N/A |
9
- | `headers` | [FourHundredAndOneErrorHeaders](../../models/shared/fourhundredandoneerrorheaders.md) | :heavy_minus_sign: | N/A |
10
- | `status` | [FourHundredAndOneErrorStatus](../../models/shared/fourhundredandoneerrorstatus.md) | :heavy_check_mark: | N/A |
11
- | `title` | *string* | :heavy_minus_sign: | N/A |
12
- | `type` | [FourHundredAndOneErrorType](../../models/shared/fourhundredandoneerrortype.md) | :heavy_check_mark: | N/A |
@@ -1,8 +0,0 @@
1
- # FourHundredAndOneErrorStatus
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | ------------------- | ------------------- |
8
- | `FourHundredAndOne` | 401 |
@@ -1,8 +0,0 @@
1
- # FourHundredAndOneErrorType
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
8
- | `HttpsDocsWithorbComReferenceErrorResponsesNumber401AuthenticationError` | https://docs.withorb.com/reference/error-responses#401-authentication-error |
@@ -1,12 +0,0 @@
1
- # FourHundredAndTwentyNineError
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
8
- | `detail` | *string* | :heavy_minus_sign: | N/A |
9
- | `headers` | [FourHundredAndTwentyNineErrorHeaders](../../models/shared/fourhundredandtwentynineerrorheaders.md) | :heavy_minus_sign: | N/A |
10
- | `status` | [FourHundredAndTwentyNineErrorStatus](../../models/shared/fourhundredandtwentynineerrorstatus.md) | :heavy_check_mark: | N/A |
11
- | `title` | *string* | :heavy_minus_sign: | N/A |
12
- | `type` | [FourHundredAndTwentyNineErrorType](../../models/shared/fourhundredandtwentynineerrortype.md) | :heavy_check_mark: | N/A |
@@ -1,8 +0,0 @@
1
- # FourHundredAndTwentyNineErrorStatus
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | -------------------------- | -------------------------- |
8
- | `FourHundredAndTwentyNine` | 429 |
@@ -1,8 +0,0 @@
1
- # FourHundredAndTwentyNineErrorType
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
8
- | `HttpsDocsWithorbComReferenceErrorResponsesNumber429TooManyRequests` | https://docs.withorb.com/reference/error-responses#429-too-many-requests |