@openmeter/client 1.0.0-beta-e80707e916b7 → 1.0.0-beta-e00163c4b8a0

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.
@@ -513,6 +513,11 @@ export declare const booleanFieldFilter: z.ZodUnion<readonly [z.ZodBoolean, z.Zo
513
513
  export declare const notificationChannelType: z.ZodEnum<{
514
514
  webhook: "webhook";
515
515
  }>;
516
+ export declare const notificationBalanceThresholdType: z.ZodEnum<{
517
+ balance_value: "balance_value";
518
+ usage_percentage: "usage_percentage";
519
+ usage_value: "usage_value";
520
+ }>;
516
521
  export declare const notificationEventType: z.ZodEnum<{
517
522
  "entitlements.balance.threshold": "entitlements.balance.threshold";
518
523
  "entitlements.reset": "entitlements.reset";
@@ -532,11 +537,6 @@ export declare const notificationEventDeliveryAttemptResponse: z.ZodObject<{
532
537
  durationMs: z.ZodCoercedBigInt<unknown>;
533
538
  url: z.ZodOptional<z.ZodString>;
534
539
  }, z.core.$strip>;
535
- export declare const notificationBalanceThresholdType: z.ZodEnum<{
536
- balance_value: "balance_value";
537
- usage_percentage: "usage_percentage";
538
- usage_value: "usage_value";
539
- }>;
540
540
  export declare const queryFilterInteger: z.ZodObject<{
541
541
  eq: z.ZodOptional<z.ZodNumber>;
542
542
  neq: z.ZodOptional<z.ZodNumber>;
@@ -972,6 +972,9 @@ export declare const chargeReference: z.ZodObject<{
972
972
  export declare const updateResourceReference: z.ZodObject<{
973
973
  id: z.ZodString;
974
974
  }, z.core.$strip>;
975
+ export declare const notificationChannelReference: z.ZodObject<{
976
+ id: z.ZodString;
977
+ }, z.core.$strip>;
975
978
  export declare const notificationEventFeatureReference: z.ZodObject<{
976
979
  id: z.ZodString;
977
980
  key: z.ZodString;
@@ -1866,6 +1869,14 @@ export declare const updateBillingNotificationChannelRequest: z.ZodObject<{
1866
1869
  customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1867
1870
  signingSecret: z.ZodOptional<z.ZodString>;
1868
1871
  }, z.core.$strip>;
1872
+ export declare const notificationBalanceThreshold: z.ZodObject<{
1873
+ type: z.ZodEnum<{
1874
+ balance_value: "balance_value";
1875
+ usage_percentage: "usage_percentage";
1876
+ usage_value: "usage_value";
1877
+ }>;
1878
+ value: z.ZodNumber;
1879
+ }, z.core.$strip>;
1869
1880
  export declare const notificationRuleReference: z.ZodObject<{
1870
1881
  id: z.ZodString;
1871
1882
  type: z.ZodEnum<{
@@ -1892,14 +1903,6 @@ export declare const notificationEventDeliveryAttempt: z.ZodObject<{
1892
1903
  }, z.core.$strip>;
1893
1904
  timestamp: z.ZodDate;
1894
1905
  }, z.core.$strip>;
1895
- export declare const notificationBalanceThreshold: z.ZodObject<{
1896
- type: z.ZodEnum<{
1897
- balance_value: "balance_value";
1898
- usage_percentage: "usage_percentage";
1899
- usage_value: "usage_value";
1900
- }>;
1901
- value: z.ZodNumber;
1902
- }, z.core.$strip>;
1903
1906
  export declare const appCustomerData: z.ZodObject<{
1904
1907
  stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1905
1908
  customerId: z.ZodOptional<z.ZodString>;
@@ -2595,6 +2598,78 @@ export declare const updateTaxCodeConfig: z.ZodObject<{
2595
2598
  id: z.ZodString;
2596
2599
  }, z.core.$strip>>;
2597
2600
  }, z.core.$strip>;
2601
+ export declare const notificationRuleEntitlementReset: z.ZodObject<{
2602
+ id: z.ZodString;
2603
+ name: z.ZodString;
2604
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2605
+ createdAt: z.ZodDate;
2606
+ updatedAt: z.ZodDate;
2607
+ deletedAt: z.ZodOptional<z.ZodDate>;
2608
+ type: z.ZodLiteral<"entitlements.reset">;
2609
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2610
+ channels: z.ZodArray<z.ZodObject<{
2611
+ id: z.ZodString;
2612
+ }, z.core.$strip>>;
2613
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
2614
+ id: z.ZodString;
2615
+ }, z.core.$strip>>>;
2616
+ }, z.core.$strip>;
2617
+ export declare const notificationRuleInvoiceCreated: z.ZodObject<{
2618
+ id: z.ZodString;
2619
+ name: z.ZodString;
2620
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2621
+ createdAt: z.ZodDate;
2622
+ updatedAt: z.ZodDate;
2623
+ deletedAt: z.ZodOptional<z.ZodDate>;
2624
+ type: z.ZodLiteral<"invoice.created">;
2625
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2626
+ channels: z.ZodArray<z.ZodObject<{
2627
+ id: z.ZodString;
2628
+ }, z.core.$strip>>;
2629
+ }, z.core.$strip>;
2630
+ export declare const notificationRuleInvoiceUpdated: z.ZodObject<{
2631
+ id: z.ZodString;
2632
+ name: z.ZodString;
2633
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2634
+ createdAt: z.ZodDate;
2635
+ updatedAt: z.ZodDate;
2636
+ deletedAt: z.ZodOptional<z.ZodDate>;
2637
+ type: z.ZodLiteral<"invoice.updated">;
2638
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2639
+ channels: z.ZodArray<z.ZodObject<{
2640
+ id: z.ZodString;
2641
+ }, z.core.$strip>>;
2642
+ }, z.core.$strip>;
2643
+ export declare const notificationRuleEntitlementResetRequest: z.ZodObject<{
2644
+ name: z.ZodString;
2645
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2646
+ type: z.ZodLiteral<"entitlements.reset">;
2647
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2648
+ channels: z.ZodArray<z.ZodObject<{
2649
+ id: z.ZodString;
2650
+ }, z.core.$strip>>;
2651
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
2652
+ id: z.ZodString;
2653
+ }, z.core.$strip>>>;
2654
+ }, z.core.$strip>;
2655
+ export declare const notificationRuleInvoiceCreatedRequest: z.ZodObject<{
2656
+ name: z.ZodString;
2657
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2658
+ type: z.ZodLiteral<"invoice.created">;
2659
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2660
+ channels: z.ZodArray<z.ZodObject<{
2661
+ id: z.ZodString;
2662
+ }, z.core.$strip>>;
2663
+ }, z.core.$strip>;
2664
+ export declare const notificationRuleInvoiceUpdatedRequest: z.ZodObject<{
2665
+ name: z.ZodString;
2666
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2667
+ type: z.ZodLiteral<"invoice.updated">;
2668
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2669
+ channels: z.ZodArray<z.ZodObject<{
2670
+ id: z.ZodString;
2671
+ }, z.core.$strip>>;
2672
+ }, z.core.$strip>;
2598
2673
  export declare const notificationEventInvoiceData: z.ZodObject<{
2599
2674
  invoice: z.ZodObject<{
2600
2675
  id: z.ZodString;
@@ -2822,6 +2897,52 @@ export declare const listNotificationChannelsParamsFilter: z.ZodObject<{
2822
2897
  gte: z.ZodOptional<z.ZodDate>;
2823
2898
  }, z.core.$strip>]>>;
2824
2899
  }, z.core.$strip>;
2900
+ export declare const listNotificationRulesParamsFilter: z.ZodObject<{
2901
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2902
+ eq: z.ZodOptional<z.ZodString>;
2903
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
2904
+ neq: z.ZodOptional<z.ZodString>;
2905
+ }, z.core.$strip>]>>;
2906
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2907
+ eq: z.ZodOptional<z.ZodString>;
2908
+ neq: z.ZodOptional<z.ZodString>;
2909
+ contains: z.ZodOptional<z.ZodString>;
2910
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
2911
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
2912
+ gt: z.ZodOptional<z.ZodString>;
2913
+ gte: z.ZodOptional<z.ZodString>;
2914
+ lt: z.ZodOptional<z.ZodString>;
2915
+ lte: z.ZodOptional<z.ZodString>;
2916
+ exists: z.ZodOptional<z.ZodBoolean>;
2917
+ }, z.core.$strip>]>>;
2918
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2919
+ eq: z.ZodOptional<z.ZodString>;
2920
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
2921
+ neq: z.ZodOptional<z.ZodString>;
2922
+ }, z.core.$strip>]>>;
2923
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
2924
+ eq: z.ZodBoolean;
2925
+ }, z.core.$strip>]>>;
2926
+ createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
2927
+ eq: z.ZodOptional<z.ZodDate>;
2928
+ lt: z.ZodOptional<z.ZodDate>;
2929
+ lte: z.ZodOptional<z.ZodDate>;
2930
+ gt: z.ZodOptional<z.ZodDate>;
2931
+ gte: z.ZodOptional<z.ZodDate>;
2932
+ }, z.core.$strip>]>>;
2933
+ updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
2934
+ eq: z.ZodOptional<z.ZodDate>;
2935
+ lt: z.ZodOptional<z.ZodDate>;
2936
+ lte: z.ZodOptional<z.ZodDate>;
2937
+ gt: z.ZodOptional<z.ZodDate>;
2938
+ gte: z.ZodOptional<z.ZodDate>;
2939
+ }, z.core.$strip>]>>;
2940
+ channelId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2941
+ eq: z.ZodOptional<z.ZodString>;
2942
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
2943
+ neq: z.ZodOptional<z.ZodString>;
2944
+ }, z.core.$strip>]>>;
2945
+ }, z.core.$strip>;
2825
2946
  export declare const listNotificationEventsParamsFilter: z.ZodObject<{
2826
2947
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2827
2948
  eq: z.ZodOptional<z.ZodString>;
@@ -3945,6 +4066,50 @@ export declare const notificationChannelPagePaginatedResponse: z.ZodObject<{
3945
4066
  }, z.core.$strip>;
3946
4067
  }, z.core.$strip>;
3947
4068
  }, z.core.$strip>;
4069
+ export declare const notificationRuleBalanceThreshold: z.ZodObject<{
4070
+ id: z.ZodString;
4071
+ name: z.ZodString;
4072
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4073
+ createdAt: z.ZodDate;
4074
+ updatedAt: z.ZodDate;
4075
+ deletedAt: z.ZodOptional<z.ZodDate>;
4076
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
4077
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4078
+ channels: z.ZodArray<z.ZodObject<{
4079
+ id: z.ZodString;
4080
+ }, z.core.$strip>>;
4081
+ thresholds: z.ZodArray<z.ZodObject<{
4082
+ type: z.ZodEnum<{
4083
+ balance_value: "balance_value";
4084
+ usage_percentage: "usage_percentage";
4085
+ usage_value: "usage_value";
4086
+ }>;
4087
+ value: z.ZodNumber;
4088
+ }, z.core.$strip>>;
4089
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
4090
+ id: z.ZodString;
4091
+ }, z.core.$strip>>>;
4092
+ }, z.core.$strip>;
4093
+ export declare const notificationRuleBalanceThresholdRequest: z.ZodObject<{
4094
+ name: z.ZodString;
4095
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4096
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
4097
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4098
+ channels: z.ZodArray<z.ZodObject<{
4099
+ id: z.ZodString;
4100
+ }, z.core.$strip>>;
4101
+ thresholds: z.ZodArray<z.ZodObject<{
4102
+ type: z.ZodEnum<{
4103
+ balance_value: "balance_value";
4104
+ usage_percentage: "usage_percentage";
4105
+ usage_value: "usage_value";
4106
+ }>;
4107
+ value: z.ZodNumber;
4108
+ }, z.core.$strip>>;
4109
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
4110
+ id: z.ZodString;
4111
+ }, z.core.$strip>>>;
4112
+ }, z.core.$strip>;
3948
4113
  export declare const notificationEventDeliveryStatus: z.ZodObject<{
3949
4114
  channelId: z.ZodString;
3950
4115
  state: z.ZodEnum<{
@@ -5607,6 +5772,116 @@ export declare const entitlementAccessQueryResult: z.ZodObject<{
5607
5772
  }, z.core.$strip>>;
5608
5773
  updatedAt: z.ZodDate;
5609
5774
  }, z.core.$strip>;
5775
+ export declare const notificationRule: z.ZodDiscriminatedUnion<[z.ZodObject<{
5776
+ id: z.ZodString;
5777
+ name: z.ZodString;
5778
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5779
+ createdAt: z.ZodDate;
5780
+ updatedAt: z.ZodDate;
5781
+ deletedAt: z.ZodOptional<z.ZodDate>;
5782
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
5783
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5784
+ channels: z.ZodArray<z.ZodObject<{
5785
+ id: z.ZodString;
5786
+ }, z.core.$strip>>;
5787
+ thresholds: z.ZodArray<z.ZodObject<{
5788
+ type: z.ZodEnum<{
5789
+ balance_value: "balance_value";
5790
+ usage_percentage: "usage_percentage";
5791
+ usage_value: "usage_value";
5792
+ }>;
5793
+ value: z.ZodNumber;
5794
+ }, z.core.$strip>>;
5795
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
5796
+ id: z.ZodString;
5797
+ }, z.core.$strip>>>;
5798
+ }, z.core.$strip>, z.ZodObject<{
5799
+ id: z.ZodString;
5800
+ name: z.ZodString;
5801
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5802
+ createdAt: z.ZodDate;
5803
+ updatedAt: z.ZodDate;
5804
+ deletedAt: z.ZodOptional<z.ZodDate>;
5805
+ type: z.ZodLiteral<"entitlements.reset">;
5806
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5807
+ channels: z.ZodArray<z.ZodObject<{
5808
+ id: z.ZodString;
5809
+ }, z.core.$strip>>;
5810
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
5811
+ id: z.ZodString;
5812
+ }, z.core.$strip>>>;
5813
+ }, z.core.$strip>, z.ZodObject<{
5814
+ id: z.ZodString;
5815
+ name: z.ZodString;
5816
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5817
+ createdAt: z.ZodDate;
5818
+ updatedAt: z.ZodDate;
5819
+ deletedAt: z.ZodOptional<z.ZodDate>;
5820
+ type: z.ZodLiteral<"invoice.created">;
5821
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5822
+ channels: z.ZodArray<z.ZodObject<{
5823
+ id: z.ZodString;
5824
+ }, z.core.$strip>>;
5825
+ }, z.core.$strip>, z.ZodObject<{
5826
+ id: z.ZodString;
5827
+ name: z.ZodString;
5828
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5829
+ createdAt: z.ZodDate;
5830
+ updatedAt: z.ZodDate;
5831
+ deletedAt: z.ZodOptional<z.ZodDate>;
5832
+ type: z.ZodLiteral<"invoice.updated">;
5833
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5834
+ channels: z.ZodArray<z.ZodObject<{
5835
+ id: z.ZodString;
5836
+ }, z.core.$strip>>;
5837
+ }, z.core.$strip>], "type">;
5838
+ export declare const notificationRuleRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
5839
+ name: z.ZodString;
5840
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5841
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
5842
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5843
+ channels: z.ZodArray<z.ZodObject<{
5844
+ id: z.ZodString;
5845
+ }, z.core.$strip>>;
5846
+ thresholds: z.ZodArray<z.ZodObject<{
5847
+ type: z.ZodEnum<{
5848
+ balance_value: "balance_value";
5849
+ usage_percentage: "usage_percentage";
5850
+ usage_value: "usage_value";
5851
+ }>;
5852
+ value: z.ZodNumber;
5853
+ }, z.core.$strip>>;
5854
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
5855
+ id: z.ZodString;
5856
+ }, z.core.$strip>>>;
5857
+ }, z.core.$strip>, z.ZodObject<{
5858
+ name: z.ZodString;
5859
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5860
+ type: z.ZodLiteral<"entitlements.reset">;
5861
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5862
+ channels: z.ZodArray<z.ZodObject<{
5863
+ id: z.ZodString;
5864
+ }, z.core.$strip>>;
5865
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
5866
+ id: z.ZodString;
5867
+ }, z.core.$strip>>>;
5868
+ }, z.core.$strip>, z.ZodObject<{
5869
+ name: z.ZodString;
5870
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5871
+ type: z.ZodLiteral<"invoice.created">;
5872
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5873
+ channels: z.ZodArray<z.ZodObject<{
5874
+ id: z.ZodString;
5875
+ }, z.core.$strip>>;
5876
+ }, z.core.$strip>, z.ZodObject<{
5877
+ name: z.ZodString;
5878
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5879
+ type: z.ZodLiteral<"invoice.updated">;
5880
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5881
+ channels: z.ZodArray<z.ZodObject<{
5882
+ id: z.ZodString;
5883
+ }, z.core.$strip>>;
5884
+ }, z.core.$strip>], "type">;
5610
5885
  export declare const notificationEventBalanceThresholdPayload: z.ZodObject<{
5611
5886
  id: z.ZodString;
5612
5887
  type: z.ZodLiteral<"entitlements.balance.threshold">;
@@ -6993,6 +7268,78 @@ export declare const entitlementAccessQueryResponse: z.ZodObject<{
6993
7268
  }, z.core.$strip>;
6994
7269
  }, z.core.$strip>;
6995
7270
  }, z.core.$strip>;
7271
+ export declare const notificationRulePagePaginatedResponse: z.ZodObject<{
7272
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7273
+ id: z.ZodString;
7274
+ name: z.ZodString;
7275
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7276
+ createdAt: z.ZodDate;
7277
+ updatedAt: z.ZodDate;
7278
+ deletedAt: z.ZodOptional<z.ZodDate>;
7279
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
7280
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7281
+ channels: z.ZodArray<z.ZodObject<{
7282
+ id: z.ZodString;
7283
+ }, z.core.$strip>>;
7284
+ thresholds: z.ZodArray<z.ZodObject<{
7285
+ type: z.ZodEnum<{
7286
+ balance_value: "balance_value";
7287
+ usage_percentage: "usage_percentage";
7288
+ usage_value: "usage_value";
7289
+ }>;
7290
+ value: z.ZodNumber;
7291
+ }, z.core.$strip>>;
7292
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
7293
+ id: z.ZodString;
7294
+ }, z.core.$strip>>>;
7295
+ }, z.core.$strip>, z.ZodObject<{
7296
+ id: z.ZodString;
7297
+ name: z.ZodString;
7298
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7299
+ createdAt: z.ZodDate;
7300
+ updatedAt: z.ZodDate;
7301
+ deletedAt: z.ZodOptional<z.ZodDate>;
7302
+ type: z.ZodLiteral<"entitlements.reset">;
7303
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7304
+ channels: z.ZodArray<z.ZodObject<{
7305
+ id: z.ZodString;
7306
+ }, z.core.$strip>>;
7307
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
7308
+ id: z.ZodString;
7309
+ }, z.core.$strip>>>;
7310
+ }, z.core.$strip>, z.ZodObject<{
7311
+ id: z.ZodString;
7312
+ name: z.ZodString;
7313
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7314
+ createdAt: z.ZodDate;
7315
+ updatedAt: z.ZodDate;
7316
+ deletedAt: z.ZodOptional<z.ZodDate>;
7317
+ type: z.ZodLiteral<"invoice.created">;
7318
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7319
+ channels: z.ZodArray<z.ZodObject<{
7320
+ id: z.ZodString;
7321
+ }, z.core.$strip>>;
7322
+ }, z.core.$strip>, z.ZodObject<{
7323
+ id: z.ZodString;
7324
+ name: z.ZodString;
7325
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7326
+ createdAt: z.ZodDate;
7327
+ updatedAt: z.ZodDate;
7328
+ deletedAt: z.ZodOptional<z.ZodDate>;
7329
+ type: z.ZodLiteral<"invoice.updated">;
7330
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7331
+ channels: z.ZodArray<z.ZodObject<{
7332
+ id: z.ZodString;
7333
+ }, z.core.$strip>>;
7334
+ }, z.core.$strip>], "type">>;
7335
+ meta: z.ZodObject<{
7336
+ page: z.ZodObject<{
7337
+ number: z.ZodNumber;
7338
+ size: z.ZodNumber;
7339
+ total: z.ZodNumber;
7340
+ }, z.core.$strip>;
7341
+ }, z.core.$strip>;
7342
+ }, z.core.$strip>;
6996
7343
  export declare const notificationEventPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
6997
7344
  id: z.ZodString;
6998
7345
  type: z.ZodLiteral<"entitlements.balance.threshold">;
@@ -35745,6 +36092,575 @@ export declare const updateNotificationChannelResponse: z.ZodObject<{
35745
36092
  export declare const deleteNotificationChannelPathParams: z.ZodObject<{
35746
36093
  notificationChannelId: z.ZodString;
35747
36094
  }, z.core.$strip>;
36095
+ export declare const listNotificationRulesQueryParams: z.ZodObject<{
36096
+ page: z.ZodOptional<z.ZodObject<{
36097
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
36098
+ number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
36099
+ }, z.core.$strip>>;
36100
+ sort: z.ZodOptional<z.ZodObject<{
36101
+ by: z.ZodString;
36102
+ order: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"asc">, z.ZodLiteral<"desc">]>>>;
36103
+ }, z.core.$strip>>;
36104
+ filter: z.ZodOptional<z.ZodObject<{
36105
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
36106
+ eq: z.ZodOptional<z.ZodString>;
36107
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
36108
+ neq: z.ZodOptional<z.ZodString>;
36109
+ }, z.core.$strip>]>>;
36110
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
36111
+ eq: z.ZodOptional<z.ZodString>;
36112
+ neq: z.ZodOptional<z.ZodString>;
36113
+ contains: z.ZodOptional<z.ZodString>;
36114
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
36115
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
36116
+ gt: z.ZodOptional<z.ZodString>;
36117
+ gte: z.ZodOptional<z.ZodString>;
36118
+ lt: z.ZodOptional<z.ZodString>;
36119
+ lte: z.ZodOptional<z.ZodString>;
36120
+ exists: z.ZodOptional<z.ZodBoolean>;
36121
+ }, z.core.$strip>]>>;
36122
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
36123
+ eq: z.ZodOptional<z.ZodString>;
36124
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
36125
+ neq: z.ZodOptional<z.ZodString>;
36126
+ }, z.core.$strip>]>>;
36127
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
36128
+ eq: z.ZodBoolean;
36129
+ }, z.core.$strip>]>>;
36130
+ createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
36131
+ eq: z.ZodOptional<z.ZodDate>;
36132
+ lt: z.ZodOptional<z.ZodDate>;
36133
+ lte: z.ZodOptional<z.ZodDate>;
36134
+ gt: z.ZodOptional<z.ZodDate>;
36135
+ gte: z.ZodOptional<z.ZodDate>;
36136
+ }, z.core.$strip>]>>;
36137
+ updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodObject<{
36138
+ eq: z.ZodOptional<z.ZodDate>;
36139
+ lt: z.ZodOptional<z.ZodDate>;
36140
+ lte: z.ZodOptional<z.ZodDate>;
36141
+ gt: z.ZodOptional<z.ZodDate>;
36142
+ gte: z.ZodOptional<z.ZodDate>;
36143
+ }, z.core.$strip>]>>;
36144
+ channelId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
36145
+ eq: z.ZodOptional<z.ZodString>;
36146
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
36147
+ neq: z.ZodOptional<z.ZodString>;
36148
+ }, z.core.$strip>]>>;
36149
+ }, z.core.$strip>>;
36150
+ }, z.core.$strip>;
36151
+ export declare const listNotificationRulesResponse: z.ZodObject<{
36152
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
36153
+ id: z.ZodString;
36154
+ name: z.ZodString;
36155
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36156
+ createdAt: z.ZodDate;
36157
+ updatedAt: z.ZodDate;
36158
+ deletedAt: z.ZodOptional<z.ZodDate>;
36159
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36160
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36161
+ channels: z.ZodArray<z.ZodObject<{
36162
+ id: z.ZodString;
36163
+ }, z.core.$strip>>;
36164
+ thresholds: z.ZodArray<z.ZodObject<{
36165
+ type: z.ZodEnum<{
36166
+ balance_value: "balance_value";
36167
+ usage_percentage: "usage_percentage";
36168
+ usage_value: "usage_value";
36169
+ }>;
36170
+ value: z.ZodNumber;
36171
+ }, z.core.$strip>>;
36172
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36173
+ id: z.ZodString;
36174
+ }, z.core.$strip>>>;
36175
+ }, z.core.$strip>, z.ZodObject<{
36176
+ id: z.ZodString;
36177
+ name: z.ZodString;
36178
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36179
+ createdAt: z.ZodDate;
36180
+ updatedAt: z.ZodDate;
36181
+ deletedAt: z.ZodOptional<z.ZodDate>;
36182
+ type: z.ZodLiteral<"entitlements.reset">;
36183
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36184
+ channels: z.ZodArray<z.ZodObject<{
36185
+ id: z.ZodString;
36186
+ }, z.core.$strip>>;
36187
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36188
+ id: z.ZodString;
36189
+ }, z.core.$strip>>>;
36190
+ }, z.core.$strip>, z.ZodObject<{
36191
+ id: z.ZodString;
36192
+ name: z.ZodString;
36193
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36194
+ createdAt: z.ZodDate;
36195
+ updatedAt: z.ZodDate;
36196
+ deletedAt: z.ZodOptional<z.ZodDate>;
36197
+ type: z.ZodLiteral<"invoice.created">;
36198
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36199
+ channels: z.ZodArray<z.ZodObject<{
36200
+ id: z.ZodString;
36201
+ }, z.core.$strip>>;
36202
+ }, z.core.$strip>, z.ZodObject<{
36203
+ id: z.ZodString;
36204
+ name: z.ZodString;
36205
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36206
+ createdAt: z.ZodDate;
36207
+ updatedAt: z.ZodDate;
36208
+ deletedAt: z.ZodOptional<z.ZodDate>;
36209
+ type: z.ZodLiteral<"invoice.updated">;
36210
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36211
+ channels: z.ZodArray<z.ZodObject<{
36212
+ id: z.ZodString;
36213
+ }, z.core.$strip>>;
36214
+ }, z.core.$strip>], "type">>;
36215
+ meta: z.ZodObject<{
36216
+ page: z.ZodObject<{
36217
+ number: z.ZodNumber;
36218
+ size: z.ZodNumber;
36219
+ total: z.ZodNumber;
36220
+ }, z.core.$strip>;
36221
+ }, z.core.$strip>;
36222
+ }, z.core.$strip>;
36223
+ export declare const createNotificationRuleBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
36224
+ name: z.ZodString;
36225
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36226
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36227
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36228
+ channels: z.ZodArray<z.ZodObject<{
36229
+ id: z.ZodString;
36230
+ }, z.core.$strip>>;
36231
+ thresholds: z.ZodArray<z.ZodObject<{
36232
+ type: z.ZodEnum<{
36233
+ balance_value: "balance_value";
36234
+ usage_percentage: "usage_percentage";
36235
+ usage_value: "usage_value";
36236
+ }>;
36237
+ value: z.ZodNumber;
36238
+ }, z.core.$strip>>;
36239
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36240
+ id: z.ZodString;
36241
+ }, z.core.$strip>>>;
36242
+ }, z.core.$strip>, z.ZodObject<{
36243
+ name: z.ZodString;
36244
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36245
+ type: z.ZodLiteral<"entitlements.reset">;
36246
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36247
+ channels: z.ZodArray<z.ZodObject<{
36248
+ id: z.ZodString;
36249
+ }, z.core.$strip>>;
36250
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36251
+ id: z.ZodString;
36252
+ }, z.core.$strip>>>;
36253
+ }, z.core.$strip>, z.ZodObject<{
36254
+ name: z.ZodString;
36255
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36256
+ type: z.ZodLiteral<"invoice.created">;
36257
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36258
+ channels: z.ZodArray<z.ZodObject<{
36259
+ id: z.ZodString;
36260
+ }, z.core.$strip>>;
36261
+ }, z.core.$strip>, z.ZodObject<{
36262
+ name: z.ZodString;
36263
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36264
+ type: z.ZodLiteral<"invoice.updated">;
36265
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36266
+ channels: z.ZodArray<z.ZodObject<{
36267
+ id: z.ZodString;
36268
+ }, z.core.$strip>>;
36269
+ }, z.core.$strip>], "type">;
36270
+ export declare const createNotificationRuleResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
36271
+ id: z.ZodString;
36272
+ name: z.ZodString;
36273
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36274
+ createdAt: z.ZodDate;
36275
+ updatedAt: z.ZodDate;
36276
+ deletedAt: z.ZodOptional<z.ZodDate>;
36277
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36278
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36279
+ channels: z.ZodArray<z.ZodObject<{
36280
+ id: z.ZodString;
36281
+ }, z.core.$strip>>;
36282
+ thresholds: z.ZodArray<z.ZodObject<{
36283
+ type: z.ZodEnum<{
36284
+ balance_value: "balance_value";
36285
+ usage_percentage: "usage_percentage";
36286
+ usage_value: "usage_value";
36287
+ }>;
36288
+ value: z.ZodNumber;
36289
+ }, z.core.$strip>>;
36290
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36291
+ id: z.ZodString;
36292
+ }, z.core.$strip>>>;
36293
+ }, z.core.$strip>, z.ZodObject<{
36294
+ id: z.ZodString;
36295
+ name: z.ZodString;
36296
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36297
+ createdAt: z.ZodDate;
36298
+ updatedAt: z.ZodDate;
36299
+ deletedAt: z.ZodOptional<z.ZodDate>;
36300
+ type: z.ZodLiteral<"entitlements.reset">;
36301
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36302
+ channels: z.ZodArray<z.ZodObject<{
36303
+ id: z.ZodString;
36304
+ }, z.core.$strip>>;
36305
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36306
+ id: z.ZodString;
36307
+ }, z.core.$strip>>>;
36308
+ }, z.core.$strip>, z.ZodObject<{
36309
+ id: z.ZodString;
36310
+ name: z.ZodString;
36311
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36312
+ createdAt: z.ZodDate;
36313
+ updatedAt: z.ZodDate;
36314
+ deletedAt: z.ZodOptional<z.ZodDate>;
36315
+ type: z.ZodLiteral<"invoice.created">;
36316
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36317
+ channels: z.ZodArray<z.ZodObject<{
36318
+ id: z.ZodString;
36319
+ }, z.core.$strip>>;
36320
+ }, z.core.$strip>, z.ZodObject<{
36321
+ id: z.ZodString;
36322
+ name: z.ZodString;
36323
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36324
+ createdAt: z.ZodDate;
36325
+ updatedAt: z.ZodDate;
36326
+ deletedAt: z.ZodOptional<z.ZodDate>;
36327
+ type: z.ZodLiteral<"invoice.updated">;
36328
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36329
+ channels: z.ZodArray<z.ZodObject<{
36330
+ id: z.ZodString;
36331
+ }, z.core.$strip>>;
36332
+ }, z.core.$strip>], "type">;
36333
+ export declare const getNotificationRulePathParams: z.ZodObject<{
36334
+ notificationRuleId: z.ZodString;
36335
+ }, z.core.$strip>;
36336
+ export declare const getNotificationRuleResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
36337
+ id: z.ZodString;
36338
+ name: z.ZodString;
36339
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36340
+ createdAt: z.ZodDate;
36341
+ updatedAt: z.ZodDate;
36342
+ deletedAt: z.ZodOptional<z.ZodDate>;
36343
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36344
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36345
+ channels: z.ZodArray<z.ZodObject<{
36346
+ id: z.ZodString;
36347
+ }, z.core.$strip>>;
36348
+ thresholds: z.ZodArray<z.ZodObject<{
36349
+ type: z.ZodEnum<{
36350
+ balance_value: "balance_value";
36351
+ usage_percentage: "usage_percentage";
36352
+ usage_value: "usage_value";
36353
+ }>;
36354
+ value: z.ZodNumber;
36355
+ }, z.core.$strip>>;
36356
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36357
+ id: z.ZodString;
36358
+ }, z.core.$strip>>>;
36359
+ }, z.core.$strip>, z.ZodObject<{
36360
+ id: z.ZodString;
36361
+ name: z.ZodString;
36362
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36363
+ createdAt: z.ZodDate;
36364
+ updatedAt: z.ZodDate;
36365
+ deletedAt: z.ZodOptional<z.ZodDate>;
36366
+ type: z.ZodLiteral<"entitlements.reset">;
36367
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36368
+ channels: z.ZodArray<z.ZodObject<{
36369
+ id: z.ZodString;
36370
+ }, z.core.$strip>>;
36371
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36372
+ id: z.ZodString;
36373
+ }, z.core.$strip>>>;
36374
+ }, z.core.$strip>, z.ZodObject<{
36375
+ id: z.ZodString;
36376
+ name: z.ZodString;
36377
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36378
+ createdAt: z.ZodDate;
36379
+ updatedAt: z.ZodDate;
36380
+ deletedAt: z.ZodOptional<z.ZodDate>;
36381
+ type: z.ZodLiteral<"invoice.created">;
36382
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36383
+ channels: z.ZodArray<z.ZodObject<{
36384
+ id: z.ZodString;
36385
+ }, z.core.$strip>>;
36386
+ }, z.core.$strip>, z.ZodObject<{
36387
+ id: z.ZodString;
36388
+ name: z.ZodString;
36389
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36390
+ createdAt: z.ZodDate;
36391
+ updatedAt: z.ZodDate;
36392
+ deletedAt: z.ZodOptional<z.ZodDate>;
36393
+ type: z.ZodLiteral<"invoice.updated">;
36394
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36395
+ channels: z.ZodArray<z.ZodObject<{
36396
+ id: z.ZodString;
36397
+ }, z.core.$strip>>;
36398
+ }, z.core.$strip>], "type">;
36399
+ export declare const updateNotificationRulePathParams: z.ZodObject<{
36400
+ notificationRuleId: z.ZodString;
36401
+ }, z.core.$strip>;
36402
+ export declare const updateNotificationRuleBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
36403
+ name: z.ZodString;
36404
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36405
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36406
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36407
+ channels: z.ZodArray<z.ZodObject<{
36408
+ id: z.ZodString;
36409
+ }, z.core.$strip>>;
36410
+ thresholds: z.ZodArray<z.ZodObject<{
36411
+ type: z.ZodEnum<{
36412
+ balance_value: "balance_value";
36413
+ usage_percentage: "usage_percentage";
36414
+ usage_value: "usage_value";
36415
+ }>;
36416
+ value: z.ZodNumber;
36417
+ }, z.core.$strip>>;
36418
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36419
+ id: z.ZodString;
36420
+ }, z.core.$strip>>>;
36421
+ }, z.core.$strip>, z.ZodObject<{
36422
+ name: z.ZodString;
36423
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36424
+ type: z.ZodLiteral<"entitlements.reset">;
36425
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36426
+ channels: z.ZodArray<z.ZodObject<{
36427
+ id: z.ZodString;
36428
+ }, z.core.$strip>>;
36429
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36430
+ id: z.ZodString;
36431
+ }, z.core.$strip>>>;
36432
+ }, z.core.$strip>, z.ZodObject<{
36433
+ name: z.ZodString;
36434
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36435
+ type: z.ZodLiteral<"invoice.created">;
36436
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36437
+ channels: z.ZodArray<z.ZodObject<{
36438
+ id: z.ZodString;
36439
+ }, z.core.$strip>>;
36440
+ }, z.core.$strip>, z.ZodObject<{
36441
+ name: z.ZodString;
36442
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36443
+ type: z.ZodLiteral<"invoice.updated">;
36444
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36445
+ channels: z.ZodArray<z.ZodObject<{
36446
+ id: z.ZodString;
36447
+ }, z.core.$strip>>;
36448
+ }, z.core.$strip>], "type">;
36449
+ export declare const updateNotificationRuleResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
36450
+ id: z.ZodString;
36451
+ name: z.ZodString;
36452
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36453
+ createdAt: z.ZodDate;
36454
+ updatedAt: z.ZodDate;
36455
+ deletedAt: z.ZodOptional<z.ZodDate>;
36456
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36457
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36458
+ channels: z.ZodArray<z.ZodObject<{
36459
+ id: z.ZodString;
36460
+ }, z.core.$strip>>;
36461
+ thresholds: z.ZodArray<z.ZodObject<{
36462
+ type: z.ZodEnum<{
36463
+ balance_value: "balance_value";
36464
+ usage_percentage: "usage_percentage";
36465
+ usage_value: "usage_value";
36466
+ }>;
36467
+ value: z.ZodNumber;
36468
+ }, z.core.$strip>>;
36469
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36470
+ id: z.ZodString;
36471
+ }, z.core.$strip>>>;
36472
+ }, z.core.$strip>, z.ZodObject<{
36473
+ id: z.ZodString;
36474
+ name: z.ZodString;
36475
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36476
+ createdAt: z.ZodDate;
36477
+ updatedAt: z.ZodDate;
36478
+ deletedAt: z.ZodOptional<z.ZodDate>;
36479
+ type: z.ZodLiteral<"entitlements.reset">;
36480
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36481
+ channels: z.ZodArray<z.ZodObject<{
36482
+ id: z.ZodString;
36483
+ }, z.core.$strip>>;
36484
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
36485
+ id: z.ZodString;
36486
+ }, z.core.$strip>>>;
36487
+ }, z.core.$strip>, z.ZodObject<{
36488
+ id: z.ZodString;
36489
+ name: z.ZodString;
36490
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36491
+ createdAt: z.ZodDate;
36492
+ updatedAt: z.ZodDate;
36493
+ deletedAt: z.ZodOptional<z.ZodDate>;
36494
+ type: z.ZodLiteral<"invoice.created">;
36495
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36496
+ channels: z.ZodArray<z.ZodObject<{
36497
+ id: z.ZodString;
36498
+ }, z.core.$strip>>;
36499
+ }, z.core.$strip>, z.ZodObject<{
36500
+ id: z.ZodString;
36501
+ name: z.ZodString;
36502
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36503
+ createdAt: z.ZodDate;
36504
+ updatedAt: z.ZodDate;
36505
+ deletedAt: z.ZodOptional<z.ZodDate>;
36506
+ type: z.ZodLiteral<"invoice.updated">;
36507
+ disabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36508
+ channels: z.ZodArray<z.ZodObject<{
36509
+ id: z.ZodString;
36510
+ }, z.core.$strip>>;
36511
+ }, z.core.$strip>], "type">;
36512
+ export declare const deleteNotificationRulePathParams: z.ZodObject<{
36513
+ notificationRuleId: z.ZodString;
36514
+ }, z.core.$strip>;
36515
+ export declare const testNotificationRulePathParams: z.ZodObject<{
36516
+ notificationRuleId: z.ZodString;
36517
+ }, z.core.$strip>;
36518
+ export declare const testNotificationRuleResponse: z.ZodObject<{
36519
+ id: z.ZodString;
36520
+ type: z.ZodEnum<{
36521
+ "entitlements.balance.threshold": "entitlements.balance.threshold";
36522
+ "entitlements.reset": "entitlements.reset";
36523
+ "invoice.created": "invoice.created";
36524
+ "invoice.updated": "invoice.updated";
36525
+ }>;
36526
+ createdAt: z.ZodDate;
36527
+ rule: z.ZodObject<{
36528
+ id: z.ZodString;
36529
+ type: z.ZodEnum<{
36530
+ "entitlements.balance.threshold": "entitlements.balance.threshold";
36531
+ "entitlements.reset": "entitlements.reset";
36532
+ "invoice.created": "invoice.created";
36533
+ "invoice.updated": "invoice.updated";
36534
+ }>;
36535
+ name: z.ZodString;
36536
+ }, z.core.$strip>;
36537
+ deliveryStatus: z.ZodArray<z.ZodObject<{
36538
+ channelId: z.ZodString;
36539
+ state: z.ZodEnum<{
36540
+ failed: "failed";
36541
+ pending: "pending";
36542
+ resending: "resending";
36543
+ sending: "sending";
36544
+ success: "success";
36545
+ }>;
36546
+ reason: z.ZodString;
36547
+ updatedAt: z.ZodDate;
36548
+ nextAttempt: z.ZodOptional<z.ZodDate>;
36549
+ attempts: z.ZodArray<z.ZodObject<{
36550
+ state: z.ZodEnum<{
36551
+ failed: "failed";
36552
+ pending: "pending";
36553
+ resending: "resending";
36554
+ sending: "sending";
36555
+ success: "success";
36556
+ }>;
36557
+ response: z.ZodObject<{
36558
+ statusCode: z.ZodOptional<z.ZodNumber>;
36559
+ body: z.ZodString;
36560
+ durationMs: z.ZodCoercedBigInt<unknown>;
36561
+ url: z.ZodOptional<z.ZodString>;
36562
+ }, z.core.$strip>;
36563
+ timestamp: z.ZodDate;
36564
+ }, z.core.$strip>>;
36565
+ }, z.core.$strip>>;
36566
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
36567
+ id: z.ZodString;
36568
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
36569
+ timestamp: z.ZodDate;
36570
+ data: z.ZodObject<{
36571
+ entitlementId: z.ZodString;
36572
+ feature: z.ZodObject<{
36573
+ id: z.ZodString;
36574
+ key: z.ZodString;
36575
+ }, z.core.$strip>;
36576
+ subjectKey: z.ZodString;
36577
+ customerId: z.ZodOptional<z.ZodString>;
36578
+ value: z.ZodObject<{
36579
+ type: z.ZodEnum<{
36580
+ boolean: "boolean";
36581
+ metered: "metered";
36582
+ static: "static";
36583
+ }>;
36584
+ featureKey: z.ZodString;
36585
+ hasAccess: z.ZodBoolean;
36586
+ config: z.ZodOptional<z.ZodString>;
36587
+ value: z.ZodOptional<z.ZodObject<{
36588
+ balance: z.ZodString;
36589
+ usage: z.ZodString;
36590
+ overage: z.ZodString;
36591
+ totalAvailableGrantAmount: z.ZodString;
36592
+ grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
36593
+ }, z.core.$strip>>;
36594
+ }, z.core.$strip>;
36595
+ threshold: z.ZodObject<{
36596
+ type: z.ZodEnum<{
36597
+ balance_value: "balance_value";
36598
+ usage_percentage: "usage_percentage";
36599
+ usage_value: "usage_value";
36600
+ }>;
36601
+ value: z.ZodNumber;
36602
+ }, z.core.$strip>;
36603
+ }, z.core.$strip>;
36604
+ }, z.core.$strip>, z.ZodObject<{
36605
+ id: z.ZodString;
36606
+ type: z.ZodLiteral<"entitlements.reset">;
36607
+ timestamp: z.ZodDate;
36608
+ data: z.ZodObject<{
36609
+ entitlementId: z.ZodString;
36610
+ feature: z.ZodObject<{
36611
+ id: z.ZodString;
36612
+ key: z.ZodString;
36613
+ }, z.core.$strip>;
36614
+ subjectKey: z.ZodString;
36615
+ customerId: z.ZodOptional<z.ZodString>;
36616
+ value: z.ZodObject<{
36617
+ type: z.ZodEnum<{
36618
+ boolean: "boolean";
36619
+ metered: "metered";
36620
+ static: "static";
36621
+ }>;
36622
+ featureKey: z.ZodString;
36623
+ hasAccess: z.ZodBoolean;
36624
+ config: z.ZodOptional<z.ZodString>;
36625
+ value: z.ZodOptional<z.ZodObject<{
36626
+ balance: z.ZodString;
36627
+ usage: z.ZodString;
36628
+ overage: z.ZodString;
36629
+ totalAvailableGrantAmount: z.ZodString;
36630
+ grantBalances: z.ZodRecord<z.ZodString, z.ZodString>;
36631
+ }, z.core.$strip>>;
36632
+ }, z.core.$strip>;
36633
+ }, z.core.$strip>;
36634
+ }, z.core.$strip>, z.ZodObject<{
36635
+ id: z.ZodString;
36636
+ type: z.ZodLiteral<"invoice.created">;
36637
+ timestamp: z.ZodDate;
36638
+ data: z.ZodObject<{
36639
+ invoice: z.ZodObject<{
36640
+ id: z.ZodString;
36641
+ number: z.ZodString;
36642
+ }, z.core.$strip>;
36643
+ customerId: z.ZodOptional<z.ZodString>;
36644
+ currency: z.ZodString;
36645
+ status: z.ZodString;
36646
+ total: z.ZodString;
36647
+ }, z.core.$strip>;
36648
+ }, z.core.$strip>, z.ZodObject<{
36649
+ id: z.ZodString;
36650
+ type: z.ZodLiteral<"invoice.updated">;
36651
+ timestamp: z.ZodDate;
36652
+ data: z.ZodObject<{
36653
+ invoice: z.ZodObject<{
36654
+ id: z.ZodString;
36655
+ number: z.ZodString;
36656
+ }, z.core.$strip>;
36657
+ customerId: z.ZodOptional<z.ZodString>;
36658
+ currency: z.ZodString;
36659
+ status: z.ZodString;
36660
+ total: z.ZodString;
36661
+ }, z.core.$strip>;
36662
+ }, z.core.$strip>], "type">;
36663
+ }, z.core.$strip>;
35748
36664
  export declare const listNotificationEventsQueryParams: z.ZodObject<{
35749
36665
  page: z.ZodOptional<z.ZodObject<{
35750
36666
  size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -36633,6 +37549,11 @@ export declare const booleanFieldFilterWire: z.ZodUnion<readonly [z.ZodBoolean,
36633
37549
  export declare const notificationChannelTypeWire: z.ZodEnum<{
36634
37550
  webhook: "webhook";
36635
37551
  }>;
37552
+ export declare const notificationBalanceThresholdTypeWire: z.ZodEnum<{
37553
+ balance_value: "balance_value";
37554
+ usage_percentage: "usage_percentage";
37555
+ usage_value: "usage_value";
37556
+ }>;
36636
37557
  export declare const notificationEventTypeWire: z.ZodEnum<{
36637
37558
  "entitlements.balance.threshold": "entitlements.balance.threshold";
36638
37559
  "entitlements.reset": "entitlements.reset";
@@ -36652,11 +37573,6 @@ export declare const notificationEventDeliveryAttemptResponseWire: z.ZodObject<{
36652
37573
  duration_ms: z.ZodCoercedBigInt<unknown>;
36653
37574
  url: z.ZodOptional<z.ZodString>;
36654
37575
  }, z.core.$strict>;
36655
- export declare const notificationBalanceThresholdTypeWire: z.ZodEnum<{
36656
- balance_value: "balance_value";
36657
- usage_percentage: "usage_percentage";
36658
- usage_value: "usage_value";
36659
- }>;
36660
37576
  export declare const queryFilterIntegerWire: z.ZodObject<{
36661
37577
  eq: z.ZodOptional<z.ZodNumber>;
36662
37578
  neq: z.ZodOptional<z.ZodNumber>;
@@ -37092,6 +38008,9 @@ export declare const chargeReferenceWire: z.ZodObject<{
37092
38008
  export declare const updateResourceReferenceWire: z.ZodObject<{
37093
38009
  id: z.ZodString;
37094
38010
  }, z.core.$strict>;
38011
+ export declare const notificationChannelReferenceWire: z.ZodObject<{
38012
+ id: z.ZodString;
38013
+ }, z.core.$strict>;
37095
38014
  export declare const notificationEventFeatureReferenceWire: z.ZodObject<{
37096
38015
  id: z.ZodString;
37097
38016
  key: z.ZodString;
@@ -37986,6 +38905,14 @@ export declare const updateBillingNotificationChannelRequestWire: z.ZodObject<{
37986
38905
  custom_headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
37987
38906
  signing_secret: z.ZodOptional<z.ZodString>;
37988
38907
  }, z.core.$strict>;
38908
+ export declare const notificationBalanceThresholdWire: z.ZodObject<{
38909
+ type: z.ZodEnum<{
38910
+ balance_value: "balance_value";
38911
+ usage_percentage: "usage_percentage";
38912
+ usage_value: "usage_value";
38913
+ }>;
38914
+ value: z.ZodNumber;
38915
+ }, z.core.$strict>;
37989
38916
  export declare const notificationRuleReferenceWire: z.ZodObject<{
37990
38917
  id: z.ZodString;
37991
38918
  type: z.ZodEnum<{
@@ -38012,14 +38939,6 @@ export declare const notificationEventDeliveryAttemptWire: z.ZodObject<{
38012
38939
  }, z.core.$strict>;
38013
38940
  timestamp: z.ZodString;
38014
38941
  }, z.core.$strict>;
38015
- export declare const notificationBalanceThresholdWire: z.ZodObject<{
38016
- type: z.ZodEnum<{
38017
- balance_value: "balance_value";
38018
- usage_percentage: "usage_percentage";
38019
- usage_value: "usage_value";
38020
- }>;
38021
- value: z.ZodNumber;
38022
- }, z.core.$strict>;
38023
38942
  export declare const appCustomerDataWire: z.ZodObject<{
38024
38943
  stripe: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38025
38944
  customer_id: z.ZodOptional<z.ZodString>;
@@ -38715,6 +39634,78 @@ export declare const updateTaxCodeConfigWire: z.ZodObject<{
38715
39634
  id: z.ZodString;
38716
39635
  }, z.core.$strict>>;
38717
39636
  }, z.core.$strict>;
39637
+ export declare const notificationRuleEntitlementResetWire: z.ZodObject<{
39638
+ id: z.ZodString;
39639
+ name: z.ZodString;
39640
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39641
+ created_at: z.ZodString;
39642
+ updated_at: z.ZodString;
39643
+ deleted_at: z.ZodOptional<z.ZodString>;
39644
+ type: z.ZodLiteral<"entitlements.reset">;
39645
+ disabled: z.ZodOptional<z.ZodBoolean>;
39646
+ channels: z.ZodArray<z.ZodObject<{
39647
+ id: z.ZodString;
39648
+ }, z.core.$strict>>;
39649
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
39650
+ id: z.ZodString;
39651
+ }, z.core.$strict>>>;
39652
+ }, z.core.$strict>;
39653
+ export declare const notificationRuleInvoiceCreatedWire: z.ZodObject<{
39654
+ id: z.ZodString;
39655
+ name: z.ZodString;
39656
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39657
+ created_at: z.ZodString;
39658
+ updated_at: z.ZodString;
39659
+ deleted_at: z.ZodOptional<z.ZodString>;
39660
+ type: z.ZodLiteral<"invoice.created">;
39661
+ disabled: z.ZodOptional<z.ZodBoolean>;
39662
+ channels: z.ZodArray<z.ZodObject<{
39663
+ id: z.ZodString;
39664
+ }, z.core.$strict>>;
39665
+ }, z.core.$strict>;
39666
+ export declare const notificationRuleInvoiceUpdatedWire: z.ZodObject<{
39667
+ id: z.ZodString;
39668
+ name: z.ZodString;
39669
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39670
+ created_at: z.ZodString;
39671
+ updated_at: z.ZodString;
39672
+ deleted_at: z.ZodOptional<z.ZodString>;
39673
+ type: z.ZodLiteral<"invoice.updated">;
39674
+ disabled: z.ZodOptional<z.ZodBoolean>;
39675
+ channels: z.ZodArray<z.ZodObject<{
39676
+ id: z.ZodString;
39677
+ }, z.core.$strict>>;
39678
+ }, z.core.$strict>;
39679
+ export declare const notificationRuleEntitlementResetRequestWire: z.ZodObject<{
39680
+ name: z.ZodString;
39681
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39682
+ type: z.ZodLiteral<"entitlements.reset">;
39683
+ disabled: z.ZodOptional<z.ZodBoolean>;
39684
+ channels: z.ZodArray<z.ZodObject<{
39685
+ id: z.ZodString;
39686
+ }, z.core.$strict>>;
39687
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
39688
+ id: z.ZodString;
39689
+ }, z.core.$strict>>>;
39690
+ }, z.core.$strict>;
39691
+ export declare const notificationRuleInvoiceCreatedRequestWire: z.ZodObject<{
39692
+ name: z.ZodString;
39693
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39694
+ type: z.ZodLiteral<"invoice.created">;
39695
+ disabled: z.ZodOptional<z.ZodBoolean>;
39696
+ channels: z.ZodArray<z.ZodObject<{
39697
+ id: z.ZodString;
39698
+ }, z.core.$strict>>;
39699
+ }, z.core.$strict>;
39700
+ export declare const notificationRuleInvoiceUpdatedRequestWire: z.ZodObject<{
39701
+ name: z.ZodString;
39702
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39703
+ type: z.ZodLiteral<"invoice.updated">;
39704
+ disabled: z.ZodOptional<z.ZodBoolean>;
39705
+ channels: z.ZodArray<z.ZodObject<{
39706
+ id: z.ZodString;
39707
+ }, z.core.$strict>>;
39708
+ }, z.core.$strict>;
38718
39709
  export declare const notificationEventInvoiceDataWire: z.ZodObject<{
38719
39710
  invoice: z.ZodObject<{
38720
39711
  id: z.ZodString;
@@ -38942,6 +39933,52 @@ export declare const listNotificationChannelsParamsFilterWire: z.ZodObject<{
38942
39933
  gte: z.ZodOptional<z.ZodString>;
38943
39934
  }, z.core.$strict>]>>;
38944
39935
  }, z.core.$strict>;
39936
+ export declare const listNotificationRulesParamsFilterWire: z.ZodObject<{
39937
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39938
+ eq: z.ZodOptional<z.ZodString>;
39939
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
39940
+ neq: z.ZodOptional<z.ZodString>;
39941
+ }, z.core.$strict>]>>;
39942
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39943
+ eq: z.ZodOptional<z.ZodString>;
39944
+ neq: z.ZodOptional<z.ZodString>;
39945
+ contains: z.ZodOptional<z.ZodString>;
39946
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
39947
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
39948
+ gt: z.ZodOptional<z.ZodString>;
39949
+ gte: z.ZodOptional<z.ZodString>;
39950
+ lt: z.ZodOptional<z.ZodString>;
39951
+ lte: z.ZodOptional<z.ZodString>;
39952
+ exists: z.ZodOptional<z.ZodBoolean>;
39953
+ }, z.core.$strict>]>>;
39954
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39955
+ eq: z.ZodOptional<z.ZodString>;
39956
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
39957
+ neq: z.ZodOptional<z.ZodString>;
39958
+ }, z.core.$strict>]>>;
39959
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
39960
+ eq: z.ZodBoolean;
39961
+ }, z.core.$strict>]>>;
39962
+ created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39963
+ eq: z.ZodOptional<z.ZodString>;
39964
+ lt: z.ZodOptional<z.ZodString>;
39965
+ lte: z.ZodOptional<z.ZodString>;
39966
+ gt: z.ZodOptional<z.ZodString>;
39967
+ gte: z.ZodOptional<z.ZodString>;
39968
+ }, z.core.$strict>]>>;
39969
+ updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39970
+ eq: z.ZodOptional<z.ZodString>;
39971
+ lt: z.ZodOptional<z.ZodString>;
39972
+ lte: z.ZodOptional<z.ZodString>;
39973
+ gt: z.ZodOptional<z.ZodString>;
39974
+ gte: z.ZodOptional<z.ZodString>;
39975
+ }, z.core.$strict>]>>;
39976
+ channel_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
39977
+ eq: z.ZodOptional<z.ZodString>;
39978
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
39979
+ neq: z.ZodOptional<z.ZodString>;
39980
+ }, z.core.$strict>]>>;
39981
+ }, z.core.$strict>;
38945
39982
  export declare const listNotificationEventsParamsFilterWire: z.ZodObject<{
38946
39983
  id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
38947
39984
  eq: z.ZodOptional<z.ZodString>;
@@ -40065,6 +41102,50 @@ export declare const notificationChannelPagePaginatedResponseWire: z.ZodObject<{
40065
41102
  }, z.core.$strict>;
40066
41103
  }, z.core.$strict>;
40067
41104
  }, z.core.$strict>;
41105
+ export declare const notificationRuleBalanceThresholdWire: z.ZodObject<{
41106
+ id: z.ZodString;
41107
+ name: z.ZodString;
41108
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41109
+ created_at: z.ZodString;
41110
+ updated_at: z.ZodString;
41111
+ deleted_at: z.ZodOptional<z.ZodString>;
41112
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
41113
+ disabled: z.ZodOptional<z.ZodBoolean>;
41114
+ channels: z.ZodArray<z.ZodObject<{
41115
+ id: z.ZodString;
41116
+ }, z.core.$strict>>;
41117
+ thresholds: z.ZodArray<z.ZodObject<{
41118
+ type: z.ZodEnum<{
41119
+ balance_value: "balance_value";
41120
+ usage_percentage: "usage_percentage";
41121
+ usage_value: "usage_value";
41122
+ }>;
41123
+ value: z.ZodNumber;
41124
+ }, z.core.$strict>>;
41125
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
41126
+ id: z.ZodString;
41127
+ }, z.core.$strict>>>;
41128
+ }, z.core.$strict>;
41129
+ export declare const notificationRuleBalanceThresholdRequestWire: z.ZodObject<{
41130
+ name: z.ZodString;
41131
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41132
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
41133
+ disabled: z.ZodOptional<z.ZodBoolean>;
41134
+ channels: z.ZodArray<z.ZodObject<{
41135
+ id: z.ZodString;
41136
+ }, z.core.$strict>>;
41137
+ thresholds: z.ZodArray<z.ZodObject<{
41138
+ type: z.ZodEnum<{
41139
+ balance_value: "balance_value";
41140
+ usage_percentage: "usage_percentage";
41141
+ usage_value: "usage_value";
41142
+ }>;
41143
+ value: z.ZodNumber;
41144
+ }, z.core.$strict>>;
41145
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
41146
+ id: z.ZodString;
41147
+ }, z.core.$strict>>>;
41148
+ }, z.core.$strict>;
40068
41149
  export declare const notificationEventDeliveryStatusWire: z.ZodObject<{
40069
41150
  channel_id: z.ZodString;
40070
41151
  state: z.ZodEnum<{
@@ -41727,6 +42808,116 @@ export declare const entitlementAccessQueryResultWire: z.ZodObject<{
41727
42808
  }, z.core.$strict>>;
41728
42809
  updated_at: z.ZodString;
41729
42810
  }, z.core.$strict>;
42811
+ export declare const notificationRuleWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
42812
+ id: z.ZodString;
42813
+ name: z.ZodString;
42814
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42815
+ created_at: z.ZodString;
42816
+ updated_at: z.ZodString;
42817
+ deleted_at: z.ZodOptional<z.ZodString>;
42818
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
42819
+ disabled: z.ZodOptional<z.ZodBoolean>;
42820
+ channels: z.ZodArray<z.ZodObject<{
42821
+ id: z.ZodString;
42822
+ }, z.core.$strict>>;
42823
+ thresholds: z.ZodArray<z.ZodObject<{
42824
+ type: z.ZodEnum<{
42825
+ balance_value: "balance_value";
42826
+ usage_percentage: "usage_percentage";
42827
+ usage_value: "usage_value";
42828
+ }>;
42829
+ value: z.ZodNumber;
42830
+ }, z.core.$strict>>;
42831
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
42832
+ id: z.ZodString;
42833
+ }, z.core.$strict>>>;
42834
+ }, z.core.$strict>, z.ZodObject<{
42835
+ id: z.ZodString;
42836
+ name: z.ZodString;
42837
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42838
+ created_at: z.ZodString;
42839
+ updated_at: z.ZodString;
42840
+ deleted_at: z.ZodOptional<z.ZodString>;
42841
+ type: z.ZodLiteral<"entitlements.reset">;
42842
+ disabled: z.ZodOptional<z.ZodBoolean>;
42843
+ channels: z.ZodArray<z.ZodObject<{
42844
+ id: z.ZodString;
42845
+ }, z.core.$strict>>;
42846
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
42847
+ id: z.ZodString;
42848
+ }, z.core.$strict>>>;
42849
+ }, z.core.$strict>, z.ZodObject<{
42850
+ id: z.ZodString;
42851
+ name: z.ZodString;
42852
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42853
+ created_at: z.ZodString;
42854
+ updated_at: z.ZodString;
42855
+ deleted_at: z.ZodOptional<z.ZodString>;
42856
+ type: z.ZodLiteral<"invoice.created">;
42857
+ disabled: z.ZodOptional<z.ZodBoolean>;
42858
+ channels: z.ZodArray<z.ZodObject<{
42859
+ id: z.ZodString;
42860
+ }, z.core.$strict>>;
42861
+ }, z.core.$strict>, z.ZodObject<{
42862
+ id: z.ZodString;
42863
+ name: z.ZodString;
42864
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42865
+ created_at: z.ZodString;
42866
+ updated_at: z.ZodString;
42867
+ deleted_at: z.ZodOptional<z.ZodString>;
42868
+ type: z.ZodLiteral<"invoice.updated">;
42869
+ disabled: z.ZodOptional<z.ZodBoolean>;
42870
+ channels: z.ZodArray<z.ZodObject<{
42871
+ id: z.ZodString;
42872
+ }, z.core.$strict>>;
42873
+ }, z.core.$strict>], "type">;
42874
+ export declare const notificationRuleRequestWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
42875
+ name: z.ZodString;
42876
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42877
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
42878
+ disabled: z.ZodOptional<z.ZodBoolean>;
42879
+ channels: z.ZodArray<z.ZodObject<{
42880
+ id: z.ZodString;
42881
+ }, z.core.$strict>>;
42882
+ thresholds: z.ZodArray<z.ZodObject<{
42883
+ type: z.ZodEnum<{
42884
+ balance_value: "balance_value";
42885
+ usage_percentage: "usage_percentage";
42886
+ usage_value: "usage_value";
42887
+ }>;
42888
+ value: z.ZodNumber;
42889
+ }, z.core.$strict>>;
42890
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
42891
+ id: z.ZodString;
42892
+ }, z.core.$strict>>>;
42893
+ }, z.core.$strict>, z.ZodObject<{
42894
+ name: z.ZodString;
42895
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42896
+ type: z.ZodLiteral<"entitlements.reset">;
42897
+ disabled: z.ZodOptional<z.ZodBoolean>;
42898
+ channels: z.ZodArray<z.ZodObject<{
42899
+ id: z.ZodString;
42900
+ }, z.core.$strict>>;
42901
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
42902
+ id: z.ZodString;
42903
+ }, z.core.$strict>>>;
42904
+ }, z.core.$strict>, z.ZodObject<{
42905
+ name: z.ZodString;
42906
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42907
+ type: z.ZodLiteral<"invoice.created">;
42908
+ disabled: z.ZodOptional<z.ZodBoolean>;
42909
+ channels: z.ZodArray<z.ZodObject<{
42910
+ id: z.ZodString;
42911
+ }, z.core.$strict>>;
42912
+ }, z.core.$strict>, z.ZodObject<{
42913
+ name: z.ZodString;
42914
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
42915
+ type: z.ZodLiteral<"invoice.updated">;
42916
+ disabled: z.ZodOptional<z.ZodBoolean>;
42917
+ channels: z.ZodArray<z.ZodObject<{
42918
+ id: z.ZodString;
42919
+ }, z.core.$strict>>;
42920
+ }, z.core.$strict>], "type">;
41730
42921
  export declare const notificationEventBalanceThresholdPayloadWire: z.ZodObject<{
41731
42922
  id: z.ZodString;
41732
42923
  type: z.ZodLiteral<"entitlements.balance.threshold">;
@@ -43113,6 +44304,78 @@ export declare const entitlementAccessQueryResponseWire: z.ZodObject<{
43113
44304
  }, z.core.$strict>;
43114
44305
  }, z.core.$strict>;
43115
44306
  }, z.core.$strict>;
44307
+ export declare const notificationRulePagePaginatedResponseWire: z.ZodObject<{
44308
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
44309
+ id: z.ZodString;
44310
+ name: z.ZodString;
44311
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44312
+ created_at: z.ZodString;
44313
+ updated_at: z.ZodString;
44314
+ deleted_at: z.ZodOptional<z.ZodString>;
44315
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
44316
+ disabled: z.ZodOptional<z.ZodBoolean>;
44317
+ channels: z.ZodArray<z.ZodObject<{
44318
+ id: z.ZodString;
44319
+ }, z.core.$strict>>;
44320
+ thresholds: z.ZodArray<z.ZodObject<{
44321
+ type: z.ZodEnum<{
44322
+ balance_value: "balance_value";
44323
+ usage_percentage: "usage_percentage";
44324
+ usage_value: "usage_value";
44325
+ }>;
44326
+ value: z.ZodNumber;
44327
+ }, z.core.$strict>>;
44328
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
44329
+ id: z.ZodString;
44330
+ }, z.core.$strict>>>;
44331
+ }, z.core.$strict>, z.ZodObject<{
44332
+ id: z.ZodString;
44333
+ name: z.ZodString;
44334
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44335
+ created_at: z.ZodString;
44336
+ updated_at: z.ZodString;
44337
+ deleted_at: z.ZodOptional<z.ZodString>;
44338
+ type: z.ZodLiteral<"entitlements.reset">;
44339
+ disabled: z.ZodOptional<z.ZodBoolean>;
44340
+ channels: z.ZodArray<z.ZodObject<{
44341
+ id: z.ZodString;
44342
+ }, z.core.$strict>>;
44343
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
44344
+ id: z.ZodString;
44345
+ }, z.core.$strict>>>;
44346
+ }, z.core.$strict>, z.ZodObject<{
44347
+ id: z.ZodString;
44348
+ name: z.ZodString;
44349
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44350
+ created_at: z.ZodString;
44351
+ updated_at: z.ZodString;
44352
+ deleted_at: z.ZodOptional<z.ZodString>;
44353
+ type: z.ZodLiteral<"invoice.created">;
44354
+ disabled: z.ZodOptional<z.ZodBoolean>;
44355
+ channels: z.ZodArray<z.ZodObject<{
44356
+ id: z.ZodString;
44357
+ }, z.core.$strict>>;
44358
+ }, z.core.$strict>, z.ZodObject<{
44359
+ id: z.ZodString;
44360
+ name: z.ZodString;
44361
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44362
+ created_at: z.ZodString;
44363
+ updated_at: z.ZodString;
44364
+ deleted_at: z.ZodOptional<z.ZodString>;
44365
+ type: z.ZodLiteral<"invoice.updated">;
44366
+ disabled: z.ZodOptional<z.ZodBoolean>;
44367
+ channels: z.ZodArray<z.ZodObject<{
44368
+ id: z.ZodString;
44369
+ }, z.core.$strict>>;
44370
+ }, z.core.$strict>], "type">>;
44371
+ meta: z.ZodObject<{
44372
+ page: z.ZodObject<{
44373
+ number: z.ZodNumber;
44374
+ size: z.ZodNumber;
44375
+ total: z.ZodNumber;
44376
+ }, z.core.$strict>;
44377
+ }, z.core.$strict>;
44378
+ }, z.core.$strict>;
43116
44379
  export declare const notificationEventPayloadWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
43117
44380
  id: z.ZodString;
43118
44381
  type: z.ZodLiteral<"entitlements.balance.threshold">;
@@ -71802,6 +73065,572 @@ export declare const updateNotificationChannelResponseWire: z.ZodObject<{
71802
73065
  export declare const deleteNotificationChannelPathParamsWire: z.ZodObject<{
71803
73066
  notificationChannelId: z.ZodString;
71804
73067
  }, z.core.$strip>;
73068
+ export declare const listNotificationRulesQueryParamsWire: z.ZodObject<{
73069
+ page: z.ZodOptional<z.ZodObject<{
73070
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
73071
+ number: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
73072
+ }, z.core.$strict>>;
73073
+ sort: z.ZodOptional<z.ZodString>;
73074
+ filter: z.ZodOptional<z.ZodObject<{
73075
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73076
+ eq: z.ZodOptional<z.ZodString>;
73077
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
73078
+ neq: z.ZodOptional<z.ZodString>;
73079
+ }, z.core.$strict>]>>;
73080
+ name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73081
+ eq: z.ZodOptional<z.ZodString>;
73082
+ neq: z.ZodOptional<z.ZodString>;
73083
+ contains: z.ZodOptional<z.ZodString>;
73084
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
73085
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
73086
+ gt: z.ZodOptional<z.ZodString>;
73087
+ gte: z.ZodOptional<z.ZodString>;
73088
+ lt: z.ZodOptional<z.ZodString>;
73089
+ lte: z.ZodOptional<z.ZodString>;
73090
+ exists: z.ZodOptional<z.ZodBoolean>;
73091
+ }, z.core.$strict>]>>;
73092
+ type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73093
+ eq: z.ZodOptional<z.ZodString>;
73094
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
73095
+ neq: z.ZodOptional<z.ZodString>;
73096
+ }, z.core.$strict>]>>;
73097
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
73098
+ eq: z.ZodBoolean;
73099
+ }, z.core.$strict>]>>;
73100
+ created_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73101
+ eq: z.ZodOptional<z.ZodString>;
73102
+ lt: z.ZodOptional<z.ZodString>;
73103
+ lte: z.ZodOptional<z.ZodString>;
73104
+ gt: z.ZodOptional<z.ZodString>;
73105
+ gte: z.ZodOptional<z.ZodString>;
73106
+ }, z.core.$strict>]>>;
73107
+ updated_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73108
+ eq: z.ZodOptional<z.ZodString>;
73109
+ lt: z.ZodOptional<z.ZodString>;
73110
+ lte: z.ZodOptional<z.ZodString>;
73111
+ gt: z.ZodOptional<z.ZodString>;
73112
+ gte: z.ZodOptional<z.ZodString>;
73113
+ }, z.core.$strict>]>>;
73114
+ channel_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
73115
+ eq: z.ZodOptional<z.ZodString>;
73116
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
73117
+ neq: z.ZodOptional<z.ZodString>;
73118
+ }, z.core.$strict>]>>;
73119
+ }, z.core.$strict>>;
73120
+ }, z.core.$strip>;
73121
+ export declare const listNotificationRulesResponseWire: z.ZodObject<{
73122
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
73123
+ id: z.ZodString;
73124
+ name: z.ZodString;
73125
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73126
+ created_at: z.ZodString;
73127
+ updated_at: z.ZodString;
73128
+ deleted_at: z.ZodOptional<z.ZodString>;
73129
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73130
+ disabled: z.ZodOptional<z.ZodBoolean>;
73131
+ channels: z.ZodArray<z.ZodObject<{
73132
+ id: z.ZodString;
73133
+ }, z.core.$strict>>;
73134
+ thresholds: z.ZodArray<z.ZodObject<{
73135
+ type: z.ZodEnum<{
73136
+ balance_value: "balance_value";
73137
+ usage_percentage: "usage_percentage";
73138
+ usage_value: "usage_value";
73139
+ }>;
73140
+ value: z.ZodNumber;
73141
+ }, z.core.$strict>>;
73142
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73143
+ id: z.ZodString;
73144
+ }, z.core.$strict>>>;
73145
+ }, z.core.$strict>, z.ZodObject<{
73146
+ id: z.ZodString;
73147
+ name: z.ZodString;
73148
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73149
+ created_at: z.ZodString;
73150
+ updated_at: z.ZodString;
73151
+ deleted_at: z.ZodOptional<z.ZodString>;
73152
+ type: z.ZodLiteral<"entitlements.reset">;
73153
+ disabled: z.ZodOptional<z.ZodBoolean>;
73154
+ channels: z.ZodArray<z.ZodObject<{
73155
+ id: z.ZodString;
73156
+ }, z.core.$strict>>;
73157
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73158
+ id: z.ZodString;
73159
+ }, z.core.$strict>>>;
73160
+ }, z.core.$strict>, z.ZodObject<{
73161
+ id: z.ZodString;
73162
+ name: z.ZodString;
73163
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73164
+ created_at: z.ZodString;
73165
+ updated_at: z.ZodString;
73166
+ deleted_at: z.ZodOptional<z.ZodString>;
73167
+ type: z.ZodLiteral<"invoice.created">;
73168
+ disabled: z.ZodOptional<z.ZodBoolean>;
73169
+ channels: z.ZodArray<z.ZodObject<{
73170
+ id: z.ZodString;
73171
+ }, z.core.$strict>>;
73172
+ }, z.core.$strict>, z.ZodObject<{
73173
+ id: z.ZodString;
73174
+ name: z.ZodString;
73175
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73176
+ created_at: z.ZodString;
73177
+ updated_at: z.ZodString;
73178
+ deleted_at: z.ZodOptional<z.ZodString>;
73179
+ type: z.ZodLiteral<"invoice.updated">;
73180
+ disabled: z.ZodOptional<z.ZodBoolean>;
73181
+ channels: z.ZodArray<z.ZodObject<{
73182
+ id: z.ZodString;
73183
+ }, z.core.$strict>>;
73184
+ }, z.core.$strict>], "type">>;
73185
+ meta: z.ZodObject<{
73186
+ page: z.ZodObject<{
73187
+ number: z.ZodNumber;
73188
+ size: z.ZodNumber;
73189
+ total: z.ZodNumber;
73190
+ }, z.core.$strict>;
73191
+ }, z.core.$strict>;
73192
+ }, z.core.$strict>;
73193
+ export declare const createNotificationRuleBodyWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
73194
+ name: z.ZodString;
73195
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73196
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73197
+ disabled: z.ZodOptional<z.ZodBoolean>;
73198
+ channels: z.ZodArray<z.ZodObject<{
73199
+ id: z.ZodString;
73200
+ }, z.core.$strict>>;
73201
+ thresholds: z.ZodArray<z.ZodObject<{
73202
+ type: z.ZodEnum<{
73203
+ balance_value: "balance_value";
73204
+ usage_percentage: "usage_percentage";
73205
+ usage_value: "usage_value";
73206
+ }>;
73207
+ value: z.ZodNumber;
73208
+ }, z.core.$strict>>;
73209
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73210
+ id: z.ZodString;
73211
+ }, z.core.$strict>>>;
73212
+ }, z.core.$strict>, z.ZodObject<{
73213
+ name: z.ZodString;
73214
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73215
+ type: z.ZodLiteral<"entitlements.reset">;
73216
+ disabled: z.ZodOptional<z.ZodBoolean>;
73217
+ channels: z.ZodArray<z.ZodObject<{
73218
+ id: z.ZodString;
73219
+ }, z.core.$strict>>;
73220
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73221
+ id: z.ZodString;
73222
+ }, z.core.$strict>>>;
73223
+ }, z.core.$strict>, z.ZodObject<{
73224
+ name: z.ZodString;
73225
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73226
+ type: z.ZodLiteral<"invoice.created">;
73227
+ disabled: z.ZodOptional<z.ZodBoolean>;
73228
+ channels: z.ZodArray<z.ZodObject<{
73229
+ id: z.ZodString;
73230
+ }, z.core.$strict>>;
73231
+ }, z.core.$strict>, z.ZodObject<{
73232
+ name: z.ZodString;
73233
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73234
+ type: z.ZodLiteral<"invoice.updated">;
73235
+ disabled: z.ZodOptional<z.ZodBoolean>;
73236
+ channels: z.ZodArray<z.ZodObject<{
73237
+ id: z.ZodString;
73238
+ }, z.core.$strict>>;
73239
+ }, z.core.$strict>], "type">;
73240
+ export declare const createNotificationRuleResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
73241
+ id: z.ZodString;
73242
+ name: z.ZodString;
73243
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73244
+ created_at: z.ZodString;
73245
+ updated_at: z.ZodString;
73246
+ deleted_at: z.ZodOptional<z.ZodString>;
73247
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73248
+ disabled: z.ZodOptional<z.ZodBoolean>;
73249
+ channels: z.ZodArray<z.ZodObject<{
73250
+ id: z.ZodString;
73251
+ }, z.core.$strict>>;
73252
+ thresholds: z.ZodArray<z.ZodObject<{
73253
+ type: z.ZodEnum<{
73254
+ balance_value: "balance_value";
73255
+ usage_percentage: "usage_percentage";
73256
+ usage_value: "usage_value";
73257
+ }>;
73258
+ value: z.ZodNumber;
73259
+ }, z.core.$strict>>;
73260
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73261
+ id: z.ZodString;
73262
+ }, z.core.$strict>>>;
73263
+ }, z.core.$strict>, z.ZodObject<{
73264
+ id: z.ZodString;
73265
+ name: z.ZodString;
73266
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73267
+ created_at: z.ZodString;
73268
+ updated_at: z.ZodString;
73269
+ deleted_at: z.ZodOptional<z.ZodString>;
73270
+ type: z.ZodLiteral<"entitlements.reset">;
73271
+ disabled: z.ZodOptional<z.ZodBoolean>;
73272
+ channels: z.ZodArray<z.ZodObject<{
73273
+ id: z.ZodString;
73274
+ }, z.core.$strict>>;
73275
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73276
+ id: z.ZodString;
73277
+ }, z.core.$strict>>>;
73278
+ }, z.core.$strict>, z.ZodObject<{
73279
+ id: z.ZodString;
73280
+ name: z.ZodString;
73281
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73282
+ created_at: z.ZodString;
73283
+ updated_at: z.ZodString;
73284
+ deleted_at: z.ZodOptional<z.ZodString>;
73285
+ type: z.ZodLiteral<"invoice.created">;
73286
+ disabled: z.ZodOptional<z.ZodBoolean>;
73287
+ channels: z.ZodArray<z.ZodObject<{
73288
+ id: z.ZodString;
73289
+ }, z.core.$strict>>;
73290
+ }, z.core.$strict>, z.ZodObject<{
73291
+ id: z.ZodString;
73292
+ name: z.ZodString;
73293
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73294
+ created_at: z.ZodString;
73295
+ updated_at: z.ZodString;
73296
+ deleted_at: z.ZodOptional<z.ZodString>;
73297
+ type: z.ZodLiteral<"invoice.updated">;
73298
+ disabled: z.ZodOptional<z.ZodBoolean>;
73299
+ channels: z.ZodArray<z.ZodObject<{
73300
+ id: z.ZodString;
73301
+ }, z.core.$strict>>;
73302
+ }, z.core.$strict>], "type">;
73303
+ export declare const getNotificationRulePathParamsWire: z.ZodObject<{
73304
+ notificationRuleId: z.ZodString;
73305
+ }, z.core.$strip>;
73306
+ export declare const getNotificationRuleResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
73307
+ id: z.ZodString;
73308
+ name: z.ZodString;
73309
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73310
+ created_at: z.ZodString;
73311
+ updated_at: z.ZodString;
73312
+ deleted_at: z.ZodOptional<z.ZodString>;
73313
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73314
+ disabled: z.ZodOptional<z.ZodBoolean>;
73315
+ channels: z.ZodArray<z.ZodObject<{
73316
+ id: z.ZodString;
73317
+ }, z.core.$strict>>;
73318
+ thresholds: z.ZodArray<z.ZodObject<{
73319
+ type: z.ZodEnum<{
73320
+ balance_value: "balance_value";
73321
+ usage_percentage: "usage_percentage";
73322
+ usage_value: "usage_value";
73323
+ }>;
73324
+ value: z.ZodNumber;
73325
+ }, z.core.$strict>>;
73326
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73327
+ id: z.ZodString;
73328
+ }, z.core.$strict>>>;
73329
+ }, z.core.$strict>, z.ZodObject<{
73330
+ id: z.ZodString;
73331
+ name: z.ZodString;
73332
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73333
+ created_at: z.ZodString;
73334
+ updated_at: z.ZodString;
73335
+ deleted_at: z.ZodOptional<z.ZodString>;
73336
+ type: z.ZodLiteral<"entitlements.reset">;
73337
+ disabled: z.ZodOptional<z.ZodBoolean>;
73338
+ channels: z.ZodArray<z.ZodObject<{
73339
+ id: z.ZodString;
73340
+ }, z.core.$strict>>;
73341
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73342
+ id: z.ZodString;
73343
+ }, z.core.$strict>>>;
73344
+ }, z.core.$strict>, z.ZodObject<{
73345
+ id: z.ZodString;
73346
+ name: z.ZodString;
73347
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73348
+ created_at: z.ZodString;
73349
+ updated_at: z.ZodString;
73350
+ deleted_at: z.ZodOptional<z.ZodString>;
73351
+ type: z.ZodLiteral<"invoice.created">;
73352
+ disabled: z.ZodOptional<z.ZodBoolean>;
73353
+ channels: z.ZodArray<z.ZodObject<{
73354
+ id: z.ZodString;
73355
+ }, z.core.$strict>>;
73356
+ }, z.core.$strict>, z.ZodObject<{
73357
+ id: z.ZodString;
73358
+ name: z.ZodString;
73359
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73360
+ created_at: z.ZodString;
73361
+ updated_at: z.ZodString;
73362
+ deleted_at: z.ZodOptional<z.ZodString>;
73363
+ type: z.ZodLiteral<"invoice.updated">;
73364
+ disabled: z.ZodOptional<z.ZodBoolean>;
73365
+ channels: z.ZodArray<z.ZodObject<{
73366
+ id: z.ZodString;
73367
+ }, z.core.$strict>>;
73368
+ }, z.core.$strict>], "type">;
73369
+ export declare const updateNotificationRulePathParamsWire: z.ZodObject<{
73370
+ notificationRuleId: z.ZodString;
73371
+ }, z.core.$strip>;
73372
+ export declare const updateNotificationRuleBodyWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
73373
+ name: z.ZodString;
73374
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73375
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73376
+ disabled: z.ZodOptional<z.ZodBoolean>;
73377
+ channels: z.ZodArray<z.ZodObject<{
73378
+ id: z.ZodString;
73379
+ }, z.core.$strict>>;
73380
+ thresholds: z.ZodArray<z.ZodObject<{
73381
+ type: z.ZodEnum<{
73382
+ balance_value: "balance_value";
73383
+ usage_percentage: "usage_percentage";
73384
+ usage_value: "usage_value";
73385
+ }>;
73386
+ value: z.ZodNumber;
73387
+ }, z.core.$strict>>;
73388
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73389
+ id: z.ZodString;
73390
+ }, z.core.$strict>>>;
73391
+ }, z.core.$strict>, z.ZodObject<{
73392
+ name: z.ZodString;
73393
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73394
+ type: z.ZodLiteral<"entitlements.reset">;
73395
+ disabled: z.ZodOptional<z.ZodBoolean>;
73396
+ channels: z.ZodArray<z.ZodObject<{
73397
+ id: z.ZodString;
73398
+ }, z.core.$strict>>;
73399
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73400
+ id: z.ZodString;
73401
+ }, z.core.$strict>>>;
73402
+ }, z.core.$strict>, z.ZodObject<{
73403
+ name: z.ZodString;
73404
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73405
+ type: z.ZodLiteral<"invoice.created">;
73406
+ disabled: z.ZodOptional<z.ZodBoolean>;
73407
+ channels: z.ZodArray<z.ZodObject<{
73408
+ id: z.ZodString;
73409
+ }, z.core.$strict>>;
73410
+ }, z.core.$strict>, z.ZodObject<{
73411
+ name: z.ZodString;
73412
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73413
+ type: z.ZodLiteral<"invoice.updated">;
73414
+ disabled: z.ZodOptional<z.ZodBoolean>;
73415
+ channels: z.ZodArray<z.ZodObject<{
73416
+ id: z.ZodString;
73417
+ }, z.core.$strict>>;
73418
+ }, z.core.$strict>], "type">;
73419
+ export declare const updateNotificationRuleResponseWire: z.ZodDiscriminatedUnion<[z.ZodObject<{
73420
+ id: z.ZodString;
73421
+ name: z.ZodString;
73422
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73423
+ created_at: z.ZodString;
73424
+ updated_at: z.ZodString;
73425
+ deleted_at: z.ZodOptional<z.ZodString>;
73426
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73427
+ disabled: z.ZodOptional<z.ZodBoolean>;
73428
+ channels: z.ZodArray<z.ZodObject<{
73429
+ id: z.ZodString;
73430
+ }, z.core.$strict>>;
73431
+ thresholds: z.ZodArray<z.ZodObject<{
73432
+ type: z.ZodEnum<{
73433
+ balance_value: "balance_value";
73434
+ usage_percentage: "usage_percentage";
73435
+ usage_value: "usage_value";
73436
+ }>;
73437
+ value: z.ZodNumber;
73438
+ }, z.core.$strict>>;
73439
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73440
+ id: z.ZodString;
73441
+ }, z.core.$strict>>>;
73442
+ }, z.core.$strict>, z.ZodObject<{
73443
+ id: z.ZodString;
73444
+ name: z.ZodString;
73445
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73446
+ created_at: z.ZodString;
73447
+ updated_at: z.ZodString;
73448
+ deleted_at: z.ZodOptional<z.ZodString>;
73449
+ type: z.ZodLiteral<"entitlements.reset">;
73450
+ disabled: z.ZodOptional<z.ZodBoolean>;
73451
+ channels: z.ZodArray<z.ZodObject<{
73452
+ id: z.ZodString;
73453
+ }, z.core.$strict>>;
73454
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
73455
+ id: z.ZodString;
73456
+ }, z.core.$strict>>>;
73457
+ }, z.core.$strict>, z.ZodObject<{
73458
+ id: z.ZodString;
73459
+ name: z.ZodString;
73460
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73461
+ created_at: z.ZodString;
73462
+ updated_at: z.ZodString;
73463
+ deleted_at: z.ZodOptional<z.ZodString>;
73464
+ type: z.ZodLiteral<"invoice.created">;
73465
+ disabled: z.ZodOptional<z.ZodBoolean>;
73466
+ channels: z.ZodArray<z.ZodObject<{
73467
+ id: z.ZodString;
73468
+ }, z.core.$strict>>;
73469
+ }, z.core.$strict>, z.ZodObject<{
73470
+ id: z.ZodString;
73471
+ name: z.ZodString;
73472
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73473
+ created_at: z.ZodString;
73474
+ updated_at: z.ZodString;
73475
+ deleted_at: z.ZodOptional<z.ZodString>;
73476
+ type: z.ZodLiteral<"invoice.updated">;
73477
+ disabled: z.ZodOptional<z.ZodBoolean>;
73478
+ channels: z.ZodArray<z.ZodObject<{
73479
+ id: z.ZodString;
73480
+ }, z.core.$strict>>;
73481
+ }, z.core.$strict>], "type">;
73482
+ export declare const deleteNotificationRulePathParamsWire: z.ZodObject<{
73483
+ notificationRuleId: z.ZodString;
73484
+ }, z.core.$strip>;
73485
+ export declare const testNotificationRulePathParamsWire: z.ZodObject<{
73486
+ notificationRuleId: z.ZodString;
73487
+ }, z.core.$strip>;
73488
+ export declare const testNotificationRuleResponseWire: z.ZodObject<{
73489
+ id: z.ZodString;
73490
+ type: z.ZodEnum<{
73491
+ "entitlements.balance.threshold": "entitlements.balance.threshold";
73492
+ "entitlements.reset": "entitlements.reset";
73493
+ "invoice.created": "invoice.created";
73494
+ "invoice.updated": "invoice.updated";
73495
+ }>;
73496
+ created_at: z.ZodString;
73497
+ rule: z.ZodObject<{
73498
+ id: z.ZodString;
73499
+ type: z.ZodEnum<{
73500
+ "entitlements.balance.threshold": "entitlements.balance.threshold";
73501
+ "entitlements.reset": "entitlements.reset";
73502
+ "invoice.created": "invoice.created";
73503
+ "invoice.updated": "invoice.updated";
73504
+ }>;
73505
+ name: z.ZodString;
73506
+ }, z.core.$strict>;
73507
+ delivery_status: z.ZodArray<z.ZodObject<{
73508
+ channel_id: z.ZodString;
73509
+ state: z.ZodEnum<{
73510
+ failed: "failed";
73511
+ pending: "pending";
73512
+ resending: "resending";
73513
+ sending: "sending";
73514
+ success: "success";
73515
+ }>;
73516
+ reason: z.ZodString;
73517
+ updated_at: z.ZodString;
73518
+ next_attempt: z.ZodOptional<z.ZodString>;
73519
+ attempts: z.ZodArray<z.ZodObject<{
73520
+ state: z.ZodEnum<{
73521
+ failed: "failed";
73522
+ pending: "pending";
73523
+ resending: "resending";
73524
+ sending: "sending";
73525
+ success: "success";
73526
+ }>;
73527
+ response: z.ZodObject<{
73528
+ status_code: z.ZodOptional<z.ZodNumber>;
73529
+ body: z.ZodString;
73530
+ duration_ms: z.ZodCoercedBigInt<unknown>;
73531
+ url: z.ZodOptional<z.ZodString>;
73532
+ }, z.core.$strict>;
73533
+ timestamp: z.ZodString;
73534
+ }, z.core.$strict>>;
73535
+ }, z.core.$strict>>;
73536
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
73537
+ id: z.ZodString;
73538
+ type: z.ZodLiteral<"entitlements.balance.threshold">;
73539
+ timestamp: z.ZodString;
73540
+ data: z.ZodObject<{
73541
+ entitlement_id: z.ZodString;
73542
+ feature: z.ZodObject<{
73543
+ id: z.ZodString;
73544
+ key: z.ZodString;
73545
+ }, z.core.$strict>;
73546
+ subject_key: z.ZodString;
73547
+ customer_id: z.ZodOptional<z.ZodString>;
73548
+ value: z.ZodObject<{
73549
+ type: z.ZodEnum<{
73550
+ boolean: "boolean";
73551
+ metered: "metered";
73552
+ static: "static";
73553
+ }>;
73554
+ feature_key: z.ZodString;
73555
+ has_access: z.ZodBoolean;
73556
+ config: z.ZodOptional<z.ZodString>;
73557
+ value: z.ZodOptional<z.ZodObject<{
73558
+ balance: z.ZodString;
73559
+ usage: z.ZodString;
73560
+ overage: z.ZodString;
73561
+ total_available_grant_amount: z.ZodString;
73562
+ grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
73563
+ }, z.core.$strict>>;
73564
+ }, z.core.$strict>;
73565
+ threshold: z.ZodObject<{
73566
+ type: z.ZodEnum<{
73567
+ balance_value: "balance_value";
73568
+ usage_percentage: "usage_percentage";
73569
+ usage_value: "usage_value";
73570
+ }>;
73571
+ value: z.ZodNumber;
73572
+ }, z.core.$strict>;
73573
+ }, z.core.$strict>;
73574
+ }, z.core.$strict>, z.ZodObject<{
73575
+ id: z.ZodString;
73576
+ type: z.ZodLiteral<"entitlements.reset">;
73577
+ timestamp: z.ZodString;
73578
+ data: z.ZodObject<{
73579
+ entitlement_id: z.ZodString;
73580
+ feature: z.ZodObject<{
73581
+ id: z.ZodString;
73582
+ key: z.ZodString;
73583
+ }, z.core.$strict>;
73584
+ subject_key: z.ZodString;
73585
+ customer_id: z.ZodOptional<z.ZodString>;
73586
+ value: z.ZodObject<{
73587
+ type: z.ZodEnum<{
73588
+ boolean: "boolean";
73589
+ metered: "metered";
73590
+ static: "static";
73591
+ }>;
73592
+ feature_key: z.ZodString;
73593
+ has_access: z.ZodBoolean;
73594
+ config: z.ZodOptional<z.ZodString>;
73595
+ value: z.ZodOptional<z.ZodObject<{
73596
+ balance: z.ZodString;
73597
+ usage: z.ZodString;
73598
+ overage: z.ZodString;
73599
+ total_available_grant_amount: z.ZodString;
73600
+ grant_balances: z.ZodRecord<z.ZodString, z.ZodString>;
73601
+ }, z.core.$strict>>;
73602
+ }, z.core.$strict>;
73603
+ }, z.core.$strict>;
73604
+ }, z.core.$strict>, z.ZodObject<{
73605
+ id: z.ZodString;
73606
+ type: z.ZodLiteral<"invoice.created">;
73607
+ timestamp: z.ZodString;
73608
+ data: z.ZodObject<{
73609
+ invoice: z.ZodObject<{
73610
+ id: z.ZodString;
73611
+ number: z.ZodString;
73612
+ }, z.core.$strict>;
73613
+ customer_id: z.ZodOptional<z.ZodString>;
73614
+ currency: z.ZodString;
73615
+ status: z.ZodString;
73616
+ total: z.ZodString;
73617
+ }, z.core.$strict>;
73618
+ }, z.core.$strict>, z.ZodObject<{
73619
+ id: z.ZodString;
73620
+ type: z.ZodLiteral<"invoice.updated">;
73621
+ timestamp: z.ZodString;
73622
+ data: z.ZodObject<{
73623
+ invoice: z.ZodObject<{
73624
+ id: z.ZodString;
73625
+ number: z.ZodString;
73626
+ }, z.core.$strict>;
73627
+ customer_id: z.ZodOptional<z.ZodString>;
73628
+ currency: z.ZodString;
73629
+ status: z.ZodString;
73630
+ total: z.ZodString;
73631
+ }, z.core.$strict>;
73632
+ }, z.core.$strict>], "type">;
73633
+ }, z.core.$strict>;
71805
73634
  export declare const listNotificationEventsQueryParamsWire: z.ZodObject<{
71806
73635
  page: z.ZodOptional<z.ZodObject<{
71807
73636
  size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;