Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jun 17, 2024
1 parent 652a735 commit 77d2639
Show file tree
Hide file tree
Showing 34 changed files with 2,007 additions and 15 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 = "schematichq"
version = "1.0.2"
version = "1.0.3"
description = ""
readme = "README.md"
authors = []
Expand Down
35 changes: 34 additions & 1 deletion src/schematic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
CheckFlagRequestBody,
CheckFlagResponseData,
CheckFlagsResponseData,
CompanyCrmDealsResponseData,
CompanyDetailResponseData,
CompanyMembershipDetailResponseData,
CompanyMembershipResponseData,
Expand All @@ -35,6 +36,11 @@
CreateReqCommon,
CreateReqCommonMetricPeriod,
CreateReqCommonValueType,
CrmDealLineItem,
CrmDealResponseData,
CrmLineItemResponseData,
CrmProductResponseData,
Decimal,
DeleteResponse,
EntityKeyDefinitionResponseData,
EntityKeyDetailResponseData,
Expand Down Expand Up @@ -92,11 +98,12 @@
UpsertUserSubRequestBody,
UserDetailResponseData,
UserResponseData,
WebhookEventDetailResponseData,
WebhookEventResponseData,
WebhookResponseData,
)
from .errors import BadRequestError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError
from . import accounts, billing, companies, entitlements, events, features, plans, webhooks
from . import accounts, billing, companies, crm, entitlements, events, features, plans, webhooks
from .accounts import (
CountApiKeysParams,
CountApiKeysResponse,
Expand Down Expand Up @@ -147,6 +154,8 @@
DeleteUserResponse,
GetActiveCompanySubscriptionParams,
GetActiveCompanySubscriptionResponse,
GetActiveDealsParams,
GetActiveDealsResponse,
GetCompanyResponse,
GetEntityTraitDefinitionResponse,
GetEntityTraitValuesParams,
Expand Down Expand Up @@ -177,6 +186,14 @@
UpsertUserResponse,
UpsertUserTraitResponse,
)
from .crm import (
ListCrmProductsParams,
ListCrmProductsResponse,
UpsertCrmDealResponse,
UpsertCrmProductResponse,
UpsertDealLineItemAssociationResponse,
UpsertLineItemResponse,
)
from .entitlements import (
CountCompanyOverridesParams,
CountCompanyOverridesResponse,
Expand Down Expand Up @@ -315,6 +332,7 @@
"CheckFlagResponseData",
"CheckFlagsResponse",
"CheckFlagsResponseData",
"CompanyCrmDealsResponseData",
"CompanyDetailResponseData",
"CompanyMembershipDetailResponseData",
"CompanyMembershipResponseData",
Expand Down Expand Up @@ -394,6 +412,11 @@
"CreateReqCommonValueType",
"CreateUserResponse",
"CreateWebhookResponse",
"CrmDealLineItem",
"CrmDealResponseData",
"CrmLineItemResponseData",
"CrmProductResponseData",
"Decimal",
"DeleteApiKeyResponse",
"DeleteAudienceResponse",
"DeleteCompanyByKeysResponse",
Expand Down Expand Up @@ -438,6 +461,8 @@
"ForbiddenError",
"GetActiveCompanySubscriptionParams",
"GetActiveCompanySubscriptionResponse",
"GetActiveDealsParams",
"GetActiveDealsResponse",
"GetApiKeyResponse",
"GetApiRequestResponse",
"GetAudienceResponse",
Expand Down Expand Up @@ -482,6 +507,8 @@
"ListCompanyOverridesResponse",
"ListCompanyPlansParams",
"ListCompanyPlansResponse",
"ListCrmProductsParams",
"ListCrmProductsResponse",
"ListEntityKeyDefinitionsParams",
"ListEntityKeyDefinitionsResponse",
"ListEntityTraitDefinitionsParams",
Expand Down Expand Up @@ -573,19 +600,25 @@
"UpsertCompanyRequestBody",
"UpsertCompanyResponse",
"UpsertCompanyTraitResponse",
"UpsertCrmDealResponse",
"UpsertCrmProductResponse",
"UpsertDealLineItemAssociationResponse",
"UpsertLineItemResponse",
"UpsertTraitRequestBody",
"UpsertUserRequestBody",
"UpsertUserResponse",
"UpsertUserSubRequestBody",
"UpsertUserTraitResponse",
"UserDetailResponseData",
"UserResponseData",
"WebhookEventDetailResponseData",
"WebhookEventResponseData",
"WebhookResponseData",
"__version__",
"accounts",
"billing",
"companies",
"crm",
"entitlements",
"events",
"features",
Expand Down
3 changes: 3 additions & 0 deletions src/schematic/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from .billing.client import AsyncBillingClient, BillingClient
from .companies.client import AsyncCompaniesClient, CompaniesClient
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .crm.client import AsyncCrmClient, CrmClient
from .entitlements.client import AsyncEntitlementsClient, EntitlementsClient
from .environment import SchematicEnvironment
from .events.client import AsyncEventsClient, EventsClient
Expand Down Expand Up @@ -79,6 +80,7 @@ def __init__(
self.billing = BillingClient(client_wrapper=self._client_wrapper)
self.companies = CompaniesClient(client_wrapper=self._client_wrapper)
self.entitlements = EntitlementsClient(client_wrapper=self._client_wrapper)
self.crm = CrmClient(client_wrapper=self._client_wrapper)
self.events = EventsClient(client_wrapper=self._client_wrapper)
self.plans = PlansClient(client_wrapper=self._client_wrapper)
self.webhooks = WebhooksClient(client_wrapper=self._client_wrapper)
Expand Down Expand Up @@ -147,6 +149,7 @@ def __init__(
self.billing = AsyncBillingClient(client_wrapper=self._client_wrapper)
self.companies = AsyncCompaniesClient(client_wrapper=self._client_wrapper)
self.entitlements = AsyncEntitlementsClient(client_wrapper=self._client_wrapper)
self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper)
self.events = AsyncEventsClient(client_wrapper=self._client_wrapper)
self.plans = AsyncPlansClient(client_wrapper=self._client_wrapper)
self.webhooks = AsyncWebhooksClient(client_wrapper=self._client_wrapper)
Expand Down
4 changes: 4 additions & 0 deletions src/schematic/companies/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
DeleteUserResponse,
GetActiveCompanySubscriptionParams,
GetActiveCompanySubscriptionResponse,
GetActiveDealsParams,
GetActiveDealsResponse,
GetCompanyResponse,
GetEntityTraitDefinitionResponse,
GetEntityTraitValuesParams,
Expand Down Expand Up @@ -71,6 +73,8 @@
"DeleteUserResponse",
"GetActiveCompanySubscriptionParams",
"GetActiveCompanySubscriptionResponse",
"GetActiveDealsParams",
"GetActiveDealsResponse",
"GetCompanyResponse",
"GetEntityTraitDefinitionResponse",
"GetEntityTraitValuesParams",
Expand Down
Loading

0 comments on commit 77d2639

Please sign in to comment.