Skip to content

Commit 095ada7

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0, Speakeay CLI 1.40.3
1 parent 67699d4 commit 095ada7

File tree

17 files changed

+54
-43
lines changed

17 files changed

+54
-43
lines changed

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,12 @@ Based on:
234234
- OpenAPI Doc 1.0 ./openapi/openapi.yaml
235235
- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy
236236
### Releases
237-
- [PyPI v0.12.3] https://pypi.org/project/orb-billing/0.12.3 - .
237+
- [PyPI v0.12.3] https://pypi.org/project/orb-billing/0.12.3 - .
238+
239+
## 2023-06-01 18:38:59
240+
### Changes
241+
Based on:
242+
- OpenAPI Doc 1.0 ./openapi/openapi.yaml
243+
- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy
244+
### Releases
245+
- [PyPI v0.12.4] https://pypi.org/project/orb-billing/0.12.4 - .

docs/coupon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ req = shared.CouponInput(
5959
'unde',
6060
'nulla',
6161
],
62-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
62+
discount_type=shared.DiscountType.PERCENTAGE,
6363
percentage_discount=0.15,
6464
trial_amount_discount='corrupti',
6565
usage_discount=8472.52,

docs/credit/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ res = s.credit.add_by_external_id('porro', shared.NewCreditLedgerEntry(
3535
amount=6788.8,
3636
block_id='dicta',
3737
description='nam',
38-
entry_type=shared.NewCreditLedgerEntryEntryType.DECREMENT,
38+
entry_type=shared.EntryType1.DECREMENT,
3939
expiry_date=dateutil.parser.parse('2023-01-01').date(),
4040
invoice_settings=shared.NewCreditLedgerEntryInvoiceSettings(
4141
auto_collection=False,
@@ -133,7 +133,7 @@ res = s.credit.create('qui', shared.NewCreditLedgerEntry(
133133
amount=7742.34,
134134
block_id='cum',
135135
description='esse',
136-
entry_type=shared.NewCreditLedgerEntryEntryType.INCREMENT,
136+
entry_type=shared.EntryType1.INCREMENT,
137137
expiry_date=dateutil.parser.parse('2023-01-01').date(),
138138
invoice_settings=shared.NewCreditLedgerEntryInvoiceSettings(
139139
auto_collection=False,

docs/customer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ s = orb.Orb(
267267
res = s.customer.create_transaction('assumenda', shared.NewTransaction(
268268
amount='1.00',
269269
description='ipsam',
270-
type=shared.NewTransactionType.INCREMENT,
270+
type=shared.TransactionType.INCREMENT,
271271
))
272272

273273
if res.transaction is not None:

docs/plan/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
7676
applies_to_price_ids=[
7777
'fugiat',
7878
],
79-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
79+
discount_type=shared.DiscountType.PERCENTAGE,
8080
percentage_discount=0.15,
8181
trial_amount_discount='ab',
8282
usage_discount=7438.35,
@@ -103,13 +103,13 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
103103
'numquam',
104104
'enim',
105105
],
106-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
106+
discount_type=shared.DiscountType.PERCENTAGE,
107107
percentage_discount=0.15,
108108
trial_amount_discount='dolorem',
109109
usage_discount=9574.51,
110110
),
111111
duration=518201,
112-
duration_unit=shared.PlanPhaseDurationUnit.QUARTERLY,
112+
duration_unit=shared.DurationUnit.QUARTERLY,
113113
minimum=shared.MinimumAmount(
114114
applies_to_price_ids=[
115115
'expedita',
@@ -126,13 +126,13 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
126126
applies_to_price_ids=[
127127
'cupiditate',
128128
],
129-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
129+
discount_type=shared.DiscountType.PERCENTAGE,
130130
percentage_discount=0.15,
131131
trial_amount_discount='maxime',
132132
usage_discount=8638.56,
133133
),
134134
duration=747080,
135-
duration_unit=shared.PlanPhaseDurationUnit.MONTHLY,
135+
duration_unit=shared.DurationUnit.MONTHLY,
136136
minimum=shared.MinimumAmount(
137137
applies_to_price_ids=[
138138
'totam',
@@ -151,13 +151,13 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
151151
applies_to_price_ids=[
152152
'magni',
153153
],
154-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
154+
discount_type=shared.DiscountType.PERCENTAGE,
155155
percentage_discount=0.15,
156156
trial_amount_discount='odio',
157157
usage_discount=1248.33,
158158
),
159159
duration=355613,
160-
duration_unit=shared.PlanPhaseDurationUnit.ANNUAL,
160+
duration_unit=shared.DurationUnit.ANNUAL,
161161
minimum=shared.MinimumAmount(
162162
applies_to_price_ids=[
163163
'voluptatem',
@@ -180,13 +180,13 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
180180
'labore',
181181
'adipisci',
182182
],
183-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
183+
discount_type=shared.DiscountType.PERCENTAGE,
184184
percentage_discount=0.15,
185185
trial_amount_discount='dolorum',
186186
usage_discount=1002.94,
187187
),
188188
duration=63038,
189-
duration_unit=shared.PlanPhaseDurationUnit.MONTHLY,
189+
duration_unit=shared.DurationUnit.MONTHLY,
190190
minimum=shared.MinimumAmount(
191191
applies_to_price_ids=[
192192
'itaque',
@@ -238,7 +238,7 @@ res = s.plan.get_by_external_id('eaque', shared.Plan(
238238
'possimus',
239239
'magnam',
240240
],
241-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
241+
discount_type=shared.DiscountType.PERCENTAGE,
242242
percentage_discount=0.15,
243243
trial_amount_discount='ratione',
244244
usage_discount=4011.32,

docs/subscription/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ req = shared.NewSubscription(
448448
applies_to_price_ids=[
449449
'explicabo',
450450
],
451-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
451+
discount_type=shared.DiscountType.PERCENTAGE,
452452
percentage_discount=0.15,
453453
trial_amount_discount='saepe',
454454
usage_discount=5789.22,
@@ -465,7 +465,7 @@ req = shared.NewSubscription(
465465
'esse',
466466
'quod',
467467
],
468-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
468+
discount_type=shared.DiscountType.PERCENTAGE,
469469
percentage_discount=0.15,
470470
trial_amount_discount='nam',
471471
usage_discount=8771.31,
@@ -480,7 +480,7 @@ req = shared.NewSubscription(
480480
'harum',
481481
'molestiae',
482482
],
483-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
483+
discount_type=shared.DiscountType.PERCENTAGE,
484484
percentage_discount=0.15,
485485
trial_amount_discount='rerum',
486486
usage_discount=5801.97,
@@ -494,7 +494,7 @@ req = shared.NewSubscription(
494494
applies_to_price_ids=[
495495
'culpa',
496496
],
497-
discount_type=shared.DiscountDiscountType.PERCENTAGE,
497+
discount_type=shared.DiscountType.PERCENTAGE,
498498
percentage_discount=0.15,
499499
trial_amount_discount='tempore',
500500
usage_discount=2400.2,

files.gen

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ src/orb/models/shared/amendedusage.py
9999
src/orb/models/shared/event.py
100100
src/orb/models/shared/newcustomer.py
101101
src/orb/models/shared/transaction.py
102+
src/orb/models/shared/transactiontype.py
102103
src/orb/models/shared/newtransaction.py
103104
src/orb/models/shared/customercosts.py
104105
src/orb/models/shared/customercost.py

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 80fa6621fc4a83753875e05ffbd11b5d
3+
docChecksum: 65e0bc6c15e391cf400279eec9fd7392
44
docVersion: "1.0"
55
speakeasyVersion: 1.40.3
66
generationVersion: 2.34.7
@@ -9,7 +9,7 @@ generation:
99
singleTagPerOp: false
1010
telemetryEnabled: false
1111
python:
12-
version: 0.12.3
12+
version: 0.12.4
1313
author: Orb-Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 4

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="orb-billing",
13-
version="0.12.3",
13+
version="0.12.4",
1414
author="Orb-Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

src/orb/models/shared/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@
6767
from .tieredpriceoverride import *
6868
from .transaction import *
6969
from .transactions import *
70+
from .transactiontype import *
7071
from .unitpriceoverride import *
7172
from .upcominginvoice import *
7273
from .validationerrors import *
7374
from .viewmode import *
7475

75-
__all__ = ["AmendEventResult","AmendedEvent","AmendedUsage","BPSPriceOverride","BPSPriceOverrideBPSConfig","BPSPriceOverrideModelType","Backfill","BackfillStatus","Backfills","BillingAddress","BulkBPSPriceOverride","BulkBPSPriceOverrideBulkBPSConfig","BulkBPSPriceOverrideBulkBPSConfigTiers","BulkBPSPriceOverrideModelType","BulkPriceOverride","BulkPriceOverrideBulkConfig","BulkPriceOverrideBulkConfigTiers","BulkPriceOverrideModelType","Coupon","CouponInput","Coupons","Credit","CreditLedgerEntries","CreditLedgerEntriesPaginationMetadata","CreditLedgerEntry","CreditLedgerEntryCreditBlock","CreditLedgerEntryCustomer","CreditLedgerEntryEntryStatus","CreditLedgerEntryEntryType","CreditNote","CreditNoteCustomer","CreditNoteLineItem","CreditNoteLineItemSubLineItems","CreditNoteLineItemTaxAmounts","CreditNoteReason","CreditNoteType","CreditNotes","Credits","Customer","CustomerCost","CustomerCostPerPriceCosts","CustomerCostPerPriceCostsPriceGroups","CustomerCosts","CustomerTaxID","Customers","Debug","DeprecatedEventResult","Discount","DiscountDiscountType","EntryStatus","EntryType","Event","EventSearchCriteria","EventSearchResults","FixedFeeQuantityChange","FixedFeeQuantityChangeChangeOption","IngestionResponse","Invoice","InvoiceAutoCollection","InvoiceCreditNotes","InvoiceCustomer","InvoiceLineItem","InvoiceLineItemTaxAmounts","InvoiceStatus","InvoiceSubscription","Invoices","MinimumAmount","NewBackfill","NewCreditLedgerEntry","NewCreditLedgerEntryEntryType","NewCreditLedgerEntryInvoiceSettings","NewCustomer","NewInvoiceLineItem","NewSubscription","NewSubscriptionExternalMarketplace","NewTransaction","NewTransactionType","PackagePriceOverride","PackagePriceOverrideModelType","PackagePriceOverridePackageConfig","PaginationMetadata","PaymentProvider","PhaseOverride","Plan","PlanBasePlan","PlanPhase","PlanPhaseDurationUnit","PlanProduct","PlanTrialConfig","PlanTrialConfigTrialPeriodUnit","Plans","Price","PriceBillableMetric","PriceBpsConfig","PriceBulkBpsConfig","PriceBulkBpsConfigTiers","PriceBulkConfig","PriceBulkConfigTiers","PriceCadence","PriceMatrixConfig","PriceMatrixConfigMatrixValues","PriceModelType","PricePackageConfig","PriceTieredBpsConfig","PriceTieredBpsConfigTiers","PriceTieredConfig","PriceTieredConfigTiers","PriceUnitConfig","Security","ShippingAddress","SubLineItem","SubLineItemGrouping","SubLineItemMatrixConfig","SubLineItemTierConfig","SubLineItemType","Subscription","SubscriptionCancellation","SubscriptionCancellationCancelOption","SubscriptionCost","SubscriptionCostPerPriceCosts","SubscriptionCostPerPriceCostsPriceGroups","SubscriptionCosts","SubscriptionFixedFeeQuantitySchedule","SubscriptionPlanChange","SubscriptionPlanChangeChangeOption","SubscriptionRedeemedCoupon","SubscriptionSchedule","SubscriptionScheduleItem","SubscriptionScheduleItemPlan","SubscriptionStatus","SubscriptionUsage","SubscriptionUsageData","SubscriptionUsageDataModelType","SubscriptionUsageDataUsage","Subscriptions","TieredBPSPriceOverride","TieredBPSPriceOverrideModelType","TieredBPSPriceOverrideTieredBPSConfig","TieredBPSPriceOverrideTieredBPSConfigTiers","TieredPriceOverride","TieredPriceOverrideModelType","TieredPriceOverrideTieredConfig","TieredPriceOverrideTieredConfigTiers","Transaction","TransactionAction","TransactionCreditNote","TransactionInvoice","TransactionType","Transactions","UnitPriceOverride","UnitPriceOverrideModelType","UnitPriceOverrideUnitConfig","UpcomingInvoice","UpcomingInvoiceCustomer","UpcomingInvoiceLineItems","UpcomingInvoiceLineItemsGrouping","UpcomingInvoiceLineItemsSubLineItems","UpcomingInvoiceLineItemsSubLineItemsMatrixConfig","UpcomingInvoiceLineItemsSubLineItemsTierConfig","UpcomingInvoiceLineItemsSubLineItemsType","UpcomingInvoiceSubscription","ValidationErrors","ViewMode"]
76+
__all__ = ["ActionType","AmendEventResult","AmendedEvent","AmendedUsage","BPSPriceOverride","BPSPriceOverrideBPSConfig","BPSPriceOverrideModelType","Backfill","BackfillStatus","Backfills","BillingAddress","BulkBPSPriceOverride","BulkBPSPriceOverrideBulkBPSConfig","BulkBPSPriceOverrideBulkBPSConfigTiers","BulkBPSPriceOverrideModelType","BulkPriceOverride","BulkPriceOverrideBulkConfig","BulkPriceOverrideBulkConfigTiers","BulkPriceOverrideModelType","Coupon","CouponInput","Coupons","Credit","CreditLedgerEntries","CreditLedgerEntriesPaginationMetadata","CreditLedgerEntry","CreditLedgerEntryCreditBlock","CreditLedgerEntryCustomer","CreditLedgerEntryEntryStatus","CreditLedgerEntryEntryType","CreditNote","CreditNoteCustomer","CreditNoteLineItem","CreditNoteLineItemSubLineItems","CreditNoteLineItemTaxAmounts","CreditNoteReason","CreditNoteType","CreditNotes","Credits","Customer","CustomerCost","CustomerCostPerPriceCosts","CustomerCostPerPriceCostsPriceGroups","CustomerCosts","CustomerTaxID","Customers","Debug","DeprecatedEventResult","Discount","DiscountType","DurationUnit","EntryStatus","EntryType","EntryType1","Event","EventSearchCriteria","EventSearchResults","FixedFeeQuantityChange","FixedFeeQuantityChangeChangeOption","IngestionResponse","Invoice","InvoiceAutoCollection","InvoiceCreditNotes","InvoiceCustomer","InvoiceLineItem","InvoiceLineItemTaxAmounts","InvoiceStatus","InvoiceSubscription","Invoices","MinimumAmount","NewBackfill","NewCreditLedgerEntry","NewCreditLedgerEntryInvoiceSettings","NewCustomer","NewInvoiceLineItem","NewSubscription","NewSubscriptionExternalMarketplace","NewTransaction","PackagePriceOverride","PackagePriceOverrideModelType","PackagePriceOverridePackageConfig","PaginationMetadata","PaymentProvider","PhaseOverride","Plan","PlanBasePlan","PlanPhase","PlanProduct","PlanTrialConfig","PlanTrialConfigTrialPeriodUnit","Plans","Price","PriceBillableMetric","PriceBpsConfig","PriceBulkBpsConfig","PriceBulkBpsConfigTiers","PriceBulkConfig","PriceBulkConfigTiers","PriceCadence","PriceMatrixConfig","PriceMatrixConfigMatrixValues","PriceModelType","PricePackageConfig","PriceTieredBpsConfig","PriceTieredBpsConfigTiers","PriceTieredConfig","PriceTieredConfigTiers","PriceUnitConfig","Security","ShippingAddress","SubLineItem","SubLineItemGrouping","SubLineItemMatrixConfig","SubLineItemTierConfig","SubLineItemType","Subscription","SubscriptionCancellation","SubscriptionCancellationCancelOption","SubscriptionCost","SubscriptionCostPerPriceCosts","SubscriptionCostPerPriceCostsPriceGroups","SubscriptionCosts","SubscriptionFixedFeeQuantitySchedule","SubscriptionPlanChange","SubscriptionPlanChangeChangeOption","SubscriptionRedeemedCoupon","SubscriptionSchedule","SubscriptionScheduleItem","SubscriptionScheduleItemPlan","SubscriptionStatus","SubscriptionUsage","SubscriptionUsageData","SubscriptionUsageDataModelType","SubscriptionUsageDataUsage","Subscriptions","TieredBPSPriceOverride","TieredBPSPriceOverrideModelType","TieredBPSPriceOverrideTieredBPSConfig","TieredBPSPriceOverrideTieredBPSConfigTiers","TieredPriceOverride","TieredPriceOverrideModelType","TieredPriceOverrideTieredConfig","TieredPriceOverrideTieredConfigTiers","Transaction","TransactionCreditNote","TransactionInvoice","TransactionType","Transactions","UnitPriceOverride","UnitPriceOverrideModelType","UnitPriceOverrideUnitConfig","UpcomingInvoice","UpcomingInvoiceCustomer","UpcomingInvoiceLineItems","UpcomingInvoiceLineItemsGrouping","UpcomingInvoiceLineItemsSubLineItems","UpcomingInvoiceLineItemsSubLineItemsMatrixConfig","UpcomingInvoiceLineItemsSubLineItemsTierConfig","UpcomingInvoiceLineItemsSubLineItemsType","UpcomingInvoiceSubscription","ValidationErrors","ViewMode"]

0 commit comments

Comments
 (0)