@schematichq/schematic-typescript-node 1.2.2 → 1.2.3
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.
- package/dist/Client.d.ts +2 -2
- package/dist/api/resources/accesstokens/client/Client.d.ts +3 -3
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -3
- package/dist/api/resources/accounts/client/Client.d.ts +29 -8
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +4 -1
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +7 -1
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +4 -1
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +7 -1
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +4 -1
- package/dist/api/resources/accounts/types/ListApiKeysResponse.d.ts +0 -1
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -1
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.d.ts +0 -1
- package/dist/api/resources/billing/client/Client.d.ts +87 -15
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +7 -1
- package/dist/api/resources/billing/client/requests/{CreateBillingSubscriptionsRequestBody.d.ts → CreateBillingSubscriptionRequestBody.d.ts} +3 -2
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +6 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +7 -1
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +4 -1
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +4 -1
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +12 -1
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +28 -3
- package/dist/api/resources/billing/client/requests/index.d.ts +1 -1
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +8 -0
- package/dist/api/resources/billing/types/ListBillingProductsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListCouponsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListInvoicesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListMetersResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +7 -0
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -1
- package/dist/api/resources/billing/types/index.d.ts +2 -2
- package/dist/api/resources/checkout/client/Client.d.ts +59 -3
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.d.ts +1 -1
- package/dist/api/resources/checkout/types/ManagePlanResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/PreviewManagePlanResponse.d.ts +9 -0
- package/dist/api/resources/checkout/types/index.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +132 -19
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +15 -2
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +9 -1
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +5 -1
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +3 -1
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +4 -1
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +15 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +9 -1
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +6 -1
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +7 -1
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -1
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -1
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListPlanTraitsResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/ListUsersResponse.d.ts +0 -1
- package/dist/api/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +9 -0
- package/dist/api/resources/companies/types/index.d.ts +1 -0
- package/dist/api/resources/components/client/Client.d.ts +17 -6
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +5 -1
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +5 -1
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.d.ts +4 -1
- package/dist/api/resources/components/types/ListComponentsResponse.d.ts +0 -1
- package/dist/api/resources/credits/client/Client.d.ts +104 -12
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +6 -1
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +33 -0
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +5 -0
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +33 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +6 -1
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +7 -1
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +5 -1
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +19 -0
- package/dist/api/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/CountCreditLedgerResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +11 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +11 -0
- package/dist/api/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +5 -2
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +19 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.d.ts +0 -1
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +5 -2
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +8 -0
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +2 -1
- package/dist/api/resources/credits/types/index.d.ts +15 -0
- package/dist/api/resources/crm/client/Client.d.ts +8 -4
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +5 -1
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -1
- package/dist/api/resources/dataexports/client/Client.d.ts +3 -3
- package/dist/api/resources/entitlements/client/Client.d.ts +65 -13
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +7 -1
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +7 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +4 -1
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +8 -1
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.d.ts +0 -1
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.d.ts +0 -1
- package/dist/api/resources/events/client/Client.d.ts +16 -5
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +5 -1
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +8 -1
- package/dist/api/resources/events/types/GetEventSummariesResponse.d.ts +0 -1
- package/dist/api/resources/events/types/ListEventsResponse.d.ts +0 -1
- package/dist/api/resources/features/client/Client.d.ts +31 -7
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +11 -1
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +9 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +11 -1
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +9 -1
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +1 -0
- package/dist/api/resources/features/types/CountFlagsParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListAudienceUsersResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListFeaturesResponse.d.ts +0 -1
- package/dist/api/resources/features/types/ListFlagsParams.d.ts +1 -0
- package/dist/api/resources/features/types/ListFlagsResponse.d.ts +0 -1
- package/dist/api/resources/plangroups/client/Client.d.ts +21 -5
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +22 -1
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +22 -1
- package/dist/api/resources/plans/client/Client.d.ts +50 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +31 -1
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +12 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +31 -1
- package/dist/api/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +9 -0
- package/dist/api/resources/plans/types/ListPlanIssuesResponse.d.ts +9 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +8 -0
- package/dist/api/resources/plans/types/ListPlansResponse.d.ts +0 -1
- package/dist/api/resources/plans/types/index.d.ts +2 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +25 -7
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +6 -1
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +6 -1
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.d.ts +0 -1
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.d.ts +0 -1
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +0 -3
- package/dist/api/types/ApiKeyResponseData.d.ts +0 -3
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditLedgerResponseData.d.ts +11 -0
- package/dist/api/types/BillingCustomerResponseData.d.ts +0 -3
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +7 -0
- package/dist/api/types/BillingProductDetailResponseData.d.ts +2 -1
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +0 -3
- package/dist/api/types/BillingProductPricing.d.ts +2 -0
- package/dist/api/types/BillingProductResponseData.d.ts +2 -1
- package/dist/api/types/BillingSubscriptionView.d.ts +0 -3
- package/dist/api/types/CheckFlagResponseData.d.ts +0 -3
- package/dist/api/types/CheckFlagsResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutDataResponseData.d.ts +0 -3
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +8 -0
- package/dist/api/types/CheckoutSubscription.d.ts +25 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyLedgerResponseData.d.ts +8 -0
- package/dist/api/types/CompanyOverrideNoteResponseData.d.ts +11 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +1 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +9 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +4 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +4 -3
- package/dist/api/types/ComponentResponseData.d.ts +0 -3
- package/dist/api/types/Condition.d.ts +21 -0
- package/dist/api/types/ConditionGroup.d.ts +7 -0
- package/dist/api/types/CountResponse.d.ts +2 -4
- package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditGrantDetail.d.ts +10 -0
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +9 -0
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +27 -0
- package/dist/api/types/CreditUsage.d.ts +14 -0
- package/dist/api/types/CreditUsageResponseData.d.ts +14 -0
- package/dist/api/types/CrmDealResponseData.d.ts +0 -3
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -3
- package/dist/api/types/CrmProductResponseData.d.ts +0 -3
- package/dist/api/types/DataExportResponseData.d.ts +0 -3
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +0 -3
- package/dist/api/types/EnvironmentResponseData.d.ts +0 -3
- package/dist/api/types/FeatureCompanyResponseData.d.ts +34 -1
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +12 -0
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +2 -1
- package/dist/api/types/FeatureLedgerResponseData.d.ts +9 -0
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +8 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +25 -0
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +12 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +0 -3
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +7 -0
- package/dist/api/types/ManagePlanRequest.d.ts +15 -0
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +8 -0
- package/dist/api/types/PlanAudienceDetailResponseData.d.ts +0 -3
- package/dist/api/types/PlanCreditGrantView.d.ts +4 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +16 -3
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +11 -3
- package/dist/api/types/PlanIssueResponseData.d.ts +9 -0
- package/dist/api/types/PlanSelection.d.ts +7 -0
- package/dist/api/types/PlanTraitResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +0 -3
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
- package/dist/api/types/RawEventBatchResponseData.d.ts +0 -3
- package/dist/api/types/Rule.d.ts +16 -0
- package/dist/api/types/RulesDetailResponseData.d.ts +0 -3
- package/dist/api/types/SegmentStatusResp.d.ts +0 -3
- package/dist/api/types/TraitDefinition.d.ts +8 -0
- package/dist/api/types/UpdatePlanTraitTraitRequestBody.d.ts +7 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +24 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +0 -1
- package/dist/serialization/resources/billing/client/requests/{CreateBillingSubscriptionsRequestBody.d.ts → CreateBillingSubscriptionRequestBody.d.ts} +5 -4
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +10 -0
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +4 -0
- package/dist/serialization/resources/billing/types/index.d.ts +2 -2
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.d.ts +2 -2
- package/dist/serialization/resources/checkout/types/ManagePlanResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/PreviewManagePlanResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -0
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +14 -0
- package/dist/serialization/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/UpdatePlanTraitsBulkResponse.d.ts +14 -0
- package/dist/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +7 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +20 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +1 -1
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +20 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponse.d.ts +15 -0
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +10 -0
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +1 -1
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +10 -0
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +1 -1
- package/dist/serialization/resources/credits/types/index.d.ts +15 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +13 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlanIssuesResponse.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/serialization/resources/plans/types/index.d.ts +2 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/serialization/types/BillingCreditLedgerResponseData.d.ts +17 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +7 -0
- package/dist/serialization/types/BillingProductDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -0
- package/dist/serialization/types/BillingProductResponseData.d.ts +1 -1
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +14 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +31 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyLedgerResponseData.d.ts +14 -0
- package/dist/serialization/types/CompanyOverrideNoteResponseData.d.ts +17 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +15 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +5 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +5 -0
- package/dist/serialization/types/Condition.d.ts +27 -0
- package/dist/serialization/types/ConditionGroup.d.ts +13 -0
- package/dist/serialization/types/CountResponse.d.ts +1 -1
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditGrantDetail.d.ts +16 -0
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +35 -0
- package/dist/serialization/types/CreditUsage.d.ts +20 -0
- package/dist/serialization/types/CreditUsageResponseData.d.ts +20 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +28 -0
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +1 -1
- package/dist/serialization/types/FeatureLedgerResponseData.d.ts +15 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +9 -0
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +17 -0
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +13 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +23 -0
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +4 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +18 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanIssueResponseData.d.ts +15 -0
- package/dist/serialization/types/PlanSelection.d.ts +13 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
- package/dist/serialization/types/Rule.d.ts +23 -0
- package/dist/serialization/types/TraitDefinition.d.ts +14 -0
- package/dist/serialization/types/UpdatePlanTraitTraitRequestBody.d.ts +13 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +24 -0
- package/package.json +1 -1
- package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -10
|
@@ -9,7 +9,7 @@ export declare namespace Entitlements {
|
|
|
9
9
|
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
fetcher?: core.FetchFunction;
|
|
14
14
|
}
|
|
15
15
|
interface RequestOptions {
|
|
@@ -25,7 +25,7 @@ export declare namespace Entitlements {
|
|
|
25
25
|
}
|
|
26
26
|
export declare class Entitlements {
|
|
27
27
|
protected readonly _options: Entitlements.Options;
|
|
28
|
-
constructor(_options
|
|
28
|
+
constructor(_options?: Entitlements.Options);
|
|
29
29
|
/**
|
|
30
30
|
* @param {Schematic.ListCompanyOverridesRequest} request
|
|
31
31
|
* @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -37,7 +37,14 @@ export declare class Entitlements {
|
|
|
37
37
|
* @throws {@link Schematic.InternalServerError}
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
|
-
* await client.entitlements.listCompanyOverrides(
|
|
40
|
+
* await client.entitlements.listCompanyOverrides({
|
|
41
|
+
* companyId: "company_id",
|
|
42
|
+
* featureId: "feature_id",
|
|
43
|
+
* withoutExpired: true,
|
|
44
|
+
* q: "q",
|
|
45
|
+
* limit: 1,
|
|
46
|
+
* offset: 1
|
|
47
|
+
* })
|
|
41
48
|
*/
|
|
42
49
|
listCompanyOverrides(request?: Schematic.ListCompanyOverridesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyOverridesResponse>;
|
|
43
50
|
private __listCompanyOverrides;
|
|
@@ -118,7 +125,14 @@ export declare class Entitlements {
|
|
|
118
125
|
* @throws {@link Schematic.InternalServerError}
|
|
119
126
|
*
|
|
120
127
|
* @example
|
|
121
|
-
* await client.entitlements.countCompanyOverrides(
|
|
128
|
+
* await client.entitlements.countCompanyOverrides({
|
|
129
|
+
* companyId: "company_id",
|
|
130
|
+
* featureId: "feature_id",
|
|
131
|
+
* withoutExpired: true,
|
|
132
|
+
* q: "q",
|
|
133
|
+
* limit: 1,
|
|
134
|
+
* offset: 1
|
|
135
|
+
* })
|
|
122
136
|
*/
|
|
123
137
|
countCompanyOverrides(request?: Schematic.CountCompanyOverridesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyOverridesResponse>;
|
|
124
138
|
private __countCompanyOverrides;
|
|
@@ -134,7 +148,10 @@ export declare class Entitlements {
|
|
|
134
148
|
*
|
|
135
149
|
* @example
|
|
136
150
|
* await client.entitlements.listFeatureCompanies({
|
|
137
|
-
* featureId: "feature_id"
|
|
151
|
+
* featureId: "feature_id",
|
|
152
|
+
* q: "q",
|
|
153
|
+
* limit: 1,
|
|
154
|
+
* offset: 1
|
|
138
155
|
* })
|
|
139
156
|
*/
|
|
140
157
|
listFeatureCompanies(request: Schematic.ListFeatureCompaniesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureCompaniesResponse>;
|
|
@@ -151,7 +168,10 @@ export declare class Entitlements {
|
|
|
151
168
|
*
|
|
152
169
|
* @example
|
|
153
170
|
* await client.entitlements.countFeatureCompanies({
|
|
154
|
-
* featureId: "feature_id"
|
|
171
|
+
* featureId: "feature_id",
|
|
172
|
+
* q: "q",
|
|
173
|
+
* limit: 1,
|
|
174
|
+
* offset: 1
|
|
155
175
|
* })
|
|
156
176
|
*/
|
|
157
177
|
countFeatureCompanies(request: Schematic.CountFeatureCompaniesRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureCompaniesResponse>;
|
|
@@ -167,7 +187,13 @@ export declare class Entitlements {
|
|
|
167
187
|
* @throws {@link Schematic.InternalServerError}
|
|
168
188
|
*
|
|
169
189
|
* @example
|
|
170
|
-
* await client.entitlements.listFeatureUsage(
|
|
190
|
+
* await client.entitlements.listFeatureUsage({
|
|
191
|
+
* companyId: "company_id",
|
|
192
|
+
* q: "q",
|
|
193
|
+
* withoutNegativeEntitlements: true,
|
|
194
|
+
* limit: 1,
|
|
195
|
+
* offset: 1
|
|
196
|
+
* })
|
|
171
197
|
*/
|
|
172
198
|
listFeatureUsage(request?: Schematic.ListFeatureUsageRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsageResponse>;
|
|
173
199
|
private __listFeatureUsage;
|
|
@@ -182,7 +208,13 @@ export declare class Entitlements {
|
|
|
182
208
|
* @throws {@link Schematic.InternalServerError}
|
|
183
209
|
*
|
|
184
210
|
* @example
|
|
185
|
-
* await client.entitlements.countFeatureUsage(
|
|
211
|
+
* await client.entitlements.countFeatureUsage({
|
|
212
|
+
* companyId: "company_id",
|
|
213
|
+
* q: "q",
|
|
214
|
+
* withoutNegativeEntitlements: true,
|
|
215
|
+
* limit: 1,
|
|
216
|
+
* offset: 1
|
|
217
|
+
* })
|
|
186
218
|
*/
|
|
187
219
|
countFeatureUsage(request?: Schematic.CountFeatureUsageRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsageResponse>;
|
|
188
220
|
private __countFeatureUsage;
|
|
@@ -198,7 +230,10 @@ export declare class Entitlements {
|
|
|
198
230
|
*
|
|
199
231
|
* @example
|
|
200
232
|
* await client.entitlements.listFeatureUsers({
|
|
201
|
-
* featureId: "feature_id"
|
|
233
|
+
* featureId: "feature_id",
|
|
234
|
+
* q: "q",
|
|
235
|
+
* limit: 1,
|
|
236
|
+
* offset: 1
|
|
202
237
|
* })
|
|
203
238
|
*/
|
|
204
239
|
listFeatureUsers(request: Schematic.ListFeatureUsersRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListFeatureUsersResponse>;
|
|
@@ -215,7 +250,10 @@ export declare class Entitlements {
|
|
|
215
250
|
*
|
|
216
251
|
* @example
|
|
217
252
|
* await client.entitlements.countFeatureUsers({
|
|
218
|
-
* featureId: "feature_id"
|
|
253
|
+
* featureId: "feature_id",
|
|
254
|
+
* q: "q",
|
|
255
|
+
* limit: 1,
|
|
256
|
+
* offset: 1
|
|
219
257
|
* })
|
|
220
258
|
*/
|
|
221
259
|
countFeatureUsers(request: Schematic.CountFeatureUsersRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountFeatureUsersResponse>;
|
|
@@ -231,7 +269,14 @@ export declare class Entitlements {
|
|
|
231
269
|
* @throws {@link Schematic.InternalServerError}
|
|
232
270
|
*
|
|
233
271
|
* @example
|
|
234
|
-
* await client.entitlements.listPlanEntitlements(
|
|
272
|
+
* await client.entitlements.listPlanEntitlements({
|
|
273
|
+
* featureId: "feature_id",
|
|
274
|
+
* planId: "plan_id",
|
|
275
|
+
* q: "q",
|
|
276
|
+
* withMeteredProducts: true,
|
|
277
|
+
* limit: 1,
|
|
278
|
+
* offset: 1
|
|
279
|
+
* })
|
|
235
280
|
*/
|
|
236
281
|
listPlanEntitlements(request?: Schematic.ListPlanEntitlementsRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanEntitlementsResponse>;
|
|
237
282
|
private __listPlanEntitlements;
|
|
@@ -312,7 +357,14 @@ export declare class Entitlements {
|
|
|
312
357
|
* @throws {@link Schematic.InternalServerError}
|
|
313
358
|
*
|
|
314
359
|
* @example
|
|
315
|
-
* await client.entitlements.countPlanEntitlements(
|
|
360
|
+
* await client.entitlements.countPlanEntitlements({
|
|
361
|
+
* featureId: "feature_id",
|
|
362
|
+
* planId: "plan_id",
|
|
363
|
+
* q: "q",
|
|
364
|
+
* withMeteredProducts: true,
|
|
365
|
+
* limit: 1,
|
|
366
|
+
* offset: 1
|
|
367
|
+
* })
|
|
316
368
|
*/
|
|
317
369
|
countPlanEntitlements(request?: Schematic.CountPlanEntitlementsRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanEntitlementsResponse>;
|
|
318
370
|
private __countPlanEntitlements;
|
|
@@ -335,6 +387,6 @@ export declare class Entitlements {
|
|
|
335
387
|
getFeatureUsageByCompany(request: Schematic.GetFeatureUsageByCompanyRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.GetFeatureUsageByCompanyResponse>;
|
|
336
388
|
private __getFeatureUsageByCompany;
|
|
337
389
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
338
|
-
"X-Schematic-Api-Key": string;
|
|
390
|
+
"X-Schematic-Api-Key": string | undefined;
|
|
339
391
|
}>;
|
|
340
392
|
}
|
package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface CreateCompanyOverrideRequestBody {
|
|
|
17
17
|
featureId: string;
|
|
18
18
|
metricPeriod?: Schematic.CreateCompanyOverrideRequestBodyMetricPeriod;
|
|
19
19
|
metricPeriodMonthReset?: Schematic.CreateCompanyOverrideRequestBodyMetricPeriodMonthReset;
|
|
20
|
+
note?: string;
|
|
20
21
|
valueBool?: boolean;
|
|
21
22
|
valueCreditId?: string;
|
|
22
23
|
valueNumeric?: number;
|
package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface UpdateCompanyOverrideRequestBody {
|
|
|
13
13
|
expirationDate?: Date;
|
|
14
14
|
metricPeriod?: Schematic.UpdateCompanyOverrideRequestBodyMetricPeriod;
|
|
15
15
|
metricPeriodMonthReset?: Schematic.UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset;
|
|
16
|
+
note?: string;
|
|
16
17
|
valueBool?: boolean;
|
|
17
18
|
valueCreditId?: string;
|
|
18
19
|
valueNumeric?: number;
|
package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as Schematic from "../../../../index";
|
|
|
10
10
|
*/
|
|
11
11
|
export interface UpdatePlanEntitlementRequestBody {
|
|
12
12
|
billingProductId?: string;
|
|
13
|
+
billingThreshold?: number;
|
|
13
14
|
creditConsumptionRate?: number;
|
|
14
15
|
currency?: string;
|
|
15
16
|
metricPeriod?: Schematic.UpdatePlanEntitlementRequestBodyMetricPeriod;
|
|
@@ -9,7 +9,7 @@ export declare namespace Events {
|
|
|
9
9
|
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
fetcher?: core.FetchFunction;
|
|
14
14
|
}
|
|
15
15
|
interface RequestOptions {
|
|
@@ -25,7 +25,7 @@ export declare namespace Events {
|
|
|
25
25
|
}
|
|
26
26
|
export declare class Events {
|
|
27
27
|
protected readonly _options: Events.Options;
|
|
28
|
-
constructor(_options
|
|
28
|
+
constructor(_options?: Events.Options);
|
|
29
29
|
/**
|
|
30
30
|
* @param {Schematic.CreateEventBatchRequestBody} request
|
|
31
31
|
* @param {Events.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,11 @@ export declare class Events {
|
|
|
56
56
|
* @throws {@link Schematic.InternalServerError}
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.events.getEventSummaries(
|
|
59
|
+
* await client.events.getEventSummaries({
|
|
60
|
+
* q: "q",
|
|
61
|
+
* limit: 1,
|
|
62
|
+
* offset: 1
|
|
63
|
+
* })
|
|
60
64
|
*/
|
|
61
65
|
getEventSummaries(request?: Schematic.GetEventSummariesRequest, requestOptions?: Events.RequestOptions): core.HttpResponsePromise<Schematic.GetEventSummariesResponse>;
|
|
62
66
|
private __getEventSummaries;
|
|
@@ -71,7 +75,14 @@ export declare class Events {
|
|
|
71
75
|
* @throws {@link Schematic.InternalServerError}
|
|
72
76
|
*
|
|
73
77
|
* @example
|
|
74
|
-
* await client.events.listEvents(
|
|
78
|
+
* await client.events.listEvents({
|
|
79
|
+
* companyId: "company_id",
|
|
80
|
+
* eventSubtype: "event_subtype",
|
|
81
|
+
* flagId: "flag_id",
|
|
82
|
+
* userId: "user_id",
|
|
83
|
+
* limit: 1,
|
|
84
|
+
* offset: 1
|
|
85
|
+
* })
|
|
75
86
|
*/
|
|
76
87
|
listEvents(request?: Schematic.ListEventsRequest, requestOptions?: Events.RequestOptions): core.HttpResponsePromise<Schematic.ListEventsResponse>;
|
|
77
88
|
private __listEvents;
|
|
@@ -120,6 +131,6 @@ export declare class Events {
|
|
|
120
131
|
getSegmentIntegrationStatus(requestOptions?: Events.RequestOptions): core.HttpResponsePromise<Schematic.GetSegmentIntegrationStatusResponse>;
|
|
121
132
|
private __getSegmentIntegrationStatus;
|
|
122
133
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
123
|
-
"X-Schematic-Api-Key": string;
|
|
134
|
+
"X-Schematic-Api-Key": string | undefined;
|
|
124
135
|
}>;
|
|
125
136
|
}
|
|
@@ -4,7 +4,14 @@
|
|
|
4
4
|
import * as Schematic from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* companyId: "company_id",
|
|
9
|
+
* eventSubtype: "event_subtype",
|
|
10
|
+
* flagId: "flag_id",
|
|
11
|
+
* userId: "user_id",
|
|
12
|
+
* limit: 1,
|
|
13
|
+
* offset: 1
|
|
14
|
+
* }
|
|
8
15
|
*/
|
|
9
16
|
export interface ListEventsRequest {
|
|
10
17
|
companyId?: string;
|
|
@@ -9,7 +9,7 @@ export declare namespace Features {
|
|
|
9
9
|
environment?: core.Supplier<environments.SchematicEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
apiKey
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
fetcher?: core.FetchFunction;
|
|
14
14
|
}
|
|
15
15
|
interface RequestOptions {
|
|
@@ -25,7 +25,7 @@ export declare namespace Features {
|
|
|
25
25
|
}
|
|
26
26
|
export declare class Features {
|
|
27
27
|
protected readonly _options: Features.Options;
|
|
28
|
-
constructor(_options
|
|
28
|
+
constructor(_options?: Features.Options);
|
|
29
29
|
/**
|
|
30
30
|
* @param {Schematic.AudienceRequestBody} request
|
|
31
31
|
* @param {Features.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -149,7 +149,14 @@ export declare class Features {
|
|
|
149
149
|
* @throws {@link Schematic.InternalServerError}
|
|
150
150
|
*
|
|
151
151
|
* @example
|
|
152
|
-
* await client.features.listFeatures(
|
|
152
|
+
* await client.features.listFeatures({
|
|
153
|
+
* q: "q",
|
|
154
|
+
* withoutCompanyOverrideFor: "without_company_override_for",
|
|
155
|
+
* withoutPlanEntitlementFor: "without_plan_entitlement_for",
|
|
156
|
+
* booleanRequireEvent: true,
|
|
157
|
+
* limit: 1,
|
|
158
|
+
* offset: 1
|
|
159
|
+
* })
|
|
153
160
|
*/
|
|
154
161
|
listFeatures(request?: Schematic.ListFeaturesRequest, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.ListFeaturesResponse>;
|
|
155
162
|
private __listFeatures;
|
|
@@ -228,7 +235,14 @@ export declare class Features {
|
|
|
228
235
|
* @throws {@link Schematic.InternalServerError}
|
|
229
236
|
*
|
|
230
237
|
* @example
|
|
231
|
-
* await client.features.countFeatures(
|
|
238
|
+
* await client.features.countFeatures({
|
|
239
|
+
* q: "q",
|
|
240
|
+
* withoutCompanyOverrideFor: "without_company_override_for",
|
|
241
|
+
* withoutPlanEntitlementFor: "without_plan_entitlement_for",
|
|
242
|
+
* booleanRequireEvent: true,
|
|
243
|
+
* limit: 1,
|
|
244
|
+
* offset: 1
|
|
245
|
+
* })
|
|
232
246
|
*/
|
|
233
247
|
countFeatures(request?: Schematic.CountFeaturesRequest, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.CountFeaturesResponse>;
|
|
234
248
|
private __countFeatures;
|
|
@@ -243,7 +257,12 @@ export declare class Features {
|
|
|
243
257
|
* @throws {@link Schematic.InternalServerError}
|
|
244
258
|
*
|
|
245
259
|
* @example
|
|
246
|
-
* await client.features.listFlags(
|
|
260
|
+
* await client.features.listFlags({
|
|
261
|
+
* featureId: "feature_id",
|
|
262
|
+
* q: "q",
|
|
263
|
+
* limit: 1,
|
|
264
|
+
* offset: 1
|
|
265
|
+
* })
|
|
247
266
|
*/
|
|
248
267
|
listFlags(request?: Schematic.ListFlagsRequest, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.ListFlagsResponse>;
|
|
249
268
|
private __listFlags;
|
|
@@ -395,11 +414,16 @@ export declare class Features {
|
|
|
395
414
|
* @throws {@link Schematic.InternalServerError}
|
|
396
415
|
*
|
|
397
416
|
* @example
|
|
398
|
-
* await client.features.countFlags(
|
|
417
|
+
* await client.features.countFlags({
|
|
418
|
+
* featureId: "feature_id",
|
|
419
|
+
* q: "q",
|
|
420
|
+
* limit: 1,
|
|
421
|
+
* offset: 1
|
|
422
|
+
* })
|
|
399
423
|
*/
|
|
400
424
|
countFlags(request?: Schematic.CountFlagsRequest, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.CountFlagsResponse>;
|
|
401
425
|
private __countFlags;
|
|
402
426
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
403
|
-
"X-Schematic-Api-Key": string;
|
|
427
|
+
"X-Schematic-Api-Key": string | undefined;
|
|
404
428
|
}>;
|
|
405
429
|
}
|
|
@@ -3,10 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* q: "q",
|
|
8
|
+
* withoutCompanyOverrideFor: "without_company_override_for",
|
|
9
|
+
* withoutPlanEntitlementFor: "without_plan_entitlement_for",
|
|
10
|
+
* booleanRequireEvent: true,
|
|
11
|
+
* limit: 1,
|
|
12
|
+
* offset: 1
|
|
13
|
+
* }
|
|
7
14
|
*/
|
|
8
15
|
export interface CountFeaturesRequest {
|
|
9
16
|
ids?: string | string[];
|
|
17
|
+
/**
|
|
18
|
+
* Search by feature name or ID
|
|
19
|
+
*/
|
|
10
20
|
q?: string;
|
|
11
21
|
/**
|
|
12
22
|
* Filter out features that already have a company override for the specified company ID
|
|
@@ -3,11 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* featureId: "feature_id",
|
|
8
|
+
* q: "q",
|
|
9
|
+
* limit: 1,
|
|
10
|
+
* offset: 1
|
|
11
|
+
* }
|
|
7
12
|
*/
|
|
8
13
|
export interface CountFlagsRequest {
|
|
9
14
|
featureId?: string;
|
|
10
15
|
ids?: string | string[];
|
|
16
|
+
/**
|
|
17
|
+
* Search by flag name, key, or ID
|
|
18
|
+
*/
|
|
11
19
|
q?: string;
|
|
12
20
|
/**
|
|
13
21
|
* Page limit (default 100)
|
|
@@ -3,10 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
|
-
* {
|
|
6
|
+
* {
|
|
7
|
+
* q: "q",
|
|
8
|
+
* withoutCompanyOverrideFor: "without_company_override_for",
|
|
9
|
+
* withoutPlanEntitlementFor: "without_plan_entitlement_for",
|
|
10
|
+
* booleanRequireEvent: true,
|
|
11
|
+
* limit: 1,
|
|
12
|
+
* offset: 1
|
|
13
|
+
* }
|
|
7
14
|
*/
|
|
8
15
|
export interface ListFeaturesRequest {
|
|
9
16
|
ids?: string | string[];
|
|
17
|
+
/**
|
|
18
|
+
* Search by feature name or ID
|
|
19
|
+
*/
|
|
10
20
|
q?: string;
|
|
11
21
|
/**
|
|
12
22
|
* Filter out features that already have a company override for the specified company ID
|