@awarevue/api-types 1.0.58 → 1.0.60

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.
@@ -3,12 +3,15 @@ export declare const sCredentialType: z.ZodEnum<["card", "pin", "fingerprint"]>;
3
3
  export declare const sAssignedCredential: z.ZodObject<{
4
4
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
5
5
  value: z.ZodString;
6
+ note: z.ZodNullable<z.ZodString>;
6
7
  }, "strip", z.ZodTypeAny, {
7
8
  type: "card" | "pin" | "fingerprint";
8
9
  value: string;
10
+ note: string | null;
9
11
  }, {
10
12
  type: "card" | "pin" | "fingerprint";
11
13
  value: string;
14
+ note: string | null;
12
15
  }>;
13
16
  export type CredentialType = z.infer<typeof sCredentialType>;
14
17
  export type AssignedCredential = z.infer<typeof sAssignedCredential>;
@@ -9,4 +9,5 @@ exports.sCredentialType = zod_1.default.enum(['card', 'pin', 'fingerprint']);
9
9
  exports.sAssignedCredential = zod_1.default.object({
10
10
  type: exports.sCredentialType,
11
11
  value: zod_1.default.string().nonempty(),
12
+ note: zod_1.default.string().nullable(),
12
13
  });
@@ -25,12 +25,15 @@ export declare const sPersonDto: z.ZodObject<{
25
25
  credentials: z.ZodArray<z.ZodObject<{
26
26
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
27
27
  value: z.ZodString;
28
+ note: z.ZodNullable<z.ZodString>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  type: "card" | "pin" | "fingerprint";
30
31
  value: string;
32
+ note: string | null;
31
33
  }, {
32
34
  type: "card" | "pin" | "fingerprint";
33
35
  value: string;
36
+ note: string | null;
34
37
  }>, "many">;
35
38
  accessRules: z.ZodArray<z.ZodObject<{
36
39
  id: z.ZodString;
@@ -63,6 +66,7 @@ export declare const sPersonDto: z.ZodObject<{
63
66
  credentials: {
64
67
  type: "card" | "pin" | "fingerprint";
65
68
  value: string;
69
+ note: string | null;
66
70
  }[];
67
71
  accessRules: {
68
72
  id: string;
@@ -87,6 +91,7 @@ export declare const sPersonDto: z.ZodObject<{
87
91
  credentials: {
88
92
  type: "card" | "pin" | "fingerprint";
89
93
  value: string;
94
+ note: string | null;
90
95
  }[];
91
96
  accessRules: {
92
97
  id: string;
@@ -106,12 +111,15 @@ export declare const sCreatePersonRequest: z.ZodObject<{
106
111
  credentials: z.ZodArray<z.ZodObject<{
107
112
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
108
113
  value: z.ZodString;
114
+ note: z.ZodNullable<z.ZodString>;
109
115
  }, "strip", z.ZodTypeAny, {
110
116
  type: "card" | "pin" | "fingerprint";
111
117
  value: string;
118
+ note: string | null;
112
119
  }, {
113
120
  type: "card" | "pin" | "fingerprint";
114
121
  value: string;
122
+ note: string | null;
115
123
  }>, "many">;
116
124
  accessRules: z.ZodArray<z.ZodString, "many">;
117
125
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -127,6 +135,7 @@ export declare const sCreatePersonRequest: z.ZodObject<{
127
135
  credentials: {
128
136
  type: "card" | "pin" | "fingerprint";
129
137
  value: string;
138
+ note: string | null;
130
139
  }[];
131
140
  accessRules: string[];
132
141
  customFields: Record<string, string> | null;
@@ -142,6 +151,7 @@ export declare const sCreatePersonRequest: z.ZodObject<{
142
151
  credentials: {
143
152
  type: "card" | "pin" | "fingerprint";
144
153
  value: string;
154
+ note: string | null;
145
155
  }[];
146
156
  accessRules: string[];
147
157
  customFields: Record<string, string> | null;
@@ -158,12 +168,15 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
158
168
  credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
169
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
160
170
  value: z.ZodString;
171
+ note: z.ZodNullable<z.ZodString>;
161
172
  }, "strip", z.ZodTypeAny, {
162
173
  type: "card" | "pin" | "fingerprint";
163
174
  value: string;
175
+ note: string | null;
164
176
  }, {
165
177
  type: "card" | "pin" | "fingerprint";
166
178
  value: string;
179
+ note: string | null;
167
180
  }>, "many">>;
168
181
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
169
182
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -181,6 +194,7 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
181
194
  credentials?: {
182
195
  type: "card" | "pin" | "fingerprint";
183
196
  value: string;
197
+ note: string | null;
184
198
  }[] | undefined;
185
199
  accessRules?: string[] | undefined;
186
200
  customFields?: Record<string, string> | null | undefined;
@@ -197,6 +211,7 @@ export declare const sUpdatePersonRequest: z.ZodObject<{
197
211
  credentials?: {
198
212
  type: "card" | "pin" | "fingerprint";
199
213
  value: string;
214
+ note: string | null;
200
215
  }[] | undefined;
201
216
  accessRules?: string[] | undefined;
202
217
  customFields?: Record<string, string> | null | undefined;
@@ -1839,12 +1839,15 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1839
1839
  credentials: z.ZodArray<z.ZodObject<{
1840
1840
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
1841
1841
  value: z.ZodString;
1842
+ note: z.ZodNullable<z.ZodString>;
1842
1843
  }, "strip", z.ZodTypeAny, {
1843
1844
  type: "card" | "pin" | "fingerprint";
1844
1845
  value: string;
1846
+ note: string | null;
1845
1847
  }, {
1846
1848
  type: "card" | "pin" | "fingerprint";
1847
1849
  value: string;
1850
+ note: string | null;
1848
1851
  }>, "many">;
1849
1852
  accessRules: z.ZodArray<z.ZodString, "many">;
1850
1853
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1860,6 +1863,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1860
1863
  credentials: {
1861
1864
  type: "card" | "pin" | "fingerprint";
1862
1865
  value: string;
1866
+ note: string | null;
1863
1867
  }[];
1864
1868
  accessRules: string[];
1865
1869
  customFields: Record<string, string> | null;
@@ -1875,6 +1879,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1875
1879
  credentials: {
1876
1880
  type: "card" | "pin" | "fingerprint";
1877
1881
  value: string;
1882
+ note: string | null;
1878
1883
  }[];
1879
1884
  accessRules: string[];
1880
1885
  customFields: Record<string, string> | null;
@@ -1896,6 +1901,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1896
1901
  credentials: {
1897
1902
  type: "card" | "pin" | "fingerprint";
1898
1903
  value: string;
1904
+ note: string | null;
1899
1905
  }[];
1900
1906
  accessRules: string[];
1901
1907
  customFields: Record<string, string> | null;
@@ -1917,6 +1923,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1917
1923
  credentials: {
1918
1924
  type: "card" | "pin" | "fingerprint";
1919
1925
  value: string;
1926
+ note: string | null;
1920
1927
  }[];
1921
1928
  accessRules: string[];
1922
1929
  customFields: Record<string, string> | null;
@@ -1937,12 +1944,15 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1937
1944
  credentials: z.ZodArray<z.ZodObject<{
1938
1945
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
1939
1946
  value: z.ZodString;
1947
+ note: z.ZodNullable<z.ZodString>;
1940
1948
  }, "strip", z.ZodTypeAny, {
1941
1949
  type: "card" | "pin" | "fingerprint";
1942
1950
  value: string;
1951
+ note: string | null;
1943
1952
  }, {
1944
1953
  type: "card" | "pin" | "fingerprint";
1945
1954
  value: string;
1955
+ note: string | null;
1946
1956
  }>, "many">;
1947
1957
  accessRules: z.ZodArray<z.ZodString, "many">;
1948
1958
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1958,6 +1968,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1958
1968
  credentials: {
1959
1969
  type: "card" | "pin" | "fingerprint";
1960
1970
  value: string;
1971
+ note: string | null;
1961
1972
  }[];
1962
1973
  accessRules: string[];
1963
1974
  customFields: Record<string, string> | null;
@@ -1973,6 +1984,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1973
1984
  credentials: {
1974
1985
  type: "card" | "pin" | "fingerprint";
1975
1986
  value: string;
1987
+ note: string | null;
1976
1988
  }[];
1977
1989
  accessRules: string[];
1978
1990
  customFields: Record<string, string> | null;
@@ -1989,12 +2001,15 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
1989
2001
  credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
1990
2002
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
1991
2003
  value: z.ZodString;
2004
+ note: z.ZodNullable<z.ZodString>;
1992
2005
  }, "strip", z.ZodTypeAny, {
1993
2006
  type: "card" | "pin" | "fingerprint";
1994
2007
  value: string;
2008
+ note: string | null;
1995
2009
  }, {
1996
2010
  type: "card" | "pin" | "fingerprint";
1997
2011
  value: string;
2012
+ note: string | null;
1998
2013
  }>, "many">>;
1999
2014
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2000
2015
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -2010,6 +2025,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2010
2025
  credentials?: {
2011
2026
  type: "card" | "pin" | "fingerprint";
2012
2027
  value: string;
2028
+ note: string | null;
2013
2029
  }[] | undefined;
2014
2030
  accessRules?: string[] | undefined;
2015
2031
  customFields?: Record<string, string> | null | undefined;
@@ -2025,6 +2041,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2025
2041
  credentials?: {
2026
2042
  type: "card" | "pin" | "fingerprint";
2027
2043
  value: string;
2044
+ note: string | null;
2028
2045
  }[] | undefined;
2029
2046
  accessRules?: string[] | undefined;
2030
2047
  customFields?: Record<string, string> | null | undefined;
@@ -2045,6 +2062,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2045
2062
  credentials: {
2046
2063
  type: "card" | "pin" | "fingerprint";
2047
2064
  value: string;
2065
+ note: string | null;
2048
2066
  }[];
2049
2067
  accessRules: string[];
2050
2068
  customFields: Record<string, string> | null;
@@ -2061,6 +2079,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2061
2079
  credentials?: {
2062
2080
  type: "card" | "pin" | "fingerprint";
2063
2081
  value: string;
2082
+ note: string | null;
2064
2083
  }[] | undefined;
2065
2084
  accessRules?: string[] | undefined;
2066
2085
  customFields?: Record<string, string> | null | undefined;
@@ -2081,6 +2100,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2081
2100
  credentials: {
2082
2101
  type: "card" | "pin" | "fingerprint";
2083
2102
  value: string;
2103
+ note: string | null;
2084
2104
  }[];
2085
2105
  accessRules: string[];
2086
2106
  customFields: Record<string, string> | null;
@@ -2097,6 +2117,7 @@ export declare const sObjectMerge: z.ZodUnion<[z.ZodObject<{
2097
2117
  credentials?: {
2098
2118
  type: "card" | "pin" | "fingerprint";
2099
2119
  value: string;
2120
+ note: string | null;
2100
2121
  }[] | undefined;
2101
2122
  accessRules?: string[] | undefined;
2102
2123
  customFields?: Record<string, string> | null | undefined;
@@ -2463,12 +2484,15 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
2463
2484
  credentials: z.ZodArray<z.ZodObject<{
2464
2485
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
2465
2486
  value: z.ZodString;
2487
+ note: z.ZodNullable<z.ZodString>;
2466
2488
  }, "strip", z.ZodTypeAny, {
2467
2489
  type: "card" | "pin" | "fingerprint";
2468
2490
  value: string;
2491
+ note: string | null;
2469
2492
  }, {
2470
2493
  type: "card" | "pin" | "fingerprint";
2471
2494
  value: string;
2495
+ note: string | null;
2472
2496
  }>, "many">;
2473
2497
  accessRules: z.ZodArray<z.ZodString, "many">;
2474
2498
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2484,6 +2508,7 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
2484
2508
  credentials: {
2485
2509
  type: "card" | "pin" | "fingerprint";
2486
2510
  value: string;
2511
+ note: string | null;
2487
2512
  }[];
2488
2513
  accessRules: string[];
2489
2514
  customFields: Record<string, string> | null;
@@ -2499,6 +2524,7 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
2499
2524
  credentials: {
2500
2525
  type: "card" | "pin" | "fingerprint";
2501
2526
  value: string;
2527
+ note: string | null;
2502
2528
  }[];
2503
2529
  accessRules: string[];
2504
2530
  customFields: Record<string, string> | null;
@@ -2519,6 +2545,7 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
2519
2545
  credentials: {
2520
2546
  type: "card" | "pin" | "fingerprint";
2521
2547
  value: string;
2548
+ note: string | null;
2522
2549
  }[];
2523
2550
  accessRules: string[];
2524
2551
  customFields: Record<string, string> | null;
@@ -2539,6 +2566,7 @@ export declare const sObjectDelete: z.ZodUnion<[z.ZodObject<{
2539
2566
  credentials: {
2540
2567
  type: "card" | "pin" | "fingerprint";
2541
2568
  value: string;
2569
+ note: string | null;
2542
2570
  }[];
2543
2571
  accessRules: string[];
2544
2572
  customFields: Record<string, string> | null;
@@ -3365,12 +3393,15 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3365
3393
  credentials: z.ZodArray<z.ZodObject<{
3366
3394
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
3367
3395
  value: z.ZodString;
3396
+ note: z.ZodNullable<z.ZodString>;
3368
3397
  }, "strip", z.ZodTypeAny, {
3369
3398
  type: "card" | "pin" | "fingerprint";
3370
3399
  value: string;
3400
+ note: string | null;
3371
3401
  }, {
3372
3402
  type: "card" | "pin" | "fingerprint";
3373
3403
  value: string;
3404
+ note: string | null;
3374
3405
  }>, "many">;
3375
3406
  accessRules: z.ZodArray<z.ZodString, "many">;
3376
3407
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3386,6 +3417,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3386
3417
  credentials: {
3387
3418
  type: "card" | "pin" | "fingerprint";
3388
3419
  value: string;
3420
+ note: string | null;
3389
3421
  }[];
3390
3422
  accessRules: string[];
3391
3423
  customFields: Record<string, string> | null;
@@ -3401,6 +3433,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3401
3433
  credentials: {
3402
3434
  type: "card" | "pin" | "fingerprint";
3403
3435
  value: string;
3436
+ note: string | null;
3404
3437
  }[];
3405
3438
  accessRules: string[];
3406
3439
  customFields: Record<string, string> | null;
@@ -3422,6 +3455,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3422
3455
  credentials: {
3423
3456
  type: "card" | "pin" | "fingerprint";
3424
3457
  value: string;
3458
+ note: string | null;
3425
3459
  }[];
3426
3460
  accessRules: string[];
3427
3461
  customFields: Record<string, string> | null;
@@ -3443,6 +3477,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3443
3477
  credentials: {
3444
3478
  type: "card" | "pin" | "fingerprint";
3445
3479
  value: string;
3480
+ note: string | null;
3446
3481
  }[];
3447
3482
  accessRules: string[];
3448
3483
  customFields: Record<string, string> | null;
@@ -3463,12 +3498,15 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3463
3498
  credentials: z.ZodArray<z.ZodObject<{
3464
3499
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
3465
3500
  value: z.ZodString;
3501
+ note: z.ZodNullable<z.ZodString>;
3466
3502
  }, "strip", z.ZodTypeAny, {
3467
3503
  type: "card" | "pin" | "fingerprint";
3468
3504
  value: string;
3505
+ note: string | null;
3469
3506
  }, {
3470
3507
  type: "card" | "pin" | "fingerprint";
3471
3508
  value: string;
3509
+ note: string | null;
3472
3510
  }>, "many">;
3473
3511
  accessRules: z.ZodArray<z.ZodString, "many">;
3474
3512
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3484,6 +3522,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3484
3522
  credentials: {
3485
3523
  type: "card" | "pin" | "fingerprint";
3486
3524
  value: string;
3525
+ note: string | null;
3487
3526
  }[];
3488
3527
  accessRules: string[];
3489
3528
  customFields: Record<string, string> | null;
@@ -3499,6 +3538,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3499
3538
  credentials: {
3500
3539
  type: "card" | "pin" | "fingerprint";
3501
3540
  value: string;
3541
+ note: string | null;
3502
3542
  }[];
3503
3543
  accessRules: string[];
3504
3544
  customFields: Record<string, string> | null;
@@ -3515,12 +3555,15 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3515
3555
  credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
3516
3556
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
3517
3557
  value: z.ZodString;
3558
+ note: z.ZodNullable<z.ZodString>;
3518
3559
  }, "strip", z.ZodTypeAny, {
3519
3560
  type: "card" | "pin" | "fingerprint";
3520
3561
  value: string;
3562
+ note: string | null;
3521
3563
  }, {
3522
3564
  type: "card" | "pin" | "fingerprint";
3523
3565
  value: string;
3566
+ note: string | null;
3524
3567
  }>, "many">>;
3525
3568
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3526
3569
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -3536,6 +3579,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3536
3579
  credentials?: {
3537
3580
  type: "card" | "pin" | "fingerprint";
3538
3581
  value: string;
3582
+ note: string | null;
3539
3583
  }[] | undefined;
3540
3584
  accessRules?: string[] | undefined;
3541
3585
  customFields?: Record<string, string> | null | undefined;
@@ -3551,6 +3595,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3551
3595
  credentials?: {
3552
3596
  type: "card" | "pin" | "fingerprint";
3553
3597
  value: string;
3598
+ note: string | null;
3554
3599
  }[] | undefined;
3555
3600
  accessRules?: string[] | undefined;
3556
3601
  customFields?: Record<string, string> | null | undefined;
@@ -3571,6 +3616,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3571
3616
  credentials: {
3572
3617
  type: "card" | "pin" | "fingerprint";
3573
3618
  value: string;
3619
+ note: string | null;
3574
3620
  }[];
3575
3621
  accessRules: string[];
3576
3622
  customFields: Record<string, string> | null;
@@ -3587,6 +3633,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3587
3633
  credentials?: {
3588
3634
  type: "card" | "pin" | "fingerprint";
3589
3635
  value: string;
3636
+ note: string | null;
3590
3637
  }[] | undefined;
3591
3638
  accessRules?: string[] | undefined;
3592
3639
  customFields?: Record<string, string> | null | undefined;
@@ -3607,6 +3654,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3607
3654
  credentials: {
3608
3655
  type: "card" | "pin" | "fingerprint";
3609
3656
  value: string;
3657
+ note: string | null;
3610
3658
  }[];
3611
3659
  accessRules: string[];
3612
3660
  customFields: Record<string, string> | null;
@@ -3623,6 +3671,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3623
3671
  credentials?: {
3624
3672
  type: "card" | "pin" | "fingerprint";
3625
3673
  value: string;
3674
+ note: string | null;
3626
3675
  }[] | undefined;
3627
3676
  accessRules?: string[] | undefined;
3628
3677
  customFields?: Record<string, string> | null | undefined;
@@ -3988,12 +4037,15 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3988
4037
  credentials: z.ZodArray<z.ZodObject<{
3989
4038
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
3990
4039
  value: z.ZodString;
4040
+ note: z.ZodNullable<z.ZodString>;
3991
4041
  }, "strip", z.ZodTypeAny, {
3992
4042
  type: "card" | "pin" | "fingerprint";
3993
4043
  value: string;
4044
+ note: string | null;
3994
4045
  }, {
3995
4046
  type: "card" | "pin" | "fingerprint";
3996
4047
  value: string;
4048
+ note: string | null;
3997
4049
  }>, "many">;
3998
4050
  accessRules: z.ZodArray<z.ZodString, "many">;
3999
4051
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4009,6 +4061,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4009
4061
  credentials: {
4010
4062
  type: "card" | "pin" | "fingerprint";
4011
4063
  value: string;
4064
+ note: string | null;
4012
4065
  }[];
4013
4066
  accessRules: string[];
4014
4067
  customFields: Record<string, string> | null;
@@ -4024,6 +4077,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4024
4077
  credentials: {
4025
4078
  type: "card" | "pin" | "fingerprint";
4026
4079
  value: string;
4080
+ note: string | null;
4027
4081
  }[];
4028
4082
  accessRules: string[];
4029
4083
  customFields: Record<string, string> | null;
@@ -4044,6 +4098,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4044
4098
  credentials: {
4045
4099
  type: "card" | "pin" | "fingerprint";
4046
4100
  value: string;
4101
+ note: string | null;
4047
4102
  }[];
4048
4103
  accessRules: string[];
4049
4104
  customFields: Record<string, string> | null;
@@ -4064,6 +4119,7 @@ export declare const sAccessMutation: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4064
4119
  credentials: {
4065
4120
  type: "card" | "pin" | "fingerprint";
4066
4121
  value: string;
4122
+ note: string | null;
4067
4123
  }[];
4068
4124
  accessRules: string[];
4069
4125
  customFields: Record<string, string> | null;
@@ -4897,12 +4953,15 @@ export declare const sValidateChangeRq: z.ZodObject<{
4897
4953
  credentials: z.ZodArray<z.ZodObject<{
4898
4954
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
4899
4955
  value: z.ZodString;
4956
+ note: z.ZodNullable<z.ZodString>;
4900
4957
  }, "strip", z.ZodTypeAny, {
4901
4958
  type: "card" | "pin" | "fingerprint";
4902
4959
  value: string;
4960
+ note: string | null;
4903
4961
  }, {
4904
4962
  type: "card" | "pin" | "fingerprint";
4905
4963
  value: string;
4964
+ note: string | null;
4906
4965
  }>, "many">;
4907
4966
  accessRules: z.ZodArray<z.ZodString, "many">;
4908
4967
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -4918,6 +4977,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
4918
4977
  credentials: {
4919
4978
  type: "card" | "pin" | "fingerprint";
4920
4979
  value: string;
4980
+ note: string | null;
4921
4981
  }[];
4922
4982
  accessRules: string[];
4923
4983
  customFields: Record<string, string> | null;
@@ -4933,6 +4993,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
4933
4993
  credentials: {
4934
4994
  type: "card" | "pin" | "fingerprint";
4935
4995
  value: string;
4996
+ note: string | null;
4936
4997
  }[];
4937
4998
  accessRules: string[];
4938
4999
  customFields: Record<string, string> | null;
@@ -4954,6 +5015,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
4954
5015
  credentials: {
4955
5016
  type: "card" | "pin" | "fingerprint";
4956
5017
  value: string;
5018
+ note: string | null;
4957
5019
  }[];
4958
5020
  accessRules: string[];
4959
5021
  customFields: Record<string, string> | null;
@@ -4975,6 +5037,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
4975
5037
  credentials: {
4976
5038
  type: "card" | "pin" | "fingerprint";
4977
5039
  value: string;
5040
+ note: string | null;
4978
5041
  }[];
4979
5042
  accessRules: string[];
4980
5043
  customFields: Record<string, string> | null;
@@ -4995,12 +5058,15 @@ export declare const sValidateChangeRq: z.ZodObject<{
4995
5058
  credentials: z.ZodArray<z.ZodObject<{
4996
5059
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
4997
5060
  value: z.ZodString;
5061
+ note: z.ZodNullable<z.ZodString>;
4998
5062
  }, "strip", z.ZodTypeAny, {
4999
5063
  type: "card" | "pin" | "fingerprint";
5000
5064
  value: string;
5065
+ note: string | null;
5001
5066
  }, {
5002
5067
  type: "card" | "pin" | "fingerprint";
5003
5068
  value: string;
5069
+ note: string | null;
5004
5070
  }>, "many">;
5005
5071
  accessRules: z.ZodArray<z.ZodString, "many">;
5006
5072
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5016,6 +5082,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5016
5082
  credentials: {
5017
5083
  type: "card" | "pin" | "fingerprint";
5018
5084
  value: string;
5085
+ note: string | null;
5019
5086
  }[];
5020
5087
  accessRules: string[];
5021
5088
  customFields: Record<string, string> | null;
@@ -5031,6 +5098,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5031
5098
  credentials: {
5032
5099
  type: "card" | "pin" | "fingerprint";
5033
5100
  value: string;
5101
+ note: string | null;
5034
5102
  }[];
5035
5103
  accessRules: string[];
5036
5104
  customFields: Record<string, string> | null;
@@ -5047,12 +5115,15 @@ export declare const sValidateChangeRq: z.ZodObject<{
5047
5115
  credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
5048
5116
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
5049
5117
  value: z.ZodString;
5118
+ note: z.ZodNullable<z.ZodString>;
5050
5119
  }, "strip", z.ZodTypeAny, {
5051
5120
  type: "card" | "pin" | "fingerprint";
5052
5121
  value: string;
5122
+ note: string | null;
5053
5123
  }, {
5054
5124
  type: "card" | "pin" | "fingerprint";
5055
5125
  value: string;
5126
+ note: string | null;
5056
5127
  }>, "many">>;
5057
5128
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5058
5129
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -5068,6 +5139,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5068
5139
  credentials?: {
5069
5140
  type: "card" | "pin" | "fingerprint";
5070
5141
  value: string;
5142
+ note: string | null;
5071
5143
  }[] | undefined;
5072
5144
  accessRules?: string[] | undefined;
5073
5145
  customFields?: Record<string, string> | null | undefined;
@@ -5083,6 +5155,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5083
5155
  credentials?: {
5084
5156
  type: "card" | "pin" | "fingerprint";
5085
5157
  value: string;
5158
+ note: string | null;
5086
5159
  }[] | undefined;
5087
5160
  accessRules?: string[] | undefined;
5088
5161
  customFields?: Record<string, string> | null | undefined;
@@ -5103,6 +5176,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5103
5176
  credentials: {
5104
5177
  type: "card" | "pin" | "fingerprint";
5105
5178
  value: string;
5179
+ note: string | null;
5106
5180
  }[];
5107
5181
  accessRules: string[];
5108
5182
  customFields: Record<string, string> | null;
@@ -5119,6 +5193,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5119
5193
  credentials?: {
5120
5194
  type: "card" | "pin" | "fingerprint";
5121
5195
  value: string;
5196
+ note: string | null;
5122
5197
  }[] | undefined;
5123
5198
  accessRules?: string[] | undefined;
5124
5199
  customFields?: Record<string, string> | null | undefined;
@@ -5139,6 +5214,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5139
5214
  credentials: {
5140
5215
  type: "card" | "pin" | "fingerprint";
5141
5216
  value: string;
5217
+ note: string | null;
5142
5218
  }[];
5143
5219
  accessRules: string[];
5144
5220
  customFields: Record<string, string> | null;
@@ -5155,6 +5231,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5155
5231
  credentials?: {
5156
5232
  type: "card" | "pin" | "fingerprint";
5157
5233
  value: string;
5234
+ note: string | null;
5158
5235
  }[] | undefined;
5159
5236
  accessRules?: string[] | undefined;
5160
5237
  customFields?: Record<string, string> | null | undefined;
@@ -5520,12 +5597,15 @@ export declare const sValidateChangeRq: z.ZodObject<{
5520
5597
  credentials: z.ZodArray<z.ZodObject<{
5521
5598
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
5522
5599
  value: z.ZodString;
5600
+ note: z.ZodNullable<z.ZodString>;
5523
5601
  }, "strip", z.ZodTypeAny, {
5524
5602
  type: "card" | "pin" | "fingerprint";
5525
5603
  value: string;
5604
+ note: string | null;
5526
5605
  }, {
5527
5606
  type: "card" | "pin" | "fingerprint";
5528
5607
  value: string;
5608
+ note: string | null;
5529
5609
  }>, "many">;
5530
5610
  accessRules: z.ZodArray<z.ZodString, "many">;
5531
5611
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -5541,6 +5621,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5541
5621
  credentials: {
5542
5622
  type: "card" | "pin" | "fingerprint";
5543
5623
  value: string;
5624
+ note: string | null;
5544
5625
  }[];
5545
5626
  accessRules: string[];
5546
5627
  customFields: Record<string, string> | null;
@@ -5556,6 +5637,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5556
5637
  credentials: {
5557
5638
  type: "card" | "pin" | "fingerprint";
5558
5639
  value: string;
5640
+ note: string | null;
5559
5641
  }[];
5560
5642
  accessRules: string[];
5561
5643
  customFields: Record<string, string> | null;
@@ -5576,6 +5658,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5576
5658
  credentials: {
5577
5659
  type: "card" | "pin" | "fingerprint";
5578
5660
  value: string;
5661
+ note: string | null;
5579
5662
  }[];
5580
5663
  accessRules: string[];
5581
5664
  customFields: Record<string, string> | null;
@@ -5596,6 +5679,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5596
5679
  credentials: {
5597
5680
  type: "card" | "pin" | "fingerprint";
5598
5681
  value: string;
5682
+ note: string | null;
5599
5683
  }[];
5600
5684
  accessRules: string[];
5601
5685
  customFields: Record<string, string> | null;
@@ -5779,6 +5863,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5779
5863
  credentials: {
5780
5864
  type: "card" | "pin" | "fingerprint";
5781
5865
  value: string;
5866
+ note: string | null;
5782
5867
  }[];
5783
5868
  accessRules: string[];
5784
5869
  customFields: Record<string, string> | null;
@@ -5799,6 +5884,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5799
5884
  credentials: {
5800
5885
  type: "card" | "pin" | "fingerprint";
5801
5886
  value: string;
5887
+ note: string | null;
5802
5888
  }[];
5803
5889
  accessRules: string[];
5804
5890
  customFields: Record<string, string> | null;
@@ -5815,6 +5901,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5815
5901
  credentials?: {
5816
5902
  type: "card" | "pin" | "fingerprint";
5817
5903
  value: string;
5904
+ note: string | null;
5818
5905
  }[] | undefined;
5819
5906
  accessRules?: string[] | undefined;
5820
5907
  customFields?: Record<string, string> | null | undefined;
@@ -5900,6 +5987,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
5900
5987
  credentials: {
5901
5988
  type: "card" | "pin" | "fingerprint";
5902
5989
  value: string;
5990
+ note: string | null;
5903
5991
  }[];
5904
5992
  accessRules: string[];
5905
5993
  customFields: Record<string, string> | null;
@@ -6061,6 +6149,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
6061
6149
  credentials: {
6062
6150
  type: "card" | "pin" | "fingerprint";
6063
6151
  value: string;
6152
+ note: string | null;
6064
6153
  }[];
6065
6154
  accessRules: string[];
6066
6155
  customFields: Record<string, string> | null;
@@ -6081,6 +6170,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
6081
6170
  credentials: {
6082
6171
  type: "card" | "pin" | "fingerprint";
6083
6172
  value: string;
6173
+ note: string | null;
6084
6174
  }[];
6085
6175
  accessRules: string[];
6086
6176
  customFields: Record<string, string> | null;
@@ -6097,6 +6187,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
6097
6187
  credentials?: {
6098
6188
  type: "card" | "pin" | "fingerprint";
6099
6189
  value: string;
6190
+ note: string | null;
6100
6191
  }[] | undefined;
6101
6192
  accessRules?: string[] | undefined;
6102
6193
  customFields?: Record<string, string> | null | undefined;
@@ -6182,6 +6273,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
6182
6273
  credentials: {
6183
6274
  type: "card" | "pin" | "fingerprint";
6184
6275
  value: string;
6276
+ note: string | null;
6185
6277
  }[];
6186
6278
  accessRules: string[];
6187
6279
  customFields: Record<string, string> | null;
@@ -7066,12 +7158,15 @@ export declare const sApplyChange: z.ZodObject<{
7066
7158
  credentials: z.ZodArray<z.ZodObject<{
7067
7159
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
7068
7160
  value: z.ZodString;
7161
+ note: z.ZodNullable<z.ZodString>;
7069
7162
  }, "strip", z.ZodTypeAny, {
7070
7163
  type: "card" | "pin" | "fingerprint";
7071
7164
  value: string;
7165
+ note: string | null;
7072
7166
  }, {
7073
7167
  type: "card" | "pin" | "fingerprint";
7074
7168
  value: string;
7169
+ note: string | null;
7075
7170
  }>, "many">;
7076
7171
  accessRules: z.ZodArray<z.ZodString, "many">;
7077
7172
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -7087,6 +7182,7 @@ export declare const sApplyChange: z.ZodObject<{
7087
7182
  credentials: {
7088
7183
  type: "card" | "pin" | "fingerprint";
7089
7184
  value: string;
7185
+ note: string | null;
7090
7186
  }[];
7091
7187
  accessRules: string[];
7092
7188
  customFields: Record<string, string> | null;
@@ -7102,6 +7198,7 @@ export declare const sApplyChange: z.ZodObject<{
7102
7198
  credentials: {
7103
7199
  type: "card" | "pin" | "fingerprint";
7104
7200
  value: string;
7201
+ note: string | null;
7105
7202
  }[];
7106
7203
  accessRules: string[];
7107
7204
  customFields: Record<string, string> | null;
@@ -7123,6 +7220,7 @@ export declare const sApplyChange: z.ZodObject<{
7123
7220
  credentials: {
7124
7221
  type: "card" | "pin" | "fingerprint";
7125
7222
  value: string;
7223
+ note: string | null;
7126
7224
  }[];
7127
7225
  accessRules: string[];
7128
7226
  customFields: Record<string, string> | null;
@@ -7144,6 +7242,7 @@ export declare const sApplyChange: z.ZodObject<{
7144
7242
  credentials: {
7145
7243
  type: "card" | "pin" | "fingerprint";
7146
7244
  value: string;
7245
+ note: string | null;
7147
7246
  }[];
7148
7247
  accessRules: string[];
7149
7248
  customFields: Record<string, string> | null;
@@ -7164,12 +7263,15 @@ export declare const sApplyChange: z.ZodObject<{
7164
7263
  credentials: z.ZodArray<z.ZodObject<{
7165
7264
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
7166
7265
  value: z.ZodString;
7266
+ note: z.ZodNullable<z.ZodString>;
7167
7267
  }, "strip", z.ZodTypeAny, {
7168
7268
  type: "card" | "pin" | "fingerprint";
7169
7269
  value: string;
7270
+ note: string | null;
7170
7271
  }, {
7171
7272
  type: "card" | "pin" | "fingerprint";
7172
7273
  value: string;
7274
+ note: string | null;
7173
7275
  }>, "many">;
7174
7276
  accessRules: z.ZodArray<z.ZodString, "many">;
7175
7277
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -7185,6 +7287,7 @@ export declare const sApplyChange: z.ZodObject<{
7185
7287
  credentials: {
7186
7288
  type: "card" | "pin" | "fingerprint";
7187
7289
  value: string;
7290
+ note: string | null;
7188
7291
  }[];
7189
7292
  accessRules: string[];
7190
7293
  customFields: Record<string, string> | null;
@@ -7200,6 +7303,7 @@ export declare const sApplyChange: z.ZodObject<{
7200
7303
  credentials: {
7201
7304
  type: "card" | "pin" | "fingerprint";
7202
7305
  value: string;
7306
+ note: string | null;
7203
7307
  }[];
7204
7308
  accessRules: string[];
7205
7309
  customFields: Record<string, string> | null;
@@ -7216,12 +7320,15 @@ export declare const sApplyChange: z.ZodObject<{
7216
7320
  credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
7217
7321
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
7218
7322
  value: z.ZodString;
7323
+ note: z.ZodNullable<z.ZodString>;
7219
7324
  }, "strip", z.ZodTypeAny, {
7220
7325
  type: "card" | "pin" | "fingerprint";
7221
7326
  value: string;
7327
+ note: string | null;
7222
7328
  }, {
7223
7329
  type: "card" | "pin" | "fingerprint";
7224
7330
  value: string;
7331
+ note: string | null;
7225
7332
  }>, "many">>;
7226
7333
  accessRules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7227
7334
  customFields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -7237,6 +7344,7 @@ export declare const sApplyChange: z.ZodObject<{
7237
7344
  credentials?: {
7238
7345
  type: "card" | "pin" | "fingerprint";
7239
7346
  value: string;
7347
+ note: string | null;
7240
7348
  }[] | undefined;
7241
7349
  accessRules?: string[] | undefined;
7242
7350
  customFields?: Record<string, string> | null | undefined;
@@ -7252,6 +7360,7 @@ export declare const sApplyChange: z.ZodObject<{
7252
7360
  credentials?: {
7253
7361
  type: "card" | "pin" | "fingerprint";
7254
7362
  value: string;
7363
+ note: string | null;
7255
7364
  }[] | undefined;
7256
7365
  accessRules?: string[] | undefined;
7257
7366
  customFields?: Record<string, string> | null | undefined;
@@ -7272,6 +7381,7 @@ export declare const sApplyChange: z.ZodObject<{
7272
7381
  credentials: {
7273
7382
  type: "card" | "pin" | "fingerprint";
7274
7383
  value: string;
7384
+ note: string | null;
7275
7385
  }[];
7276
7386
  accessRules: string[];
7277
7387
  customFields: Record<string, string> | null;
@@ -7288,6 +7398,7 @@ export declare const sApplyChange: z.ZodObject<{
7288
7398
  credentials?: {
7289
7399
  type: "card" | "pin" | "fingerprint";
7290
7400
  value: string;
7401
+ note: string | null;
7291
7402
  }[] | undefined;
7292
7403
  accessRules?: string[] | undefined;
7293
7404
  customFields?: Record<string, string> | null | undefined;
@@ -7308,6 +7419,7 @@ export declare const sApplyChange: z.ZodObject<{
7308
7419
  credentials: {
7309
7420
  type: "card" | "pin" | "fingerprint";
7310
7421
  value: string;
7422
+ note: string | null;
7311
7423
  }[];
7312
7424
  accessRules: string[];
7313
7425
  customFields: Record<string, string> | null;
@@ -7324,6 +7436,7 @@ export declare const sApplyChange: z.ZodObject<{
7324
7436
  credentials?: {
7325
7437
  type: "card" | "pin" | "fingerprint";
7326
7438
  value: string;
7439
+ note: string | null;
7327
7440
  }[] | undefined;
7328
7441
  accessRules?: string[] | undefined;
7329
7442
  customFields?: Record<string, string> | null | undefined;
@@ -7689,12 +7802,15 @@ export declare const sApplyChange: z.ZodObject<{
7689
7802
  credentials: z.ZodArray<z.ZodObject<{
7690
7803
  type: z.ZodEnum<["card", "pin", "fingerprint"]>;
7691
7804
  value: z.ZodString;
7805
+ note: z.ZodNullable<z.ZodString>;
7692
7806
  }, "strip", z.ZodTypeAny, {
7693
7807
  type: "card" | "pin" | "fingerprint";
7694
7808
  value: string;
7809
+ note: string | null;
7695
7810
  }, {
7696
7811
  type: "card" | "pin" | "fingerprint";
7697
7812
  value: string;
7813
+ note: string | null;
7698
7814
  }>, "many">;
7699
7815
  accessRules: z.ZodArray<z.ZodString, "many">;
7700
7816
  customFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -7710,6 +7826,7 @@ export declare const sApplyChange: z.ZodObject<{
7710
7826
  credentials: {
7711
7827
  type: "card" | "pin" | "fingerprint";
7712
7828
  value: string;
7829
+ note: string | null;
7713
7830
  }[];
7714
7831
  accessRules: string[];
7715
7832
  customFields: Record<string, string> | null;
@@ -7725,6 +7842,7 @@ export declare const sApplyChange: z.ZodObject<{
7725
7842
  credentials: {
7726
7843
  type: "card" | "pin" | "fingerprint";
7727
7844
  value: string;
7845
+ note: string | null;
7728
7846
  }[];
7729
7847
  accessRules: string[];
7730
7848
  customFields: Record<string, string> | null;
@@ -7745,6 +7863,7 @@ export declare const sApplyChange: z.ZodObject<{
7745
7863
  credentials: {
7746
7864
  type: "card" | "pin" | "fingerprint";
7747
7865
  value: string;
7866
+ note: string | null;
7748
7867
  }[];
7749
7868
  accessRules: string[];
7750
7869
  customFields: Record<string, string> | null;
@@ -7765,6 +7884,7 @@ export declare const sApplyChange: z.ZodObject<{
7765
7884
  credentials: {
7766
7885
  type: "card" | "pin" | "fingerprint";
7767
7886
  value: string;
7887
+ note: string | null;
7768
7888
  }[];
7769
7889
  accessRules: string[];
7770
7890
  customFields: Record<string, string> | null;
@@ -7948,6 +8068,7 @@ export declare const sApplyChange: z.ZodObject<{
7948
8068
  credentials: {
7949
8069
  type: "card" | "pin" | "fingerprint";
7950
8070
  value: string;
8071
+ note: string | null;
7951
8072
  }[];
7952
8073
  accessRules: string[];
7953
8074
  customFields: Record<string, string> | null;
@@ -7968,6 +8089,7 @@ export declare const sApplyChange: z.ZodObject<{
7968
8089
  credentials: {
7969
8090
  type: "card" | "pin" | "fingerprint";
7970
8091
  value: string;
8092
+ note: string | null;
7971
8093
  }[];
7972
8094
  accessRules: string[];
7973
8095
  customFields: Record<string, string> | null;
@@ -7984,6 +8106,7 @@ export declare const sApplyChange: z.ZodObject<{
7984
8106
  credentials?: {
7985
8107
  type: "card" | "pin" | "fingerprint";
7986
8108
  value: string;
8109
+ note: string | null;
7987
8110
  }[] | undefined;
7988
8111
  accessRules?: string[] | undefined;
7989
8112
  customFields?: Record<string, string> | null | undefined;
@@ -8069,6 +8192,7 @@ export declare const sApplyChange: z.ZodObject<{
8069
8192
  credentials: {
8070
8193
  type: "card" | "pin" | "fingerprint";
8071
8194
  value: string;
8195
+ note: string | null;
8072
8196
  }[];
8073
8197
  accessRules: string[];
8074
8198
  customFields: Record<string, string> | null;
@@ -8230,6 +8354,7 @@ export declare const sApplyChange: z.ZodObject<{
8230
8354
  credentials: {
8231
8355
  type: "card" | "pin" | "fingerprint";
8232
8356
  value: string;
8357
+ note: string | null;
8233
8358
  }[];
8234
8359
  accessRules: string[];
8235
8360
  customFields: Record<string, string> | null;
@@ -8250,6 +8375,7 @@ export declare const sApplyChange: z.ZodObject<{
8250
8375
  credentials: {
8251
8376
  type: "card" | "pin" | "fingerprint";
8252
8377
  value: string;
8378
+ note: string | null;
8253
8379
  }[];
8254
8380
  accessRules: string[];
8255
8381
  customFields: Record<string, string> | null;
@@ -8266,6 +8392,7 @@ export declare const sApplyChange: z.ZodObject<{
8266
8392
  credentials?: {
8267
8393
  type: "card" | "pin" | "fingerprint";
8268
8394
  value: string;
8395
+ note: string | null;
8269
8396
  }[] | undefined;
8270
8397
  accessRules?: string[] | undefined;
8271
8398
  customFields?: Record<string, string> | null | undefined;
@@ -8351,6 +8478,7 @@ export declare const sApplyChange: z.ZodObject<{
8351
8478
  credentials: {
8352
8479
  type: "card" | "pin" | "fingerprint";
8353
8480
  value: string;
8481
+ note: string | null;
8354
8482
  }[];
8355
8483
  accessRules: string[];
8356
8484
  customFields: Record<string, string> | null;
@@ -13,6 +13,44 @@ export declare const sSessionDescription: z.ZodObject<{
13
13
  export type SessionDescription = z.infer<typeof sSessionDescription>;
14
14
  export declare const sIceCandidate: z.ZodString;
15
15
  export type IceCandidate = z.infer<typeof sIceCandidate>;
16
+ export declare const sWebRtcLiveServiceParams: z.ZodObject<{
17
+ deviceId: z.ZodString;
18
+ streamId: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ deviceId: string;
21
+ streamId: string;
22
+ }, {
23
+ deviceId: string;
24
+ streamId: string;
25
+ }>;
26
+ export type WebRtcLiveServiceParams = z.infer<typeof sWebRtcLiveServiceParams>;
27
+ export declare const sWebRtcPlaybackParams: z.ZodObject<{
28
+ controllerId: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ controllerId: string;
31
+ }, {
32
+ controllerId: string;
33
+ }>;
34
+ export type WebRtcPlaybackParams = z.infer<typeof sWebRtcPlaybackParams>;
35
+ export declare const sWebRtcPlaybackTrackParams: z.ZodObject<{
36
+ controllerId: z.ZodString;
37
+ trackId: z.ZodString;
38
+ }, "strip", z.ZodTypeAny, {
39
+ controllerId: string;
40
+ trackId: string;
41
+ }, {
42
+ controllerId: string;
43
+ trackId: string;
44
+ }>;
45
+ export type WebRtcPlaybackTrackParams = z.infer<typeof sWebRtcPlaybackTrackParams>;
46
+ export declare const sWebRtcPlaybackControllerParams: z.ZodObject<{
47
+ controllerId: z.ZodString;
48
+ }, "strip", z.ZodTypeAny, {
49
+ controllerId: string;
50
+ }, {
51
+ controllerId: string;
52
+ }>;
53
+ export type WebRtcPlaybackControllerParams = z.infer<typeof sWebRtcPlaybackControllerParams>;
16
54
  export declare const sWebRtcServiceDescription: z.ZodUnion<[z.ZodObject<{
17
55
  service: z.ZodLiteral<"live">;
18
56
  serviceParams: z.ZodObject<{
@@ -56,6 +94,49 @@ export declare const sWebRtcServiceDescription: z.ZodUnion<[z.ZodObject<{
56
94
  serviceParams: {
57
95
  controllerId: string;
58
96
  };
97
+ }>, z.ZodObject<{
98
+ service: z.ZodLiteral<"playback-track">;
99
+ serviceParams: z.ZodObject<{
100
+ controllerId: z.ZodString;
101
+ trackId: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ controllerId: string;
104
+ trackId: string;
105
+ }, {
106
+ controllerId: string;
107
+ trackId: string;
108
+ }>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ service: "playback-track";
111
+ serviceParams: {
112
+ controllerId: string;
113
+ trackId: string;
114
+ };
115
+ }, {
116
+ service: "playback-track";
117
+ serviceParams: {
118
+ controllerId: string;
119
+ trackId: string;
120
+ };
121
+ }>, z.ZodObject<{
122
+ service: z.ZodLiteral<"playback-controller">;
123
+ serviceParams: z.ZodObject<{
124
+ controllerId: z.ZodString;
125
+ }, "strip", z.ZodTypeAny, {
126
+ controllerId: string;
127
+ }, {
128
+ controllerId: string;
129
+ }>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ service: "playback-controller";
132
+ serviceParams: {
133
+ controllerId: string;
134
+ };
135
+ }, {
136
+ service: "playback-controller";
137
+ serviceParams: {
138
+ controllerId: string;
139
+ };
59
140
  }>]>;
60
141
  export type WebRtcServiceDescription = z.infer<typeof sWebRtcServiceDescription>;
61
142
  export declare const sWebRtcNewSessionPayload: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
@@ -101,6 +182,49 @@ export declare const sWebRtcNewSessionPayload: z.ZodIntersection<z.ZodUnion<[z.Z
101
182
  serviceParams: {
102
183
  controllerId: string;
103
184
  };
185
+ }>, z.ZodObject<{
186
+ service: z.ZodLiteral<"playback-track">;
187
+ serviceParams: z.ZodObject<{
188
+ controllerId: z.ZodString;
189
+ trackId: z.ZodString;
190
+ }, "strip", z.ZodTypeAny, {
191
+ controllerId: string;
192
+ trackId: string;
193
+ }, {
194
+ controllerId: string;
195
+ trackId: string;
196
+ }>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ service: "playback-track";
199
+ serviceParams: {
200
+ controllerId: string;
201
+ trackId: string;
202
+ };
203
+ }, {
204
+ service: "playback-track";
205
+ serviceParams: {
206
+ controllerId: string;
207
+ trackId: string;
208
+ };
209
+ }>, z.ZodObject<{
210
+ service: z.ZodLiteral<"playback-controller">;
211
+ serviceParams: z.ZodObject<{
212
+ controllerId: z.ZodString;
213
+ }, "strip", z.ZodTypeAny, {
214
+ controllerId: string;
215
+ }, {
216
+ controllerId: string;
217
+ }>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ service: "playback-controller";
220
+ serviceParams: {
221
+ controllerId: string;
222
+ };
223
+ }, {
224
+ service: "playback-controller";
225
+ serviceParams: {
226
+ controllerId: string;
227
+ };
104
228
  }>]>, z.ZodObject<{
105
229
  from: z.ZodOptional<z.ZodString>;
106
230
  requestId: z.ZodString;
@@ -3,26 +3,43 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.isWebRtcWebSocketMessage = exports.sWebRtcErrorPayload = exports.sWebRtcReleaseSessionPayload = exports.sWebRtcIceCandidatePayload = exports.sWebRtcAnswerPayload = exports.sWebRtcOfferPayload = exports.sWebRtcSessionCreatedPayload = exports.sWebRtcNewSessionPayload = exports.sWebRtcServiceDescription = exports.sIceCandidate = exports.sSessionDescription = void 0;
6
+ exports.isWebRtcWebSocketMessage = exports.sWebRtcErrorPayload = exports.sWebRtcReleaseSessionPayload = exports.sWebRtcIceCandidatePayload = exports.sWebRtcAnswerPayload = exports.sWebRtcOfferPayload = exports.sWebRtcSessionCreatedPayload = exports.sWebRtcNewSessionPayload = exports.sWebRtcServiceDescription = exports.sWebRtcPlaybackControllerParams = exports.sWebRtcPlaybackTrackParams = exports.sWebRtcPlaybackParams = exports.sWebRtcLiveServiceParams = exports.sIceCandidate = exports.sSessionDescription = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
8
  exports.sSessionDescription = zod_1.default.object({
9
9
  type: zod_1.default.string().nonempty(),
10
10
  sdp: zod_1.default.string().nonempty(),
11
11
  });
12
12
  exports.sIceCandidate = zod_1.default.string().nonempty();
13
+ exports.sWebRtcLiveServiceParams = zod_1.default.object({
14
+ deviceId: zod_1.default.string().nonempty(),
15
+ streamId: zod_1.default.string().nonempty(),
16
+ });
17
+ exports.sWebRtcPlaybackParams = zod_1.default.object({
18
+ controllerId: zod_1.default.string().nonempty(),
19
+ });
20
+ exports.sWebRtcPlaybackTrackParams = zod_1.default.object({
21
+ controllerId: zod_1.default.string().nonempty(),
22
+ trackId: zod_1.default.string().nonempty(),
23
+ });
24
+ exports.sWebRtcPlaybackControllerParams = zod_1.default.object({
25
+ controllerId: zod_1.default.string().nonempty(),
26
+ });
13
27
  exports.sWebRtcServiceDescription = zod_1.default.union([
14
28
  zod_1.default.object({
15
29
  service: zod_1.default.literal('live'),
16
- serviceParams: zod_1.default.object({
17
- deviceId: zod_1.default.string().nonempty(),
18
- streamId: zod_1.default.string().nonempty(),
19
- }),
30
+ serviceParams: exports.sWebRtcLiveServiceParams,
20
31
  }),
21
32
  zod_1.default.object({
22
33
  service: zod_1.default.literal('playback'),
23
- serviceParams: zod_1.default.object({
24
- controllerId: zod_1.default.string().nonempty(),
25
- }),
34
+ serviceParams: exports.sWebRtcPlaybackParams,
35
+ }),
36
+ zod_1.default.object({
37
+ service: zod_1.default.literal('playback-track'),
38
+ serviceParams: exports.sWebRtcPlaybackTrackParams,
39
+ }),
40
+ zod_1.default.object({
41
+ service: zod_1.default.literal('playback-controller'),
42
+ serviceParams: exports.sWebRtcPlaybackControllerParams,
26
43
  }),
27
44
  ]);
28
45
  exports.sWebRtcNewSessionPayload = exports.sWebRtcServiceDescription.and(zod_1.default.object({
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "1.0.58",
3
+ "version": "1.0.60",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",