Skip to content

Commit 09030b5

Browse files
feat(api): api update
1 parent 8408c34 commit 09030b5

File tree

148 files changed

+1864
-22
lines changed

Some content is hidden

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

148 files changed

+1864
-22
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 126
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-931771ff4ab183044ee50ce43ea794ac0a15bfafbaf7df61ac0344af3ff08944.yml
3-
openapi_spec_hash: 71371804e373f662585284bf5d93cc62
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6aa83a816c15600a3d6d378d7804a345505c76726059c19369db4e7766a71cbd.yml
3+
openapi_spec_hash: f283d730e5320f9595c3c0a5902f5cbb
44
config_hash: bcf82bddb691f6be773ac6cae8c03b9a

src/orb/resources/customers/credits/ledger.py

Lines changed: 40 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ def create_entry(
286286
also generate a one-off invoice for the customer for the credits pre-purchase.
287287
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
288288
on the invoice are calculated by multiplying the cost basis with the number of
289-
credit units added.
289+
credit units added. Additionally, Orb also enforces invoice generation when a
290+
non-zero `per_unit_cost_basis` value is provided.
290291
291292
## Deducting Credits
292293
@@ -459,7 +460,8 @@ def create_entry(
459460
also generate a one-off invoice for the customer for the credits pre-purchase.
460461
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
461462
on the invoice are calculated by multiplying the cost basis with the number of
462-
credit units added.
463+
credit units added. Additionally, Orb also enforces invoice generation when a
464+
non-zero `per_unit_cost_basis` value is provided.
463465
464466
## Deducting Credits
465467
@@ -619,7 +621,8 @@ def create_entry(
619621
also generate a one-off invoice for the customer for the credits pre-purchase.
620622
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
621623
on the invoice are calculated by multiplying the cost basis with the number of
622-
credit units added.
624+
credit units added. Additionally, Orb also enforces invoice generation when a
625+
non-zero `per_unit_cost_basis` value is provided.
623626
624627
## Deducting Credits
625628
@@ -787,7 +790,8 @@ def create_entry(
787790
also generate a one-off invoice for the customer for the credits pre-purchase.
788791
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
789792
on the invoice are calculated by multiplying the cost basis with the number of
790-
credit units added.
793+
credit units added. Additionally, Orb also enforces invoice generation when a
794+
non-zero `per_unit_cost_basis` value is provided.
791795
792796
## Deducting Credits
793797
@@ -949,7 +953,8 @@ def create_entry(
949953
also generate a one-off invoice for the customer for the credits pre-purchase.
950954
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
951955
on the invoice are calculated by multiplying the cost basis with the number of
952-
credit units added.
956+
credit units added. Additionally, Orb also enforces invoice generation when a
957+
non-zero `per_unit_cost_basis` value is provided.
953958
954959
## Deducting Credits
955960
@@ -1188,7 +1193,8 @@ def create_entry_by_external_id(
11881193
also generate a one-off invoice for the customer for the credits pre-purchase.
11891194
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
11901195
on the invoice are calculated by multiplying the cost basis with the number of
1191-
credit units added.
1196+
credit units added. Additionally, Orb also enforces invoice generation when a
1197+
non-zero `per_unit_cost_basis` value is provided.
11921198
11931199
## Deducting Credits
11941200
@@ -1361,7 +1367,8 @@ def create_entry_by_external_id(
13611367
also generate a one-off invoice for the customer for the credits pre-purchase.
13621368
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
13631369
on the invoice are calculated by multiplying the cost basis with the number of
1364-
credit units added.
1370+
credit units added. Additionally, Orb also enforces invoice generation when a
1371+
non-zero `per_unit_cost_basis` value is provided.
13651372
13661373
## Deducting Credits
13671374
@@ -1521,7 +1528,8 @@ def create_entry_by_external_id(
15211528
also generate a one-off invoice for the customer for the credits pre-purchase.
15221529
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
15231530
on the invoice are calculated by multiplying the cost basis with the number of
1524-
credit units added.
1531+
credit units added. Additionally, Orb also enforces invoice generation when a
1532+
non-zero `per_unit_cost_basis` value is provided.
15251533
15261534
## Deducting Credits
15271535
@@ -1689,7 +1697,8 @@ def create_entry_by_external_id(
16891697
also generate a one-off invoice for the customer for the credits pre-purchase.
16901698
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
16911699
on the invoice are calculated by multiplying the cost basis with the number of
1692-
credit units added.
1700+
credit units added. Additionally, Orb also enforces invoice generation when a
1701+
non-zero `per_unit_cost_basis` value is provided.
16931702
16941703
## Deducting Credits
16951704
@@ -1851,7 +1860,8 @@ def create_entry_by_external_id(
18511860
also generate a one-off invoice for the customer for the credits pre-purchase.
18521861
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
18531862
on the invoice are calculated by multiplying the cost basis with the number of
1854-
credit units added.
1863+
credit units added. Additionally, Orb also enforces invoice generation when a
1864+
non-zero `per_unit_cost_basis` value is provided.
18551865
18561866
## Deducting Credits
18571867
@@ -2433,7 +2443,8 @@ async def create_entry(
24332443
also generate a one-off invoice for the customer for the credits pre-purchase.
24342444
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
24352445
on the invoice are calculated by multiplying the cost basis with the number of
2436-
credit units added.
2446+
credit units added. Additionally, Orb also enforces invoice generation when a
2447+
non-zero `per_unit_cost_basis` value is provided.
24372448
24382449
## Deducting Credits
24392450
@@ -2606,7 +2617,8 @@ async def create_entry(
26062617
also generate a one-off invoice for the customer for the credits pre-purchase.
26072618
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
26082619
on the invoice are calculated by multiplying the cost basis with the number of
2609-
credit units added.
2620+
credit units added. Additionally, Orb also enforces invoice generation when a
2621+
non-zero `per_unit_cost_basis` value is provided.
26102622
26112623
## Deducting Credits
26122624
@@ -2766,7 +2778,8 @@ async def create_entry(
27662778
also generate a one-off invoice for the customer for the credits pre-purchase.
27672779
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
27682780
on the invoice are calculated by multiplying the cost basis with the number of
2769-
credit units added.
2781+
credit units added. Additionally, Orb also enforces invoice generation when a
2782+
non-zero `per_unit_cost_basis` value is provided.
27702783
27712784
## Deducting Credits
27722785
@@ -2934,7 +2947,8 @@ async def create_entry(
29342947
also generate a one-off invoice for the customer for the credits pre-purchase.
29352948
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
29362949
on the invoice are calculated by multiplying the cost basis with the number of
2937-
credit units added.
2950+
credit units added. Additionally, Orb also enforces invoice generation when a
2951+
non-zero `per_unit_cost_basis` value is provided.
29382952
29392953
## Deducting Credits
29402954
@@ -3096,7 +3110,8 @@ async def create_entry(
30963110
also generate a one-off invoice for the customer for the credits pre-purchase.
30973111
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
30983112
on the invoice are calculated by multiplying the cost basis with the number of
3099-
credit units added.
3113+
credit units added. Additionally, Orb also enforces invoice generation when a
3114+
non-zero `per_unit_cost_basis` value is provided.
31003115
31013116
## Deducting Credits
31023117
@@ -3335,7 +3350,8 @@ async def create_entry_by_external_id(
33353350
also generate a one-off invoice for the customer for the credits pre-purchase.
33363351
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
33373352
on the invoice are calculated by multiplying the cost basis with the number of
3338-
credit units added.
3353+
credit units added. Additionally, Orb also enforces invoice generation when a
3354+
non-zero `per_unit_cost_basis` value is provided.
33393355
33403356
## Deducting Credits
33413357
@@ -3508,7 +3524,8 @@ async def create_entry_by_external_id(
35083524
also generate a one-off invoice for the customer for the credits pre-purchase.
35093525
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
35103526
on the invoice are calculated by multiplying the cost basis with the number of
3511-
credit units added.
3527+
credit units added. Additionally, Orb also enforces invoice generation when a
3528+
non-zero `per_unit_cost_basis` value is provided.
35123529
35133530
## Deducting Credits
35143531
@@ -3668,7 +3685,8 @@ async def create_entry_by_external_id(
36683685
also generate a one-off invoice for the customer for the credits pre-purchase.
36693686
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
36703687
on the invoice are calculated by multiplying the cost basis with the number of
3671-
credit units added.
3688+
credit units added. Additionally, Orb also enforces invoice generation when a
3689+
non-zero `per_unit_cost_basis` value is provided.
36723690
36733691
## Deducting Credits
36743692
@@ -3836,7 +3854,8 @@ async def create_entry_by_external_id(
38363854
also generate a one-off invoice for the customer for the credits pre-purchase.
38373855
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
38383856
on the invoice are calculated by multiplying the cost basis with the number of
3839-
credit units added.
3857+
credit units added. Additionally, Orb also enforces invoice generation when a
3858+
non-zero `per_unit_cost_basis` value is provided.
38403859
38413860
## Deducting Credits
38423861
@@ -3998,7 +4017,8 @@ async def create_entry_by_external_id(
39984017
also generate a one-off invoice for the customer for the credits pre-purchase.
39994018
Note that you _must_ provide the `per_unit_cost_basis`, since the total charges
40004019
on the invoice are calculated by multiplying the cost basis with the number of
4001-
credit units added.
4020+
credit units added. Additionally, Orb also enforces invoice generation when a
4021+
non-zero `per_unit_cost_basis` value is provided.
40024022
40034023
## Deducting Credits
40044024

0 commit comments

Comments
 (0)