@camstack/types 1.2.422 → 1.2.423
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/dist/capabilities/notification-rules.cap.d.ts +12 -0
- package/dist/client.js +14 -1
- package/dist/client.mjs +14 -1
- package/dist/index.js +14 -1
- package/dist/index.mjs +14 -1
- package/package.json +1 -1
|
@@ -1616,6 +1616,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
|
|
|
1616
1616
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1617
1617
|
}, z.core.$strip>>;
|
|
1618
1618
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
1619
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
1619
1620
|
}, z.core.$strip>;
|
|
1620
1621
|
export type NcRuleInput = z.infer<typeof NcRuleInputSchema>;
|
|
1621
1622
|
/**
|
|
@@ -1789,6 +1790,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
|
|
|
1789
1790
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
1790
1791
|
}, z.core.$strip>>>;
|
|
1791
1792
|
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1793
|
+
askVerdict: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1792
1794
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1793
1795
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1794
1796
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -2194,6 +2196,7 @@ export declare const NcRuleUpdateInputSchema: z.ZodObject<{
|
|
|
2194
2196
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
2195
2197
|
}, z.core.$strip>>>;
|
|
2196
2198
|
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2199
|
+
askVerdict: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2197
2200
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2198
2201
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2199
2202
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -2775,6 +2778,7 @@ export declare const NcRuleSchema: z.ZodObject<{
|
|
|
2775
2778
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
2776
2779
|
}, z.core.$strip>>;
|
|
2777
2780
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
2781
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
2778
2782
|
id: z.ZodString;
|
|
2779
2783
|
createdBy: z.ZodString;
|
|
2780
2784
|
createdAt: z.ZodNumber;
|
|
@@ -4933,6 +4937,7 @@ export declare const notificationRulesCapability: {
|
|
|
4933
4937
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
4934
4938
|
}, z.core.$strip>>;
|
|
4935
4939
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
4940
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
4936
4941
|
id: z.ZodString;
|
|
4937
4942
|
createdBy: z.ZodString;
|
|
4938
4943
|
createdAt: z.ZodNumber;
|
|
@@ -5306,6 +5311,7 @@ export declare const notificationRulesCapability: {
|
|
|
5306
5311
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
5307
5312
|
}, z.core.$strip>>;
|
|
5308
5313
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
5314
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
5309
5315
|
id: z.ZodString;
|
|
5310
5316
|
createdBy: z.ZodString;
|
|
5311
5317
|
createdAt: z.ZodNumber;
|
|
@@ -5677,6 +5683,7 @@ export declare const notificationRulesCapability: {
|
|
|
5677
5683
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
5678
5684
|
}, z.core.$strip>>;
|
|
5679
5685
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
5686
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
5680
5687
|
}, z.core.$strip>;
|
|
5681
5688
|
}, z.core.$strip>, z.ZodObject<{
|
|
5682
5689
|
rule: z.ZodObject<{
|
|
@@ -6042,6 +6049,7 @@ export declare const notificationRulesCapability: {
|
|
|
6042
6049
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
6043
6050
|
}, z.core.$strip>>;
|
|
6044
6051
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
6052
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
6045
6053
|
id: z.ZodString;
|
|
6046
6054
|
createdBy: z.ZodString;
|
|
6047
6055
|
createdAt: z.ZodNumber;
|
|
@@ -6215,6 +6223,7 @@ export declare const notificationRulesCapability: {
|
|
|
6215
6223
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
6216
6224
|
}, z.core.$strip>>>;
|
|
6217
6225
|
groupingSec: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
6226
|
+
askVerdict: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6218
6227
|
disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6219
6228
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6220
6229
|
conditions: z.ZodOptional<z.ZodObject<{
|
|
@@ -6794,6 +6803,7 @@ export declare const notificationRulesCapability: {
|
|
|
6794
6803
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
6795
6804
|
}, z.core.$strip>>;
|
|
6796
6805
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
6806
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
6797
6807
|
id: z.ZodString;
|
|
6798
6808
|
createdBy: z.ZodString;
|
|
6799
6809
|
createdAt: z.ZodNumber;
|
|
@@ -7358,6 +7368,7 @@ export declare const notificationRulesCapability: {
|
|
|
7358
7368
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
7359
7369
|
}, z.core.$strip>>;
|
|
7360
7370
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
7371
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
7361
7372
|
}, z.core.$strip>;
|
|
7362
7373
|
lookbackMinutes: z.ZodDefault<z.ZodNumber>;
|
|
7363
7374
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -7748,6 +7759,7 @@ export declare const notificationRulesCapability: {
|
|
|
7748
7759
|
maxImagePx: z.ZodDefault<z.ZodNumber>;
|
|
7749
7760
|
}, z.core.$strip>>;
|
|
7750
7761
|
groupingSec: z.ZodOptional<z.ZodNumber>;
|
|
7762
|
+
askVerdict: z.ZodOptional<z.ZodBoolean>;
|
|
7751
7763
|
}, z.core.$strip>;
|
|
7752
7764
|
}, z.core.$strip>, z.ZodObject<{
|
|
7753
7765
|
empty: z.ZodBoolean;
|
package/dist/client.js
CHANGED
|
@@ -23833,7 +23833,20 @@ var NcRuleInputSchema = zod.z.object({
|
|
|
23833
23833
|
* save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
|
|
23834
23834
|
* path does not run Zod defaults.
|
|
23835
23835
|
*/
|
|
23836
|
-
groupingSec: zod.z.number().int().min(5).max(60).optional()
|
|
23836
|
+
groupingSec: zod.z.number().int().min(5).max(60).optional(),
|
|
23837
|
+
/**
|
|
23838
|
+
* ASK ME TO CONFIRM DETECTIONS (#243): a DETECTION notification of this rule
|
|
23839
|
+
* carries "Correct" / "Wrong" buttons (and, where the channel has room, a
|
|
23840
|
+
* "Wrong, it is a <class>" choice). A tap marks the track for retraining, the
|
|
23841
|
+
* same mark the Library writes, and records whose notification it was and
|
|
23842
|
+
* when. A channel with no buttons gets the same two choices as links.
|
|
23843
|
+
*
|
|
23844
|
+
* `.optional()`, never `.default()` (a Zod default does not run on the addon
|
|
23845
|
+
* cap path): absent and `false` both mean off, which is what every rule
|
|
23846
|
+
* authored before this field meant. An editor turns it off by writing
|
|
23847
|
+
* `false`, so it needs no `clear` key.
|
|
23848
|
+
*/
|
|
23849
|
+
askVerdict: zod.z.boolean().optional()
|
|
23837
23850
|
});
|
|
23838
23851
|
/**
|
|
23839
23852
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
package/dist/client.mjs
CHANGED
|
@@ -23832,7 +23832,20 @@ var NcRuleInputSchema = z.object({
|
|
|
23832
23832
|
* save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
|
|
23833
23833
|
* path does not run Zod defaults.
|
|
23834
23834
|
*/
|
|
23835
|
-
groupingSec: z.number().int().min(5).max(60).optional()
|
|
23835
|
+
groupingSec: z.number().int().min(5).max(60).optional(),
|
|
23836
|
+
/**
|
|
23837
|
+
* ASK ME TO CONFIRM DETECTIONS (#243): a DETECTION notification of this rule
|
|
23838
|
+
* carries "Correct" / "Wrong" buttons (and, where the channel has room, a
|
|
23839
|
+
* "Wrong, it is a <class>" choice). A tap marks the track for retraining, the
|
|
23840
|
+
* same mark the Library writes, and records whose notification it was and
|
|
23841
|
+
* when. A channel with no buttons gets the same two choices as links.
|
|
23842
|
+
*
|
|
23843
|
+
* `.optional()`, never `.default()` (a Zod default does not run on the addon
|
|
23844
|
+
* cap path): absent and `false` both mean off, which is what every rule
|
|
23845
|
+
* authored before this field meant. An editor turns it off by writing
|
|
23846
|
+
* `false`, so it needs no `clear` key.
|
|
23847
|
+
*/
|
|
23848
|
+
askVerdict: z.boolean().optional()
|
|
23836
23849
|
});
|
|
23837
23850
|
/**
|
|
23838
23851
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
package/dist/index.js
CHANGED
|
@@ -47040,7 +47040,20 @@ var NcRuleInputSchema = zod.z.object({
|
|
|
47040
47040
|
* save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
|
|
47041
47041
|
* path does not run Zod defaults.
|
|
47042
47042
|
*/
|
|
47043
|
-
groupingSec: zod.z.number().int().min(5).max(60).optional()
|
|
47043
|
+
groupingSec: zod.z.number().int().min(5).max(60).optional(),
|
|
47044
|
+
/**
|
|
47045
|
+
* ASK ME TO CONFIRM DETECTIONS (#243): a DETECTION notification of this rule
|
|
47046
|
+
* carries "Correct" / "Wrong" buttons (and, where the channel has room, a
|
|
47047
|
+
* "Wrong, it is a <class>" choice). A tap marks the track for retraining, the
|
|
47048
|
+
* same mark the Library writes, and records whose notification it was and
|
|
47049
|
+
* when. A channel with no buttons gets the same two choices as links.
|
|
47050
|
+
*
|
|
47051
|
+
* `.optional()`, never `.default()` (a Zod default does not run on the addon
|
|
47052
|
+
* cap path): absent and `false` both mean off, which is what every rule
|
|
47053
|
+
* authored before this field meant. An editor turns it off by writing
|
|
47054
|
+
* `false`, so it needs no `clear` key.
|
|
47055
|
+
*/
|
|
47056
|
+
askVerdict: zod.z.boolean().optional()
|
|
47044
47057
|
});
|
|
47045
47058
|
/**
|
|
47046
47059
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
package/dist/index.mjs
CHANGED
|
@@ -47039,7 +47039,20 @@ var NcRuleInputSchema = z.object({
|
|
|
47039
47039
|
* save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
|
|
47040
47040
|
* path does not run Zod defaults.
|
|
47041
47041
|
*/
|
|
47042
|
-
groupingSec: z.number().int().min(5).max(60).optional()
|
|
47042
|
+
groupingSec: z.number().int().min(5).max(60).optional(),
|
|
47043
|
+
/**
|
|
47044
|
+
* ASK ME TO CONFIRM DETECTIONS (#243): a DETECTION notification of this rule
|
|
47045
|
+
* carries "Correct" / "Wrong" buttons (and, where the channel has room, a
|
|
47046
|
+
* "Wrong, it is a <class>" choice). A tap marks the track for retraining, the
|
|
47047
|
+
* same mark the Library writes, and records whose notification it was and
|
|
47048
|
+
* when. A channel with no buttons gets the same two choices as links.
|
|
47049
|
+
*
|
|
47050
|
+
* `.optional()`, never `.default()` (a Zod default does not run on the addon
|
|
47051
|
+
* cap path): absent and `false` both mean off, which is what every rule
|
|
47052
|
+
* authored before this field meant. An editor turns it off by writing
|
|
47053
|
+
* `false`, so it needs no `clear` key.
|
|
47054
|
+
*/
|
|
47055
|
+
askVerdict: z.boolean().optional()
|
|
47043
47056
|
});
|
|
47044
47057
|
/**
|
|
47045
47058
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|