@remnawave/backend-contract 2.5.22 → 2.6.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/nodes/bulk-actions/actions.command.d.ts +2 -2
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +11 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +20 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +18 -0
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/constants/crud-actions/crud-actions.constant.d.ts +9 -0
- package/build/backend/constants/crud-actions/crud-actions.constant.d.ts.map +1 -0
- package/build/backend/constants/crud-actions/crud-actions.constant.js +9 -0
- package/build/backend/constants/crud-actions/index.d.ts +2 -0
- package/build/backend/constants/crud-actions/index.d.ts.map +1 -0
- package/build/backend/constants/crud-actions/index.js +17 -0
- package/build/backend/constants/events/events.d.ts +1 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +1 -0
- package/build/backend/constants/index.d.ts +1 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +1 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +3 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +6 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +10 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +7 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +9 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +58 -6
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.js +6 -0
- package/build/frontend/constants/crud-actions/crud-actions.constant.js +9 -0
- package/build/frontend/constants/crud-actions/index.js +17 -0
- package/build/frontend/constants/events/events.js +1 -0
- package/build/frontend/constants/index.js +1 -0
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +6 -0
- package/build/frontend/models/webhook/webhook.schema.js +6 -0
- package/package.json +1 -1
|
@@ -12,11 +12,11 @@ export declare namespace BulkNodesActionsCommand {
|
|
|
12
12
|
readonly RESET_TRAFFIC: "RESET_TRAFFIC";
|
|
13
13
|
}>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
uuids: string[];
|
|
16
15
|
action: "ENABLE" | "DISABLE" | "RESTART" | "RESET_TRAFFIC";
|
|
17
|
-
}, {
|
|
18
16
|
uuids: string[];
|
|
17
|
+
}, {
|
|
19
18
|
action: "ENABLE" | "DISABLE" | "RESTART" | "RESET_TRAFFIC";
|
|
19
|
+
uuids: string[];
|
|
20
20
|
}>;
|
|
21
21
|
type Request = z.infer<typeof RequestSchema>;
|
|
22
22
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -102,18 +102,21 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
102
102
|
key: string;
|
|
103
103
|
}>, "many">>;
|
|
104
104
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
105
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
105
106
|
}, "strip", z.ZodTypeAny, {
|
|
106
107
|
headers?: {
|
|
107
108
|
value: string;
|
|
108
109
|
key: string;
|
|
109
110
|
}[] | undefined;
|
|
110
111
|
subscriptionTemplate?: string | undefined;
|
|
112
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
111
113
|
}, {
|
|
112
114
|
headers?: {
|
|
113
115
|
value: string;
|
|
114
116
|
key: string;
|
|
115
117
|
}[] | undefined;
|
|
116
118
|
subscriptionTemplate?: string | undefined;
|
|
119
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
117
120
|
}>>;
|
|
118
121
|
}, "strip", z.ZodTypeAny, {
|
|
119
122
|
enabled: boolean;
|
|
@@ -133,6 +136,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
133
136
|
key: string;
|
|
134
137
|
}[] | undefined;
|
|
135
138
|
subscriptionTemplate?: string | undefined;
|
|
139
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
136
140
|
} | undefined;
|
|
137
141
|
}, {
|
|
138
142
|
enabled: boolean;
|
|
@@ -152,6 +156,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
152
156
|
key: string;
|
|
153
157
|
}[] | undefined;
|
|
154
158
|
subscriptionTemplate?: string | undefined;
|
|
159
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
155
160
|
} | undefined;
|
|
156
161
|
}>, "many">;
|
|
157
162
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -174,6 +179,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
174
179
|
key: string;
|
|
175
180
|
}[] | undefined;
|
|
176
181
|
subscriptionTemplate?: string | undefined;
|
|
182
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
177
183
|
} | undefined;
|
|
178
184
|
}[];
|
|
179
185
|
}, {
|
|
@@ -196,6 +202,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
196
202
|
key: string;
|
|
197
203
|
}[] | undefined;
|
|
198
204
|
subscriptionTemplate?: string | undefined;
|
|
205
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
199
206
|
} | undefined;
|
|
200
207
|
}[];
|
|
201
208
|
}>>;
|
|
@@ -256,6 +263,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
256
263
|
key: string;
|
|
257
264
|
}[] | undefined;
|
|
258
265
|
subscriptionTemplate?: string | undefined;
|
|
266
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
259
267
|
} | undefined;
|
|
260
268
|
}[];
|
|
261
269
|
} | null;
|
|
@@ -306,6 +314,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
306
314
|
key: string;
|
|
307
315
|
}[] | undefined;
|
|
308
316
|
subscriptionTemplate?: string | undefined;
|
|
317
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
309
318
|
} | undefined;
|
|
310
319
|
}[];
|
|
311
320
|
} | null;
|
|
@@ -358,6 +367,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
358
367
|
key: string;
|
|
359
368
|
}[] | undefined;
|
|
360
369
|
subscriptionTemplate?: string | undefined;
|
|
370
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
361
371
|
} | undefined;
|
|
362
372
|
}[];
|
|
363
373
|
} | null;
|
|
@@ -410,6 +420,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
410
420
|
key: string;
|
|
411
421
|
}[] | undefined;
|
|
412
422
|
subscriptionTemplate?: string | undefined;
|
|
423
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
413
424
|
} | undefined;
|
|
414
425
|
}[];
|
|
415
426
|
} | null;
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -101,18 +101,21 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
101
101
|
key: string;
|
|
102
102
|
}>, "many">>;
|
|
103
103
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
104
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
104
105
|
}, "strip", z.ZodTypeAny, {
|
|
105
106
|
headers?: {
|
|
106
107
|
value: string;
|
|
107
108
|
key: string;
|
|
108
109
|
}[] | undefined;
|
|
109
110
|
subscriptionTemplate?: string | undefined;
|
|
111
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
110
112
|
}, {
|
|
111
113
|
headers?: {
|
|
112
114
|
value: string;
|
|
113
115
|
key: string;
|
|
114
116
|
}[] | undefined;
|
|
115
117
|
subscriptionTemplate?: string | undefined;
|
|
118
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
116
119
|
}>>;
|
|
117
120
|
}, "strip", z.ZodTypeAny, {
|
|
118
121
|
enabled: boolean;
|
|
@@ -132,6 +135,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
132
135
|
key: string;
|
|
133
136
|
}[] | undefined;
|
|
134
137
|
subscriptionTemplate?: string | undefined;
|
|
138
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
135
139
|
} | undefined;
|
|
136
140
|
}, {
|
|
137
141
|
enabled: boolean;
|
|
@@ -151,6 +155,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
151
155
|
key: string;
|
|
152
156
|
}[] | undefined;
|
|
153
157
|
subscriptionTemplate?: string | undefined;
|
|
158
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
154
159
|
} | undefined;
|
|
155
160
|
}>, "many">;
|
|
156
161
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -173,6 +178,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
173
178
|
key: string;
|
|
174
179
|
}[] | undefined;
|
|
175
180
|
subscriptionTemplate?: string | undefined;
|
|
181
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
176
182
|
} | undefined;
|
|
177
183
|
}[];
|
|
178
184
|
}, {
|
|
@@ -195,6 +201,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
195
201
|
key: string;
|
|
196
202
|
}[] | undefined;
|
|
197
203
|
subscriptionTemplate?: string | undefined;
|
|
204
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
198
205
|
} | undefined;
|
|
199
206
|
}[];
|
|
200
207
|
}>>;
|
|
@@ -251,6 +258,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
251
258
|
key: string;
|
|
252
259
|
}[] | undefined;
|
|
253
260
|
subscriptionTemplate?: string | undefined;
|
|
261
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
254
262
|
} | undefined;
|
|
255
263
|
}[];
|
|
256
264
|
} | undefined;
|
|
@@ -299,6 +307,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
299
307
|
key: string;
|
|
300
308
|
}[] | undefined;
|
|
301
309
|
subscriptionTemplate?: string | undefined;
|
|
310
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
302
311
|
} | undefined;
|
|
303
312
|
}[];
|
|
304
313
|
} | undefined;
|
|
@@ -408,18 +417,21 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
408
417
|
key: string;
|
|
409
418
|
}>, "many">>;
|
|
410
419
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
420
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
411
421
|
}, "strip", z.ZodTypeAny, {
|
|
412
422
|
headers?: {
|
|
413
423
|
value: string;
|
|
414
424
|
key: string;
|
|
415
425
|
}[] | undefined;
|
|
416
426
|
subscriptionTemplate?: string | undefined;
|
|
427
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
417
428
|
}, {
|
|
418
429
|
headers?: {
|
|
419
430
|
value: string;
|
|
420
431
|
key: string;
|
|
421
432
|
}[] | undefined;
|
|
422
433
|
subscriptionTemplate?: string | undefined;
|
|
434
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
423
435
|
}>>;
|
|
424
436
|
}, "strip", z.ZodTypeAny, {
|
|
425
437
|
enabled: boolean;
|
|
@@ -439,6 +451,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
439
451
|
key: string;
|
|
440
452
|
}[] | undefined;
|
|
441
453
|
subscriptionTemplate?: string | undefined;
|
|
454
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
442
455
|
} | undefined;
|
|
443
456
|
}, {
|
|
444
457
|
enabled: boolean;
|
|
@@ -458,6 +471,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
458
471
|
key: string;
|
|
459
472
|
}[] | undefined;
|
|
460
473
|
subscriptionTemplate?: string | undefined;
|
|
474
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
461
475
|
} | undefined;
|
|
462
476
|
}>, "many">;
|
|
463
477
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -480,6 +494,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
480
494
|
key: string;
|
|
481
495
|
}[] | undefined;
|
|
482
496
|
subscriptionTemplate?: string | undefined;
|
|
497
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
483
498
|
} | undefined;
|
|
484
499
|
}[];
|
|
485
500
|
}, {
|
|
@@ -502,6 +517,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
502
517
|
key: string;
|
|
503
518
|
}[] | undefined;
|
|
504
519
|
subscriptionTemplate?: string | undefined;
|
|
520
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
505
521
|
} | undefined;
|
|
506
522
|
}[];
|
|
507
523
|
}>>;
|
|
@@ -562,6 +578,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
562
578
|
key: string;
|
|
563
579
|
}[] | undefined;
|
|
564
580
|
subscriptionTemplate?: string | undefined;
|
|
581
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
565
582
|
} | undefined;
|
|
566
583
|
}[];
|
|
567
584
|
} | null;
|
|
@@ -612,6 +629,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
612
629
|
key: string;
|
|
613
630
|
}[] | undefined;
|
|
614
631
|
subscriptionTemplate?: string | undefined;
|
|
632
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
615
633
|
} | undefined;
|
|
616
634
|
}[];
|
|
617
635
|
} | null;
|
|
@@ -664,6 +682,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
664
682
|
key: string;
|
|
665
683
|
}[] | undefined;
|
|
666
684
|
subscriptionTemplate?: string | undefined;
|
|
685
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
667
686
|
} | undefined;
|
|
668
687
|
}[];
|
|
669
688
|
} | null;
|
|
@@ -716,6 +735,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
716
735
|
key: string;
|
|
717
736
|
}[] | undefined;
|
|
718
737
|
subscriptionTemplate?: string | undefined;
|
|
738
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
719
739
|
} | undefined;
|
|
720
740
|
}[];
|
|
721
741
|
} | null;
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;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onTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
71
72
|
}, "strip", z.ZodTypeAny, {
|
|
72
73
|
headers?: {
|
|
73
74
|
value: string;
|
|
74
75
|
key: string;
|
|
75
76
|
}[] | undefined;
|
|
76
77
|
subscriptionTemplate?: string | undefined;
|
|
78
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
77
79
|
}, {
|
|
78
80
|
headers?: {
|
|
79
81
|
value: string;
|
|
80
82
|
key: string;
|
|
81
83
|
}[] | undefined;
|
|
82
84
|
subscriptionTemplate?: string | undefined;
|
|
85
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
83
86
|
}>>;
|
|
84
87
|
}, "strip", z.ZodTypeAny, {
|
|
85
88
|
enabled: boolean;
|
|
@@ -99,6 +102,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
99
102
|
key: string;
|
|
100
103
|
}[] | undefined;
|
|
101
104
|
subscriptionTemplate?: string | undefined;
|
|
105
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
102
106
|
} | undefined;
|
|
103
107
|
}, {
|
|
104
108
|
enabled: boolean;
|
|
@@ -118,6 +122,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
118
122
|
key: string;
|
|
119
123
|
}[] | undefined;
|
|
120
124
|
subscriptionTemplate?: string | undefined;
|
|
125
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
121
126
|
} | undefined;
|
|
122
127
|
}>, "many">;
|
|
123
128
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -140,6 +145,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
140
145
|
key: string;
|
|
141
146
|
}[] | undefined;
|
|
142
147
|
subscriptionTemplate?: string | undefined;
|
|
148
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
143
149
|
} | undefined;
|
|
144
150
|
}[];
|
|
145
151
|
}, {
|
|
@@ -162,6 +168,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
162
168
|
key: string;
|
|
163
169
|
}[] | undefined;
|
|
164
170
|
subscriptionTemplate?: string | undefined;
|
|
171
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
165
172
|
} | undefined;
|
|
166
173
|
}[];
|
|
167
174
|
}>;
|
|
@@ -186,6 +193,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
186
193
|
key: string;
|
|
187
194
|
}[] | undefined;
|
|
188
195
|
subscriptionTemplate?: string | undefined;
|
|
196
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
189
197
|
} | undefined;
|
|
190
198
|
}[];
|
|
191
199
|
};
|
|
@@ -210,6 +218,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
210
218
|
key: string;
|
|
211
219
|
}[] | undefined;
|
|
212
220
|
subscriptionTemplate?: string | undefined;
|
|
221
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
213
222
|
} | undefined;
|
|
214
223
|
}[];
|
|
215
224
|
};
|
|
@@ -291,18 +300,21 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
291
300
|
key: string;
|
|
292
301
|
}>, "many">>;
|
|
293
302
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
303
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
294
304
|
}, "strip", z.ZodTypeAny, {
|
|
295
305
|
headers?: {
|
|
296
306
|
value: string;
|
|
297
307
|
key: string;
|
|
298
308
|
}[] | undefined;
|
|
299
309
|
subscriptionTemplate?: string | undefined;
|
|
310
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
300
311
|
}, {
|
|
301
312
|
headers?: {
|
|
302
313
|
value: string;
|
|
303
314
|
key: string;
|
|
304
315
|
}[] | undefined;
|
|
305
316
|
subscriptionTemplate?: string | undefined;
|
|
317
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
306
318
|
}>>;
|
|
307
319
|
}, "strip", z.ZodTypeAny, {
|
|
308
320
|
enabled: boolean;
|
|
@@ -322,6 +334,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
322
334
|
key: string;
|
|
323
335
|
}[] | undefined;
|
|
324
336
|
subscriptionTemplate?: string | undefined;
|
|
337
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
325
338
|
} | undefined;
|
|
326
339
|
}, {
|
|
327
340
|
enabled: boolean;
|
|
@@ -341,6 +354,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
341
354
|
key: string;
|
|
342
355
|
}[] | undefined;
|
|
343
356
|
subscriptionTemplate?: string | undefined;
|
|
357
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
344
358
|
} | undefined;
|
|
345
359
|
}>>;
|
|
346
360
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -366,6 +380,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
366
380
|
key: string;
|
|
367
381
|
}[] | undefined;
|
|
368
382
|
subscriptionTemplate?: string | undefined;
|
|
383
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
369
384
|
} | undefined;
|
|
370
385
|
} | null;
|
|
371
386
|
inputHeaders: Record<string, string>;
|
|
@@ -391,6 +406,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
391
406
|
key: string;
|
|
392
407
|
}[] | undefined;
|
|
393
408
|
subscriptionTemplate?: string | undefined;
|
|
409
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
394
410
|
} | undefined;
|
|
395
411
|
} | null;
|
|
396
412
|
inputHeaders: Record<string, string>;
|
|
@@ -418,6 +434,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
418
434
|
key: string;
|
|
419
435
|
}[] | undefined;
|
|
420
436
|
subscriptionTemplate?: string | undefined;
|
|
437
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
421
438
|
} | undefined;
|
|
422
439
|
} | null;
|
|
423
440
|
inputHeaders: Record<string, string>;
|
|
@@ -445,6 +462,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
445
462
|
key: string;
|
|
446
463
|
}[] | undefined;
|
|
447
464
|
subscriptionTemplate?: string | undefined;
|
|
465
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
448
466
|
} | undefined;
|
|
449
467
|
} | null;
|
|
450
468
|
inputHeaders: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const CRUD_ACTIONS: {
|
|
2
|
+
readonly CREATED: "CREATED";
|
|
3
|
+
readonly UPDATED: "UPDATED";
|
|
4
|
+
readonly DELETED: "DELETED";
|
|
5
|
+
};
|
|
6
|
+
export type TCrudActions = [keyof typeof CRUD_ACTIONS][number];
|
|
7
|
+
export type TCrudActionsKeys = (typeof CRUD_ACTIONS)[keyof typeof CRUD_ACTIONS];
|
|
8
|
+
export declare const CRUD_ACTIONS_VALUES: ("CREATED" | "UPDATED" | "DELETED")[];
|
|
9
|
+
//# sourceMappingURL=crud-actions.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crud-actions.constant.d.ts","sourceRoot":"","sources":["../../../../constants/crud-actions/crud-actions.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAChF,eAAO,MAAM,mBAAmB,uCAA8B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CRUD_ACTIONS_VALUES = exports.CRUD_ACTIONS = void 0;
|
|
4
|
+
exports.CRUD_ACTIONS = {
|
|
5
|
+
CREATED: 'CREATED',
|
|
6
|
+
UPDATED: 'UPDATED',
|
|
7
|
+
DELETED: 'DELETED',
|
|
8
|
+
};
|
|
9
|
+
exports.CRUD_ACTIONS_VALUES = Object.values(exports.CRUD_ACTIONS);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/crud-actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./crud-actions.constant"), exports);
|
|
@@ -48,6 +48,7 @@ export declare const EVENTS: {
|
|
|
48
48
|
readonly PANEL_STARTED: "service.panel_started";
|
|
49
49
|
readonly LOGIN_ATTEMPT_FAILED: "service.login_attempt_failed";
|
|
50
50
|
readonly LOGIN_ATTEMPT_SUCCESS: "service.login_attempt_success";
|
|
51
|
+
readonly SUBPAGE_CONFIG_CHANGED: "service.subpage_config_changed";
|
|
51
52
|
};
|
|
52
53
|
readonly ERRORS: {
|
|
53
54
|
readonly BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: "errors.bandwidth_usage_threshold_reached_max_notifications";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;QAmBX;;;;;WAKG;;;IAGP;;;;;;OAMG
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;QAmBX;;;;;WAKG;;;IAGP;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCG,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACtE,MAAM,MAAM,sBAAsB,GAC9B,CAAC,OAAO,MAAM,CAAC,iBAAiB,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAE7E,MAAM,MAAM,UAAU,GAChB,WAAW,GACX,WAAW,GACX,cAAc,GACd,aAAa,GACb,UAAU,GACV,sBAAsB,CAAC;AAC7B,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvD,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE9E,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAClC,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,KACxC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -51,6 +51,7 @@ exports.EVENTS = {
|
|
|
51
51
|
PANEL_STARTED: 'service.panel_started',
|
|
52
52
|
LOGIN_ATTEMPT_FAILED: 'service.login_attempt_failed',
|
|
53
53
|
LOGIN_ATTEMPT_SUCCESS: 'service.login_attempt_success',
|
|
54
|
+
SUBPAGE_CONFIG_CHANGED: 'service.subpage_config_changed',
|
|
54
55
|
},
|
|
55
56
|
ERRORS: {
|
|
56
57
|
BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: 'errors.bandwidth_usage_threshold_reached_max_notifications',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./cache-keys"), exports);
|
|
18
|
+
__exportStar(require("./crud-actions"), exports);
|
|
18
19
|
__exportStar(require("./endpoint-details"), exports);
|
|
19
20
|
__exportStar(require("./errors"), exports);
|
|
20
21
|
__exportStar(require("./events"), exports);
|
|
@@ -11,17 +11,20 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
11
11
|
key: string;
|
|
12
12
|
}>, "many">>;
|
|
13
13
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
14
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
15
16
|
headers?: {
|
|
16
17
|
value: string;
|
|
17
18
|
key: string;
|
|
18
19
|
}[] | undefined;
|
|
19
20
|
subscriptionTemplate?: string | undefined;
|
|
21
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
headers?: {
|
|
22
24
|
value: string;
|
|
23
25
|
key: string;
|
|
24
26
|
}[] | undefined;
|
|
25
27
|
subscriptionTemplate?: string | undefined;
|
|
28
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
26
29
|
}>>;
|
|
27
30
|
//# sourceMappingURL=response-rule-modifications.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFvC,CAAC"}
|
|
@@ -49,6 +49,12 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
49
49
|
.describe(JSON.stringify({
|
|
50
50
|
markdownDescription: 'Override the subscription template with the given name. If not provided, the default subscription template will be used. If the template name is not found, the default subscription template for this type will be used. **This modification have higher priority than settings from External Squads.**',
|
|
51
51
|
})),
|
|
52
|
+
ignoreHostXrayJsonTemplate: zod_1.default
|
|
53
|
+
.boolean()
|
|
54
|
+
.optional()
|
|
55
|
+
.describe(JSON.stringify({
|
|
56
|
+
markdownDescription: "Each Host may have its own Xray Json Template. If you set this flag to **true**, the Xray Json Template defined by the SRR will be used. **The Host's Xray Json Template will be ignored.**",
|
|
57
|
+
})),
|
|
52
58
|
})
|
|
53
59
|
.optional()
|
|
54
60
|
.describe(JSON.stringify({
|
|
@@ -59,18 +59,21 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
59
59
|
key: string;
|
|
60
60
|
}>, "many">>;
|
|
61
61
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
62
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
62
63
|
}, "strip", z.ZodTypeAny, {
|
|
63
64
|
headers?: {
|
|
64
65
|
value: string;
|
|
65
66
|
key: string;
|
|
66
67
|
}[] | undefined;
|
|
67
68
|
subscriptionTemplate?: string | undefined;
|
|
69
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
68
70
|
}, {
|
|
69
71
|
headers?: {
|
|
70
72
|
value: string;
|
|
71
73
|
key: string;
|
|
72
74
|
}[] | undefined;
|
|
73
75
|
subscriptionTemplate?: string | undefined;
|
|
76
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
74
77
|
}>>;
|
|
75
78
|
}, "strip", z.ZodTypeAny, {
|
|
76
79
|
enabled: boolean;
|
|
@@ -90,6 +93,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
90
93
|
key: string;
|
|
91
94
|
}[] | undefined;
|
|
92
95
|
subscriptionTemplate?: string | undefined;
|
|
96
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
93
97
|
} | undefined;
|
|
94
98
|
}, {
|
|
95
99
|
enabled: boolean;
|
|
@@ -109,6 +113,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
109
113
|
key: string;
|
|
110
114
|
}[] | undefined;
|
|
111
115
|
subscriptionTemplate?: string | undefined;
|
|
116
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
112
117
|
} | undefined;
|
|
113
118
|
}>;
|
|
114
119
|
export declare const ResponseRuleSchema: z.ZodObject<{
|
|
@@ -171,18 +176,21 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
171
176
|
key: string;
|
|
172
177
|
}>, "many">>;
|
|
173
178
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
179
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
174
180
|
}, "strip", z.ZodTypeAny, {
|
|
175
181
|
headers?: {
|
|
176
182
|
value: string;
|
|
177
183
|
key: string;
|
|
178
184
|
}[] | undefined;
|
|
179
185
|
subscriptionTemplate?: string | undefined;
|
|
186
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
180
187
|
}, {
|
|
181
188
|
headers?: {
|
|
182
189
|
value: string;
|
|
183
190
|
key: string;
|
|
184
191
|
}[] | undefined;
|
|
185
192
|
subscriptionTemplate?: string | undefined;
|
|
193
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
186
194
|
}>>;
|
|
187
195
|
}, "strip", z.ZodTypeAny, {
|
|
188
196
|
enabled: boolean;
|
|
@@ -202,6 +210,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
202
210
|
key: string;
|
|
203
211
|
}[] | undefined;
|
|
204
212
|
subscriptionTemplate?: string | undefined;
|
|
213
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
205
214
|
} | undefined;
|
|
206
215
|
}, {
|
|
207
216
|
enabled: boolean;
|
|
@@ -221,6 +230,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
221
230
|
key: string;
|
|
222
231
|
}[] | undefined;
|
|
223
232
|
subscriptionTemplate?: string | undefined;
|
|
233
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
224
234
|
} | undefined;
|
|
225
235
|
}>;
|
|
226
236
|
//# sourceMappingURL=response-rule.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB9B,CAAC"}
|
|
@@ -63,18 +63,21 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
63
63
|
key: string;
|
|
64
64
|
}>, "many">>;
|
|
65
65
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
66
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
67
68
|
headers?: {
|
|
68
69
|
value: string;
|
|
69
70
|
key: string;
|
|
70
71
|
}[] | undefined;
|
|
71
72
|
subscriptionTemplate?: string | undefined;
|
|
73
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
72
74
|
}, {
|
|
73
75
|
headers?: {
|
|
74
76
|
value: string;
|
|
75
77
|
key: string;
|
|
76
78
|
}[] | undefined;
|
|
77
79
|
subscriptionTemplate?: string | undefined;
|
|
80
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
78
81
|
}>>;
|
|
79
82
|
}, "strip", z.ZodTypeAny, {
|
|
80
83
|
enabled: boolean;
|
|
@@ -94,6 +97,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
94
97
|
key: string;
|
|
95
98
|
}[] | undefined;
|
|
96
99
|
subscriptionTemplate?: string | undefined;
|
|
100
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
97
101
|
} | undefined;
|
|
98
102
|
}, {
|
|
99
103
|
enabled: boolean;
|
|
@@ -113,6 +117,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
113
117
|
key: string;
|
|
114
118
|
}[] | undefined;
|
|
115
119
|
subscriptionTemplate?: string | undefined;
|
|
120
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
116
121
|
} | undefined;
|
|
117
122
|
}>, "many">;
|
|
118
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -135,6 +140,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
135
140
|
key: string;
|
|
136
141
|
}[] | undefined;
|
|
137
142
|
subscriptionTemplate?: string | undefined;
|
|
143
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
138
144
|
} | undefined;
|
|
139
145
|
}[];
|
|
140
146
|
}, {
|
|
@@ -157,6 +163,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
157
163
|
key: string;
|
|
158
164
|
}[] | undefined;
|
|
159
165
|
subscriptionTemplate?: string | undefined;
|
|
166
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
160
167
|
} | undefined;
|
|
161
168
|
}[];
|
|
162
169
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepC,CAAC"}
|
|
@@ -97,18 +97,21 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
97
97
|
key: string;
|
|
98
98
|
}>, "many">>;
|
|
99
99
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
100
|
+
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
102
|
headers?: {
|
|
102
103
|
value: string;
|
|
103
104
|
key: string;
|
|
104
105
|
}[] | undefined;
|
|
105
106
|
subscriptionTemplate?: string | undefined;
|
|
107
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
106
108
|
}, {
|
|
107
109
|
headers?: {
|
|
108
110
|
value: string;
|
|
109
111
|
key: string;
|
|
110
112
|
}[] | undefined;
|
|
111
113
|
subscriptionTemplate?: string | undefined;
|
|
114
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
112
115
|
}>>;
|
|
113
116
|
}, "strip", z.ZodTypeAny, {
|
|
114
117
|
enabled: boolean;
|
|
@@ -128,6 +131,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
128
131
|
key: string;
|
|
129
132
|
}[] | undefined;
|
|
130
133
|
subscriptionTemplate?: string | undefined;
|
|
134
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
131
135
|
} | undefined;
|
|
132
136
|
}, {
|
|
133
137
|
enabled: boolean;
|
|
@@ -147,6 +151,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
147
151
|
key: string;
|
|
148
152
|
}[] | undefined;
|
|
149
153
|
subscriptionTemplate?: string | undefined;
|
|
154
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
150
155
|
} | undefined;
|
|
151
156
|
}>, "many">;
|
|
152
157
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -169,6 +174,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
169
174
|
key: string;
|
|
170
175
|
}[] | undefined;
|
|
171
176
|
subscriptionTemplate?: string | undefined;
|
|
177
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
172
178
|
} | undefined;
|
|
173
179
|
}[];
|
|
174
180
|
}, {
|
|
@@ -191,6 +197,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
191
197
|
key: string;
|
|
192
198
|
}[] | undefined;
|
|
193
199
|
subscriptionTemplate?: string | undefined;
|
|
200
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
194
201
|
} | undefined;
|
|
195
202
|
}[];
|
|
196
203
|
}>>;
|
|
@@ -251,6 +258,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
251
258
|
key: string;
|
|
252
259
|
}[] | undefined;
|
|
253
260
|
subscriptionTemplate?: string | undefined;
|
|
261
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
254
262
|
} | undefined;
|
|
255
263
|
}[];
|
|
256
264
|
} | null;
|
|
@@ -301,6 +309,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
301
309
|
key: string;
|
|
302
310
|
}[] | undefined;
|
|
303
311
|
subscriptionTemplate?: string | undefined;
|
|
312
|
+
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
304
313
|
} | undefined;
|
|
305
314
|
}[];
|
|
306
315
|
} | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrC,CAAC"}
|
|
@@ -948,7 +948,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
|
|
|
948
948
|
}>;
|
|
949
949
|
export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
950
950
|
scope: z.ZodLiteral<"service">;
|
|
951
|
-
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
|
|
951
|
+
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed")[]]>;
|
|
952
952
|
timestamp: z.ZodEffects<z.ZodString, Date, string>;
|
|
953
953
|
data: z.ZodObject<{
|
|
954
954
|
loginAttempt: z.ZodOptional<z.ZodObject<{
|
|
@@ -971,6 +971,16 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
971
971
|
description?: string | undefined;
|
|
972
972
|
}>>;
|
|
973
973
|
panelVersion: z.ZodOptional<z.ZodString>;
|
|
974
|
+
subpageConfig: z.ZodOptional<z.ZodObject<{
|
|
975
|
+
action: z.ZodEnum<["CREATED" | "UPDATED" | "DELETED", ...("CREATED" | "UPDATED" | "DELETED")[]]>;
|
|
976
|
+
uuid: z.ZodString;
|
|
977
|
+
}, "strip", z.ZodTypeAny, {
|
|
978
|
+
uuid: string;
|
|
979
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
980
|
+
}, {
|
|
981
|
+
uuid: string;
|
|
982
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
983
|
+
}>>;
|
|
974
984
|
}, "strip", z.ZodTypeAny, {
|
|
975
985
|
loginAttempt?: {
|
|
976
986
|
username: string;
|
|
@@ -980,6 +990,10 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
980
990
|
description?: string | undefined;
|
|
981
991
|
} | undefined;
|
|
982
992
|
panelVersion?: string | undefined;
|
|
993
|
+
subpageConfig?: {
|
|
994
|
+
uuid: string;
|
|
995
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
996
|
+
} | undefined;
|
|
983
997
|
}, {
|
|
984
998
|
loginAttempt?: {
|
|
985
999
|
username: string;
|
|
@@ -989,6 +1003,10 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
989
1003
|
description?: string | undefined;
|
|
990
1004
|
} | undefined;
|
|
991
1005
|
panelVersion?: string | undefined;
|
|
1006
|
+
subpageConfig?: {
|
|
1007
|
+
uuid: string;
|
|
1008
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1009
|
+
} | undefined;
|
|
992
1010
|
}>;
|
|
993
1011
|
}, "strip", z.ZodTypeAny, {
|
|
994
1012
|
data: {
|
|
@@ -1000,9 +1018,13 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1000
1018
|
description?: string | undefined;
|
|
1001
1019
|
} | undefined;
|
|
1002
1020
|
panelVersion?: string | undefined;
|
|
1021
|
+
subpageConfig?: {
|
|
1022
|
+
uuid: string;
|
|
1023
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1024
|
+
} | undefined;
|
|
1003
1025
|
};
|
|
1004
1026
|
scope: "service";
|
|
1005
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success";
|
|
1027
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
1006
1028
|
timestamp: Date;
|
|
1007
1029
|
}, {
|
|
1008
1030
|
data: {
|
|
@@ -1014,9 +1036,13 @@ export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
|
|
|
1014
1036
|
description?: string | undefined;
|
|
1015
1037
|
} | undefined;
|
|
1016
1038
|
panelVersion?: string | undefined;
|
|
1039
|
+
subpageConfig?: {
|
|
1040
|
+
uuid: string;
|
|
1041
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
1042
|
+
} | undefined;
|
|
1017
1043
|
};
|
|
1018
1044
|
scope: "service";
|
|
1019
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success";
|
|
1045
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
1020
1046
|
timestamp: string;
|
|
1021
1047
|
}>;
|
|
1022
1048
|
export declare const RemnawaveWebhookErrorsEvents: z.ZodObject<{
|
|
@@ -2032,7 +2058,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2032
2058
|
timestamp: string;
|
|
2033
2059
|
}>, z.ZodObject<{
|
|
2034
2060
|
scope: z.ZodLiteral<"service">;
|
|
2035
|
-
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
|
|
2061
|
+
event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed")[]]>;
|
|
2036
2062
|
timestamp: z.ZodEffects<z.ZodString, Date, string>;
|
|
2037
2063
|
data: z.ZodObject<{
|
|
2038
2064
|
loginAttempt: z.ZodOptional<z.ZodObject<{
|
|
@@ -2055,6 +2081,16 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2055
2081
|
description?: string | undefined;
|
|
2056
2082
|
}>>;
|
|
2057
2083
|
panelVersion: z.ZodOptional<z.ZodString>;
|
|
2084
|
+
subpageConfig: z.ZodOptional<z.ZodObject<{
|
|
2085
|
+
action: z.ZodEnum<["CREATED" | "UPDATED" | "DELETED", ...("CREATED" | "UPDATED" | "DELETED")[]]>;
|
|
2086
|
+
uuid: z.ZodString;
|
|
2087
|
+
}, "strip", z.ZodTypeAny, {
|
|
2088
|
+
uuid: string;
|
|
2089
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2090
|
+
}, {
|
|
2091
|
+
uuid: string;
|
|
2092
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2093
|
+
}>>;
|
|
2058
2094
|
}, "strip", z.ZodTypeAny, {
|
|
2059
2095
|
loginAttempt?: {
|
|
2060
2096
|
username: string;
|
|
@@ -2064,6 +2100,10 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2064
2100
|
description?: string | undefined;
|
|
2065
2101
|
} | undefined;
|
|
2066
2102
|
panelVersion?: string | undefined;
|
|
2103
|
+
subpageConfig?: {
|
|
2104
|
+
uuid: string;
|
|
2105
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2106
|
+
} | undefined;
|
|
2067
2107
|
}, {
|
|
2068
2108
|
loginAttempt?: {
|
|
2069
2109
|
username: string;
|
|
@@ -2073,6 +2113,10 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2073
2113
|
description?: string | undefined;
|
|
2074
2114
|
} | undefined;
|
|
2075
2115
|
panelVersion?: string | undefined;
|
|
2116
|
+
subpageConfig?: {
|
|
2117
|
+
uuid: string;
|
|
2118
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2119
|
+
} | undefined;
|
|
2076
2120
|
}>;
|
|
2077
2121
|
}, "strip", z.ZodTypeAny, {
|
|
2078
2122
|
data: {
|
|
@@ -2084,9 +2128,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2084
2128
|
description?: string | undefined;
|
|
2085
2129
|
} | undefined;
|
|
2086
2130
|
panelVersion?: string | undefined;
|
|
2131
|
+
subpageConfig?: {
|
|
2132
|
+
uuid: string;
|
|
2133
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2134
|
+
} | undefined;
|
|
2087
2135
|
};
|
|
2088
2136
|
scope: "service";
|
|
2089
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success";
|
|
2137
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
2090
2138
|
timestamp: Date;
|
|
2091
2139
|
}, {
|
|
2092
2140
|
data: {
|
|
@@ -2098,9 +2146,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2098
2146
|
description?: string | undefined;
|
|
2099
2147
|
} | undefined;
|
|
2100
2148
|
panelVersion?: string | undefined;
|
|
2149
|
+
subpageConfig?: {
|
|
2150
|
+
uuid: string;
|
|
2151
|
+
action: "CREATED" | "UPDATED" | "DELETED";
|
|
2152
|
+
} | undefined;
|
|
2101
2153
|
};
|
|
2102
2154
|
scope: "service";
|
|
2103
|
-
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success";
|
|
2155
|
+
event: "service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success" | "service.subpage_config_changed";
|
|
2104
2156
|
timestamp: string;
|
|
2105
2157
|
}>, z.ZodObject<{
|
|
2106
2158
|
scope: z.ZodLiteral<"errors">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhD,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC1F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,qCAAqC,CAC/C,CAAC"}
|
|
@@ -62,6 +62,12 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
|
|
|
62
62
|
})
|
|
63
63
|
.optional(),
|
|
64
64
|
panelVersion: zod_1.default.string().optional(),
|
|
65
|
+
subpageConfig: zod_1.default
|
|
66
|
+
.object({
|
|
67
|
+
action: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.CRUD_ACTIONS)),
|
|
68
|
+
uuid: zod_1.default.string().uuid(),
|
|
69
|
+
})
|
|
70
|
+
.optional(),
|
|
65
71
|
}),
|
|
66
72
|
});
|
|
67
73
|
exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CRUD_ACTIONS_VALUES = exports.CRUD_ACTIONS = void 0;
|
|
4
|
+
exports.CRUD_ACTIONS = {
|
|
5
|
+
CREATED: 'CREATED',
|
|
6
|
+
UPDATED: 'UPDATED',
|
|
7
|
+
DELETED: 'DELETED',
|
|
8
|
+
};
|
|
9
|
+
exports.CRUD_ACTIONS_VALUES = Object.values(exports.CRUD_ACTIONS);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./crud-actions.constant"), exports);
|
|
@@ -51,6 +51,7 @@ exports.EVENTS = {
|
|
|
51
51
|
PANEL_STARTED: 'service.panel_started',
|
|
52
52
|
LOGIN_ATTEMPT_FAILED: 'service.login_attempt_failed',
|
|
53
53
|
LOGIN_ATTEMPT_SUCCESS: 'service.login_attempt_success',
|
|
54
|
+
SUBPAGE_CONFIG_CHANGED: 'service.subpage_config_changed',
|
|
54
55
|
},
|
|
55
56
|
ERRORS: {
|
|
56
57
|
BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: 'errors.bandwidth_usage_threshold_reached_max_notifications',
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./cache-keys"), exports);
|
|
18
|
+
__exportStar(require("./crud-actions"), exports);
|
|
18
19
|
__exportStar(require("./endpoint-details"), exports);
|
|
19
20
|
__exportStar(require("./errors"), exports);
|
|
20
21
|
__exportStar(require("./events"), exports);
|
|
@@ -49,6 +49,12 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
49
49
|
.describe(JSON.stringify({
|
|
50
50
|
markdownDescription: 'Override the subscription template with the given name. If not provided, the default subscription template will be used. If the template name is not found, the default subscription template for this type will be used. **This modification have higher priority than settings from External Squads.**',
|
|
51
51
|
})),
|
|
52
|
+
ignoreHostXrayJsonTemplate: zod_1.default
|
|
53
|
+
.boolean()
|
|
54
|
+
.optional()
|
|
55
|
+
.describe(JSON.stringify({
|
|
56
|
+
markdownDescription: "Each Host may have its own Xray Json Template. If you set this flag to **true**, the Xray Json Template defined by the SRR will be used. **The Host's Xray Json Template will be ignored.**",
|
|
57
|
+
})),
|
|
52
58
|
})
|
|
53
59
|
.optional()
|
|
54
60
|
.describe(JSON.stringify({
|
|
@@ -62,6 +62,12 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
|
|
|
62
62
|
})
|
|
63
63
|
.optional(),
|
|
64
64
|
panelVersion: zod_1.default.string().optional(),
|
|
65
|
+
subpageConfig: zod_1.default
|
|
66
|
+
.object({
|
|
67
|
+
action: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.CRUD_ACTIONS)),
|
|
68
|
+
uuid: zod_1.default.string().uuid(),
|
|
69
|
+
})
|
|
70
|
+
.optional(),
|
|
65
71
|
}),
|
|
66
72
|
});
|
|
67
73
|
exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
|