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.
- package/README.md +1 -1
- package/dist/sdk/availability.js +17 -36
- package/dist/sdk/coupon.js +85 -180
- package/dist/sdk/credit.js +102 -216
- package/dist/sdk/creditnote.js +34 -72
- package/dist/sdk/customer.js +221 -468
- package/dist/sdk/event.js +153 -324
- package/dist/sdk/invoice.js +136 -288
- package/dist/sdk/item.js +34 -72
- package/dist/sdk/metric.js +51 -108
- package/dist/sdk/models/errors/fivehundrederror.d.ts +11 -0
- package/dist/sdk/models/{shared → errors}/fivehundrederror.js +21 -11
- package/dist/sdk/models/errors/fourhundredandoneerror.d.ts +11 -0
- package/dist/sdk/models/{shared → errors}/fourhundredandoneerror.js +21 -15
- package/dist/sdk/models/errors/fourhundredandtwentynineerror.d.ts +11 -0
- package/dist/sdk/models/{shared → errors}/fourhundredandtwentynineerror.js +21 -15
- package/dist/sdk/models/errors/index.d.ts +3 -0
- package/dist/sdk/models/errors/index.js +3 -0
- package/dist/sdk/models/operations/addeditpriceintervals.d.ts +0 -28
- package/dist/sdk/models/operations/addeditpriceintervals.js +0 -28
- package/dist/sdk/models/operations/amendevent.d.ts +0 -28
- package/dist/sdk/models/operations/amendevent.js +0 -28
- package/dist/sdk/models/operations/amendusage.d.ts +0 -28
- package/dist/sdk/models/operations/amendusage.js +0 -28
- package/dist/sdk/models/operations/amendusageexternalcustomerid.d.ts +0 -28
- package/dist/sdk/models/operations/amendusageexternalcustomerid.js +0 -28
- package/dist/sdk/models/operations/archivecoupon.d.ts +0 -28
- package/dist/sdk/models/operations/archivecoupon.js +0 -28
- package/dist/sdk/models/operations/cancelsubscription.d.ts +0 -28
- package/dist/sdk/models/operations/cancelsubscription.js +0 -28
- package/dist/sdk/models/operations/closebackfill.d.ts +0 -28
- package/dist/sdk/models/operations/closebackfill.js +0 -28
- package/dist/sdk/models/operations/createbackfill.d.ts +0 -28
- package/dist/sdk/models/operations/createbackfill.js +0 -28
- package/dist/sdk/models/operations/createcoupon.d.ts +0 -28
- package/dist/sdk/models/operations/createcoupon.js +0 -28
- package/dist/sdk/models/operations/createcustomer.d.ts +0 -28
- package/dist/sdk/models/operations/createcustomer.js +0 -28
- package/dist/sdk/models/operations/createcustomerbalancetransaction.d.ts +0 -28
- package/dist/sdk/models/operations/createcustomerbalancetransaction.js +0 -28
- package/dist/sdk/models/operations/createinvoice.d.ts +0 -28
- package/dist/sdk/models/operations/createinvoice.js +0 -28
- package/dist/sdk/models/operations/createinvoicelineitem.d.ts +0 -28
- package/dist/sdk/models/operations/createinvoicelineitem.js +0 -28
- package/dist/sdk/models/operations/createledgerentry.d.ts +0 -29
- package/dist/sdk/models/operations/createledgerentry.js +0 -52
- package/dist/sdk/models/operations/createledgerentryexternalid.d.ts +0 -29
- package/dist/sdk/models/operations/createledgerentryexternalid.js +0 -52
- package/dist/sdk/models/operations/createmetric.d.ts +0 -28
- package/dist/sdk/models/operations/createmetric.js +0 -28
- package/dist/sdk/models/operations/createplan.d.ts +0 -28
- package/dist/sdk/models/operations/createplan.js +0 -28
- package/dist/sdk/models/operations/createprice.d.ts +0 -29
- package/dist/sdk/models/operations/createprice.js +0 -52
- package/dist/sdk/models/operations/createsubscription.d.ts +0 -28
- package/dist/sdk/models/operations/createsubscription.js +0 -28
- package/dist/sdk/models/operations/deletecustomer.d.ts +0 -28
- package/dist/sdk/models/operations/deletecustomer.js +0 -28
- package/dist/sdk/models/operations/deprecateevent.d.ts +0 -28
- package/dist/sdk/models/operations/deprecateevent.js +0 -28
- package/dist/sdk/models/operations/fetchbackfill.d.ts +0 -28
- package/dist/sdk/models/operations/fetchbackfill.js +0 -28
- package/dist/sdk/models/operations/fetchcoupon.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcoupon.js +0 -28
- package/dist/sdk/models/operations/fetchcreditnote.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcreditnote.js +0 -28
- package/dist/sdk/models/operations/fetchcustomer.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomer.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercosts.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercosts.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercostsexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercostsexternalid.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercredits.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercredits.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsexternalid.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsledger.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsledger.js +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsledgerexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomercreditsledgerexternalid.js +0 -28
- package/dist/sdk/models/operations/fetchcustomerexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/fetchcustomerexternalid.js +0 -28
- package/dist/sdk/models/operations/fetchinvoice.d.ts +0 -28
- package/dist/sdk/models/operations/fetchinvoice.js +0 -28
- package/dist/sdk/models/operations/fetchitem.d.ts +0 -28
- package/dist/sdk/models/operations/fetchitem.js +0 -28
- package/dist/sdk/models/operations/fetchmetric.d.ts +0 -28
- package/dist/sdk/models/operations/fetchmetric.js +0 -28
- package/dist/sdk/models/operations/fetchplan.d.ts +0 -28
- package/dist/sdk/models/operations/fetchplan.js +0 -28
- package/dist/sdk/models/operations/fetchplanexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/fetchplanexternalid.js +0 -28
- package/dist/sdk/models/operations/fetchprice.d.ts +0 -29
- package/dist/sdk/models/operations/fetchprice.js +0 -52
- package/dist/sdk/models/operations/fetchpriceexternalid.d.ts +0 -29
- package/dist/sdk/models/operations/fetchpriceexternalid.js +0 -52
- package/dist/sdk/models/operations/fetchsubscription.d.ts +0 -28
- package/dist/sdk/models/operations/fetchsubscription.js +0 -28
- package/dist/sdk/models/operations/fetchsubscriptioncosts.d.ts +0 -28
- package/dist/sdk/models/operations/fetchsubscriptioncosts.js +0 -28
- package/dist/sdk/models/operations/fetchsubscriptionschedule.d.ts +0 -28
- package/dist/sdk/models/operations/fetchsubscriptionschedule.js +0 -28
- package/dist/sdk/models/operations/fetchsubscriptionusage.d.ts +0 -29
- package/dist/sdk/models/operations/fetchsubscriptionusage.js +0 -52
- package/dist/sdk/models/operations/fetchupcominginvoice.d.ts +0 -28
- package/dist/sdk/models/operations/fetchupcominginvoice.js +0 -28
- package/dist/sdk/models/operations/ingest.d.ts +0 -28
- package/dist/sdk/models/operations/ingest.js +0 -28
- package/dist/sdk/models/operations/issueinvoice.d.ts +0 -28
- package/dist/sdk/models/operations/issueinvoice.js +0 -28
- package/dist/sdk/models/operations/listbackfills.d.ts +0 -28
- package/dist/sdk/models/operations/listbackfills.js +0 -28
- package/dist/sdk/models/operations/listbalancetransactions.d.ts +0 -28
- package/dist/sdk/models/operations/listbalancetransactions.js +0 -28
- package/dist/sdk/models/operations/listcoupons.d.ts +0 -28
- package/dist/sdk/models/operations/listcoupons.js +0 -28
- package/dist/sdk/models/operations/listcouponsubscriptions.d.ts +0 -28
- package/dist/sdk/models/operations/listcouponsubscriptions.js +0 -28
- package/dist/sdk/models/operations/listcreditnotes.d.ts +0 -28
- package/dist/sdk/models/operations/listcreditnotes.js +0 -28
- package/dist/sdk/models/operations/listcustomers.d.ts +0 -28
- package/dist/sdk/models/operations/listcustomers.js +0 -28
- package/dist/sdk/models/operations/listinvoices.d.ts +0 -28
- package/dist/sdk/models/operations/listinvoices.js +0 -28
- package/dist/sdk/models/operations/listitems.d.ts +0 -28
- package/dist/sdk/models/operations/listitems.js +0 -28
- package/dist/sdk/models/operations/listmetrics.d.ts +0 -28
- package/dist/sdk/models/operations/listmetrics.js +0 -28
- package/dist/sdk/models/operations/listplans.d.ts +0 -28
- package/dist/sdk/models/operations/listplans.js +0 -28
- package/dist/sdk/models/operations/listprices.d.ts +0 -28
- package/dist/sdk/models/operations/listprices.js +0 -28
- package/dist/sdk/models/operations/listsubscriptions.d.ts +0 -28
- package/dist/sdk/models/operations/listsubscriptions.js +0 -28
- package/dist/sdk/models/operations/markinvoiceaspaid.d.ts +0 -28
- package/dist/sdk/models/operations/markinvoiceaspaid.js +0 -28
- package/dist/sdk/models/operations/ping.d.ts +0 -28
- package/dist/sdk/models/operations/ping.js +0 -28
- package/dist/sdk/models/operations/revertbackfill.d.ts +0 -28
- package/dist/sdk/models/operations/revertbackfill.js +0 -28
- package/dist/sdk/models/operations/scheduleplanchange.d.ts +0 -28
- package/dist/sdk/models/operations/scheduleplanchange.js +0 -28
- package/dist/sdk/models/operations/searchevents.d.ts +0 -28
- package/dist/sdk/models/operations/searchevents.js +0 -28
- package/dist/sdk/models/operations/triggerphase.d.ts +0 -28
- package/dist/sdk/models/operations/triggerphase.js +0 -28
- package/dist/sdk/models/operations/unschedulecancellation.d.ts +0 -28
- package/dist/sdk/models/operations/unschedulecancellation.js +0 -28
- package/dist/sdk/models/operations/unschedulefixedfeequantity.d.ts +0 -28
- package/dist/sdk/models/operations/unschedulefixedfeequantity.js +0 -28
- package/dist/sdk/models/operations/unscheduleplanchange.d.ts +0 -28
- package/dist/sdk/models/operations/unscheduleplanchange.js +0 -28
- package/dist/sdk/models/operations/updatecustomer.d.ts +0 -28
- package/dist/sdk/models/operations/updatecustomer.js +0 -28
- package/dist/sdk/models/operations/updatecustomerexternalid.d.ts +0 -28
- package/dist/sdk/models/operations/updatecustomerexternalid.js +0 -28
- package/dist/sdk/models/operations/updatefixedfeequantity.d.ts +0 -28
- package/dist/sdk/models/operations/updatefixedfeequantity.js +0 -28
- package/dist/sdk/models/operations/updateplan.d.ts +0 -28
- package/dist/sdk/models/operations/updateplan.js +0 -28
- package/dist/sdk/models/operations/updateplanexternal.d.ts +0 -28
- package/dist/sdk/models/operations/updateplanexternal.js +0 -28
- package/dist/sdk/models/operations/voidinvoice.d.ts +0 -28
- package/dist/sdk/models/operations/voidinvoice.js +0 -28
- package/dist/sdk/models/shared/index.d.ts +0 -3
- package/dist/sdk/models/shared/index.js +0 -3
- package/dist/sdk/models/shared/security.d.ts +1 -1
- package/dist/sdk/models/shared/security.js +1 -1
- package/dist/sdk/plan.js +102 -216
- package/dist/sdk/price.js +68 -144
- package/dist/sdk/priceinterval.js +17 -36
- package/dist/sdk/sdk.js +2 -2
- package/dist/sdk/subscription.js +221 -468
- package/docs/models/errors/fivehundrederror.md +12 -0
- package/docs/models/errors/fourhundredandoneerror.md +12 -0
- package/docs/models/errors/fourhundredandtwentynineerror.md +12 -0
- package/docs/models/operations/addeditpriceintervalsresponse.md +6 -13
- package/docs/models/operations/amendeventresponse.md +6 -13
- package/docs/models/operations/amendusageexternalcustomeridresponse.md +6 -13
- package/docs/models/operations/amendusageresponse.md +6 -13
- package/docs/models/operations/archivecouponresponse.md +6 -13
- package/docs/models/operations/cancelsubscriptionresponse.md +6 -13
- package/docs/models/operations/closebackfillresponse.md +6 -13
- package/docs/models/operations/createbackfillresponse.md +6 -13
- package/docs/models/operations/createcouponresponse.md +6 -13
- package/docs/models/operations/createcustomerbalancetransactionresponse.md +6 -13
- package/docs/models/operations/createcustomerresponse.md +6 -13
- package/docs/models/operations/createinvoicelineitemresponse.md +6 -13
- package/docs/models/operations/createinvoiceresponse.md +6 -13
- package/docs/models/operations/createledgerentryexternalidresponse.md +6 -13
- package/docs/models/operations/createledgerentryresponse.md +6 -13
- package/docs/models/operations/createmetricresponse.md +6 -13
- package/docs/models/operations/createplanresponse.md +6 -13
- package/docs/models/operations/createpriceresponse.md +6 -13
- package/docs/models/operations/createsubscriptionresponse.md +6 -13
- package/docs/models/operations/deletecustomerresponse.md +6 -13
- package/docs/models/operations/deprecateeventresponse.md +6 -13
- package/docs/models/operations/fetchbackfillresponse.md +6 -13
- package/docs/models/operations/fetchcouponresponse.md +6 -13
- package/docs/models/operations/fetchcreditnoteresponse.md +6 -13
- package/docs/models/operations/fetchcustomercostsexternalidresponse.md +6 -13
- package/docs/models/operations/fetchcustomercostsresponse.md +6 -13
- package/docs/models/operations/fetchcustomercreditsexternalidresponse.md +6 -13
- package/docs/models/operations/fetchcustomercreditsledgerexternalidresponse.md +6 -13
- package/docs/models/operations/fetchcustomercreditsledgerresponse.md +6 -13
- package/docs/models/operations/fetchcustomercreditsresponse.md +6 -13
- package/docs/models/operations/fetchcustomerexternalidresponse.md +6 -13
- package/docs/models/operations/fetchcustomerresponse.md +6 -13
- package/docs/models/operations/fetchinvoiceresponse.md +6 -13
- package/docs/models/operations/fetchitemresponse.md +6 -13
- package/docs/models/operations/fetchmetricresponse.md +6 -13
- package/docs/models/operations/fetchplanexternalidresponse.md +6 -13
- package/docs/models/operations/fetchplanresponse.md +6 -13
- package/docs/models/operations/fetchpriceexternalidresponse.md +6 -13
- package/docs/models/operations/fetchpriceresponse.md +6 -13
- package/docs/models/operations/fetchsubscriptioncostsresponse.md +6 -13
- package/docs/models/operations/fetchsubscriptionresponse.md +6 -13
- package/docs/models/operations/fetchsubscriptionscheduleresponse.md +6 -13
- package/docs/models/operations/fetchsubscriptionusageresponse.md +6 -13
- package/docs/models/operations/fetchupcominginvoiceresponse.md +6 -13
- package/docs/models/operations/ingestresponse.md +6 -13
- package/docs/models/operations/issueinvoiceresponse.md +6 -13
- package/docs/models/operations/listbackfillsresponse.md +6 -13
- package/docs/models/operations/listbalancetransactionsresponse.md +6 -13
- package/docs/models/operations/listcouponsresponse.md +6 -13
- package/docs/models/operations/listcouponsubscriptionsresponse.md +6 -13
- package/docs/models/operations/listcreditnotesresponse.md +6 -13
- package/docs/models/operations/listcustomersresponse.md +6 -13
- package/docs/models/operations/listinvoicesresponse.md +6 -13
- package/docs/models/operations/listitemsresponse.md +6 -13
- package/docs/models/operations/listmetricsresponse.md +6 -13
- package/docs/models/operations/listplansresponse.md +6 -13
- package/docs/models/operations/listpricesresponse.md +6 -13
- package/docs/models/operations/listsubscriptionsresponse.md +6 -13
- package/docs/models/operations/markinvoiceaspaidresponse.md +6 -13
- package/docs/models/operations/pingresponse.md +6 -13
- package/docs/models/operations/revertbackfillresponse.md +6 -13
- package/docs/models/operations/scheduleplanchangeresponse.md +6 -13
- package/docs/models/operations/searcheventsresponse.md +6 -13
- package/docs/models/operations/triggerphaseresponse.md +6 -13
- package/docs/models/operations/unschedulecancellationresponse.md +6 -13
- package/docs/models/operations/unschedulefixedfeequantityresponse.md +6 -13
- package/docs/models/operations/unscheduleplanchangeresponse.md +6 -13
- package/docs/models/operations/updatecustomerexternalidresponse.md +6 -13
- package/docs/models/operations/updatecustomerresponse.md +6 -13
- package/docs/models/operations/updatefixedfeequantityresponse.md +6 -13
- package/docs/models/operations/updateplanexternalresponse.md +6 -13
- package/docs/models/operations/updateplanresponse.md +6 -13
- package/docs/models/operations/voidinvoiceresponse.md +6 -13
- package/docs/models/shared/security.md +1 -1
- package/docs/sdks/availability/README.md +1 -1
- package/docs/sdks/coupon/README.md +5 -5
- package/docs/sdks/credit/README.md +6 -6
- package/docs/sdks/creditnote/README.md +2 -2
- package/docs/sdks/customer/README.md +13 -13
- package/docs/sdks/event/README.md +9 -9
- package/docs/sdks/invoice/README.md +8 -8
- package/docs/sdks/item/README.md +2 -2
- package/docs/sdks/metric/README.md +3 -3
- package/docs/sdks/plan/README.md +6 -6
- package/docs/sdks/price/README.md +4 -4
- package/docs/sdks/priceinterval/README.md +1 -1
- package/docs/sdks/subscription/README.md +13 -13
- package/package.json +1 -1
- package/dist/sdk/models/shared/fivehundrederror.d.ts +0 -13
- package/dist/sdk/models/shared/fourhundredandoneerror.d.ts +0 -16
- package/dist/sdk/models/shared/fourhundredandtwentynineerror.d.ts +0 -16
- package/docs/models/shared/fivehundrederror.md +0 -12
- package/docs/models/shared/fivehundrederrortype.md +0 -8
- package/docs/models/shared/fourhundredandoneerror.md +0 -12
- package/docs/models/shared/fourhundredandoneerrorstatus.md +0 -8
- package/docs/models/shared/fourhundredandoneerrortype.md +0 -8
- package/docs/models/shared/fourhundredandtwentynineerror.md +0 -12
- package/docs/models/shared/fourhundredandtwentynineerrorstatus.md +0 -8
- package/docs/models/shared/fourhundredandtwentynineerrortype.md +0 -8
- /package/docs/models/{shared → errors}/fivehundrederrorheaders.md +0 -0
- /package/docs/models/{shared → errors}/fourhundredandoneerrorheaders.md +0 -0
- /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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
364
|
+
apiKey: "",
|
|
365
365
|
},
|
|
366
366
|
});
|
|
367
367
|
const invoiceId: string = "turquoise";
|
package/docs/sdks/item/README.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
113
|
+
apiKey: "",
|
|
114
114
|
},
|
|
115
115
|
});
|
|
116
116
|
|
package/docs/sdks/plan/README.md
CHANGED
|
@@ -28,7 +28,7 @@ import { Orb } from "orb-billing";
|
|
|
28
28
|
(async() => {
|
|
29
29
|
const sdk = new Orb({
|
|
30
30
|
security: {
|
|
31
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
349
|
+
apiKey: "",
|
|
350
350
|
},
|
|
351
351
|
});
|
|
352
352
|
const cursor: string = "Bicycle";
|
|
@@ -89,7 +89,7 @@ import { CancelSubscriptionParams, CancelSubscriptionParamsCancelOption } from "
|
|
|
89
89
|
(async() => {
|
|
90
90
|
const sdk = new Orb({
|
|
91
91
|
security: {
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1276
|
+
apiKey: "",
|
|
1277
1277
|
},
|
|
1278
1278
|
});
|
|
1279
1279
|
const subscriptionId: string = "Falls";
|
package/package.json
CHANGED
|
@@ -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
|
-
# 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
|
-
# FourHundredAndTwentyNineErrorType
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Values
|
|
5
|
-
|
|
6
|
-
| Name | Value |
|
|
7
|
-
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
8
|
-
| `HttpsDocsWithorbComReferenceErrorResponsesNumber429TooManyRequests` | https://docs.withorb.com/reference/error-responses#429-too-many-requests |
|
|
File without changes
|
|
File without changes
|
|
File without changes
|