mergepythonclient 1.2.0__py3-none-any.whl → 1.2.1__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.
- merge/core/client_wrapper.py +2 -2
- merge/resources/accounting/resources/accounts/client.py +10 -0
- merge/resources/accounting/resources/accounts/raw_client.py +10 -0
- merge/resources/accounting/resources/contacts/client.py +10 -0
- merge/resources/accounting/resources/contacts/raw_client.py +10 -0
- merge/resources/accounting/resources/tracking_categories/client.py +20 -0
- merge/resources/accounting/resources/tracking_categories/raw_client.py +20 -0
- {mergepythonclient-1.2.0.dist-info → mergepythonclient-1.2.1.dist-info}/METADATA +1 -1
- {mergepythonclient-1.2.0.dist-info → mergepythonclient-1.2.1.dist-info}/RECORD +11 -11
- {mergepythonclient-1.2.0.dist-info → mergepythonclient-1.2.1.dist-info}/LICENSE.md +0 -0
- {mergepythonclient-1.2.0.dist-info → mergepythonclient-1.2.1.dist-info}/WHEEL +0 -0
merge/core/client_wrapper.py
CHANGED
|
@@ -22,10 +22,10 @@ class BaseClientWrapper:
|
|
|
22
22
|
|
|
23
23
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
|
-
"User-Agent": "MergePythonClient/1.2.
|
|
25
|
+
"User-Agent": "MergePythonClient/1.2.1",
|
|
26
26
|
"X-Fern-Language": "Python",
|
|
27
27
|
"X-Fern-SDK-Name": "MergePythonClient",
|
|
28
|
-
"X-Fern-SDK-Version": "1.2.
|
|
28
|
+
"X-Fern-SDK-Version": "1.2.1",
|
|
29
29
|
}
|
|
30
30
|
if self._account_token is not None:
|
|
31
31
|
headers["X-Account-Token"] = self._account_token
|
|
@@ -55,6 +55,7 @@ class AccountsClient:
|
|
|
55
55
|
remote_fields: typing.Optional[AccountsListRequestRemoteFields] = None,
|
|
56
56
|
remote_id: typing.Optional[str] = None,
|
|
57
57
|
show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None,
|
|
58
|
+
status: typing.Optional[str] = None,
|
|
58
59
|
request_options: typing.Optional[RequestOptions] = None,
|
|
59
60
|
) -> PaginatedAccountList:
|
|
60
61
|
"""
|
|
@@ -110,6 +111,9 @@ class AccountsClient:
|
|
|
110
111
|
show_enum_origins : typing.Optional[AccountsListRequestShowEnumOrigins]
|
|
111
112
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
112
113
|
|
|
114
|
+
status : typing.Optional[str]
|
|
115
|
+
If provided, will only return accounts with this status.
|
|
116
|
+
|
|
113
117
|
request_options : typing.Optional[RequestOptions]
|
|
114
118
|
Request-specific configuration.
|
|
115
119
|
|
|
@@ -145,6 +149,7 @@ class AccountsClient:
|
|
|
145
149
|
remote_fields=remote_fields,
|
|
146
150
|
remote_id=remote_id,
|
|
147
151
|
show_enum_origins=show_enum_origins,
|
|
152
|
+
status=status,
|
|
148
153
|
request_options=request_options,
|
|
149
154
|
)
|
|
150
155
|
return response.data
|
|
@@ -322,6 +327,7 @@ class AsyncAccountsClient:
|
|
|
322
327
|
remote_fields: typing.Optional[AccountsListRequestRemoteFields] = None,
|
|
323
328
|
remote_id: typing.Optional[str] = None,
|
|
324
329
|
show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None,
|
|
330
|
+
status: typing.Optional[str] = None,
|
|
325
331
|
request_options: typing.Optional[RequestOptions] = None,
|
|
326
332
|
) -> PaginatedAccountList:
|
|
327
333
|
"""
|
|
@@ -377,6 +383,9 @@ class AsyncAccountsClient:
|
|
|
377
383
|
show_enum_origins : typing.Optional[AccountsListRequestShowEnumOrigins]
|
|
378
384
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
379
385
|
|
|
386
|
+
status : typing.Optional[str]
|
|
387
|
+
If provided, will only return accounts with this status.
|
|
388
|
+
|
|
380
389
|
request_options : typing.Optional[RequestOptions]
|
|
381
390
|
Request-specific configuration.
|
|
382
391
|
|
|
@@ -420,6 +429,7 @@ class AsyncAccountsClient:
|
|
|
420
429
|
remote_fields=remote_fields,
|
|
421
430
|
remote_id=remote_id,
|
|
422
431
|
show_enum_origins=show_enum_origins,
|
|
432
|
+
status=status,
|
|
423
433
|
request_options=request_options,
|
|
424
434
|
)
|
|
425
435
|
return response.data
|
|
@@ -49,6 +49,7 @@ class RawAccountsClient:
|
|
|
49
49
|
remote_fields: typing.Optional[AccountsListRequestRemoteFields] = None,
|
|
50
50
|
remote_id: typing.Optional[str] = None,
|
|
51
51
|
show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None,
|
|
52
|
+
status: typing.Optional[str] = None,
|
|
52
53
|
request_options: typing.Optional[RequestOptions] = None,
|
|
53
54
|
) -> HttpResponse[PaginatedAccountList]:
|
|
54
55
|
"""
|
|
@@ -104,6 +105,9 @@ class RawAccountsClient:
|
|
|
104
105
|
show_enum_origins : typing.Optional[AccountsListRequestShowEnumOrigins]
|
|
105
106
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
106
107
|
|
|
108
|
+
status : typing.Optional[str]
|
|
109
|
+
If provided, will only return accounts with this status.
|
|
110
|
+
|
|
107
111
|
request_options : typing.Optional[RequestOptions]
|
|
108
112
|
Request-specific configuration.
|
|
109
113
|
|
|
@@ -132,6 +136,7 @@ class RawAccountsClient:
|
|
|
132
136
|
"remote_fields": remote_fields,
|
|
133
137
|
"remote_id": remote_id,
|
|
134
138
|
"show_enum_origins": show_enum_origins,
|
|
139
|
+
"status": status,
|
|
135
140
|
},
|
|
136
141
|
request_options=request_options,
|
|
137
142
|
)
|
|
@@ -338,6 +343,7 @@ class AsyncRawAccountsClient:
|
|
|
338
343
|
remote_fields: typing.Optional[AccountsListRequestRemoteFields] = None,
|
|
339
344
|
remote_id: typing.Optional[str] = None,
|
|
340
345
|
show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None,
|
|
346
|
+
status: typing.Optional[str] = None,
|
|
341
347
|
request_options: typing.Optional[RequestOptions] = None,
|
|
342
348
|
) -> AsyncHttpResponse[PaginatedAccountList]:
|
|
343
349
|
"""
|
|
@@ -393,6 +399,9 @@ class AsyncRawAccountsClient:
|
|
|
393
399
|
show_enum_origins : typing.Optional[AccountsListRequestShowEnumOrigins]
|
|
394
400
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
395
401
|
|
|
402
|
+
status : typing.Optional[str]
|
|
403
|
+
If provided, will only return accounts with this status.
|
|
404
|
+
|
|
396
405
|
request_options : typing.Optional[RequestOptions]
|
|
397
406
|
Request-specific configuration.
|
|
398
407
|
|
|
@@ -421,6 +430,7 @@ class AsyncRawAccountsClient:
|
|
|
421
430
|
"remote_fields": remote_fields,
|
|
422
431
|
"remote_id": remote_id,
|
|
423
432
|
"show_enum_origins": show_enum_origins,
|
|
433
|
+
"status": status,
|
|
424
434
|
},
|
|
425
435
|
request_options=request_options,
|
|
426
436
|
)
|
|
@@ -57,6 +57,7 @@ class ContactsClient:
|
|
|
57
57
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
58
58
|
remote_id: typing.Optional[str] = None,
|
|
59
59
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
60
|
+
status: typing.Optional[str] = None,
|
|
60
61
|
request_options: typing.Optional[RequestOptions] = None,
|
|
61
62
|
) -> PaginatedContactList:
|
|
62
63
|
"""
|
|
@@ -121,6 +122,9 @@ class ContactsClient:
|
|
|
121
122
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
122
123
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
123
124
|
|
|
125
|
+
status : typing.Optional[str]
|
|
126
|
+
If provided, will only return Contacts that match this status.
|
|
127
|
+
|
|
124
128
|
request_options : typing.Optional[RequestOptions]
|
|
125
129
|
Request-specific configuration.
|
|
126
130
|
|
|
@@ -159,6 +163,7 @@ class ContactsClient:
|
|
|
159
163
|
remote_fields=remote_fields,
|
|
160
164
|
remote_id=remote_id,
|
|
161
165
|
show_enum_origins=show_enum_origins,
|
|
166
|
+
status=status,
|
|
162
167
|
request_options=request_options,
|
|
163
168
|
)
|
|
164
169
|
return response.data
|
|
@@ -407,6 +412,7 @@ class AsyncContactsClient:
|
|
|
407
412
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
408
413
|
remote_id: typing.Optional[str] = None,
|
|
409
414
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
415
|
+
status: typing.Optional[str] = None,
|
|
410
416
|
request_options: typing.Optional[RequestOptions] = None,
|
|
411
417
|
) -> PaginatedContactList:
|
|
412
418
|
"""
|
|
@@ -471,6 +477,9 @@ class AsyncContactsClient:
|
|
|
471
477
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
472
478
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
473
479
|
|
|
480
|
+
status : typing.Optional[str]
|
|
481
|
+
If provided, will only return Contacts that match this status.
|
|
482
|
+
|
|
474
483
|
request_options : typing.Optional[RequestOptions]
|
|
475
484
|
Request-specific configuration.
|
|
476
485
|
|
|
@@ -517,6 +526,7 @@ class AsyncContactsClient:
|
|
|
517
526
|
remote_fields=remote_fields,
|
|
518
527
|
remote_id=remote_id,
|
|
519
528
|
show_enum_origins=show_enum_origins,
|
|
529
|
+
status=status,
|
|
520
530
|
request_options=request_options,
|
|
521
531
|
)
|
|
522
532
|
return response.data
|
|
@@ -51,6 +51,7 @@ class RawContactsClient:
|
|
|
51
51
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
52
52
|
remote_id: typing.Optional[str] = None,
|
|
53
53
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
54
|
+
status: typing.Optional[str] = None,
|
|
54
55
|
request_options: typing.Optional[RequestOptions] = None,
|
|
55
56
|
) -> HttpResponse[PaginatedContactList]:
|
|
56
57
|
"""
|
|
@@ -115,6 +116,9 @@ class RawContactsClient:
|
|
|
115
116
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
116
117
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
117
118
|
|
|
119
|
+
status : typing.Optional[str]
|
|
120
|
+
If provided, will only return Contacts that match this status.
|
|
121
|
+
|
|
118
122
|
request_options : typing.Optional[RequestOptions]
|
|
119
123
|
Request-specific configuration.
|
|
120
124
|
|
|
@@ -146,6 +150,7 @@ class RawContactsClient:
|
|
|
146
150
|
"remote_fields": remote_fields,
|
|
147
151
|
"remote_id": remote_id,
|
|
148
152
|
"show_enum_origins": show_enum_origins,
|
|
153
|
+
"status": status,
|
|
149
154
|
},
|
|
150
155
|
request_options=request_options,
|
|
151
156
|
)
|
|
@@ -430,6 +435,7 @@ class AsyncRawContactsClient:
|
|
|
430
435
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
431
436
|
remote_id: typing.Optional[str] = None,
|
|
432
437
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
438
|
+
status: typing.Optional[str] = None,
|
|
433
439
|
request_options: typing.Optional[RequestOptions] = None,
|
|
434
440
|
) -> AsyncHttpResponse[PaginatedContactList]:
|
|
435
441
|
"""
|
|
@@ -494,6 +500,9 @@ class AsyncRawContactsClient:
|
|
|
494
500
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
495
501
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
496
502
|
|
|
503
|
+
status : typing.Optional[str]
|
|
504
|
+
If provided, will only return Contacts that match this status.
|
|
505
|
+
|
|
497
506
|
request_options : typing.Optional[RequestOptions]
|
|
498
507
|
Request-specific configuration.
|
|
499
508
|
|
|
@@ -525,6 +534,7 @@ class AsyncRawContactsClient:
|
|
|
525
534
|
"remote_fields": remote_fields,
|
|
526
535
|
"remote_id": remote_id,
|
|
527
536
|
"show_enum_origins": show_enum_origins,
|
|
537
|
+
"status": status,
|
|
528
538
|
},
|
|
529
539
|
request_options=request_options,
|
|
530
540
|
)
|
|
@@ -29,6 +29,7 @@ class TrackingCategoriesClient:
|
|
|
29
29
|
def list(
|
|
30
30
|
self,
|
|
31
31
|
*,
|
|
32
|
+
category_type: typing.Optional[str] = None,
|
|
32
33
|
company_id: typing.Optional[str] = None,
|
|
33
34
|
created_after: typing.Optional[dt.datetime] = None,
|
|
34
35
|
created_before: typing.Optional[dt.datetime] = None,
|
|
@@ -44,6 +45,7 @@ class TrackingCategoriesClient:
|
|
|
44
45
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
45
46
|
remote_id: typing.Optional[str] = None,
|
|
46
47
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
48
|
+
status: typing.Optional[str] = None,
|
|
47
49
|
request_options: typing.Optional[RequestOptions] = None,
|
|
48
50
|
) -> PaginatedTrackingCategoryList:
|
|
49
51
|
"""
|
|
@@ -51,6 +53,9 @@ class TrackingCategoriesClient:
|
|
|
51
53
|
|
|
52
54
|
Parameters
|
|
53
55
|
----------
|
|
56
|
+
category_type : typing.Optional[str]
|
|
57
|
+
If provided, will only return tracking categories with this type.
|
|
58
|
+
|
|
54
59
|
company_id : typing.Optional[str]
|
|
55
60
|
If provided, will only return tracking categories for this company.
|
|
56
61
|
|
|
@@ -96,6 +101,9 @@ class TrackingCategoriesClient:
|
|
|
96
101
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
97
102
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
98
103
|
|
|
104
|
+
status : typing.Optional[str]
|
|
105
|
+
If provided, will only return tracking categories with this status.
|
|
106
|
+
|
|
99
107
|
request_options : typing.Optional[RequestOptions]
|
|
100
108
|
Request-specific configuration.
|
|
101
109
|
|
|
@@ -115,6 +123,7 @@ class TrackingCategoriesClient:
|
|
|
115
123
|
client.accounting.tracking_categories.list()
|
|
116
124
|
"""
|
|
117
125
|
response = self._raw_client.list(
|
|
126
|
+
category_type=category_type,
|
|
118
127
|
company_id=company_id,
|
|
119
128
|
created_after=created_after,
|
|
120
129
|
created_before=created_before,
|
|
@@ -130,6 +139,7 @@ class TrackingCategoriesClient:
|
|
|
130
139
|
remote_fields=remote_fields,
|
|
131
140
|
remote_id=remote_id,
|
|
132
141
|
show_enum_origins=show_enum_origins,
|
|
142
|
+
status=status,
|
|
133
143
|
request_options=request_options,
|
|
134
144
|
)
|
|
135
145
|
return response.data
|
|
@@ -217,6 +227,7 @@ class AsyncTrackingCategoriesClient:
|
|
|
217
227
|
async def list(
|
|
218
228
|
self,
|
|
219
229
|
*,
|
|
230
|
+
category_type: typing.Optional[str] = None,
|
|
220
231
|
company_id: typing.Optional[str] = None,
|
|
221
232
|
created_after: typing.Optional[dt.datetime] = None,
|
|
222
233
|
created_before: typing.Optional[dt.datetime] = None,
|
|
@@ -232,6 +243,7 @@ class AsyncTrackingCategoriesClient:
|
|
|
232
243
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
233
244
|
remote_id: typing.Optional[str] = None,
|
|
234
245
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
246
|
+
status: typing.Optional[str] = None,
|
|
235
247
|
request_options: typing.Optional[RequestOptions] = None,
|
|
236
248
|
) -> PaginatedTrackingCategoryList:
|
|
237
249
|
"""
|
|
@@ -239,6 +251,9 @@ class AsyncTrackingCategoriesClient:
|
|
|
239
251
|
|
|
240
252
|
Parameters
|
|
241
253
|
----------
|
|
254
|
+
category_type : typing.Optional[str]
|
|
255
|
+
If provided, will only return tracking categories with this type.
|
|
256
|
+
|
|
242
257
|
company_id : typing.Optional[str]
|
|
243
258
|
If provided, will only return tracking categories for this company.
|
|
244
259
|
|
|
@@ -284,6 +299,9 @@ class AsyncTrackingCategoriesClient:
|
|
|
284
299
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
285
300
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
286
301
|
|
|
302
|
+
status : typing.Optional[str]
|
|
303
|
+
If provided, will only return tracking categories with this status.
|
|
304
|
+
|
|
287
305
|
request_options : typing.Optional[RequestOptions]
|
|
288
306
|
Request-specific configuration.
|
|
289
307
|
|
|
@@ -311,6 +329,7 @@ class AsyncTrackingCategoriesClient:
|
|
|
311
329
|
asyncio.run(main())
|
|
312
330
|
"""
|
|
313
331
|
response = await self._raw_client.list(
|
|
332
|
+
category_type=category_type,
|
|
314
333
|
company_id=company_id,
|
|
315
334
|
created_after=created_after,
|
|
316
335
|
created_before=created_before,
|
|
@@ -326,6 +345,7 @@ class AsyncTrackingCategoriesClient:
|
|
|
326
345
|
remote_fields=remote_fields,
|
|
327
346
|
remote_id=remote_id,
|
|
328
347
|
show_enum_origins=show_enum_origins,
|
|
348
|
+
status=status,
|
|
329
349
|
request_options=request_options,
|
|
330
350
|
)
|
|
331
351
|
return response.data
|
|
@@ -23,6 +23,7 @@ class RawTrackingCategoriesClient:
|
|
|
23
23
|
def list(
|
|
24
24
|
self,
|
|
25
25
|
*,
|
|
26
|
+
category_type: typing.Optional[str] = None,
|
|
26
27
|
company_id: typing.Optional[str] = None,
|
|
27
28
|
created_after: typing.Optional[dt.datetime] = None,
|
|
28
29
|
created_before: typing.Optional[dt.datetime] = None,
|
|
@@ -38,6 +39,7 @@ class RawTrackingCategoriesClient:
|
|
|
38
39
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
39
40
|
remote_id: typing.Optional[str] = None,
|
|
40
41
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
42
|
+
status: typing.Optional[str] = None,
|
|
41
43
|
request_options: typing.Optional[RequestOptions] = None,
|
|
42
44
|
) -> HttpResponse[PaginatedTrackingCategoryList]:
|
|
43
45
|
"""
|
|
@@ -45,6 +47,9 @@ class RawTrackingCategoriesClient:
|
|
|
45
47
|
|
|
46
48
|
Parameters
|
|
47
49
|
----------
|
|
50
|
+
category_type : typing.Optional[str]
|
|
51
|
+
If provided, will only return tracking categories with this type.
|
|
52
|
+
|
|
48
53
|
company_id : typing.Optional[str]
|
|
49
54
|
If provided, will only return tracking categories for this company.
|
|
50
55
|
|
|
@@ -90,6 +95,9 @@ class RawTrackingCategoriesClient:
|
|
|
90
95
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
91
96
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
92
97
|
|
|
98
|
+
status : typing.Optional[str]
|
|
99
|
+
If provided, will only return tracking categories with this status.
|
|
100
|
+
|
|
93
101
|
request_options : typing.Optional[RequestOptions]
|
|
94
102
|
Request-specific configuration.
|
|
95
103
|
|
|
@@ -102,6 +110,7 @@ class RawTrackingCategoriesClient:
|
|
|
102
110
|
"accounting/v1/tracking-categories",
|
|
103
111
|
method="GET",
|
|
104
112
|
params={
|
|
113
|
+
"category_type": category_type,
|
|
105
114
|
"company_id": company_id,
|
|
106
115
|
"created_after": serialize_datetime(created_after) if created_after is not None else None,
|
|
107
116
|
"created_before": serialize_datetime(created_before) if created_before is not None else None,
|
|
@@ -117,6 +126,7 @@ class RawTrackingCategoriesClient:
|
|
|
117
126
|
"remote_fields": remote_fields,
|
|
118
127
|
"remote_id": remote_id,
|
|
119
128
|
"show_enum_origins": show_enum_origins,
|
|
129
|
+
"status": status,
|
|
120
130
|
},
|
|
121
131
|
request_options=request_options,
|
|
122
132
|
)
|
|
@@ -211,6 +221,7 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
211
221
|
async def list(
|
|
212
222
|
self,
|
|
213
223
|
*,
|
|
224
|
+
category_type: typing.Optional[str] = None,
|
|
214
225
|
company_id: typing.Optional[str] = None,
|
|
215
226
|
created_after: typing.Optional[dt.datetime] = None,
|
|
216
227
|
created_before: typing.Optional[dt.datetime] = None,
|
|
@@ -226,6 +237,7 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
226
237
|
remote_fields: typing.Optional[typing.Literal["status"]] = None,
|
|
227
238
|
remote_id: typing.Optional[str] = None,
|
|
228
239
|
show_enum_origins: typing.Optional[typing.Literal["status"]] = None,
|
|
240
|
+
status: typing.Optional[str] = None,
|
|
229
241
|
request_options: typing.Optional[RequestOptions] = None,
|
|
230
242
|
) -> AsyncHttpResponse[PaginatedTrackingCategoryList]:
|
|
231
243
|
"""
|
|
@@ -233,6 +245,9 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
233
245
|
|
|
234
246
|
Parameters
|
|
235
247
|
----------
|
|
248
|
+
category_type : typing.Optional[str]
|
|
249
|
+
If provided, will only return tracking categories with this type.
|
|
250
|
+
|
|
236
251
|
company_id : typing.Optional[str]
|
|
237
252
|
If provided, will only return tracking categories for this company.
|
|
238
253
|
|
|
@@ -278,6 +293,9 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
278
293
|
show_enum_origins : typing.Optional[typing.Literal["status"]]
|
|
279
294
|
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
|
|
280
295
|
|
|
296
|
+
status : typing.Optional[str]
|
|
297
|
+
If provided, will only return tracking categories with this status.
|
|
298
|
+
|
|
281
299
|
request_options : typing.Optional[RequestOptions]
|
|
282
300
|
Request-specific configuration.
|
|
283
301
|
|
|
@@ -290,6 +308,7 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
290
308
|
"accounting/v1/tracking-categories",
|
|
291
309
|
method="GET",
|
|
292
310
|
params={
|
|
311
|
+
"category_type": category_type,
|
|
293
312
|
"company_id": company_id,
|
|
294
313
|
"created_after": serialize_datetime(created_after) if created_after is not None else None,
|
|
295
314
|
"created_before": serialize_datetime(created_before) if created_before is not None else None,
|
|
@@ -305,6 +324,7 @@ class AsyncRawTrackingCategoriesClient:
|
|
|
305
324
|
"remote_fields": remote_fields,
|
|
306
325
|
"remote_id": remote_id,
|
|
307
326
|
"show_enum_origins": show_enum_origins,
|
|
327
|
+
"status": status,
|
|
308
328
|
},
|
|
309
329
|
request_options=request_options,
|
|
310
330
|
)
|
|
@@ -2,7 +2,7 @@ merge/__init__.py,sha256=zBMMq1dZYJSvF1D2WM27VIrcMdsoyH2WzwPArUj_Kmk,429
|
|
|
2
2
|
merge/client.py,sha256=DwwK6xB6rgHh4fkkKg6Vx-jt_yVXOUBFP8TAlyPiRys,7189
|
|
3
3
|
merge/core/__init__.py,sha256=k8oEi2P7dxKTJhM5AsxoUWWwlC5pIjPgPRU2njW7Mtk,1695
|
|
4
4
|
merge/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
5
|
-
merge/core/client_wrapper.py,sha256=
|
|
5
|
+
merge/core/client_wrapper.py,sha256=C6VNONyO_QHxQM-0kb6lwlENLv-ClZnBl3RC4Pf34CQ,2662
|
|
6
6
|
merge/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
7
7
|
merge/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
8
8
|
merge/core/http_client.py,sha256=cKs2w0ybDBk1wHQf-fTALm_MmvaMe3cZKcYJxqmCxkE,19539
|
|
@@ -31,8 +31,8 @@ merge/resources/accounting/resources/accounting_periods/__init__.py,sha256=FTtvy
|
|
|
31
31
|
merge/resources/accounting/resources/accounting_periods/client.py,sha256=EqvHD82eI81iv7j6c55H_iC-Nu8Sdofp92oAewTcNyg,8933
|
|
32
32
|
merge/resources/accounting/resources/accounting_periods/raw_client.py,sha256=duAnBuJvnXWuz6A9KW77pm-Cfyd11v0TjjUrDaFcDlg,10482
|
|
33
33
|
merge/resources/accounting/resources/accounts/__init__.py,sha256=pWye97Dys9F6Hu92KPMUnHgsNGxmVFkpKj4_8C1AuWU,435
|
|
34
|
-
merge/resources/accounting/resources/accounts/client.py,sha256=
|
|
35
|
-
merge/resources/accounting/resources/accounts/raw_client.py,sha256=
|
|
34
|
+
merge/resources/accounting/resources/accounts/client.py,sha256=SzRAnFY1OqMoJ2LsKmqy2U9AKVY__f10JcZ-JLSSrWY,21586
|
|
35
|
+
merge/resources/accounting/resources/accounts/raw_client.py,sha256=9ddRrWq3LBs1e6YC4vv26RF9b1kflwVeLnhXJETILxw,25937
|
|
36
36
|
merge/resources/accounting/resources/accounts/types/__init__.py,sha256=j-cfysimq5Iu_wOIFqSd56Qj3NHPhJRb8w8h1Cmr1F0,604
|
|
37
37
|
merge/resources/accounting/resources/accounts/types/accounts_list_request_remote_fields.py,sha256=Az9-yjthTEGOb7FdZi1s0ofW8feZI_Jo1Te64G7YsKE,819
|
|
38
38
|
merge/resources/accounting/resources/accounts/types/accounts_list_request_show_enum_origins.py,sha256=p4H3hs0DYQhimbiFtKzPBJs7OUyJkGuBVlYXeMfAJ00,831
|
|
@@ -77,8 +77,8 @@ merge/resources/accounting/resources/company_info/types/__init__.py,sha256=Vmvip
|
|
|
77
77
|
merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py,sha256=vixn0_jiOrl0k-tt_kdzUHLVL4dVcV0Thk6QYia_EFI,827
|
|
78
78
|
merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py,sha256=cr55rgtrfdLQxRzjzp4onvrRRONcC9jl_NzE2kg-smw,843
|
|
79
79
|
merge/resources/accounting/resources/contacts/__init__.py,sha256=qvdIsxdxRuWp-lZ2BXAt6TnwwHgBA5MOWvJrEIR8AlU,215
|
|
80
|
-
merge/resources/accounting/resources/contacts/client.py,sha256=
|
|
81
|
-
merge/resources/accounting/resources/contacts/raw_client.py,sha256=
|
|
80
|
+
merge/resources/accounting/resources/contacts/client.py,sha256=7-UVqDiRXn1g-JKsJzJvZuEQkzmLiMPiCa4V1gnaeHY,28497
|
|
81
|
+
merge/resources/accounting/resources/contacts/raw_client.py,sha256=n9U8dkbJp7P8DBp4w20EFCtHE0iScG0fTydThoWtCvk,33963
|
|
82
82
|
merge/resources/accounting/resources/contacts/types/__init__.py,sha256=Bwmtoz-MtvPyZ-bXBhg_DVTagjTHz_pOgLeQrUrG-iE,283
|
|
83
83
|
merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py,sha256=JuJqvv0yVgLDYuJ0TyoTjZMlO4PTKhiHocrO6GH6vjA,1675
|
|
84
84
|
merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py,sha256=TIItJMimUJ2J3CNTNEV9wtmnG8n9zmke2tgNz3AKM2E,1707
|
|
@@ -192,8 +192,8 @@ merge/resources/accounting/resources/tax_rates/__init__.py,sha256=FTtvy8EDg9nNNg
|
|
|
192
192
|
merge/resources/accounting/resources/tax_rates/client.py,sha256=eGJpV7WV4VtaiTVqOKAdg5qEWrHX6kimdsXAhFk4Yhc,12883
|
|
193
193
|
merge/resources/accounting/resources/tax_rates/raw_client.py,sha256=OAqyD2xBEGzovjhwSwAWWQTiHvIeo-eZYBOlnNdo5gM,15094
|
|
194
194
|
merge/resources/accounting/resources/tracking_categories/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
195
|
-
merge/resources/accounting/resources/tracking_categories/client.py,sha256=
|
|
196
|
-
merge/resources/accounting/resources/tracking_categories/raw_client.py,sha256=
|
|
195
|
+
merge/resources/accounting/resources/tracking_categories/client.py,sha256=UqxaIP4d-cia1sYYqJ86YiDInJ4z_aBEJw4EEXPksUE,16707
|
|
196
|
+
merge/resources/accounting/resources/tracking_categories/raw_client.py,sha256=ysecuBV53sYIs86hvEk8OVqK3iS-nKgiLfQWYHqMtmo,18994
|
|
197
197
|
merge/resources/accounting/resources/transactions/__init__.py,sha256=CncFocFF4tesnMc42ELgAiA1PIhwwRP74JTFjLIVRR8,231
|
|
198
198
|
merge/resources/accounting/resources/transactions/client.py,sha256=ZWM-bwbr2sr2by3z0mp457d8PX7J6eoce445_ZDIDWo,13995
|
|
199
199
|
merge/resources/accounting/resources/transactions/raw_client.py,sha256=x9naQcOK8WJuUVXKBs-vqXa3eyI69kZvqkd8IuUZ02c,16622
|
|
@@ -2178,7 +2178,7 @@ merge/resources/ticketing/types/viewer_user.py,sha256=BrSLZ3A0ppE0HMpG04N0nYt0_W
|
|
|
2178
2178
|
merge/resources/ticketing/types/warning_validation_problem.py,sha256=GyCQZlUc98f19CGyYPvyFSlf6du48Yv3jy9Rvun3hR4,735
|
|
2179
2179
|
merge/resources/ticketing/types/webhook_receiver.py,sha256=rjI-eoX0t_JHWJ8FupxDlEK8gMlzxE1w5GWJM6zhe2k,622
|
|
2180
2180
|
merge/version.py,sha256=kLtHrVsKjnCqlIC_JtezQUWrCPQkXhjpD_2pdlcGh18,84
|
|
2181
|
-
mergepythonclient-1.2.
|
|
2182
|
-
mergepythonclient-1.2.
|
|
2183
|
-
mergepythonclient-1.2.
|
|
2184
|
-
mergepythonclient-1.2.
|
|
2181
|
+
mergepythonclient-1.2.1.dist-info/LICENSE.md,sha256=WKO7xLnLSUInldiq5i25eVqKAjwIUKenaS4Cgir2Iuw,3275
|
|
2182
|
+
mergepythonclient-1.2.1.dist-info/METADATA,sha256=KMiB_2X1Y64qCCO6FCSHaKRnAk-j9zh8gBglHabdl-c,6683
|
|
2183
|
+
mergepythonclient-1.2.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
2184
|
+
mergepythonclient-1.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|