@remnawave/backend-contract 2.4.1 → 2.5.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/commands/infra-billing/create-billing-node.command.d.ts +27 -27
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +27 -27
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +27 -27
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +27 -27
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +8 -8
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.d.ts +12 -12
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +8 -8
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +8 -8
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +8 -8
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +6 -6
- package/build/backend/commands/system/get-stats.command.d.ts +4 -4
- package/build/backend/constants/events/events.d.ts +9 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +9 -1
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +7 -7
- package/build/backend/models/subscription-info.schema.d.ts +4 -4
- package/build/backend/models/webhook/index.d.ts +2 -0
- package/build/backend/models/webhook/index.d.ts.map +1 -0
- package/build/backend/models/webhook/index.js +17 -0
- package/build/backend/models/webhook/webhook.schema.d.ts +2178 -0
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -0
- package/build/backend/models/webhook/webhook.schema.js +105 -0
- package/build/frontend/constants/events/events.js +9 -1
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/webhook/index.js +17 -0
- package/build/frontend/models/webhook/webhook.schema.js +105 -0
- package/package.json +1 -1
|
@@ -161,6 +161,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
161
161
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
162
162
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
node: {
|
|
165
|
+
uuid: string;
|
|
166
|
+
countryCode: string;
|
|
167
|
+
name: string;
|
|
168
|
+
};
|
|
164
169
|
uuid: string;
|
|
165
170
|
createdAt: Date;
|
|
166
171
|
updatedAt: Date;
|
|
@@ -172,13 +177,13 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
172
177
|
};
|
|
173
178
|
nodeUuid: string;
|
|
174
179
|
providerUuid: string;
|
|
180
|
+
nextBillingAt: Date;
|
|
181
|
+
}, {
|
|
175
182
|
node: {
|
|
176
183
|
uuid: string;
|
|
177
184
|
countryCode: string;
|
|
178
185
|
name: string;
|
|
179
186
|
};
|
|
180
|
-
nextBillingAt: Date;
|
|
181
|
-
}, {
|
|
182
187
|
uuid: string;
|
|
183
188
|
createdAt: string;
|
|
184
189
|
updatedAt: string;
|
|
@@ -190,11 +195,6 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
190
195
|
};
|
|
191
196
|
nodeUuid: string;
|
|
192
197
|
providerUuid: string;
|
|
193
|
-
node: {
|
|
194
|
-
uuid: string;
|
|
195
|
-
countryCode: string;
|
|
196
|
-
name: string;
|
|
197
|
-
};
|
|
198
198
|
nextBillingAt: string;
|
|
199
199
|
}>, "many">;
|
|
200
200
|
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -333,6 +333,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
333
333
|
totalSpent: number;
|
|
334
334
|
};
|
|
335
335
|
billingNodes: {
|
|
336
|
+
node: {
|
|
337
|
+
uuid: string;
|
|
338
|
+
countryCode: string;
|
|
339
|
+
name: string;
|
|
340
|
+
};
|
|
336
341
|
uuid: string;
|
|
337
342
|
createdAt: Date;
|
|
338
343
|
updatedAt: Date;
|
|
@@ -344,11 +349,6 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
344
349
|
};
|
|
345
350
|
nodeUuid: string;
|
|
346
351
|
providerUuid: string;
|
|
347
|
-
node: {
|
|
348
|
-
uuid: string;
|
|
349
|
-
countryCode: string;
|
|
350
|
-
name: string;
|
|
351
|
-
};
|
|
352
352
|
nextBillingAt: Date;
|
|
353
353
|
}[];
|
|
354
354
|
totalBillingNodes: number;
|
|
@@ -365,6 +365,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
365
365
|
totalSpent: number;
|
|
366
366
|
};
|
|
367
367
|
billingNodes: {
|
|
368
|
+
node: {
|
|
369
|
+
uuid: string;
|
|
370
|
+
countryCode: string;
|
|
371
|
+
name: string;
|
|
372
|
+
};
|
|
368
373
|
uuid: string;
|
|
369
374
|
createdAt: string;
|
|
370
375
|
updatedAt: string;
|
|
@@ -376,11 +381,6 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
376
381
|
};
|
|
377
382
|
nodeUuid: string;
|
|
378
383
|
providerUuid: string;
|
|
379
|
-
node: {
|
|
380
|
-
uuid: string;
|
|
381
|
-
countryCode: string;
|
|
382
|
-
name: string;
|
|
383
|
-
};
|
|
384
384
|
nextBillingAt: string;
|
|
385
385
|
}[];
|
|
386
386
|
totalBillingNodes: number;
|
|
@@ -399,6 +399,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
399
399
|
totalSpent: number;
|
|
400
400
|
};
|
|
401
401
|
billingNodes: {
|
|
402
|
+
node: {
|
|
403
|
+
uuid: string;
|
|
404
|
+
countryCode: string;
|
|
405
|
+
name: string;
|
|
406
|
+
};
|
|
402
407
|
uuid: string;
|
|
403
408
|
createdAt: Date;
|
|
404
409
|
updatedAt: Date;
|
|
@@ -410,11 +415,6 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
410
415
|
};
|
|
411
416
|
nodeUuid: string;
|
|
412
417
|
providerUuid: string;
|
|
413
|
-
node: {
|
|
414
|
-
uuid: string;
|
|
415
|
-
countryCode: string;
|
|
416
|
-
name: string;
|
|
417
|
-
};
|
|
418
418
|
nextBillingAt: Date;
|
|
419
419
|
}[];
|
|
420
420
|
totalBillingNodes: number;
|
|
@@ -433,6 +433,11 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
433
433
|
totalSpent: number;
|
|
434
434
|
};
|
|
435
435
|
billingNodes: {
|
|
436
|
+
node: {
|
|
437
|
+
uuid: string;
|
|
438
|
+
countryCode: string;
|
|
439
|
+
name: string;
|
|
440
|
+
};
|
|
436
441
|
uuid: string;
|
|
437
442
|
createdAt: string;
|
|
438
443
|
updatedAt: string;
|
|
@@ -444,11 +449,6 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
|
444
449
|
};
|
|
445
450
|
nodeUuid: string;
|
|
446
451
|
providerUuid: string;
|
|
447
|
-
node: {
|
|
448
|
-
uuid: string;
|
|
449
|
-
countryCode: string;
|
|
450
|
-
name: string;
|
|
451
|
-
};
|
|
452
452
|
nextBillingAt: string;
|
|
453
453
|
}[];
|
|
454
454
|
totalBillingNodes: number;
|
|
@@ -155,6 +155,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
155
155
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
156
156
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
node: {
|
|
159
|
+
uuid: string;
|
|
160
|
+
countryCode: string;
|
|
161
|
+
name: string;
|
|
162
|
+
};
|
|
158
163
|
uuid: string;
|
|
159
164
|
createdAt: Date;
|
|
160
165
|
updatedAt: Date;
|
|
@@ -166,13 +171,13 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
166
171
|
};
|
|
167
172
|
nodeUuid: string;
|
|
168
173
|
providerUuid: string;
|
|
174
|
+
nextBillingAt: Date;
|
|
175
|
+
}, {
|
|
169
176
|
node: {
|
|
170
177
|
uuid: string;
|
|
171
178
|
countryCode: string;
|
|
172
179
|
name: string;
|
|
173
180
|
};
|
|
174
|
-
nextBillingAt: Date;
|
|
175
|
-
}, {
|
|
176
181
|
uuid: string;
|
|
177
182
|
createdAt: string;
|
|
178
183
|
updatedAt: string;
|
|
@@ -184,11 +189,6 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
184
189
|
};
|
|
185
190
|
nodeUuid: string;
|
|
186
191
|
providerUuid: string;
|
|
187
|
-
node: {
|
|
188
|
-
uuid: string;
|
|
189
|
-
countryCode: string;
|
|
190
|
-
name: string;
|
|
191
|
-
};
|
|
192
192
|
nextBillingAt: string;
|
|
193
193
|
}>, "many">;
|
|
194
194
|
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -327,6 +327,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
327
327
|
totalSpent: number;
|
|
328
328
|
};
|
|
329
329
|
billingNodes: {
|
|
330
|
+
node: {
|
|
331
|
+
uuid: string;
|
|
332
|
+
countryCode: string;
|
|
333
|
+
name: string;
|
|
334
|
+
};
|
|
330
335
|
uuid: string;
|
|
331
336
|
createdAt: Date;
|
|
332
337
|
updatedAt: Date;
|
|
@@ -338,11 +343,6 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
338
343
|
};
|
|
339
344
|
nodeUuid: string;
|
|
340
345
|
providerUuid: string;
|
|
341
|
-
node: {
|
|
342
|
-
uuid: string;
|
|
343
|
-
countryCode: string;
|
|
344
|
-
name: string;
|
|
345
|
-
};
|
|
346
346
|
nextBillingAt: Date;
|
|
347
347
|
}[];
|
|
348
348
|
totalBillingNodes: number;
|
|
@@ -359,6 +359,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
359
359
|
totalSpent: number;
|
|
360
360
|
};
|
|
361
361
|
billingNodes: {
|
|
362
|
+
node: {
|
|
363
|
+
uuid: string;
|
|
364
|
+
countryCode: string;
|
|
365
|
+
name: string;
|
|
366
|
+
};
|
|
362
367
|
uuid: string;
|
|
363
368
|
createdAt: string;
|
|
364
369
|
updatedAt: string;
|
|
@@ -370,11 +375,6 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
370
375
|
};
|
|
371
376
|
nodeUuid: string;
|
|
372
377
|
providerUuid: string;
|
|
373
|
-
node: {
|
|
374
|
-
uuid: string;
|
|
375
|
-
countryCode: string;
|
|
376
|
-
name: string;
|
|
377
|
-
};
|
|
378
378
|
nextBillingAt: string;
|
|
379
379
|
}[];
|
|
380
380
|
totalBillingNodes: number;
|
|
@@ -393,6 +393,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
393
393
|
totalSpent: number;
|
|
394
394
|
};
|
|
395
395
|
billingNodes: {
|
|
396
|
+
node: {
|
|
397
|
+
uuid: string;
|
|
398
|
+
countryCode: string;
|
|
399
|
+
name: string;
|
|
400
|
+
};
|
|
396
401
|
uuid: string;
|
|
397
402
|
createdAt: Date;
|
|
398
403
|
updatedAt: Date;
|
|
@@ -404,11 +409,6 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
404
409
|
};
|
|
405
410
|
nodeUuid: string;
|
|
406
411
|
providerUuid: string;
|
|
407
|
-
node: {
|
|
408
|
-
uuid: string;
|
|
409
|
-
countryCode: string;
|
|
410
|
-
name: string;
|
|
411
|
-
};
|
|
412
412
|
nextBillingAt: Date;
|
|
413
413
|
}[];
|
|
414
414
|
totalBillingNodes: number;
|
|
@@ -427,6 +427,11 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
427
427
|
totalSpent: number;
|
|
428
428
|
};
|
|
429
429
|
billingNodes: {
|
|
430
|
+
node: {
|
|
431
|
+
uuid: string;
|
|
432
|
+
countryCode: string;
|
|
433
|
+
name: string;
|
|
434
|
+
};
|
|
430
435
|
uuid: string;
|
|
431
436
|
createdAt: string;
|
|
432
437
|
updatedAt: string;
|
|
@@ -438,11 +443,6 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
|
438
443
|
};
|
|
439
444
|
nodeUuid: string;
|
|
440
445
|
providerUuid: string;
|
|
441
|
-
node: {
|
|
442
|
-
uuid: string;
|
|
443
|
-
countryCode: string;
|
|
444
|
-
name: string;
|
|
445
|
-
};
|
|
446
446
|
nextBillingAt: string;
|
|
447
447
|
}[];
|
|
448
448
|
totalBillingNodes: number;
|
|
@@ -147,6 +147,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
147
147
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
148
148
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
+
node: {
|
|
151
|
+
uuid: string;
|
|
152
|
+
countryCode: string;
|
|
153
|
+
name: string;
|
|
154
|
+
};
|
|
150
155
|
uuid: string;
|
|
151
156
|
createdAt: Date;
|
|
152
157
|
updatedAt: Date;
|
|
@@ -158,13 +163,13 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
158
163
|
};
|
|
159
164
|
nodeUuid: string;
|
|
160
165
|
providerUuid: string;
|
|
166
|
+
nextBillingAt: Date;
|
|
167
|
+
}, {
|
|
161
168
|
node: {
|
|
162
169
|
uuid: string;
|
|
163
170
|
countryCode: string;
|
|
164
171
|
name: string;
|
|
165
172
|
};
|
|
166
|
-
nextBillingAt: Date;
|
|
167
|
-
}, {
|
|
168
173
|
uuid: string;
|
|
169
174
|
createdAt: string;
|
|
170
175
|
updatedAt: string;
|
|
@@ -176,11 +181,6 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
176
181
|
};
|
|
177
182
|
nodeUuid: string;
|
|
178
183
|
providerUuid: string;
|
|
179
|
-
node: {
|
|
180
|
-
uuid: string;
|
|
181
|
-
countryCode: string;
|
|
182
|
-
name: string;
|
|
183
|
-
};
|
|
184
184
|
nextBillingAt: string;
|
|
185
185
|
}>, "many">;
|
|
186
186
|
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -319,6 +319,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
319
319
|
totalSpent: number;
|
|
320
320
|
};
|
|
321
321
|
billingNodes: {
|
|
322
|
+
node: {
|
|
323
|
+
uuid: string;
|
|
324
|
+
countryCode: string;
|
|
325
|
+
name: string;
|
|
326
|
+
};
|
|
322
327
|
uuid: string;
|
|
323
328
|
createdAt: Date;
|
|
324
329
|
updatedAt: Date;
|
|
@@ -330,11 +335,6 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
330
335
|
};
|
|
331
336
|
nodeUuid: string;
|
|
332
337
|
providerUuid: string;
|
|
333
|
-
node: {
|
|
334
|
-
uuid: string;
|
|
335
|
-
countryCode: string;
|
|
336
|
-
name: string;
|
|
337
|
-
};
|
|
338
338
|
nextBillingAt: Date;
|
|
339
339
|
}[];
|
|
340
340
|
totalBillingNodes: number;
|
|
@@ -351,6 +351,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
351
351
|
totalSpent: number;
|
|
352
352
|
};
|
|
353
353
|
billingNodes: {
|
|
354
|
+
node: {
|
|
355
|
+
uuid: string;
|
|
356
|
+
countryCode: string;
|
|
357
|
+
name: string;
|
|
358
|
+
};
|
|
354
359
|
uuid: string;
|
|
355
360
|
createdAt: string;
|
|
356
361
|
updatedAt: string;
|
|
@@ -362,11 +367,6 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
362
367
|
};
|
|
363
368
|
nodeUuid: string;
|
|
364
369
|
providerUuid: string;
|
|
365
|
-
node: {
|
|
366
|
-
uuid: string;
|
|
367
|
-
countryCode: string;
|
|
368
|
-
name: string;
|
|
369
|
-
};
|
|
370
370
|
nextBillingAt: string;
|
|
371
371
|
}[];
|
|
372
372
|
totalBillingNodes: number;
|
|
@@ -385,6 +385,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
385
385
|
totalSpent: number;
|
|
386
386
|
};
|
|
387
387
|
billingNodes: {
|
|
388
|
+
node: {
|
|
389
|
+
uuid: string;
|
|
390
|
+
countryCode: string;
|
|
391
|
+
name: string;
|
|
392
|
+
};
|
|
388
393
|
uuid: string;
|
|
389
394
|
createdAt: Date;
|
|
390
395
|
updatedAt: Date;
|
|
@@ -396,11 +401,6 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
396
401
|
};
|
|
397
402
|
nodeUuid: string;
|
|
398
403
|
providerUuid: string;
|
|
399
|
-
node: {
|
|
400
|
-
uuid: string;
|
|
401
|
-
countryCode: string;
|
|
402
|
-
name: string;
|
|
403
|
-
};
|
|
404
404
|
nextBillingAt: Date;
|
|
405
405
|
}[];
|
|
406
406
|
totalBillingNodes: number;
|
|
@@ -419,6 +419,11 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
419
419
|
totalSpent: number;
|
|
420
420
|
};
|
|
421
421
|
billingNodes: {
|
|
422
|
+
node: {
|
|
423
|
+
uuid: string;
|
|
424
|
+
countryCode: string;
|
|
425
|
+
name: string;
|
|
426
|
+
};
|
|
422
427
|
uuid: string;
|
|
423
428
|
createdAt: string;
|
|
424
429
|
updatedAt: string;
|
|
@@ -430,11 +435,6 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
|
430
435
|
};
|
|
431
436
|
nodeUuid: string;
|
|
432
437
|
providerUuid: string;
|
|
433
|
-
node: {
|
|
434
|
-
uuid: string;
|
|
435
|
-
countryCode: string;
|
|
436
|
-
name: string;
|
|
437
|
-
};
|
|
438
438
|
nextBillingAt: string;
|
|
439
439
|
}[];
|
|
440
440
|
totalBillingNodes: number;
|
|
@@ -158,6 +158,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
158
158
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
159
159
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
node: {
|
|
162
|
+
uuid: string;
|
|
163
|
+
countryCode: string;
|
|
164
|
+
name: string;
|
|
165
|
+
};
|
|
161
166
|
uuid: string;
|
|
162
167
|
createdAt: Date;
|
|
163
168
|
updatedAt: Date;
|
|
@@ -169,13 +174,13 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
169
174
|
};
|
|
170
175
|
nodeUuid: string;
|
|
171
176
|
providerUuid: string;
|
|
177
|
+
nextBillingAt: Date;
|
|
178
|
+
}, {
|
|
172
179
|
node: {
|
|
173
180
|
uuid: string;
|
|
174
181
|
countryCode: string;
|
|
175
182
|
name: string;
|
|
176
183
|
};
|
|
177
|
-
nextBillingAt: Date;
|
|
178
|
-
}, {
|
|
179
184
|
uuid: string;
|
|
180
185
|
createdAt: string;
|
|
181
186
|
updatedAt: string;
|
|
@@ -187,11 +192,6 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
187
192
|
};
|
|
188
193
|
nodeUuid: string;
|
|
189
194
|
providerUuid: string;
|
|
190
|
-
node: {
|
|
191
|
-
uuid: string;
|
|
192
|
-
countryCode: string;
|
|
193
|
-
name: string;
|
|
194
|
-
};
|
|
195
195
|
nextBillingAt: string;
|
|
196
196
|
}>, "many">;
|
|
197
197
|
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -330,6 +330,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
330
330
|
totalSpent: number;
|
|
331
331
|
};
|
|
332
332
|
billingNodes: {
|
|
333
|
+
node: {
|
|
334
|
+
uuid: string;
|
|
335
|
+
countryCode: string;
|
|
336
|
+
name: string;
|
|
337
|
+
};
|
|
333
338
|
uuid: string;
|
|
334
339
|
createdAt: Date;
|
|
335
340
|
updatedAt: Date;
|
|
@@ -341,11 +346,6 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
341
346
|
};
|
|
342
347
|
nodeUuid: string;
|
|
343
348
|
providerUuid: string;
|
|
344
|
-
node: {
|
|
345
|
-
uuid: string;
|
|
346
|
-
countryCode: string;
|
|
347
|
-
name: string;
|
|
348
|
-
};
|
|
349
349
|
nextBillingAt: Date;
|
|
350
350
|
}[];
|
|
351
351
|
totalBillingNodes: number;
|
|
@@ -362,6 +362,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
362
362
|
totalSpent: number;
|
|
363
363
|
};
|
|
364
364
|
billingNodes: {
|
|
365
|
+
node: {
|
|
366
|
+
uuid: string;
|
|
367
|
+
countryCode: string;
|
|
368
|
+
name: string;
|
|
369
|
+
};
|
|
365
370
|
uuid: string;
|
|
366
371
|
createdAt: string;
|
|
367
372
|
updatedAt: string;
|
|
@@ -373,11 +378,6 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
373
378
|
};
|
|
374
379
|
nodeUuid: string;
|
|
375
380
|
providerUuid: string;
|
|
376
|
-
node: {
|
|
377
|
-
uuid: string;
|
|
378
|
-
countryCode: string;
|
|
379
|
-
name: string;
|
|
380
|
-
};
|
|
381
381
|
nextBillingAt: string;
|
|
382
382
|
}[];
|
|
383
383
|
totalBillingNodes: number;
|
|
@@ -396,6 +396,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
396
396
|
totalSpent: number;
|
|
397
397
|
};
|
|
398
398
|
billingNodes: {
|
|
399
|
+
node: {
|
|
400
|
+
uuid: string;
|
|
401
|
+
countryCode: string;
|
|
402
|
+
name: string;
|
|
403
|
+
};
|
|
399
404
|
uuid: string;
|
|
400
405
|
createdAt: Date;
|
|
401
406
|
updatedAt: Date;
|
|
@@ -407,11 +412,6 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
407
412
|
};
|
|
408
413
|
nodeUuid: string;
|
|
409
414
|
providerUuid: string;
|
|
410
|
-
node: {
|
|
411
|
-
uuid: string;
|
|
412
|
-
countryCode: string;
|
|
413
|
-
name: string;
|
|
414
|
-
};
|
|
415
415
|
nextBillingAt: Date;
|
|
416
416
|
}[];
|
|
417
417
|
totalBillingNodes: number;
|
|
@@ -430,6 +430,11 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
430
430
|
totalSpent: number;
|
|
431
431
|
};
|
|
432
432
|
billingNodes: {
|
|
433
|
+
node: {
|
|
434
|
+
uuid: string;
|
|
435
|
+
countryCode: string;
|
|
436
|
+
name: string;
|
|
437
|
+
};
|
|
433
438
|
uuid: string;
|
|
434
439
|
createdAt: string;
|
|
435
440
|
updatedAt: string;
|
|
@@ -441,11 +446,6 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
|
441
446
|
};
|
|
442
447
|
nodeUuid: string;
|
|
443
448
|
providerUuid: string;
|
|
444
|
-
node: {
|
|
445
|
-
uuid: string;
|
|
446
|
-
countryCode: string;
|
|
447
|
-
name: string;
|
|
448
|
-
};
|
|
449
449
|
nextBillingAt: string;
|
|
450
450
|
}[];
|
|
451
451
|
totalBillingNodes: number;
|
package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts
CHANGED
|
@@ -71,8 +71,6 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
71
71
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
72
72
|
subscriptionUrl: z.ZodString;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
subscriptionUrl: string;
|
|
75
|
-
isFound: boolean;
|
|
76
74
|
user: {
|
|
77
75
|
username: string;
|
|
78
76
|
shortUuid: string;
|
|
@@ -88,11 +86,11 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
88
86
|
isActive: boolean;
|
|
89
87
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
90
88
|
};
|
|
89
|
+
subscriptionUrl: string;
|
|
90
|
+
isFound: boolean;
|
|
91
91
|
links: string[];
|
|
92
92
|
ssConfLinks: Record<string, string>;
|
|
93
93
|
}, {
|
|
94
|
-
subscriptionUrl: string;
|
|
95
|
-
isFound: boolean;
|
|
96
94
|
user: {
|
|
97
95
|
username: string;
|
|
98
96
|
shortUuid: string;
|
|
@@ -108,13 +106,13 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
108
106
|
isActive: boolean;
|
|
109
107
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
110
108
|
};
|
|
109
|
+
subscriptionUrl: string;
|
|
110
|
+
isFound: boolean;
|
|
111
111
|
links: string[];
|
|
112
112
|
ssConfLinks: Record<string, string>;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
response: {
|
|
116
|
-
subscriptionUrl: string;
|
|
117
|
-
isFound: boolean;
|
|
118
116
|
user: {
|
|
119
117
|
username: string;
|
|
120
118
|
shortUuid: string;
|
|
@@ -130,13 +128,13 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
130
128
|
isActive: boolean;
|
|
131
129
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
132
130
|
};
|
|
131
|
+
subscriptionUrl: string;
|
|
132
|
+
isFound: boolean;
|
|
133
133
|
links: string[];
|
|
134
134
|
ssConfLinks: Record<string, string>;
|
|
135
135
|
};
|
|
136
136
|
}, {
|
|
137
137
|
response: {
|
|
138
|
-
subscriptionUrl: string;
|
|
139
|
-
isFound: boolean;
|
|
140
138
|
user: {
|
|
141
139
|
username: string;
|
|
142
140
|
shortUuid: string;
|
|
@@ -152,6 +150,8 @@ export declare namespace GetSubscriptionInfoByShortUuidCommand {
|
|
|
152
150
|
isActive: boolean;
|
|
153
151
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
154
152
|
};
|
|
153
|
+
subscriptionUrl: string;
|
|
154
|
+
isFound: boolean;
|
|
155
155
|
links: string[];
|
|
156
156
|
ssConfLinks: Record<string, string>;
|
|
157
157
|
};
|
|
@@ -75,8 +75,6 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
75
75
|
ssConfLinks: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
76
76
|
subscriptionUrl: z.ZodString;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
subscriptionUrl: string;
|
|
79
|
-
isFound: boolean;
|
|
80
78
|
user: {
|
|
81
79
|
username: string;
|
|
82
80
|
shortUuid: string;
|
|
@@ -92,11 +90,11 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
92
90
|
isActive: boolean;
|
|
93
91
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
94
92
|
};
|
|
93
|
+
subscriptionUrl: string;
|
|
94
|
+
isFound: boolean;
|
|
95
95
|
links: string[];
|
|
96
96
|
ssConfLinks: Record<string, string>;
|
|
97
97
|
}, {
|
|
98
|
-
subscriptionUrl: string;
|
|
99
|
-
isFound: boolean;
|
|
100
98
|
user: {
|
|
101
99
|
username: string;
|
|
102
100
|
shortUuid: string;
|
|
@@ -112,14 +110,14 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
112
110
|
isActive: boolean;
|
|
113
111
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
114
112
|
};
|
|
113
|
+
subscriptionUrl: string;
|
|
114
|
+
isFound: boolean;
|
|
115
115
|
links: string[];
|
|
116
116
|
ssConfLinks: Record<string, string>;
|
|
117
117
|
}>, "many">;
|
|
118
118
|
total: z.ZodNumber;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
120
|
subscriptions: {
|
|
121
|
-
subscriptionUrl: string;
|
|
122
|
-
isFound: boolean;
|
|
123
121
|
user: {
|
|
124
122
|
username: string;
|
|
125
123
|
shortUuid: string;
|
|
@@ -135,14 +133,14 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
135
133
|
isActive: boolean;
|
|
136
134
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
137
135
|
};
|
|
136
|
+
subscriptionUrl: string;
|
|
137
|
+
isFound: boolean;
|
|
138
138
|
links: string[];
|
|
139
139
|
ssConfLinks: Record<string, string>;
|
|
140
140
|
}[];
|
|
141
141
|
total: number;
|
|
142
142
|
}, {
|
|
143
143
|
subscriptions: {
|
|
144
|
-
subscriptionUrl: string;
|
|
145
|
-
isFound: boolean;
|
|
146
144
|
user: {
|
|
147
145
|
username: string;
|
|
148
146
|
shortUuid: string;
|
|
@@ -158,6 +156,8 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
158
156
|
isActive: boolean;
|
|
159
157
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
160
158
|
};
|
|
159
|
+
subscriptionUrl: string;
|
|
160
|
+
isFound: boolean;
|
|
161
161
|
links: string[];
|
|
162
162
|
ssConfLinks: Record<string, string>;
|
|
163
163
|
}[];
|
|
@@ -166,8 +166,6 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
response: {
|
|
168
168
|
subscriptions: {
|
|
169
|
-
subscriptionUrl: string;
|
|
170
|
-
isFound: boolean;
|
|
171
169
|
user: {
|
|
172
170
|
username: string;
|
|
173
171
|
shortUuid: string;
|
|
@@ -183,6 +181,8 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
183
181
|
isActive: boolean;
|
|
184
182
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
185
183
|
};
|
|
184
|
+
subscriptionUrl: string;
|
|
185
|
+
isFound: boolean;
|
|
186
186
|
links: string[];
|
|
187
187
|
ssConfLinks: Record<string, string>;
|
|
188
188
|
}[];
|
|
@@ -191,8 +191,6 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
191
191
|
}, {
|
|
192
192
|
response: {
|
|
193
193
|
subscriptions: {
|
|
194
|
-
subscriptionUrl: string;
|
|
195
|
-
isFound: boolean;
|
|
196
194
|
user: {
|
|
197
195
|
username: string;
|
|
198
196
|
shortUuid: string;
|
|
@@ -208,6 +206,8 @@ export declare namespace GetAllSubscriptionsCommand {
|
|
|
208
206
|
isActive: boolean;
|
|
209
207
|
userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
|
210
208
|
};
|
|
209
|
+
subscriptionUrl: string;
|
|
210
|
+
isFound: boolean;
|
|
211
211
|
links: string[];
|
|
212
212
|
ssConfLinks: Record<string, string>;
|
|
213
213
|
}[];
|