@quotalayer/contracts 0.1.0-alpha.1
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/README.md +11 -0
- package/dist/index.d.ts +751 -0
- package/dist/index.js +793 -0
- package/package.json +48 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,751 @@
|
|
|
1
|
+
import * as _sinclair_typebox from '@sinclair/typebox';
|
|
2
|
+
import { Static } from '@sinclair/typebox';
|
|
3
|
+
|
|
4
|
+
declare const RegisterSchema: _sinclair_typebox.TObject<{
|
|
5
|
+
email: _sinclair_typebox.TString;
|
|
6
|
+
password: _sinclair_typebox.TString;
|
|
7
|
+
displayName: _sinclair_typebox.TString;
|
|
8
|
+
workspaceName: _sinclair_typebox.TString;
|
|
9
|
+
}>;
|
|
10
|
+
type RegisterRequest = Static<typeof RegisterSchema>;
|
|
11
|
+
declare const LoginSchema: _sinclair_typebox.TObject<{
|
|
12
|
+
email: _sinclair_typebox.TString;
|
|
13
|
+
password: _sinclair_typebox.TString;
|
|
14
|
+
}>;
|
|
15
|
+
type LoginRequest = Static<typeof LoginSchema>;
|
|
16
|
+
declare const AuthSessionSchema: _sinclair_typebox.TObject<{
|
|
17
|
+
user: _sinclair_typebox.TObject<{
|
|
18
|
+
id: _sinclair_typebox.TString;
|
|
19
|
+
email: _sinclair_typebox.TString;
|
|
20
|
+
displayName: _sinclair_typebox.TString;
|
|
21
|
+
locale: _sinclair_typebox.TString;
|
|
22
|
+
}>;
|
|
23
|
+
workspace: _sinclair_typebox.TObject<{
|
|
24
|
+
id: _sinclair_typebox.TString;
|
|
25
|
+
name: _sinclair_typebox.TString;
|
|
26
|
+
role: _sinclair_typebox.TString;
|
|
27
|
+
}>;
|
|
28
|
+
project: _sinclair_typebox.TObject<{
|
|
29
|
+
id: _sinclair_typebox.TString;
|
|
30
|
+
name: _sinclair_typebox.TString;
|
|
31
|
+
}>;
|
|
32
|
+
environment: _sinclair_typebox.TObject<{
|
|
33
|
+
id: _sinclair_typebox.TString;
|
|
34
|
+
name: _sinclair_typebox.TString;
|
|
35
|
+
type: _sinclair_typebox.TString;
|
|
36
|
+
}>;
|
|
37
|
+
}>;
|
|
38
|
+
type AuthSessionResponse = Static<typeof AuthSessionSchema>;
|
|
39
|
+
declare function isAuthSessionResponse(value: unknown): value is AuthSessionResponse;
|
|
40
|
+
|
|
41
|
+
declare const ApiErrorSchema: _sinclair_typebox.TObject<{
|
|
42
|
+
error: _sinclair_typebox.TObject<{
|
|
43
|
+
code: _sinclair_typebox.TString;
|
|
44
|
+
message: _sinclair_typebox.TString;
|
|
45
|
+
requestId: _sinclair_typebox.TString;
|
|
46
|
+
}>;
|
|
47
|
+
}>;
|
|
48
|
+
type ApiError = Static<typeof ApiErrorSchema>;
|
|
49
|
+
declare function isApiError(value: unknown): value is ApiError;
|
|
50
|
+
declare const HealthResponseSchema: _sinclair_typebox.TObject<{
|
|
51
|
+
status: _sinclair_typebox.TLiteral<"ok">;
|
|
52
|
+
service: _sinclair_typebox.TString;
|
|
53
|
+
version: _sinclair_typebox.TString;
|
|
54
|
+
}>;
|
|
55
|
+
type HealthResponse = Static<typeof HealthResponseSchema>;
|
|
56
|
+
declare function isHealthResponse(value: unknown): value is HealthResponse;
|
|
57
|
+
|
|
58
|
+
declare const CreditBalanceSchema: _sinclair_typebox.TObject<{
|
|
59
|
+
accountId: _sinclair_typebox.TString;
|
|
60
|
+
granted: _sinclair_typebox.TString;
|
|
61
|
+
available: _sinclair_typebox.TString;
|
|
62
|
+
reserved: _sinclair_typebox.TString;
|
|
63
|
+
consumed: _sinclair_typebox.TString;
|
|
64
|
+
expired: _sinclair_typebox.TString;
|
|
65
|
+
}>;
|
|
66
|
+
type CreditBalanceResponse = Static<typeof CreditBalanceSchema>;
|
|
67
|
+
declare function isCreditBalanceResponse(value: unknown): value is CreditBalanceResponse;
|
|
68
|
+
declare const GrantCreditsSchema: _sinclair_typebox.TObject<{
|
|
69
|
+
customerId: _sinclair_typebox.TString;
|
|
70
|
+
amount: _sinclair_typebox.TString;
|
|
71
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
72
|
+
expiresAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
73
|
+
}>;
|
|
74
|
+
type GrantCreditsRequest = Static<typeof GrantCreditsSchema>;
|
|
75
|
+
declare const ReserveCreditsSchema: _sinclair_typebox.TObject<{
|
|
76
|
+
customerId: _sinclair_typebox.TString;
|
|
77
|
+
amount: _sinclair_typebox.TString;
|
|
78
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
79
|
+
expiresAt: _sinclair_typebox.TString;
|
|
80
|
+
}>;
|
|
81
|
+
type ReserveCreditsRequest = Static<typeof ReserveCreditsSchema>;
|
|
82
|
+
declare const ReservationResponseSchema: _sinclair_typebox.TObject<{
|
|
83
|
+
id: _sinclair_typebox.TString;
|
|
84
|
+
accountId: _sinclair_typebox.TString;
|
|
85
|
+
customerId: _sinclair_typebox.TString;
|
|
86
|
+
amount: _sinclair_typebox.TString;
|
|
87
|
+
committedAmount: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
88
|
+
status: _sinclair_typebox.TString;
|
|
89
|
+
expiresAt: _sinclair_typebox.TString;
|
|
90
|
+
}>;
|
|
91
|
+
type ReservationResponse = Static<typeof ReservationResponseSchema>;
|
|
92
|
+
declare function isReservationResponse(value: unknown): value is ReservationResponse;
|
|
93
|
+
declare const CommitReservationSchema: _sinclair_typebox.TObject<{
|
|
94
|
+
amount: _sinclair_typebox.TString;
|
|
95
|
+
}>;
|
|
96
|
+
type CommitReservationRequest = Static<typeof CommitReservationSchema>;
|
|
97
|
+
declare const RefundCreditsSchema: _sinclair_typebox.TObject<{
|
|
98
|
+
reservationId: _sinclair_typebox.TString;
|
|
99
|
+
amount: _sinclair_typebox.TString;
|
|
100
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
101
|
+
}>;
|
|
102
|
+
type RefundCreditsRequest = Static<typeof RefundCreditsSchema>;
|
|
103
|
+
declare const CreditBalanceQuerySchema: _sinclair_typebox.TObject<{
|
|
104
|
+
customerId: _sinclair_typebox.TString;
|
|
105
|
+
}>;
|
|
106
|
+
type CreditBalanceQuery = Static<typeof CreditBalanceQuerySchema>;
|
|
107
|
+
declare const ReservationParamsSchema: _sinclair_typebox.TObject<{
|
|
108
|
+
reservationId: _sinclair_typebox.TString;
|
|
109
|
+
}>;
|
|
110
|
+
type ReservationParams = Static<typeof ReservationParamsSchema>;
|
|
111
|
+
declare const CreditAccountRecordSchema: _sinclair_typebox.TObject<{
|
|
112
|
+
accountId: _sinclair_typebox.TString;
|
|
113
|
+
customerId: _sinclair_typebox.TString;
|
|
114
|
+
externalCustomerId: _sinclair_typebox.TString;
|
|
115
|
+
customerName: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
116
|
+
granted: _sinclair_typebox.TString;
|
|
117
|
+
available: _sinclair_typebox.TString;
|
|
118
|
+
reserved: _sinclair_typebox.TString;
|
|
119
|
+
consumed: _sinclair_typebox.TString;
|
|
120
|
+
expired: _sinclair_typebox.TString;
|
|
121
|
+
}>;
|
|
122
|
+
type CreditAccountRecord = Static<typeof CreditAccountRecordSchema>;
|
|
123
|
+
declare const CreditAccountListSchema: _sinclair_typebox.TObject<{
|
|
124
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
125
|
+
accountId: _sinclair_typebox.TString;
|
|
126
|
+
customerId: _sinclair_typebox.TString;
|
|
127
|
+
externalCustomerId: _sinclair_typebox.TString;
|
|
128
|
+
customerName: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
129
|
+
granted: _sinclair_typebox.TString;
|
|
130
|
+
available: _sinclair_typebox.TString;
|
|
131
|
+
reserved: _sinclair_typebox.TString;
|
|
132
|
+
consumed: _sinclair_typebox.TString;
|
|
133
|
+
expired: _sinclair_typebox.TString;
|
|
134
|
+
}>>;
|
|
135
|
+
}>;
|
|
136
|
+
type CreditAccountList = Static<typeof CreditAccountListSchema>;
|
|
137
|
+
declare const CreditLedgerRecordSchema: _sinclair_typebox.TObject<{
|
|
138
|
+
id: _sinclair_typebox.TString;
|
|
139
|
+
accountId: _sinclair_typebox.TString;
|
|
140
|
+
externalCustomerId: _sinclair_typebox.TString;
|
|
141
|
+
type: _sinclair_typebox.TString;
|
|
142
|
+
amount: _sinclair_typebox.TString;
|
|
143
|
+
balanceAfter: _sinclair_typebox.TString;
|
|
144
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
145
|
+
referenceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
146
|
+
referenceId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
147
|
+
createdAt: _sinclair_typebox.TString;
|
|
148
|
+
}>;
|
|
149
|
+
type CreditLedgerRecord = Static<typeof CreditLedgerRecordSchema>;
|
|
150
|
+
declare const CreditLedgerListSchema: _sinclair_typebox.TObject<{
|
|
151
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
152
|
+
id: _sinclair_typebox.TString;
|
|
153
|
+
accountId: _sinclair_typebox.TString;
|
|
154
|
+
externalCustomerId: _sinclair_typebox.TString;
|
|
155
|
+
type: _sinclair_typebox.TString;
|
|
156
|
+
amount: _sinclair_typebox.TString;
|
|
157
|
+
balanceAfter: _sinclair_typebox.TString;
|
|
158
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
159
|
+
referenceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
160
|
+
referenceId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
161
|
+
createdAt: _sinclair_typebox.TString;
|
|
162
|
+
}>>;
|
|
163
|
+
}>;
|
|
164
|
+
type CreditLedgerList = Static<typeof CreditLedgerListSchema>;
|
|
165
|
+
declare function isCreditAccountList(value: unknown): value is CreditAccountList;
|
|
166
|
+
declare function isCreditLedgerList(value: unknown): value is CreditLedgerList;
|
|
167
|
+
|
|
168
|
+
declare const FeatureInputSchema: _sinclair_typebox.TObject<{
|
|
169
|
+
key: _sinclair_typebox.TString;
|
|
170
|
+
name: _sinclair_typebox.TString;
|
|
171
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"BOOLEAN">, _sinclair_typebox.TLiteral<"STATIC">, _sinclair_typebox.TLiteral<"METERED">]>;
|
|
172
|
+
meterId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
173
|
+
}>;
|
|
174
|
+
type FeatureInput = Static<typeof FeatureInputSchema>;
|
|
175
|
+
declare const FeatureRecordSchema: _sinclair_typebox.TObject<{
|
|
176
|
+
id: _sinclair_typebox.TString;
|
|
177
|
+
key: _sinclair_typebox.TString;
|
|
178
|
+
name: _sinclair_typebox.TString;
|
|
179
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"BOOLEAN">, _sinclair_typebox.TLiteral<"STATIC">, _sinclair_typebox.TLiteral<"METERED">]>;
|
|
180
|
+
meterId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
181
|
+
}>;
|
|
182
|
+
type FeatureRecord = Static<typeof FeatureRecordSchema>;
|
|
183
|
+
declare const FeatureListSchema: _sinclair_typebox.TObject<{
|
|
184
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
185
|
+
id: _sinclair_typebox.TString;
|
|
186
|
+
key: _sinclair_typebox.TString;
|
|
187
|
+
name: _sinclair_typebox.TString;
|
|
188
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"BOOLEAN">, _sinclair_typebox.TLiteral<"STATIC">, _sinclair_typebox.TLiteral<"METERED">]>;
|
|
189
|
+
meterId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
190
|
+
}>>;
|
|
191
|
+
}>;
|
|
192
|
+
type FeatureList = Static<typeof FeatureListSchema>;
|
|
193
|
+
declare const PlanEntitlementInputSchema: _sinclair_typebox.TObject<{
|
|
194
|
+
featureId: _sinclair_typebox.TString;
|
|
195
|
+
booleanValue: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
196
|
+
staticValue: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
197
|
+
allowance: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
198
|
+
period: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>>;
|
|
199
|
+
}>;
|
|
200
|
+
type PlanEntitlementInput = Static<typeof PlanEntitlementInputSchema>;
|
|
201
|
+
declare const PlanInputSchema: _sinclair_typebox.TObject<{
|
|
202
|
+
key: _sinclair_typebox.TString;
|
|
203
|
+
name: _sinclair_typebox.TString;
|
|
204
|
+
period: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>;
|
|
205
|
+
entitlements: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
206
|
+
featureId: _sinclair_typebox.TString;
|
|
207
|
+
booleanValue: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
208
|
+
staticValue: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
209
|
+
allowance: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
210
|
+
period: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>>;
|
|
211
|
+
}>>;
|
|
212
|
+
}>;
|
|
213
|
+
type PlanInput = Static<typeof PlanInputSchema>;
|
|
214
|
+
declare const PlanRecordSchema: _sinclair_typebox.TObject<{
|
|
215
|
+
id: _sinclair_typebox.TString;
|
|
216
|
+
key: _sinclair_typebox.TString;
|
|
217
|
+
name: _sinclair_typebox.TString;
|
|
218
|
+
versionId: _sinclair_typebox.TString;
|
|
219
|
+
version: _sinclair_typebox.TInteger;
|
|
220
|
+
status: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"DRAFT">, _sinclair_typebox.TLiteral<"PUBLISHED">, _sinclair_typebox.TLiteral<"ARCHIVED">]>;
|
|
221
|
+
period: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>;
|
|
222
|
+
entitlementCount: _sinclair_typebox.TInteger;
|
|
223
|
+
}>;
|
|
224
|
+
type PlanRecord = Static<typeof PlanRecordSchema>;
|
|
225
|
+
declare const PlanListSchema: _sinclair_typebox.TObject<{
|
|
226
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
227
|
+
id: _sinclair_typebox.TString;
|
|
228
|
+
key: _sinclair_typebox.TString;
|
|
229
|
+
name: _sinclair_typebox.TString;
|
|
230
|
+
versionId: _sinclair_typebox.TString;
|
|
231
|
+
version: _sinclair_typebox.TInteger;
|
|
232
|
+
status: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"DRAFT">, _sinclair_typebox.TLiteral<"PUBLISHED">, _sinclair_typebox.TLiteral<"ARCHIVED">]>;
|
|
233
|
+
period: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>;
|
|
234
|
+
entitlementCount: _sinclair_typebox.TInteger;
|
|
235
|
+
}>>;
|
|
236
|
+
}>;
|
|
237
|
+
type PlanList = Static<typeof PlanListSchema>;
|
|
238
|
+
declare const PlanVersionParamsSchema: _sinclair_typebox.TObject<{
|
|
239
|
+
planVersionId: _sinclair_typebox.TString;
|
|
240
|
+
}>;
|
|
241
|
+
type PlanVersionParams = Static<typeof PlanVersionParamsSchema>;
|
|
242
|
+
declare const SubscriptionInputSchema: _sinclair_typebox.TObject<{
|
|
243
|
+
customerId: _sinclair_typebox.TString;
|
|
244
|
+
planVersionId: _sinclair_typebox.TString;
|
|
245
|
+
startsAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
246
|
+
endsAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
247
|
+
}>;
|
|
248
|
+
type SubscriptionInput = Static<typeof SubscriptionInputSchema>;
|
|
249
|
+
declare const SubscriptionRecordSchema: _sinclair_typebox.TObject<{
|
|
250
|
+
id: _sinclair_typebox.TString;
|
|
251
|
+
customerId: _sinclair_typebox.TString;
|
|
252
|
+
planVersionId: _sinclair_typebox.TString;
|
|
253
|
+
status: _sinclair_typebox.TLiteral<"ACTIVE">;
|
|
254
|
+
startsAt: _sinclair_typebox.TString;
|
|
255
|
+
endsAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
256
|
+
}>;
|
|
257
|
+
type SubscriptionRecord = Static<typeof SubscriptionRecordSchema>;
|
|
258
|
+
declare const EntitlementOverrideInputSchema: _sinclair_typebox.TObject<{
|
|
259
|
+
customerId: _sinclair_typebox.TString;
|
|
260
|
+
featureId: _sinclair_typebox.TString;
|
|
261
|
+
booleanValue: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
262
|
+
staticValue: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
263
|
+
allowance: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
264
|
+
period: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"ONE_TIME">, _sinclair_typebox.TLiteral<"MONTHLY">, _sinclair_typebox.TLiteral<"ANNUAL">]>>;
|
|
265
|
+
startsAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
266
|
+
endsAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
267
|
+
}>;
|
|
268
|
+
type EntitlementOverrideInput = Static<typeof EntitlementOverrideInputSchema>;
|
|
269
|
+
declare const EntitlementOverrideRecordSchema: _sinclair_typebox.TObject<{
|
|
270
|
+
id: _sinclair_typebox.TString;
|
|
271
|
+
customerId: _sinclair_typebox.TString;
|
|
272
|
+
featureId: _sinclair_typebox.TString;
|
|
273
|
+
startsAt: _sinclair_typebox.TString;
|
|
274
|
+
endsAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
275
|
+
}>;
|
|
276
|
+
type EntitlementOverrideRecord = Static<typeof EntitlementOverrideRecordSchema>;
|
|
277
|
+
declare const EntitlementQuerySchema: _sinclair_typebox.TObject<{
|
|
278
|
+
customerId: _sinclair_typebox.TString;
|
|
279
|
+
featureKey: _sinclair_typebox.TString;
|
|
280
|
+
}>;
|
|
281
|
+
type EntitlementQuery = Static<typeof EntitlementQuerySchema>;
|
|
282
|
+
declare const EntitlementResponseSchema: _sinclair_typebox.TObject<{
|
|
283
|
+
customerId: _sinclair_typebox.TString;
|
|
284
|
+
featureKey: _sinclair_typebox.TString;
|
|
285
|
+
type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"BOOLEAN">, _sinclair_typebox.TLiteral<"STATIC">, _sinclair_typebox.TLiteral<"METERED">]>;
|
|
286
|
+
source: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"PLAN">, _sinclair_typebox.TLiteral<"OVERRIDE">, _sinclair_typebox.TLiteral<"NONE">]>;
|
|
287
|
+
hasAccess: _sinclair_typebox.TBoolean;
|
|
288
|
+
booleanValue: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
|
|
289
|
+
staticValue: _sinclair_typebox.TOptional<_sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
290
|
+
allowance: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
291
|
+
usage: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
292
|
+
remaining: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
293
|
+
periodStart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
294
|
+
periodEnd: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
295
|
+
}>;
|
|
296
|
+
type EntitlementResponse = Static<typeof EntitlementResponseSchema>;
|
|
297
|
+
declare function isFeatureList(value: unknown): value is FeatureList;
|
|
298
|
+
declare function isFeatureRecord(value: unknown): value is FeatureRecord;
|
|
299
|
+
declare function isPlanList(value: unknown): value is PlanList;
|
|
300
|
+
declare function isPlanRecord(value: unknown): value is PlanRecord;
|
|
301
|
+
declare function isSubscriptionRecord(value: unknown): value is SubscriptionRecord;
|
|
302
|
+
declare function isEntitlementResponse(value: unknown): value is EntitlementResponse;
|
|
303
|
+
|
|
304
|
+
declare const EventPropertiesSchema: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
305
|
+
type EventProperties = Static<typeof EventPropertiesSchema>;
|
|
306
|
+
declare function isEventProperties(value: unknown): value is EventProperties;
|
|
307
|
+
declare const CloudEventInputSchema: _sinclair_typebox.TObject<{
|
|
308
|
+
specversion: _sinclair_typebox.TLiteral<"1.0">;
|
|
309
|
+
id: _sinclair_typebox.TString;
|
|
310
|
+
source: _sinclair_typebox.TString;
|
|
311
|
+
type: _sinclair_typebox.TString;
|
|
312
|
+
subject: _sinclair_typebox.TString;
|
|
313
|
+
time: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
314
|
+
data: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>>;
|
|
315
|
+
}>;
|
|
316
|
+
type CloudEventInput = Static<typeof CloudEventInputSchema>;
|
|
317
|
+
declare const CloudEventIngestSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TObject<{
|
|
318
|
+
specversion: _sinclair_typebox.TLiteral<"1.0">;
|
|
319
|
+
id: _sinclair_typebox.TString;
|
|
320
|
+
source: _sinclair_typebox.TString;
|
|
321
|
+
type: _sinclair_typebox.TString;
|
|
322
|
+
subject: _sinclair_typebox.TString;
|
|
323
|
+
time: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
324
|
+
data: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>>;
|
|
325
|
+
}>, _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
326
|
+
specversion: _sinclair_typebox.TLiteral<"1.0">;
|
|
327
|
+
id: _sinclair_typebox.TString;
|
|
328
|
+
source: _sinclair_typebox.TString;
|
|
329
|
+
type: _sinclair_typebox.TString;
|
|
330
|
+
subject: _sinclair_typebox.TString;
|
|
331
|
+
time: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
332
|
+
data: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>>;
|
|
333
|
+
}>>]>;
|
|
334
|
+
type CloudEventIngest = Static<typeof CloudEventIngestSchema>;
|
|
335
|
+
declare const UsageEventInputSchema: _sinclair_typebox.TObject<{
|
|
336
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
337
|
+
customerId: _sinclair_typebox.TString;
|
|
338
|
+
event: _sinclair_typebox.TString;
|
|
339
|
+
occurredAt: _sinclair_typebox.TString;
|
|
340
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
341
|
+
properties: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>>;
|
|
342
|
+
}>;
|
|
343
|
+
type UsageEventInput = Static<typeof UsageEventInputSchema>;
|
|
344
|
+
declare const UsageEventCorrectionInputSchema: _sinclair_typebox.TObject<{
|
|
345
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
346
|
+
reason: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
347
|
+
}>;
|
|
348
|
+
type UsageEventCorrectionInput = Static<typeof UsageEventCorrectionInputSchema>;
|
|
349
|
+
declare const UsageEventParamsSchema: _sinclair_typebox.TObject<{
|
|
350
|
+
eventId: _sinclair_typebox.TString;
|
|
351
|
+
}>;
|
|
352
|
+
type UsageEventParams = Static<typeof UsageEventParamsSchema>;
|
|
353
|
+
declare const UsageEventAcceptedSchema: _sinclair_typebox.TObject<{
|
|
354
|
+
id: _sinclair_typebox.TString;
|
|
355
|
+
duplicate: _sinclair_typebox.TBoolean;
|
|
356
|
+
}>;
|
|
357
|
+
type UsageEventAccepted = Static<typeof UsageEventAcceptedSchema>;
|
|
358
|
+
declare function isUsageEventAccepted(value: unknown): value is UsageEventAccepted;
|
|
359
|
+
declare const UsageEventBatchInputSchema: _sinclair_typebox.TObject<{
|
|
360
|
+
events: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
361
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
362
|
+
customerId: _sinclair_typebox.TString;
|
|
363
|
+
event: _sinclair_typebox.TString;
|
|
364
|
+
occurredAt: _sinclair_typebox.TString;
|
|
365
|
+
value: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
|
|
366
|
+
properties: _sinclair_typebox.TOptional<_sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>>;
|
|
367
|
+
}>>;
|
|
368
|
+
}>;
|
|
369
|
+
type UsageEventBatchInput = Static<typeof UsageEventBatchInputSchema>;
|
|
370
|
+
declare const UsageEventBatchAcceptedSchema: _sinclair_typebox.TObject<{
|
|
371
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
372
|
+
id: _sinclair_typebox.TString;
|
|
373
|
+
duplicate: _sinclair_typebox.TBoolean;
|
|
374
|
+
}>>;
|
|
375
|
+
}>;
|
|
376
|
+
type UsageEventBatchAccepted = Static<typeof UsageEventBatchAcceptedSchema>;
|
|
377
|
+
declare function isUsageEventBatchAccepted(value: unknown): value is UsageEventBatchAccepted;
|
|
378
|
+
declare const UsageEventQuerySchema: _sinclair_typebox.TObject<{
|
|
379
|
+
customerId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
380
|
+
event: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
381
|
+
from: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
382
|
+
to: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
383
|
+
limit: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
384
|
+
cursor: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
385
|
+
}>;
|
|
386
|
+
type UsageEventQuery = Static<typeof UsageEventQuerySchema>;
|
|
387
|
+
declare const UsageEventRecordSchema: _sinclair_typebox.TObject<{
|
|
388
|
+
id: _sinclair_typebox.TString;
|
|
389
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
390
|
+
customerId: _sinclair_typebox.TString;
|
|
391
|
+
event: _sinclair_typebox.TString;
|
|
392
|
+
occurredAt: _sinclair_typebox.TString;
|
|
393
|
+
ingestedAt: _sinclair_typebox.TString;
|
|
394
|
+
value: _sinclair_typebox.TString;
|
|
395
|
+
properties: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
396
|
+
status: _sinclair_typebox.TString;
|
|
397
|
+
correctionOfId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
398
|
+
estimatedCostMinor: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
399
|
+
costCurrency: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
400
|
+
}>;
|
|
401
|
+
type UsageEventRecord = Static<typeof UsageEventRecordSchema>;
|
|
402
|
+
declare const UsageEventListSchema: _sinclair_typebox.TObject<{
|
|
403
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
404
|
+
id: _sinclair_typebox.TString;
|
|
405
|
+
idempotencyKey: _sinclair_typebox.TString;
|
|
406
|
+
customerId: _sinclair_typebox.TString;
|
|
407
|
+
event: _sinclair_typebox.TString;
|
|
408
|
+
occurredAt: _sinclair_typebox.TString;
|
|
409
|
+
ingestedAt: _sinclair_typebox.TString;
|
|
410
|
+
value: _sinclair_typebox.TString;
|
|
411
|
+
properties: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
412
|
+
status: _sinclair_typebox.TString;
|
|
413
|
+
correctionOfId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
414
|
+
estimatedCostMinor: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
415
|
+
costCurrency: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
416
|
+
}>>;
|
|
417
|
+
nextCursor: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
418
|
+
}>;
|
|
419
|
+
type UsageEventList = Static<typeof UsageEventListSchema>;
|
|
420
|
+
declare function isUsageEventList(value: unknown): value is UsageEventList;
|
|
421
|
+
|
|
422
|
+
declare const CustomerInputSchema: _sinclair_typebox.TObject<{
|
|
423
|
+
externalId: _sinclair_typebox.TString;
|
|
424
|
+
name: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
425
|
+
email: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
426
|
+
}>;
|
|
427
|
+
type CustomerInput = Static<typeof CustomerInputSchema>;
|
|
428
|
+
declare const CustomerRecordSchema: _sinclair_typebox.TObject<{
|
|
429
|
+
id: _sinclair_typebox.TString;
|
|
430
|
+
externalId: _sinclair_typebox.TString;
|
|
431
|
+
name: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
432
|
+
email: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
433
|
+
createdAt: _sinclair_typebox.TString;
|
|
434
|
+
}>;
|
|
435
|
+
type CustomerRecord = Static<typeof CustomerRecordSchema>;
|
|
436
|
+
declare const CustomerListSchema: _sinclair_typebox.TObject<{
|
|
437
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
438
|
+
id: _sinclair_typebox.TString;
|
|
439
|
+
externalId: _sinclair_typebox.TString;
|
|
440
|
+
name: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
441
|
+
email: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
442
|
+
createdAt: _sinclair_typebox.TString;
|
|
443
|
+
}>>;
|
|
444
|
+
}>;
|
|
445
|
+
type CustomerList = Static<typeof CustomerListSchema>;
|
|
446
|
+
declare function isCustomerList(value: unknown): value is CustomerList;
|
|
447
|
+
declare const MeterInputSchema: _sinclair_typebox.TObject<{
|
|
448
|
+
key: _sinclair_typebox.TString;
|
|
449
|
+
name: _sinclair_typebox.TString;
|
|
450
|
+
event: _sinclair_typebox.TString;
|
|
451
|
+
aggregation: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"COUNT">, _sinclair_typebox.TLiteral<"SUM">]>;
|
|
452
|
+
valueProperty: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
453
|
+
dimensionKeys: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TString>>;
|
|
454
|
+
}>;
|
|
455
|
+
type MeterInput = Static<typeof MeterInputSchema>;
|
|
456
|
+
declare const MeterRecordSchema: _sinclair_typebox.TObject<{
|
|
457
|
+
id: _sinclair_typebox.TString;
|
|
458
|
+
key: _sinclair_typebox.TString;
|
|
459
|
+
name: _sinclair_typebox.TString;
|
|
460
|
+
event: _sinclair_typebox.TString;
|
|
461
|
+
aggregation: _sinclair_typebox.TString;
|
|
462
|
+
valueProperty: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
463
|
+
dimensionKeys: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
464
|
+
}>;
|
|
465
|
+
type MeterRecord = Static<typeof MeterRecordSchema>;
|
|
466
|
+
declare const MeterListSchema: _sinclair_typebox.TObject<{
|
|
467
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
468
|
+
id: _sinclair_typebox.TString;
|
|
469
|
+
key: _sinclair_typebox.TString;
|
|
470
|
+
name: _sinclair_typebox.TString;
|
|
471
|
+
event: _sinclair_typebox.TString;
|
|
472
|
+
aggregation: _sinclair_typebox.TString;
|
|
473
|
+
valueProperty: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
474
|
+
dimensionKeys: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
475
|
+
}>>;
|
|
476
|
+
}>;
|
|
477
|
+
type MeterList = Static<typeof MeterListSchema>;
|
|
478
|
+
declare function isMeterList(value: unknown): value is MeterList;
|
|
479
|
+
declare const ApiKeyInputSchema: _sinclair_typebox.TObject<{
|
|
480
|
+
name: _sinclair_typebox.TString;
|
|
481
|
+
expiresAt: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
482
|
+
}>;
|
|
483
|
+
type ApiKeyInput = Static<typeof ApiKeyInputSchema>;
|
|
484
|
+
declare const ApiKeyCreatedSchema: _sinclair_typebox.TObject<{
|
|
485
|
+
id: _sinclair_typebox.TString;
|
|
486
|
+
name: _sinclair_typebox.TString;
|
|
487
|
+
prefix: _sinclair_typebox.TString;
|
|
488
|
+
token: _sinclair_typebox.TString;
|
|
489
|
+
}>;
|
|
490
|
+
type ApiKeyCreatedResponse = Static<typeof ApiKeyCreatedSchema>;
|
|
491
|
+
declare function isApiKeyCreatedResponse(value: unknown): value is ApiKeyCreatedResponse;
|
|
492
|
+
declare const ApiKeyRecordSchema: _sinclair_typebox.TObject<{
|
|
493
|
+
id: _sinclair_typebox.TString;
|
|
494
|
+
name: _sinclair_typebox.TString;
|
|
495
|
+
prefix: _sinclair_typebox.TString;
|
|
496
|
+
lastUsedAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
497
|
+
expiresAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
498
|
+
revokedAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
499
|
+
createdAt: _sinclair_typebox.TString;
|
|
500
|
+
}>;
|
|
501
|
+
type ApiKeyRecord = Static<typeof ApiKeyRecordSchema>;
|
|
502
|
+
declare const ApiKeyListSchema: _sinclair_typebox.TObject<{
|
|
503
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
504
|
+
id: _sinclair_typebox.TString;
|
|
505
|
+
name: _sinclair_typebox.TString;
|
|
506
|
+
prefix: _sinclair_typebox.TString;
|
|
507
|
+
lastUsedAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
508
|
+
expiresAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
509
|
+
revokedAt: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
510
|
+
createdAt: _sinclair_typebox.TString;
|
|
511
|
+
}>>;
|
|
512
|
+
}>;
|
|
513
|
+
type ApiKeyList = Static<typeof ApiKeyListSchema>;
|
|
514
|
+
declare const ApiKeyParamsSchema: _sinclair_typebox.TObject<{
|
|
515
|
+
apiKeyId: _sinclair_typebox.TString;
|
|
516
|
+
}>;
|
|
517
|
+
type ApiKeyParams = Static<typeof ApiKeyParamsSchema>;
|
|
518
|
+
declare function isApiKeyList(value: unknown): value is ApiKeyList;
|
|
519
|
+
declare const OverviewSchema: _sinclair_typebox.TObject<{
|
|
520
|
+
customers: _sinclair_typebox.TInteger;
|
|
521
|
+
eventsToday: _sinclair_typebox.TInteger;
|
|
522
|
+
credits: _sinclair_typebox.TObject<{
|
|
523
|
+
available: _sinclair_typebox.TString;
|
|
524
|
+
consumed: _sinclair_typebox.TString;
|
|
525
|
+
reserved: _sinclair_typebox.TString;
|
|
526
|
+
total: _sinclair_typebox.TString;
|
|
527
|
+
utilizationRate: _sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TNull]>;
|
|
528
|
+
}>;
|
|
529
|
+
setup: _sinclair_typebox.TObject<{
|
|
530
|
+
apiKey: _sinclair_typebox.TBoolean;
|
|
531
|
+
credits: _sinclair_typebox.TBoolean;
|
|
532
|
+
customer: _sinclair_typebox.TBoolean;
|
|
533
|
+
feature: _sinclair_typebox.TBoolean;
|
|
534
|
+
}>;
|
|
535
|
+
webhookSuccessRate: _sinclair_typebox.TUnion<[_sinclair_typebox.TNumber, _sinclair_typebox.TNull]>;
|
|
536
|
+
}>;
|
|
537
|
+
type OverviewResponse = Static<typeof OverviewSchema>;
|
|
538
|
+
declare const AuditLogRecordSchema: _sinclair_typebox.TObject<{
|
|
539
|
+
id: _sinclair_typebox.TString;
|
|
540
|
+
action: _sinclair_typebox.TString;
|
|
541
|
+
resourceType: _sinclair_typebox.TString;
|
|
542
|
+
resourceId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
543
|
+
createdAt: _sinclair_typebox.TString;
|
|
544
|
+
}>;
|
|
545
|
+
type AuditLogRecord = Static<typeof AuditLogRecordSchema>;
|
|
546
|
+
declare const AuditLogListSchema: _sinclair_typebox.TObject<{
|
|
547
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
548
|
+
id: _sinclair_typebox.TString;
|
|
549
|
+
action: _sinclair_typebox.TString;
|
|
550
|
+
resourceType: _sinclair_typebox.TString;
|
|
551
|
+
resourceId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
552
|
+
createdAt: _sinclair_typebox.TString;
|
|
553
|
+
}>>;
|
|
554
|
+
}>;
|
|
555
|
+
type AuditLogList = Static<typeof AuditLogListSchema>;
|
|
556
|
+
declare function isAuditLogList(value: unknown): value is AuditLogList;
|
|
557
|
+
declare function isOverviewResponse(value: unknown): value is OverviewResponse;
|
|
558
|
+
|
|
559
|
+
declare const MeterQueryParamsSchema: _sinclair_typebox.TObject<{
|
|
560
|
+
meterKey: _sinclair_typebox.TString;
|
|
561
|
+
}>;
|
|
562
|
+
type MeterQueryParams = Static<typeof MeterQueryParamsSchema>;
|
|
563
|
+
declare const MeterQuerySchema: _sinclair_typebox.TObject<{
|
|
564
|
+
customerId: _sinclair_typebox.TString;
|
|
565
|
+
from: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
566
|
+
to: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
567
|
+
limit: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
|
|
568
|
+
}>;
|
|
569
|
+
type MeterQuery = Static<typeof MeterQuerySchema>;
|
|
570
|
+
declare const MeterQueryDataPointSchema: _sinclair_typebox.TObject<{
|
|
571
|
+
windowStart: _sinclair_typebox.TString;
|
|
572
|
+
windowEnd: _sinclair_typebox.TString;
|
|
573
|
+
value: _sinclair_typebox.TString;
|
|
574
|
+
eventCount: _sinclair_typebox.TString;
|
|
575
|
+
dimensions: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
576
|
+
}>;
|
|
577
|
+
type MeterQueryDataPoint = Static<typeof MeterQueryDataPointSchema>;
|
|
578
|
+
declare const MeterQueryResponseSchema: _sinclair_typebox.TObject<{
|
|
579
|
+
meter: _sinclair_typebox.TObject<{
|
|
580
|
+
key: _sinclair_typebox.TString;
|
|
581
|
+
name: _sinclair_typebox.TString;
|
|
582
|
+
aggregation: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"COUNT">, _sinclair_typebox.TLiteral<"SUM">]>;
|
|
583
|
+
}>;
|
|
584
|
+
customerId: _sinclair_typebox.TString;
|
|
585
|
+
from: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
586
|
+
to: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
587
|
+
value: _sinclair_typebox.TString;
|
|
588
|
+
eventCount: _sinclair_typebox.TString;
|
|
589
|
+
data: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
590
|
+
windowStart: _sinclair_typebox.TString;
|
|
591
|
+
windowEnd: _sinclair_typebox.TString;
|
|
592
|
+
value: _sinclair_typebox.TString;
|
|
593
|
+
eventCount: _sinclair_typebox.TString;
|
|
594
|
+
dimensions: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNumber, _sinclair_typebox.TBoolean]>>;
|
|
595
|
+
}>>;
|
|
596
|
+
}>;
|
|
597
|
+
type MeterQueryResponse = Static<typeof MeterQueryResponseSchema>;
|
|
598
|
+
declare function isMeterQueryResponse(value: unknown): value is MeterQueryResponse;
|
|
599
|
+
|
|
600
|
+
declare const AlertRuleInputSchema: _sinclair_typebox.TObject<{
|
|
601
|
+
name: _sinclair_typebox.TString;
|
|
602
|
+
metric: _sinclair_typebox.TLiteral<"METER_USAGE">;
|
|
603
|
+
operator: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"GREATER_THAN">, _sinclair_typebox.TLiteral<"GREATER_THAN_OR_EQUAL">, _sinclair_typebox.TLiteral<"LESS_THAN">, _sinclair_typebox.TLiteral<"LESS_THAN_OR_EQUAL">]>;
|
|
604
|
+
threshold: _sinclair_typebox.TString;
|
|
605
|
+
meterId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
|
|
606
|
+
}>;
|
|
607
|
+
type AlertRuleInput = Static<typeof AlertRuleInputSchema>;
|
|
608
|
+
declare const AlertRuleRecordSchema: _sinclair_typebox.TObject<{
|
|
609
|
+
id: _sinclair_typebox.TString;
|
|
610
|
+
name: _sinclair_typebox.TString;
|
|
611
|
+
metric: _sinclair_typebox.TString;
|
|
612
|
+
operator: _sinclair_typebox.TString;
|
|
613
|
+
threshold: _sinclair_typebox.TString;
|
|
614
|
+
meterId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
615
|
+
enabled: _sinclair_typebox.TBoolean;
|
|
616
|
+
}>;
|
|
617
|
+
type AlertRuleRecord = Static<typeof AlertRuleRecordSchema>;
|
|
618
|
+
declare const AlertRuleListSchema: _sinclair_typebox.TObject<{
|
|
619
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
620
|
+
id: _sinclair_typebox.TString;
|
|
621
|
+
name: _sinclair_typebox.TString;
|
|
622
|
+
metric: _sinclair_typebox.TString;
|
|
623
|
+
operator: _sinclair_typebox.TString;
|
|
624
|
+
threshold: _sinclair_typebox.TString;
|
|
625
|
+
meterId: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
626
|
+
enabled: _sinclair_typebox.TBoolean;
|
|
627
|
+
}>>;
|
|
628
|
+
}>;
|
|
629
|
+
type AlertRuleList = Static<typeof AlertRuleListSchema>;
|
|
630
|
+
declare const WebhookEndpointInputSchema: _sinclair_typebox.TObject<{
|
|
631
|
+
name: _sinclair_typebox.TString;
|
|
632
|
+
url: _sinclair_typebox.TString;
|
|
633
|
+
secret: _sinclair_typebox.TString;
|
|
634
|
+
eventTypes: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
635
|
+
}>;
|
|
636
|
+
type WebhookEndpointInput = Static<typeof WebhookEndpointInputSchema>;
|
|
637
|
+
declare const WebhookEndpointRecordSchema: _sinclair_typebox.TObject<{
|
|
638
|
+
id: _sinclair_typebox.TString;
|
|
639
|
+
name: _sinclair_typebox.TString;
|
|
640
|
+
url: _sinclair_typebox.TString;
|
|
641
|
+
eventTypes: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
642
|
+
enabled: _sinclair_typebox.TBoolean;
|
|
643
|
+
createdAt: _sinclair_typebox.TString;
|
|
644
|
+
}>;
|
|
645
|
+
type WebhookEndpointRecord = Static<typeof WebhookEndpointRecordSchema>;
|
|
646
|
+
declare const WebhookEndpointListSchema: _sinclair_typebox.TObject<{
|
|
647
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
648
|
+
id: _sinclair_typebox.TString;
|
|
649
|
+
name: _sinclair_typebox.TString;
|
|
650
|
+
url: _sinclair_typebox.TString;
|
|
651
|
+
eventTypes: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
|
652
|
+
enabled: _sinclair_typebox.TBoolean;
|
|
653
|
+
createdAt: _sinclair_typebox.TString;
|
|
654
|
+
}>>;
|
|
655
|
+
}>;
|
|
656
|
+
type WebhookEndpointList = Static<typeof WebhookEndpointListSchema>;
|
|
657
|
+
declare const WebhookDeliveryRecordSchema: _sinclair_typebox.TObject<{
|
|
658
|
+
id: _sinclair_typebox.TString;
|
|
659
|
+
endpointName: _sinclair_typebox.TString;
|
|
660
|
+
eventType: _sinclair_typebox.TString;
|
|
661
|
+
status: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"PENDING">, _sinclair_typebox.TLiteral<"SUCCEEDED">, _sinclair_typebox.TLiteral<"FAILED">, _sinclair_typebox.TLiteral<"DEAD_LETTER">]>;
|
|
662
|
+
attemptCount: _sinclair_typebox.TInteger;
|
|
663
|
+
lastStatusCode: _sinclair_typebox.TUnion<[_sinclair_typebox.TInteger, _sinclair_typebox.TNull]>;
|
|
664
|
+
lastError: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
665
|
+
createdAt: _sinclair_typebox.TString;
|
|
666
|
+
}>;
|
|
667
|
+
type WebhookDeliveryRecord = Static<typeof WebhookDeliveryRecordSchema>;
|
|
668
|
+
declare const WebhookDeliveryListSchema: _sinclair_typebox.TObject<{
|
|
669
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
670
|
+
id: _sinclair_typebox.TString;
|
|
671
|
+
endpointName: _sinclair_typebox.TString;
|
|
672
|
+
eventType: _sinclair_typebox.TString;
|
|
673
|
+
status: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"PENDING">, _sinclair_typebox.TLiteral<"SUCCEEDED">, _sinclair_typebox.TLiteral<"FAILED">, _sinclair_typebox.TLiteral<"DEAD_LETTER">]>;
|
|
674
|
+
attemptCount: _sinclair_typebox.TInteger;
|
|
675
|
+
lastStatusCode: _sinclair_typebox.TUnion<[_sinclair_typebox.TInteger, _sinclair_typebox.TNull]>;
|
|
676
|
+
lastError: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
677
|
+
createdAt: _sinclair_typebox.TString;
|
|
678
|
+
}>>;
|
|
679
|
+
}>;
|
|
680
|
+
type WebhookDeliveryList = Static<typeof WebhookDeliveryListSchema>;
|
|
681
|
+
declare const DeliveryParamsSchema: _sinclair_typebox.TObject<{
|
|
682
|
+
deliveryId: _sinclair_typebox.TString;
|
|
683
|
+
}>;
|
|
684
|
+
type DeliveryParams = Static<typeof DeliveryParamsSchema>;
|
|
685
|
+
declare function isWebhookEndpointList(value: unknown): value is WebhookEndpointList;
|
|
686
|
+
declare function isWebhookEndpointRecord(value: unknown): value is WebhookEndpointRecord;
|
|
687
|
+
declare function isWebhookDeliveryList(value: unknown): value is WebhookDeliveryList;
|
|
688
|
+
declare function isAlertRuleList(value: unknown): value is AlertRuleList;
|
|
689
|
+
declare function isAlertRuleRecord(value: unknown): value is AlertRuleRecord;
|
|
690
|
+
|
|
691
|
+
declare const PriceUnitSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"INPUT_TOKEN">, _sinclair_typebox.TLiteral<"OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_INPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"REASONING_TOKEN">, _sinclair_typebox.TLiteral<"REQUEST">, _sinclair_typebox.TLiteral<"TOOL_CALL">, _sinclair_typebox.TLiteral<"RAG_QUERY">, _sinclair_typebox.TLiteral<"SECOND">, _sinclair_typebox.TLiteral<"AUDIO_SECOND">, _sinclair_typebox.TLiteral<"VIDEO_SECOND">, _sinclair_typebox.TLiteral<"IMAGE">, _sinclair_typebox.TLiteral<"CUSTOM">]>;
|
|
692
|
+
declare const ModelPriceItemInputSchema: _sinclair_typebox.TObject<{
|
|
693
|
+
unit: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"INPUT_TOKEN">, _sinclair_typebox.TLiteral<"OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_INPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"REASONING_TOKEN">, _sinclair_typebox.TLiteral<"REQUEST">, _sinclair_typebox.TLiteral<"TOOL_CALL">, _sinclair_typebox.TLiteral<"RAG_QUERY">, _sinclair_typebox.TLiteral<"SECOND">, _sinclair_typebox.TLiteral<"AUDIO_SECOND">, _sinclair_typebox.TLiteral<"VIDEO_SECOND">, _sinclair_typebox.TLiteral<"IMAGE">, _sinclair_typebox.TLiteral<"CUSTOM">]>;
|
|
694
|
+
unitSize: _sinclair_typebox.TString;
|
|
695
|
+
priceMinor: _sinclair_typebox.TString;
|
|
696
|
+
}>;
|
|
697
|
+
type ModelPriceItemInput = Static<typeof ModelPriceItemInputSchema>;
|
|
698
|
+
declare const ModelPriceInputSchema: _sinclair_typebox.TObject<{
|
|
699
|
+
providerKey: _sinclair_typebox.TString;
|
|
700
|
+
providerName: _sinclair_typebox.TString;
|
|
701
|
+
modelKey: _sinclair_typebox.TString;
|
|
702
|
+
modelName: _sinclair_typebox.TString;
|
|
703
|
+
currency: _sinclair_typebox.TString;
|
|
704
|
+
validFrom: _sinclair_typebox.TString;
|
|
705
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
706
|
+
unit: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"INPUT_TOKEN">, _sinclair_typebox.TLiteral<"OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_INPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"REASONING_TOKEN">, _sinclair_typebox.TLiteral<"REQUEST">, _sinclair_typebox.TLiteral<"TOOL_CALL">, _sinclair_typebox.TLiteral<"RAG_QUERY">, _sinclair_typebox.TLiteral<"SECOND">, _sinclair_typebox.TLiteral<"AUDIO_SECOND">, _sinclair_typebox.TLiteral<"VIDEO_SECOND">, _sinclair_typebox.TLiteral<"IMAGE">, _sinclair_typebox.TLiteral<"CUSTOM">]>;
|
|
707
|
+
unitSize: _sinclair_typebox.TString;
|
|
708
|
+
priceMinor: _sinclair_typebox.TString;
|
|
709
|
+
}>>;
|
|
710
|
+
}>;
|
|
711
|
+
type ModelPriceInput = Static<typeof ModelPriceInputSchema>;
|
|
712
|
+
declare const ModelPriceRecordSchema: _sinclair_typebox.TObject<{
|
|
713
|
+
id: _sinclair_typebox.TString;
|
|
714
|
+
providerKey: _sinclair_typebox.TString;
|
|
715
|
+
providerName: _sinclair_typebox.TString;
|
|
716
|
+
modelKey: _sinclair_typebox.TString;
|
|
717
|
+
modelName: _sinclair_typebox.TString;
|
|
718
|
+
version: _sinclair_typebox.TInteger;
|
|
719
|
+
currency: _sinclair_typebox.TString;
|
|
720
|
+
validFrom: _sinclair_typebox.TString;
|
|
721
|
+
validTo: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
722
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
723
|
+
unit: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"INPUT_TOKEN">, _sinclair_typebox.TLiteral<"OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_INPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"REASONING_TOKEN">, _sinclair_typebox.TLiteral<"REQUEST">, _sinclair_typebox.TLiteral<"TOOL_CALL">, _sinclair_typebox.TLiteral<"RAG_QUERY">, _sinclair_typebox.TLiteral<"SECOND">, _sinclair_typebox.TLiteral<"AUDIO_SECOND">, _sinclair_typebox.TLiteral<"VIDEO_SECOND">, _sinclair_typebox.TLiteral<"IMAGE">, _sinclair_typebox.TLiteral<"CUSTOM">]>;
|
|
724
|
+
unitSize: _sinclair_typebox.TString;
|
|
725
|
+
priceMinor: _sinclair_typebox.TString;
|
|
726
|
+
}>>;
|
|
727
|
+
}>;
|
|
728
|
+
type ModelPriceRecord = Static<typeof ModelPriceRecordSchema>;
|
|
729
|
+
declare const ModelPriceListSchema: _sinclair_typebox.TObject<{
|
|
730
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
731
|
+
id: _sinclair_typebox.TString;
|
|
732
|
+
providerKey: _sinclair_typebox.TString;
|
|
733
|
+
providerName: _sinclair_typebox.TString;
|
|
734
|
+
modelKey: _sinclair_typebox.TString;
|
|
735
|
+
modelName: _sinclair_typebox.TString;
|
|
736
|
+
version: _sinclair_typebox.TInteger;
|
|
737
|
+
currency: _sinclair_typebox.TString;
|
|
738
|
+
validFrom: _sinclair_typebox.TString;
|
|
739
|
+
validTo: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TNull]>;
|
|
740
|
+
items: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
|
|
741
|
+
unit: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"INPUT_TOKEN">, _sinclair_typebox.TLiteral<"OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_INPUT_TOKEN">, _sinclair_typebox.TLiteral<"CACHED_OUTPUT_TOKEN">, _sinclair_typebox.TLiteral<"REASONING_TOKEN">, _sinclair_typebox.TLiteral<"REQUEST">, _sinclair_typebox.TLiteral<"TOOL_CALL">, _sinclair_typebox.TLiteral<"RAG_QUERY">, _sinclair_typebox.TLiteral<"SECOND">, _sinclair_typebox.TLiteral<"AUDIO_SECOND">, _sinclair_typebox.TLiteral<"VIDEO_SECOND">, _sinclair_typebox.TLiteral<"IMAGE">, _sinclair_typebox.TLiteral<"CUSTOM">]>;
|
|
742
|
+
unitSize: _sinclair_typebox.TString;
|
|
743
|
+
priceMinor: _sinclair_typebox.TString;
|
|
744
|
+
}>>;
|
|
745
|
+
}>>;
|
|
746
|
+
}>;
|
|
747
|
+
type ModelPriceList = Static<typeof ModelPriceListSchema>;
|
|
748
|
+
declare function isModelPriceList(value: unknown): value is ModelPriceList;
|
|
749
|
+
declare function isModelPriceRecord(value: unknown): value is ModelPriceRecord;
|
|
750
|
+
|
|
751
|
+
export { type AlertRuleInput, AlertRuleInputSchema, type AlertRuleList, AlertRuleListSchema, type AlertRuleRecord, AlertRuleRecordSchema, type ApiError, ApiErrorSchema, type ApiKeyCreatedResponse, ApiKeyCreatedSchema, type ApiKeyInput, ApiKeyInputSchema, type ApiKeyList, ApiKeyListSchema, type ApiKeyParams, ApiKeyParamsSchema, type ApiKeyRecord, ApiKeyRecordSchema, type AuditLogList, AuditLogListSchema, type AuditLogRecord, AuditLogRecordSchema, type AuthSessionResponse, AuthSessionSchema, type CloudEventIngest, CloudEventIngestSchema, type CloudEventInput, CloudEventInputSchema, type CommitReservationRequest, CommitReservationSchema, type CreditAccountList, CreditAccountListSchema, type CreditAccountRecord, CreditAccountRecordSchema, type CreditBalanceQuery, CreditBalanceQuerySchema, type CreditBalanceResponse, CreditBalanceSchema, type CreditLedgerList, CreditLedgerListSchema, type CreditLedgerRecord, CreditLedgerRecordSchema, type CustomerInput, CustomerInputSchema, type CustomerList, CustomerListSchema, type CustomerRecord, CustomerRecordSchema, type DeliveryParams, DeliveryParamsSchema, type EntitlementOverrideInput, EntitlementOverrideInputSchema, type EntitlementOverrideRecord, EntitlementOverrideRecordSchema, type EntitlementQuery, EntitlementQuerySchema, type EntitlementResponse, EntitlementResponseSchema, type EventProperties, EventPropertiesSchema, type FeatureInput, FeatureInputSchema, type FeatureList, FeatureListSchema, type FeatureRecord, FeatureRecordSchema, type GrantCreditsRequest, GrantCreditsSchema, type HealthResponse, HealthResponseSchema, type LoginRequest, LoginSchema, type MeterInput, MeterInputSchema, type MeterList, MeterListSchema, type MeterQuery, type MeterQueryDataPoint, MeterQueryDataPointSchema, type MeterQueryParams, MeterQueryParamsSchema, type MeterQueryResponse, MeterQueryResponseSchema, MeterQuerySchema, type MeterRecord, MeterRecordSchema, type ModelPriceInput, ModelPriceInputSchema, type ModelPriceItemInput, ModelPriceItemInputSchema, type ModelPriceList, ModelPriceListSchema, type ModelPriceRecord, ModelPriceRecordSchema, type OverviewResponse, OverviewSchema, type PlanEntitlementInput, PlanEntitlementInputSchema, type PlanInput, PlanInputSchema, type PlanList, PlanListSchema, type PlanRecord, PlanRecordSchema, type PlanVersionParams, PlanVersionParamsSchema, PriceUnitSchema, type RefundCreditsRequest, RefundCreditsSchema, type RegisterRequest, RegisterSchema, type ReservationParams, ReservationParamsSchema, type ReservationResponse, ReservationResponseSchema, type ReserveCreditsRequest, ReserveCreditsSchema, type SubscriptionInput, SubscriptionInputSchema, type SubscriptionRecord, SubscriptionRecordSchema, type UsageEventAccepted, UsageEventAcceptedSchema, type UsageEventBatchAccepted, UsageEventBatchAcceptedSchema, type UsageEventBatchInput, UsageEventBatchInputSchema, type UsageEventCorrectionInput, UsageEventCorrectionInputSchema, type UsageEventInput, UsageEventInputSchema, type UsageEventList, UsageEventListSchema, type UsageEventParams, UsageEventParamsSchema, type UsageEventQuery, UsageEventQuerySchema, type UsageEventRecord, UsageEventRecordSchema, type WebhookDeliveryList, WebhookDeliveryListSchema, type WebhookDeliveryRecord, WebhookDeliveryRecordSchema, type WebhookEndpointInput, WebhookEndpointInputSchema, type WebhookEndpointList, WebhookEndpointListSchema, type WebhookEndpointRecord, WebhookEndpointRecordSchema, isAlertRuleList, isAlertRuleRecord, isApiError, isApiKeyCreatedResponse, isApiKeyList, isAuditLogList, isAuthSessionResponse, isCreditAccountList, isCreditBalanceResponse, isCreditLedgerList, isCustomerList, isEntitlementResponse, isEventProperties, isFeatureList, isFeatureRecord, isHealthResponse, isMeterList, isMeterQueryResponse, isModelPriceList, isModelPriceRecord, isOverviewResponse, isPlanList, isPlanRecord, isReservationResponse, isSubscriptionRecord, isUsageEventAccepted, isUsageEventBatchAccepted, isUsageEventList, isWebhookDeliveryList, isWebhookEndpointList, isWebhookEndpointRecord };
|