@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.
@@ -6900,11 +6900,10 @@ export interface components {
6900
6900
  */
6901
6901
  readonly id: string;
6902
6902
  /**
6903
- * Notification Event Type
6904
- * @description Type of the notification event.
6903
+ * @description Type of the notification event. (enum property replaced by openapi-typescript)
6905
6904
  * @enum {string}
6906
6905
  */
6907
- readonly type: 'entitlements.balance.threshold';
6906
+ type: 'entitlements.balance.threshold';
6908
6907
  /**
6909
6908
  * Creation Time
6910
6909
  * Format: date-time
@@ -6963,6 +6962,69 @@ export interface components {
6963
6962
  * @enum {string}
6964
6963
  */
6965
6964
  NotificationEventDeliveryStatusState: 'SUCCESS' | 'FAILED' | 'SENDING' | 'PENDING';
6965
+ /** @description Base data for any payload with entitlement entitlement value. */
6966
+ NotificationEventEntitlementValuePayloadBase: {
6967
+ /** Entitlement */
6968
+ readonly entitlement: components['schemas']['EntitlementMetered'];
6969
+ /** Feature */
6970
+ readonly feature: components['schemas']['Feature'];
6971
+ /** Subject */
6972
+ readonly subject: components['schemas']['Subject'];
6973
+ /** Entitlement Value */
6974
+ readonly value: components['schemas']['EntitlementValue'];
6975
+ };
6976
+ /** @description Payload for notification event with `invoice.created` type. */
6977
+ NotificationEventInvoiceCreatedPayload: {
6978
+ /**
6979
+ * Notification Event Identifier
6980
+ * @description A unique identifier for the notification event the payload belongs to.
6981
+ * @example 01J2KNP1YTXQRXHTDJ4KPR7PZ0
6982
+ */
6983
+ readonly id: string;
6984
+ /**
6985
+ * @description Type of the notification event. (enum property replaced by openapi-typescript)
6986
+ * @enum {string}
6987
+ */
6988
+ type: 'invoice.created';
6989
+ /**
6990
+ * Creation Time
6991
+ * Format: date-time
6992
+ * @description Timestamp when the notification event was created in RFC 3339 format.
6993
+ * @example 2023-01-01T01:01:01.001Z
6994
+ */
6995
+ readonly timestamp: Date;
6996
+ /**
6997
+ * Payload Data
6998
+ * @description The data of the payload.
6999
+ */
7000
+ readonly data: components['schemas']['Invoice'];
7001
+ };
7002
+ /** @description Payload for notification event with `invoice.updated` type. */
7003
+ NotificationEventInvoiceUpdatedPayload: {
7004
+ /**
7005
+ * Notification Event Identifier
7006
+ * @description A unique identifier for the notification event the payload belongs to.
7007
+ * @example 01J2KNP1YTXQRXHTDJ4KPR7PZ0
7008
+ */
7009
+ readonly id: string;
7010
+ /**
7011
+ * @description Type of the notification event. (enum property replaced by openapi-typescript)
7012
+ * @enum {string}
7013
+ */
7014
+ type: 'invoice.updated';
7015
+ /**
7016
+ * Creation Time
7017
+ * Format: date-time
7018
+ * @description Timestamp when the notification event was created in RFC 3339 format.
7019
+ * @example 2023-01-01T01:01:01.001Z
7020
+ */
7021
+ readonly timestamp: Date;
7022
+ /**
7023
+ * Payload Data
7024
+ * @description The data of the payload.
7025
+ */
7026
+ readonly data: components['schemas']['Invoice'];
7027
+ };
6966
7028
  /**
6967
7029
  * @description Order by options for notification channels.
6968
7030
  * @enum {string}
@@ -6989,14 +7051,40 @@ export interface components {
6989
7051
  items: components['schemas']['NotificationEvent'][];
6990
7052
  };
6991
7053
  /** @description The delivery status of the notification event. */
6992
- NotificationEventPayload: components['schemas']['NotificationEventBalanceThresholdPayload'];
7054
+ NotificationEventPayload: components['schemas']['NotificationEventResetPayload'] | components['schemas']['NotificationEventBalanceThresholdPayload'] | components['schemas']['NotificationEventInvoiceCreatedPayload'] | components['schemas']['NotificationEventInvoiceUpdatedPayload'];
7055
+ /** @description Payload for notification event with `entitlements.reset` type. */
7056
+ NotificationEventResetPayload: {
7057
+ /**
7058
+ * Notification Event Identifier
7059
+ * @description A unique identifier for the notification event the payload belongs to.
7060
+ * @example 01J2KNP1YTXQRXHTDJ4KPR7PZ0
7061
+ */
7062
+ readonly id: string;
7063
+ /**
7064
+ * @description Type of the notification event. (enum property replaced by openapi-typescript)
7065
+ * @enum {string}
7066
+ */
7067
+ type: 'entitlements.reset';
7068
+ /**
7069
+ * Creation Time
7070
+ * Format: date-time
7071
+ * @description Timestamp when the notification event was created in RFC 3339 format.
7072
+ * @example 2023-01-01T01:01:01.001Z
7073
+ */
7074
+ readonly timestamp: Date;
7075
+ /**
7076
+ * Payload Data
7077
+ * @description The data of the payload.
7078
+ */
7079
+ readonly data: components['schemas']['NotificationEventEntitlementValuePayloadBase'];
7080
+ };
6993
7081
  /**
6994
7082
  * @description Type of the notification event.
6995
7083
  * @enum {string}
6996
7084
  */
6997
- NotificationEventType: 'entitlements.balance.threshold';
7085
+ NotificationEventType: 'entitlements.balance.threshold' | 'entitlements.reset' | 'invoice.created' | 'invoice.updated';
6998
7086
  /** @description Notification Rule. */
6999
- NotificationRule: components['schemas']['NotificationRuleBalanceThreshold'];
7087
+ NotificationRule: components['schemas']['NotificationRuleBalanceThreshold'] | components['schemas']['NotificationRuleEntitlementReset'] | components['schemas']['NotificationRuleInvoiceCreated'] | components['schemas']['NotificationRuleInvoiceUpdated'];
7000
7088
  /** @description Notification rule with entitlements.balance.threshold type. */
7001
7089
  NotificationRuleBalanceThreshold: {
7002
7090
  /**
@@ -7027,8 +7115,7 @@ export interface components {
7027
7115
  */
7028
7116
  readonly id: string;
7029
7117
  /**
7030
- * Rule Type
7031
- * @description Notification rule type.
7118
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7032
7119
  * @enum {string}
7033
7120
  */
7034
7121
  type: 'entitlements.balance.threshold';
@@ -7061,11 +7148,10 @@ export interface components {
7061
7148
  */
7062
7149
  features?: components['schemas']['FeatureMeta'][];
7063
7150
  };
7064
- /** @description Request with input parameters for creating new notification rule with entitlements.balance.threashold type. */
7151
+ /** @description Request with input parameters for creating new notification rule with entitlements.balance.threshold type. */
7065
7152
  NotificationRuleBalanceThresholdCreateRequest: {
7066
7153
  /**
7067
- * Rule Type
7068
- * @description Notification rule type.
7154
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7069
7155
  * @enum {string}
7070
7156
  */
7071
7157
  type: 'entitlements.balance.threshold';
@@ -7120,7 +7206,254 @@ export interface components {
7120
7206
  */
7121
7207
  NotificationRuleBalanceThresholdValueType: 'PERCENT' | 'NUMBER';
7122
7208
  /** @description Union type for requests creating new notification rule with certain type. */
7123
- NotificationRuleCreateRequest: components['schemas']['NotificationRuleBalanceThresholdCreateRequest'];
7209
+ NotificationRuleCreateRequest: components['schemas']['NotificationRuleBalanceThresholdCreateRequest'] | components['schemas']['NotificationRuleEntitlementResetCreateRequest'] | components['schemas']['NotificationRuleInvoiceCreatedCreateRequest'] | components['schemas']['NotificationRuleInvoiceUpdatedCreateRequest'];
7210
+ /** @description Notification rule with entitlements.reset type. */
7211
+ NotificationRuleEntitlementReset: {
7212
+ /**
7213
+ * Creation Time
7214
+ * Format: date-time
7215
+ * @description Timestamp of when the resource was created.
7216
+ * @example 2024-01-01T01:01:01.001Z
7217
+ */
7218
+ readonly createdAt: Date;
7219
+ /**
7220
+ * Last Update Time
7221
+ * Format: date-time
7222
+ * @description Timestamp of when the resource was last updated.
7223
+ * @example 2024-01-01T01:01:01.001Z
7224
+ */
7225
+ readonly updatedAt: Date;
7226
+ /**
7227
+ * Deletion Time
7228
+ * Format: date-time
7229
+ * @description Timestamp of when the resource was permanently deleted.
7230
+ * @example 2024-01-01T01:01:01.001Z
7231
+ */
7232
+ readonly deletedAt?: Date;
7233
+ /**
7234
+ * Rule Unique Identifier
7235
+ * @description Identifies the notification rule.
7236
+ * @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
7237
+ */
7238
+ readonly id: string;
7239
+ /**
7240
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7241
+ * @enum {string}
7242
+ */
7243
+ type: 'entitlements.reset';
7244
+ /**
7245
+ * Rule Name
7246
+ * @description The user friendly name of the notification rule.
7247
+ * @example Balance threshold reached
7248
+ */
7249
+ name: string;
7250
+ /**
7251
+ * Rule Disabled
7252
+ * @description Whether the rule is disabled or not.
7253
+ * @default false
7254
+ * @example true
7255
+ */
7256
+ disabled?: boolean;
7257
+ /**
7258
+ * Channels assigned to Rule
7259
+ * @description List of notification channels the rule applies to.
7260
+ */
7261
+ channels: components['schemas']['NotificationChannelMeta'][];
7262
+ /**
7263
+ * Features
7264
+ * @description Optional field containing list of features the rule applies to.
7265
+ */
7266
+ features?: components['schemas']['FeatureMeta'][];
7267
+ };
7268
+ /** @description Request with input parameters for creating new notification rule with entitlements.reset type. */
7269
+ NotificationRuleEntitlementResetCreateRequest: {
7270
+ /**
7271
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7272
+ * @enum {string}
7273
+ */
7274
+ type: 'entitlements.reset';
7275
+ /**
7276
+ * Rule Name
7277
+ * @description The user friendly name of the notification rule.
7278
+ * @example Balance threshold reached
7279
+ */
7280
+ name: string;
7281
+ /**
7282
+ * Rule Disabled
7283
+ * @description Whether the rule is disabled or not.
7284
+ * @default false
7285
+ * @example true
7286
+ */
7287
+ disabled?: boolean;
7288
+ /**
7289
+ * Channels
7290
+ * @description List of notification channels the rule is applied to.
7291
+ */
7292
+ channels: string[];
7293
+ /**
7294
+ * Features
7295
+ * @description Optional field for defining the scope of notification by feature. It may contain features by id or key.
7296
+ */
7297
+ features?: string[];
7298
+ };
7299
+ /** @description Notification rule with invoice.created type. */
7300
+ NotificationRuleInvoiceCreated: {
7301
+ /**
7302
+ * Creation Time
7303
+ * Format: date-time
7304
+ * @description Timestamp of when the resource was created.
7305
+ * @example 2024-01-01T01:01:01.001Z
7306
+ */
7307
+ readonly createdAt: Date;
7308
+ /**
7309
+ * Last Update Time
7310
+ * Format: date-time
7311
+ * @description Timestamp of when the resource was last updated.
7312
+ * @example 2024-01-01T01:01:01.001Z
7313
+ */
7314
+ readonly updatedAt: Date;
7315
+ /**
7316
+ * Deletion Time
7317
+ * Format: date-time
7318
+ * @description Timestamp of when the resource was permanently deleted.
7319
+ * @example 2024-01-01T01:01:01.001Z
7320
+ */
7321
+ readonly deletedAt?: Date;
7322
+ /**
7323
+ * Rule Unique Identifier
7324
+ * @description Identifies the notification rule.
7325
+ * @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
7326
+ */
7327
+ readonly id: string;
7328
+ /**
7329
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7330
+ * @enum {string}
7331
+ */
7332
+ type: 'invoice.created';
7333
+ /**
7334
+ * Rule Name
7335
+ * @description The user friendly name of the notification rule.
7336
+ * @example Balance threshold reached
7337
+ */
7338
+ name: string;
7339
+ /**
7340
+ * Rule Disabled
7341
+ * @description Whether the rule is disabled or not.
7342
+ * @default false
7343
+ * @example true
7344
+ */
7345
+ disabled?: boolean;
7346
+ /**
7347
+ * Channels assigned to Rule
7348
+ * @description List of notification channels the rule applies to.
7349
+ */
7350
+ channels: components['schemas']['NotificationChannelMeta'][];
7351
+ };
7352
+ /** @description Request with input parameters for creating new notification rule with invoice.created type. */
7353
+ NotificationRuleInvoiceCreatedCreateRequest: {
7354
+ /**
7355
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7356
+ * @enum {string}
7357
+ */
7358
+ type: 'invoice.created';
7359
+ /**
7360
+ * Rule Name
7361
+ * @description The user friendly name of the notification rule.
7362
+ * @example Balance threshold reached
7363
+ */
7364
+ name: string;
7365
+ /**
7366
+ * Rule Disabled
7367
+ * @description Whether the rule is disabled or not.
7368
+ * @default false
7369
+ * @example true
7370
+ */
7371
+ disabled?: boolean;
7372
+ /**
7373
+ * Channels
7374
+ * @description List of notification channels the rule is applied to.
7375
+ */
7376
+ channels: string[];
7377
+ };
7378
+ /** @description Notification rule with invoice.updated type. */
7379
+ NotificationRuleInvoiceUpdated: {
7380
+ /**
7381
+ * Creation Time
7382
+ * Format: date-time
7383
+ * @description Timestamp of when the resource was created.
7384
+ * @example 2024-01-01T01:01:01.001Z
7385
+ */
7386
+ readonly createdAt: Date;
7387
+ /**
7388
+ * Last Update Time
7389
+ * Format: date-time
7390
+ * @description Timestamp of when the resource was last updated.
7391
+ * @example 2024-01-01T01:01:01.001Z
7392
+ */
7393
+ readonly updatedAt: Date;
7394
+ /**
7395
+ * Deletion Time
7396
+ * Format: date-time
7397
+ * @description Timestamp of when the resource was permanently deleted.
7398
+ * @example 2024-01-01T01:01:01.001Z
7399
+ */
7400
+ readonly deletedAt?: Date;
7401
+ /**
7402
+ * Rule Unique Identifier
7403
+ * @description Identifies the notification rule.
7404
+ * @example 01ARZ3NDEKTSV4RRFFQ69G5FAV
7405
+ */
7406
+ readonly id: string;
7407
+ /**
7408
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7409
+ * @enum {string}
7410
+ */
7411
+ type: 'invoice.updated';
7412
+ /**
7413
+ * Rule Name
7414
+ * @description The user friendly name of the notification rule.
7415
+ * @example Balance threshold reached
7416
+ */
7417
+ name: string;
7418
+ /**
7419
+ * Rule Disabled
7420
+ * @description Whether the rule is disabled or not.
7421
+ * @default false
7422
+ * @example true
7423
+ */
7424
+ disabled?: boolean;
7425
+ /**
7426
+ * Channels assigned to Rule
7427
+ * @description List of notification channels the rule applies to.
7428
+ */
7429
+ channels: components['schemas']['NotificationChannelMeta'][];
7430
+ };
7431
+ /** @description Request with input parameters for creating new notification rule with invoice.updated type. */
7432
+ NotificationRuleInvoiceUpdatedCreateRequest: {
7433
+ /**
7434
+ * @description Notification rule type. (enum property replaced by openapi-typescript)
7435
+ * @enum {string}
7436
+ */
7437
+ type: 'invoice.updated';
7438
+ /**
7439
+ * Rule Name
7440
+ * @description The user friendly name of the notification rule.
7441
+ * @example Balance threshold reached
7442
+ */
7443
+ name: string;
7444
+ /**
7445
+ * Rule Disabled
7446
+ * @description Whether the rule is disabled or not.
7447
+ * @default false
7448
+ * @example true
7449
+ */
7450
+ disabled?: boolean;
7451
+ /**
7452
+ * Channels
7453
+ * @description List of notification channels the rule is applied to.
7454
+ */
7455
+ channels: string[];
7456
+ };
7124
7457
  /**
7125
7458
  * @description Order by options for notification channels.
7126
7459
  * @enum {string}
@@ -9924,9 +10257,13 @@ export type NotificationEventBalanceThresholdPayload = components['schemas']['No
9924
10257
  export type NotificationEventBalanceThresholdPayloadData = components['schemas']['NotificationEventBalanceThresholdPayloadData'];
9925
10258
  export type NotificationEventDeliveryStatus = components['schemas']['NotificationEventDeliveryStatus'];
9926
10259
  export type NotificationEventDeliveryStatusState = components['schemas']['NotificationEventDeliveryStatusState'];
10260
+ export type NotificationEventEntitlementValuePayloadBase = components['schemas']['NotificationEventEntitlementValuePayloadBase'];
10261
+ export type NotificationEventInvoiceCreatedPayload = components['schemas']['NotificationEventInvoiceCreatedPayload'];
10262
+ export type NotificationEventInvoiceUpdatedPayload = components['schemas']['NotificationEventInvoiceUpdatedPayload'];
9927
10263
  export type NotificationEventOrderBy = components['schemas']['NotificationEventOrderBy'];
9928
10264
  export type NotificationEventPaginatedResponse = components['schemas']['NotificationEventPaginatedResponse'];
9929
10265
  export type NotificationEventPayload = components['schemas']['NotificationEventPayload'];
10266
+ export type NotificationEventResetPayload = components['schemas']['NotificationEventResetPayload'];
9930
10267
  export type NotificationEventType = components['schemas']['NotificationEventType'];
9931
10268
  export type NotificationRule = components['schemas']['NotificationRule'];
9932
10269
  export type NotificationRuleBalanceThreshold = components['schemas']['NotificationRuleBalanceThreshold'];
@@ -9934,6 +10271,12 @@ export type NotificationRuleBalanceThresholdCreateRequest = components['schemas'
9934
10271
  export type NotificationRuleBalanceThresholdValue = components['schemas']['NotificationRuleBalanceThresholdValue'];
9935
10272
  export type NotificationRuleBalanceThresholdValueType = components['schemas']['NotificationRuleBalanceThresholdValueType'];
9936
10273
  export type NotificationRuleCreateRequest = components['schemas']['NotificationRuleCreateRequest'];
10274
+ export type NotificationRuleEntitlementReset = components['schemas']['NotificationRuleEntitlementReset'];
10275
+ export type NotificationRuleEntitlementResetCreateRequest = components['schemas']['NotificationRuleEntitlementResetCreateRequest'];
10276
+ export type NotificationRuleInvoiceCreated = components['schemas']['NotificationRuleInvoiceCreated'];
10277
+ export type NotificationRuleInvoiceCreatedCreateRequest = components['schemas']['NotificationRuleInvoiceCreatedCreateRequest'];
10278
+ export type NotificationRuleInvoiceUpdated = components['schemas']['NotificationRuleInvoiceUpdated'];
10279
+ export type NotificationRuleInvoiceUpdatedCreateRequest = components['schemas']['NotificationRuleInvoiceUpdatedCreateRequest'];
9937
10280
  export type NotificationRuleOrderBy = components['schemas']['NotificationRuleOrderBy'];
9938
10281
  export type NotificationRulePaginatedResponse = components['schemas']['NotificationRulePaginatedResponse'];
9939
10282
  export type Numeric = components['schemas']['Numeric'];
@@ -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