mergepythonclient 0.2.3__py3-none-any.whl → 0.2.4__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/client.py CHANGED
@@ -30,9 +30,9 @@ class Merge:
30
30
  self.ats = AtsClient(environment=environment, client_wrapper=self._client_wrapper)
31
31
  self.crm = CrmClient(environment=environment, client_wrapper=self._client_wrapper)
32
32
  self.filestorage = FilestorageClient(environment=environment, client_wrapper=self._client_wrapper)
33
+ self.hris = HrisClient(environment=environment, client_wrapper=self._client_wrapper)
33
34
  self.ticketing = TicketingClient(environment=environment, client_wrapper=self._client_wrapper)
34
35
  self.accounting = AccountingClient(environment=environment, client_wrapper=self._client_wrapper)
35
- self.hris = HrisClient(environment=environment, client_wrapper=self._client_wrapper)
36
36
 
37
37
 
38
38
  class AsyncMerge:
@@ -51,6 +51,6 @@ class AsyncMerge:
51
51
  self.ats = AsyncAtsClient(environment=environment, client_wrapper=self._client_wrapper)
52
52
  self.crm = AsyncCrmClient(environment=environment, client_wrapper=self._client_wrapper)
53
53
  self.filestorage = AsyncFilestorageClient(environment=environment, client_wrapper=self._client_wrapper)
54
+ self.hris = AsyncHrisClient(environment=environment, client_wrapper=self._client_wrapper)
54
55
  self.ticketing = AsyncTicketingClient(environment=environment, client_wrapper=self._client_wrapper)
55
56
  self.accounting = AsyncAccountingClient(environment=environment, client_wrapper=self._client_wrapper)
56
- self.hris = AsyncHrisClient(environment=environment, client_wrapper=self._client_wrapper)
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "MergePythonClient",
19
- "X-Fern-SDK-Version": "0.2.3",
19
+ "X-Fern-SDK-Version": "0.2.4",
20
20
  }
21
21
  if self._account_token is not None:
22
22
  headers["X-Account-Token"] = self._account_token
@@ -177,6 +177,7 @@ from .types import (
177
177
  RemoteFieldClassForCustomObjectClassFieldFormat,
178
178
  RemoteFieldClassForCustomObjectClassFieldType,
179
179
  RemoteFieldClassForCustomObjectClassItemSchema,
180
+ RemoteFieldRemoteFieldClass,
180
181
  RemoteFieldRequest,
181
182
  RemoteFieldRequestRemoteFieldClass,
182
183
  RemoteKey,
@@ -415,6 +416,7 @@ __all__ = [
415
416
  "RemoteFieldClassForCustomObjectClassFieldFormat",
416
417
  "RemoteFieldClassForCustomObjectClassFieldType",
417
418
  "RemoteFieldClassForCustomObjectClassItemSchema",
419
+ "RemoteFieldRemoteFieldClass",
418
420
  "RemoteFieldRequest",
419
421
  "RemoteFieldRequestRemoteFieldClass",
420
422
  "RemoteKey",
@@ -178,6 +178,7 @@ from .remote_field_class_for_custom_object_class_field_choices_item import (
178
178
  from .remote_field_class_for_custom_object_class_field_format import RemoteFieldClassForCustomObjectClassFieldFormat
179
179
  from .remote_field_class_for_custom_object_class_field_type import RemoteFieldClassForCustomObjectClassFieldType
180
180
  from .remote_field_class_for_custom_object_class_item_schema import RemoteFieldClassForCustomObjectClassItemSchema
181
+ from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass
181
182
  from .remote_field_request import RemoteFieldRequest
182
183
  from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass
183
184
  from .remote_key import RemoteKey
@@ -384,6 +385,7 @@ __all__ = [
384
385
  "RemoteFieldClassForCustomObjectClassFieldFormat",
385
386
  "RemoteFieldClassForCustomObjectClassFieldType",
386
387
  "RemoteFieldClassForCustomObjectClassItemSchema",
388
+ "RemoteFieldRemoteFieldClass",
387
389
  "RemoteFieldRequest",
388
390
  "RemoteFieldRequestRemoteFieldClass",
389
391
  "RemoteKey",
@@ -6,12 +6,12 @@ import typing
6
6
  import pydantic
7
7
 
8
8
  from ....core.datetime_utils import serialize_datetime
9
- from .remote_field_class import RemoteFieldClass
9
+ from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass
10
10
 
11
11
 
12
12
  class RemoteField(pydantic.BaseModel):
13
- remote_field_class: RemoteFieldClass
14
- value: typing.Optional[typing.Dict[str, typing.Any]]
13
+ remote_field_class: RemoteFieldRemoteFieldClass
14
+ value: typing.Optional[typing.Any]
15
15
 
16
16
  def json(self, **kwargs: typing.Any) -> str:
17
17
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .remote_field_class import RemoteFieldClass
6
+
7
+ RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass]
@@ -96,6 +96,7 @@ from .types import (
96
96
  RemoteFieldClassFieldChoicesItem,
97
97
  RemoteFieldClassFieldFormat,
98
98
  RemoteFieldClassFieldType,
99
+ RemoteFieldRemoteFieldClass,
99
100
  RemoteFieldRequest,
100
101
  RemoteFieldRequestRemoteFieldClass,
101
102
  RemoteKey,
@@ -271,6 +272,7 @@ __all__ = [
271
272
  "RemoteFieldClassFieldChoicesItem",
272
273
  "RemoteFieldClassFieldFormat",
273
274
  "RemoteFieldClassFieldType",
275
+ "RemoteFieldRemoteFieldClass",
274
276
  "RemoteFieldRequest",
275
277
  "RemoteFieldRequestRemoteFieldClass",
276
278
  "RemoteKey",
@@ -95,6 +95,7 @@ from .remote_field_class import RemoteFieldClass
95
95
  from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem
96
96
  from .remote_field_class_field_format import RemoteFieldClassFieldFormat
97
97
  from .remote_field_class_field_type import RemoteFieldClassFieldType
98
+ from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass
98
99
  from .remote_field_request import RemoteFieldRequest
99
100
  from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass
100
101
  from .remote_key import RemoteKey
@@ -242,6 +243,7 @@ __all__ = [
242
243
  "RemoteFieldClassFieldChoicesItem",
243
244
  "RemoteFieldClassFieldFormat",
244
245
  "RemoteFieldClassFieldType",
246
+ "RemoteFieldRemoteFieldClass",
245
247
  "RemoteFieldRequest",
246
248
  "RemoteFieldRequestRemoteFieldClass",
247
249
  "RemoteKey",
@@ -6,12 +6,12 @@ import typing
6
6
  import pydantic
7
7
 
8
8
  from ....core.datetime_utils import serialize_datetime
9
- from .remote_field_class import RemoteFieldClass
9
+ from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass
10
10
 
11
11
 
12
12
  class RemoteField(pydantic.BaseModel):
13
- remote_field_class: RemoteFieldClass
14
- value: typing.Optional[typing.Dict[str, typing.Any]]
13
+ remote_field_class: RemoteFieldRemoteFieldClass
14
+ value: typing.Optional[typing.Any]
15
15
 
16
16
  def json(self, **kwargs: typing.Any) -> str:
17
17
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -0,0 +1,7 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ from .remote_field_class import RemoteFieldClass
6
+
7
+ RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mergepythonclient
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,8 +1,8 @@
1
1
  merge/__init__.py,sha256=kCutiAeK1wG6JWNnryGRbPgG1_H9H8HY7gk1LkHwWHU,277
2
- merge/client.py,sha256=-MjY2KjXcv2mcLtONHz9Dp0twZKeJJdG7zbVUbrxlZ8,2842
2
+ merge/client.py,sha256=k1PDUYfgQOPPoz6xleAlKGt6dRF52-rhWya_iXe8uPg,2842
3
3
  merge/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
4
4
  merge/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- merge/core/client_wrapper.py,sha256=p1eNdvSIMA9EWBIQZ3-YKGFL38mrs3Gmf5XoEomGBKM,1655
5
+ merge/core/client_wrapper.py,sha256=y972JHOFElIIBoDhTSPTDTCTNHpymJyeNiPNkjDqmvc,1655
6
6
  merge/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  merge/core/jsonable_encoder.py,sha256=yHrx0C19n1H77G-GanO-HsFyBPVMlsJz7WffsHwXEVI,3710
8
8
  merge/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJJdrqCLEdowGw,330
@@ -626,7 +626,7 @@ merge/resources/ats/types/veteran_status_enum.py,sha256=SiiRJPvP11x6q2EWojgvD8ni
626
626
  merge/resources/ats/types/visibility_enum.py,sha256=c2n5A9Y267-9PpEqpNZaSCL-_-do51MdUJpTvtu-JC0,760
627
627
  merge/resources/ats/types/warning_validation_problem.py,sha256=EWFbHYkaLM65xitbGEbzk4dK504kqziiLAFaeCvkza8,915
628
628
  merge/resources/ats/types/webhook_receiver.py,sha256=723DFZBDkBj8WJ2fInCYF_05lVnJTRudvdtqUcuZ_KE,802
629
- merge/resources/crm/__init__.py,sha256=tEdbDmAs_Ot5-AvUIgFLv6kuK1vUzM-CTk95XktHyHM,12114
629
+ merge/resources/crm/__init__.py,sha256=1YlaobcUMWj02tyCQmYQWeHjrgGagxZ7tVsct6kpoyc,12182
630
630
  merge/resources/crm/client.py,sha256=zd1sbcBu1B5Pjj6i-WZ2F1hYzeTAcHD2pK41Ei8b6GU,10692
631
631
  merge/resources/crm/resources/__init__.py,sha256=TiX_TqExPFTb1RVabR-FXok8Hde8wF5yKW81Fa0jbTA,1192
632
632
  merge/resources/crm/resources/account_details/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -687,7 +687,7 @@ merge/resources/crm/resources/users/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRY
687
687
  merge/resources/crm/resources/users/client.py,sha256=k7Nym_WFNE9OeeAR6sAIdVrBMA_6i85SHklIct4-1cY,17892
688
688
  merge/resources/crm/resources/webhook_receivers/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
689
689
  merge/resources/crm/resources/webhook_receivers/client.py,sha256=ywIeRt5xNTzx2EDvASEP-4HOwxPJ1AFcS1XaE5M4ea4,5243
690
- merge/resources/crm/types/__init__.py,sha256=MpDdMmEkeg0PI5qucz5glP7g84zJ5XRQgVfGH81zYaY,17255
690
+ merge/resources/crm/types/__init__.py,sha256=EReT27wHVdZz_BwFi7T3BLYPViNrZEA0MG78l3eDAdg,17363
691
691
  merge/resources/crm/types/account.py,sha256=E3yAbwNA6c6UYi5zG4gge4Ce7PbTrPhfoQl47RVjcUg,2803
692
692
  merge/resources/crm/types/account_details.py,sha256=vx6IKZqpYio_HkY9bcje4h1d6D343YRxLdFAPB_yZQE,1483
693
693
  merge/resources/crm/types/account_details_and_actions.py,sha256=NRnHozK3tgfXvXCeWbZ5KqHmnF5q_MT7PBMCiB16B5Y,1900
@@ -854,7 +854,7 @@ merge/resources/crm/types/phone_number.py,sha256=MyTeG7xRYo5qEI1Llxu_zDrmwCjWCqh
854
854
  merge/resources/crm/types/phone_number_request.py,sha256=9g-V6KIEhYls8FW1Oc_4tYxj_IxaEt5KEG6Z5KctpIU,1309
855
855
  merge/resources/crm/types/reason_enum.py,sha256=_8cpQd1CZP5n2v2a0zPKQHrMb8x2zZNFm-xeM-V0FFE,814
856
856
  merge/resources/crm/types/remote_data.py,sha256=GWKTaQ8vzPrIVnsFYQRk9zg2OE4ytRfOTUIIu4TkCaQ,802
857
- merge/resources/crm/types/remote_field.py,sha256=zBVDwumAiKBv3erpSXkB0_BbbTfiCB1C_FC6pasyi0c,880
857
+ merge/resources/crm/types/remote_field.py,sha256=WLsTK2H6SH572UsZz5grZWsTsAn31lIshN0lEoE7Fj8,897
858
858
  merge/resources/crm/types/remote_field_class.py,sha256=3ApvmwWNiJ_6Ibvr3UmB1jILNhOsmIl-CvyEJJRfpMU,1473
859
859
  merge/resources/crm/types/remote_field_class_field_choices_item.py,sha256=wTrwlJYQhAg_tH4mx8Byir0MJKs9jr3UqX7zWBPrcD0,832
860
860
  merge/resources/crm/types/remote_field_class_field_format.py,sha256=SiD46GD6y9f5y1xOJ51_r7BZJBfsTjT4ChetGIzikEw,193
@@ -864,6 +864,7 @@ merge/resources/crm/types/remote_field_class_for_custom_object_class_field_choic
864
864
  merge/resources/crm/types/remote_field_class_for_custom_object_class_field_format.py,sha256=mOLvgJ0iedsjIiSInJ-uNQ6M2cb_qjbOUPJZ2lAJbJ0,213
865
865
  merge/resources/crm/types/remote_field_class_for_custom_object_class_field_type.py,sha256=GtqLWPazfTTsYDRsg2A3w_OzBxv0aAOzmZNJbRG6VP8,205
866
866
  merge/resources/crm/types/remote_field_class_for_custom_object_class_item_schema.py,sha256=WIggHK3XToyfH1E5ll4oeEAuxE7KK4q-k-fnnUEKPZ4,911
867
+ merge/resources/crm/types/remote_field_remote_field_class.py,sha256=hO2WF1YOop9W_KViuHPjwdvK2sYjq8Wh43U87C9hEso,196
867
868
  merge/resources/crm/types/remote_field_request.py,sha256=N5sJGWPrHawAyeUDVH7QjLxMi4nNFWmicV_obrhLDE8,944
868
869
  merge/resources/crm/types/remote_field_request_remote_field_class.py,sha256=CF0MIbwvcvBlT3_Pw_KmUD8f5_JyOY8hn-ajehwOrlo,203
869
870
  merge/resources/crm/types/remote_key.py,sha256=YSBpK-N4nJ-FnpxtIXldbUdv1BhniDhIQ_F1NW9796k,986
@@ -1273,7 +1274,7 @@ merge/resources/hris/types/units_enum.py,sha256=XIZYjVmI4pBqviS_FDF9jQ4pJ8Nmn-K8
1273
1274
  merge/resources/hris/types/validation_problem_source.py,sha256=bXDELVNGedfF0Aq-Yfqlm9e7i8cej9ro4Pg-zSQSyRE,762
1274
1275
  merge/resources/hris/types/warning_validation_problem.py,sha256=EWFbHYkaLM65xitbGEbzk4dK504kqziiLAFaeCvkza8,915
1275
1276
  merge/resources/hris/types/webhook_receiver.py,sha256=723DFZBDkBj8WJ2fInCYF_05lVnJTRudvdtqUcuZ_KE,802
1276
- merge/resources/ticketing/__init__.py,sha256=uEFdRElUcV1RhM3QEfp2sEA5aIyCzCmrhU_D87rDdNo,8786
1277
+ merge/resources/ticketing/__init__.py,sha256=0Qg7G2lc5FZ9zGI_JbfJ81jhKKspxYh55Y3Ugq_bi5g,8854
1277
1278
  merge/resources/ticketing/client.py,sha256=8jhZgGClufFubf7YW3uY2hva1MmrsRUIdT7qyou60Ko,9123
1278
1279
  merge/resources/ticketing/resources/__init__.py,sha256=pZW5QH4ROJGPlfppIBPIRT1CZRjklE6YvvphNV_vvVg,994
1279
1280
  merge/resources/ticketing/resources/account_details/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
@@ -1326,7 +1327,7 @@ merge/resources/ticketing/resources/users/__init__.py,sha256=FTtvy8EDg9nNNg9WCat
1326
1327
  merge/resources/ticketing/resources/users/client.py,sha256=Wx21tZMhZO3dIwljC1vNDDkkJ_JLiHbvQqOh1hSPOG4,11536
1327
1328
  merge/resources/ticketing/resources/webhook_receivers/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
1328
1329
  merge/resources/ticketing/resources/webhook_receivers/client.py,sha256=BMdl-Gdndl65MQJg5qdo6eK_NpMtIgMQ_U0HFP2UVM0,5267
1329
- merge/resources/ticketing/types/__init__.py,sha256=QMVDBfqN4qvG3U40AcFIXU47-yAF8ey1y8OeQt7SeAY,12315
1330
+ merge/resources/ticketing/types/__init__.py,sha256=1ZdF-Z6Z7N1CfMIQp78gFcOIPDn3sxEVcShlHEEPMD8,12423
1330
1331
  merge/resources/ticketing/types/access_level_enum.py,sha256=-fDX1Px7mp2AExHyOr9cnsQbFfW1qSw2ynTfu0sq8jE,743
1331
1332
  merge/resources/ticketing/types/account.py,sha256=4GvFJXgz3ojNdk5UzDDU_PDNZW_9EaxVjoBPgJQFxxU,1887
1332
1333
  merge/resources/ticketing/types/account_details.py,sha256=vx6IKZqpYio_HkY9bcje4h1d6D343YRxLdFAPB_yZQE,1483
@@ -1417,11 +1418,12 @@ merge/resources/ticketing/types/priority_enum.py,sha256=acnkqUZdEKYNA109BL65Mq-k
1417
1418
  merge/resources/ticketing/types/project.py,sha256=gkvkEPSdZBIJCsE38VbwiMfYiz7PUC_2swSHC-e2R3k,1712
1418
1419
  merge/resources/ticketing/types/projects_users_list_request_expand.py,sha256=OLtNd0uNab7xwrGpL3_BZsMZqwIpJEjRt9MahqSmdvs,715
1419
1420
  merge/resources/ticketing/types/remote_data.py,sha256=GWKTaQ8vzPrIVnsFYQRk9zg2OE4ytRfOTUIIu4TkCaQ,802
1420
- merge/resources/ticketing/types/remote_field.py,sha256=zBVDwumAiKBv3erpSXkB0_BbbTfiCB1C_FC6pasyi0c,880
1421
+ merge/resources/ticketing/types/remote_field.py,sha256=WLsTK2H6SH572UsZz5grZWsTsAn31lIshN0lEoE7Fj8,897
1421
1422
  merge/resources/ticketing/types/remote_field_class.py,sha256=3ApvmwWNiJ_6Ibvr3UmB1jILNhOsmIl-CvyEJJRfpMU,1473
1422
1423
  merge/resources/ticketing/types/remote_field_class_field_choices_item.py,sha256=wTrwlJYQhAg_tH4mx8Byir0MJKs9jr3UqX7zWBPrcD0,832
1423
1424
  merge/resources/ticketing/types/remote_field_class_field_format.py,sha256=PR-0fMwHrlYE34w2JhFMjoPyk-LuwcAmzzVRt3eF2mM,193
1424
1425
  merge/resources/ticketing/types/remote_field_class_field_type.py,sha256=1lWymJnLa1XuEzd3rMlAb1S5KmTtqm8Z24-EGqby9oQ,185
1426
+ merge/resources/ticketing/types/remote_field_remote_field_class.py,sha256=hO2WF1YOop9W_KViuHPjwdvK2sYjq8Wh43U87C9hEso,196
1425
1427
  merge/resources/ticketing/types/remote_field_request.py,sha256=N5sJGWPrHawAyeUDVH7QjLxMi4nNFWmicV_obrhLDE8,944
1426
1428
  merge/resources/ticketing/types/remote_field_request_remote_field_class.py,sha256=CF0MIbwvcvBlT3_Pw_KmUD8f5_JyOY8hn-ajehwOrlo,203
1427
1429
  merge/resources/ticketing/types/remote_key.py,sha256=YSBpK-N4nJ-FnpxtIXldbUdv1BhniDhIQ_F1NW9796k,986
@@ -1472,7 +1474,7 @@ merge/resources/ticketing/types/users_retrieve_request_expand.py,sha256=01JMChGj
1472
1474
  merge/resources/ticketing/types/validation_problem_source.py,sha256=bXDELVNGedfF0Aq-Yfqlm9e7i8cej9ro4Pg-zSQSyRE,762
1473
1475
  merge/resources/ticketing/types/warning_validation_problem.py,sha256=EWFbHYkaLM65xitbGEbzk4dK504kqziiLAFaeCvkza8,915
1474
1476
  merge/resources/ticketing/types/webhook_receiver.py,sha256=723DFZBDkBj8WJ2fInCYF_05lVnJTRudvdtqUcuZ_KE,802
1475
- mergepythonclient-0.2.3.dist-info/LICENSE.md,sha256=WKO7xLnLSUInldiq5i25eVqKAjwIUKenaS4Cgir2Iuw,3275
1476
- mergepythonclient-0.2.3.dist-info/METADATA,sha256=Jl865Mte6nb0Vavs-oJggIXyC9t0iXoZAojfembgCsg,5989
1477
- mergepythonclient-0.2.3.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1478
- mergepythonclient-0.2.3.dist-info/RECORD,,
1477
+ mergepythonclient-0.2.4.dist-info/LICENSE.md,sha256=WKO7xLnLSUInldiq5i25eVqKAjwIUKenaS4Cgir2Iuw,3275
1478
+ mergepythonclient-0.2.4.dist-info/METADATA,sha256=u_r-QCab-cdTRkXD7UeJI0CMudaAxuCbN5SMyRuAmVo,5989
1479
+ mergepythonclient-0.2.4.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1480
+ mergepythonclient-0.2.4.dist-info/RECORD,,