@openmeter/client 1.0.0-beta.236 → 1.0.0-beta.237

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.
@@ -1,6 +1,6 @@
1
1
  import type { AcceptDateStrings } from '../../lib/wire.js';
2
- import type { CreateNotificationChannelRequestInput, ListNotificationChannelsParamsFilter, ListNotificationEventsParamsFilter, ListNotificationRulesParamsFilter, NotificationChannel, NotificationChannelPagePaginatedResponse, NotificationEvent, NotificationEventPagePaginatedResponse, NotificationRule, NotificationRulePagePaginatedResponse, NotificationRuleRequestInput, ResendBillingNotificationEventRequest, SortQueryInput, UpdateBillingNotificationChannelRequestInput } from '../types.js';
3
- export interface ListNotificationChannelsQuery {
2
+ import type { CreateNotificationChannelRequestInput, ListNotificationChannelsParamsFilter, ListNotificationEventsParamsFilter, ListNotificationRulesParamsFilter, NotificationChannel, NotificationChannelPagePaginatedResponse, NotificationEvent, NotificationEventPagePaginatedResponse, NotificationRule, NotificationRulePagePaginatedResponse, NotificationRuleRequestInput, ResendBillingNotificationEventRequest as ResendBillingNotificationEventRequestBody, SortQueryInput, UpdateBillingNotificationChannelRequestInput } from '../types.js';
3
+ export interface ListBillingNotificationChannelsQuery {
4
4
  /** Determines which page of the collection to retrieve. */
5
5
  page?: {
6
6
  size?: number;
@@ -27,24 +27,24 @@ export interface ListNotificationChannelsQuery {
27
27
  */
28
28
  filter?: ListNotificationChannelsParamsFilter;
29
29
  }
30
- export type ListNotificationChannelsRequest = AcceptDateStrings<ListNotificationChannelsQuery>;
31
- export type ListNotificationChannelsResponse = NotificationChannelPagePaginatedResponse;
32
- export type CreateNotificationChannelRequest = AcceptDateStrings<CreateNotificationChannelRequestInput>;
33
- export type CreateNotificationChannelResponse = NotificationChannel;
34
- export type GetNotificationChannelRequest = {
30
+ export type ListBillingNotificationChannelsRequest = AcceptDateStrings<ListBillingNotificationChannelsQuery>;
31
+ export type ListBillingNotificationChannelsResponse = NotificationChannelPagePaginatedResponse;
32
+ export type CreateBillingNotificationChannelRequest = AcceptDateStrings<CreateNotificationChannelRequestInput>;
33
+ export type CreateBillingNotificationChannelResponse = NotificationChannel;
34
+ export type GetBillingNotificationChannelRequest = {
35
35
  notificationChannelId: string;
36
36
  };
37
- export type GetNotificationChannelResponse = NotificationChannel;
38
- export type UpdateNotificationChannelRequest = AcceptDateStrings<{
37
+ export type GetBillingNotificationChannelResponse = NotificationChannel;
38
+ export type UpdateBillingNotificationChannelRequest = AcceptDateStrings<{
39
39
  notificationChannelId: string;
40
40
  body: UpdateBillingNotificationChannelRequestInput;
41
41
  }>;
42
- export type UpdateNotificationChannelResponse = NotificationChannel;
43
- export type DeleteNotificationChannelRequest = {
42
+ export type UpdateBillingNotificationChannelResponse = NotificationChannel;
43
+ export type DeleteBillingNotificationChannelRequest = {
44
44
  notificationChannelId: string;
45
45
  };
46
- export type DeleteNotificationChannelResponse = void;
47
- export interface ListNotificationRulesQuery {
46
+ export type DeleteBillingNotificationChannelResponse = void;
47
+ export interface ListBillingNotificationRulesQuery {
48
48
  /** Determines which page of the collection to retrieve. */
49
49
  page?: {
50
50
  size?: number;
@@ -73,28 +73,28 @@ export interface ListNotificationRulesQuery {
73
73
  */
74
74
  filter?: ListNotificationRulesParamsFilter;
75
75
  }
76
- export type ListNotificationRulesRequest = AcceptDateStrings<ListNotificationRulesQuery>;
77
- export type ListNotificationRulesResponse = NotificationRulePagePaginatedResponse;
78
- export type CreateNotificationRuleRequest = AcceptDateStrings<NotificationRuleRequestInput>;
79
- export type CreateNotificationRuleResponse = NotificationRule;
80
- export type GetNotificationRuleRequest = {
76
+ export type ListBillingNotificationRulesRequest = AcceptDateStrings<ListBillingNotificationRulesQuery>;
77
+ export type ListBillingNotificationRulesResponse = NotificationRulePagePaginatedResponse;
78
+ export type CreateBillingNotificationRuleRequest = AcceptDateStrings<NotificationRuleRequestInput>;
79
+ export type CreateBillingNotificationRuleResponse = NotificationRule;
80
+ export type GetBillingNotificationRuleRequest = {
81
81
  notificationRuleId: string;
82
82
  };
83
- export type GetNotificationRuleResponse = NotificationRule;
84
- export type UpdateNotificationRuleRequest = AcceptDateStrings<{
83
+ export type GetBillingNotificationRuleResponse = NotificationRule;
84
+ export type UpdateBillingNotificationRuleRequest = AcceptDateStrings<{
85
85
  notificationRuleId: string;
86
86
  body: NotificationRuleRequestInput;
87
87
  }>;
88
- export type UpdateNotificationRuleResponse = NotificationRule;
89
- export type DeleteNotificationRuleRequest = {
88
+ export type UpdateBillingNotificationRuleResponse = NotificationRule;
89
+ export type DeleteBillingNotificationRuleRequest = {
90
90
  notificationRuleId: string;
91
91
  };
92
- export type DeleteNotificationRuleResponse = void;
93
- export type TestNotificationRuleRequest = {
92
+ export type DeleteBillingNotificationRuleResponse = void;
93
+ export type TestBillingNotificationRuleRequest = {
94
94
  notificationRuleId: string;
95
95
  };
96
- export type TestNotificationRuleResponse = NotificationEvent;
97
- export interface ListNotificationEventsQuery {
96
+ export type TestBillingNotificationRuleResponse = NotificationEvent;
97
+ export interface ListBillingNotificationEventsQuery {
98
98
  /** Determines which page of the collection to retrieve. */
99
99
  page?: {
100
100
  size?: number;
@@ -124,14 +124,14 @@ export interface ListNotificationEventsQuery {
124
124
  */
125
125
  filter?: ListNotificationEventsParamsFilter;
126
126
  }
127
- export type ListNotificationEventsRequest = AcceptDateStrings<ListNotificationEventsQuery>;
128
- export type ListNotificationEventsResponse = NotificationEventPagePaginatedResponse;
129
- export type GetNotificationEventRequest = {
127
+ export type ListBillingNotificationEventsRequest = AcceptDateStrings<ListBillingNotificationEventsQuery>;
128
+ export type ListBillingNotificationEventsResponse = NotificationEventPagePaginatedResponse;
129
+ export type GetBillingNotificationEventRequest = {
130
130
  notificationEventId: string;
131
131
  };
132
- export type GetNotificationEventResponse = NotificationEvent;
133
- export type ResendNotificationEventRequest = AcceptDateStrings<{
132
+ export type GetBillingNotificationEventResponse = NotificationEvent;
133
+ export type ResendBillingNotificationEventRequest = AcceptDateStrings<{
134
134
  notificationEventId: string;
135
- body: ResendBillingNotificationEventRequest;
135
+ body: ResendBillingNotificationEventRequestBody;
136
136
  }>;
137
- export type ResendNotificationEventResponse = void;
137
+ export type ResendBillingNotificationEventResponse = void;