@planecloud/validation 1.0.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.
@@ -0,0 +1,696 @@
1
+ import { z } from "zod";
2
+ export declare const BillingPlanSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodEnum<["USAGE_BASED", "TIERED", "FIXED"]>;
7
+ pricing: z.ZodObject<{
8
+ currency: z.ZodString;
9
+ rates: z.ZodArray<z.ZodObject<{
10
+ metric: z.ZodString;
11
+ unit: z.ZodString;
12
+ price: z.ZodNumber;
13
+ }, "strip", z.ZodTypeAny, {
14
+ metric: string;
15
+ unit: string;
16
+ price: number;
17
+ }, {
18
+ metric: string;
19
+ unit: string;
20
+ price: number;
21
+ }>, "many">;
22
+ tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ from: z.ZodNumber;
24
+ to: z.ZodOptional<z.ZodNumber>;
25
+ price: z.ZodNumber;
26
+ }, "strip", z.ZodTypeAny, {
27
+ price: number;
28
+ from: number;
29
+ to?: number | undefined;
30
+ }, {
31
+ price: number;
32
+ from: number;
33
+ to?: number | undefined;
34
+ }>, "many">>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ currency: string;
37
+ rates: {
38
+ metric: string;
39
+ unit: string;
40
+ price: number;
41
+ }[];
42
+ tiers?: {
43
+ price: number;
44
+ from: number;
45
+ to?: number | undefined;
46
+ }[] | undefined;
47
+ }, {
48
+ currency: string;
49
+ rates: {
50
+ metric: string;
51
+ unit: string;
52
+ price: number;
53
+ }[];
54
+ tiers?: {
55
+ price: number;
56
+ from: number;
57
+ to?: number | undefined;
58
+ }[] | undefined;
59
+ }>;
60
+ features: z.ZodArray<z.ZodString, "many">;
61
+ isActive: z.ZodBoolean;
62
+ createdAt: z.ZodDate;
63
+ updatedAt: z.ZodDate;
64
+ }, "strip", z.ZodTypeAny, {
65
+ id: string;
66
+ createdAt: Date;
67
+ updatedAt: Date;
68
+ type: "USAGE_BASED" | "TIERED" | "FIXED";
69
+ name: string;
70
+ isActive: boolean;
71
+ pricing: {
72
+ currency: string;
73
+ rates: {
74
+ metric: string;
75
+ unit: string;
76
+ price: number;
77
+ }[];
78
+ tiers?: {
79
+ price: number;
80
+ from: number;
81
+ to?: number | undefined;
82
+ }[] | undefined;
83
+ };
84
+ features: string[];
85
+ description?: string | undefined;
86
+ }, {
87
+ id: string;
88
+ createdAt: Date;
89
+ updatedAt: Date;
90
+ type: "USAGE_BASED" | "TIERED" | "FIXED";
91
+ name: string;
92
+ isActive: boolean;
93
+ pricing: {
94
+ currency: string;
95
+ rates: {
96
+ metric: string;
97
+ unit: string;
98
+ price: number;
99
+ }[];
100
+ tiers?: {
101
+ price: number;
102
+ from: number;
103
+ to?: number | undefined;
104
+ }[] | undefined;
105
+ };
106
+ features: string[];
107
+ description?: string | undefined;
108
+ }>;
109
+ export declare const WalletSchema: z.ZodObject<{
110
+ id: z.ZodString;
111
+ organizationId: z.ZodString;
112
+ balance: z.ZodObject<{
113
+ amount: z.ZodNumber;
114
+ currency: z.ZodString;
115
+ }, "strip", z.ZodTypeAny, {
116
+ amount: number;
117
+ currency: string;
118
+ }, {
119
+ amount: number;
120
+ currency: string;
121
+ }>;
122
+ currency: z.ZodString;
123
+ autoTopUpEnabled: z.ZodBoolean;
124
+ autoTopUpThreshold: z.ZodObject<{
125
+ amount: z.ZodNumber;
126
+ currency: z.ZodString;
127
+ }, "strip", z.ZodTypeAny, {
128
+ amount: number;
129
+ currency: string;
130
+ }, {
131
+ amount: number;
132
+ currency: string;
133
+ }>;
134
+ autoTopUpAmount: z.ZodObject<{
135
+ amount: z.ZodNumber;
136
+ currency: z.ZodString;
137
+ }, "strip", z.ZodTypeAny, {
138
+ amount: number;
139
+ currency: string;
140
+ }, {
141
+ amount: number;
142
+ currency: string;
143
+ }>;
144
+ lastTopUpAt: z.ZodOptional<z.ZodDate>;
145
+ createdAt: z.ZodDate;
146
+ updatedAt: z.ZodDate;
147
+ }, "strip", z.ZodTypeAny, {
148
+ id: string;
149
+ createdAt: Date;
150
+ updatedAt: Date;
151
+ currency: string;
152
+ organizationId: string;
153
+ balance: {
154
+ amount: number;
155
+ currency: string;
156
+ };
157
+ autoTopUpEnabled: boolean;
158
+ autoTopUpThreshold: {
159
+ amount: number;
160
+ currency: string;
161
+ };
162
+ autoTopUpAmount: {
163
+ amount: number;
164
+ currency: string;
165
+ };
166
+ lastTopUpAt?: Date | undefined;
167
+ }, {
168
+ id: string;
169
+ createdAt: Date;
170
+ updatedAt: Date;
171
+ currency: string;
172
+ organizationId: string;
173
+ balance: {
174
+ amount: number;
175
+ currency: string;
176
+ };
177
+ autoTopUpEnabled: boolean;
178
+ autoTopUpThreshold: {
179
+ amount: number;
180
+ currency: string;
181
+ };
182
+ autoTopUpAmount: {
183
+ amount: number;
184
+ currency: string;
185
+ };
186
+ lastTopUpAt?: Date | undefined;
187
+ }>;
188
+ export declare const LedgerSchema: z.ZodObject<{
189
+ id: z.ZodString;
190
+ organizationId: z.ZodString;
191
+ walletId: z.ZodString;
192
+ type: z.ZodEnum<["CHARGE", "PAYMENT", "REFUND", "ADJUSTMENT"]>;
193
+ amount: z.ZodObject<{
194
+ amount: z.ZodNumber;
195
+ currency: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ amount: number;
198
+ currency: string;
199
+ }, {
200
+ amount: number;
201
+ currency: string;
202
+ }>;
203
+ description: z.ZodString;
204
+ referenceId: z.ZodOptional<z.ZodString>;
205
+ referenceType: z.ZodOptional<z.ZodEnum<["INSTANCE", "BACKUP", "SUBSCRIPTION", "PAYMENT"]>>;
206
+ metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
207
+ processedAt: z.ZodDate;
208
+ createdAt: z.ZodDate;
209
+ updatedAt: z.ZodDate;
210
+ }, "strip", z.ZodTypeAny, {
211
+ id: string;
212
+ createdAt: Date;
213
+ updatedAt: Date;
214
+ type: "CHARGE" | "PAYMENT" | "REFUND" | "ADJUSTMENT";
215
+ amount: {
216
+ amount: number;
217
+ currency: string;
218
+ };
219
+ description: string;
220
+ organizationId: string;
221
+ metadata: Record<string, any>;
222
+ walletId: string;
223
+ processedAt: Date;
224
+ referenceId?: string | undefined;
225
+ referenceType?: "BACKUP" | "PAYMENT" | "INSTANCE" | "SUBSCRIPTION" | undefined;
226
+ }, {
227
+ id: string;
228
+ createdAt: Date;
229
+ updatedAt: Date;
230
+ type: "CHARGE" | "PAYMENT" | "REFUND" | "ADJUSTMENT";
231
+ amount: {
232
+ amount: number;
233
+ currency: string;
234
+ };
235
+ description: string;
236
+ organizationId: string;
237
+ metadata: Record<string, any>;
238
+ walletId: string;
239
+ processedAt: Date;
240
+ referenceId?: string | undefined;
241
+ referenceType?: "BACKUP" | "PAYMENT" | "INSTANCE" | "SUBSCRIPTION" | undefined;
242
+ }>;
243
+ export declare const SubscriptionSchema: z.ZodObject<{
244
+ id: z.ZodString;
245
+ organizationId: z.ZodString;
246
+ instanceId: z.ZodString;
247
+ planId: z.ZodString;
248
+ status: z.ZodEnum<["ACTIVE", "CANCELLED", "PAST_DUE", "UNPAID"]>;
249
+ currentPeriodStart: z.ZodDate;
250
+ currentPeriodEnd: z.ZodDate;
251
+ billingCycle: z.ZodEnum<["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]>;
252
+ unitPrice: z.ZodObject<{
253
+ amount: z.ZodNumber;
254
+ currency: z.ZodString;
255
+ }, "strip", z.ZodTypeAny, {
256
+ amount: number;
257
+ currency: string;
258
+ }, {
259
+ amount: number;
260
+ currency: string;
261
+ }>;
262
+ usage: z.ZodArray<z.ZodObject<{
263
+ name: z.ZodString;
264
+ value: z.ZodNumber;
265
+ unit: z.ZodString;
266
+ recordedAt: z.ZodDate;
267
+ }, "strip", z.ZodTypeAny, {
268
+ value: number;
269
+ name: string;
270
+ unit: string;
271
+ recordedAt: Date;
272
+ }, {
273
+ value: number;
274
+ name: string;
275
+ unit: string;
276
+ recordedAt: Date;
277
+ }>, "many">;
278
+ isActive: z.ZodBoolean;
279
+ createdAt: z.ZodDate;
280
+ updatedAt: z.ZodDate;
281
+ }, "strip", z.ZodTypeAny, {
282
+ id: string;
283
+ createdAt: Date;
284
+ updatedAt: Date;
285
+ status: "ACTIVE" | "CANCELLED" | "PAST_DUE" | "UNPAID";
286
+ organizationId: string;
287
+ isActive: boolean;
288
+ instanceId: string;
289
+ planId: string;
290
+ currentPeriodStart: Date;
291
+ currentPeriodEnd: Date;
292
+ billingCycle: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY";
293
+ unitPrice: {
294
+ amount: number;
295
+ currency: string;
296
+ };
297
+ usage: {
298
+ value: number;
299
+ name: string;
300
+ unit: string;
301
+ recordedAt: Date;
302
+ }[];
303
+ }, {
304
+ id: string;
305
+ createdAt: Date;
306
+ updatedAt: Date;
307
+ status: "ACTIVE" | "CANCELLED" | "PAST_DUE" | "UNPAID";
308
+ organizationId: string;
309
+ isActive: boolean;
310
+ instanceId: string;
311
+ planId: string;
312
+ currentPeriodStart: Date;
313
+ currentPeriodEnd: Date;
314
+ billingCycle: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY";
315
+ unitPrice: {
316
+ amount: number;
317
+ currency: string;
318
+ };
319
+ usage: {
320
+ value: number;
321
+ name: string;
322
+ unit: string;
323
+ recordedAt: Date;
324
+ }[];
325
+ }>;
326
+ export declare const PaymentMethodSchema: z.ZodObject<{
327
+ id: z.ZodString;
328
+ organizationId: z.ZodString;
329
+ type: z.ZodEnum<["CREDIT_CARD", "BANK_ACCOUNT", "CRYPTO"]>;
330
+ provider: z.ZodEnum<["STRIPE", "YOOKASSA", "CLOUDPAYMENTS"]>;
331
+ providerId: z.ZodString;
332
+ last4: z.ZodOptional<z.ZodString>;
333
+ expiryMonth: z.ZodOptional<z.ZodNumber>;
334
+ expiryYear: z.ZodOptional<z.ZodNumber>;
335
+ isDefault: z.ZodBoolean;
336
+ metadata: z.ZodRecord<z.ZodString, z.ZodAny>;
337
+ createdAt: z.ZodDate;
338
+ updatedAt: z.ZodDate;
339
+ }, "strip", z.ZodTypeAny, {
340
+ id: string;
341
+ createdAt: Date;
342
+ updatedAt: Date;
343
+ type: "CREDIT_CARD" | "BANK_ACCOUNT" | "CRYPTO";
344
+ provider: "STRIPE" | "YOOKASSA" | "CLOUDPAYMENTS";
345
+ organizationId: string;
346
+ metadata: Record<string, any>;
347
+ providerId: string;
348
+ isDefault: boolean;
349
+ last4?: string | undefined;
350
+ expiryMonth?: number | undefined;
351
+ expiryYear?: number | undefined;
352
+ }, {
353
+ id: string;
354
+ createdAt: Date;
355
+ updatedAt: Date;
356
+ type: "CREDIT_CARD" | "BANK_ACCOUNT" | "CRYPTO";
357
+ provider: "STRIPE" | "YOOKASSA" | "CLOUDPAYMENTS";
358
+ organizationId: string;
359
+ metadata: Record<string, any>;
360
+ providerId: string;
361
+ isDefault: boolean;
362
+ last4?: string | undefined;
363
+ expiryMonth?: number | undefined;
364
+ expiryYear?: number | undefined;
365
+ }>;
366
+ export declare const InvoiceSchema: z.ZodObject<{
367
+ id: z.ZodString;
368
+ organizationId: z.ZodString;
369
+ number: z.ZodString;
370
+ status: z.ZodEnum<["DRAFT", "PENDING", "PAID", "OVERDUE", "CANCELLED"]>;
371
+ amount: z.ZodObject<{
372
+ amount: z.ZodNumber;
373
+ currency: z.ZodString;
374
+ }, "strip", z.ZodTypeAny, {
375
+ amount: number;
376
+ currency: string;
377
+ }, {
378
+ amount: number;
379
+ currency: string;
380
+ }>;
381
+ taxAmount: z.ZodObject<{
382
+ amount: z.ZodNumber;
383
+ currency: z.ZodString;
384
+ }, "strip", z.ZodTypeAny, {
385
+ amount: number;
386
+ currency: string;
387
+ }, {
388
+ amount: number;
389
+ currency: string;
390
+ }>;
391
+ totalAmount: z.ZodObject<{
392
+ amount: z.ZodNumber;
393
+ currency: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ amount: number;
396
+ currency: string;
397
+ }, {
398
+ amount: number;
399
+ currency: string;
400
+ }>;
401
+ dueDate: z.ZodDate;
402
+ paidAt: z.ZodOptional<z.ZodDate>;
403
+ lineItems: z.ZodArray<z.ZodObject<{
404
+ description: z.ZodString;
405
+ quantity: z.ZodNumber;
406
+ unitPrice: z.ZodObject<{
407
+ amount: z.ZodNumber;
408
+ currency: z.ZodString;
409
+ }, "strip", z.ZodTypeAny, {
410
+ amount: number;
411
+ currency: string;
412
+ }, {
413
+ amount: number;
414
+ currency: string;
415
+ }>;
416
+ amount: z.ZodObject<{
417
+ amount: z.ZodNumber;
418
+ currency: z.ZodString;
419
+ }, "strip", z.ZodTypeAny, {
420
+ amount: number;
421
+ currency: string;
422
+ }, {
423
+ amount: number;
424
+ currency: string;
425
+ }>;
426
+ period: z.ZodObject<{
427
+ start: z.ZodDate;
428
+ end: z.ZodDate;
429
+ }, "strip", z.ZodTypeAny, {
430
+ start: Date;
431
+ end: Date;
432
+ }, {
433
+ start: Date;
434
+ end: Date;
435
+ }>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ amount: {
438
+ amount: number;
439
+ currency: string;
440
+ };
441
+ description: string;
442
+ unitPrice: {
443
+ amount: number;
444
+ currency: string;
445
+ };
446
+ quantity: number;
447
+ period: {
448
+ start: Date;
449
+ end: Date;
450
+ };
451
+ }, {
452
+ amount: {
453
+ amount: number;
454
+ currency: string;
455
+ };
456
+ description: string;
457
+ unitPrice: {
458
+ amount: number;
459
+ currency: string;
460
+ };
461
+ quantity: number;
462
+ period: {
463
+ start: Date;
464
+ end: Date;
465
+ };
466
+ }>, "many">;
467
+ createdAt: z.ZodDate;
468
+ updatedAt: z.ZodDate;
469
+ }, "strip", z.ZodTypeAny, {
470
+ number: string;
471
+ id: string;
472
+ createdAt: Date;
473
+ updatedAt: Date;
474
+ status: "PENDING" | "CANCELLED" | "DRAFT" | "PAID" | "OVERDUE";
475
+ amount: {
476
+ amount: number;
477
+ currency: string;
478
+ };
479
+ organizationId: string;
480
+ taxAmount: {
481
+ amount: number;
482
+ currency: string;
483
+ };
484
+ totalAmount: {
485
+ amount: number;
486
+ currency: string;
487
+ };
488
+ dueDate: Date;
489
+ lineItems: {
490
+ amount: {
491
+ amount: number;
492
+ currency: string;
493
+ };
494
+ description: string;
495
+ unitPrice: {
496
+ amount: number;
497
+ currency: string;
498
+ };
499
+ quantity: number;
500
+ period: {
501
+ start: Date;
502
+ end: Date;
503
+ };
504
+ }[];
505
+ paidAt?: Date | undefined;
506
+ }, {
507
+ number: string;
508
+ id: string;
509
+ createdAt: Date;
510
+ updatedAt: Date;
511
+ status: "PENDING" | "CANCELLED" | "DRAFT" | "PAID" | "OVERDUE";
512
+ amount: {
513
+ amount: number;
514
+ currency: string;
515
+ };
516
+ organizationId: string;
517
+ taxAmount: {
518
+ amount: number;
519
+ currency: string;
520
+ };
521
+ totalAmount: {
522
+ amount: number;
523
+ currency: string;
524
+ };
525
+ dueDate: Date;
526
+ lineItems: {
527
+ amount: {
528
+ amount: number;
529
+ currency: string;
530
+ };
531
+ description: string;
532
+ unitPrice: {
533
+ amount: number;
534
+ currency: string;
535
+ };
536
+ quantity: number;
537
+ period: {
538
+ start: Date;
539
+ end: Date;
540
+ };
541
+ }[];
542
+ paidAt?: Date | undefined;
543
+ }>;
544
+ export declare const CreateWalletSchema: z.ZodObject<{
545
+ organizationId: z.ZodString;
546
+ currency: z.ZodDefault<z.ZodString>;
547
+ autoTopUpEnabled: z.ZodDefault<z.ZodBoolean>;
548
+ autoTopUpThreshold: z.ZodOptional<z.ZodObject<{
549
+ amount: z.ZodNumber;
550
+ currency: z.ZodString;
551
+ }, "strip", z.ZodTypeAny, {
552
+ amount: number;
553
+ currency: string;
554
+ }, {
555
+ amount: number;
556
+ currency: string;
557
+ }>>;
558
+ autoTopUpAmount: z.ZodOptional<z.ZodObject<{
559
+ amount: z.ZodNumber;
560
+ currency: z.ZodString;
561
+ }, "strip", z.ZodTypeAny, {
562
+ amount: number;
563
+ currency: string;
564
+ }, {
565
+ amount: number;
566
+ currency: string;
567
+ }>>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ currency: string;
570
+ organizationId: string;
571
+ autoTopUpEnabled: boolean;
572
+ autoTopUpThreshold?: {
573
+ amount: number;
574
+ currency: string;
575
+ } | undefined;
576
+ autoTopUpAmount?: {
577
+ amount: number;
578
+ currency: string;
579
+ } | undefined;
580
+ }, {
581
+ organizationId: string;
582
+ currency?: string | undefined;
583
+ autoTopUpEnabled?: boolean | undefined;
584
+ autoTopUpThreshold?: {
585
+ amount: number;
586
+ currency: string;
587
+ } | undefined;
588
+ autoTopUpAmount?: {
589
+ amount: number;
590
+ currency: string;
591
+ } | undefined;
592
+ }>;
593
+ export declare const AddFundsSchema: z.ZodObject<{
594
+ walletId: z.ZodString;
595
+ amount: z.ZodObject<{
596
+ amount: z.ZodNumber;
597
+ currency: z.ZodString;
598
+ }, "strip", z.ZodTypeAny, {
599
+ amount: number;
600
+ currency: string;
601
+ }, {
602
+ amount: number;
603
+ currency: string;
604
+ }>;
605
+ paymentMethodId: z.ZodString;
606
+ }, "strip", z.ZodTypeAny, {
607
+ amount: {
608
+ amount: number;
609
+ currency: string;
610
+ };
611
+ walletId: string;
612
+ paymentMethodId: string;
613
+ }, {
614
+ amount: {
615
+ amount: number;
616
+ currency: string;
617
+ };
618
+ walletId: string;
619
+ paymentMethodId: string;
620
+ }>;
621
+ export declare const CreateSubscriptionSchema: z.ZodObject<{
622
+ organizationId: z.ZodString;
623
+ instanceId: z.ZodString;
624
+ planId: z.ZodString;
625
+ billingCycle: z.ZodEnum<["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ organizationId: string;
628
+ instanceId: string;
629
+ planId: string;
630
+ billingCycle: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY";
631
+ }, {
632
+ organizationId: string;
633
+ instanceId: string;
634
+ planId: string;
635
+ billingCycle: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY";
636
+ }>;
637
+ export declare const UpdateSubscriptionSchema: z.ZodObject<{
638
+ planId: z.ZodOptional<z.ZodString>;
639
+ billingCycle: z.ZodOptional<z.ZodEnum<["DAILY", "WEEKLY", "MONTHLY", "YEARLY"]>>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ planId?: string | undefined;
642
+ billingCycle?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
643
+ }, {
644
+ planId?: string | undefined;
645
+ billingCycle?: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY" | undefined;
646
+ }>;
647
+ export declare const CreatePaymentMethodSchema: z.ZodObject<{
648
+ organizationId: z.ZodString;
649
+ type: z.ZodEnum<["CREDIT_CARD", "BANK_ACCOUNT", "CRYPTO"]>;
650
+ provider: z.ZodEnum<["STRIPE", "YOOKASSA", "CLOUDPAYMENTS"]>;
651
+ token: z.ZodString;
652
+ isDefault: z.ZodDefault<z.ZodBoolean>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ type: "CREDIT_CARD" | "BANK_ACCOUNT" | "CRYPTO";
655
+ provider: "STRIPE" | "YOOKASSA" | "CLOUDPAYMENTS";
656
+ organizationId: string;
657
+ token: string;
658
+ isDefault: boolean;
659
+ }, {
660
+ type: "CREDIT_CARD" | "BANK_ACCOUNT" | "CRYPTO";
661
+ provider: "STRIPE" | "YOOKASSA" | "CLOUDPAYMENTS";
662
+ organizationId: string;
663
+ token: string;
664
+ isDefault?: boolean | undefined;
665
+ }>;
666
+ export declare const RecordUsageSchema: z.ZodObject<{
667
+ subscriptionId: z.ZodString;
668
+ usage: z.ZodArray<z.ZodObject<{
669
+ name: z.ZodString;
670
+ value: z.ZodNumber;
671
+ unit: z.ZodString;
672
+ }, "strip", z.ZodTypeAny, {
673
+ value: number;
674
+ name: string;
675
+ unit: string;
676
+ }, {
677
+ value: number;
678
+ name: string;
679
+ unit: string;
680
+ }>, "many">;
681
+ }, "strip", z.ZodTypeAny, {
682
+ usage: {
683
+ value: number;
684
+ name: string;
685
+ unit: string;
686
+ }[];
687
+ subscriptionId: string;
688
+ }, {
689
+ usage: {
690
+ value: number;
691
+ name: string;
692
+ unit: string;
693
+ }[];
694
+ subscriptionId: string;
695
+ }>;
696
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/billing/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4B5B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBvB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBvB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa9B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCxB,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB7B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS5B,CAAC"}