@remnawave/backend-contract 2.8.26 → 2.8.27
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/build/backend/commands/infra-billing/create-billing-node.command.d.ts +31 -21
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +2 -2
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +34 -14
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +22 -15
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +22 -15
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +34 -14
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +42 -18
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +22 -15
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +34 -14
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +10 -7
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.js +3 -2
- package/build/backend/models/infra-provider.schema.d.ts +26 -10
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +6 -2
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +2 -2
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/infra-billing-node.schema.js +3 -2
- package/build/frontend/models/infra-provider.schema.js +6 -2
- package/package.json +1 -1
|
@@ -5,16 +5,19 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
|
6
6
|
const RequestSchema: z.ZodObject<{
|
|
7
7
|
providerUuid: z.ZodString;
|
|
8
|
-
nodeUuid: z.ZodString
|
|
9
|
-
|
|
8
|
+
nodeUuid: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
nodeUuid: string;
|
|
12
|
+
nodeUuid: string | null;
|
|
13
|
+
name: string | null;
|
|
12
14
|
providerUuid: string;
|
|
13
|
-
nextBillingAt
|
|
15
|
+
nextBillingAt: Date;
|
|
14
16
|
}, {
|
|
15
|
-
nodeUuid: string;
|
|
17
|
+
nodeUuid: string | null;
|
|
18
|
+
name: string | null;
|
|
16
19
|
providerUuid: string;
|
|
17
|
-
nextBillingAt
|
|
20
|
+
nextBillingAt: string;
|
|
18
21
|
}>;
|
|
19
22
|
type Request = z.infer<typeof RequestSchema>;
|
|
20
23
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -22,7 +25,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
22
25
|
totalBillingNodes: z.ZodNumber;
|
|
23
26
|
billingNodes: z.ZodArray<z.ZodObject<{
|
|
24
27
|
uuid: z.ZodString;
|
|
25
|
-
nodeUuid: z.ZodString
|
|
28
|
+
nodeUuid: z.ZodNullable<z.ZodString>;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
26
30
|
providerUuid: z.ZodString;
|
|
27
31
|
provider: z.ZodObject<Pick<{
|
|
28
32
|
uuid: z.ZodString;
|
|
@@ -42,7 +46,7 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
42
46
|
faviconLink: string | null;
|
|
43
47
|
loginUrl: string | null;
|
|
44
48
|
}>;
|
|
45
|
-
node: z.ZodObject<Pick<{
|
|
49
|
+
node: z.ZodNullable<z.ZodObject<Pick<{
|
|
46
50
|
uuid: z.ZodString;
|
|
47
51
|
name: z.ZodString;
|
|
48
52
|
address: z.ZodString;
|
|
@@ -302,7 +306,7 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
302
306
|
uuid: string;
|
|
303
307
|
countryCode: string;
|
|
304
308
|
name: string;
|
|
305
|
-
}
|
|
309
|
+
}>>;
|
|
306
310
|
nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
307
311
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
308
312
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
@@ -314,14 +318,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
314
318
|
uuid: string;
|
|
315
319
|
countryCode: string;
|
|
316
320
|
name: string;
|
|
317
|
-
};
|
|
321
|
+
} | null;
|
|
318
322
|
provider: {
|
|
319
323
|
uuid: string;
|
|
320
324
|
name: string;
|
|
321
325
|
faviconLink: string | null;
|
|
322
326
|
loginUrl: string | null;
|
|
323
327
|
};
|
|
324
|
-
nodeUuid: string;
|
|
328
|
+
nodeUuid: string | null;
|
|
329
|
+
name: string | null;
|
|
325
330
|
providerUuid: string;
|
|
326
331
|
nextBillingAt: Date;
|
|
327
332
|
}, {
|
|
@@ -332,14 +337,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
332
337
|
uuid: string;
|
|
333
338
|
countryCode: string;
|
|
334
339
|
name: string;
|
|
335
|
-
};
|
|
340
|
+
} | null;
|
|
336
341
|
provider: {
|
|
337
342
|
uuid: string;
|
|
338
343
|
name: string;
|
|
339
344
|
faviconLink: string | null;
|
|
340
345
|
loginUrl: string | null;
|
|
341
346
|
};
|
|
342
|
-
nodeUuid: string;
|
|
347
|
+
nodeUuid: string | null;
|
|
348
|
+
name: string | null;
|
|
343
349
|
providerUuid: string;
|
|
344
350
|
nextBillingAt: string;
|
|
345
351
|
}>, "many">;
|
|
@@ -632,14 +638,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
632
638
|
uuid: string;
|
|
633
639
|
countryCode: string;
|
|
634
640
|
name: string;
|
|
635
|
-
};
|
|
641
|
+
} | null;
|
|
636
642
|
provider: {
|
|
637
643
|
uuid: string;
|
|
638
644
|
name: string;
|
|
639
645
|
faviconLink: string | null;
|
|
640
646
|
loginUrl: string | null;
|
|
641
647
|
};
|
|
642
|
-
nodeUuid: string;
|
|
648
|
+
nodeUuid: string | null;
|
|
649
|
+
name: string | null;
|
|
643
650
|
providerUuid: string;
|
|
644
651
|
nextBillingAt: Date;
|
|
645
652
|
}[];
|
|
@@ -664,14 +671,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
664
671
|
uuid: string;
|
|
665
672
|
countryCode: string;
|
|
666
673
|
name: string;
|
|
667
|
-
};
|
|
674
|
+
} | null;
|
|
668
675
|
provider: {
|
|
669
676
|
uuid: string;
|
|
670
677
|
name: string;
|
|
671
678
|
faviconLink: string | null;
|
|
672
679
|
loginUrl: string | null;
|
|
673
680
|
};
|
|
674
|
-
nodeUuid: string;
|
|
681
|
+
nodeUuid: string | null;
|
|
682
|
+
name: string | null;
|
|
675
683
|
providerUuid: string;
|
|
676
684
|
nextBillingAt: string;
|
|
677
685
|
}[];
|
|
@@ -698,14 +706,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
698
706
|
uuid: string;
|
|
699
707
|
countryCode: string;
|
|
700
708
|
name: string;
|
|
701
|
-
};
|
|
709
|
+
} | null;
|
|
702
710
|
provider: {
|
|
703
711
|
uuid: string;
|
|
704
712
|
name: string;
|
|
705
713
|
faviconLink: string | null;
|
|
706
714
|
loginUrl: string | null;
|
|
707
715
|
};
|
|
708
|
-
nodeUuid: string;
|
|
716
|
+
nodeUuid: string | null;
|
|
717
|
+
name: string | null;
|
|
709
718
|
providerUuid: string;
|
|
710
719
|
nextBillingAt: Date;
|
|
711
720
|
}[];
|
|
@@ -732,14 +741,15 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
732
741
|
uuid: string;
|
|
733
742
|
countryCode: string;
|
|
734
743
|
name: string;
|
|
735
|
-
};
|
|
744
|
+
} | null;
|
|
736
745
|
provider: {
|
|
737
746
|
uuid: string;
|
|
738
747
|
name: string;
|
|
739
748
|
faviconLink: string | null;
|
|
740
749
|
loginUrl: string | null;
|
|
741
750
|
};
|
|
742
|
-
nodeUuid: string;
|
|
751
|
+
nodeUuid: string | null;
|
|
752
|
+
name: string | null;
|
|
743
753
|
providerUuid: string;
|
|
744
754
|
nextBillingAt: string;
|
|
745
755
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -12,14 +12,14 @@ var CreateInfraBillingNodeCommand;
|
|
|
12
12
|
CreateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.CREATE_BILLING_NODE, 'post', 'Create infra billing node', { scope: 'create-billing-node', kind: 'write' });
|
|
13
13
|
CreateInfraBillingNodeCommand.RequestSchema = zod_1.z.object({
|
|
14
14
|
providerUuid: zod_1.z.string().uuid(),
|
|
15
|
-
nodeUuid: zod_1.z.string().uuid(),
|
|
15
|
+
nodeUuid: zod_1.z.string().uuid().nullable(),
|
|
16
|
+
name: zod_1.z.string().min(1).max(255).nullable(),
|
|
16
17
|
nextBillingAt: zod_1.z
|
|
17
18
|
.string({
|
|
18
19
|
invalid_type_error: 'Invalid date format',
|
|
19
20
|
})
|
|
20
21
|
.datetime({ message: 'Invalid date format', offset: true, local: true })
|
|
21
22
|
.transform((str) => new Date(str))
|
|
22
|
-
.optional()
|
|
23
23
|
.describe('Next billing date. Format: 2025-01-17T15:38:45.065Z'),
|
|
24
24
|
});
|
|
25
25
|
CreateInfraBillingNodeCommand.ResponseSchema = zod_1.z.object({
|
|
@@ -36,17 +36,29 @@ export declare namespace CreateInfraProviderCommand {
|
|
|
36
36
|
totalBills: number;
|
|
37
37
|
}>;
|
|
38
38
|
billingNodes: z.ZodArray<z.ZodObject<{
|
|
39
|
-
nodeUuid: z.ZodString;
|
|
40
39
|
name: z.ZodString;
|
|
41
|
-
|
|
40
|
+
details: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
nodeUuid: z.ZodString;
|
|
42
|
+
countryCode: z.ZodString;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
nodeUuid: string;
|
|
45
|
+
countryCode: string;
|
|
46
|
+
}, {
|
|
47
|
+
nodeUuid: string;
|
|
48
|
+
countryCode: string;
|
|
49
|
+
}>>;
|
|
42
50
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
nodeUuid: string;
|
|
44
|
-
countryCode: string;
|
|
45
51
|
name: string;
|
|
52
|
+
details: {
|
|
53
|
+
nodeUuid: string;
|
|
54
|
+
countryCode: string;
|
|
55
|
+
} | null;
|
|
46
56
|
}, {
|
|
47
|
-
nodeUuid: string;
|
|
48
|
-
countryCode: string;
|
|
49
57
|
name: string;
|
|
58
|
+
details: {
|
|
59
|
+
nodeUuid: string;
|
|
60
|
+
countryCode: string;
|
|
61
|
+
} | null;
|
|
50
62
|
}>, "many">;
|
|
51
63
|
}, "strip", z.ZodTypeAny, {
|
|
52
64
|
uuid: string;
|
|
@@ -60,9 +72,11 @@ export declare namespace CreateInfraProviderCommand {
|
|
|
60
72
|
totalBills: number;
|
|
61
73
|
};
|
|
62
74
|
billingNodes: {
|
|
63
|
-
nodeUuid: string;
|
|
64
|
-
countryCode: string;
|
|
65
75
|
name: string;
|
|
76
|
+
details: {
|
|
77
|
+
nodeUuid: string;
|
|
78
|
+
countryCode: string;
|
|
79
|
+
} | null;
|
|
66
80
|
}[];
|
|
67
81
|
}, {
|
|
68
82
|
uuid: string;
|
|
@@ -76,9 +90,11 @@ export declare namespace CreateInfraProviderCommand {
|
|
|
76
90
|
totalBills: number;
|
|
77
91
|
};
|
|
78
92
|
billingNodes: {
|
|
79
|
-
nodeUuid: string;
|
|
80
|
-
countryCode: string;
|
|
81
93
|
name: string;
|
|
94
|
+
details: {
|
|
95
|
+
nodeUuid: string;
|
|
96
|
+
countryCode: string;
|
|
97
|
+
} | null;
|
|
82
98
|
}[];
|
|
83
99
|
}>;
|
|
84
100
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -94,9 +110,11 @@ export declare namespace CreateInfraProviderCommand {
|
|
|
94
110
|
totalBills: number;
|
|
95
111
|
};
|
|
96
112
|
billingNodes: {
|
|
97
|
-
nodeUuid: string;
|
|
98
|
-
countryCode: string;
|
|
99
113
|
name: string;
|
|
114
|
+
details: {
|
|
115
|
+
nodeUuid: string;
|
|
116
|
+
countryCode: string;
|
|
117
|
+
} | null;
|
|
100
118
|
}[];
|
|
101
119
|
};
|
|
102
120
|
}, {
|
|
@@ -112,9 +130,11 @@ export declare namespace CreateInfraProviderCommand {
|
|
|
112
130
|
totalBills: number;
|
|
113
131
|
};
|
|
114
132
|
billingNodes: {
|
|
115
|
-
nodeUuid: string;
|
|
116
|
-
countryCode: string;
|
|
117
133
|
name: string;
|
|
134
|
+
details: {
|
|
135
|
+
nodeUuid: string;
|
|
136
|
+
countryCode: string;
|
|
137
|
+
} | null;
|
|
118
138
|
}[];
|
|
119
139
|
};
|
|
120
140
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-infra-provider.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-infra-provider.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAyC,CAAC;IACnD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAOxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"create-infra-provider.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-infra-provider.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,gCAAyC,CAAC;IACnD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAOxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,7 +16,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
16
16
|
totalBillingNodes: z.ZodNumber;
|
|
17
17
|
billingNodes: z.ZodArray<z.ZodObject<{
|
|
18
18
|
uuid: z.ZodString;
|
|
19
|
-
nodeUuid: z.ZodString
|
|
19
|
+
nodeUuid: z.ZodNullable<z.ZodString>;
|
|
20
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
21
|
providerUuid: z.ZodString;
|
|
21
22
|
provider: z.ZodObject<Pick<{
|
|
22
23
|
uuid: z.ZodString;
|
|
@@ -36,7 +37,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
36
37
|
faviconLink: string | null;
|
|
37
38
|
loginUrl: string | null;
|
|
38
39
|
}>;
|
|
39
|
-
node: z.ZodObject<Pick<{
|
|
40
|
+
node: z.ZodNullable<z.ZodObject<Pick<{
|
|
40
41
|
uuid: z.ZodString;
|
|
41
42
|
name: z.ZodString;
|
|
42
43
|
address: z.ZodString;
|
|
@@ -296,7 +297,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
296
297
|
uuid: string;
|
|
297
298
|
countryCode: string;
|
|
298
299
|
name: string;
|
|
299
|
-
}
|
|
300
|
+
}>>;
|
|
300
301
|
nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
301
302
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
302
303
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
@@ -308,14 +309,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
308
309
|
uuid: string;
|
|
309
310
|
countryCode: string;
|
|
310
311
|
name: string;
|
|
311
|
-
};
|
|
312
|
+
} | null;
|
|
312
313
|
provider: {
|
|
313
314
|
uuid: string;
|
|
314
315
|
name: string;
|
|
315
316
|
faviconLink: string | null;
|
|
316
317
|
loginUrl: string | null;
|
|
317
318
|
};
|
|
318
|
-
nodeUuid: string;
|
|
319
|
+
nodeUuid: string | null;
|
|
320
|
+
name: string | null;
|
|
319
321
|
providerUuid: string;
|
|
320
322
|
nextBillingAt: Date;
|
|
321
323
|
}, {
|
|
@@ -326,14 +328,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
326
328
|
uuid: string;
|
|
327
329
|
countryCode: string;
|
|
328
330
|
name: string;
|
|
329
|
-
};
|
|
331
|
+
} | null;
|
|
330
332
|
provider: {
|
|
331
333
|
uuid: string;
|
|
332
334
|
name: string;
|
|
333
335
|
faviconLink: string | null;
|
|
334
336
|
loginUrl: string | null;
|
|
335
337
|
};
|
|
336
|
-
nodeUuid: string;
|
|
338
|
+
nodeUuid: string | null;
|
|
339
|
+
name: string | null;
|
|
337
340
|
providerUuid: string;
|
|
338
341
|
nextBillingAt: string;
|
|
339
342
|
}>, "many">;
|
|
@@ -626,14 +629,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
626
629
|
uuid: string;
|
|
627
630
|
countryCode: string;
|
|
628
631
|
name: string;
|
|
629
|
-
};
|
|
632
|
+
} | null;
|
|
630
633
|
provider: {
|
|
631
634
|
uuid: string;
|
|
632
635
|
name: string;
|
|
633
636
|
faviconLink: string | null;
|
|
634
637
|
loginUrl: string | null;
|
|
635
638
|
};
|
|
636
|
-
nodeUuid: string;
|
|
639
|
+
nodeUuid: string | null;
|
|
640
|
+
name: string | null;
|
|
637
641
|
providerUuid: string;
|
|
638
642
|
nextBillingAt: Date;
|
|
639
643
|
}[];
|
|
@@ -658,14 +662,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
658
662
|
uuid: string;
|
|
659
663
|
countryCode: string;
|
|
660
664
|
name: string;
|
|
661
|
-
};
|
|
665
|
+
} | null;
|
|
662
666
|
provider: {
|
|
663
667
|
uuid: string;
|
|
664
668
|
name: string;
|
|
665
669
|
faviconLink: string | null;
|
|
666
670
|
loginUrl: string | null;
|
|
667
671
|
};
|
|
668
|
-
nodeUuid: string;
|
|
672
|
+
nodeUuid: string | null;
|
|
673
|
+
name: string | null;
|
|
669
674
|
providerUuid: string;
|
|
670
675
|
nextBillingAt: string;
|
|
671
676
|
}[];
|
|
@@ -692,14 +697,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
692
697
|
uuid: string;
|
|
693
698
|
countryCode: string;
|
|
694
699
|
name: string;
|
|
695
|
-
};
|
|
700
|
+
} | null;
|
|
696
701
|
provider: {
|
|
697
702
|
uuid: string;
|
|
698
703
|
name: string;
|
|
699
704
|
faviconLink: string | null;
|
|
700
705
|
loginUrl: string | null;
|
|
701
706
|
};
|
|
702
|
-
nodeUuid: string;
|
|
707
|
+
nodeUuid: string | null;
|
|
708
|
+
name: string | null;
|
|
703
709
|
providerUuid: string;
|
|
704
710
|
nextBillingAt: Date;
|
|
705
711
|
}[];
|
|
@@ -726,14 +732,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
726
732
|
uuid: string;
|
|
727
733
|
countryCode: string;
|
|
728
734
|
name: string;
|
|
729
|
-
};
|
|
735
|
+
} | null;
|
|
730
736
|
provider: {
|
|
731
737
|
uuid: string;
|
|
732
738
|
name: string;
|
|
733
739
|
faviconLink: string | null;
|
|
734
740
|
loginUrl: string | null;
|
|
735
741
|
};
|
|
736
|
-
nodeUuid: string;
|
|
742
|
+
nodeUuid: string | null;
|
|
743
|
+
name: string | null;
|
|
737
744
|
providerUuid: string;
|
|
738
745
|
nextBillingAt: string;
|
|
739
746
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -8,7 +8,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
8
8
|
totalBillingNodes: z.ZodNumber;
|
|
9
9
|
billingNodes: z.ZodArray<z.ZodObject<{
|
|
10
10
|
uuid: z.ZodString;
|
|
11
|
-
nodeUuid: z.ZodString
|
|
11
|
+
nodeUuid: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
13
|
providerUuid: z.ZodString;
|
|
13
14
|
provider: z.ZodObject<Pick<{
|
|
14
15
|
uuid: z.ZodString;
|
|
@@ -28,7 +29,7 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
28
29
|
faviconLink: string | null;
|
|
29
30
|
loginUrl: string | null;
|
|
30
31
|
}>;
|
|
31
|
-
node: z.ZodObject<Pick<{
|
|
32
|
+
node: z.ZodNullable<z.ZodObject<Pick<{
|
|
32
33
|
uuid: z.ZodString;
|
|
33
34
|
name: z.ZodString;
|
|
34
35
|
address: z.ZodString;
|
|
@@ -288,7 +289,7 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
288
289
|
uuid: string;
|
|
289
290
|
countryCode: string;
|
|
290
291
|
name: string;
|
|
291
|
-
}
|
|
292
|
+
}>>;
|
|
292
293
|
nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
293
294
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
294
295
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
@@ -300,14 +301,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
300
301
|
uuid: string;
|
|
301
302
|
countryCode: string;
|
|
302
303
|
name: string;
|
|
303
|
-
};
|
|
304
|
+
} | null;
|
|
304
305
|
provider: {
|
|
305
306
|
uuid: string;
|
|
306
307
|
name: string;
|
|
307
308
|
faviconLink: string | null;
|
|
308
309
|
loginUrl: string | null;
|
|
309
310
|
};
|
|
310
|
-
nodeUuid: string;
|
|
311
|
+
nodeUuid: string | null;
|
|
312
|
+
name: string | null;
|
|
311
313
|
providerUuid: string;
|
|
312
314
|
nextBillingAt: Date;
|
|
313
315
|
}, {
|
|
@@ -318,14 +320,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
318
320
|
uuid: string;
|
|
319
321
|
countryCode: string;
|
|
320
322
|
name: string;
|
|
321
|
-
};
|
|
323
|
+
} | null;
|
|
322
324
|
provider: {
|
|
323
325
|
uuid: string;
|
|
324
326
|
name: string;
|
|
325
327
|
faviconLink: string | null;
|
|
326
328
|
loginUrl: string | null;
|
|
327
329
|
};
|
|
328
|
-
nodeUuid: string;
|
|
330
|
+
nodeUuid: string | null;
|
|
331
|
+
name: string | null;
|
|
329
332
|
providerUuid: string;
|
|
330
333
|
nextBillingAt: string;
|
|
331
334
|
}>, "many">;
|
|
@@ -618,14 +621,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
618
621
|
uuid: string;
|
|
619
622
|
countryCode: string;
|
|
620
623
|
name: string;
|
|
621
|
-
};
|
|
624
|
+
} | null;
|
|
622
625
|
provider: {
|
|
623
626
|
uuid: string;
|
|
624
627
|
name: string;
|
|
625
628
|
faviconLink: string | null;
|
|
626
629
|
loginUrl: string | null;
|
|
627
630
|
};
|
|
628
|
-
nodeUuid: string;
|
|
631
|
+
nodeUuid: string | null;
|
|
632
|
+
name: string | null;
|
|
629
633
|
providerUuid: string;
|
|
630
634
|
nextBillingAt: Date;
|
|
631
635
|
}[];
|
|
@@ -650,14 +654,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
650
654
|
uuid: string;
|
|
651
655
|
countryCode: string;
|
|
652
656
|
name: string;
|
|
653
|
-
};
|
|
657
|
+
} | null;
|
|
654
658
|
provider: {
|
|
655
659
|
uuid: string;
|
|
656
660
|
name: string;
|
|
657
661
|
faviconLink: string | null;
|
|
658
662
|
loginUrl: string | null;
|
|
659
663
|
};
|
|
660
|
-
nodeUuid: string;
|
|
664
|
+
nodeUuid: string | null;
|
|
665
|
+
name: string | null;
|
|
661
666
|
providerUuid: string;
|
|
662
667
|
nextBillingAt: string;
|
|
663
668
|
}[];
|
|
@@ -684,14 +689,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
684
689
|
uuid: string;
|
|
685
690
|
countryCode: string;
|
|
686
691
|
name: string;
|
|
687
|
-
};
|
|
692
|
+
} | null;
|
|
688
693
|
provider: {
|
|
689
694
|
uuid: string;
|
|
690
695
|
name: string;
|
|
691
696
|
faviconLink: string | null;
|
|
692
697
|
loginUrl: string | null;
|
|
693
698
|
};
|
|
694
|
-
nodeUuid: string;
|
|
699
|
+
nodeUuid: string | null;
|
|
700
|
+
name: string | null;
|
|
695
701
|
providerUuid: string;
|
|
696
702
|
nextBillingAt: Date;
|
|
697
703
|
}[];
|
|
@@ -718,14 +724,15 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
718
724
|
uuid: string;
|
|
719
725
|
countryCode: string;
|
|
720
726
|
name: string;
|
|
721
|
-
};
|
|
727
|
+
} | null;
|
|
722
728
|
provider: {
|
|
723
729
|
uuid: string;
|
|
724
730
|
name: string;
|
|
725
731
|
faviconLink: string | null;
|
|
726
732
|
loginUrl: string | null;
|
|
727
733
|
};
|
|
728
|
-
nodeUuid: string;
|
|
734
|
+
nodeUuid: string | null;
|
|
735
|
+
name: string | null;
|
|
729
736
|
providerUuid: string;
|
|
730
737
|
nextBillingAt: string;
|
|
731
738
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-billing-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-billing-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -30,17 +30,29 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
|
30
30
|
totalBills: number;
|
|
31
31
|
}>;
|
|
32
32
|
billingNodes: z.ZodArray<z.ZodObject<{
|
|
33
|
-
nodeUuid: z.ZodString;
|
|
34
33
|
name: z.ZodString;
|
|
35
|
-
|
|
34
|
+
details: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
nodeUuid: z.ZodString;
|
|
36
|
+
countryCode: z.ZodString;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
nodeUuid: string;
|
|
39
|
+
countryCode: string;
|
|
40
|
+
}, {
|
|
41
|
+
nodeUuid: string;
|
|
42
|
+
countryCode: string;
|
|
43
|
+
}>>;
|
|
36
44
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
nodeUuid: string;
|
|
38
|
-
countryCode: string;
|
|
39
45
|
name: string;
|
|
46
|
+
details: {
|
|
47
|
+
nodeUuid: string;
|
|
48
|
+
countryCode: string;
|
|
49
|
+
} | null;
|
|
40
50
|
}, {
|
|
41
|
-
nodeUuid: string;
|
|
42
|
-
countryCode: string;
|
|
43
51
|
name: string;
|
|
52
|
+
details: {
|
|
53
|
+
nodeUuid: string;
|
|
54
|
+
countryCode: string;
|
|
55
|
+
} | null;
|
|
44
56
|
}>, "many">;
|
|
45
57
|
}, "strip", z.ZodTypeAny, {
|
|
46
58
|
uuid: string;
|
|
@@ -54,9 +66,11 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
|
54
66
|
totalBills: number;
|
|
55
67
|
};
|
|
56
68
|
billingNodes: {
|
|
57
|
-
nodeUuid: string;
|
|
58
|
-
countryCode: string;
|
|
59
69
|
name: string;
|
|
70
|
+
details: {
|
|
71
|
+
nodeUuid: string;
|
|
72
|
+
countryCode: string;
|
|
73
|
+
} | null;
|
|
60
74
|
}[];
|
|
61
75
|
}, {
|
|
62
76
|
uuid: string;
|
|
@@ -70,9 +84,11 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
|
70
84
|
totalBills: number;
|
|
71
85
|
};
|
|
72
86
|
billingNodes: {
|
|
73
|
-
nodeUuid: string;
|
|
74
|
-
countryCode: string;
|
|
75
87
|
name: string;
|
|
88
|
+
details: {
|
|
89
|
+
nodeUuid: string;
|
|
90
|
+
countryCode: string;
|
|
91
|
+
} | null;
|
|
76
92
|
}[];
|
|
77
93
|
}>;
|
|
78
94
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -88,9 +104,11 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
|
88
104
|
totalBills: number;
|
|
89
105
|
};
|
|
90
106
|
billingNodes: {
|
|
91
|
-
nodeUuid: string;
|
|
92
|
-
countryCode: string;
|
|
93
107
|
name: string;
|
|
108
|
+
details: {
|
|
109
|
+
nodeUuid: string;
|
|
110
|
+
countryCode: string;
|
|
111
|
+
} | null;
|
|
94
112
|
}[];
|
|
95
113
|
};
|
|
96
114
|
}, {
|
|
@@ -106,9 +124,11 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
|
106
124
|
totalBills: number;
|
|
107
125
|
};
|
|
108
126
|
billingNodes: {
|
|
109
|
-
nodeUuid: string;
|
|
110
|
-
countryCode: string;
|
|
111
127
|
name: string;
|
|
128
|
+
details: {
|
|
129
|
+
nodeUuid: string;
|
|
130
|
+
countryCode: string;
|
|
131
|
+
} | null;
|
|
112
132
|
}[];
|
|
113
133
|
};
|
|
114
134
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA8C,CAAC;IACxD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-infra-provider-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-provider-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA8C,CAAC;IACxD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|