@blimu/backend 0.6.3 → 1.1.0
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 +129 -134
- package/dist/client.d.mts +24 -0
- package/dist/client.d.ts +15 -57
- package/dist/client.js +67 -157
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +48 -0
- package/dist/client.mjs.map +1 -0
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +25 -26
- package/dist/index.js +1037 -83
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1005 -0
- package/dist/index.mjs.map +1 -0
- package/dist/main.d.mts +19 -0
- package/dist/main.d.ts +19 -0
- package/dist/main.js +1273 -0
- package/dist/main.js.map +1 -0
- package/dist/main.mjs +1264 -0
- package/dist/main.mjs.map +1 -0
- package/dist/schema-B1usIXCr.d.mts +424 -0
- package/dist/schema-B1usIXCr.d.ts +424 -0
- package/dist/schema.d.mts +2 -0
- package/dist/schema.d.ts +2 -381
- package/dist/schema.js +17 -2
- package/dist/schema.js.map +1 -1
- package/dist/schema.mjs +1 -0
- package/dist/schema.mjs.map +1 -0
- package/dist/schema.zod-CRNAHxbc.d.mts +444 -0
- package/dist/schema.zod-CRNAHxbc.d.ts +444 -0
- package/dist/schema.zod.d.mts +2 -0
- package/dist/schema.zod.d.ts +2 -0
- package/dist/schema.zod.js +562 -0
- package/dist/schema.zod.js.map +1 -0
- package/dist/schema.zod.mjs +496 -0
- package/dist/schema.zod.mjs.map +1 -0
- package/dist/services/bulk_resources.d.mts +12 -0
- package/dist/services/bulk_resources.d.ts +9 -4
- package/dist/services/bulk_resources.js +45 -18
- package/dist/services/bulk_resources.js.map +1 -1
- package/dist/services/bulk_resources.mjs +22 -0
- package/dist/services/bulk_resources.mjs.map +1 -0
- package/dist/services/bulk_roles.d.mts +12 -0
- package/dist/services/bulk_roles.d.ts +9 -4
- package/dist/services/bulk_roles.js +45 -18
- package/dist/services/bulk_roles.js.map +1 -1
- package/dist/services/bulk_roles.mjs +22 -0
- package/dist/services/bulk_roles.mjs.map +1 -0
- package/dist/services/entitlements.d.mts +14 -0
- package/dist/services/entitlements.d.ts +11 -6
- package/dist/services/entitlements.js +69 -34
- package/dist/services/entitlements.js.map +1 -1
- package/dist/services/entitlements.mjs +46 -0
- package/dist/services/entitlements.mjs.map +1 -0
- package/dist/services/plans.d.mts +14 -0
- package/dist/services/plans.d.ts +11 -6
- package/dist/services/plans.js +67 -32
- package/dist/services/plans.js.map +1 -1
- package/dist/services/plans.mjs +44 -0
- package/dist/services/plans.mjs.map +1 -0
- package/dist/services/resource_members.d.mts +12 -0
- package/dist/services/resource_members.d.ts +9 -4
- package/dist/services/resource_members.js +45 -17
- package/dist/services/resource_members.js.map +1 -1
- package/dist/services/resource_members.mjs +22 -0
- package/dist/services/resource_members.mjs.map +1 -0
- package/dist/services/resources.d.mts +16 -0
- package/dist/services/resources.d.ts +13 -8
- package/dist/services/resources.js +91 -49
- package/dist/services/resources.js.map +1 -1
- package/dist/services/resources.mjs +68 -0
- package/dist/services/resources.mjs.map +1 -0
- package/dist/services/roles.d.mts +14 -0
- package/dist/services/roles.d.ts +11 -6
- package/dist/services/roles.js +68 -33
- package/dist/services/roles.js.map +1 -1
- package/dist/services/roles.mjs +45 -0
- package/dist/services/roles.mjs.map +1 -0
- package/dist/services/usage.d.mts +16 -0
- package/dist/services/usage.d.ts +13 -8
- package/dist/services/usage.js +93 -52
- package/dist/services/usage.js.map +1 -1
- package/dist/services/usage.mjs +70 -0
- package/dist/services/usage.mjs.map +1 -0
- package/dist/services/users.d.mts +17 -0
- package/dist/services/users.d.ts +13 -8
- package/dist/services/users.js +102 -56
- package/dist/services/users.js.map +1 -1
- package/dist/services/users.mjs +79 -0
- package/dist/services/users.mjs.map +1 -0
- package/dist/token-verifier.d.mts +35 -0
- package/dist/token-verifier.d.ts +8 -6
- package/dist/token-verifier.js +225 -172
- package/dist/token-verifier.js.map +1 -1
- package/dist/token-verifier.mjs +201 -0
- package/dist/token-verifier.mjs.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils.d.mts +20 -0
- package/dist/utils.d.ts +7 -3
- package/dist/utils.js +50 -20
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +29 -0
- package/dist/utils.mjs.map +1 -0
- package/package.json +37 -62
- package/src/client.ts +74 -0
- package/src/index.ts +55 -0
- package/src/main.ts +3 -0
- package/src/schema.ts +430 -0
- package/src/schema.zod.ts +558 -0
- package/src/services/bulk_resources.ts +24 -0
- package/src/services/bulk_roles.ts +22 -0
- package/src/services/entitlements.ts +58 -0
- package/src/services/plans.ts +57 -0
- package/src/services/resource_members.ts +25 -0
- package/src/services/resources.ts +91 -0
- package/src/services/roles.ts +58 -0
- package/src/services/usage.ts +93 -0
- package/src/services/users.ts +100 -0
- package/src/token-verifier.ts +280 -0
- package/src/utils.ts +56 -0
- package/bin/blimu +0 -0
- package/scripts/download-binary.js +0 -243
- package/scripts/postinstall.js +0 -24
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import { ResourceType, EntitlementType, PlanType, UsageLimitType, LimitType } from '@blimu/types';
|
|
2
|
+
|
|
3
|
+
type Enum<T> = T[keyof T];
|
|
4
|
+
interface BalanceResponse {
|
|
5
|
+
balance: number;
|
|
6
|
+
}
|
|
7
|
+
interface CheckLimitResponse {
|
|
8
|
+
allowed: boolean;
|
|
9
|
+
current: number;
|
|
10
|
+
remaining?: number;
|
|
11
|
+
requested: number;
|
|
12
|
+
}
|
|
13
|
+
interface EntitlementCheckBody {
|
|
14
|
+
amount?: number;
|
|
15
|
+
entitlement: EntitlementType;
|
|
16
|
+
resourceId: string;
|
|
17
|
+
userId: string;
|
|
18
|
+
}
|
|
19
|
+
interface EntitlementCheckResult {
|
|
20
|
+
allowed: boolean;
|
|
21
|
+
limit?: {
|
|
22
|
+
allowed: boolean;
|
|
23
|
+
current?: number;
|
|
24
|
+
limit?: number;
|
|
25
|
+
plan?: string | null;
|
|
26
|
+
reason?: string;
|
|
27
|
+
remaining?: number;
|
|
28
|
+
scope?: string;
|
|
29
|
+
} | null;
|
|
30
|
+
plans?: {
|
|
31
|
+
allowed: boolean;
|
|
32
|
+
allowedPlans?: Array<string>;
|
|
33
|
+
plan?: string | null;
|
|
34
|
+
reason?: string;
|
|
35
|
+
} | null;
|
|
36
|
+
roles?: {
|
|
37
|
+
allowed: boolean;
|
|
38
|
+
allowedRoles?: Array<string>;
|
|
39
|
+
reason?: string;
|
|
40
|
+
userRoles?: Array<string>;
|
|
41
|
+
} | null;
|
|
42
|
+
}
|
|
43
|
+
interface EntitlementsListResult {
|
|
44
|
+
results: Array<{
|
|
45
|
+
entitlements: Array<{
|
|
46
|
+
allowed: boolean;
|
|
47
|
+
allowedByPlan: boolean;
|
|
48
|
+
allowedByRole: boolean;
|
|
49
|
+
allowedPlans?: Array<string>;
|
|
50
|
+
allowedRoles: Array<string>;
|
|
51
|
+
currentPlan?: string;
|
|
52
|
+
currentRole?: string;
|
|
53
|
+
entitlement: EntitlementType;
|
|
54
|
+
}>;
|
|
55
|
+
resourceId: string;
|
|
56
|
+
resourceType: ResourceType;
|
|
57
|
+
}>;
|
|
58
|
+
}
|
|
59
|
+
interface PlanAssignBody {
|
|
60
|
+
planKey: PlanType;
|
|
61
|
+
}
|
|
62
|
+
interface PlanDeleteResponse {
|
|
63
|
+
success: boolean;
|
|
64
|
+
}
|
|
65
|
+
interface PlanResponse {
|
|
66
|
+
createdAt: string;
|
|
67
|
+
environmentId: string;
|
|
68
|
+
planKey: PlanType;
|
|
69
|
+
resourceId: string;
|
|
70
|
+
resourceType: ResourceType;
|
|
71
|
+
updatedAt: string;
|
|
72
|
+
}
|
|
73
|
+
interface Resource {
|
|
74
|
+
createdAt: string;
|
|
75
|
+
id: string;
|
|
76
|
+
name: string | null;
|
|
77
|
+
parents?: Array<{
|
|
78
|
+
id: string;
|
|
79
|
+
type: ResourceType;
|
|
80
|
+
}>;
|
|
81
|
+
type: ResourceType;
|
|
82
|
+
}
|
|
83
|
+
interface ResourceBulkCreateBody {
|
|
84
|
+
resources: Array<{
|
|
85
|
+
id?: string;
|
|
86
|
+
name?: string;
|
|
87
|
+
parents?: Array<{
|
|
88
|
+
id: string;
|
|
89
|
+
type: ResourceType;
|
|
90
|
+
}>;
|
|
91
|
+
roles?: Array<{
|
|
92
|
+
role: string;
|
|
93
|
+
userId: string;
|
|
94
|
+
}>;
|
|
95
|
+
}>;
|
|
96
|
+
}
|
|
97
|
+
interface ResourceBulkResult {
|
|
98
|
+
created: Array<{
|
|
99
|
+
environmentId: string;
|
|
100
|
+
id: string;
|
|
101
|
+
type: ResourceType;
|
|
102
|
+
}>;
|
|
103
|
+
errors: Array<{
|
|
104
|
+
error: string;
|
|
105
|
+
index: number;
|
|
106
|
+
resource: {
|
|
107
|
+
id?: string;
|
|
108
|
+
name?: string;
|
|
109
|
+
parents?: Array<{
|
|
110
|
+
id: string;
|
|
111
|
+
type: ResourceType;
|
|
112
|
+
}>;
|
|
113
|
+
roles?: Array<{
|
|
114
|
+
role: string;
|
|
115
|
+
userId: string;
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
}>;
|
|
119
|
+
success: boolean;
|
|
120
|
+
summary: {
|
|
121
|
+
failed: number;
|
|
122
|
+
successful: number;
|
|
123
|
+
total: number;
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
interface ResourceCreateBody {
|
|
127
|
+
id?: string;
|
|
128
|
+
name?: string;
|
|
129
|
+
parents?: Array<{
|
|
130
|
+
id: string;
|
|
131
|
+
type: ResourceType;
|
|
132
|
+
}>;
|
|
133
|
+
roles?: Array<{
|
|
134
|
+
role: string;
|
|
135
|
+
userId: string;
|
|
136
|
+
}>;
|
|
137
|
+
}
|
|
138
|
+
interface ResourceList {
|
|
139
|
+
items: Array<{
|
|
140
|
+
createdAt: string;
|
|
141
|
+
id: string;
|
|
142
|
+
name: string | null;
|
|
143
|
+
parents?: Array<{
|
|
144
|
+
id: string;
|
|
145
|
+
type: ResourceType;
|
|
146
|
+
}>;
|
|
147
|
+
type: ResourceType;
|
|
148
|
+
}>;
|
|
149
|
+
limit: number;
|
|
150
|
+
page: number;
|
|
151
|
+
total: number;
|
|
152
|
+
}
|
|
153
|
+
interface ResourceMemberList {
|
|
154
|
+
items: Array<{
|
|
155
|
+
inherited: boolean;
|
|
156
|
+
role: string;
|
|
157
|
+
user: {
|
|
158
|
+
avatarUrl: string | null;
|
|
159
|
+
createdAt: string;
|
|
160
|
+
email: string;
|
|
161
|
+
emailVerified: boolean;
|
|
162
|
+
firstName: string | null;
|
|
163
|
+
id: string;
|
|
164
|
+
lastLoginAt: string | null;
|
|
165
|
+
lastName: string | null;
|
|
166
|
+
lookupKey: string | null;
|
|
167
|
+
updatedAt: string;
|
|
168
|
+
};
|
|
169
|
+
userId: string;
|
|
170
|
+
}>;
|
|
171
|
+
limit: number;
|
|
172
|
+
page: number;
|
|
173
|
+
total: number;
|
|
174
|
+
}
|
|
175
|
+
interface ResourceUpdateBody {
|
|
176
|
+
name?: string;
|
|
177
|
+
parents?: Array<{
|
|
178
|
+
id: string;
|
|
179
|
+
type: ResourceType;
|
|
180
|
+
}>;
|
|
181
|
+
}
|
|
182
|
+
interface Role {
|
|
183
|
+
createdAt: string;
|
|
184
|
+
environmentId: string;
|
|
185
|
+
resourceId: string;
|
|
186
|
+
resourceType: ResourceType;
|
|
187
|
+
role: string;
|
|
188
|
+
userId: string;
|
|
189
|
+
}
|
|
190
|
+
interface RoleBulkCreateBody {
|
|
191
|
+
roles: Array<{
|
|
192
|
+
resourceId: string;
|
|
193
|
+
resourceType: ResourceType;
|
|
194
|
+
role: string;
|
|
195
|
+
userId: string;
|
|
196
|
+
}>;
|
|
197
|
+
}
|
|
198
|
+
interface RoleBulkResult {
|
|
199
|
+
created: Array<{
|
|
200
|
+
createdAt: string;
|
|
201
|
+
environmentId: string;
|
|
202
|
+
resourceId: string;
|
|
203
|
+
resourceType: ResourceType;
|
|
204
|
+
role: string;
|
|
205
|
+
userId: string;
|
|
206
|
+
}>;
|
|
207
|
+
errors: Array<{
|
|
208
|
+
error: string;
|
|
209
|
+
index: number;
|
|
210
|
+
role: {
|
|
211
|
+
resourceId: string;
|
|
212
|
+
resourceType: ResourceType;
|
|
213
|
+
role: string;
|
|
214
|
+
userId: string;
|
|
215
|
+
};
|
|
216
|
+
}>;
|
|
217
|
+
success: boolean;
|
|
218
|
+
summary: {
|
|
219
|
+
failed: number;
|
|
220
|
+
successful: number;
|
|
221
|
+
total: number;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
interface RoleCreateBody {
|
|
225
|
+
resourceId: string;
|
|
226
|
+
resourceType: ResourceType;
|
|
227
|
+
role: string;
|
|
228
|
+
}
|
|
229
|
+
interface RoleList {
|
|
230
|
+
limit: number;
|
|
231
|
+
page: number;
|
|
232
|
+
roles: Array<{
|
|
233
|
+
createdAt: string;
|
|
234
|
+
environmentId: string;
|
|
235
|
+
resourceId: string;
|
|
236
|
+
resourceType: ResourceType;
|
|
237
|
+
role: string;
|
|
238
|
+
userId: string;
|
|
239
|
+
}>;
|
|
240
|
+
total: number;
|
|
241
|
+
}
|
|
242
|
+
interface TransactionHistoryResponse {
|
|
243
|
+
items: Array<{
|
|
244
|
+
amount: number;
|
|
245
|
+
createdAt: string;
|
|
246
|
+
environmentId: string;
|
|
247
|
+
id: string;
|
|
248
|
+
limitType: LimitType;
|
|
249
|
+
resourceId: string;
|
|
250
|
+
resourceType: ResourceType;
|
|
251
|
+
tags: Record<string, unknown> | null;
|
|
252
|
+
}>;
|
|
253
|
+
}
|
|
254
|
+
interface UsageCheckBody {
|
|
255
|
+
amount: number;
|
|
256
|
+
limitType: UsageLimitType;
|
|
257
|
+
period: 'monthly' | 'yearly' | 'lifetime';
|
|
258
|
+
resourceId: string;
|
|
259
|
+
resourceType: ResourceType;
|
|
260
|
+
}
|
|
261
|
+
interface UsageConsumeBody {
|
|
262
|
+
amount: number;
|
|
263
|
+
limitType: UsageLimitType;
|
|
264
|
+
resourceId: string;
|
|
265
|
+
resourceType: ResourceType;
|
|
266
|
+
tags?: Record<string, unknown>;
|
|
267
|
+
}
|
|
268
|
+
interface UsageCreditBody {
|
|
269
|
+
amount: number;
|
|
270
|
+
limitType: UsageLimitType;
|
|
271
|
+
resourceId: string;
|
|
272
|
+
resourceType: ResourceType;
|
|
273
|
+
tags?: Record<string, unknown>;
|
|
274
|
+
}
|
|
275
|
+
interface UsageWalletResponse {
|
|
276
|
+
amount: number;
|
|
277
|
+
createdAt: string;
|
|
278
|
+
environmentId: string;
|
|
279
|
+
id: string;
|
|
280
|
+
limitType: UsageLimitType;
|
|
281
|
+
resourceId: string;
|
|
282
|
+
resourceType: ResourceType;
|
|
283
|
+
tags: Record<string, unknown> | null;
|
|
284
|
+
}
|
|
285
|
+
interface User {
|
|
286
|
+
avatarUrl: string | null;
|
|
287
|
+
createdAt: string;
|
|
288
|
+
email: string;
|
|
289
|
+
emailVerified: boolean;
|
|
290
|
+
firstName: string | null;
|
|
291
|
+
id: string;
|
|
292
|
+
lastLoginAt: string | null;
|
|
293
|
+
lastName: string | null;
|
|
294
|
+
lookupKey: string | null;
|
|
295
|
+
updatedAt: string;
|
|
296
|
+
}
|
|
297
|
+
interface UserCreateBody {
|
|
298
|
+
avatarUrl?: string;
|
|
299
|
+
email: string;
|
|
300
|
+
firstName?: string | null;
|
|
301
|
+
lastName?: string | null;
|
|
302
|
+
lookupKey: string;
|
|
303
|
+
newUser?: boolean | null;
|
|
304
|
+
password?: string | null;
|
|
305
|
+
}
|
|
306
|
+
interface UserList {
|
|
307
|
+
items: Array<{
|
|
308
|
+
avatarUrl: string | null;
|
|
309
|
+
createdAt: string;
|
|
310
|
+
email: string;
|
|
311
|
+
emailVerified: boolean;
|
|
312
|
+
firstName: string | null;
|
|
313
|
+
id: string;
|
|
314
|
+
lastLoginAt: string | null;
|
|
315
|
+
lastName: string | null;
|
|
316
|
+
lookupKey: string | null;
|
|
317
|
+
updatedAt: string;
|
|
318
|
+
}>;
|
|
319
|
+
limit: number;
|
|
320
|
+
page: number;
|
|
321
|
+
total: number;
|
|
322
|
+
}
|
|
323
|
+
type UserResourceList = Array<{
|
|
324
|
+
inherited: boolean;
|
|
325
|
+
resource: {
|
|
326
|
+
id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
parents: Array<{
|
|
329
|
+
id: string;
|
|
330
|
+
type: ResourceType;
|
|
331
|
+
}>;
|
|
332
|
+
type: ResourceType;
|
|
333
|
+
};
|
|
334
|
+
role: string;
|
|
335
|
+
}>;
|
|
336
|
+
interface UserUpdateBody {
|
|
337
|
+
avatarUrl?: string | null;
|
|
338
|
+
email?: string;
|
|
339
|
+
firstName?: string | null;
|
|
340
|
+
lastName?: string | null;
|
|
341
|
+
lookupKey?: string;
|
|
342
|
+
password?: string;
|
|
343
|
+
}
|
|
344
|
+
interface EntitlementsListForResourceQuery {
|
|
345
|
+
userId: string;
|
|
346
|
+
}
|
|
347
|
+
interface EntitlementsListForTenantQuery {
|
|
348
|
+
userId: string;
|
|
349
|
+
}
|
|
350
|
+
interface ResourceMembersListQuery {
|
|
351
|
+
limit?: number;
|
|
352
|
+
page?: number;
|
|
353
|
+
search?: string;
|
|
354
|
+
}
|
|
355
|
+
interface ResourcesListQuery {
|
|
356
|
+
limit?: number;
|
|
357
|
+
page?: number;
|
|
358
|
+
search?: string;
|
|
359
|
+
}
|
|
360
|
+
interface RolesListQuery {
|
|
361
|
+
limit?: number;
|
|
362
|
+
page?: number;
|
|
363
|
+
resourceId?: string;
|
|
364
|
+
resourceType?: ResourceType;
|
|
365
|
+
role?: string;
|
|
366
|
+
}
|
|
367
|
+
interface UsageGetBalanceQuery {
|
|
368
|
+
period: 'monthly' | 'yearly' | 'lifetime';
|
|
369
|
+
}
|
|
370
|
+
interface UsageGetTransactionHistoryQuery {
|
|
371
|
+
endDate?: string;
|
|
372
|
+
period?: 'monthly' | 'yearly' | 'lifetime';
|
|
373
|
+
startDate?: string;
|
|
374
|
+
}
|
|
375
|
+
interface UsersListQuery {
|
|
376
|
+
limit?: number;
|
|
377
|
+
page?: number;
|
|
378
|
+
search?: string;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
type schema_BalanceResponse = BalanceResponse;
|
|
382
|
+
type schema_CheckLimitResponse = CheckLimitResponse;
|
|
383
|
+
type schema_EntitlementCheckBody = EntitlementCheckBody;
|
|
384
|
+
type schema_EntitlementCheckResult = EntitlementCheckResult;
|
|
385
|
+
type schema_EntitlementsListForResourceQuery = EntitlementsListForResourceQuery;
|
|
386
|
+
type schema_EntitlementsListForTenantQuery = EntitlementsListForTenantQuery;
|
|
387
|
+
type schema_EntitlementsListResult = EntitlementsListResult;
|
|
388
|
+
type schema_Enum<T> = Enum<T>;
|
|
389
|
+
type schema_PlanAssignBody = PlanAssignBody;
|
|
390
|
+
type schema_PlanDeleteResponse = PlanDeleteResponse;
|
|
391
|
+
type schema_PlanResponse = PlanResponse;
|
|
392
|
+
type schema_Resource = Resource;
|
|
393
|
+
type schema_ResourceBulkCreateBody = ResourceBulkCreateBody;
|
|
394
|
+
type schema_ResourceBulkResult = ResourceBulkResult;
|
|
395
|
+
type schema_ResourceCreateBody = ResourceCreateBody;
|
|
396
|
+
type schema_ResourceList = ResourceList;
|
|
397
|
+
type schema_ResourceMemberList = ResourceMemberList;
|
|
398
|
+
type schema_ResourceMembersListQuery = ResourceMembersListQuery;
|
|
399
|
+
type schema_ResourceUpdateBody = ResourceUpdateBody;
|
|
400
|
+
type schema_ResourcesListQuery = ResourcesListQuery;
|
|
401
|
+
type schema_Role = Role;
|
|
402
|
+
type schema_RoleBulkCreateBody = RoleBulkCreateBody;
|
|
403
|
+
type schema_RoleBulkResult = RoleBulkResult;
|
|
404
|
+
type schema_RoleCreateBody = RoleCreateBody;
|
|
405
|
+
type schema_RoleList = RoleList;
|
|
406
|
+
type schema_RolesListQuery = RolesListQuery;
|
|
407
|
+
type schema_TransactionHistoryResponse = TransactionHistoryResponse;
|
|
408
|
+
type schema_UsageCheckBody = UsageCheckBody;
|
|
409
|
+
type schema_UsageConsumeBody = UsageConsumeBody;
|
|
410
|
+
type schema_UsageCreditBody = UsageCreditBody;
|
|
411
|
+
type schema_UsageGetBalanceQuery = UsageGetBalanceQuery;
|
|
412
|
+
type schema_UsageGetTransactionHistoryQuery = UsageGetTransactionHistoryQuery;
|
|
413
|
+
type schema_UsageWalletResponse = UsageWalletResponse;
|
|
414
|
+
type schema_User = User;
|
|
415
|
+
type schema_UserCreateBody = UserCreateBody;
|
|
416
|
+
type schema_UserList = UserList;
|
|
417
|
+
type schema_UserResourceList = UserResourceList;
|
|
418
|
+
type schema_UserUpdateBody = UserUpdateBody;
|
|
419
|
+
type schema_UsersListQuery = UsersListQuery;
|
|
420
|
+
declare namespace schema {
|
|
421
|
+
export type { schema_BalanceResponse as BalanceResponse, schema_CheckLimitResponse as CheckLimitResponse, schema_EntitlementCheckBody as EntitlementCheckBody, schema_EntitlementCheckResult as EntitlementCheckResult, schema_EntitlementsListForResourceQuery as EntitlementsListForResourceQuery, schema_EntitlementsListForTenantQuery as EntitlementsListForTenantQuery, schema_EntitlementsListResult as EntitlementsListResult, schema_Enum as Enum, schema_PlanAssignBody as PlanAssignBody, schema_PlanDeleteResponse as PlanDeleteResponse, schema_PlanResponse as PlanResponse, schema_Resource as Resource, schema_ResourceBulkCreateBody as ResourceBulkCreateBody, schema_ResourceBulkResult as ResourceBulkResult, schema_ResourceCreateBody as ResourceCreateBody, schema_ResourceList as ResourceList, schema_ResourceMemberList as ResourceMemberList, schema_ResourceMembersListQuery as ResourceMembersListQuery, schema_ResourceUpdateBody as ResourceUpdateBody, schema_ResourcesListQuery as ResourcesListQuery, schema_Role as Role, schema_RoleBulkCreateBody as RoleBulkCreateBody, schema_RoleBulkResult as RoleBulkResult, schema_RoleCreateBody as RoleCreateBody, schema_RoleList as RoleList, schema_RolesListQuery as RolesListQuery, schema_TransactionHistoryResponse as TransactionHistoryResponse, schema_UsageCheckBody as UsageCheckBody, schema_UsageConsumeBody as UsageConsumeBody, schema_UsageCreditBody as UsageCreditBody, schema_UsageGetBalanceQuery as UsageGetBalanceQuery, schema_UsageGetTransactionHistoryQuery as UsageGetTransactionHistoryQuery, schema_UsageWalletResponse as UsageWalletResponse, schema_User as User, schema_UserCreateBody as UserCreateBody, schema_UserList as UserList, schema_UserResourceList as UserResourceList, schema_UserUpdateBody as UserUpdateBody, schema_UsersListQuery as UsersListQuery };
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export { type UsersListQuery as A, type BalanceResponse as B, type CheckLimitResponse as C, type UserList as D, type EntitlementCheckBody as E, type UserCreateBody as F, type User as G, type UserUpdateBody as H, type UserResourceList as I, type Enum as J, type PlanDeleteResponse as P, type ResourceBulkCreateBody as R, type TransactionHistoryResponse as T, type UsageGetBalanceQuery as U, type ResourceBulkResult as a, type RoleBulkCreateBody as b, type RoleBulkResult as c, type EntitlementCheckResult as d, type EntitlementsListForResourceQuery as e, type EntitlementsListResult as f, type EntitlementsListForTenantQuery as g, type PlanResponse as h, type PlanAssignBody as i, type ResourceMembersListQuery as j, type ResourceMemberList as k, type ResourcesListQuery as l, type ResourceList as m, type ResourceCreateBody as n, type Resource as o, type ResourceUpdateBody as p, type RolesListQuery as q, type RoleList as r, schema as s, type RoleCreateBody as t, type Role as u, type UsageCheckBody as v, type UsageConsumeBody as w, type UsageWalletResponse as x, type UsageCreditBody as y, type UsageGetTransactionHistoryQuery as z };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import '@blimu/types';
|
|
2
|
+
export { B as BalanceResponse, C as CheckLimitResponse, E as EntitlementCheckBody, d as EntitlementCheckResult, e as EntitlementsListForResourceQuery, g as EntitlementsListForTenantQuery, f as EntitlementsListResult, J as Enum, i as PlanAssignBody, P as PlanDeleteResponse, h as PlanResponse, o as Resource, R as ResourceBulkCreateBody, a as ResourceBulkResult, n as ResourceCreateBody, m as ResourceList, k as ResourceMemberList, j as ResourceMembersListQuery, p as ResourceUpdateBody, l as ResourcesListQuery, u as Role, b as RoleBulkCreateBody, c as RoleBulkResult, t as RoleCreateBody, r as RoleList, q as RolesListQuery, T as TransactionHistoryResponse, v as UsageCheckBody, w as UsageConsumeBody, y as UsageCreditBody, U as UsageGetBalanceQuery, z as UsageGetTransactionHistoryQuery, x as UsageWalletResponse, G as User, F as UserCreateBody, D as UserList, I as UserResourceList, H as UserUpdateBody, A as UsersListQuery } from './schema-B1usIXCr.mjs';
|