@openmeter/sdk 1.0.0-beta.215 → 1.0.0-beta.217
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/cjs/src/client/customers.d.cts +3 -0
- package/dist/cjs/src/client/schemas.d.cts +7 -2
- package/dist/cjs/src/zod/index.cjs +18 -10
- package/dist/cjs/src/zod/index.d.cts +6 -6
- package/dist/cjs/src/zod/index.js.map +1 -1
- package/dist/cjs/{tsconfig.8e260acb.tsbuildinfo → tsconfig.5ba122c7.tsbuildinfo} +1 -1
- package/dist/cjs/{tsconfig.a3b81684.tsbuildinfo → tsconfig.8b596299.tsbuildinfo} +1 -1
- package/dist/src/client/customers.d.ts +3 -0
- package/dist/src/client/schemas.d.ts +7 -2
- package/dist/src/zod/index.d.ts +6 -6
- package/dist/src/zod/index.js +16 -8
- package/dist/src/zod/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -31,6 +31,7 @@ export declare class Customers {
|
|
|
31
31
|
billingAddress?: import("./schemas.cjs").components["schemas"]["Address"];
|
|
32
32
|
readonly currentSubscriptionId?: string;
|
|
33
33
|
readonly subscriptions?: import("./schemas.cjs").components["schemas"]["Subscription"][];
|
|
34
|
+
readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
|
|
34
35
|
}>;
|
|
35
36
|
/**
|
|
36
37
|
* Get a customer by ID
|
|
@@ -53,6 +54,7 @@ export declare class Customers {
|
|
|
53
54
|
billingAddress?: import("./schemas.cjs").components["schemas"]["Address"];
|
|
54
55
|
readonly currentSubscriptionId?: string;
|
|
55
56
|
readonly subscriptions?: import("./schemas.cjs").components["schemas"]["Subscription"][];
|
|
57
|
+
readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
|
|
56
58
|
}>;
|
|
57
59
|
/**
|
|
58
60
|
* Update a customer
|
|
@@ -76,6 +78,7 @@ export declare class Customers {
|
|
|
76
78
|
billingAddress?: import("./schemas.cjs").components["schemas"]["Address"];
|
|
77
79
|
readonly currentSubscriptionId?: string;
|
|
78
80
|
readonly subscriptions?: import("./schemas.cjs").components["schemas"]["Subscription"][];
|
|
81
|
+
readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
|
|
79
82
|
}>;
|
|
80
83
|
/**
|
|
81
84
|
* Delete a customer
|
|
@@ -3635,6 +3635,11 @@ export interface components {
|
|
|
3635
3635
|
* Only with the `subscriptions` expand option.
|
|
3636
3636
|
*/
|
|
3637
3637
|
readonly subscriptions?: components['schemas']['Subscription'][];
|
|
3638
|
+
/**
|
|
3639
|
+
* Annotations
|
|
3640
|
+
* @description Set of key-value pairs managed by the system. Cannot be modified by user.
|
|
3641
|
+
*/
|
|
3642
|
+
readonly annotations?: components['schemas']['Annotations'];
|
|
3638
3643
|
};
|
|
3639
3644
|
/** @description CustomerAccess describes what features the customer has access to. */
|
|
3640
3645
|
CustomerAccess: {
|
|
@@ -14738,7 +14743,7 @@ export interface operations {
|
|
|
14738
14743
|
query?: never;
|
|
14739
14744
|
header?: never;
|
|
14740
14745
|
path: {
|
|
14741
|
-
customerIdOrKey:
|
|
14746
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
14742
14747
|
};
|
|
14743
14748
|
cookie?: never;
|
|
14744
14749
|
};
|
|
@@ -15130,7 +15135,7 @@ export interface operations {
|
|
|
15130
15135
|
};
|
|
15131
15136
|
header?: never;
|
|
15132
15137
|
path: {
|
|
15133
|
-
customerIdOrKey:
|
|
15138
|
+
customerIdOrKey: components['schemas']['ULIDOrExternalKey'];
|
|
15134
15139
|
featureKey: string;
|
|
15135
15140
|
};
|
|
15136
15141
|
cookie?: never;
|
|
@@ -9,8 +9,8 @@ exports.getInvoiceParams = exports.getInvoicePathInvoiceIdRegExp = exports.invoi
|
|
|
9
9
|
exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemRateCardFeatureKeyMax = exports.updateInvoiceBodyLinesItemFeatureKeyRegExp = exports.updateInvoiceBodyLinesItemFeatureKeyMax = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemFlatPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceTiersItemUpToAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMaximumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceMinimumAmountRegExpOne = exports.updateInvoiceBodyLinesItemPriceAmountRegExpThree = exports.updateInvoiceBodyLinesItemPricePaymentTermDefault = exports.updateInvoiceBodyLinesItemPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyLinesItemDescriptionMax = exports.updateInvoiceBodyLinesItemNameMax = exports.updateInvoiceBodyCustomerAddressesMax = exports.updateInvoiceBodyCustomerAddressesItemCountryRegExpOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMaxOne = exports.updateInvoiceBodyCustomerAddressesItemCountryMinOne = exports.updateInvoiceBodyCustomerTaxIdCodeMaxOne = exports.updateInvoiceBodySupplierAddressesMax = exports.updateInvoiceBodySupplierAddressesItemCountryRegExpOne = exports.updateInvoiceBodySupplierAddressesItemCountryMaxOne = exports.updateInvoiceBodySupplierAddressesItemCountryMinOne = exports.updateInvoiceBodySupplierTaxIdCodeMaxOne = exports.updateInvoiceBodyDescriptionMax = exports.updateInvoiceParams = exports.updateInvoicePathInvoiceIdRegExp = exports.deleteInvoiceParams = exports.deleteInvoicePathInvoiceIdRegExp = exports.getInvoiceQueryParams = exports.getInvoiceQueryIncludeDeletedLinesDefault = exports.getInvoiceQueryExpandDefault = void 0;
|
|
10
10
|
exports.createBillingProfileBodyWorkflowCollectionIntervalDefault = exports.createBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.createBillingProfileBodySupplierAddressesMax = exports.createBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.createBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.createBillingProfileBodySupplierAddressesItemCountryMinOne = exports.createBillingProfileBodySupplierTaxIdCodeMaxOne = exports.createBillingProfileBodyDescriptionMax = exports.createBillingProfileBodyNameMax = exports.listBillingProfilesQueryParams = exports.listBillingProfilesQueryPageSizeMax = exports.listBillingProfilesQueryPageSizeDefault = exports.listBillingProfilesQueryPageDefault = exports.listBillingProfilesQueryIncludeArchivedDefault = exports.voidInvoiceActionBody = exports.voidInvoiceActionBodyOverridesItemLineIdRegExp = exports.voidInvoiceActionParams = exports.voidInvoiceActionPathInvoiceIdRegExp = exports.recalculateInvoiceTaxActionParams = exports.recalculateInvoiceTaxActionPathInvoiceIdRegExp = exports.snapshotQuantitiesInvoiceActionParams = exports.snapshotQuantitiesInvoiceActionPathInvoiceIdRegExp = exports.retryInvoiceActionParams = exports.retryInvoiceActionPathInvoiceIdRegExp = exports.approveInvoiceActionParams = exports.approveInvoiceActionPathInvoiceIdRegExp = exports.advanceInvoiceActionParams = exports.advanceInvoiceActionPathInvoiceIdRegExp = exports.updateInvoiceBody = exports.updateInvoiceBodyWorkflowWorkflowPaymentCollectionMethodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDueAfterDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingDraftPeriodDefault = exports.updateInvoiceBodyWorkflowWorkflowInvoicingAutoAdvanceDefault = exports.updateInvoiceBodyLinesItemIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardDiscountsUsageQuantityRegExpOne = exports.updateInvoiceBodyLinesItemRateCardDiscountsPercentageCorrelationIdRegExp = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpSeven = exports.updateInvoiceBodyLinesItemRateCardPriceQuantityPerPackageRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpFive = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierDefault = exports.updateInvoiceBodyLinesItemRateCardPriceMultiplierRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceMaximumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceMinimumAmountRegExpThree = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemUnitPriceAmountRegExpOne = exports.updateInvoiceBodyLinesItemRateCardPriceTiersItemFlatPriceAmountRegExpOne = void 0;
|
|
11
11
|
exports.listCustomersQueryPageSizeDefault = exports.listCustomersQueryPageDefault = exports.createCustomerBody = exports.createCustomerBodyBillingAddressCountryRegExpOne = exports.createCustomerBodyBillingAddressCountryMaxOne = exports.createCustomerBodyBillingAddressCountryMinOne = exports.createCustomerBodyCurrencyRegExpOne = exports.createCustomerBodyCurrencyMaxOne = exports.createCustomerBodyCurrencyMinOne = exports.createCustomerBodyUsageAttributionSubjectKeysMax = exports.createCustomerBodyKeyMax = exports.createCustomerBodyDescriptionMax = exports.createCustomerBodyNameMax = exports.updateBillingProfileBody = exports.updateBillingProfileBodyWorkflowTaxEnforcedDefault = exports.updateBillingProfileBodyWorkflowTaxEnabledDefault = exports.updateBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.updateBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.updateBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.updateBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.updateBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.updateBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = exports.updateBillingProfileBodyWorkflowCollectionIntervalDefault = exports.updateBillingProfileBodyWorkflowCollectionAlignmentDefault = exports.updateBillingProfileBodySupplierAddressesMax = exports.updateBillingProfileBodySupplierAddressesItemCountryRegExpOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMaxOne = exports.updateBillingProfileBodySupplierAddressesItemCountryMinOne = exports.updateBillingProfileBodySupplierTaxIdCodeMaxOne = exports.updateBillingProfileBodyDescriptionMax = exports.updateBillingProfileBodyNameMax = exports.updateBillingProfileParams = exports.updateBillingProfilePathIdRegExp = exports.getBillingProfileQueryParams = exports.getBillingProfileParams = exports.getBillingProfilePathIdRegExp = exports.deleteBillingProfileParams = exports.deleteBillingProfilePathIdRegExp = exports.createBillingProfileBody = exports.createBillingProfileBodyAppsPaymentRegExp = exports.createBillingProfileBodyAppsInvoicingRegExp = exports.createBillingProfileBodyAppsTaxRegExp = exports.createBillingProfileBodyWorkflowTaxEnforcedDefault = exports.createBillingProfileBodyWorkflowTaxEnabledDefault = exports.createBillingProfileBodyWorkflowPaymentCollectionMethodDefault = exports.createBillingProfileBodyWorkflowInvoicingDefaultTaxConfigStripeCodeRegExp = exports.createBillingProfileBodyWorkflowInvoicingProgressiveBillingDefault = exports.createBillingProfileBodyWorkflowInvoicingDueAfterDefault = exports.createBillingProfileBodyWorkflowInvoicingDraftPeriodDefault = exports.createBillingProfileBodyWorkflowInvoicingAutoAdvanceDefault = void 0;
|
|
12
|
-
exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.listCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.listCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.getCustomerAccessParams = exports.
|
|
13
|
-
exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = exports.listEventsQueryLimitDefault = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo = exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne = exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.
|
|
12
|
+
exports.upsertCustomerAppDataBodyIdRegExpTwo = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMaxOne = exports.upsertCustomerAppDataBodyAppDescriptionMaxOne = exports.upsertCustomerAppDataBodyAppNameMaxOne = exports.upsertCustomerAppDataBodyAppIdRegExpOne = exports.upsertCustomerAppDataBodyIdRegExpOne = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyRegExp = exports.upsertCustomerAppDataBodyAppListingCapabilitiesItemKeyMax = exports.upsertCustomerAppDataBodyAppDescriptionMax = exports.upsertCustomerAppDataBodyAppNameMax = exports.upsertCustomerAppDataBodyAppIdRegExp = exports.upsertCustomerAppDataBodyIdRegExp = exports.upsertCustomerAppDataParams = exports.upsertCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.upsertCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.listCustomerAppDataQueryParams = exports.listCustomerAppDataQueryPageSizeMax = exports.listCustomerAppDataQueryPageSizeDefault = exports.listCustomerAppDataQueryPageDefault = exports.listCustomerAppDataParams = exports.listCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.listCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.getCustomerAccessParams = exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo = exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne = exports.deleteCustomerParams = exports.deleteCustomerPathCustomerIdOrKeyMaxTwo = exports.deleteCustomerPathCustomerIdOrKeyRegExpOne = exports.updateCustomerBody = exports.updateCustomerBodyBillingAddressCountryRegExpOne = exports.updateCustomerBodyBillingAddressCountryMaxOne = exports.updateCustomerBodyBillingAddressCountryMinOne = exports.updateCustomerBodyCurrencyRegExpOne = exports.updateCustomerBodyCurrencyMaxOne = exports.updateCustomerBodyCurrencyMinOne = exports.updateCustomerBodyUsageAttributionSubjectKeysMax = exports.updateCustomerBodyKeyMax = exports.updateCustomerBodyDescriptionMax = exports.updateCustomerBodyNameMax = exports.updateCustomerParams = exports.updateCustomerPathCustomerIdOrKeyMaxTwo = exports.updateCustomerPathCustomerIdOrKeyRegExpOne = exports.getCustomerQueryParams = exports.getCustomerParams = exports.getCustomerPathCustomerIdOrKeyMaxTwo = exports.getCustomerPathCustomerIdOrKeyRegExpOne = exports.listCustomersQueryParams = exports.listCustomersQueryIncludeDeletedDefault = exports.listCustomersQueryPageSizeMax = void 0;
|
|
13
|
+
exports.createFeatureBodyMeterSlugRegExp = exports.createFeatureBodyMeterSlugMax = exports.createFeatureBodyKeyRegExp = exports.createFeatureBodyKeyMax = exports.listFeaturesQueryParams = exports.listFeaturesQueryLimitMax = exports.listFeaturesQueryLimitDefault = exports.listFeaturesQueryOffsetMin = exports.listFeaturesQueryOffsetDefault = exports.listFeaturesQueryPageSizeMax = exports.listFeaturesQueryPageSizeDefault = exports.listFeaturesQueryPageDefault = exports.listFeaturesQueryIncludeArchivedDefault = exports.ingestEventsBody = exports.ingestEventsBodyItemSpecversionDefault = exports.ingestEventsBodySpecversionDefault = exports.listEventsQueryParams = exports.listEventsQueryLimitMax = exports.listEventsQueryLimitDefault = exports.listEventsQueryClientIdMax = exports.getEntitlementByIdParams = exports.getEntitlementByIdPathEntitlementIdRegExp = exports.listEntitlementsQueryParams = exports.listEntitlementsQueryLimitMax = exports.listEntitlementsQueryLimitDefault = exports.listEntitlementsQueryOffsetMin = exports.listEntitlementsQueryOffsetDefault = exports.listEntitlementsQueryPageSizeMax = exports.listEntitlementsQueryPageSizeDefault = exports.listEntitlementsQueryPageDefault = exports.listEntitlementsQueryExcludeInactiveDefault = exports.listCustomerSubscriptionsQueryParams = exports.listCustomerSubscriptionsQueryPageSizeMax = exports.listCustomerSubscriptionsQueryPageSizeDefault = exports.listCustomerSubscriptionsQueryPageDefault = exports.listCustomerSubscriptionsParams = exports.listCustomerSubscriptionsPathCustomerIdOrKeyMaxTwo = exports.listCustomerSubscriptionsPathCustomerIdOrKeyRegExpOne = exports.getCustomerEntitlementValueQueryParams = exports.getCustomerEntitlementValueParams = exports.getCustomerEntitlementValuePathFeatureKeyRegExp = exports.getCustomerEntitlementValuePathFeatureKeyMax = exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne = exports.deleteCustomerAppDataParams = exports.deleteCustomerAppDataPathAppIdRegExp = exports.deleteCustomerAppDataPathCustomerIdOrKeyMaxTwo = exports.deleteCustomerAppDataPathCustomerIdOrKeyRegExpOne = exports.upsertCustomerAppDataBody = exports.upsertCustomerAppDataBodyItem = void 0;
|
|
14
14
|
exports.deleteMeterParams = exports.deleteMeterPathMeterIdOrSlugRegExp = exports.deleteMeterPathMeterIdOrSlugMax = exports.updateMeterBody = exports.updateMeterBodyNameMax = exports.updateMeterBodyDescriptionMax = exports.updateMeterParams = exports.updateMeterPathMeterIdOrSlugRegExp = exports.updateMeterPathMeterIdOrSlugMax = exports.getMeterParams = exports.getMeterPathMeterIdOrSlugRegExp = exports.getMeterPathMeterIdOrSlugMax = exports.createMeterBody = exports.createMeterBodySlugRegExp = exports.createMeterBodySlugMax = exports.createMeterBodyNameMax = exports.createMeterBodyDescriptionMax = exports.listMetersQueryParams = exports.listMetersQueryIncludeDeletedDefault = exports.listMetersQueryPageSizeMax = exports.listMetersQueryPageSizeDefault = exports.listMetersQueryPageDefault = exports.marketplaceOAuth2InstallAuthorizeQueryParams = exports.marketplaceOAuth2InstallAuthorizeParams = exports.marketplaceOAuth2InstallGetURLParams = exports.marketplaceAppAPIKeyInstallBody = exports.marketplaceAppAPIKeyInstallBodyCreateBillingProfileDefault = exports.marketplaceAppAPIKeyInstallParams = exports.marketplaceAppInstallBody = exports.marketplaceAppInstallBodyCreateBillingProfileDefault = exports.marketplaceAppInstallParams = exports.getMarketplaceListingParams = exports.listMarketplaceListingsQueryParams = exports.listMarketplaceListingsQueryPageSizeMax = exports.listMarketplaceListingsQueryPageSizeDefault = exports.listMarketplaceListingsQueryPageDefault = exports.getProgressParams = exports.voidGrantParams = exports.listGrantsQueryParams = exports.listGrantsQueryLimitMax = exports.listGrantsQueryLimitDefault = exports.listGrantsQueryOffsetMin = exports.listGrantsQueryOffsetDefault = exports.listGrantsQueryPageSizeMax = exports.listGrantsQueryPageSizeDefault = exports.listGrantsQueryPageDefault = exports.listGrantsQueryIncludeDeletedDefault = exports.deleteFeatureParams = exports.getFeatureParams = exports.createFeatureBody = void 0;
|
|
15
15
|
exports.listNotificationRulesQueryParams = exports.listNotificationRulesQueryPageSizeMax = exports.listNotificationRulesQueryPageSizeDefault = exports.listNotificationRulesQueryPageDefault = exports.listNotificationRulesQueryFeatureItemRegExp = exports.listNotificationRulesQueryFeatureItemMax = exports.listNotificationRulesQueryIncludeDisabledDefault = exports.listNotificationRulesQueryIncludeDeletedDefault = exports.getNotificationEventParams = exports.listNotificationEventsQueryParams = exports.listNotificationEventsQueryPageSizeMax = exports.listNotificationEventsQueryPageSizeDefault = exports.listNotificationEventsQueryPageDefault = exports.listNotificationEventsQueryChannelItemRegExp = exports.listNotificationEventsQueryRuleItemRegExp = exports.deleteNotificationChannelParams = exports.deleteNotificationChannelPathChannelIdRegExp = exports.getNotificationChannelParams = exports.getNotificationChannelPathChannelIdRegExp = exports.updateNotificationChannelBody = exports.updateNotificationChannelBodySigningSecretRegExp = exports.updateNotificationChannelBodyDisabledDefault = exports.updateNotificationChannelParams = exports.updateNotificationChannelPathChannelIdRegExp = exports.createNotificationChannelBody = exports.createNotificationChannelBodySigningSecretRegExp = exports.createNotificationChannelBodyDisabledDefault = exports.listNotificationChannelsQueryParams = exports.listNotificationChannelsQueryPageSizeMax = exports.listNotificationChannelsQueryPageSizeDefault = exports.listNotificationChannelsQueryPageDefault = exports.listNotificationChannelsQueryIncludeDisabledDefault = exports.listNotificationChannelsQueryIncludeDeletedDefault = exports.listMeterSubjectsParams = exports.listMeterSubjectsPathMeterIdOrSlugRegExp = exports.listMeterSubjectsPathMeterIdOrSlugMax = exports.queryMeterPostBody = exports.queryMeterPostBodyGroupByMax = exports.queryMeterPostBodySubjectMax = exports.queryMeterPostBodyWindowTimeZoneDefault = exports.queryMeterPostBodyClientIdMax = exports.queryMeterPostParams = exports.queryMeterPostPathMeterIdOrSlugRegExp = exports.queryMeterPostPathMeterIdOrSlugMax = exports.queryMeterQueryParams = exports.queryMeterQueryWindowTimeZoneDefault = exports.queryMeterQueryClientIdMax = exports.queryMeterParams = exports.queryMeterPathMeterIdOrSlugRegExp = exports.queryMeterPathMeterIdOrSlugMax = void 0;
|
|
16
16
|
exports.createPlanBodyKeyMax = exports.createPlanBodyDescriptionMax = exports.createPlanBodyNameMax = exports.listPlansQueryParams = exports.listPlansQueryPageSizeMax = exports.listPlansQueryPageSizeDefault = exports.listPlansQueryPageDefault = exports.listPlansQueryCurrencyItemRegExp = exports.listPlansQueryCurrencyItemMax = exports.listPlansQueryCurrencyItemMin = exports.listPlansQueryKeyItemRegExp = exports.listPlansQueryKeyItemMax = exports.listPlansQueryIdItemRegExp = exports.listPlansQueryIncludeDeletedDefault = exports.testNotificationRuleParams = exports.testNotificationRulePathRuleIdRegExp = exports.deleteNotificationRuleParams = exports.deleteNotificationRulePathRuleIdRegExp = exports.getNotificationRuleParams = exports.getNotificationRulePathRuleIdRegExp = exports.updateNotificationRuleBody = exports.updateNotificationRuleBodyChannelsItemRegExpThree = exports.updateNotificationRuleBodyDisabledDefaultThree = exports.updateNotificationRuleBodyChannelsItemRegExpTwo = exports.updateNotificationRuleBodyDisabledDefaultTwo = exports.updateNotificationRuleBodyFeaturesItemRegExpOne = exports.updateNotificationRuleBodyFeaturesItemMaxOne = exports.updateNotificationRuleBodyChannelsItemRegExpOne = exports.updateNotificationRuleBodyDisabledDefaultOne = exports.updateNotificationRuleBodyFeaturesItemRegExp = exports.updateNotificationRuleBodyFeaturesItemMax = exports.updateNotificationRuleBodyChannelsItemRegExp = exports.updateNotificationRuleBodyThresholdsMax = exports.updateNotificationRuleBodyDisabledDefault = exports.updateNotificationRuleParams = exports.updateNotificationRulePathRuleIdRegExp = exports.createNotificationRuleBody = exports.createNotificationRuleBodyChannelsItemRegExpThree = exports.createNotificationRuleBodyDisabledDefaultThree = exports.createNotificationRuleBodyChannelsItemRegExpTwo = exports.createNotificationRuleBodyDisabledDefaultTwo = exports.createNotificationRuleBodyFeaturesItemRegExpOne = exports.createNotificationRuleBodyFeaturesItemMaxOne = exports.createNotificationRuleBodyChannelsItemRegExpOne = exports.createNotificationRuleBodyDisabledDefaultOne = exports.createNotificationRuleBodyFeaturesItemRegExp = exports.createNotificationRuleBodyFeaturesItemMax = exports.createNotificationRuleBodyChannelsItemRegExp = exports.createNotificationRuleBodyThresholdsMax = exports.createNotificationRuleBodyDisabledDefault = void 0;
|
|
@@ -4676,14 +4676,18 @@ exports.deleteCustomerParams = zod_1.z.object({
|
|
|
4676
4676
|
* Get the overall access of a customer.
|
|
4677
4677
|
* @summary Get customer access
|
|
4678
4678
|
*/
|
|
4679
|
-
exports.
|
|
4680
|
-
exports.
|
|
4679
|
+
exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
4680
|
+
exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo = 256;
|
|
4681
4681
|
exports.getCustomerAccessParams = zod_1.z.object({
|
|
4682
4682
|
customerIdOrKey: zod_1.z.coerce
|
|
4683
|
+
.string()
|
|
4684
|
+
.regex(exports.getCustomerAccessPathCustomerIdOrKeyRegExpOne)
|
|
4685
|
+
.describe('ULID (Universally Unique Lexicographically Sortable Identifier).')
|
|
4686
|
+
.or(zod_1.z.coerce
|
|
4683
4687
|
.string()
|
|
4684
4688
|
.min(1)
|
|
4685
|
-
.max(exports.
|
|
4686
|
-
.
|
|
4689
|
+
.max(exports.getCustomerAccessPathCustomerIdOrKeyMaxTwo)
|
|
4690
|
+
.describe('ExternalKey is a looser version of key.')),
|
|
4687
4691
|
});
|
|
4688
4692
|
/**
|
|
4689
4693
|
* List customers app data.
|
|
@@ -5008,16 +5012,20 @@ exports.deleteCustomerAppDataParams = zod_1.z.object({
|
|
|
5008
5012
|
* Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type.
|
|
5009
5013
|
* @summary Get customer entitlement value
|
|
5010
5014
|
*/
|
|
5011
|
-
exports.
|
|
5012
|
-
exports.
|
|
5015
|
+
exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne = new RegExp('^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$');
|
|
5016
|
+
exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = 256;
|
|
5013
5017
|
exports.getCustomerEntitlementValuePathFeatureKeyMax = 64;
|
|
5014
5018
|
exports.getCustomerEntitlementValuePathFeatureKeyRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
|
|
5015
5019
|
exports.getCustomerEntitlementValueParams = zod_1.z.object({
|
|
5016
5020
|
customerIdOrKey: zod_1.z.coerce
|
|
5021
|
+
.string()
|
|
5022
|
+
.regex(exports.getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne)
|
|
5023
|
+
.describe('ULID (Universally Unique Lexicographically Sortable Identifier).')
|
|
5024
|
+
.or(zod_1.z.coerce
|
|
5017
5025
|
.string()
|
|
5018
5026
|
.min(1)
|
|
5019
|
-
.max(exports.
|
|
5020
|
-
.
|
|
5027
|
+
.max(exports.getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo)
|
|
5028
|
+
.describe('ExternalKey is a looser version of key.')),
|
|
5021
5029
|
featureKey: zod_1.z.coerce
|
|
5022
5030
|
.string()
|
|
5023
5031
|
.min(1)
|
|
@@ -7579,10 +7579,10 @@ export declare const deleteCustomerParams: zod.ZodObject<{
|
|
|
7579
7579
|
* Get the overall access of a customer.
|
|
7580
7580
|
* @summary Get customer access
|
|
7581
7581
|
*/
|
|
7582
|
-
export declare const
|
|
7583
|
-
export declare const
|
|
7582
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyRegExpOne: RegExp;
|
|
7583
|
+
export declare const getCustomerAccessPathCustomerIdOrKeyMaxTwo = 256;
|
|
7584
7584
|
export declare const getCustomerAccessParams: zod.ZodObject<{
|
|
7585
|
-
customerIdOrKey: zod.ZodString
|
|
7585
|
+
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
7586
7586
|
}, "strip", zod.ZodTypeAny, {
|
|
7587
7587
|
customerIdOrKey: string;
|
|
7588
7588
|
}, {
|
|
@@ -8338,12 +8338,12 @@ export declare const deleteCustomerAppDataParams: zod.ZodObject<{
|
|
|
8338
8338
|
* Checks customer access to a given feature (by key). All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type.
|
|
8339
8339
|
* @summary Get customer entitlement value
|
|
8340
8340
|
*/
|
|
8341
|
-
export declare const
|
|
8342
|
-
export declare const
|
|
8341
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyRegExpOne: RegExp;
|
|
8342
|
+
export declare const getCustomerEntitlementValuePathCustomerIdOrKeyMaxTwo = 256;
|
|
8343
8343
|
export declare const getCustomerEntitlementValuePathFeatureKeyMax = 64;
|
|
8344
8344
|
export declare const getCustomerEntitlementValuePathFeatureKeyRegExp: RegExp;
|
|
8345
8345
|
export declare const getCustomerEntitlementValueParams: zod.ZodObject<{
|
|
8346
|
-
customerIdOrKey: zod.ZodString
|
|
8346
|
+
customerIdOrKey: zod.ZodUnion<[zod.ZodString, zod.ZodString]>;
|
|
8347
8347
|
featureKey: zod.ZodString;
|
|
8348
8348
|
}, "strip", zod.ZodTypeAny, {
|
|
8349
8349
|
featureKey: string;
|