@openmeter/sdk 1.0.0-beta-2b335662513e → 1.0.0-beta-ded592ed2a1e

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.
@@ -33,6 +33,8 @@ export declare class NotificationChannels {
33
33
  type: "WEBHOOK";
34
34
  name: string;
35
35
  disabled?: boolean;
36
+ readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
37
+ metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
36
38
  url: string;
37
39
  customHeaders?: {
38
40
  [key: string]: string;
@@ -53,6 +55,8 @@ export declare class NotificationChannels {
53
55
  type: "WEBHOOK";
54
56
  name: string;
55
57
  disabled?: boolean;
58
+ readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
59
+ metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
56
60
  url: string;
57
61
  customHeaders?: {
58
62
  [key: string]: string;
@@ -74,6 +78,8 @@ export declare class NotificationChannels {
74
78
  type: "WEBHOOK";
75
79
  name: string;
76
80
  disabled?: boolean;
81
+ readonly annotations?: import("./schemas.cjs").components["schemas"]["Annotations"];
82
+ metadata?: import("./schemas.cjs").components["schemas"]["Metadata"] | null;
77
83
  url: string;
78
84
  customHeaders?: {
79
85
  [key: string]: string;
@@ -7778,6 +7778,16 @@ export interface components {
7778
7778
  * @example true
7779
7779
  */
7780
7780
  disabled?: boolean;
7781
+ /**
7782
+ * Annotations
7783
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
7784
+ */
7785
+ readonly annotations?: components['schemas']['Annotations'];
7786
+ /**
7787
+ * Metadata
7788
+ * @description Additional metadata for the resource.
7789
+ */
7790
+ metadata?: components['schemas']['Metadata'] | null;
7781
7791
  /**
7782
7792
  * Webhook URL
7783
7793
  * @description Webhook URL where the notification is sent.
@@ -7821,6 +7831,11 @@ export interface components {
7821
7831
  * @example true
7822
7832
  */
7823
7833
  disabled?: boolean;
7834
+ /**
7835
+ * Metadata
7836
+ * @description Additional metadata for the resource.
7837
+ */
7838
+ metadata?: components['schemas']['Metadata'] | null;
7824
7839
  /**
7825
7840
  * Webhook URL
7826
7841
  * @description Webhook URL where the notification is sent.
@@ -7941,9 +7956,14 @@ export interface components {
7941
7956
  readonly updatedAt: Date;
7942
7957
  /**
7943
7958
  * Notification Channel
7944
- * @description Notification channel the delivery sattus associated with.
7959
+ * @description Notification channel the delivery status associated with.
7945
7960
  */
7946
7961
  readonly channel: components['schemas']['NotificationChannelMeta'];
7962
+ /**
7963
+ * Annotations
7964
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
7965
+ */
7966
+ readonly annotations?: components['schemas']['Annotations'];
7947
7967
  };
7948
7968
  /**
7949
7969
  * Delivery State
@@ -8128,6 +8148,16 @@ export interface components {
8128
8148
  * @description List of notification channels the rule applies to.
8129
8149
  */
8130
8150
  channels: components['schemas']['NotificationChannelMeta'][];
8151
+ /**
8152
+ * Annotations
8153
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
8154
+ */
8155
+ readonly annotations?: components['schemas']['Annotations'];
8156
+ /**
8157
+ * Metadata
8158
+ * @description Additional metadata for the resource.
8159
+ */
8160
+ metadata?: components['schemas']['Metadata'] | null;
8131
8161
  /**
8132
8162
  * Entitlement Balance Thresholds
8133
8163
  * @description List of thresholds the rule suppose to be triggered.
@@ -8159,6 +8189,11 @@ export interface components {
8159
8189
  * @example true
8160
8190
  */
8161
8191
  disabled?: boolean;
8192
+ /**
8193
+ * Metadata
8194
+ * @description Additional metadata for the resource.
8195
+ */
8196
+ metadata?: components['schemas']['Metadata'] | null;
8162
8197
  /**
8163
8198
  * Entitlement Balance Thresholds
8164
8199
  * @description List of thresholds the rule suppose to be triggered.
@@ -8255,6 +8290,16 @@ export interface components {
8255
8290
  * @description List of notification channels the rule applies to.
8256
8291
  */
8257
8292
  channels: components['schemas']['NotificationChannelMeta'][];
8293
+ /**
8294
+ * Annotations
8295
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
8296
+ */
8297
+ readonly annotations?: components['schemas']['Annotations'];
8298
+ /**
8299
+ * Metadata
8300
+ * @description Additional metadata for the resource.
8301
+ */
8302
+ metadata?: components['schemas']['Metadata'] | null;
8258
8303
  /**
8259
8304
  * Features
8260
8305
  * @description Optional field containing list of features the rule applies to.
@@ -8281,6 +8326,11 @@ export interface components {
8281
8326
  * @example true
8282
8327
  */
8283
8328
  disabled?: boolean;
8329
+ /**
8330
+ * Metadata
8331
+ * @description Additional metadata for the resource.
8332
+ */
8333
+ metadata?: components['schemas']['Metadata'] | null;
8284
8334
  /**
8285
8335
  * Channels
8286
8336
  * @description List of notification channels the rule is applied to.
@@ -8344,6 +8394,16 @@ export interface components {
8344
8394
  * @description List of notification channels the rule applies to.
8345
8395
  */
8346
8396
  channels: components['schemas']['NotificationChannelMeta'][];
8397
+ /**
8398
+ * Annotations
8399
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
8400
+ */
8401
+ readonly annotations?: components['schemas']['Annotations'];
8402
+ /**
8403
+ * Metadata
8404
+ * @description Additional metadata for the resource.
8405
+ */
8406
+ metadata?: components['schemas']['Metadata'] | null;
8347
8407
  };
8348
8408
  /** @description Request with input parameters for creating new notification rule with invoice.created type. */
8349
8409
  NotificationRuleInvoiceCreatedCreateRequest: {
@@ -8365,6 +8425,11 @@ export interface components {
8365
8425
  * @example true
8366
8426
  */
8367
8427
  disabled?: boolean;
8428
+ /**
8429
+ * Metadata
8430
+ * @description Additional metadata for the resource.
8431
+ */
8432
+ metadata?: components['schemas']['Metadata'] | null;
8368
8433
  /**
8369
8434
  * Channels
8370
8435
  * @description List of notification channels the rule is applied to.
@@ -8423,6 +8488,16 @@ export interface components {
8423
8488
  * @description List of notification channels the rule applies to.
8424
8489
  */
8425
8490
  channels: components['schemas']['NotificationChannelMeta'][];
8491
+ /**
8492
+ * Annotations
8493
+ * @description Set of key-value pairs managed by the system. Cannot be modified by user.
8494
+ */
8495
+ readonly annotations?: components['schemas']['Annotations'];
8496
+ /**
8497
+ * Metadata
8498
+ * @description Additional metadata for the resource.
8499
+ */
8500
+ metadata?: components['schemas']['Metadata'] | null;
8426
8501
  };
8427
8502
  /** @description Request with input parameters for creating new notification rule with invoice.updated type. */
8428
8503
  NotificationRuleInvoiceUpdatedCreateRequest: {
@@ -8444,6 +8519,11 @@ export interface components {
8444
8519
  * @example true
8445
8520
  */
8446
8521
  disabled?: boolean;
8522
+ /**
8523
+ * Metadata
8524
+ * @description Additional metadata for the resource.
8525
+ */
8526
+ metadata?: components['schemas']['Metadata'] | null;
8447
8527
  /**
8448
8528
  * Channels
8449
8529
  * @description List of notification channels the rule is applied to.