Skip to content

Commit bbaa065

Browse files
feat(api): api update
1 parent 435d475 commit bbaa065

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
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: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-09c5188f5c6dd563b943cad60f5896331ef5fc06e4a699700578f0bc60bd62a1.yml
3-
openapi_spec_hash: b1ba73565832de570a90329cb4aab18b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-f09e5f2c555d7ee764478b7bc73e92cd21f403d6ec189be14574c8367bc131ce.yml
3+
openapi_spec_hash: bd0a8e001f14132c105992d40149909a
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

tests/api_resources/sandbox/test_payment.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
3131
"earnings": [
3232
{
3333
"amount": 0,
34-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
34+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
3535
"currency": "currency",
3636
"hours": 0,
3737
"name": "name",
@@ -40,18 +40,18 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
4040
],
4141
"employee_deductions": [
4242
{
43-
"amount": 0,
44-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
45-
"currency": "currency",
46-
"name": "name",
43+
"amount": 2000,
44+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
45+
"currency": "usd",
46+
"name": "401k test",
4747
"pre_tax": True,
4848
"type": "401k",
4949
}
5050
],
5151
"employer_contributions": [
5252
{
5353
"amount": 0,
54-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
54+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
5555
"currency": "currency",
5656
"name": "name",
5757
"type": "401k",
@@ -61,7 +61,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
6161
"amount": 0,
6262
"currency": "currency",
6363
},
64-
"individual_id": "individual_id",
64+
"individual_id": "b2338cfb-472f-4f72-9faa-e028c083144a",
6565
"net_pay": {
6666
"amount": 0,
6767
"currency": "currency",
@@ -70,7 +70,7 @@ def test_method_create_with_all_params(self, client: Finch) -> None:
7070
"taxes": [
7171
{
7272
"amount": 0,
73-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
73+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
7474
"currency": "currency",
7575
"employer": True,
7676
"name": "name",
@@ -123,7 +123,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
123123
"earnings": [
124124
{
125125
"amount": 0,
126-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
126+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
127127
"currency": "currency",
128128
"hours": 0,
129129
"name": "name",
@@ -132,18 +132,18 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
132132
],
133133
"employee_deductions": [
134134
{
135-
"amount": 0,
136-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
137-
"currency": "currency",
138-
"name": "name",
135+
"amount": 2000,
136+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
137+
"currency": "usd",
138+
"name": "401k test",
139139
"pre_tax": True,
140140
"type": "401k",
141141
}
142142
],
143143
"employer_contributions": [
144144
{
145145
"amount": 0,
146-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
146+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
147147
"currency": "currency",
148148
"name": "name",
149149
"type": "401k",
@@ -153,7 +153,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
153153
"amount": 0,
154154
"currency": "currency",
155155
},
156-
"individual_id": "individual_id",
156+
"individual_id": "b2338cfb-472f-4f72-9faa-e028c083144a",
157157
"net_pay": {
158158
"amount": 0,
159159
"currency": "currency",
@@ -162,7 +162,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncFinch) ->
162162
"taxes": [
163163
{
164164
"amount": 0,
165-
"attributes": {"metadata": {"metadata": {"foo": "bar"}}},
165+
"attributes": {"metadata": {"metadata": {"foo": {}}}},
166166
"currency": "currency",
167167
"employer": True,
168168
"name": "name",

0 commit comments

Comments
 (0)