@seamapi/types 1.174.1 → 1.176.0
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/connect.cjs +26 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +68 -0
- package/lib/seam/connect/models/acs/system.d.ts +36 -0
- package/lib/seam/connect/models/acs/system.js +8 -0
- package/lib/seam/connect/models/acs/system.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +35 -0
- package/lib/seam/connect/openapi.js +25 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/system.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +25 -0
- package/src/lib/seam/connect/route-types.ts +33 -0
package/dist/connect.d.cts
CHANGED
|
@@ -1722,6 +1722,21 @@ declare const _default: {
|
|
|
1722
1722
|
format: string;
|
|
1723
1723
|
type: string;
|
|
1724
1724
|
};
|
|
1725
|
+
errors: {
|
|
1726
|
+
items: {
|
|
1727
|
+
properties: {
|
|
1728
|
+
error_code: {
|
|
1729
|
+
type: string;
|
|
1730
|
+
};
|
|
1731
|
+
message: {
|
|
1732
|
+
type: string;
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
required: string[];
|
|
1736
|
+
type: string;
|
|
1737
|
+
};
|
|
1738
|
+
type: string;
|
|
1739
|
+
};
|
|
1725
1740
|
external_type: {
|
|
1726
1741
|
enum: string[];
|
|
1727
1742
|
type: string;
|
|
@@ -1747,6 +1762,21 @@ declare const _default: {
|
|
|
1747
1762
|
description: string;
|
|
1748
1763
|
type: string;
|
|
1749
1764
|
};
|
|
1765
|
+
warnings: {
|
|
1766
|
+
items: {
|
|
1767
|
+
properties: {
|
|
1768
|
+
message: {
|
|
1769
|
+
type: string;
|
|
1770
|
+
};
|
|
1771
|
+
warning_code: {
|
|
1772
|
+
type: string;
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
required: string[];
|
|
1776
|
+
type: string;
|
|
1777
|
+
};
|
|
1778
|
+
type: string;
|
|
1779
|
+
};
|
|
1750
1780
|
workspace_id: {
|
|
1751
1781
|
format: string;
|
|
1752
1782
|
type: string;
|
|
@@ -10384,6 +10414,11 @@ declare const _default: {
|
|
|
10384
10414
|
description: string;
|
|
10385
10415
|
type: string;
|
|
10386
10416
|
};
|
|
10417
|
+
limit: {
|
|
10418
|
+
default: number;
|
|
10419
|
+
nullable: boolean;
|
|
10420
|
+
type: string;
|
|
10421
|
+
};
|
|
10387
10422
|
user_identifier_key: {
|
|
10388
10423
|
type: string;
|
|
10389
10424
|
};
|
|
@@ -18431,6 +18466,14 @@ interface Routes {
|
|
|
18431
18466
|
connected_account_ids: string[];
|
|
18432
18467
|
image_url: string;
|
|
18433
18468
|
image_alt_text: string;
|
|
18469
|
+
errors: Array<{
|
|
18470
|
+
error_code: string;
|
|
18471
|
+
message: string;
|
|
18472
|
+
}>;
|
|
18473
|
+
warnings: Array<{
|
|
18474
|
+
warning_code: string;
|
|
18475
|
+
message: string;
|
|
18476
|
+
}>;
|
|
18434
18477
|
can_automate_enrollment?: boolean | undefined;
|
|
18435
18478
|
can_create_acs_access_groups?: boolean | undefined;
|
|
18436
18479
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -18470,6 +18513,14 @@ interface Routes {
|
|
|
18470
18513
|
connected_account_ids: string[];
|
|
18471
18514
|
image_url: string;
|
|
18472
18515
|
image_alt_text: string;
|
|
18516
|
+
errors: Array<{
|
|
18517
|
+
error_code: string;
|
|
18518
|
+
message: string;
|
|
18519
|
+
}>;
|
|
18520
|
+
warnings: Array<{
|
|
18521
|
+
warning_code: string;
|
|
18522
|
+
message: string;
|
|
18523
|
+
}>;
|
|
18473
18524
|
can_automate_enrollment?: boolean | undefined;
|
|
18474
18525
|
can_create_acs_access_groups?: boolean | undefined;
|
|
18475
18526
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -18509,6 +18560,14 @@ interface Routes {
|
|
|
18509
18560
|
connected_account_ids: string[];
|
|
18510
18561
|
image_url: string;
|
|
18511
18562
|
image_alt_text: string;
|
|
18563
|
+
errors: Array<{
|
|
18564
|
+
error_code: string;
|
|
18565
|
+
message: string;
|
|
18566
|
+
}>;
|
|
18567
|
+
warnings: Array<{
|
|
18568
|
+
warning_code: string;
|
|
18569
|
+
message: string;
|
|
18570
|
+
}>;
|
|
18512
18571
|
can_automate_enrollment?: boolean | undefined;
|
|
18513
18572
|
can_create_acs_access_groups?: boolean | undefined;
|
|
18514
18573
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -19118,6 +19177,7 @@ interface Routes {
|
|
|
19118
19177
|
user_identifier_key?: string | undefined;
|
|
19119
19178
|
/** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
|
|
19120
19179
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
19180
|
+
limit?: number;
|
|
19121
19181
|
};
|
|
19122
19182
|
formData: {};
|
|
19123
19183
|
jsonResponse: {
|
|
@@ -25886,6 +25946,14 @@ interface Routes {
|
|
|
25886
25946
|
connected_account_ids: string[];
|
|
25887
25947
|
image_url: string;
|
|
25888
25948
|
image_alt_text: string;
|
|
25949
|
+
errors: Array<{
|
|
25950
|
+
error_code: string;
|
|
25951
|
+
message: string;
|
|
25952
|
+
}>;
|
|
25953
|
+
warnings: Array<{
|
|
25954
|
+
warning_code: string;
|
|
25955
|
+
message: string;
|
|
25956
|
+
}>;
|
|
25889
25957
|
can_automate_enrollment?: boolean | undefined;
|
|
25890
25958
|
can_create_acs_access_groups?: boolean | undefined;
|
|
25891
25959
|
can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
|
|
@@ -5,6 +5,26 @@ export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
|
|
|
5
5
|
export declare const acs_system: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
created_at: z.ZodString;
|
|
8
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
9
|
+
error_code: z.ZodString;
|
|
10
|
+
message: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
message: string;
|
|
13
|
+
error_code: string;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
error_code: string;
|
|
17
|
+
}>, "many">;
|
|
18
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
19
|
+
warning_code: z.ZodString;
|
|
20
|
+
message: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
message: string;
|
|
23
|
+
warning_code: string;
|
|
24
|
+
}, {
|
|
25
|
+
message: string;
|
|
26
|
+
warning_code: string;
|
|
27
|
+
}>, "many">;
|
|
8
28
|
acs_system_id: z.ZodString;
|
|
9
29
|
workspace_id: z.ZodString;
|
|
10
30
|
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building"]>>;
|
|
@@ -21,6 +41,14 @@ export declare const acs_system: z.ZodObject<{
|
|
|
21
41
|
}, "strip", z.ZodTypeAny, {
|
|
22
42
|
name: string;
|
|
23
43
|
created_at: string;
|
|
44
|
+
errors: {
|
|
45
|
+
message: string;
|
|
46
|
+
error_code: string;
|
|
47
|
+
}[];
|
|
48
|
+
warnings: {
|
|
49
|
+
message: string;
|
|
50
|
+
warning_code: string;
|
|
51
|
+
}[];
|
|
24
52
|
acs_system_id: string;
|
|
25
53
|
workspace_id: string;
|
|
26
54
|
connected_account_ids: string[];
|
|
@@ -37,6 +65,14 @@ export declare const acs_system: z.ZodObject<{
|
|
|
37
65
|
}, {
|
|
38
66
|
name: string;
|
|
39
67
|
created_at: string;
|
|
68
|
+
errors: {
|
|
69
|
+
message: string;
|
|
70
|
+
error_code: string;
|
|
71
|
+
}[];
|
|
72
|
+
warnings: {
|
|
73
|
+
message: string;
|
|
74
|
+
warning_code: string;
|
|
75
|
+
}[];
|
|
40
76
|
acs_system_id: string;
|
|
41
77
|
workspace_id: string;
|
|
42
78
|
connected_account_ids: string[];
|
|
@@ -35,6 +35,14 @@ export const acs_system = z
|
|
|
35
35
|
connected_account_ids: z.array(z.string()),
|
|
36
36
|
image_url: z.string(),
|
|
37
37
|
image_alt_text: z.string(),
|
|
38
|
+
errors: z.array(z.object({
|
|
39
|
+
error_code: z.string(),
|
|
40
|
+
message: z.string(),
|
|
41
|
+
})),
|
|
42
|
+
warnings: z.array(z.object({
|
|
43
|
+
warning_code: z.string(),
|
|
44
|
+
message: z.string(),
|
|
45
|
+
})),
|
|
38
46
|
})
|
|
39
47
|
.merge(acs_system_capability_flags);
|
|
40
48
|
//# sourceMappingURL=system.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAE9E,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;CACR,CAAA;AAEV,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,IAAI,CAAC,+BAA+B,CAAC;KACrC,QAAQ,EAAE,CAAA;AAIb,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC;KACxB,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CA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QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;OAItD,CAAC;IACJ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;CACF,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC,CAAA"}
|
|
@@ -442,6 +442,21 @@ declare const _default: {
|
|
|
442
442
|
format: string;
|
|
443
443
|
type: string;
|
|
444
444
|
};
|
|
445
|
+
errors: {
|
|
446
|
+
items: {
|
|
447
|
+
properties: {
|
|
448
|
+
error_code: {
|
|
449
|
+
type: string;
|
|
450
|
+
};
|
|
451
|
+
message: {
|
|
452
|
+
type: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
required: string[];
|
|
456
|
+
type: string;
|
|
457
|
+
};
|
|
458
|
+
type: string;
|
|
459
|
+
};
|
|
445
460
|
external_type: {
|
|
446
461
|
enum: string[];
|
|
447
462
|
type: string;
|
|
@@ -467,6 +482,21 @@ declare const _default: {
|
|
|
467
482
|
description: string;
|
|
468
483
|
type: string;
|
|
469
484
|
};
|
|
485
|
+
warnings: {
|
|
486
|
+
items: {
|
|
487
|
+
properties: {
|
|
488
|
+
message: {
|
|
489
|
+
type: string;
|
|
490
|
+
};
|
|
491
|
+
warning_code: {
|
|
492
|
+
type: string;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
required: string[];
|
|
496
|
+
type: string;
|
|
497
|
+
};
|
|
498
|
+
type: string;
|
|
499
|
+
};
|
|
470
500
|
workspace_id: {
|
|
471
501
|
format: string;
|
|
472
502
|
type: string;
|
|
@@ -9104,6 +9134,11 @@ declare const _default: {
|
|
|
9104
9134
|
description: string;
|
|
9105
9135
|
type: string;
|
|
9106
9136
|
};
|
|
9137
|
+
limit: {
|
|
9138
|
+
default: number;
|
|
9139
|
+
nullable: boolean;
|
|
9140
|
+
type: string;
|
|
9141
|
+
};
|
|
9107
9142
|
user_identifier_key: {
|
|
9108
9143
|
type: string;
|
|
9109
9144
|
};
|
|
@@ -377,6 +377,17 @@ export default {
|
|
|
377
377
|
can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
|
|
378
378
|
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
379
379
|
created_at: { format: 'date-time', type: 'string' },
|
|
380
|
+
errors: {
|
|
381
|
+
items: {
|
|
382
|
+
properties: {
|
|
383
|
+
error_code: { type: 'string' },
|
|
384
|
+
message: { type: 'string' },
|
|
385
|
+
},
|
|
386
|
+
required: ['error_code', 'message'],
|
|
387
|
+
type: 'object',
|
|
388
|
+
},
|
|
389
|
+
type: 'array',
|
|
390
|
+
},
|
|
380
391
|
external_type: {
|
|
381
392
|
enum: [
|
|
382
393
|
'pti_site',
|
|
@@ -412,6 +423,17 @@ export default {
|
|
|
412
423
|
description: '\n ---\n deprecated: use external_type_display_name\n ---\n ',
|
|
413
424
|
type: 'string',
|
|
414
425
|
},
|
|
426
|
+
warnings: {
|
|
427
|
+
items: {
|
|
428
|
+
properties: {
|
|
429
|
+
message: { type: 'string' },
|
|
430
|
+
warning_code: { type: 'string' },
|
|
431
|
+
},
|
|
432
|
+
required: ['warning_code', 'message'],
|
|
433
|
+
type: 'object',
|
|
434
|
+
},
|
|
435
|
+
type: 'array',
|
|
436
|
+
},
|
|
415
437
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
416
438
|
},
|
|
417
439
|
required: [
|
|
@@ -422,6 +444,8 @@ export default {
|
|
|
422
444
|
'connected_account_ids',
|
|
423
445
|
'image_url',
|
|
424
446
|
'image_alt_text',
|
|
447
|
+
'errors',
|
|
448
|
+
'warnings',
|
|
425
449
|
],
|
|
426
450
|
type: 'object',
|
|
427
451
|
},
|
|
@@ -6631,6 +6655,7 @@ export default {
|
|
|
6631
6655
|
description: "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
6632
6656
|
type: 'object',
|
|
6633
6657
|
},
|
|
6658
|
+
limit: { default: 500, nullable: true, type: 'number' },
|
|
6634
6659
|
user_identifier_key: { type: 'string' },
|
|
6635
6660
|
},
|
|
6636
6661
|
type: 'object',
|