@openmeter/sdk 1.0.0-beta.22 → 1.0.0-beta.221
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.
- package/Makefile +43 -0
- package/README.md +38 -150
- package/dist/cjs/index.cjs +18 -0
- package/dist/cjs/index.d.cts +1 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/src/client/addons.cjs +105 -0
- package/dist/cjs/src/client/addons.d.cts +152 -0
- package/dist/cjs/src/client/addons.js.map +1 -0
- package/dist/cjs/src/client/apps.cjs +247 -0
- package/dist/cjs/src/client/apps.d.cts +327 -0
- package/dist/cjs/src/client/apps.js.map +1 -0
- package/dist/cjs/src/client/billing.cjs +361 -0
- package/dist/cjs/src/client/billing.d.cts +526 -0
- package/dist/cjs/src/client/billing.js.map +1 -0
- package/dist/cjs/src/client/common.cjs +47 -0
- package/dist/cjs/src/client/common.d.cts +30 -0
- package/dist/cjs/src/client/common.js.map +1 -0
- package/dist/cjs/src/client/customers.cjs +283 -0
- package/dist/cjs/src/client/customers.d.cts +251 -0
- package/dist/cjs/src/client/customers.js.map +1 -0
- package/dist/cjs/src/client/debug.cjs +27 -0
- package/dist/cjs/src/client/debug.d.cts +17 -0
- package/dist/cjs/src/client/debug.js.map +1 -0
- package/dist/cjs/src/client/entitlements.cjs +281 -0
- package/dist/cjs/src/client/entitlements.d.cts +556 -0
- package/dist/cjs/src/client/entitlements.js.map +1 -0
- package/dist/cjs/src/client/events.cjs +113 -0
- package/dist/cjs/src/client/events.d.cts +48 -0
- package/dist/cjs/src/client/events.js.map +1 -0
- package/dist/cjs/src/client/features.cjs +78 -0
- package/dist/cjs/src/client/features.d.cts +78 -0
- package/dist/cjs/src/client/features.js.map +1 -0
- package/dist/cjs/src/client/index.cjs +120 -0
- package/dist/cjs/src/client/index.d.cts +53 -0
- package/dist/cjs/src/client/index.js.map +1 -0
- package/dist/cjs/src/client/info.cjs +42 -0
- package/dist/cjs/src/client/info.d.cts +34 -0
- package/dist/cjs/src/client/info.js.map +1 -0
- package/dist/cjs/src/client/meters.cjs +115 -0
- package/dist/cjs/src/client/meters.d.cts +123 -0
- package/dist/cjs/src/client/meters.js.map +1 -0
- package/dist/cjs/src/client/notifications.cjs +249 -0
- package/dist/cjs/src/client/notifications.d.cts +397 -0
- package/dist/cjs/src/client/notifications.js.map +1 -0
- package/dist/cjs/src/client/plans.cjs +204 -0
- package/dist/cjs/src/client/plans.d.cts +247 -0
- package/dist/cjs/src/client/plans.js.map +1 -0
- package/dist/cjs/src/client/portal.cjs +55 -0
- package/dist/cjs/src/client/portal.d.cts +48 -0
- package/dist/cjs/src/client/portal.js.map +1 -0
- package/dist/cjs/src/client/schemas.cjs +3 -0
- package/dist/cjs/src/client/schemas.d.cts +25246 -0
- package/dist/cjs/src/client/schemas.js.map +1 -0
- package/dist/cjs/src/client/subjects.cjs +76 -0
- package/dist/cjs/src/client/subjects.d.cts +70 -0
- package/dist/cjs/src/client/subjects.js.map +1 -0
- package/dist/cjs/src/client/subscription-addons.cjs +70 -0
- package/dist/cjs/src/client/subscription-addons.d.cts +123 -0
- package/dist/cjs/src/client/subscription-addons.js.map +1 -0
- package/dist/cjs/src/client/subscriptions.cjs +132 -0
- package/dist/cjs/src/client/subscriptions.d.cts +170 -0
- package/dist/cjs/src/client/subscriptions.js.map +1 -0
- package/dist/cjs/src/client/utils.cjs +69 -0
- package/dist/cjs/src/client/utils.d.cts +12 -0
- package/dist/cjs/src/client/utils.js.map +1 -0
- package/dist/cjs/src/portal/index.cjs +89 -0
- package/dist/cjs/src/portal/index.d.cts +43 -0
- package/dist/cjs/src/portal/index.js.map +1 -0
- package/dist/cjs/src/react/context.cjs +35 -0
- package/dist/cjs/src/react/context.d.cts +9 -0
- package/dist/cjs/src/react/context.js.map +1 -0
- package/dist/cjs/src/zod/index.cjs +12205 -0
- package/dist/cjs/src/zod/index.d.cts +19139 -0
- package/dist/cjs/src/zod/index.js.map +1 -0
- package/dist/cjs/tsconfig.0bedc47d.tsbuildinfo +1 -0
- package/dist/cjs/tsconfig.c449a50f.tsbuildinfo +1 -0
- package/dist/index.d.ts +1 -14
- package/dist/index.js +2 -15
- package/dist/index.js.map +1 -0
- package/dist/src/client/addons.d.ts +152 -0
- package/dist/src/client/addons.js +101 -0
- package/dist/src/client/addons.js.map +1 -0
- package/dist/src/client/apps.d.ts +327 -0
- package/dist/src/client/apps.js +240 -0
- package/dist/src/client/apps.js.map +1 -0
- package/dist/src/client/billing.d.ts +526 -0
- package/dist/src/client/billing.js +354 -0
- package/dist/src/client/billing.js.map +1 -0
- package/dist/src/client/common.d.ts +30 -0
- package/dist/src/client/common.js +42 -0
- package/dist/src/client/common.js.map +1 -0
- package/dist/src/client/customers.d.ts +251 -0
- package/dist/src/client/customers.js +276 -0
- package/dist/src/client/customers.js.map +1 -0
- package/dist/src/client/debug.d.ts +17 -0
- package/dist/src/client/debug.js +23 -0
- package/dist/src/client/debug.js.map +1 -0
- package/dist/src/client/entitlements.d.ts +556 -0
- package/dist/src/client/entitlements.js +276 -0
- package/dist/src/client/entitlements.js.map +1 -0
- package/dist/src/client/events.d.ts +48 -0
- package/dist/src/client/events.js +108 -0
- package/dist/src/client/events.js.map +1 -0
- package/dist/src/client/features.d.ts +78 -0
- package/dist/src/client/features.js +74 -0
- package/dist/src/client/features.js.map +1 -0
- package/dist/src/client/index.d.ts +53 -0
- package/dist/src/client/index.js +80 -0
- package/dist/src/client/index.js.map +1 -0
- package/dist/src/client/info.d.ts +34 -0
- package/dist/src/client/info.js +38 -0
- package/dist/src/client/info.js.map +1 -0
- package/dist/src/client/meters.d.ts +123 -0
- package/dist/src/client/meters.js +111 -0
- package/dist/src/client/meters.js.map +1 -0
- package/dist/src/client/notifications.d.ts +397 -0
- package/dist/src/client/notifications.js +242 -0
- package/dist/src/client/notifications.js.map +1 -0
- package/dist/src/client/plans.d.ts +247 -0
- package/dist/src/client/plans.js +199 -0
- package/dist/src/client/plans.js.map +1 -0
- package/dist/src/client/portal.d.ts +48 -0
- package/dist/src/client/portal.js +51 -0
- package/dist/src/client/portal.js.map +1 -0
- package/dist/src/client/schemas.d.ts +25246 -0
- package/dist/src/client/schemas.js +2 -0
- package/dist/src/client/schemas.js.map +1 -0
- package/dist/src/client/subjects.d.ts +70 -0
- package/dist/src/client/subjects.js +72 -0
- package/dist/src/client/subjects.js.map +1 -0
- package/dist/src/client/subscription-addons.d.ts +123 -0
- package/dist/src/client/subscription-addons.js +66 -0
- package/dist/src/client/subscription-addons.js.map +1 -0
- package/dist/src/client/subscriptions.d.ts +170 -0
- package/dist/src/client/subscriptions.js +128 -0
- package/dist/src/client/subscriptions.js.map +1 -0
- package/dist/src/client/utils.d.ts +12 -0
- package/dist/src/client/utils.js +63 -0
- package/dist/src/client/utils.js.map +1 -0
- package/dist/src/portal/index.d.ts +43 -0
- package/dist/src/portal/index.js +52 -0
- package/dist/src/portal/index.js.map +1 -0
- package/dist/src/react/context.d.ts +9 -0
- package/dist/src/react/context.js +16 -0
- package/dist/src/react/context.js.map +1 -0
- package/dist/src/zod/index.d.ts +19139 -0
- package/dist/src/zod/index.js +12178 -0
- package/dist/src/zod/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/orval.config.ts +42 -0
- package/package.json +89 -35
- package/patches/openapi-typescript.patch +6194 -0
- package/dist/clients/client.d.ts +0 -40
- package/dist/clients/client.js +0 -104
- package/dist/clients/event.d.ts +0 -79
- package/dist/clients/event.js +0 -53
- package/dist/clients/meter.d.ts +0 -71
- package/dist/clients/meter.js +0 -64
- package/dist/clients/portal.d.ts +0 -23
- package/dist/clients/portal.js +0 -37
- package/dist/next.d.ts +0 -15
- package/dist/next.js +0 -46
- package/dist/schemas/openapi.d.ts +0 -460
- package/dist/schemas/openapi.js +0 -5
- package/dist/test/agent.d.ts +0 -2
- package/dist/test/agent.js +0 -178
- package/dist/test/mocks.d.ts +0 -12
- package/dist/test/mocks.js +0 -32
- package/index.ts +0 -22
- package/next.ts +0 -76
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import type { RequestOptions } from './common.js';
|
|
2
|
+
import type { NotificationChannel, NotificationRuleCreateRequest, operations, paths } from './schemas.js';
|
|
3
|
+
import type { Client } from 'openapi-fetch';
|
|
4
|
+
/**
|
|
5
|
+
* Notifications
|
|
6
|
+
* @description Notifications provide automated triggers when specific entitlement balances and usage thresholds are reached, ensuring that your customers and sales teams are always informed. Notify customers and internal teams when specific conditions are met, like reaching 75%, 100%, and 150% of their monthly usage allowance.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Notifications {
|
|
9
|
+
private client;
|
|
10
|
+
channels: NotificationChannels;
|
|
11
|
+
rules: NotificationRules;
|
|
12
|
+
events: NotificationEvents;
|
|
13
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Notification Channels
|
|
17
|
+
* @description Notification channels are the destinations for notifications.
|
|
18
|
+
*/
|
|
19
|
+
export declare class NotificationChannels {
|
|
20
|
+
private client;
|
|
21
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
22
|
+
/**
|
|
23
|
+
* Create a notification channel
|
|
24
|
+
* @param notification - The notification to create
|
|
25
|
+
* @param signal - An optional abort signal
|
|
26
|
+
* @returns The created notification
|
|
27
|
+
*/
|
|
28
|
+
create(notification: NotificationChannel, options?: RequestOptions): Promise<{
|
|
29
|
+
readonly createdAt: Date;
|
|
30
|
+
readonly updatedAt: Date;
|
|
31
|
+
readonly deletedAt?: Date;
|
|
32
|
+
readonly id: string;
|
|
33
|
+
type: "WEBHOOK";
|
|
34
|
+
name: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
url: string;
|
|
37
|
+
customHeaders?: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
signingSecret?: string;
|
|
41
|
+
}>;
|
|
42
|
+
/**
|
|
43
|
+
* Get a notification channel by ID
|
|
44
|
+
* @param id - The ID of the notification channel
|
|
45
|
+
* @param signal - An optional abort signal
|
|
46
|
+
* @returns The notification channel
|
|
47
|
+
*/
|
|
48
|
+
get(id: operations['getNotificationChannel']['parameters']['path']['channelId'], options?: RequestOptions): Promise<{
|
|
49
|
+
readonly createdAt: Date;
|
|
50
|
+
readonly updatedAt: Date;
|
|
51
|
+
readonly deletedAt?: Date;
|
|
52
|
+
readonly id: string;
|
|
53
|
+
type: "WEBHOOK";
|
|
54
|
+
name: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
url: string;
|
|
57
|
+
customHeaders?: {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
signingSecret?: string;
|
|
61
|
+
}>;
|
|
62
|
+
/**
|
|
63
|
+
* Update a notification channel
|
|
64
|
+
* @param id - The ID of the notification channel
|
|
65
|
+
* @param notification - The notification to update
|
|
66
|
+
* @param signal - An optional abort signal
|
|
67
|
+
* @returns The updated notification
|
|
68
|
+
*/
|
|
69
|
+
update(id: operations['updateNotificationChannel']['parameters']['path']['channelId'], notification: NotificationChannel, options?: RequestOptions): Promise<{
|
|
70
|
+
readonly createdAt: Date;
|
|
71
|
+
readonly updatedAt: Date;
|
|
72
|
+
readonly deletedAt?: Date;
|
|
73
|
+
readonly id: string;
|
|
74
|
+
type: "WEBHOOK";
|
|
75
|
+
name: string;
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
url: string;
|
|
78
|
+
customHeaders?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
signingSecret?: string;
|
|
82
|
+
}>;
|
|
83
|
+
/**
|
|
84
|
+
* List notification channels
|
|
85
|
+
* @param query - The query parameters
|
|
86
|
+
* @param signal - An optional abort signal
|
|
87
|
+
* @returns The list of notification channels
|
|
88
|
+
*/
|
|
89
|
+
list(query?: operations['listNotificationChannels']['parameters']['query'], options?: RequestOptions): Promise<{
|
|
90
|
+
totalCount: number;
|
|
91
|
+
page: number;
|
|
92
|
+
pageSize: number;
|
|
93
|
+
items: import("./schemas.js").components["schemas"]["NotificationChannel"][];
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* Delete a notification channel
|
|
97
|
+
* @param id - The ID of the notification channel
|
|
98
|
+
* @param signal - An optional abort signal
|
|
99
|
+
* @returns The deleted notification
|
|
100
|
+
*/
|
|
101
|
+
delete(id: operations['deleteNotificationChannel']['parameters']['path']['channelId'], options?: RequestOptions): Promise<undefined>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Notification Rules
|
|
105
|
+
* @description Notification rules are the conditions that trigger notifications.
|
|
106
|
+
*/
|
|
107
|
+
export declare class NotificationRules {
|
|
108
|
+
private client;
|
|
109
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
110
|
+
/**
|
|
111
|
+
* Create a notification rule
|
|
112
|
+
* @param rule - The rule to create
|
|
113
|
+
* @param signal - An optional abort signal
|
|
114
|
+
* @returns The created rule
|
|
115
|
+
*/
|
|
116
|
+
create(rule: NotificationRuleCreateRequest, options?: RequestOptions): Promise<import("openapi-typescript-helpers").SuccessResponse<{
|
|
117
|
+
201: {
|
|
118
|
+
headers: {
|
|
119
|
+
[name: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
content: {
|
|
122
|
+
"application/json": import("./schemas.js").components["schemas"]["NotificationRule"];
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
400: {
|
|
126
|
+
headers: {
|
|
127
|
+
[name: string]: unknown;
|
|
128
|
+
};
|
|
129
|
+
content: {
|
|
130
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["BadRequestProblemResponse"];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
401: {
|
|
134
|
+
headers: {
|
|
135
|
+
[name: string]: unknown;
|
|
136
|
+
};
|
|
137
|
+
content: {
|
|
138
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnauthorizedProblemResponse"];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
403: {
|
|
142
|
+
headers: {
|
|
143
|
+
[name: string]: unknown;
|
|
144
|
+
};
|
|
145
|
+
content: {
|
|
146
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ForbiddenProblemResponse"];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
412: {
|
|
150
|
+
headers: {
|
|
151
|
+
[name: string]: unknown;
|
|
152
|
+
};
|
|
153
|
+
content: {
|
|
154
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["PreconditionFailedProblemResponse"];
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
500: {
|
|
158
|
+
headers: {
|
|
159
|
+
[name: string]: unknown;
|
|
160
|
+
};
|
|
161
|
+
content: {
|
|
162
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["InternalServerErrorProblemResponse"];
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
503: {
|
|
166
|
+
headers: {
|
|
167
|
+
[name: string]: unknown;
|
|
168
|
+
};
|
|
169
|
+
content: {
|
|
170
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ServiceUnavailableProblemResponse"];
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
default: {
|
|
174
|
+
headers: {
|
|
175
|
+
[name: string]: unknown;
|
|
176
|
+
};
|
|
177
|
+
content: {
|
|
178
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnexpectedProblemResponse"];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
}, `${string}/${string}`>>;
|
|
182
|
+
/**
|
|
183
|
+
* Get a notification rule by ID
|
|
184
|
+
* @param id - The ID of the notification rule
|
|
185
|
+
* @param signal - An optional abort signal
|
|
186
|
+
* @returns The notification rule
|
|
187
|
+
*/
|
|
188
|
+
get(id: operations['getNotificationRule']['parameters']['path']['ruleId'], options?: RequestOptions): Promise<import("openapi-typescript-helpers").SuccessResponse<{
|
|
189
|
+
200: {
|
|
190
|
+
headers: {
|
|
191
|
+
[name: string]: unknown;
|
|
192
|
+
};
|
|
193
|
+
content: {
|
|
194
|
+
"application/json": import("./schemas.js").components["schemas"]["NotificationRule"];
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
400: {
|
|
198
|
+
headers: {
|
|
199
|
+
[name: string]: unknown;
|
|
200
|
+
};
|
|
201
|
+
content: {
|
|
202
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["BadRequestProblemResponse"];
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
401: {
|
|
206
|
+
headers: {
|
|
207
|
+
[name: string]: unknown;
|
|
208
|
+
};
|
|
209
|
+
content: {
|
|
210
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnauthorizedProblemResponse"];
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
403: {
|
|
214
|
+
headers: {
|
|
215
|
+
[name: string]: unknown;
|
|
216
|
+
};
|
|
217
|
+
content: {
|
|
218
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ForbiddenProblemResponse"];
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
404: {
|
|
222
|
+
headers: {
|
|
223
|
+
[name: string]: unknown;
|
|
224
|
+
};
|
|
225
|
+
content: {
|
|
226
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["NotFoundProblemResponse"];
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
412: {
|
|
230
|
+
headers: {
|
|
231
|
+
[name: string]: unknown;
|
|
232
|
+
};
|
|
233
|
+
content: {
|
|
234
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["PreconditionFailedProblemResponse"];
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
500: {
|
|
238
|
+
headers: {
|
|
239
|
+
[name: string]: unknown;
|
|
240
|
+
};
|
|
241
|
+
content: {
|
|
242
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["InternalServerErrorProblemResponse"];
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
503: {
|
|
246
|
+
headers: {
|
|
247
|
+
[name: string]: unknown;
|
|
248
|
+
};
|
|
249
|
+
content: {
|
|
250
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ServiceUnavailableProblemResponse"];
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
default: {
|
|
254
|
+
headers: {
|
|
255
|
+
[name: string]: unknown;
|
|
256
|
+
};
|
|
257
|
+
content: {
|
|
258
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnexpectedProblemResponse"];
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
}, `${string}/${string}`>>;
|
|
262
|
+
/**
|
|
263
|
+
* Update a notification rule
|
|
264
|
+
* @param id - The ID of the notification rule
|
|
265
|
+
* @param rule - The rule to update
|
|
266
|
+
* @param signal - An optional abort signal
|
|
267
|
+
* @returns The updated rule
|
|
268
|
+
*/
|
|
269
|
+
update(id: operations['updateNotificationRule']['parameters']['path']['ruleId'], rule: NotificationRuleCreateRequest, options?: RequestOptions): Promise<import("openapi-typescript-helpers").SuccessResponse<{
|
|
270
|
+
200: {
|
|
271
|
+
headers: {
|
|
272
|
+
[name: string]: unknown;
|
|
273
|
+
};
|
|
274
|
+
content: {
|
|
275
|
+
"application/json": import("./schemas.js").components["schemas"]["NotificationRule"];
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
400: {
|
|
279
|
+
headers: {
|
|
280
|
+
[name: string]: unknown;
|
|
281
|
+
};
|
|
282
|
+
content: {
|
|
283
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["BadRequestProblemResponse"];
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
401: {
|
|
287
|
+
headers: {
|
|
288
|
+
[name: string]: unknown;
|
|
289
|
+
};
|
|
290
|
+
content: {
|
|
291
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnauthorizedProblemResponse"];
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
403: {
|
|
295
|
+
headers: {
|
|
296
|
+
[name: string]: unknown;
|
|
297
|
+
};
|
|
298
|
+
content: {
|
|
299
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ForbiddenProblemResponse"];
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
404: {
|
|
303
|
+
headers: {
|
|
304
|
+
[name: string]: unknown;
|
|
305
|
+
};
|
|
306
|
+
content: {
|
|
307
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["NotFoundProblemResponse"];
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
412: {
|
|
311
|
+
headers: {
|
|
312
|
+
[name: string]: unknown;
|
|
313
|
+
};
|
|
314
|
+
content: {
|
|
315
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["PreconditionFailedProblemResponse"];
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
500: {
|
|
319
|
+
headers: {
|
|
320
|
+
[name: string]: unknown;
|
|
321
|
+
};
|
|
322
|
+
content: {
|
|
323
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["InternalServerErrorProblemResponse"];
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
503: {
|
|
327
|
+
headers: {
|
|
328
|
+
[name: string]: unknown;
|
|
329
|
+
};
|
|
330
|
+
content: {
|
|
331
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["ServiceUnavailableProblemResponse"];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
default: {
|
|
335
|
+
headers: {
|
|
336
|
+
[name: string]: unknown;
|
|
337
|
+
};
|
|
338
|
+
content: {
|
|
339
|
+
"application/problem+json": import("./schemas.js").components["schemas"]["UnexpectedProblemResponse"];
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
}, `${string}/${string}`>>;
|
|
343
|
+
/**
|
|
344
|
+
* List notification rules
|
|
345
|
+
* @param query - The query parameters
|
|
346
|
+
* @param signal - An optional abort signal
|
|
347
|
+
* @returns The list of notification rules
|
|
348
|
+
*/
|
|
349
|
+
list(query?: operations['listNotificationRules']['parameters']['query'], options?: RequestOptions): Promise<{
|
|
350
|
+
totalCount: number;
|
|
351
|
+
page: number;
|
|
352
|
+
pageSize: number;
|
|
353
|
+
items: import("./schemas.js").components["schemas"]["NotificationRule"][];
|
|
354
|
+
}>;
|
|
355
|
+
/**
|
|
356
|
+
* Delete a notification rule
|
|
357
|
+
* @param id - The ID of the notification rule
|
|
358
|
+
* @param signal - An optional abort signal
|
|
359
|
+
* @returns The deleted notification
|
|
360
|
+
*/
|
|
361
|
+
delete(id: operations['deleteNotificationRule']['parameters']['path']['ruleId'], options?: RequestOptions): Promise<undefined>;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Notification Events
|
|
365
|
+
* @description Notification events are the events that trigger notifications.
|
|
366
|
+
*/
|
|
367
|
+
export declare class NotificationEvents {
|
|
368
|
+
private client;
|
|
369
|
+
constructor(client: Client<paths, `${string}/${string}`>);
|
|
370
|
+
/**
|
|
371
|
+
* Get a notification event by ID
|
|
372
|
+
* @param id - The ID of the notification event
|
|
373
|
+
* @param signal - An optional abort signal
|
|
374
|
+
* @returns The notification event
|
|
375
|
+
*/
|
|
376
|
+
get(id: operations['getNotificationEvent']['parameters']['path']['eventId'], options?: RequestOptions): Promise<{
|
|
377
|
+
readonly id: string;
|
|
378
|
+
readonly type: import("./schemas.js").components["schemas"]["NotificationEventType"];
|
|
379
|
+
readonly createdAt: Date;
|
|
380
|
+
readonly rule: import("./schemas.js").components["schemas"]["NotificationRule"];
|
|
381
|
+
readonly deliveryStatus: import("./schemas.js").components["schemas"]["NotificationEventDeliveryStatus"][];
|
|
382
|
+
readonly payload: import("./schemas.js").components["schemas"]["NotificationEventPayload"];
|
|
383
|
+
readonly annotations?: import("./schemas.js").components["schemas"]["Annotations"];
|
|
384
|
+
}>;
|
|
385
|
+
/**
|
|
386
|
+
* List notification events
|
|
387
|
+
* @param query - The query parameters
|
|
388
|
+
* @param signal - An optional abort signal
|
|
389
|
+
* @returns The list of notification events
|
|
390
|
+
*/
|
|
391
|
+
list(query?: operations['listNotificationEvents']['parameters']['query'], options?: RequestOptions): Promise<{
|
|
392
|
+
totalCount: number;
|
|
393
|
+
page: number;
|
|
394
|
+
pageSize: number;
|
|
395
|
+
items: import("./schemas.js").components["schemas"]["NotificationEvent"][];
|
|
396
|
+
}>;
|
|
397
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { transformResponse } from './utils.js';
|
|
2
|
+
/**
|
|
3
|
+
* Notifications
|
|
4
|
+
* @description Notifications provide automated triggers when specific entitlement balances and usage thresholds are reached, ensuring that your customers and sales teams are always informed. Notify customers and internal teams when specific conditions are met, like reaching 75%, 100%, and 150% of their monthly usage allowance.
|
|
5
|
+
*/
|
|
6
|
+
export class Notifications {
|
|
7
|
+
client;
|
|
8
|
+
channels;
|
|
9
|
+
rules;
|
|
10
|
+
events;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.client = client;
|
|
13
|
+
this.channels = new NotificationChannels(this.client);
|
|
14
|
+
this.rules = new NotificationRules(this.client);
|
|
15
|
+
this.events = new NotificationEvents(this.client);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Notification Channels
|
|
20
|
+
* @description Notification channels are the destinations for notifications.
|
|
21
|
+
*/
|
|
22
|
+
export class NotificationChannels {
|
|
23
|
+
client;
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Create a notification channel
|
|
29
|
+
* @param notification - The notification to create
|
|
30
|
+
* @param signal - An optional abort signal
|
|
31
|
+
* @returns The created notification
|
|
32
|
+
*/
|
|
33
|
+
async create(notification, options) {
|
|
34
|
+
const resp = await this.client.POST('/api/v1/notification/channels', {
|
|
35
|
+
body: notification,
|
|
36
|
+
...options,
|
|
37
|
+
});
|
|
38
|
+
return transformResponse(resp);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Get a notification channel by ID
|
|
42
|
+
* @param id - The ID of the notification channel
|
|
43
|
+
* @param signal - An optional abort signal
|
|
44
|
+
* @returns The notification channel
|
|
45
|
+
*/
|
|
46
|
+
async get(id, options) {
|
|
47
|
+
const resp = await this.client.GET('/api/v1/notification/channels/{channelId}', {
|
|
48
|
+
params: {
|
|
49
|
+
path: {
|
|
50
|
+
channelId: id,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
...options,
|
|
54
|
+
});
|
|
55
|
+
return transformResponse(resp);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Update a notification channel
|
|
59
|
+
* @param id - The ID of the notification channel
|
|
60
|
+
* @param notification - The notification to update
|
|
61
|
+
* @param signal - An optional abort signal
|
|
62
|
+
* @returns The updated notification
|
|
63
|
+
*/
|
|
64
|
+
async update(id, notification, options) {
|
|
65
|
+
const resp = await this.client.PUT('/api/v1/notification/channels/{channelId}', {
|
|
66
|
+
body: notification,
|
|
67
|
+
params: {
|
|
68
|
+
path: {
|
|
69
|
+
channelId: id,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
...options,
|
|
73
|
+
});
|
|
74
|
+
return transformResponse(resp);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* List notification channels
|
|
78
|
+
* @param query - The query parameters
|
|
79
|
+
* @param signal - An optional abort signal
|
|
80
|
+
* @returns The list of notification channels
|
|
81
|
+
*/
|
|
82
|
+
async list(query, options) {
|
|
83
|
+
const resp = await this.client.GET('/api/v1/notification/channels', {
|
|
84
|
+
params: {
|
|
85
|
+
query,
|
|
86
|
+
},
|
|
87
|
+
...options,
|
|
88
|
+
});
|
|
89
|
+
return transformResponse(resp);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Delete a notification channel
|
|
93
|
+
* @param id - The ID of the notification channel
|
|
94
|
+
* @param signal - An optional abort signal
|
|
95
|
+
* @returns The deleted notification
|
|
96
|
+
*/
|
|
97
|
+
async delete(id, options) {
|
|
98
|
+
const resp = await this.client.DELETE('/api/v1/notification/channels/{channelId}', {
|
|
99
|
+
params: {
|
|
100
|
+
path: {
|
|
101
|
+
channelId: id,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
...options,
|
|
105
|
+
});
|
|
106
|
+
return transformResponse(resp);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Notification Rules
|
|
111
|
+
* @description Notification rules are the conditions that trigger notifications.
|
|
112
|
+
*/
|
|
113
|
+
export class NotificationRules {
|
|
114
|
+
client;
|
|
115
|
+
constructor(client) {
|
|
116
|
+
this.client = client;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Create a notification rule
|
|
120
|
+
* @param rule - The rule to create
|
|
121
|
+
* @param signal - An optional abort signal
|
|
122
|
+
* @returns The created rule
|
|
123
|
+
*/
|
|
124
|
+
async create(rule, options) {
|
|
125
|
+
const resp = await this.client.POST('/api/v1/notification/rules', {
|
|
126
|
+
body: rule,
|
|
127
|
+
...options,
|
|
128
|
+
});
|
|
129
|
+
return transformResponse(resp);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Get a notification rule by ID
|
|
133
|
+
* @param id - The ID of the notification rule
|
|
134
|
+
* @param signal - An optional abort signal
|
|
135
|
+
* @returns The notification rule
|
|
136
|
+
*/
|
|
137
|
+
async get(id, options) {
|
|
138
|
+
const resp = await this.client.GET('/api/v1/notification/rules/{ruleId}', {
|
|
139
|
+
params: {
|
|
140
|
+
path: {
|
|
141
|
+
ruleId: id,
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
...options,
|
|
145
|
+
});
|
|
146
|
+
return transformResponse(resp);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Update a notification rule
|
|
150
|
+
* @param id - The ID of the notification rule
|
|
151
|
+
* @param rule - The rule to update
|
|
152
|
+
* @param signal - An optional abort signal
|
|
153
|
+
* @returns The updated rule
|
|
154
|
+
*/
|
|
155
|
+
async update(id, rule, options) {
|
|
156
|
+
const resp = await this.client.PUT('/api/v1/notification/rules/{ruleId}', {
|
|
157
|
+
body: rule,
|
|
158
|
+
params: {
|
|
159
|
+
path: {
|
|
160
|
+
ruleId: id,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
...options,
|
|
164
|
+
});
|
|
165
|
+
return transformResponse(resp);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* List notification rules
|
|
169
|
+
* @param query - The query parameters
|
|
170
|
+
* @param signal - An optional abort signal
|
|
171
|
+
* @returns The list of notification rules
|
|
172
|
+
*/
|
|
173
|
+
async list(query, options) {
|
|
174
|
+
const resp = await this.client.GET('/api/v1/notification/rules', {
|
|
175
|
+
params: {
|
|
176
|
+
query,
|
|
177
|
+
},
|
|
178
|
+
...options,
|
|
179
|
+
});
|
|
180
|
+
return transformResponse(resp);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Delete a notification rule
|
|
184
|
+
* @param id - The ID of the notification rule
|
|
185
|
+
* @param signal - An optional abort signal
|
|
186
|
+
* @returns The deleted notification
|
|
187
|
+
*/
|
|
188
|
+
async delete(id, options) {
|
|
189
|
+
const resp = await this.client.DELETE('/api/v1/notification/rules/{ruleId}', {
|
|
190
|
+
params: {
|
|
191
|
+
path: {
|
|
192
|
+
ruleId: id,
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
...options,
|
|
196
|
+
});
|
|
197
|
+
return transformResponse(resp);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Notification Events
|
|
202
|
+
* @description Notification events are the events that trigger notifications.
|
|
203
|
+
*/
|
|
204
|
+
export class NotificationEvents {
|
|
205
|
+
client;
|
|
206
|
+
constructor(client) {
|
|
207
|
+
this.client = client;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Get a notification event by ID
|
|
211
|
+
* @param id - The ID of the notification event
|
|
212
|
+
* @param signal - An optional abort signal
|
|
213
|
+
* @returns The notification event
|
|
214
|
+
*/
|
|
215
|
+
async get(id, options) {
|
|
216
|
+
const resp = await this.client.GET('/api/v1/notification/events/{eventId}', {
|
|
217
|
+
params: {
|
|
218
|
+
path: {
|
|
219
|
+
eventId: id,
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
...options,
|
|
223
|
+
});
|
|
224
|
+
return transformResponse(resp);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* List notification events
|
|
228
|
+
* @param query - The query parameters
|
|
229
|
+
* @param signal - An optional abort signal
|
|
230
|
+
* @returns The list of notification events
|
|
231
|
+
*/
|
|
232
|
+
async list(query, options) {
|
|
233
|
+
const resp = await this.client.GET('/api/v1/notification/events', {
|
|
234
|
+
params: {
|
|
235
|
+
query,
|
|
236
|
+
},
|
|
237
|
+
...options,
|
|
238
|
+
});
|
|
239
|
+
return transformResponse(resp);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
//# sourceMappingURL=notifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../../src/client/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAU9C;;;GAGG;AACH,MAAM,OAAO,aAAa;IAKJ;IAJb,QAAQ,CAAsB;IAC9B,KAAK,CAAmB;IACxB,MAAM,CAAoB;IAEjC,YAAoB,MAA4C;QAA5C,WAAM,GAAN,MAAM,CAAsC;QAC9D,IAAI,CAAC,QAAQ,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrD,IAAI,CAAC,KAAK,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACnD,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,OAAO,oBAAoB;IACX;IAApB,YAAoB,MAA4C;QAA5C,WAAM,GAAN,MAAM,CAAsC;IA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