@openmeter/sdk 1.0.0-beta-30b7a9c5b75f → 1.0.0-beta-89ca80a99dcf

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.
@@ -11104,7 +11104,15 @@ export declare const createNotificationRuleBodyThresholdsMax = 10;
11104
11104
  export declare const createNotificationRuleBodyChannelsItemRegExp: RegExp;
11105
11105
  export declare const createNotificationRuleBodyFeaturesItemMax = 64;
11106
11106
  export declare const createNotificationRuleBodyFeaturesItemRegExp: RegExp;
11107
- export declare const createNotificationRuleBody: zod.ZodObject<{
11107
+ export declare const createNotificationRuleBodyDisabledDefaultOne = false;
11108
+ export declare const createNotificationRuleBodyChannelsItemRegExpOne: RegExp;
11109
+ export declare const createNotificationRuleBodyFeaturesItemMaxOne = 64;
11110
+ export declare const createNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
11111
+ export declare const createNotificationRuleBodyDisabledDefaultTwo = false;
11112
+ export declare const createNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
11113
+ export declare const createNotificationRuleBodyDisabledDefaultThree = false;
11114
+ export declare const createNotificationRuleBodyChannelsItemRegExpThree: RegExp;
11115
+ export declare const createNotificationRuleBody: zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
11108
11116
  channels: zod.ZodArray<zod.ZodString, "many">;
11109
11117
  disabled: zod.ZodOptional<zod.ZodBoolean>;
11110
11118
  features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -11140,7 +11148,55 @@ export declare const createNotificationRuleBody: zod.ZodObject<{
11140
11148
  }[];
11141
11149
  disabled?: boolean | undefined;
11142
11150
  features?: string[] | undefined;
11143
- }>;
11151
+ }>, zod.ZodObject<{
11152
+ channels: zod.ZodArray<zod.ZodString, "many">;
11153
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11154
+ features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
11155
+ name: zod.ZodString;
11156
+ type: zod.ZodEnum<["entitlements.reset"]>;
11157
+ }, "strip", zod.ZodTypeAny, {
11158
+ name: string;
11159
+ type: "entitlements.reset";
11160
+ channels: string[];
11161
+ disabled?: boolean | undefined;
11162
+ features?: string[] | undefined;
11163
+ }, {
11164
+ name: string;
11165
+ type: "entitlements.reset";
11166
+ channels: string[];
11167
+ disabled?: boolean | undefined;
11168
+ features?: string[] | undefined;
11169
+ }>, zod.ZodObject<{
11170
+ channels: zod.ZodArray<zod.ZodString, "many">;
11171
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11172
+ name: zod.ZodString;
11173
+ type: zod.ZodEnum<["invoice.created"]>;
11174
+ }, "strip", zod.ZodTypeAny, {
11175
+ name: string;
11176
+ type: "invoice.created";
11177
+ channels: string[];
11178
+ disabled?: boolean | undefined;
11179
+ }, {
11180
+ name: string;
11181
+ type: "invoice.created";
11182
+ channels: string[];
11183
+ disabled?: boolean | undefined;
11184
+ }>, zod.ZodObject<{
11185
+ channels: zod.ZodArray<zod.ZodString, "many">;
11186
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11187
+ name: zod.ZodString;
11188
+ type: zod.ZodEnum<["invoice.updated"]>;
11189
+ }, "strip", zod.ZodTypeAny, {
11190
+ name: string;
11191
+ type: "invoice.updated";
11192
+ channels: string[];
11193
+ disabled?: boolean | undefined;
11194
+ }, {
11195
+ name: string;
11196
+ type: "invoice.updated";
11197
+ channels: string[];
11198
+ disabled?: boolean | undefined;
11199
+ }>]>;
11144
11200
  /**
11145
11201
  * Update notification rule.
11146
11202
  * @summary Update a notification rule
@@ -11158,7 +11214,15 @@ export declare const updateNotificationRuleBodyThresholdsMax = 10;
11158
11214
  export declare const updateNotificationRuleBodyChannelsItemRegExp: RegExp;
11159
11215
  export declare const updateNotificationRuleBodyFeaturesItemMax = 64;
11160
11216
  export declare const updateNotificationRuleBodyFeaturesItemRegExp: RegExp;
11161
- export declare const updateNotificationRuleBody: zod.ZodObject<{
11217
+ export declare const updateNotificationRuleBodyDisabledDefaultOne = false;
11218
+ export declare const updateNotificationRuleBodyChannelsItemRegExpOne: RegExp;
11219
+ export declare const updateNotificationRuleBodyFeaturesItemMaxOne = 64;
11220
+ export declare const updateNotificationRuleBodyFeaturesItemRegExpOne: RegExp;
11221
+ export declare const updateNotificationRuleBodyDisabledDefaultTwo = false;
11222
+ export declare const updateNotificationRuleBodyChannelsItemRegExpTwo: RegExp;
11223
+ export declare const updateNotificationRuleBodyDisabledDefaultThree = false;
11224
+ export declare const updateNotificationRuleBodyChannelsItemRegExpThree: RegExp;
11225
+ export declare const updateNotificationRuleBody: zod.ZodDiscriminatedUnion<"type", [zod.ZodObject<{
11162
11226
  channels: zod.ZodArray<zod.ZodString, "many">;
11163
11227
  disabled: zod.ZodOptional<zod.ZodBoolean>;
11164
11228
  features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -11194,7 +11258,55 @@ export declare const updateNotificationRuleBody: zod.ZodObject<{
11194
11258
  }[];
11195
11259
  disabled?: boolean | undefined;
11196
11260
  features?: string[] | undefined;
11197
- }>;
11261
+ }>, zod.ZodObject<{
11262
+ channels: zod.ZodArray<zod.ZodString, "many">;
11263
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11264
+ features: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
11265
+ name: zod.ZodString;
11266
+ type: zod.ZodEnum<["entitlements.reset"]>;
11267
+ }, "strip", zod.ZodTypeAny, {
11268
+ name: string;
11269
+ type: "entitlements.reset";
11270
+ channels: string[];
11271
+ disabled?: boolean | undefined;
11272
+ features?: string[] | undefined;
11273
+ }, {
11274
+ name: string;
11275
+ type: "entitlements.reset";
11276
+ channels: string[];
11277
+ disabled?: boolean | undefined;
11278
+ features?: string[] | undefined;
11279
+ }>, zod.ZodObject<{
11280
+ channels: zod.ZodArray<zod.ZodString, "many">;
11281
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11282
+ name: zod.ZodString;
11283
+ type: zod.ZodEnum<["invoice.created"]>;
11284
+ }, "strip", zod.ZodTypeAny, {
11285
+ name: string;
11286
+ type: "invoice.created";
11287
+ channels: string[];
11288
+ disabled?: boolean | undefined;
11289
+ }, {
11290
+ name: string;
11291
+ type: "invoice.created";
11292
+ channels: string[];
11293
+ disabled?: boolean | undefined;
11294
+ }>, zod.ZodObject<{
11295
+ channels: zod.ZodArray<zod.ZodString, "many">;
11296
+ disabled: zod.ZodOptional<zod.ZodBoolean>;
11297
+ name: zod.ZodString;
11298
+ type: zod.ZodEnum<["invoice.updated"]>;
11299
+ }, "strip", zod.ZodTypeAny, {
11300
+ name: string;
11301
+ type: "invoice.updated";
11302
+ channels: string[];
11303
+ disabled?: boolean | undefined;
11304
+ }, {
11305
+ name: string;
11306
+ type: "invoice.updated";
11307
+ channels: string[];
11308
+ disabled?: boolean | undefined;
11309
+ }>]>;
11198
11310
  /**
11199
11311
  * Get a notification rule by id.
11200
11312
  * @summary Get notification rule