moovio_sdk 0.9.0__py3-none-any.whl → 0.10.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moovio_sdk/_version.py +3 -3
- moovio_sdk/httpclient.py +7 -37
- moovio_sdk/models/__init__.py +0 -1
- moovio_sdk/models/components/__init__.py +1804 -845
- moovio_sdk/models/components/sweep.py +7 -1
- moovio_sdk/models/components/sweepsubtotal.py +27 -0
- moovio_sdk/models/errors/__init__.py +193 -77
- moovio_sdk/models/internal/__init__.py +35 -1
- moovio_sdk/models/operations/__init__.py +1908 -1073
- moovio_sdk/sdk.py +142 -104
- moovio_sdk/utils/__init__.py +131 -46
- {moovio_sdk-0.9.0.dist-info → moovio_sdk-0.10.0.dist-info}/METADATA +45 -376
- {moovio_sdk-0.9.0.dist-info → moovio_sdk-0.10.0.dist-info}/RECORD +14 -13
- {moovio_sdk-0.9.0.dist-info → moovio_sdk-0.10.0.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: moovio_sdk
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.10.0
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Author: Speakeasy
|
6
6
|
Requires-Python: >=3.9.2
|
@@ -135,6 +135,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
|
|
135
135
|
# Synchronous Example
|
136
136
|
from moovio_sdk import Moov
|
137
137
|
from moovio_sdk.models import components
|
138
|
+
from moovio_sdk.utils import parse_datetime
|
138
139
|
|
139
140
|
|
140
141
|
with Moov(
|
@@ -145,64 +146,16 @@ with Moov(
|
|
145
146
|
) as moov:
|
146
147
|
|
147
148
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
148
|
-
individual=components.CreateIndividualProfile(
|
149
|
-
name=components.IndividualName(
|
150
|
-
first_name="Jordan",
|
151
|
-
middle_name="Reese",
|
152
|
-
last_name="Lee",
|
153
|
-
suffix="Jr",
|
154
|
-
),
|
155
|
-
phone=components.PhoneNumber(
|
156
|
-
number="8185551212",
|
157
|
-
country_code="1",
|
158
|
-
),
|
159
|
-
email="jordan.lee@classbooker.dev",
|
160
|
-
address=components.Address(
|
161
|
-
address_line1="123 Main Street",
|
162
|
-
address_line2="Apt 302",
|
163
|
-
city="Boulder",
|
164
|
-
state_or_province="CO",
|
165
|
-
postal_code="80301",
|
166
|
-
country="US",
|
167
|
-
),
|
168
|
-
birth_date=components.BirthDate(
|
169
|
-
day=9,
|
170
|
-
month=11,
|
171
|
-
year=1989,
|
172
|
-
),
|
173
|
-
),
|
174
149
|
business=components.CreateBusinessProfile(
|
175
|
-
legal_business_name="
|
176
|
-
business_type=components.BusinessType.LLC,
|
177
|
-
address=components.Address(
|
178
|
-
address_line1="123 Main Street",
|
179
|
-
address_line2="Apt 302",
|
180
|
-
city="Boulder",
|
181
|
-
state_or_province="CO",
|
182
|
-
postal_code="80301",
|
183
|
-
country="US",
|
184
|
-
),
|
185
|
-
phone=components.PhoneNumber(
|
186
|
-
number="8185551212",
|
187
|
-
country_code="1",
|
188
|
-
),
|
189
|
-
email="jordan.lee@classbooker.dev",
|
190
|
-
description="Local fitness gym paying out instructors",
|
191
|
-
tax_id=components.TaxID(
|
192
|
-
ein=components.Ein(
|
193
|
-
number="12-3456789",
|
194
|
-
),
|
195
|
-
),
|
196
|
-
industry_codes=components.IndustryCodes(
|
197
|
-
naics="713940",
|
198
|
-
sic="7991",
|
199
|
-
mcc="7997",
|
200
|
-
),
|
150
|
+
legal_business_name="Whole Body Fitness LLC",
|
201
151
|
),
|
202
152
|
), metadata={
|
203
153
|
"optional": "metadata",
|
204
154
|
}, terms_of_service={
|
205
|
-
"
|
155
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
156
|
+
"accepted_ip": "172.217.2.46",
|
157
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
158
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
206
159
|
}, customer_support={
|
207
160
|
"phone": {
|
208
161
|
"number": "8185551212",
|
@@ -238,6 +191,7 @@ The same SDK client can also be used to make asychronous requests by importing a
|
|
238
191
|
import asyncio
|
239
192
|
from moovio_sdk import Moov
|
240
193
|
from moovio_sdk.models import components
|
194
|
+
from moovio_sdk.utils import parse_datetime
|
241
195
|
|
242
196
|
async def main():
|
243
197
|
|
@@ -249,64 +203,16 @@ async def main():
|
|
249
203
|
) as moov:
|
250
204
|
|
251
205
|
res = await moov.accounts.create_async(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
252
|
-
individual=components.CreateIndividualProfile(
|
253
|
-
name=components.IndividualName(
|
254
|
-
first_name="Jordan",
|
255
|
-
middle_name="Reese",
|
256
|
-
last_name="Lee",
|
257
|
-
suffix="Jr",
|
258
|
-
),
|
259
|
-
phone=components.PhoneNumber(
|
260
|
-
number="8185551212",
|
261
|
-
country_code="1",
|
262
|
-
),
|
263
|
-
email="jordan.lee@classbooker.dev",
|
264
|
-
address=components.Address(
|
265
|
-
address_line1="123 Main Street",
|
266
|
-
address_line2="Apt 302",
|
267
|
-
city="Boulder",
|
268
|
-
state_or_province="CO",
|
269
|
-
postal_code="80301",
|
270
|
-
country="US",
|
271
|
-
),
|
272
|
-
birth_date=components.BirthDate(
|
273
|
-
day=9,
|
274
|
-
month=11,
|
275
|
-
year=1989,
|
276
|
-
),
|
277
|
-
),
|
278
206
|
business=components.CreateBusinessProfile(
|
279
|
-
legal_business_name="
|
280
|
-
business_type=components.BusinessType.LLC,
|
281
|
-
address=components.Address(
|
282
|
-
address_line1="123 Main Street",
|
283
|
-
address_line2="Apt 302",
|
284
|
-
city="Boulder",
|
285
|
-
state_or_province="CO",
|
286
|
-
postal_code="80301",
|
287
|
-
country="US",
|
288
|
-
),
|
289
|
-
phone=components.PhoneNumber(
|
290
|
-
number="8185551212",
|
291
|
-
country_code="1",
|
292
|
-
),
|
293
|
-
email="jordan.lee@classbooker.dev",
|
294
|
-
description="Local fitness gym paying out instructors",
|
295
|
-
tax_id=components.TaxID(
|
296
|
-
ein=components.Ein(
|
297
|
-
number="12-3456789",
|
298
|
-
),
|
299
|
-
),
|
300
|
-
industry_codes=components.IndustryCodes(
|
301
|
-
naics="713940",
|
302
|
-
sic="7991",
|
303
|
-
mcc="7997",
|
304
|
-
),
|
207
|
+
legal_business_name="Whole Body Fitness LLC",
|
305
208
|
),
|
306
209
|
), metadata={
|
307
210
|
"optional": "metadata",
|
308
211
|
}, terms_of_service={
|
309
|
-
"
|
212
|
+
"accepted_date": parse_datetime("2024-08-23T23:57:42.538Z"),
|
213
|
+
"accepted_ip": "172.217.2.46",
|
214
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
215
|
+
"accepted_domain": "https://flowery-marketplace.com",
|
310
216
|
}, customer_support={
|
311
217
|
"phone": {
|
312
218
|
"number": "8185551212",
|
@@ -352,6 +258,7 @@ You can set the security parameters through the `security` optional parameter wh
|
|
352
258
|
```python
|
353
259
|
from moovio_sdk import Moov
|
354
260
|
from moovio_sdk.models import components
|
261
|
+
from moovio_sdk.utils import parse_datetime
|
355
262
|
|
356
263
|
|
357
264
|
with Moov(
|
@@ -362,64 +269,16 @@ with Moov(
|
|
362
269
|
) as moov:
|
363
270
|
|
364
271
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
365
|
-
individual=components.CreateIndividualProfile(
|
366
|
-
name=components.IndividualName(
|
367
|
-
first_name="Jordan",
|
368
|
-
middle_name="Reese",
|
369
|
-
last_name="Lee",
|
370
|
-
suffix="Jr",
|
371
|
-
),
|
372
|
-
phone=components.PhoneNumber(
|
373
|
-
number="8185551212",
|
374
|
-
country_code="1",
|
375
|
-
),
|
376
|
-
email="jordan.lee@classbooker.dev",
|
377
|
-
address=components.Address(
|
378
|
-
address_line1="123 Main Street",
|
379
|
-
address_line2="Apt 302",
|
380
|
-
city="Boulder",
|
381
|
-
state_or_province="CO",
|
382
|
-
postal_code="80301",
|
383
|
-
country="US",
|
384
|
-
),
|
385
|
-
birth_date=components.BirthDate(
|
386
|
-
day=9,
|
387
|
-
month=11,
|
388
|
-
year=1989,
|
389
|
-
),
|
390
|
-
),
|
391
272
|
business=components.CreateBusinessProfile(
|
392
|
-
legal_business_name="
|
393
|
-
business_type=components.BusinessType.LLC,
|
394
|
-
address=components.Address(
|
395
|
-
address_line1="123 Main Street",
|
396
|
-
address_line2="Apt 302",
|
397
|
-
city="Boulder",
|
398
|
-
state_or_province="CO",
|
399
|
-
postal_code="80301",
|
400
|
-
country="US",
|
401
|
-
),
|
402
|
-
phone=components.PhoneNumber(
|
403
|
-
number="8185551212",
|
404
|
-
country_code="1",
|
405
|
-
),
|
406
|
-
email="jordan.lee@classbooker.dev",
|
407
|
-
description="Local fitness gym paying out instructors",
|
408
|
-
tax_id=components.TaxID(
|
409
|
-
ein=components.Ein(
|
410
|
-
number="12-3456789",
|
411
|
-
),
|
412
|
-
),
|
413
|
-
industry_codes=components.IndustryCodes(
|
414
|
-
naics="713940",
|
415
|
-
sic="7991",
|
416
|
-
mcc="7997",
|
417
|
-
),
|
273
|
+
legal_business_name="Whole Body Fitness LLC",
|
418
274
|
),
|
419
275
|
), metadata={
|
420
276
|
"optional": "metadata",
|
421
277
|
}, terms_of_service={
|
422
|
-
"
|
278
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
279
|
+
"accepted_ip": "172.217.2.46",
|
280
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
281
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
423
282
|
}, customer_support={
|
424
283
|
"phone": {
|
425
284
|
"number": "8185551212",
|
@@ -1321,10 +1180,10 @@ with Moov(
|
|
1321
1180
|
),
|
1322
1181
|
) as moov:
|
1323
1182
|
|
1324
|
-
res = moov.disputes.upload_evidence_file(account_id="
|
1183
|
+
res = moov.disputes.upload_evidence_file(account_id="c09fd2f8-75fb-4ed9-be03-f8565d3ddc67", dispute_id="ad27f84d-00b1-4db0-8cf5-be001d71251d", file={
|
1325
1184
|
"file_name": "example.file",
|
1326
1185
|
"content": open("example.file", "rb"),
|
1327
|
-
}, evidence_type=components.EvidenceType.
|
1186
|
+
}, evidence_type=components.EvidenceType.CANCELATION_POLICY)
|
1328
1187
|
|
1329
1188
|
# Handle response
|
1330
1189
|
print(res)
|
@@ -1341,7 +1200,7 @@ To change the default retry strategy for a single API call, simply provide a `Re
|
|
1341
1200
|
```python
|
1342
1201
|
from moovio_sdk import Moov
|
1343
1202
|
from moovio_sdk.models import components
|
1344
|
-
from moovio_sdk.utils import BackoffStrategy, RetryConfig
|
1203
|
+
from moovio_sdk.utils import BackoffStrategy, RetryConfig, parse_datetime
|
1345
1204
|
|
1346
1205
|
|
1347
1206
|
with Moov(
|
@@ -1352,64 +1211,16 @@ with Moov(
|
|
1352
1211
|
) as moov:
|
1353
1212
|
|
1354
1213
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
1355
|
-
individual=components.CreateIndividualProfile(
|
1356
|
-
name=components.IndividualName(
|
1357
|
-
first_name="Jordan",
|
1358
|
-
middle_name="Reese",
|
1359
|
-
last_name="Lee",
|
1360
|
-
suffix="Jr",
|
1361
|
-
),
|
1362
|
-
phone=components.PhoneNumber(
|
1363
|
-
number="8185551212",
|
1364
|
-
country_code="1",
|
1365
|
-
),
|
1366
|
-
email="jordan.lee@classbooker.dev",
|
1367
|
-
address=components.Address(
|
1368
|
-
address_line1="123 Main Street",
|
1369
|
-
address_line2="Apt 302",
|
1370
|
-
city="Boulder",
|
1371
|
-
state_or_province="CO",
|
1372
|
-
postal_code="80301",
|
1373
|
-
country="US",
|
1374
|
-
),
|
1375
|
-
birth_date=components.BirthDate(
|
1376
|
-
day=9,
|
1377
|
-
month=11,
|
1378
|
-
year=1989,
|
1379
|
-
),
|
1380
|
-
),
|
1381
1214
|
business=components.CreateBusinessProfile(
|
1382
|
-
legal_business_name="
|
1383
|
-
business_type=components.BusinessType.LLC,
|
1384
|
-
address=components.Address(
|
1385
|
-
address_line1="123 Main Street",
|
1386
|
-
address_line2="Apt 302",
|
1387
|
-
city="Boulder",
|
1388
|
-
state_or_province="CO",
|
1389
|
-
postal_code="80301",
|
1390
|
-
country="US",
|
1391
|
-
),
|
1392
|
-
phone=components.PhoneNumber(
|
1393
|
-
number="8185551212",
|
1394
|
-
country_code="1",
|
1395
|
-
),
|
1396
|
-
email="jordan.lee@classbooker.dev",
|
1397
|
-
description="Local fitness gym paying out instructors",
|
1398
|
-
tax_id=components.TaxID(
|
1399
|
-
ein=components.Ein(
|
1400
|
-
number="12-3456789",
|
1401
|
-
),
|
1402
|
-
),
|
1403
|
-
industry_codes=components.IndustryCodes(
|
1404
|
-
naics="713940",
|
1405
|
-
sic="7991",
|
1406
|
-
mcc="7997",
|
1407
|
-
),
|
1215
|
+
legal_business_name="Whole Body Fitness LLC",
|
1408
1216
|
),
|
1409
1217
|
), metadata={
|
1410
1218
|
"optional": "metadata",
|
1411
1219
|
}, terms_of_service={
|
1412
|
-
"
|
1220
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
1221
|
+
"accepted_ip": "172.217.2.46",
|
1222
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
1223
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
1413
1224
|
}, customer_support={
|
1414
1225
|
"phone": {
|
1415
1226
|
"number": "8185551212",
|
@@ -1443,7 +1254,7 @@ If you'd like to override the default retry strategy for all operations that sup
|
|
1443
1254
|
```python
|
1444
1255
|
from moovio_sdk import Moov
|
1445
1256
|
from moovio_sdk.models import components
|
1446
|
-
from moovio_sdk.utils import BackoffStrategy, RetryConfig
|
1257
|
+
from moovio_sdk.utils import BackoffStrategy, RetryConfig, parse_datetime
|
1447
1258
|
|
1448
1259
|
|
1449
1260
|
with Moov(
|
@@ -1455,64 +1266,16 @@ with Moov(
|
|
1455
1266
|
) as moov:
|
1456
1267
|
|
1457
1268
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
1458
|
-
individual=components.CreateIndividualProfile(
|
1459
|
-
name=components.IndividualName(
|
1460
|
-
first_name="Jordan",
|
1461
|
-
middle_name="Reese",
|
1462
|
-
last_name="Lee",
|
1463
|
-
suffix="Jr",
|
1464
|
-
),
|
1465
|
-
phone=components.PhoneNumber(
|
1466
|
-
number="8185551212",
|
1467
|
-
country_code="1",
|
1468
|
-
),
|
1469
|
-
email="jordan.lee@classbooker.dev",
|
1470
|
-
address=components.Address(
|
1471
|
-
address_line1="123 Main Street",
|
1472
|
-
address_line2="Apt 302",
|
1473
|
-
city="Boulder",
|
1474
|
-
state_or_province="CO",
|
1475
|
-
postal_code="80301",
|
1476
|
-
country="US",
|
1477
|
-
),
|
1478
|
-
birth_date=components.BirthDate(
|
1479
|
-
day=9,
|
1480
|
-
month=11,
|
1481
|
-
year=1989,
|
1482
|
-
),
|
1483
|
-
),
|
1484
1269
|
business=components.CreateBusinessProfile(
|
1485
|
-
legal_business_name="
|
1486
|
-
business_type=components.BusinessType.LLC,
|
1487
|
-
address=components.Address(
|
1488
|
-
address_line1="123 Main Street",
|
1489
|
-
address_line2="Apt 302",
|
1490
|
-
city="Boulder",
|
1491
|
-
state_or_province="CO",
|
1492
|
-
postal_code="80301",
|
1493
|
-
country="US",
|
1494
|
-
),
|
1495
|
-
phone=components.PhoneNumber(
|
1496
|
-
number="8185551212",
|
1497
|
-
country_code="1",
|
1498
|
-
),
|
1499
|
-
email="jordan.lee@classbooker.dev",
|
1500
|
-
description="Local fitness gym paying out instructors",
|
1501
|
-
tax_id=components.TaxID(
|
1502
|
-
ein=components.Ein(
|
1503
|
-
number="12-3456789",
|
1504
|
-
),
|
1505
|
-
),
|
1506
|
-
industry_codes=components.IndustryCodes(
|
1507
|
-
naics="713940",
|
1508
|
-
sic="7991",
|
1509
|
-
mcc="7997",
|
1510
|
-
),
|
1270
|
+
legal_business_name="Whole Body Fitness LLC",
|
1511
1271
|
),
|
1512
1272
|
), metadata={
|
1513
1273
|
"optional": "metadata",
|
1514
1274
|
}, terms_of_service={
|
1515
|
-
"
|
1275
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
1276
|
+
"accepted_ip": "172.217.2.46",
|
1277
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
1278
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
1516
1279
|
}, customer_support={
|
1517
1280
|
"phone": {
|
1518
1281
|
"number": "8185551212",
|
@@ -1569,6 +1332,7 @@ When custom error responses are specified for an operation, the SDK may also rai
|
|
1569
1332
|
```python
|
1570
1333
|
from moovio_sdk import Moov
|
1571
1334
|
from moovio_sdk.models import components, errors
|
1335
|
+
from moovio_sdk.utils import parse_datetime
|
1572
1336
|
|
1573
1337
|
|
1574
1338
|
with Moov(
|
@@ -1581,64 +1345,16 @@ with Moov(
|
|
1581
1345
|
try:
|
1582
1346
|
|
1583
1347
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
1584
|
-
individual=components.CreateIndividualProfile(
|
1585
|
-
name=components.IndividualName(
|
1586
|
-
first_name="Jordan",
|
1587
|
-
middle_name="Reese",
|
1588
|
-
last_name="Lee",
|
1589
|
-
suffix="Jr",
|
1590
|
-
),
|
1591
|
-
phone=components.PhoneNumber(
|
1592
|
-
number="8185551212",
|
1593
|
-
country_code="1",
|
1594
|
-
),
|
1595
|
-
email="jordan.lee@classbooker.dev",
|
1596
|
-
address=components.Address(
|
1597
|
-
address_line1="123 Main Street",
|
1598
|
-
address_line2="Apt 302",
|
1599
|
-
city="Boulder",
|
1600
|
-
state_or_province="CO",
|
1601
|
-
postal_code="80301",
|
1602
|
-
country="US",
|
1603
|
-
),
|
1604
|
-
birth_date=components.BirthDate(
|
1605
|
-
day=9,
|
1606
|
-
month=11,
|
1607
|
-
year=1989,
|
1608
|
-
),
|
1609
|
-
),
|
1610
1348
|
business=components.CreateBusinessProfile(
|
1611
|
-
legal_business_name="
|
1612
|
-
business_type=components.BusinessType.LLC,
|
1613
|
-
address=components.Address(
|
1614
|
-
address_line1="123 Main Street",
|
1615
|
-
address_line2="Apt 302",
|
1616
|
-
city="Boulder",
|
1617
|
-
state_or_province="CO",
|
1618
|
-
postal_code="80301",
|
1619
|
-
country="US",
|
1620
|
-
),
|
1621
|
-
phone=components.PhoneNumber(
|
1622
|
-
number="8185551212",
|
1623
|
-
country_code="1",
|
1624
|
-
),
|
1625
|
-
email="jordan.lee@classbooker.dev",
|
1626
|
-
description="Local fitness gym paying out instructors",
|
1627
|
-
tax_id=components.TaxID(
|
1628
|
-
ein=components.Ein(
|
1629
|
-
number="12-3456789",
|
1630
|
-
),
|
1631
|
-
),
|
1632
|
-
industry_codes=components.IndustryCodes(
|
1633
|
-
naics="713940",
|
1634
|
-
sic="7991",
|
1635
|
-
mcc="7997",
|
1636
|
-
),
|
1349
|
+
legal_business_name="Whole Body Fitness LLC",
|
1637
1350
|
),
|
1638
1351
|
), metadata={
|
1639
1352
|
"optional": "metadata",
|
1640
1353
|
}, terms_of_service={
|
1641
|
-
"
|
1354
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
1355
|
+
"accepted_ip": "172.217.2.46",
|
1356
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
1357
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
1642
1358
|
}, customer_support={
|
1643
1359
|
"phone": {
|
1644
1360
|
"number": "8185551212",
|
@@ -1686,6 +1402,7 @@ The default server can be overridden globally by passing a URL to the `server_ur
|
|
1686
1402
|
```python
|
1687
1403
|
from moovio_sdk import Moov
|
1688
1404
|
from moovio_sdk.models import components
|
1405
|
+
from moovio_sdk.utils import parse_datetime
|
1689
1406
|
|
1690
1407
|
|
1691
1408
|
with Moov(
|
@@ -1697,64 +1414,16 @@ with Moov(
|
|
1697
1414
|
) as moov:
|
1698
1415
|
|
1699
1416
|
res = moov.accounts.create(account_type=components.CreateAccountType.BUSINESS, profile=components.CreateProfile(
|
1700
|
-
individual=components.CreateIndividualProfile(
|
1701
|
-
name=components.IndividualName(
|
1702
|
-
first_name="Jordan",
|
1703
|
-
middle_name="Reese",
|
1704
|
-
last_name="Lee",
|
1705
|
-
suffix="Jr",
|
1706
|
-
),
|
1707
|
-
phone=components.PhoneNumber(
|
1708
|
-
number="8185551212",
|
1709
|
-
country_code="1",
|
1710
|
-
),
|
1711
|
-
email="jordan.lee@classbooker.dev",
|
1712
|
-
address=components.Address(
|
1713
|
-
address_line1="123 Main Street",
|
1714
|
-
address_line2="Apt 302",
|
1715
|
-
city="Boulder",
|
1716
|
-
state_or_province="CO",
|
1717
|
-
postal_code="80301",
|
1718
|
-
country="US",
|
1719
|
-
),
|
1720
|
-
birth_date=components.BirthDate(
|
1721
|
-
day=9,
|
1722
|
-
month=11,
|
1723
|
-
year=1989,
|
1724
|
-
),
|
1725
|
-
),
|
1726
1417
|
business=components.CreateBusinessProfile(
|
1727
|
-
legal_business_name="
|
1728
|
-
business_type=components.BusinessType.LLC,
|
1729
|
-
address=components.Address(
|
1730
|
-
address_line1="123 Main Street",
|
1731
|
-
address_line2="Apt 302",
|
1732
|
-
city="Boulder",
|
1733
|
-
state_or_province="CO",
|
1734
|
-
postal_code="80301",
|
1735
|
-
country="US",
|
1736
|
-
),
|
1737
|
-
phone=components.PhoneNumber(
|
1738
|
-
number="8185551212",
|
1739
|
-
country_code="1",
|
1740
|
-
),
|
1741
|
-
email="jordan.lee@classbooker.dev",
|
1742
|
-
description="Local fitness gym paying out instructors",
|
1743
|
-
tax_id=components.TaxID(
|
1744
|
-
ein=components.Ein(
|
1745
|
-
number="12-3456789",
|
1746
|
-
),
|
1747
|
-
),
|
1748
|
-
industry_codes=components.IndustryCodes(
|
1749
|
-
naics="713940",
|
1750
|
-
sic="7991",
|
1751
|
-
mcc="7997",
|
1752
|
-
),
|
1418
|
+
legal_business_name="Whole Body Fitness LLC",
|
1753
1419
|
),
|
1754
1420
|
), metadata={
|
1755
1421
|
"optional": "metadata",
|
1756
1422
|
}, terms_of_service={
|
1757
|
-
"
|
1423
|
+
"accepted_date": parse_datetime("2023-05-21T04:53:54.554Z"),
|
1424
|
+
"accepted_ip": "172.217.2.46",
|
1425
|
+
"accepted_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36",
|
1426
|
+
"accepted_domain": "https://esteemed-velocity.net",
|
1758
1427
|
}, customer_support={
|
1759
1428
|
"phone": {
|
1760
1429
|
"number": "8185551212",
|
@@ -3,7 +3,7 @@ moovio_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c
|
|
3
3
|
moovio_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
4
4
|
moovio_sdk/_hooks/sdkhooks.py,sha256=2XuMgiV2N7UE7lN00Is-c3spxVWigYitXS6xSmS_Qow,2560
|
5
5
|
moovio_sdk/_hooks/types.py,sha256=xAyw_8EoIrUHL-zLoqXrogOkBq1ZFICNGZfp9xne2ww,2813
|
6
|
-
moovio_sdk/_version.py,sha256=
|
6
|
+
moovio_sdk/_version.py,sha256=3CnE2Kf-_7pE1yfVUj_c7Ac43jc13RocrRjFzq4K93w,466
|
7
7
|
moovio_sdk/account_terminal_applications.py,sha256=7Td1lpM3mqBQGPLoU5fLWZKRII1CjWikuUdD5bll4NI,41863
|
8
8
|
moovio_sdk/accounts.py,sha256=wMrhNHl6SDhKp8TSFXkpRupPljkxphDojVus8erk2PU,108249
|
9
9
|
moovio_sdk/adjustments.py,sha256=m7S8Vn0KB4bMaTQTX50sCPvNZr72kjA6DTLxeJ2U-fc,19272
|
@@ -22,12 +22,12 @@ moovio_sdk/enriched_address.py,sha256=mQSh_xid5zmLoFvs1cNQ-v2I5xvC1YxBqgi_TgUo2P
|
|
22
22
|
moovio_sdk/enriched_profile.py,sha256=rKzUQKvfOm7UHAWengfXZAw6iQoz0UoftEzUOfOlWTk,9794
|
23
23
|
moovio_sdk/fee_plans.py,sha256=tj1ecxF97VyIA3Ca-Ti_t8GJsQnYWogGYWMAg1FUUME,73756
|
24
24
|
moovio_sdk/files.py,sha256=YE2CytR7qtBFuTPuSFMeP0b2TuM71a0hRZoUVw3c1KU,32142
|
25
|
-
moovio_sdk/httpclient.py,sha256=
|
25
|
+
moovio_sdk/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
26
26
|
moovio_sdk/industries.py,sha256=7VputoHEST4GXazczXDWEYsSkfWkFJaTSXAEDx267Vo,10245
|
27
27
|
moovio_sdk/institutions.py,sha256=1CjxrmzYf0tAs2beUyYiVPO9w8jibwG-Ya9ifXifUG8,11238
|
28
28
|
moovio_sdk/issuing_transactions.py,sha256=ftaJUPR8vGuNVOf3oWgecZG7DQSYRZiHZTtRfXMacgc,53212
|
29
|
-
moovio_sdk/models/__init__.py,sha256=
|
30
|
-
moovio_sdk/models/components/__init__.py,sha256=
|
29
|
+
moovio_sdk/models/__init__.py,sha256=wIW9sbvSKlrGyoPY4mXvHqw-_Inpl6zqpN6U6j-w6SU,83
|
30
|
+
moovio_sdk/models/components/__init__.py,sha256=zZvSAxQnbzATYcxfkk7Nur9_8i7YqT1NTFubz8k6sr8,108345
|
31
31
|
moovio_sdk/models/components/account.py,sha256=QejMoPHYyHF-6TRrUVKYyfD_6Qbl7lFVOEaE8zlOgmI,4181
|
32
32
|
moovio_sdk/models/components/accountcapability.py,sha256=LJ908Zr4lw2qtMwUMLWoscTUjj5wV7YlZ4Z0Vv_abjg,527
|
33
33
|
moovio_sdk/models/components/accountcountries.py,sha256=sI1VAu3PqS2HTOarkT7f6FbkgUT55NL57PvAZKcbRHw,456
|
@@ -339,11 +339,12 @@ moovio_sdk/models/components/security.py,sha256=K8nEZFCo2B6XwNLPyB2gk4tIhSP4oA29
|
|
339
339
|
moovio_sdk/models/components/sentreceipt.py,sha256=6XQTYe_ZrIkmLWek13CzYQhQk_lUi2-36TUftMx8QuA,887
|
340
340
|
moovio_sdk/models/components/settings.py,sha256=C-Rx1wGKnnx6uEaS71pKFlKwxnacTw7Mc1jTnkoMyfc,1165
|
341
341
|
moovio_sdk/models/components/sourcedestinationoptions.py,sha256=ZfXiQ4t7JOAveVtnSanLaGPmx4_qu83qUCAffuWvBao,621
|
342
|
-
moovio_sdk/models/components/sweep.py,sha256=
|
342
|
+
moovio_sdk/models/components/sweep.py,sha256=ISz4TDYn2Hx5LYW784ZUGSjIskb3uZhR4N9Qk6aLsoU,3429
|
343
343
|
moovio_sdk/models/components/sweepconfig.py,sha256=B_fnfFFf4F6fcb5I08ahVt2t81rGAC37kUptq6Xx3NQ,3708
|
344
344
|
moovio_sdk/models/components/sweepconfigpaymentmethod.py,sha256=HP4ptQtccU2Wl1u4gRw-MepzKVgkYLkAJfia1JC5efE,1146
|
345
345
|
moovio_sdk/models/components/sweepconfigstatus.py,sha256=8tmbGIJLrSwCl_8zEUZpffJE-R_WDBZZ7d-cR5K1JCY,218
|
346
346
|
moovio_sdk/models/components/sweepstatus.py,sha256=YA564vw2Ssav2ApmX759gglEvccESDjaT16St-DExRI,316
|
347
|
+
moovio_sdk/models/components/sweepsubtotal.py,sha256=bKioVlIOqlIGZiK2DRIusr3p6wcw696JDnT0owdvNbw,959
|
347
348
|
moovio_sdk/models/components/taxid.py,sha256=ybTpUMtIreOOMQRPZ7ZbUlLoaxSVcPcGLvl0fcO2yPk,618
|
348
349
|
moovio_sdk/models/components/taxidupdate.py,sha256=X2_Nw8Nvc0E1mahHDZqrqCKv4eyidzYyHfgd9XQ0yGY,775
|
349
350
|
moovio_sdk/models/components/terminalapplication.py,sha256=GKmGi8i425YxFMW4BU_zTghe6YQkZ1Vc0w-LyiwEh3w,2455
|
@@ -426,7 +427,7 @@ moovio_sdk/models/components/webhookevent.py,sha256=MNjoiBZwOPr0oDzpK7elJRa1w_RJ
|
|
426
427
|
moovio_sdk/models/components/webhookeventtype.py,sha256=8_yAiclty6MJpZh4fmfZouxxkSc0KA0FYXEmpdUHfd8,1576
|
427
428
|
moovio_sdk/models/components/webhooktransferpaymentmethoddetails.py,sha256=UW1IFVidGtC0bOT5sV0m0uiJwblvbP6KopkTqkj5SYg,688
|
428
429
|
moovio_sdk/models/components/webhookwalletavailablebalance.py,sha256=asDto4Ap7EWBnbFLl1a9QcHtFU6gF8nIHReKuswrQac,580
|
429
|
-
moovio_sdk/models/errors/__init__.py,sha256=
|
430
|
+
moovio_sdk/models/errors/__init__.py,sha256=F8ie8g1kKJRSmDWp3Ijj42JabtGhCbIqHimzbVfk7M4,11106
|
430
431
|
moovio_sdk/models/errors/accountterminalapplicationerror.py,sha256=WG8srFSdwI4-cm--EYa8vC1JNL0oJJkyrW3KQWElQzg,742
|
431
432
|
moovio_sdk/models/errors/addcapabilitieserror.py,sha256=kdp29Khv0aN1bgoa7RXQxbFKDpGcXlPcwHID0JC1Mjw,684
|
432
433
|
moovio_sdk/models/errors/apierror.py,sha256=9mTyJSyvUAOnSfW_1HWt9dGl8IDlpQ68DebwYsDNdug,528
|
@@ -462,9 +463,9 @@ moovio_sdk/models/errors/updatecarderror.py,sha256=0O8SmEgwbY65rY_Jki_2SpRxZatd0
|
|
462
463
|
moovio_sdk/models/errors/updateissuedcarderror.py,sha256=5mcK0ArR_EwdfQZI63rYPoLn1JGh_C4OYnfZcHH2ga0,926
|
463
464
|
moovio_sdk/models/errors/updatepaymentlinkerror.py,sha256=FrRZvrNFtNBuaKyZKStjEMU0xZE_kWPmJ0QPtI3pQ2I,1269
|
464
465
|
moovio_sdk/models/errors/updateunderwritingerror.py,sha256=A8XDduhlAQo6xcZE29atSa7UsQ9uEg2xbbur-V1yUbg,2409
|
465
|
-
moovio_sdk/models/internal/__init__.py,sha256=
|
466
|
+
moovio_sdk/models/internal/__init__.py,sha256=7kjDhcmI428H0YHeZHJRcKSXQE1N2dTPHi3FtLVFaMM,1120
|
466
467
|
moovio_sdk/models/internal/globals.py,sha256=uz3scUHVTLawU2bzU4ov4C3bSRwoNolTJ5O27QSMIgA,1701
|
467
|
-
moovio_sdk/models/operations/__init__.py,sha256=
|
468
|
+
moovio_sdk/models/operations/__init__.py,sha256=H3bq9gCAY3kMc31aGrR54kvVGsrc5xQeCvnanIG4E3g,116429
|
468
469
|
moovio_sdk/models/operations/acceptdispute.py,sha256=imJTeB7PuXqfKBqA-VkIAFFNpW92U7DMxPx7CEb9eDQ,2544
|
469
470
|
moovio_sdk/models/operations/assignaccountcountries.py,sha256=NIGZ5oNIW7Ei4Y7WNnMVqcYUSQgIq3o_TlR0_ptwLJg,2753
|
470
471
|
moovio_sdk/models/operations/cancelschedule.py,sha256=X0vmSDaW6vyM387Tf02KSBCZNggKxNYm_T0W5zJY494,2394
|
@@ -608,7 +609,7 @@ moovio_sdk/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
608
609
|
moovio_sdk/receipts.py,sha256=9lLgl2K87xsdMJSOqUIkdWyTgMSN0edTjLcmz3ghvVU,20688
|
609
610
|
moovio_sdk/representatives.py,sha256=nmDgxhxxfHtE8Li-F0zk9kUuq33cR9fEibue2zJ6nO0,64454
|
610
611
|
moovio_sdk/scheduling.py,sha256=-i2mkiwWLjz3ZjWEPvO6U6nZwd7V0gxr48r-955li8k,65653
|
611
|
-
moovio_sdk/sdk.py,sha256=
|
612
|
+
moovio_sdk/sdk.py,sha256=FXWY2DwFAq1MOri0mbGLIbAL9MxQYQd-EjMpAM1i6-I,11878
|
612
613
|
moovio_sdk/sdkconfiguration.py,sha256=7NP1kNUcms-14o77cdoPmV7ZGWTtCLqqMTWN6pdwm-8,1822
|
613
614
|
moovio_sdk/sweeps.py,sha256=6QLuQRTQRRQ3qRyG9ZBPz1fkK3tnZeRAg_0YK6Scdts,66711
|
614
615
|
moovio_sdk/terminal_applications.py,sha256=lOnAQYqYRoNvE6c6p7YZi2OFeer8I27tQhtX5w6oyiY,42830
|
@@ -616,7 +617,7 @@ moovio_sdk/transfers.py,sha256=SDTuvVr3jY56xeKKh51bfbFT66Ev0B0DPh3Uqw3dhHQ,13311
|
|
616
617
|
moovio_sdk/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
617
618
|
moovio_sdk/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
618
619
|
moovio_sdk/underwriting.py,sha256=Q3bOkxgz3syy6YgdTKK_DTAqK6lV_uawgVZZX3iPuqc,24353
|
619
|
-
moovio_sdk/utils/__init__.py,sha256=
|
620
|
+
moovio_sdk/utils/__init__.py,sha256=BQt6xIdX86A6mOHAnxAXBXaPgdUJtDy2-_4ymAsII_Y,5436
|
620
621
|
moovio_sdk/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
621
622
|
moovio_sdk/utils/datetimes.py,sha256=oppAA5e3V35pQov1-FNLKxAaNF1_XWi-bQtyjjql3H8,855
|
622
623
|
moovio_sdk/utils/enums.py,sha256=REU6ydF8gsVL3xaeGX4sMNyiL3q5P9h29-f6Sa6luAE,2633
|
@@ -634,6 +635,6 @@ moovio_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
634
635
|
moovio_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
635
636
|
moovio_sdk/wallet_transactions.py,sha256=gP5AYXIn4LkCtm1ncheuWGxZCK0d67b20UIDheo_Khg,24943
|
636
637
|
moovio_sdk/wallets.py,sha256=5RcHiuHxBDi2YmK0V83s1hwEN-29aFar17LsQIYXpo0,19250
|
637
|
-
moovio_sdk-0.
|
638
|
-
moovio_sdk-0.
|
639
|
-
moovio_sdk-0.
|
638
|
+
moovio_sdk-0.10.0.dist-info/METADATA,sha256=3SNlkANtEtCfY45OEJyDDzopTlv2OJK4wBTd4lTM9sY,93522
|
639
|
+
moovio_sdk-0.10.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
640
|
+
moovio_sdk-0.10.0.dist-info/RECORD,,
|
File without changes
|