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 Nov 26, 2024
1 parent c11737c commit 2bbbd04
Show file tree
Hide file tree
Showing 114 changed files with 3,833 additions and 955 deletions.
242 changes: 125 additions & 117 deletions poetry.lock

Large diffs are not rendered by default.

1,083 changes: 866 additions & 217 deletions reference.md

Large diffs are not rendered by default.

82 changes: 60 additions & 22 deletions src/schematic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@
BillingCustomerResponseData,
BillingCustomerSubscription,
BillingCustomerWithSubscriptionsResponseData,
BillingPlan,
BillingMeterResponseData,
BillingPriceResponseData,
BillingPriceView,
BillingProductDetailResponseData,
BillingProductForSubscriptionResponseData,
BillingProductPlanResponseData,
BillingProductPriceResponseData,
BillingProductPricing,
BillingProductResponseData,
BillingSubscriptionResponseData,
BillingSubscriptionView,
CheckFlagOutputWithFlagKey,
CheckFlagRequestBody,
CheckFlagResponseData,
Expand All @@ -28,25 +31,30 @@
CompanyMembershipResponseData,
CompanyOverrideResponseData,
CompanyPlanDetailResponseData,
CompanyPlanWithBillingSubView,
CompanyResponseData,
CompanySubscriptionResponseData,
ComponentCapabilities,
ComponentHydrateResponseData,
ComponentPreviewResponseData,
ComponentResponseData,
CountResponse,
CreateEntitlementReqCommon,
CreateEntitlementReqCommonMetricPeriod,
CreateEntitlementReqCommonMetricPeriodMonthReset,
CreateEntitlementReqCommonValueType,
CreateEventRequestBody,
CreateEventRequestBodyEventType,
CreateFlagRequestBody,
CreateOrUpdateConditionGroupRequestBody,
CreateOrUpdateConditionRequestBody,
CreateOrUpdateConditionRequestBodyConditionType,
CreateOrUpdateConditionRequestBodyMetricPeriod,
CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset,
CreateOrUpdateConditionRequestBodyOperator,
CreateOrUpdateFlagRequestBody,
CreateOrUpdateRuleRequestBody,
CreateOrUpdateRuleRequestBodyRuleType,
CreateReqCommon,
CreateReqCommonMetricPeriod,
CreateReqCommonValueType,
CrmDealLineItem,
CrmDealResponseData,
CrmLineItemResponseData,
Expand Down Expand Up @@ -81,11 +89,12 @@
FeatureUsageResponseDataAllocationType,
FlagDetailResponseData,
FlagResponseData,
GenericPreviewObject,
InvoiceRequestBody,
InvoiceResponseData,
IssueTemporaryAccessTokenResponseData,
KeysRequestBody,
MetricCountsHourlyResponseData,
MeterRequestBody,
PaginationFilter,
PaymentMethodRequestBody,
PaymentMethodResponseData,
Expand All @@ -98,27 +107,29 @@
PlanGroupResponseData,
PlanResponseData,
PreviewObject,
PreviewObjectResponseData,
RawEventBatchResponseData,
RawEventResponseData,
RuleConditionDetailResponseData,
RuleConditionGroupDetailResponseData,
RuleConditionGroupResponseData,
RuleConditionResourceResponseData,
RuleConditionResponseData,
RuleDetailResponseData,
RuleResponseData,
RulesDetailResponseData,
SegmentStatusResp,
StripeEmbedInfo,
TemporaryAccessTokenResponseData,
UpdateReqCommon,
UpdateReqCommonMetricPeriod,
UpdateReqCommonValueType,
UpdateEntitlementReqCommon,
UpdateEntitlementReqCommonMetricPeriod,
UpdateEntitlementReqCommonMetricPeriodMonthReset,
UpdateEntitlementReqCommonValueType,
UpdateRuleRequestBody,
UpsertCompanyRequestBody,
UpsertTraitRequestBody,
UpsertUserRequestBody,
UpsertUserSubRequestBody,
UsageBasedEntitlementResponseData,
UserDetailResponseData,
UserResponseData,
WebhookEventDetailResponseData,
Expand Down Expand Up @@ -169,17 +180,23 @@
CountBillingProductsResponse,
CountCustomersParams,
CountCustomersResponse,
DeleteProductPriceResponse,
ListBillingProductsParams,
ListBillingProductsResponse,
ListCustomersParams,
ListCustomersResponse,
ListInvoicesParams,
ListInvoicesResponse,
ListMetersParams,
ListMetersResponse,
ListPaymentMethodsParams,
ListPaymentMethodsResponse,
ListProductPricesParams,
ListProductPricesResponse,
SearchBillingPricesParams,
SearchBillingPricesResponse,
UpsertBillingCustomerResponse,
UpsertBillingMeterResponse,
UpsertBillingPriceResponse,
UpsertBillingProductResponse,
UpsertBillingSubscriptionResponse,
Expand Down Expand Up @@ -284,9 +301,11 @@
CountPlanEntitlementsParams,
CountPlanEntitlementsResponse,
CreateCompanyOverrideRequestBodyMetricPeriod,
CreateCompanyOverrideRequestBodyMetricPeriodMonthReset,
CreateCompanyOverrideRequestBodyValueType,
CreateCompanyOverrideResponse,
CreatePlanEntitlementRequestBodyMetricPeriod,
CreatePlanEntitlementRequestBodyMetricPeriodMonthReset,
CreatePlanEntitlementRequestBodyValueType,
CreatePlanEntitlementResponse,
DeleteCompanyOverrideResponse,
Expand All @@ -306,9 +325,11 @@
ListPlanEntitlementsParams,
ListPlanEntitlementsResponse,
UpdateCompanyOverrideRequestBodyMetricPeriod,
UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset,
UpdateCompanyOverrideRequestBodyValueType,
UpdateCompanyOverrideResponse,
UpdatePlanEntitlementRequestBodyMetricPeriod,
UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset,
UpdatePlanEntitlementRequestBodyValueType,
UpdatePlanEntitlementResponse,
)
Expand All @@ -323,8 +344,6 @@
GetSegmentIntegrationStatusResponse,
ListEventsParams,
ListEventsResponse,
ListMetricCountsParams,
ListMetricCountsResponse,
)
from .features import (
CheckFlagResponse,
Expand Down Expand Up @@ -406,14 +425,17 @@
"BillingCustomerResponseData",
"BillingCustomerSubscription",
"BillingCustomerWithSubscriptionsResponseData",
"BillingPlan",
"BillingMeterResponseData",
"BillingPriceResponseData",
"BillingPriceView",
"BillingProductDetailResponseData",
"BillingProductForSubscriptionResponseData",
"BillingProductPlanResponseData",
"BillingProductPriceResponseData",
"BillingProductPricing",
"BillingProductResponseData",
"BillingSubscriptionResponseData",
"BillingSubscriptionView",
"CheckFlagOutputWithFlagKey",
"CheckFlagRequestBody",
"CheckFlagResponse",
Expand All @@ -426,9 +448,12 @@
"CompanyMembershipResponseData",
"CompanyOverrideResponseData",
"CompanyPlanDetailResponseData",
"CompanyPlanWithBillingSubView",
"CompanyResponseData",
"CompanySubscriptionResponseData",
"ComponentCapabilities",
"ComponentHydrateResponseData",
"ComponentPreviewResponseData",
"ComponentResponseData",
"CountApiKeysParams",
"CountApiKeysResponse",
Expand Down Expand Up @@ -481,11 +506,16 @@
"CountWebhooksResponse",
"CreateApiKeyResponse",
"CreateCompanyOverrideRequestBodyMetricPeriod",
"CreateCompanyOverrideRequestBodyMetricPeriodMonthReset",
"CreateCompanyOverrideRequestBodyValueType",
"CreateCompanyOverrideResponse",
"CreateCompanyResponse",
"CreateComponentRequestBodyEntityType",
"CreateComponentResponse",
"CreateEntitlementReqCommon",
"CreateEntitlementReqCommonMetricPeriod",
"CreateEntitlementReqCommonMetricPeriodMonthReset",
"CreateEntitlementReqCommonValueType",
"CreateEntityTraitDefinitionRequestBodyEntityType",
"CreateEntityTraitDefinitionRequestBodyTraitType",
"CreateEnvironmentRequestBodyEnvironmentType",
Expand All @@ -502,19 +532,18 @@
"CreateOrUpdateConditionRequestBody",
"CreateOrUpdateConditionRequestBodyConditionType",
"CreateOrUpdateConditionRequestBodyMetricPeriod",
"CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset",
"CreateOrUpdateConditionRequestBodyOperator",
"CreateOrUpdateFlagRequestBody",
"CreateOrUpdateRuleRequestBody",
"CreateOrUpdateRuleRequestBodyRuleType",
"CreatePlanEntitlementRequestBodyMetricPeriod",
"CreatePlanEntitlementRequestBodyMetricPeriodMonthReset",
"CreatePlanEntitlementRequestBodyValueType",
"CreatePlanEntitlementResponse",
"CreatePlanGroupResponse",
"CreatePlanRequestBodyPlanType",
"CreatePlanResponse",
"CreateReqCommon",
"CreateReqCommonMetricPeriod",
"CreateReqCommonValueType",
"CreateUserResponse",
"CreateWebhookRequestBodyRequestTypesItem",
"CreateWebhookResponse",
Expand All @@ -535,6 +564,7 @@
"DeleteFlagResponse",
"DeletePlanEntitlementResponse",
"DeletePlanResponse",
"DeleteProductPriceResponse",
"DeleteResponse",
"DeleteUserByKeysResponse",
"DeleteUserResponse",
Expand Down Expand Up @@ -568,6 +598,7 @@
"FlagDetailResponseData",
"FlagResponseData",
"ForbiddenError",
"GenericPreviewObject",
"GetActiveCompanySubscriptionParams",
"GetActiveCompanySubscriptionResponse",
"GetActiveDealsParams",
Expand Down Expand Up @@ -651,8 +682,8 @@
"ListFlagsResponse",
"ListInvoicesParams",
"ListInvoicesResponse",
"ListMetricCountsParams",
"ListMetricCountsResponse",
"ListMetersParams",
"ListMetersResponse",
"ListPaymentMethodsParams",
"ListPaymentMethodsResponse",
"ListPlanEntitlementsParams",
Expand All @@ -674,7 +705,7 @@
"LookupCompanyResponse",
"LookupUserParams",
"LookupUserResponse",
"MetricCountsHourlyResponseData",
"MeterRequestBody",
"NotFoundError",
"PaginationFilter",
"PaymentMethodRequestBody",
Expand All @@ -690,31 +721,38 @@
"PreviewComponentDataParams",
"PreviewComponentDataResponse",
"PreviewObject",
"PreviewObjectResponseData",
"RawEventBatchResponseData",
"RawEventResponseData",
"RuleConditionDetailResponseData",
"RuleConditionGroupDetailResponseData",
"RuleConditionGroupResponseData",
"RuleConditionResourceResponseData",
"RuleConditionResponseData",
"RuleDetailResponseData",
"RuleResponseData",
"RulesDetailResponseData",
"Schematic",
"SchematicConfig",
"SchematicEnvironment",
"SearchBillingPricesParams",
"SearchBillingPricesResponse",
"SegmentStatusResp",
"StripeEmbedInfo",
"TemporaryAccessTokenResponseData",
"UnauthorizedError",
"UpdateApiKeyResponse",
"UpdateAudienceResponse",
"UpdateCompanyOverrideRequestBodyMetricPeriod",
"UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset",
"UpdateCompanyOverrideRequestBodyValueType",
"UpdateCompanyOverrideResponse",
"UpdateComponentRequestBodyEntityType",
"UpdateComponentRequestBodyState",
"UpdateComponentResponse",
"UpdateEntitlementReqCommon",
"UpdateEntitlementReqCommonMetricPeriod",
"UpdateEntitlementReqCommonMetricPeriodMonthReset",
"UpdateEntitlementReqCommonValueType",
"UpdateEntityTraitDefinitionRequestBodyTraitType",
"UpdateEntityTraitDefinitionResponse",
"UpdateEnvironmentRequestBodyEnvironmentType",
Expand All @@ -724,18 +762,17 @@
"UpdateFlagResponse",
"UpdateFlagRulesResponse",
"UpdatePlanEntitlementRequestBodyMetricPeriod",
"UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset",
"UpdatePlanEntitlementRequestBodyValueType",
"UpdatePlanEntitlementResponse",
"UpdatePlanGroupResponse",
"UpdatePlanResponse",
"UpdateReqCommon",
"UpdateReqCommonMetricPeriod",
"UpdateReqCommonValueType",
"UpdateRuleRequestBody",
"UpdateWebhookRequestBodyRequestTypesItem",
"UpdateWebhookRequestBodyStatus",
"UpdateWebhookResponse",
"UpsertBillingCustomerResponse",
"UpsertBillingMeterResponse",
"UpsertBillingPriceResponse",
"UpsertBillingProductPlanResponse",
"UpsertBillingProductResponse",
Expand All @@ -754,6 +791,7 @@
"UpsertUserResponse",
"UpsertUserSubRequestBody",
"UpsertUserTraitResponse",
"UsageBasedEntitlementResponseData",
"UserDetailResponseData",
"UserResponseData",
"WebhookEventDetailResponseData",
Expand Down
6 changes: 6 additions & 0 deletions src/schematic/accesstokens/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ def issue_temporary_access_token(
"lookup": lookup,
"resource_type": resource_type,
},
headers={
"content-type": "application/json",
},
request_options=request_options,
omit=OMIT,
)
Expand Down Expand Up @@ -174,6 +177,9 @@ async def main() -> None:
"lookup": lookup,
"resource_type": resource_type,
},
headers={
"content-type": "application/json",
},
request_options=request_options,
omit=OMIT,
)
Expand Down
Loading

0 comments on commit 2bbbd04

Please sign in to comment.