Skip to content

Commit

Permalink
Merge pull request #24 from speakeasy-sdks/speakeasy-sdk-regen-168564…
Browse files Browse the repository at this point in the history
…6298

chore: speakeasy sdk regeneration - Generate
  • Loading branch information
ndimares authored Jun 1, 2023
2 parents daad01a + 2513117 commit 114825f
Show file tree
Hide file tree
Showing 36 changed files with 409 additions and 372 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,12 @@ Based on:
- OpenAPI Doc 1.0 ./openapi/openapi.yaml
- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.12.4] https://pypi.org/project/orb-billing/0.12.4 - .
- [PyPI v0.12.4] https://pypi.org/project/orb-billing/0.12.4 - .

## 2023-06-01 19:04:56
### Changes
Based on:
- OpenAPI Doc 1.0 ./openapi/openapi.yaml
- Speakeasy CLI 1.40.3 (2.34.7) https://github.com/speakeasy-api/speakeasy
### Releases
- [PyPI v0.12.5] https://pypi.org/project/orb-billing/0.12.5 - .
8 changes: 4 additions & 4 deletions docs/credit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ res = s.credit.add_by_external_id('porro', shared.NewCreditLedgerEntry(
amount=6788.8,
block_id='dicta',
description='nam',
entry_type=shared.EntryType1.DECREMENT,
entry_type=shared.EntryType.EXPIRATION_CHANGE,
expiry_date=dateutil.parser.parse('2023-01-01').date(),
invoice_settings=shared.NewCreditLedgerEntryInvoiceSettings(
auto_collection=False,
Expand Down Expand Up @@ -133,7 +133,7 @@ res = s.credit.create('qui', shared.NewCreditLedgerEntry(
amount=7742.34,
block_id='cum',
description='esse',
entry_type=shared.EntryType1.INCREMENT,
entry_type=shared.EntryType.INCREMENT,
expiry_date=dateutil.parser.parse('2023-01-01').date(),
invoice_settings=shared.NewCreditLedgerEntryInvoiceSettings(
auto_collection=False,
Expand Down Expand Up @@ -248,7 +248,7 @@ s = orb.Orb(
)


res = s.credit.fetch_ledger('natus', shared.EntryStatus.COMMITTED, shared.EntryType.CREDIT_BLOCK_EXPIRY, 9025.99)
res = s.credit.fetch_ledger('natus', shared.EntryStatus.COMMITTED, 'hic', 9025.99)

if res.credit_ledger_entries is not None:
# handle response
Expand All @@ -271,7 +271,7 @@ s = orb.Orb(
)


res = s.credit.fetch_ledger_by_external_id('fuga', shared.EntryStatus.COMMITTED, shared.EntryType.DECREMENT, 6130.64)
res = s.credit.fetch_ledger_by_external_id('fuga', shared.EntryStatus.COMMITTED, 'corporis', 6130.64)

if res.credit_ledger_entries is not None:
# handle response
Expand Down
17 changes: 12 additions & 5 deletions docs/event/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,15 @@ res = s.event.ingest([
},
timestamp='2020-12-09T16:09:53Z',
),
], 'backfill_123', operations.IngestDebug.TRUE)
], 'backfill_123', shared.Debug(
duplicate=[
'totam',
'dignissimos',
],
ingested=[
'quis',
],
))

if res.ingestion_response is not None:
# handle response
Expand Down Expand Up @@ -384,7 +392,7 @@ s = orb.Orb(
)


res = s.event.revert_backfill('totam')
res = s.event.revert_backfill('nesciunt')

if res.backfill is not None:
# handle response
Expand Down Expand Up @@ -418,10 +426,9 @@ s = orb.Orb(

req = shared.EventSearchCriteria(
event_ids=[
'eaque',
'quis',
'perferendis',
],
invoice_id='nesciunt',
invoice_id='dolores',
)

res = s.event.search(req)
Expand Down
16 changes: 8 additions & 8 deletions docs/invoice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ s = orb.Orb(
)

req = shared.NewInvoiceLineItem(
amount='eos',
end_date=dateutil.parser.parse('2022-10-30').date(),
amount='minus',
end_date=dateutil.parser.parse('2022-10-11').date(),
invoice_id='4khy3nwzktxv7',
name='Darryl Fadel',
name='Dean Welch',
quantity=47hhsws4z2i13,
start_date=dateutil.parser.parse('2020-03-20').date(),
start_date=dateutil.parser.parse('2021-10-22').date(),
)

res = s.invoice.create(req)
Expand All @@ -61,7 +61,7 @@ s = orb.Orb(
)


res = s.invoice.fetch('omnis')
res = s.invoice.fetch('voluptatem')

if res.invoice is not None:
# handle response
Expand All @@ -84,7 +84,7 @@ s = orb.Orb(
)


res = s.invoice.fetch_upcoming('facilis')
res = s.invoice.fetch_upcoming('porro')

if res.upcoming_invoice is not None:
# handle response
Expand All @@ -111,7 +111,7 @@ s = orb.Orb(
)


res = s.invoice.list('perspiciatis', 'voluptatem', 'porro', 'consequuntur')
res = s.invoice.list('consequuntur', 'blanditiis', 'error', 'eaque')

if res.invoices is not None:
# handle response
Expand All @@ -136,7 +136,7 @@ s = orb.Orb(
)


res = s.invoice.void('blanditiis')
res = s.invoice.void('occaecati')

if res.invoice is not None:
# handle response
Expand Down
Loading

0 comments on commit 114825f

Please sign in to comment.