@seamapi/types 1.441.1 → 1.442.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 +45 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +67 -1
- package/dist/index.cjs +45 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-method.js +4 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +50 -0
- package/lib/seam/connect/openapi.js +45 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +49 -0
- package/src/lib/seam/connect/route-types.ts +14 -1
|
@@ -8,12 +8,14 @@ export declare const access_method: z.ZodObject<{
|
|
|
8
8
|
issued_at: z.ZodOptional<z.ZodString>;
|
|
9
9
|
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
10
10
|
is_encoding_required: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
code: z.ZodOptional<z.ZodString>;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
12
13
|
display_name: string;
|
|
13
14
|
workspace_id: string;
|
|
14
15
|
created_at: string;
|
|
15
16
|
mode: "code" | "card" | "mobile_key";
|
|
16
17
|
access_method_id: string;
|
|
18
|
+
code?: string | undefined;
|
|
17
19
|
instant_key_url?: string | undefined;
|
|
18
20
|
issued_at?: string | undefined;
|
|
19
21
|
is_encoding_required?: boolean | undefined;
|
|
@@ -23,6 +25,7 @@ export declare const access_method: z.ZodObject<{
|
|
|
23
25
|
created_at: string;
|
|
24
26
|
mode: "code" | "card" | "mobile_key";
|
|
25
27
|
access_method_id: string;
|
|
28
|
+
code?: string | undefined;
|
|
26
29
|
instant_key_url?: string | undefined;
|
|
27
30
|
issued_at?: string | undefined;
|
|
28
31
|
is_encoding_required?: boolean | undefined;
|
|
@@ -27,6 +27,10 @@ export const access_method = z.object({
|
|
|
27
27
|
.boolean()
|
|
28
28
|
.optional()
|
|
29
29
|
.describe('Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.'),
|
|
30
|
+
code: z
|
|
31
|
+
.string()
|
|
32
|
+
.optional()
|
|
33
|
+
.describe('The actual PIN code for code access methods.'),
|
|
30
34
|
}).describe(`
|
|
31
35
|
---
|
|
32
36
|
draft: Early access.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;
|
|
1
|
+
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;CAC5D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -485,6 +485,10 @@ declare const _default: {
|
|
|
485
485
|
format: string;
|
|
486
486
|
type: string;
|
|
487
487
|
};
|
|
488
|
+
code: {
|
|
489
|
+
description: string;
|
|
490
|
+
type: string;
|
|
491
|
+
};
|
|
488
492
|
created_at: {
|
|
489
493
|
description: string;
|
|
490
494
|
format: string;
|
|
@@ -21638,6 +21642,7 @@ declare const _default: {
|
|
|
21638
21642
|
nullable?: never;
|
|
21639
21643
|
'x-deprecated'?: never;
|
|
21640
21644
|
items?: never;
|
|
21645
|
+
minLength?: never;
|
|
21641
21646
|
};
|
|
21642
21647
|
} | {
|
|
21643
21648
|
in: string;
|
|
@@ -21650,6 +21655,7 @@ declare const _default: {
|
|
|
21650
21655
|
'x-deprecated': string;
|
|
21651
21656
|
description?: never;
|
|
21652
21657
|
items?: never;
|
|
21658
|
+
minLength?: never;
|
|
21653
21659
|
};
|
|
21654
21660
|
} | {
|
|
21655
21661
|
in: string;
|
|
@@ -21665,6 +21671,20 @@ declare const _default: {
|
|
|
21665
21671
|
deprecated?: never;
|
|
21666
21672
|
nullable?: never;
|
|
21667
21673
|
'x-deprecated'?: never;
|
|
21674
|
+
minLength?: never;
|
|
21675
|
+
};
|
|
21676
|
+
} | {
|
|
21677
|
+
in: string;
|
|
21678
|
+
name: string;
|
|
21679
|
+
schema: {
|
|
21680
|
+
description: string;
|
|
21681
|
+
minLength: number;
|
|
21682
|
+
type: string;
|
|
21683
|
+
format?: never;
|
|
21684
|
+
deprecated?: never;
|
|
21685
|
+
nullable?: never;
|
|
21686
|
+
'x-deprecated'?: never;
|
|
21687
|
+
items?: never;
|
|
21668
21688
|
};
|
|
21669
21689
|
})[];
|
|
21670
21690
|
responses: {
|
|
@@ -21774,6 +21794,11 @@ declare const _default: {
|
|
|
21774
21794
|
type: string;
|
|
21775
21795
|
'x-deprecated': string;
|
|
21776
21796
|
};
|
|
21797
|
+
search: {
|
|
21798
|
+
description: string;
|
|
21799
|
+
minLength: number;
|
|
21800
|
+
type: string;
|
|
21801
|
+
};
|
|
21777
21802
|
space_id: {
|
|
21778
21803
|
description: string;
|
|
21779
21804
|
format: string;
|
|
@@ -38024,6 +38049,15 @@ declare const _default: {
|
|
|
38024
38049
|
get: {
|
|
38025
38050
|
description: string;
|
|
38026
38051
|
operationId: string;
|
|
38052
|
+
parameters: {
|
|
38053
|
+
in: string;
|
|
38054
|
+
name: string;
|
|
38055
|
+
schema: {
|
|
38056
|
+
description: string;
|
|
38057
|
+
minLength: number;
|
|
38058
|
+
type: string;
|
|
38059
|
+
};
|
|
38060
|
+
}[];
|
|
38027
38061
|
responses: {
|
|
38028
38062
|
200: {
|
|
38029
38063
|
content: {
|
|
@@ -38079,6 +38113,22 @@ declare const _default: {
|
|
|
38079
38113
|
post: {
|
|
38080
38114
|
description: string;
|
|
38081
38115
|
operationId: string;
|
|
38116
|
+
requestBody: {
|
|
38117
|
+
content: {
|
|
38118
|
+
'application/json': {
|
|
38119
|
+
schema: {
|
|
38120
|
+
properties: {
|
|
38121
|
+
search: {
|
|
38122
|
+
description: string;
|
|
38123
|
+
minLength: number;
|
|
38124
|
+
type: string;
|
|
38125
|
+
};
|
|
38126
|
+
};
|
|
38127
|
+
type: string;
|
|
38128
|
+
};
|
|
38129
|
+
};
|
|
38130
|
+
};
|
|
38131
|
+
};
|
|
38082
38132
|
responses: {
|
|
38083
38133
|
200: {
|
|
38084
38134
|
content: {
|
|
@@ -1684,6 +1684,10 @@ export default {
|
|
|
1684
1684
|
format: 'uuid',
|
|
1685
1685
|
type: 'string',
|
|
1686
1686
|
},
|
|
1687
|
+
code: {
|
|
1688
|
+
description: 'The actual PIN code for code access methods.',
|
|
1689
|
+
type: 'string',
|
|
1690
|
+
},
|
|
1687
1691
|
created_at: {
|
|
1688
1692
|
description: 'Date and time at which the access method was created.',
|
|
1689
1693
|
format: 'date-time',
|
|
@@ -29102,6 +29106,15 @@ export default {
|
|
|
29102
29106
|
type: 'array',
|
|
29103
29107
|
},
|
|
29104
29108
|
},
|
|
29109
|
+
{
|
|
29110
|
+
in: 'query',
|
|
29111
|
+
name: 'search',
|
|
29112
|
+
schema: {
|
|
29113
|
+
description: 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
|
|
29114
|
+
minLength: 1,
|
|
29115
|
+
type: 'string',
|
|
29116
|
+
},
|
|
29117
|
+
},
|
|
29105
29118
|
],
|
|
29106
29119
|
responses: {
|
|
29107
29120
|
200: {
|
|
@@ -29184,6 +29197,11 @@ export default {
|
|
|
29184
29197
|
type: 'string',
|
|
29185
29198
|
'x-deprecated': 'Use `space_id`.',
|
|
29186
29199
|
},
|
|
29200
|
+
search: {
|
|
29201
|
+
description: 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
|
|
29202
|
+
minLength: 1,
|
|
29203
|
+
type: 'string',
|
|
29204
|
+
},
|
|
29187
29205
|
space_id: {
|
|
29188
29206
|
description: 'ID of the space for which you want to list entrances.',
|
|
29189
29207
|
format: 'uuid',
|
|
@@ -43497,6 +43515,17 @@ export default {
|
|
|
43497
43515
|
get: {
|
|
43498
43516
|
description: 'Returns a list of all spaces.',
|
|
43499
43517
|
operationId: 'spacesListGet',
|
|
43518
|
+
parameters: [
|
|
43519
|
+
{
|
|
43520
|
+
in: 'query',
|
|
43521
|
+
name: 'search',
|
|
43522
|
+
schema: {
|
|
43523
|
+
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
43524
|
+
minLength: 1,
|
|
43525
|
+
type: 'string',
|
|
43526
|
+
},
|
|
43527
|
+
},
|
|
43528
|
+
],
|
|
43500
43529
|
responses: {
|
|
43501
43530
|
200: {
|
|
43502
43531
|
content: {
|
|
@@ -43536,6 +43565,22 @@ export default {
|
|
|
43536
43565
|
post: {
|
|
43537
43566
|
description: 'Returns a list of all spaces.',
|
|
43538
43567
|
operationId: 'spacesListPost',
|
|
43568
|
+
requestBody: {
|
|
43569
|
+
content: {
|
|
43570
|
+
'application/json': {
|
|
43571
|
+
schema: {
|
|
43572
|
+
properties: {
|
|
43573
|
+
search: {
|
|
43574
|
+
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
43575
|
+
minLength: 1,
|
|
43576
|
+
type: 'string',
|
|
43577
|
+
},
|
|
43578
|
+
},
|
|
43579
|
+
type: 'object',
|
|
43580
|
+
},
|
|
43581
|
+
},
|
|
43582
|
+
},
|
|
43583
|
+
},
|
|
43539
43584
|
responses: {
|
|
43540
43585
|
200: {
|
|
43541
43586
|
content: {
|