Skip to content

Commit

Permalink
July Merge API Sync (#95)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Jul 26, 2024
1 parent f5df8b6 commit 5233f8f
Show file tree
Hide file tree
Showing 88 changed files with 3,846 additions and 167 deletions.
201 changes: 107 additions & 94 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "MergePythonClient"
version = "1.0.12"
version = "1.0.13"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/merge/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def __init__(
)
self.ats = AtsClient(client_wrapper=self._client_wrapper)
self.crm = CrmClient(client_wrapper=self._client_wrapper)
self.hris = HrisClient(client_wrapper=self._client_wrapper)
self.filestorage = FilestorageClient(client_wrapper=self._client_wrapper)
self.hris = HrisClient(client_wrapper=self._client_wrapper)
self.ticketing = TicketingClient(client_wrapper=self._client_wrapper)
self.accounting = AccountingClient(client_wrapper=self._client_wrapper)

Expand Down Expand Up @@ -148,8 +148,8 @@ def __init__(
)
self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper)
self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
self.filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper)
self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper)
self.ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper)
self.accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper)

Expand Down
2 changes: 1 addition & 1 deletion src/merge/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "MergePythonClient",
"X-Fern-SDK-Version": "1.0.12",
"X-Fern-SDK-Version": "1.0.13",
}
if self._account_token is not None:
headers["X-Account-Token"] = self._account_token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class CreditNoteLineItem(pydantic_v1.BaseModel):
The credit note line item's associated tracking category.
"""

tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = pydantic_v1.Field()
tracking_categories: typing.List[str] = pydantic_v1.Field()
"""
The credit note line item's associated tracking categories.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class PurchaseOrderLineItem(pydantic_v1.BaseModel):
The purchase order line item's associated tracking category.
"""

tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = pydantic_v1.Field()
tracking_categories: typing.List[str] = pydantic_v1.Field()
"""
The purchase order line item's associated tracking categories.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PurchaseOrderLineItemRequest(pydantic_v1.BaseModel):
The purchase order line item's associated tracking category.
"""

tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = pydantic_v1.Field()
tracking_categories: typing.List[str] = pydantic_v1.Field()
"""
The purchase order line item's associated tracking categories.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class TransactionLineItem(pydantic_v1.BaseModel):
The line's associated tracking category.
"""

tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = pydantic_v1.Field()
tracking_categories: typing.List[str] = pydantic_v1.Field()
"""
The line's associated tracking categories.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/merge/resources/accounting/types/vendor_credit_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class VendorCreditLine(pydantic_v1.BaseModel):
The line's associated tracking category.
"""

tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = pydantic_v1.Field()
tracking_categories: typing.List[str] = pydantic_v1.Field()
"""
The line's associated tracking categories.
"""
Expand Down
12 changes: 12 additions & 0 deletions src/merge/resources/ats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
ApplicationRequestJob,
ApplicationRequestOffersItem,
ApplicationRequestRejectReason,
ApplicationRequestScreeningQuestionAnswersItem,
ApplicationResponse,
ApplicationScreeningQuestionAnswersItem,
AsyncPassthroughReciept,
Attachment,
AttachmentAttachmentType,
Expand Down Expand Up @@ -185,6 +187,10 @@
ScorecardInterviewer,
ScorecardOverallRecommendation,
ScreeningQuestion,
ScreeningQuestionAnswer,
ScreeningQuestionAnswerQuestion,
ScreeningQuestionAnswerRequest,
ScreeningQuestionAnswerRequestQuestion,
ScreeningQuestionJob,
ScreeningQuestionOption,
ScreeningQuestionType,
Expand Down Expand Up @@ -302,7 +308,9 @@
"ApplicationRequestJob",
"ApplicationRequestOffersItem",
"ApplicationRequestRejectReason",
"ApplicationRequestScreeningQuestionAnswersItem",
"ApplicationResponse",
"ApplicationScreeningQuestionAnswersItem",
"ApplicationsListRequestExpand",
"ApplicationsRetrieveRequestExpand",
"AsyncPassthroughReciept",
Expand Down Expand Up @@ -475,6 +483,10 @@
"ScorecardsListRequestExpand",
"ScorecardsRetrieveRequestExpand",
"ScreeningQuestion",
"ScreeningQuestionAnswer",
"ScreeningQuestionAnswerQuestion",
"ScreeningQuestionAnswerRequest",
"ScreeningQuestionAnswerRequestQuestion",
"ScreeningQuestionJob",
"ScreeningQuestionOption",
"ScreeningQuestionType",
Expand Down
Loading

0 comments on commit 5233f8f

Please sign in to comment.