@remnawave/backend-contract 2.0.0-alpha.9 → 2.0.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/build/backend/api/controllers/auth.d.ts +2 -0
- package/build/backend/api/controllers/auth.d.ts.map +1 -1
- package/build/backend/api/controllers/auth.js +2 -0
- package/build/backend/api/controllers/infra-billing.d.ts +1 -1
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -1
- package/build/backend/api/controllers/infra-billing.js +1 -5
- package/build/backend/api/controllers/internal-squads.d.ts +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +5 -0
- package/build/backend/api/controllers/subscription.d.ts +1 -0
- package/build/backend/api/controllers/subscription.d.ts.map +1 -1
- package/build/backend/api/controllers/subscription.js +1 -0
- package/build/backend/api/controllers/system.d.ts +1 -0
- package/build/backend/api/controllers/system.d.ts.map +1 -1
- package/build/backend/api/controllers/system.js +1 -0
- package/build/backend/api/routes.d.ts +9 -1
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +9 -1
- package/build/backend/commands/api-tokens/create.command.d.ts +0 -3
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +0 -1
- package/build/backend/commands/api-tokens/find.command.d.ts +0 -7
- package/build/backend/commands/api-tokens/find.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.d.ts +23 -0
- package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.js +3 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts +36 -0
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts +43 -0
- package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -0
- package/build/backend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/backend/commands/auth/oauth2/index.d.ts +2 -0
- package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/index.js +2 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +36 -10
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +60 -19
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +14 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +36 -10
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +36 -10
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +12 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +72 -21
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +11 -11
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +59 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +59 -0
- 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 +77 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.d.ts +7 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +7 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +59 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/index.d.ts +2 -1
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +2 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +140 -101
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +140 -101
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +194 -128
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +158 -107
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +6 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +140 -101
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +140 -101
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +212 -134
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +8 -4
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts +361 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/subscription/index.d.ts +1 -0
- package/build/backend/commands/subscription/index.d.ts.map +1 -1
- package/build/backend/commands/subscription/index.js +1 -0
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +6 -6
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +4 -4
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +153 -0
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -0
- package/build/backend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/backend/commands/system/index.d.ts +1 -0
- package/build/backend/commands/system/index.d.ts.map +1 -1
- package/build/backend/commands/system/index.js +1 -0
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +2 -4
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/constants/errors/errors.d.ts +85 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +85 -0
- package/build/backend/constants/events/events.d.ts +11 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +10 -0
- package/build/backend/constants/headers/headers.constants.d.ts +3 -0
- package/build/backend/constants/headers/headers.constants.d.ts.map +1 -0
- package/build/backend/constants/headers/headers.constants.js +5 -0
- package/build/backend/constants/headers/index.d.ts +2 -0
- package/build/backend/constants/headers/index.d.ts.map +1 -0
- package/build/backend/constants/headers/index.js +17 -0
- package/build/backend/constants/index.d.ts +3 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +3 -0
- package/build/backend/constants/messaging/index.d.ts +2 -0
- package/build/backend/constants/messaging/index.d.ts.map +1 -0
- package/build/backend/constants/messaging/index.js +17 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts +13 -0
- package/build/backend/constants/messaging/messaging.constants.d.ts.map +1 -0
- package/build/backend/constants/messaging/messaging.constants.js +19 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts +17 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
- package/build/backend/constants/metrics/metric-names.constant.js +17 -0
- package/build/backend/constants/oauth2/index.d.ts +2 -0
- package/build/backend/constants/oauth2/index.d.ts.map +1 -0
- package/build/backend/constants/oauth2/index.js +17 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts +9 -0
- package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -0
- package/build/backend/constants/oauth2/providers.contants.js +9 -0
- package/build/backend/constants/templates/template-keys.d.ts +1 -1
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
- package/build/backend/constants/templates/template-keys.js +1 -0
- package/build/backend/models/api-tokens.schema.d.ts +0 -3
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +0 -1
- package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
- package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +24 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +6 -2
- package/build/backend/models/index.d.ts +4 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +4 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-available-node.schema.js +9 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-history-record.schema.js +19 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-node.schema.js +34 -0
- package/build/backend/models/infra-provider.schema.d.ts +63 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +24 -1
- package/build/backend/models/nodes.schema.d.ts +96 -63
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +6 -3
- package/build/frontend/api/controllers/auth.js +2 -0
- package/build/frontend/api/controllers/infra-billing.js +1 -5
- package/build/frontend/api/controllers/internal-squads.js +5 -0
- package/build/frontend/api/controllers/subscription.js +1 -0
- package/build/frontend/api/controllers/system.js +1 -0
- package/build/frontend/api/routes.js +9 -1
- package/build/frontend/commands/api-tokens/create.command.js +0 -1
- package/build/frontend/commands/auth/get-status.command.js +3 -0
- package/build/frontend/commands/auth/oauth2/authorize.command.js +20 -0
- package/build/frontend/commands/auth/oauth2/callback.command.js +22 -0
- package/build/frontend/commands/auth/oauth2/index.js +2 -0
- package/build/frontend/commands/hosts/create.command.js +14 -13
- package/build/frontend/commands/hosts/update.command.js +11 -11
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -0
- package/build/frontend/commands/infra-billing/index.js +7 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +1 -1
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/frontend/commands/internal-squads/index.js +2 -1
- package/build/frontend/commands/nodes/create.command.js +6 -4
- package/build/frontend/commands/nodes/update.command.js +8 -4
- package/build/frontend/commands/subscription/get-raw-subscription-by-short-uuid.command.js +68 -0
- package/build/frontend/commands/subscription/index.js +1 -0
- package/build/frontend/commands/system/get-nodes-metrics.command.js +33 -0
- package/build/frontend/commands/system/index.js +1 -0
- package/build/frontend/commands/users/create-user.command.js +2 -4
- package/build/frontend/constants/errors/errors.js +85 -0
- package/build/frontend/constants/events/events.js +10 -0
- package/build/frontend/constants/headers/headers.constants.js +5 -0
- package/build/frontend/constants/headers/index.js +17 -0
- package/build/frontend/constants/index.js +3 -0
- package/build/frontend/constants/messaging/index.js +17 -0
- package/build/frontend/constants/messaging/messaging.constants.js +19 -0
- package/build/frontend/constants/metrics/metric-names.constant.js +17 -0
- package/build/frontend/constants/oauth2/index.js +17 -0
- package/build/frontend/constants/oauth2/providers.contants.js +9 -0
- package/build/frontend/constants/templates/template-keys.js +1 -0
- package/build/frontend/models/api-tokens.schema.js +0 -1
- package/build/frontend/models/hosts.schema.js +6 -2
- package/build/frontend/models/index.js +4 -1
- package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
- package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
- package/build/frontend/models/infra-billing-node.schema.js +34 -0
- package/build/frontend/models/infra-provider.schema.js +24 -1
- package/build/frontend/models/nodes.schema.js +6 -3
- package/package.json +2 -2
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
- /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -19,6 +19,29 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
19
19
|
loginUrl: z.ZodNullable<z.ZodString>;
|
20
20
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
21
21
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
22
|
+
billingHistory: z.ZodObject<{
|
23
|
+
totalAmount: z.ZodNumber;
|
24
|
+
totalBills: z.ZodNumber;
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
26
|
+
totalAmount: number;
|
27
|
+
totalBills: number;
|
28
|
+
}, {
|
29
|
+
totalAmount: number;
|
30
|
+
totalBills: number;
|
31
|
+
}>;
|
32
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
33
|
+
nodeUuid: z.ZodString;
|
34
|
+
name: z.ZodString;
|
35
|
+
countryCode: z.ZodString;
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
37
|
+
name: string;
|
38
|
+
countryCode: string;
|
39
|
+
nodeUuid: string;
|
40
|
+
}, {
|
41
|
+
name: string;
|
42
|
+
countryCode: string;
|
43
|
+
nodeUuid: string;
|
44
|
+
}>, "many">;
|
22
45
|
}, "strip", z.ZodTypeAny, {
|
23
46
|
uuid: string;
|
24
47
|
createdAt: Date;
|
@@ -26,6 +49,15 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
26
49
|
name: string;
|
27
50
|
faviconLink: string | null;
|
28
51
|
loginUrl: string | null;
|
52
|
+
billingHistory: {
|
53
|
+
totalAmount: number;
|
54
|
+
totalBills: number;
|
55
|
+
};
|
56
|
+
billingNodes: {
|
57
|
+
name: string;
|
58
|
+
countryCode: string;
|
59
|
+
nodeUuid: string;
|
60
|
+
}[];
|
29
61
|
}, {
|
30
62
|
uuid: string;
|
31
63
|
createdAt: string;
|
@@ -33,6 +65,15 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
33
65
|
name: string;
|
34
66
|
faviconLink: string | null;
|
35
67
|
loginUrl: string | null;
|
68
|
+
billingHistory: {
|
69
|
+
totalAmount: number;
|
70
|
+
totalBills: number;
|
71
|
+
};
|
72
|
+
billingNodes: {
|
73
|
+
name: string;
|
74
|
+
countryCode: string;
|
75
|
+
nodeUuid: string;
|
76
|
+
}[];
|
36
77
|
}>;
|
37
78
|
}, "strip", z.ZodTypeAny, {
|
38
79
|
response: {
|
@@ -42,6 +83,15 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
42
83
|
name: string;
|
43
84
|
faviconLink: string | null;
|
44
85
|
loginUrl: string | null;
|
86
|
+
billingHistory: {
|
87
|
+
totalAmount: number;
|
88
|
+
totalBills: number;
|
89
|
+
};
|
90
|
+
billingNodes: {
|
91
|
+
name: string;
|
92
|
+
countryCode: string;
|
93
|
+
nodeUuid: string;
|
94
|
+
}[];
|
45
95
|
};
|
46
96
|
}, {
|
47
97
|
response: {
|
@@ -51,6 +101,15 @@ export declare namespace GetInfraProviderByUuidCommand {
|
|
51
101
|
name: string;
|
52
102
|
faviconLink: string | null;
|
53
103
|
loginUrl: string | null;
|
104
|
+
billingHistory: {
|
105
|
+
totalAmount: number;
|
106
|
+
totalBills: number;
|
107
|
+
};
|
108
|
+
billingNodes: {
|
109
|
+
name: string;
|
110
|
+
countryCode: string;
|
111
|
+
nodeUuid: string;
|
112
|
+
}[];
|
54
113
|
};
|
55
114
|
}>;
|
56
115
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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,QAAuD,CAAC;IACjE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,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,QAAuD,CAAC;IACjE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,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"}
|
@@ -13,6 +13,29 @@ export declare namespace GetInfraProvidersCommand {
|
|
13
13
|
loginUrl: z.ZodNullable<z.ZodString>;
|
14
14
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
15
15
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
16
|
+
billingHistory: z.ZodObject<{
|
17
|
+
totalAmount: z.ZodNumber;
|
18
|
+
totalBills: z.ZodNumber;
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
20
|
+
totalAmount: number;
|
21
|
+
totalBills: number;
|
22
|
+
}, {
|
23
|
+
totalAmount: number;
|
24
|
+
totalBills: number;
|
25
|
+
}>;
|
26
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
27
|
+
nodeUuid: z.ZodString;
|
28
|
+
name: z.ZodString;
|
29
|
+
countryCode: z.ZodString;
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
31
|
+
name: string;
|
32
|
+
countryCode: string;
|
33
|
+
nodeUuid: string;
|
34
|
+
}, {
|
35
|
+
name: string;
|
36
|
+
countryCode: string;
|
37
|
+
nodeUuid: string;
|
38
|
+
}>, "many">;
|
16
39
|
}, "strip", z.ZodTypeAny, {
|
17
40
|
uuid: string;
|
18
41
|
createdAt: Date;
|
@@ -20,6 +43,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
20
43
|
name: string;
|
21
44
|
faviconLink: string | null;
|
22
45
|
loginUrl: string | null;
|
46
|
+
billingHistory: {
|
47
|
+
totalAmount: number;
|
48
|
+
totalBills: number;
|
49
|
+
};
|
50
|
+
billingNodes: {
|
51
|
+
name: string;
|
52
|
+
countryCode: string;
|
53
|
+
nodeUuid: string;
|
54
|
+
}[];
|
23
55
|
}, {
|
24
56
|
uuid: string;
|
25
57
|
createdAt: string;
|
@@ -27,6 +59,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
27
59
|
name: string;
|
28
60
|
faviconLink: string | null;
|
29
61
|
loginUrl: string | null;
|
62
|
+
billingHistory: {
|
63
|
+
totalAmount: number;
|
64
|
+
totalBills: number;
|
65
|
+
};
|
66
|
+
billingNodes: {
|
67
|
+
name: string;
|
68
|
+
countryCode: string;
|
69
|
+
nodeUuid: string;
|
70
|
+
}[];
|
30
71
|
}>, "many">;
|
31
72
|
}, "strip", z.ZodTypeAny, {
|
32
73
|
providers: {
|
@@ -36,6 +77,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
36
77
|
name: string;
|
37
78
|
faviconLink: string | null;
|
38
79
|
loginUrl: string | null;
|
80
|
+
billingHistory: {
|
81
|
+
totalAmount: number;
|
82
|
+
totalBills: number;
|
83
|
+
};
|
84
|
+
billingNodes: {
|
85
|
+
name: string;
|
86
|
+
countryCode: string;
|
87
|
+
nodeUuid: string;
|
88
|
+
}[];
|
39
89
|
}[];
|
40
90
|
total: number;
|
41
91
|
}, {
|
@@ -46,6 +96,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
46
96
|
name: string;
|
47
97
|
faviconLink: string | null;
|
48
98
|
loginUrl: string | null;
|
99
|
+
billingHistory: {
|
100
|
+
totalAmount: number;
|
101
|
+
totalBills: number;
|
102
|
+
};
|
103
|
+
billingNodes: {
|
104
|
+
name: string;
|
105
|
+
countryCode: string;
|
106
|
+
nodeUuid: string;
|
107
|
+
}[];
|
49
108
|
}[];
|
50
109
|
total: number;
|
51
110
|
}>;
|
@@ -58,6 +117,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
58
117
|
name: string;
|
59
118
|
faviconLink: string | null;
|
60
119
|
loginUrl: string | null;
|
120
|
+
billingHistory: {
|
121
|
+
totalAmount: number;
|
122
|
+
totalBills: number;
|
123
|
+
};
|
124
|
+
billingNodes: {
|
125
|
+
name: string;
|
126
|
+
countryCode: string;
|
127
|
+
nodeUuid: string;
|
128
|
+
}[];
|
61
129
|
}[];
|
62
130
|
total: number;
|
63
131
|
};
|
@@ -70,6 +138,15 @@ export declare namespace GetInfraProvidersCommand {
|
|
70
138
|
name: string;
|
71
139
|
faviconLink: string | null;
|
72
140
|
loginUrl: string | null;
|
141
|
+
billingHistory: {
|
142
|
+
totalAmount: number;
|
143
|
+
totalBills: number;
|
144
|
+
};
|
145
|
+
billingNodes: {
|
146
|
+
name: string;
|
147
|
+
countryCode: string;
|
148
|
+
nodeUuid: string;
|
149
|
+
}[];
|
73
150
|
}[];
|
74
151
|
total: number;
|
75
152
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-infra-providers.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-providers.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,gCAAuC,CAAC;IACjD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-infra-providers.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-infra-providers.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,gCAAuC,CAAC;IACjD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -1,6 +1,13 @@
|
|
1
|
+
export * from './create-bill-record.command';
|
2
|
+
export * from './create-billing-node.command';
|
1
3
|
export * from './create-infra-provider.command';
|
4
|
+
export * from './delete-bill-record-by-uuid.command';
|
5
|
+
export * from './delete-billing-node-by-uuid.command';
|
2
6
|
export * from './delete-infra-provider-by-uuid.command';
|
7
|
+
export * from './get-bill-records.command';
|
8
|
+
export * from './get-billing-nodes.command';
|
3
9
|
export * from './get-infra-provider-by-uuid.command';
|
4
10
|
export * from './get-infra-providers.command';
|
11
|
+
export * from './update-billing-node.command';
|
5
12
|
export * from './update-infra-provider.command';
|
6
13
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC"}
|
@@ -14,8 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./create-bill-record.command"), exports);
|
18
|
+
__exportStar(require("./create-billing-node.command"), exports);
|
17
19
|
__exportStar(require("./create-infra-provider.command"), exports);
|
20
|
+
__exportStar(require("./delete-bill-record-by-uuid.command"), exports);
|
21
|
+
__exportStar(require("./delete-billing-node-by-uuid.command"), exports);
|
18
22
|
__exportStar(require("./delete-infra-provider-by-uuid.command"), exports);
|
23
|
+
__exportStar(require("./get-bill-records.command"), exports);
|
24
|
+
__exportStar(require("./get-billing-nodes.command"), exports);
|
19
25
|
__exportStar(require("./get-infra-provider-by-uuid.command"), exports);
|
20
26
|
__exportStar(require("./get-infra-providers.command"), exports);
|
27
|
+
__exportStar(require("./update-billing-node.command"), exports);
|
21
28
|
__exportStar(require("./update-infra-provider.command"), exports);
|