mergepythonclient 1.1.0__py3-none-any.whl → 1.1.2__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.
Files changed (225) hide show
  1. merge/client.py +8 -8
  2. merge/core/client_wrapper.py +1 -1
  3. merge/resources/accounting/__init__.py +2 -0
  4. merge/resources/accounting/resources/__init__.py +2 -0
  5. merge/resources/accounting/resources/async_passthrough/__init__.py +3 -0
  6. merge/resources/accounting/resources/async_passthrough/client.py +9 -9
  7. merge/resources/accounting/resources/async_passthrough/types/__init__.py +5 -0
  8. merge/resources/accounting/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  9. merge/resources/accounting/types/external_target_field_api_response.py +1 -0
  10. merge/resources/accounting/types/field_mapping_api_instance_response.py +1 -0
  11. merge/resources/accounting/types/remote_field_api_response.py +1 -0
  12. merge/resources/accounting/types/report_item.py +5 -0
  13. merge/resources/ats/__init__.py +4 -0
  14. merge/resources/ats/resources/__init__.py +2 -0
  15. merge/resources/ats/resources/activities/client.py +12 -2
  16. merge/resources/ats/resources/applications/client.py +12 -2
  17. merge/resources/ats/resources/async_passthrough/__init__.py +3 -0
  18. merge/resources/ats/resources/async_passthrough/client.py +9 -9
  19. merge/resources/ats/resources/async_passthrough/types/__init__.py +5 -0
  20. merge/resources/ats/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  21. merge/resources/ats/resources/attachments/client.py +12 -2
  22. merge/resources/ats/resources/candidates/client.py +12 -2
  23. merge/resources/ats/resources/departments/client.py +12 -2
  24. merge/resources/ats/resources/eeocs/client.py +12 -2
  25. merge/resources/ats/resources/force_resync/client.py +2 -2
  26. merge/resources/ats/resources/interviews/client.py +12 -2
  27. merge/resources/ats/resources/job_interview_stages/client.py +12 -2
  28. merge/resources/ats/resources/job_postings/client.py +12 -2
  29. merge/resources/ats/resources/jobs/client.py +24 -4
  30. merge/resources/ats/resources/link_token/client.py +13 -6
  31. merge/resources/ats/resources/linked_accounts/client.py +2 -2
  32. merge/resources/ats/resources/offers/client.py +12 -2
  33. merge/resources/ats/resources/offices/client.py +12 -2
  34. merge/resources/ats/resources/reject_reasons/client.py +12 -2
  35. merge/resources/ats/resources/scopes/client.py +6 -6
  36. merge/resources/ats/resources/scorecards/client.py +12 -2
  37. merge/resources/ats/resources/tags/client.py +12 -2
  38. merge/resources/ats/resources/users/client.py +12 -2
  39. merge/resources/ats/types/__init__.py +2 -0
  40. merge/resources/ats/types/account_details.py +5 -0
  41. merge/resources/ats/types/account_details_and_actions.py +2 -0
  42. merge/resources/ats/types/account_details_and_actions_status_enum.py +5 -0
  43. merge/resources/ats/types/account_integration.py +2 -2
  44. merge/resources/ats/types/activity.py +1 -1
  45. merge/resources/ats/types/application.py +5 -1
  46. merge/resources/ats/types/attachment.py +5 -1
  47. merge/resources/ats/types/candidate.py +5 -1
  48. merge/resources/ats/types/department.py +1 -1
  49. merge/resources/ats/types/eeoc.py +1 -1
  50. merge/resources/ats/types/email_address.py +1 -1
  51. merge/resources/ats/types/job.py +1 -1
  52. merge/resources/ats/types/job_interview_stage.py +1 -1
  53. merge/resources/ats/types/job_posting.py +1 -1
  54. merge/resources/ats/types/language_enum.py +22 -0
  55. merge/resources/ats/types/offer.py +1 -1
  56. merge/resources/ats/types/office.py +1 -1
  57. merge/resources/ats/types/phone_number.py +1 -1
  58. merge/resources/ats/types/reject_reason.py +1 -1
  59. merge/resources/ats/types/remote_user.py +1 -1
  60. merge/resources/ats/types/scheduled_interview.py +1 -1
  61. merge/resources/ats/types/scorecard.py +1 -1
  62. merge/resources/ats/types/screening_question.py +1 -1
  63. merge/resources/ats/types/screening_question_answer.py +1 -1
  64. merge/resources/ats/types/screening_question_option.py +1 -1
  65. merge/resources/ats/types/tag.py +1 -1
  66. merge/resources/ats/types/url.py +1 -1
  67. merge/resources/crm/__init__.py +4 -0
  68. merge/resources/crm/resources/__init__.py +2 -0
  69. merge/resources/crm/resources/accounts/client.py +24 -4
  70. merge/resources/crm/resources/association_types/client.py +12 -2
  71. merge/resources/crm/resources/associations/client.py +12 -2
  72. merge/resources/crm/resources/async_passthrough/__init__.py +3 -0
  73. merge/resources/crm/resources/async_passthrough/client.py +9 -9
  74. merge/resources/crm/resources/async_passthrough/types/__init__.py +5 -0
  75. merge/resources/crm/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  76. merge/resources/crm/resources/contacts/client.py +24 -4
  77. merge/resources/crm/resources/custom_object_classes/client.py +12 -2
  78. merge/resources/crm/resources/custom_objects/client.py +24 -4
  79. merge/resources/crm/resources/engagement_types/client.py +24 -4
  80. merge/resources/crm/resources/engagements/client.py +24 -4
  81. merge/resources/crm/resources/force_resync/client.py +2 -2
  82. merge/resources/crm/resources/leads/client.py +24 -4
  83. merge/resources/crm/resources/link_token/client.py +13 -6
  84. merge/resources/crm/resources/linked_accounts/client.py +2 -2
  85. merge/resources/crm/resources/notes/client.py +24 -4
  86. merge/resources/crm/resources/opportunities/client.py +24 -4
  87. merge/resources/crm/resources/scopes/client.py +6 -6
  88. merge/resources/crm/resources/stages/client.py +24 -4
  89. merge/resources/crm/resources/tasks/client.py +24 -4
  90. merge/resources/crm/resources/users/client.py +24 -4
  91. merge/resources/crm/types/__init__.py +2 -0
  92. merge/resources/crm/types/account.py +5 -1
  93. merge/resources/crm/types/account_details.py +5 -0
  94. merge/resources/crm/types/account_details_and_actions.py +2 -0
  95. merge/resources/crm/types/account_details_and_actions_status_enum.py +5 -0
  96. merge/resources/crm/types/account_integration.py +2 -2
  97. merge/resources/crm/types/contact.py +5 -1
  98. merge/resources/crm/types/engagement.py +1 -1
  99. merge/resources/crm/types/language_enum.py +22 -0
  100. merge/resources/crm/types/lead.py +5 -1
  101. merge/resources/crm/types/note.py +5 -1
  102. merge/resources/crm/types/opportunity.py +5 -1
  103. merge/resources/crm/types/stage.py +1 -1
  104. merge/resources/crm/types/task.py +1 -1
  105. merge/resources/crm/types/user.py +1 -1
  106. merge/resources/filestorage/__init__.py +4 -0
  107. merge/resources/filestorage/resources/__init__.py +2 -0
  108. merge/resources/filestorage/resources/async_passthrough/__init__.py +3 -0
  109. merge/resources/filestorage/resources/async_passthrough/client.py +9 -9
  110. merge/resources/filestorage/resources/async_passthrough/types/__init__.py +5 -0
  111. merge/resources/filestorage/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  112. merge/resources/filestorage/resources/drives/client.py +12 -2
  113. merge/resources/filestorage/resources/files/client.py +12 -2
  114. merge/resources/filestorage/resources/folders/client.py +12 -2
  115. merge/resources/filestorage/resources/force_resync/client.py +2 -2
  116. merge/resources/filestorage/resources/groups/client.py +12 -2
  117. merge/resources/filestorage/resources/link_token/client.py +13 -6
  118. merge/resources/filestorage/resources/linked_accounts/client.py +2 -2
  119. merge/resources/filestorage/resources/scopes/client.py +6 -6
  120. merge/resources/filestorage/resources/users/client.py +12 -2
  121. merge/resources/filestorage/types/__init__.py +2 -0
  122. merge/resources/filestorage/types/account_details.py +5 -0
  123. merge/resources/filestorage/types/account_details_and_actions.py +2 -0
  124. merge/resources/filestorage/types/account_details_and_actions_status_enum.py +5 -0
  125. merge/resources/filestorage/types/account_integration.py +2 -2
  126. merge/resources/filestorage/types/drive.py +1 -1
  127. merge/resources/filestorage/types/file.py +1 -1
  128. merge/resources/filestorage/types/folder.py +1 -1
  129. merge/resources/filestorage/types/group.py +1 -1
  130. merge/resources/filestorage/types/language_enum.py +22 -0
  131. merge/resources/filestorage/types/user.py +1 -1
  132. merge/resources/hris/__init__.py +4 -0
  133. merge/resources/hris/resources/__init__.py +2 -0
  134. merge/resources/hris/resources/async_passthrough/__init__.py +3 -0
  135. merge/resources/hris/resources/async_passthrough/client.py +9 -9
  136. merge/resources/hris/resources/async_passthrough/types/__init__.py +5 -0
  137. merge/resources/hris/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  138. merge/resources/hris/resources/bank_info/client.py +12 -2
  139. merge/resources/hris/resources/benefits/client.py +12 -2
  140. merge/resources/hris/resources/companies/client.py +12 -2
  141. merge/resources/hris/resources/dependents/client.py +12 -2
  142. merge/resources/hris/resources/employee_payroll_runs/client.py +12 -2
  143. merge/resources/hris/resources/employees/client.py +12 -2
  144. merge/resources/hris/resources/employer_benefits/client.py +12 -2
  145. merge/resources/hris/resources/employments/client.py +12 -2
  146. merge/resources/hris/resources/force_resync/client.py +2 -2
  147. merge/resources/hris/resources/groups/client.py +12 -2
  148. merge/resources/hris/resources/link_token/client.py +13 -6
  149. merge/resources/hris/resources/linked_accounts/client.py +2 -2
  150. merge/resources/hris/resources/locations/client.py +12 -2
  151. merge/resources/hris/resources/pay_groups/client.py +12 -2
  152. merge/resources/hris/resources/payroll_runs/client.py +12 -2
  153. merge/resources/hris/resources/scopes/client.py +6 -6
  154. merge/resources/hris/resources/teams/client.py +12 -2
  155. merge/resources/hris/resources/time_off/client.py +12 -2
  156. merge/resources/hris/resources/time_off_balances/client.py +12 -2
  157. merge/resources/hris/resources/timesheet_entries/client.py +12 -2
  158. merge/resources/hris/types/__init__.py +2 -0
  159. merge/resources/hris/types/account_details.py +5 -0
  160. merge/resources/hris/types/account_details_and_actions.py +2 -0
  161. merge/resources/hris/types/account_details_and_actions_status_enum.py +5 -0
  162. merge/resources/hris/types/account_integration.py +2 -2
  163. merge/resources/hris/types/bank_info.py +1 -1
  164. merge/resources/hris/types/benefit.py +1 -1
  165. merge/resources/hris/types/company.py +1 -1
  166. merge/resources/hris/types/deduction.py +1 -1
  167. merge/resources/hris/types/dependent.py +1 -1
  168. merge/resources/hris/types/earning.py +1 -1
  169. merge/resources/hris/types/employee.py +5 -1
  170. merge/resources/hris/types/employee_payroll_run.py +1 -1
  171. merge/resources/hris/types/employer_benefit.py +1 -1
  172. merge/resources/hris/types/employment.py +2 -2
  173. merge/resources/hris/types/group.py +1 -1
  174. merge/resources/hris/types/language_enum.py +22 -0
  175. merge/resources/hris/types/location.py +1 -1
  176. merge/resources/hris/types/pay_group.py +1 -1
  177. merge/resources/hris/types/payroll_run.py +1 -1
  178. merge/resources/hris/types/tax.py +1 -1
  179. merge/resources/hris/types/team.py +1 -1
  180. merge/resources/hris/types/time_off.py +5 -1
  181. merge/resources/hris/types/time_off_balance.py +3 -3
  182. merge/resources/hris/types/timesheet_entry.py +1 -1
  183. merge/resources/ticketing/__init__.py +4 -0
  184. merge/resources/ticketing/resources/__init__.py +2 -0
  185. merge/resources/ticketing/resources/accounts/client.py +12 -2
  186. merge/resources/ticketing/resources/async_passthrough/__init__.py +3 -0
  187. merge/resources/ticketing/resources/async_passthrough/client.py +9 -9
  188. merge/resources/ticketing/resources/async_passthrough/types/__init__.py +5 -0
  189. merge/resources/ticketing/resources/async_passthrough/types/async_passthrough_retrieve_response.py +6 -0
  190. merge/resources/ticketing/resources/attachments/client.py +12 -2
  191. merge/resources/ticketing/resources/collections/client.py +24 -4
  192. merge/resources/ticketing/resources/comments/client.py +12 -2
  193. merge/resources/ticketing/resources/contacts/client.py +12 -2
  194. merge/resources/ticketing/resources/force_resync/client.py +2 -2
  195. merge/resources/ticketing/resources/link_token/client.py +13 -6
  196. merge/resources/ticketing/resources/linked_accounts/client.py +2 -2
  197. merge/resources/ticketing/resources/projects/client.py +24 -4
  198. merge/resources/ticketing/resources/roles/client.py +12 -2
  199. merge/resources/ticketing/resources/scopes/client.py +6 -6
  200. merge/resources/ticketing/resources/tags/client.py +12 -2
  201. merge/resources/ticketing/resources/teams/client.py +12 -2
  202. merge/resources/ticketing/resources/tickets/client.py +36 -6
  203. merge/resources/ticketing/resources/users/client.py +12 -2
  204. merge/resources/ticketing/types/__init__.py +2 -0
  205. merge/resources/ticketing/types/account.py +1 -1
  206. merge/resources/ticketing/types/account_details.py +5 -0
  207. merge/resources/ticketing/types/account_details_and_actions.py +2 -0
  208. merge/resources/ticketing/types/account_details_and_actions_status_enum.py +5 -0
  209. merge/resources/ticketing/types/account_integration.py +2 -2
  210. merge/resources/ticketing/types/attachment.py +5 -1
  211. merge/resources/ticketing/types/collection.py +1 -1
  212. merge/resources/ticketing/types/comment.py +7 -3
  213. merge/resources/ticketing/types/comment_request.py +2 -2
  214. merge/resources/ticketing/types/contact.py +1 -1
  215. merge/resources/ticketing/types/language_enum.py +22 -0
  216. merge/resources/ticketing/types/project.py +1 -1
  217. merge/resources/ticketing/types/role.py +1 -1
  218. merge/resources/ticketing/types/tag.py +1 -1
  219. merge/resources/ticketing/types/team.py +1 -1
  220. merge/resources/ticketing/types/ticket.py +5 -1
  221. merge/resources/ticketing/types/user.py +1 -1
  222. {mergepythonclient-1.1.0.dist-info → mergepythonclient-1.1.2.dist-info}/METADATA +1 -1
  223. {mergepythonclient-1.1.0.dist-info → mergepythonclient-1.1.2.dist-info}/RECORD +225 -208
  224. {mergepythonclient-1.1.0.dist-info → mergepythonclient-1.1.2.dist-info}/LICENSE.md +0 -0
  225. {mergepythonclient-1.1.0.dist-info → mergepythonclient-1.1.2.dist-info}/WHEEL +0 -0
merge/client.py CHANGED
@@ -5,16 +5,16 @@ from .environment import MergeEnvironment
5
5
  import httpx
6
6
  from .core.client_wrapper import SyncClientWrapper
7
7
  from .resources.filestorage.client import FilestorageClient
8
- from .resources.hris.client import HrisClient
9
- from .resources.crm.client import CrmClient
10
8
  from .resources.ats.client import AtsClient
9
+ from .resources.crm.client import CrmClient
10
+ from .resources.hris.client import HrisClient
11
11
  from .resources.ticketing.client import TicketingClient
12
12
  from .resources.accounting.client import AccountingClient
13
13
  from .core.client_wrapper import AsyncClientWrapper
14
14
  from .resources.filestorage.client import AsyncFilestorageClient
15
- from .resources.hris.client import AsyncHrisClient
16
- from .resources.crm.client import AsyncCrmClient
17
15
  from .resources.ats.client import AsyncAtsClient
16
+ from .resources.crm.client import AsyncCrmClient
17
+ from .resources.hris.client import AsyncHrisClient
18
18
  from .resources.ticketing.client import AsyncTicketingClient
19
19
  from .resources.accounting.client import AsyncAccountingClient
20
20
 
@@ -82,9 +82,9 @@ class Merge:
82
82
  timeout=_defaulted_timeout,
83
83
  )
84
84
  self.filestorage = FilestorageClient(client_wrapper=self._client_wrapper)
85
- self.hris = HrisClient(client_wrapper=self._client_wrapper)
86
- self.crm = CrmClient(client_wrapper=self._client_wrapper)
87
85
  self.ats = AtsClient(client_wrapper=self._client_wrapper)
86
+ self.crm = CrmClient(client_wrapper=self._client_wrapper)
87
+ self.hris = HrisClient(client_wrapper=self._client_wrapper)
88
88
  self.ticketing = TicketingClient(client_wrapper=self._client_wrapper)
89
89
  self.accounting = AccountingClient(client_wrapper=self._client_wrapper)
90
90
 
@@ -152,9 +152,9 @@ class AsyncMerge:
152
152
  timeout=_defaulted_timeout,
153
153
  )
154
154
  self.filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper)
155
- self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
156
- self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
157
155
  self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper)
156
+ self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
157
+ self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
158
158
  self.ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper)
159
159
  self.accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper)
160
160
 
@@ -24,7 +24,7 @@ class BaseClientWrapper:
24
24
  headers: typing.Dict[str, str] = {
25
25
  "X-Fern-Language": "Python",
26
26
  "X-Fern-SDK-Name": "MergePythonClient",
27
- "X-Fern-SDK-Version": "1.1.0",
27
+ "X-Fern-SDK-Version": "1.1.2",
28
28
  }
29
29
  if self._account_token is not None:
30
30
  headers["X-Account-Token"] = self._account_token
@@ -345,6 +345,7 @@ from .resources import (
345
345
  AccountsListRequestShowEnumOrigins,
346
346
  AccountsRetrieveRequestRemoteFields,
347
347
  AccountsRetrieveRequestShowEnumOrigins,
348
+ AsyncPassthroughRetrieveResponse,
348
349
  CompanyInfoListRequestExpand,
349
350
  CompanyInfoRetrieveRequestExpand,
350
351
  ContactsListRequestExpand,
@@ -452,6 +453,7 @@ __all__ = [
452
453
  "AddressTypeEnum",
453
454
  "AdvancedMetadata",
454
455
  "AsyncPassthroughReciept",
456
+ "AsyncPassthroughRetrieveResponse",
455
457
  "AuditLogEvent",
456
458
  "AuditLogEventEventType",
457
459
  "AuditLogEventRole",
@@ -46,6 +46,7 @@ from .accounts import (
46
46
  AccountsRetrieveRequestRemoteFields,
47
47
  AccountsRetrieveRequestShowEnumOrigins,
48
48
  )
49
+ from .async_passthrough import AsyncPassthroughRetrieveResponse
49
50
  from .company_info import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand
50
51
  from .contacts import ContactsListRequestExpand, ContactsRetrieveRequestExpand
51
52
  from .credit_notes import (
@@ -72,6 +73,7 @@ __all__ = [
72
73
  "AccountsListRequestShowEnumOrigins",
73
74
  "AccountsRetrieveRequestRemoteFields",
74
75
  "AccountsRetrieveRequestShowEnumOrigins",
76
+ "AsyncPassthroughRetrieveResponse",
75
77
  "CompanyInfoListRequestExpand",
76
78
  "CompanyInfoRetrieveRequestExpand",
77
79
  "ContactsListRequestExpand",
@@ -1,2 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from .types import AsyncPassthroughRetrieveResponse
4
+
5
+ __all__ = ["AsyncPassthroughRetrieveResponse"]
@@ -8,7 +8,7 @@ from ...types.async_passthrough_reciept import AsyncPassthroughReciept
8
8
  from .....core.pydantic_utilities import parse_obj_as
9
9
  from json.decoder import JSONDecodeError
10
10
  from .....core.api_error import ApiError
11
- from ...types.remote_response import RemoteResponse
11
+ from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
12
12
  from .....core.jsonable_encoder import jsonable_encoder
13
13
  from .....core.client_wrapper import AsyncClientWrapper
14
14
 
@@ -77,7 +77,7 @@ class AsyncPassthroughClient:
77
77
 
78
78
  def retrieve(
79
79
  self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None
80
- ) -> RemoteResponse:
80
+ ) -> AsyncPassthroughRetrieveResponse:
81
81
  """
82
82
  Retrieves data from earlier async-passthrough POST request
83
83
 
@@ -90,7 +90,7 @@ class AsyncPassthroughClient:
90
90
 
91
91
  Returns
92
92
  -------
93
- RemoteResponse
93
+ AsyncPassthroughRetrieveResponse
94
94
 
95
95
 
96
96
  Examples
@@ -113,9 +113,9 @@ class AsyncPassthroughClient:
113
113
  try:
114
114
  if 200 <= _response.status_code < 300:
115
115
  return typing.cast(
116
- RemoteResponse,
116
+ AsyncPassthroughRetrieveResponse,
117
117
  parse_obj_as(
118
- type_=RemoteResponse, # type: ignore
118
+ type_=AsyncPassthroughRetrieveResponse, # type: ignore
119
119
  object_=_response.json(),
120
120
  ),
121
121
  )
@@ -194,7 +194,7 @@ class AsyncAsyncPassthroughClient:
194
194
 
195
195
  async def retrieve(
196
196
  self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None
197
- ) -> RemoteResponse:
197
+ ) -> AsyncPassthroughRetrieveResponse:
198
198
  """
199
199
  Retrieves data from earlier async-passthrough POST request
200
200
 
@@ -207,7 +207,7 @@ class AsyncAsyncPassthroughClient:
207
207
 
208
208
  Returns
209
209
  -------
210
- RemoteResponse
210
+ AsyncPassthroughRetrieveResponse
211
211
 
212
212
 
213
213
  Examples
@@ -238,9 +238,9 @@ class AsyncAsyncPassthroughClient:
238
238
  try:
239
239
  if 200 <= _response.status_code < 300:
240
240
  return typing.cast(
241
- RemoteResponse,
241
+ AsyncPassthroughRetrieveResponse,
242
242
  parse_obj_as(
243
- type_=RemoteResponse, # type: ignore
243
+ type_=AsyncPassthroughRetrieveResponse, # type: ignore
244
244
  object_=_response.json(),
245
245
  ),
246
246
  )
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
4
+
5
+ __all__ = ["AsyncPassthroughRetrieveResponse"]
@@ -0,0 +1,6 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from ....types.remote_response import RemoteResponse
5
+
6
+ AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str]
@@ -34,6 +34,7 @@ class ExternalTargetFieldApiResponse(UniversalBaseModel):
34
34
  general_ledger_transaction: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(
35
35
  alias="GeneralLedgerTransaction"
36
36
  )
37
+ bank_feed_account: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="BankFeedAccount")
37
38
 
38
39
  if IS_PYDANTIC_V2:
39
40
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -34,6 +34,7 @@ class FieldMappingApiInstanceResponse(UniversalBaseModel):
34
34
  general_ledger_transaction: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(
35
35
  alias="GeneralLedgerTransaction"
36
36
  )
37
+ bank_feed_account: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="BankFeedAccount")
37
38
 
38
39
  if IS_PYDANTIC_V2:
39
40
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -30,6 +30,7 @@ class RemoteFieldApiResponse(UniversalBaseModel):
30
30
  general_ledger_transaction: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(
31
31
  alias="GeneralLedgerTransaction"
32
32
  )
33
+ bank_feed_account: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="BankFeedAccount")
33
34
 
34
35
  if IS_PYDANTIC_V2:
35
36
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -51,6 +51,11 @@ class ReportItem(UniversalBaseModel):
51
51
  The company the report item belongs to.
52
52
  """
53
53
 
54
+ remote_was_deleted: typing.Optional[bool] = pydantic.Field()
55
+ """
56
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
57
+ """
58
+
54
59
  if IS_PYDANTIC_V2:
55
60
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
56
61
  else:
@@ -108,6 +108,7 @@ from .types import (
108
108
  JobStatus,
109
109
  JobStatusEnum,
110
110
  JobTypeEnum,
111
+ LanguageEnum,
111
112
  LinkToken,
112
113
  LinkedAccountStatus,
113
114
  MetaResponse,
@@ -217,6 +218,7 @@ from .resources import (
217
218
  ActivitiesRetrieveRequestShowEnumOrigins,
218
219
  ApplicationsListRequestExpand,
219
220
  ApplicationsRetrieveRequestExpand,
221
+ AsyncPassthroughRetrieveResponse,
220
222
  CandidatesListRequestExpand,
221
223
  CandidatesRetrieveRequestExpand,
222
224
  EeocsListRequestRemoteFields,
@@ -314,6 +316,7 @@ __all__ = [
314
316
  "ApplicationsListRequestExpand",
315
317
  "ApplicationsRetrieveRequestExpand",
316
318
  "AsyncPassthroughReciept",
319
+ "AsyncPassthroughRetrieveResponse",
317
320
  "Attachment",
318
321
  "AttachmentAttachmentType",
319
322
  "AttachmentRequest",
@@ -399,6 +402,7 @@ __all__ = [
399
402
  "JobsListRequestStatus",
400
403
  "JobsRetrieveRequestExpand",
401
404
  "JobsScreeningQuestionsListRequestExpand",
405
+ "LanguageEnum",
402
406
  "LinkToken",
403
407
  "LinkedAccountStatus",
404
408
  "LinkedAccountsListRequestCategory",
@@ -42,6 +42,7 @@ from .activities import (
42
42
  ActivitiesRetrieveRequestShowEnumOrigins,
43
43
  )
44
44
  from .applications import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand
45
+ from .async_passthrough import AsyncPassthroughRetrieveResponse
45
46
  from .candidates import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand
46
47
  from .eeocs import (
47
48
  EeocsListRequestRemoteFields,
@@ -69,6 +70,7 @@ __all__ = [
69
70
  "ActivitiesRetrieveRequestShowEnumOrigins",
70
71
  "ApplicationsListRequestExpand",
71
72
  "ApplicationsRetrieveRequestExpand",
73
+ "AsyncPassthroughRetrieveResponse",
72
74
  "CandidatesListRequestExpand",
73
75
  "CandidatesRetrieveRequestExpand",
74
76
  "EeocsListRequestRemoteFields",
@@ -37,6 +37,7 @@ class ActivitiesClient:
37
37
  expand: typing.Optional[typing.Literal["user"]] = None,
38
38
  include_deleted_data: typing.Optional[bool] = None,
39
39
  include_remote_data: typing.Optional[bool] = None,
40
+ include_shell_data: typing.Optional[bool] = None,
40
41
  modified_after: typing.Optional[dt.datetime] = None,
41
42
  modified_before: typing.Optional[dt.datetime] = None,
42
43
  page_size: typing.Optional[int] = None,
@@ -64,11 +65,14 @@ class ActivitiesClient:
64
65
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
65
66
 
66
67
  include_deleted_data : typing.Optional[bool]
67
- Whether to include data that was marked as deleted by third party webhooks.
68
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
68
69
 
69
70
  include_remote_data : typing.Optional[bool]
70
71
  Whether to include the original data Merge fetched from the third-party to produce these models.
71
72
 
73
+ include_shell_data : typing.Optional[bool]
74
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
75
+
72
76
  modified_after : typing.Optional[dt.datetime]
73
77
  If provided, only objects synced by Merge after this date time will be returned.
74
78
 
@@ -118,6 +122,7 @@ class ActivitiesClient:
118
122
  "expand": expand,
119
123
  "include_deleted_data": include_deleted_data,
120
124
  "include_remote_data": include_remote_data,
125
+ "include_shell_data": include_shell_data,
121
126
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
122
127
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
123
128
  "page_size": page_size,
@@ -347,6 +352,7 @@ class AsyncActivitiesClient:
347
352
  expand: typing.Optional[typing.Literal["user"]] = None,
348
353
  include_deleted_data: typing.Optional[bool] = None,
349
354
  include_remote_data: typing.Optional[bool] = None,
355
+ include_shell_data: typing.Optional[bool] = None,
350
356
  modified_after: typing.Optional[dt.datetime] = None,
351
357
  modified_before: typing.Optional[dt.datetime] = None,
352
358
  page_size: typing.Optional[int] = None,
@@ -374,11 +380,14 @@ class AsyncActivitiesClient:
374
380
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
375
381
 
376
382
  include_deleted_data : typing.Optional[bool]
377
- Whether to include data that was marked as deleted by third party webhooks.
383
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
378
384
 
379
385
  include_remote_data : typing.Optional[bool]
380
386
  Whether to include the original data Merge fetched from the third-party to produce these models.
381
387
 
388
+ include_shell_data : typing.Optional[bool]
389
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
390
+
382
391
  modified_after : typing.Optional[dt.datetime]
383
392
  If provided, only objects synced by Merge after this date time will be returned.
384
393
 
@@ -436,6 +445,7 @@ class AsyncActivitiesClient:
436
445
  "expand": expand,
437
446
  "include_deleted_data": include_deleted_data,
438
447
  "include_remote_data": include_remote_data,
448
+ "include_shell_data": include_shell_data,
439
449
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
440
450
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
441
451
  "page_size": page_size,
@@ -38,6 +38,7 @@ class ApplicationsClient:
38
38
  expand: typing.Optional[ApplicationsListRequestExpand] = None,
39
39
  include_deleted_data: typing.Optional[bool] = None,
40
40
  include_remote_data: typing.Optional[bool] = None,
41
+ include_shell_data: typing.Optional[bool] = None,
41
42
  job_id: typing.Optional[str] = None,
42
43
  modified_after: typing.Optional[dt.datetime] = None,
43
44
  modified_before: typing.Optional[dt.datetime] = None,
@@ -74,11 +75,14 @@ class ApplicationsClient:
74
75
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
75
76
 
76
77
  include_deleted_data : typing.Optional[bool]
77
- Whether to include data that was marked as deleted by third party webhooks.
78
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
78
79
 
79
80
  include_remote_data : typing.Optional[bool]
80
81
  Whether to include the original data Merge fetched from the third-party to produce these models.
81
82
 
83
+ include_shell_data : typing.Optional[bool]
84
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
85
+
82
86
  job_id : typing.Optional[str]
83
87
  If provided, will only return applications for this job.
84
88
 
@@ -131,6 +135,7 @@ class ApplicationsClient:
131
135
  "expand": expand,
132
136
  "include_deleted_data": include_deleted_data,
133
137
  "include_remote_data": include_remote_data,
138
+ "include_shell_data": include_shell_data,
134
139
  "job_id": job_id,
135
140
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
136
141
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
@@ -440,6 +445,7 @@ class AsyncApplicationsClient:
440
445
  expand: typing.Optional[ApplicationsListRequestExpand] = None,
441
446
  include_deleted_data: typing.Optional[bool] = None,
442
447
  include_remote_data: typing.Optional[bool] = None,
448
+ include_shell_data: typing.Optional[bool] = None,
443
449
  job_id: typing.Optional[str] = None,
444
450
  modified_after: typing.Optional[dt.datetime] = None,
445
451
  modified_before: typing.Optional[dt.datetime] = None,
@@ -476,11 +482,14 @@ class AsyncApplicationsClient:
476
482
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
477
483
 
478
484
  include_deleted_data : typing.Optional[bool]
479
- Whether to include data that was marked as deleted by third party webhooks.
485
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
480
486
 
481
487
  include_remote_data : typing.Optional[bool]
482
488
  Whether to include the original data Merge fetched from the third-party to produce these models.
483
489
 
490
+ include_shell_data : typing.Optional[bool]
491
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
492
+
484
493
  job_id : typing.Optional[str]
485
494
  If provided, will only return applications for this job.
486
495
 
@@ -541,6 +550,7 @@ class AsyncApplicationsClient:
541
550
  "expand": expand,
542
551
  "include_deleted_data": include_deleted_data,
543
552
  "include_remote_data": include_remote_data,
553
+ "include_shell_data": include_shell_data,
544
554
  "job_id": job_id,
545
555
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
546
556
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
@@ -1,2 +1,5 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
+ from .types import AsyncPassthroughRetrieveResponse
4
+
5
+ __all__ = ["AsyncPassthroughRetrieveResponse"]
@@ -8,7 +8,7 @@ from ...types.async_passthrough_reciept import AsyncPassthroughReciept
8
8
  from .....core.pydantic_utilities import parse_obj_as
9
9
  from json.decoder import JSONDecodeError
10
10
  from .....core.api_error import ApiError
11
- from ...types.remote_response import RemoteResponse
11
+ from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
12
12
  from .....core.jsonable_encoder import jsonable_encoder
13
13
  from .....core.client_wrapper import AsyncClientWrapper
14
14
 
@@ -77,7 +77,7 @@ class AsyncPassthroughClient:
77
77
 
78
78
  def retrieve(
79
79
  self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None
80
- ) -> RemoteResponse:
80
+ ) -> AsyncPassthroughRetrieveResponse:
81
81
  """
82
82
  Retrieves data from earlier async-passthrough POST request
83
83
 
@@ -90,7 +90,7 @@ class AsyncPassthroughClient:
90
90
 
91
91
  Returns
92
92
  -------
93
- RemoteResponse
93
+ AsyncPassthroughRetrieveResponse
94
94
 
95
95
 
96
96
  Examples
@@ -113,9 +113,9 @@ class AsyncPassthroughClient:
113
113
  try:
114
114
  if 200 <= _response.status_code < 300:
115
115
  return typing.cast(
116
- RemoteResponse,
116
+ AsyncPassthroughRetrieveResponse,
117
117
  parse_obj_as(
118
- type_=RemoteResponse, # type: ignore
118
+ type_=AsyncPassthroughRetrieveResponse, # type: ignore
119
119
  object_=_response.json(),
120
120
  ),
121
121
  )
@@ -194,7 +194,7 @@ class AsyncAsyncPassthroughClient:
194
194
 
195
195
  async def retrieve(
196
196
  self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None
197
- ) -> RemoteResponse:
197
+ ) -> AsyncPassthroughRetrieveResponse:
198
198
  """
199
199
  Retrieves data from earlier async-passthrough POST request
200
200
 
@@ -207,7 +207,7 @@ class AsyncAsyncPassthroughClient:
207
207
 
208
208
  Returns
209
209
  -------
210
- RemoteResponse
210
+ AsyncPassthroughRetrieveResponse
211
211
 
212
212
 
213
213
  Examples
@@ -238,9 +238,9 @@ class AsyncAsyncPassthroughClient:
238
238
  try:
239
239
  if 200 <= _response.status_code < 300:
240
240
  return typing.cast(
241
- RemoteResponse,
241
+ AsyncPassthroughRetrieveResponse,
242
242
  parse_obj_as(
243
- type_=RemoteResponse, # type: ignore
243
+ type_=AsyncPassthroughRetrieveResponse, # type: ignore
244
244
  object_=_response.json(),
245
245
  ),
246
246
  )
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse
4
+
5
+ __all__ = ["AsyncPassthroughRetrieveResponse"]
@@ -0,0 +1,6 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from ....types.remote_response import RemoteResponse
5
+
6
+ AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str]
@@ -34,6 +34,7 @@ class AttachmentsClient:
34
34
  expand: typing.Optional[typing.Literal["candidate"]] = None,
35
35
  include_deleted_data: typing.Optional[bool] = None,
36
36
  include_remote_data: typing.Optional[bool] = None,
37
+ include_shell_data: typing.Optional[bool] = None,
37
38
  modified_after: typing.Optional[dt.datetime] = None,
38
39
  modified_before: typing.Optional[dt.datetime] = None,
39
40
  page_size: typing.Optional[int] = None,
@@ -63,11 +64,14 @@ class AttachmentsClient:
63
64
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
64
65
 
65
66
  include_deleted_data : typing.Optional[bool]
66
- Whether to include data that was marked as deleted by third party webhooks.
67
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
67
68
 
68
69
  include_remote_data : typing.Optional[bool]
69
70
  Whether to include the original data Merge fetched from the third-party to produce these models.
70
71
 
72
+ include_shell_data : typing.Optional[bool]
73
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
74
+
71
75
  modified_after : typing.Optional[dt.datetime]
72
76
  If provided, only objects synced by Merge after this date time will be returned.
73
77
 
@@ -115,6 +119,7 @@ class AttachmentsClient:
115
119
  "expand": expand,
116
120
  "include_deleted_data": include_deleted_data,
117
121
  "include_remote_data": include_remote_data,
122
+ "include_shell_data": include_shell_data,
118
123
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
119
124
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
120
125
  "page_size": page_size,
@@ -344,6 +349,7 @@ class AsyncAttachmentsClient:
344
349
  expand: typing.Optional[typing.Literal["candidate"]] = None,
345
350
  include_deleted_data: typing.Optional[bool] = None,
346
351
  include_remote_data: typing.Optional[bool] = None,
352
+ include_shell_data: typing.Optional[bool] = None,
347
353
  modified_after: typing.Optional[dt.datetime] = None,
348
354
  modified_before: typing.Optional[dt.datetime] = None,
349
355
  page_size: typing.Optional[int] = None,
@@ -373,11 +379,14 @@ class AsyncAttachmentsClient:
373
379
  Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
374
380
 
375
381
  include_deleted_data : typing.Optional[bool]
376
- Whether to include data that was marked as deleted by third party webhooks.
382
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
377
383
 
378
384
  include_remote_data : typing.Optional[bool]
379
385
  Whether to include the original data Merge fetched from the third-party to produce these models.
380
386
 
387
+ include_shell_data : typing.Optional[bool]
388
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
389
+
381
390
  modified_after : typing.Optional[dt.datetime]
382
391
  If provided, only objects synced by Merge after this date time will be returned.
383
392
 
@@ -433,6 +442,7 @@ class AsyncAttachmentsClient:
433
442
  "expand": expand,
434
443
  "include_deleted_data": include_deleted_data,
435
444
  "include_remote_data": include_remote_data,
445
+ "include_shell_data": include_shell_data,
436
446
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
437
447
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
438
448
  "page_size": page_size,
@@ -39,6 +39,7 @@ class CandidatesClient:
39
39
  first_name: typing.Optional[str] = None,
40
40
  include_deleted_data: typing.Optional[bool] = None,
41
41
  include_remote_data: typing.Optional[bool] = None,
42
+ include_shell_data: typing.Optional[bool] = None,
42
43
  last_name: typing.Optional[str] = None,
43
44
  modified_after: typing.Optional[dt.datetime] = None,
44
45
  modified_before: typing.Optional[dt.datetime] = None,
@@ -71,11 +72,14 @@ class CandidatesClient:
71
72
  If provided, will only return candidates with this first name.
72
73
 
73
74
  include_deleted_data : typing.Optional[bool]
74
- Whether to include data that was marked as deleted by third party webhooks.
75
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
75
76
 
76
77
  include_remote_data : typing.Optional[bool]
77
78
  Whether to include the original data Merge fetched from the third-party to produce these models.
78
79
 
80
+ include_shell_data : typing.Optional[bool]
81
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
82
+
79
83
  last_name : typing.Optional[str]
80
84
  If provided, will only return candidates with this last name.
81
85
 
@@ -124,6 +128,7 @@ class CandidatesClient:
124
128
  "first_name": first_name,
125
129
  "include_deleted_data": include_deleted_data,
126
130
  "include_remote_data": include_remote_data,
131
+ "include_shell_data": include_shell_data,
127
132
  "last_name": last_name,
128
133
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
129
134
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,
@@ -527,6 +532,7 @@ class AsyncCandidatesClient:
527
532
  first_name: typing.Optional[str] = None,
528
533
  include_deleted_data: typing.Optional[bool] = None,
529
534
  include_remote_data: typing.Optional[bool] = None,
535
+ include_shell_data: typing.Optional[bool] = None,
530
536
  last_name: typing.Optional[str] = None,
531
537
  modified_after: typing.Optional[dt.datetime] = None,
532
538
  modified_before: typing.Optional[dt.datetime] = None,
@@ -559,11 +565,14 @@ class AsyncCandidatesClient:
559
565
  If provided, will only return candidates with this first name.
560
566
 
561
567
  include_deleted_data : typing.Optional[bool]
562
- Whether to include data that was marked as deleted by third party webhooks.
568
+ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
563
569
 
564
570
  include_remote_data : typing.Optional[bool]
565
571
  Whether to include the original data Merge fetched from the third-party to produce these models.
566
572
 
573
+ include_shell_data : typing.Optional[bool]
574
+ Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
575
+
567
576
  last_name : typing.Optional[str]
568
577
  If provided, will only return candidates with this last name.
569
578
 
@@ -620,6 +629,7 @@ class AsyncCandidatesClient:
620
629
  "first_name": first_name,
621
630
  "include_deleted_data": include_deleted_data,
622
631
  "include_remote_data": include_remote_data,
632
+ "include_shell_data": include_shell_data,
623
633
  "last_name": last_name,
624
634
  "modified_after": serialize_datetime(modified_after) if modified_after is not None else None,
625
635
  "modified_before": serialize_datetime(modified_before) if modified_before is not None else None,