Skip to content

Commit d3deb1e

Browse files
feat(api): api update (#567)
1 parent f41e500 commit d3deb1e

File tree

232 files changed

+16068
-29464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+16068
-29464
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c8fc7d0bf70bf7ed91a141f346a02929e4d25a6fac7b59f58b68136ed6ff024f.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-48084a007f009b4358484f09a3a7b74a990c402669f9d15adfbb60e4f835f951.yml

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ client = Orb(
2929
api_key=os.environ.get("ORB_API_KEY"), # This is the default and can be omitted
3030
)
3131

32-
customer = client.customers.create(
32+
customer_model = client.customers.create(
3333
3434
name="My Customer",
3535
)
36-
print(customer.id)
36+
print(customer_model.id)
3737
```
3838

3939
While you can provide an `api_key` keyword argument,
@@ -56,11 +56,11 @@ client = AsyncOrb(
5656

5757

5858
async def main() -> None:
59-
customer = await client.customers.create(
59+
customer_model = await client.customers.create(
6060
6161
name="My Customer",
6262
)
63-
print(customer.id)
63+
print(customer_model.id)
6464

6565

6666
asyncio.run(main())
@@ -151,7 +151,7 @@ from orb import Orb
151151

152152
client = Orb()
153153

154-
customer = client.customers.create(
154+
customer_model = client.customers.create(
155155
156156
name="My Customer",
157157
billing_address={
@@ -160,7 +160,7 @@ customer = client.customers.create(
160160
"line1": "123 Example Street",
161161
},
162162
)
163-
print(customer.id)
163+
print(customer_model.id)
164164
```
165165

166166
## Webhook Verification

api.md

+186-155
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)