@seamapi/types 1.516.0 → 1.518.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 +77 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +98 -26
- package/dist/index.cjs +77 -13
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +7 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/openapi.d.ts +64 -23
- package/lib/seam/connect/openapi.js +74 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +81 -14
- package/src/lib/seam/connect/route-types.ts +22 -3
|
@@ -9,6 +9,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
9
9
|
requested_access_methods: z.ZodArray<z.ZodObject<{
|
|
10
10
|
display_name: z.ZodString;
|
|
11
11
|
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
12
|
+
code: z.ZodOptional<z.ZodString>;
|
|
12
13
|
created_at: z.ZodString;
|
|
13
14
|
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16,11 +17,13 @@ export declare const access_grant: z.ZodObject<{
|
|
|
16
17
|
created_at: string;
|
|
17
18
|
mode: "code" | "card" | "mobile_key";
|
|
18
19
|
created_access_method_ids: string[];
|
|
20
|
+
code?: string | undefined;
|
|
19
21
|
}, {
|
|
20
22
|
display_name: string;
|
|
21
23
|
created_at: string;
|
|
22
24
|
mode: "code" | "card" | "mobile_key";
|
|
23
25
|
created_access_method_ids: string[];
|
|
26
|
+
code?: string | undefined;
|
|
24
27
|
}>, "many">;
|
|
25
28
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
26
29
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
@@ -47,6 +50,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
47
50
|
created_at: string;
|
|
48
51
|
mode: "code" | "card" | "mobile_key";
|
|
49
52
|
created_access_method_ids: string[];
|
|
53
|
+
code?: string | undefined;
|
|
50
54
|
}[];
|
|
51
55
|
access_method_ids: string[];
|
|
52
56
|
access_grant_key?: string | undefined;
|
|
@@ -69,6 +73,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
69
73
|
created_at: string;
|
|
70
74
|
mode: "code" | "card" | "mobile_key";
|
|
71
75
|
created_access_method_ids: string[];
|
|
76
|
+
code?: string | undefined;
|
|
72
77
|
}[];
|
|
73
78
|
access_method_ids: string[];
|
|
74
79
|
access_grant_key?: string | undefined;
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const requested_access_method: z.ZodObject<{
|
|
3
3
|
display_name: z.ZodString;
|
|
4
4
|
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
5
|
+
code: z.ZodOptional<z.ZodString>;
|
|
5
6
|
created_at: z.ZodString;
|
|
6
7
|
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
7
8
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9,10 +10,12 @@ export declare const requested_access_method: z.ZodObject<{
|
|
|
9
10
|
created_at: string;
|
|
10
11
|
mode: "code" | "card" | "mobile_key";
|
|
11
12
|
created_access_method_ids: string[];
|
|
13
|
+
code?: string | undefined;
|
|
12
14
|
}, {
|
|
13
15
|
display_name: string;
|
|
14
16
|
created_at: string;
|
|
15
17
|
mode: "code" | "card" | "mobile_key";
|
|
16
18
|
created_access_method_ids: string[];
|
|
19
|
+
code?: string | undefined;
|
|
17
20
|
}>;
|
|
18
21
|
export type RequestedAccessMethod = z.infer<typeof requested_access_method>;
|
|
@@ -4,6 +4,13 @@ export const requested_access_method = z.object({
|
|
|
4
4
|
mode: z
|
|
5
5
|
.enum(['code', 'card', 'mobile_key'])
|
|
6
6
|
.describe('Access method mode. Supported values: `code`, `card`, `mobile_key`.'),
|
|
7
|
+
code: z
|
|
8
|
+
.string()
|
|
9
|
+
.min(4)
|
|
10
|
+
.max(9)
|
|
11
|
+
.regex(/^\d+$/, 'Must only contain digits')
|
|
12
|
+
.optional()
|
|
13
|
+
.describe("Specific PIN code to use for this access method. Only applicable when mode is 'code'."),
|
|
7
14
|
created_at: z
|
|
8
15
|
.string()
|
|
9
16
|
.datetime()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requested-access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/requested-access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,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,CACP,mFAAmF,CACpF;IACH,yBAAyB,EAAE,CAAC;SACzB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"requested-access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/requested-access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,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,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,KAAK,CAAC,OAAO,EAAE,0BAA0B,CAAC;SAC1C,QAAQ,EAAE;SACV,QAAQ,CACP,uFAAuF,CACxF;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mFAAmF,CACpF;IACH,yBAAyB,EAAE,CAAC;SACzB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,oEAAoE,CACrE;CACJ,CAAC,CAAA"}
|
|
@@ -33905,6 +33905,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33905
33905
|
requested_access_methods: z.ZodArray<z.ZodObject<{
|
|
33906
33906
|
display_name: z.ZodString;
|
|
33907
33907
|
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
33908
|
+
code: z.ZodOptional<z.ZodString>;
|
|
33908
33909
|
created_at: z.ZodString;
|
|
33909
33910
|
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
33910
33911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -33912,11 +33913,13 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33912
33913
|
created_at: string;
|
|
33913
33914
|
mode: "code" | "card" | "mobile_key";
|
|
33914
33915
|
created_access_method_ids: string[];
|
|
33916
|
+
code?: string | undefined;
|
|
33915
33917
|
}, {
|
|
33916
33918
|
display_name: string;
|
|
33917
33919
|
created_at: string;
|
|
33918
33920
|
mode: "code" | "card" | "mobile_key";
|
|
33919
33921
|
created_access_method_ids: string[];
|
|
33922
|
+
code?: string | undefined;
|
|
33920
33923
|
}>, "many">;
|
|
33921
33924
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
33922
33925
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
@@ -33943,6 +33946,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33943
33946
|
created_at: string;
|
|
33944
33947
|
mode: "code" | "card" | "mobile_key";
|
|
33945
33948
|
created_access_method_ids: string[];
|
|
33949
|
+
code?: string | undefined;
|
|
33946
33950
|
}[];
|
|
33947
33951
|
access_method_ids: string[];
|
|
33948
33952
|
access_grant_key?: string | undefined;
|
|
@@ -33965,6 +33969,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33965
33969
|
created_at: string;
|
|
33966
33970
|
mode: "code" | "card" | "mobile_key";
|
|
33967
33971
|
created_access_method_ids: string[];
|
|
33972
|
+
code?: string | undefined;
|
|
33968
33973
|
}[];
|
|
33969
33974
|
access_method_ids: string[];
|
|
33970
33975
|
access_grant_key?: string | undefined;
|
|
@@ -40981,6 +40986,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
40981
40986
|
created_at: string;
|
|
40982
40987
|
mode: "code" | "card" | "mobile_key";
|
|
40983
40988
|
created_access_method_ids: string[];
|
|
40989
|
+
code?: string | undefined;
|
|
40984
40990
|
}[];
|
|
40985
40991
|
access_method_ids: string[];
|
|
40986
40992
|
access_grant_key?: string | undefined;
|
|
@@ -44889,6 +44895,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
44889
44895
|
created_at: string;
|
|
44890
44896
|
mode: "code" | "card" | "mobile_key";
|
|
44891
44897
|
created_access_method_ids: string[];
|
|
44898
|
+
code?: string | undefined;
|
|
44892
44899
|
}[];
|
|
44893
44900
|
access_method_ids: string[];
|
|
44894
44901
|
access_grant_key?: string | undefined;
|
|
@@ -62050,6 +62057,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62050
62057
|
requested_access_methods: z.ZodArray<z.ZodObject<{
|
|
62051
62058
|
display_name: z.ZodString;
|
|
62052
62059
|
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
62060
|
+
code: z.ZodOptional<z.ZodString>;
|
|
62053
62061
|
created_at: z.ZodString;
|
|
62054
62062
|
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
62055
62063
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -62057,11 +62065,13 @@ export declare const batch: z.ZodObject<{
|
|
|
62057
62065
|
created_at: string;
|
|
62058
62066
|
mode: "code" | "card" | "mobile_key";
|
|
62059
62067
|
created_access_method_ids: string[];
|
|
62068
|
+
code?: string | undefined;
|
|
62060
62069
|
}, {
|
|
62061
62070
|
display_name: string;
|
|
62062
62071
|
created_at: string;
|
|
62063
62072
|
mode: "code" | "card" | "mobile_key";
|
|
62064
62073
|
created_access_method_ids: string[];
|
|
62074
|
+
code?: string | undefined;
|
|
62065
62075
|
}>, "many">;
|
|
62066
62076
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
62067
62077
|
client_session_token: z.ZodOptional<z.ZodString>;
|
|
@@ -62088,6 +62098,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62088
62098
|
created_at: string;
|
|
62089
62099
|
mode: "code" | "card" | "mobile_key";
|
|
62090
62100
|
created_access_method_ids: string[];
|
|
62101
|
+
code?: string | undefined;
|
|
62091
62102
|
}[];
|
|
62092
62103
|
access_method_ids: string[];
|
|
62093
62104
|
access_grant_key?: string | undefined;
|
|
@@ -62110,6 +62121,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62110
62121
|
created_at: string;
|
|
62111
62122
|
mode: "code" | "card" | "mobile_key";
|
|
62112
62123
|
created_access_method_ids: string[];
|
|
62124
|
+
code?: string | undefined;
|
|
62113
62125
|
}[];
|
|
62114
62126
|
access_method_ids: string[];
|
|
62115
62127
|
access_grant_key?: string | undefined;
|
|
@@ -69055,6 +69067,7 @@ export declare const batch: z.ZodObject<{
|
|
|
69055
69067
|
created_at: string;
|
|
69056
69068
|
mode: "code" | "card" | "mobile_key";
|
|
69057
69069
|
created_access_method_ids: string[];
|
|
69070
|
+
code?: string | undefined;
|
|
69058
69071
|
}[];
|
|
69059
69072
|
access_method_ids: string[];
|
|
69060
69073
|
access_grant_key?: string | undefined;
|
|
@@ -72892,6 +72905,7 @@ export declare const batch: z.ZodObject<{
|
|
|
72892
72905
|
created_at: string;
|
|
72893
72906
|
mode: "code" | "card" | "mobile_key";
|
|
72894
72907
|
created_access_method_ids: string[];
|
|
72908
|
+
code?: string | undefined;
|
|
72895
72909
|
}[];
|
|
72896
72910
|
access_method_ids: string[];
|
|
72897
72911
|
access_grant_key?: string | undefined;
|
|
@@ -444,6 +444,13 @@ declare const _default: {
|
|
|
444
444
|
description: string;
|
|
445
445
|
items: {
|
|
446
446
|
properties: {
|
|
447
|
+
code: {
|
|
448
|
+
description: string;
|
|
449
|
+
maxLength: number;
|
|
450
|
+
minLength: number;
|
|
451
|
+
pattern: string;
|
|
452
|
+
type: string;
|
|
453
|
+
};
|
|
447
454
|
created_access_method_ids: {
|
|
448
455
|
description: string;
|
|
449
456
|
items: {
|
|
@@ -16724,6 +16731,13 @@ declare const _default: {
|
|
|
16724
16731
|
requested_access_methods: {
|
|
16725
16732
|
items: {
|
|
16726
16733
|
properties: {
|
|
16734
|
+
code: {
|
|
16735
|
+
description: string;
|
|
16736
|
+
maxLength: number;
|
|
16737
|
+
minLength: number;
|
|
16738
|
+
pattern: string;
|
|
16739
|
+
type: string;
|
|
16740
|
+
};
|
|
16727
16741
|
mode: {
|
|
16728
16742
|
description: string;
|
|
16729
16743
|
enum: string[];
|
|
@@ -17390,8 +17404,8 @@ declare const _default: {
|
|
|
17390
17404
|
name: string;
|
|
17391
17405
|
schema: {
|
|
17392
17406
|
description: string;
|
|
17393
|
-
format: string;
|
|
17394
17407
|
type: string;
|
|
17408
|
+
format?: never;
|
|
17395
17409
|
deprecated?: never;
|
|
17396
17410
|
'x-deprecated'?: never;
|
|
17397
17411
|
};
|
|
@@ -17399,21 +17413,21 @@ declare const _default: {
|
|
|
17399
17413
|
in: string;
|
|
17400
17414
|
name: string;
|
|
17401
17415
|
schema: {
|
|
17402
|
-
|
|
17416
|
+
description: string;
|
|
17403
17417
|
format: string;
|
|
17404
17418
|
type: string;
|
|
17405
|
-
|
|
17406
|
-
|
|
17419
|
+
deprecated?: never;
|
|
17420
|
+
'x-deprecated'?: never;
|
|
17407
17421
|
};
|
|
17408
17422
|
} | {
|
|
17409
17423
|
in: string;
|
|
17410
17424
|
name: string;
|
|
17411
17425
|
schema: {
|
|
17412
|
-
|
|
17426
|
+
deprecated: boolean;
|
|
17427
|
+
format: string;
|
|
17413
17428
|
type: string;
|
|
17414
|
-
|
|
17415
|
-
|
|
17416
|
-
'x-deprecated'?: never;
|
|
17429
|
+
'x-deprecated': string;
|
|
17430
|
+
description?: never;
|
|
17417
17431
|
};
|
|
17418
17432
|
})[];
|
|
17419
17433
|
responses: {
|
|
@@ -17498,6 +17512,10 @@ declare const _default: {
|
|
|
17498
17512
|
format: string;
|
|
17499
17513
|
type: string;
|
|
17500
17514
|
};
|
|
17515
|
+
customer_key: {
|
|
17516
|
+
description: string;
|
|
17517
|
+
type: string;
|
|
17518
|
+
};
|
|
17501
17519
|
location_id: {
|
|
17502
17520
|
deprecated: boolean;
|
|
17503
17521
|
format: string;
|
|
@@ -32994,8 +33012,8 @@ declare const _default: {
|
|
|
32994
33012
|
name: string;
|
|
32995
33013
|
schema: {
|
|
32996
33014
|
description: string;
|
|
32997
|
-
format: string;
|
|
32998
33015
|
type: string;
|
|
33016
|
+
format?: never;
|
|
32999
33017
|
items?: never;
|
|
33000
33018
|
maxItems?: never;
|
|
33001
33019
|
minItems?: never;
|
|
@@ -33007,8 +33025,8 @@ declare const _default: {
|
|
|
33007
33025
|
name: string;
|
|
33008
33026
|
schema: {
|
|
33009
33027
|
description: string;
|
|
33028
|
+
format: string;
|
|
33010
33029
|
type: string;
|
|
33011
|
-
format?: never;
|
|
33012
33030
|
items?: never;
|
|
33013
33031
|
maxItems?: never;
|
|
33014
33032
|
minItems?: never;
|
|
@@ -33230,12 +33248,8 @@ declare const _default: {
|
|
|
33230
33248
|
format: string;
|
|
33231
33249
|
type: string;
|
|
33232
33250
|
};
|
|
33233
|
-
|
|
33251
|
+
customer_key: {
|
|
33234
33252
|
description: string;
|
|
33235
|
-
items: {
|
|
33236
|
-
format: string;
|
|
33237
|
-
type: string;
|
|
33238
|
-
};
|
|
33239
33253
|
type: string;
|
|
33240
33254
|
};
|
|
33241
33255
|
device_id: {
|
|
@@ -40846,8 +40860,8 @@ declare const _default: {
|
|
|
40846
40860
|
name: string;
|
|
40847
40861
|
schema: {
|
|
40848
40862
|
description: string;
|
|
40849
|
-
minLength: number;
|
|
40850
40863
|
type: string;
|
|
40864
|
+
minLength?: never;
|
|
40851
40865
|
format?: never;
|
|
40852
40866
|
'x-draft'?: never;
|
|
40853
40867
|
'x-undocumented'?: never;
|
|
@@ -40857,22 +40871,22 @@ declare const _default: {
|
|
|
40857
40871
|
name: string;
|
|
40858
40872
|
schema: {
|
|
40859
40873
|
description: string;
|
|
40860
|
-
|
|
40874
|
+
minLength: number;
|
|
40861
40875
|
type: string;
|
|
40862
|
-
|
|
40863
|
-
'x-
|
|
40864
|
-
|
|
40876
|
+
format?: never;
|
|
40877
|
+
'x-draft'?: never;
|
|
40878
|
+
'x-undocumented'?: never;
|
|
40865
40879
|
};
|
|
40866
40880
|
} | {
|
|
40867
40881
|
in: string;
|
|
40868
40882
|
name: string;
|
|
40869
40883
|
schema: {
|
|
40870
40884
|
description: string;
|
|
40885
|
+
format: string;
|
|
40871
40886
|
type: string;
|
|
40887
|
+
'x-draft': string;
|
|
40888
|
+
'x-undocumented': string;
|
|
40872
40889
|
minLength?: never;
|
|
40873
|
-
format?: never;
|
|
40874
|
-
'x-draft'?: never;
|
|
40875
|
-
'x-undocumented'?: never;
|
|
40876
40890
|
};
|
|
40877
40891
|
})[];
|
|
40878
40892
|
responses: {
|
|
@@ -40950,6 +40964,10 @@ declare const _default: {
|
|
|
40950
40964
|
'x-draft': string;
|
|
40951
40965
|
'x-undocumented': string;
|
|
40952
40966
|
};
|
|
40967
|
+
customer_key: {
|
|
40968
|
+
description: string;
|
|
40969
|
+
type: string;
|
|
40970
|
+
};
|
|
40953
40971
|
search: {
|
|
40954
40972
|
description: string;
|
|
40955
40973
|
minLength: number;
|
|
@@ -48956,6 +48974,14 @@ declare const _default: {
|
|
|
48956
48974
|
get: {
|
|
48957
48975
|
description: string;
|
|
48958
48976
|
operationId: string;
|
|
48977
|
+
parameters: {
|
|
48978
|
+
in: string;
|
|
48979
|
+
name: string;
|
|
48980
|
+
schema: {
|
|
48981
|
+
description: string;
|
|
48982
|
+
type: string;
|
|
48983
|
+
};
|
|
48984
|
+
}[];
|
|
48959
48985
|
responses: {
|
|
48960
48986
|
200: {
|
|
48961
48987
|
content: {
|
|
@@ -49019,6 +49045,21 @@ declare const _default: {
|
|
|
49019
49045
|
post: {
|
|
49020
49046
|
description: string;
|
|
49021
49047
|
operationId: string;
|
|
49048
|
+
requestBody: {
|
|
49049
|
+
content: {
|
|
49050
|
+
'application/json': {
|
|
49051
|
+
schema: {
|
|
49052
|
+
properties: {
|
|
49053
|
+
customer_key: {
|
|
49054
|
+
description: string;
|
|
49055
|
+
type: string;
|
|
49056
|
+
};
|
|
49057
|
+
};
|
|
49058
|
+
type: string;
|
|
49059
|
+
};
|
|
49060
|
+
};
|
|
49061
|
+
};
|
|
49062
|
+
};
|
|
49022
49063
|
responses: {
|
|
49023
49064
|
200: {
|
|
49024
49065
|
content: {
|
|
@@ -1635,6 +1635,13 @@ export default {
|
|
|
1635
1635
|
description: 'Access methods that the user requested for the Access Grant.',
|
|
1636
1636
|
items: {
|
|
1637
1637
|
properties: {
|
|
1638
|
+
code: {
|
|
1639
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
1640
|
+
maxLength: 9,
|
|
1641
|
+
minLength: 4,
|
|
1642
|
+
pattern: '^\\d+$',
|
|
1643
|
+
type: 'string',
|
|
1644
|
+
},
|
|
1638
1645
|
created_access_method_ids: {
|
|
1639
1646
|
description: 'IDs of the access methods created for the requested access method.',
|
|
1640
1647
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -25119,6 +25126,13 @@ export default {
|
|
|
25119
25126
|
requested_access_methods: {
|
|
25120
25127
|
items: {
|
|
25121
25128
|
properties: {
|
|
25129
|
+
code: {
|
|
25130
|
+
description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
25131
|
+
maxLength: 9,
|
|
25132
|
+
minLength: 4,
|
|
25133
|
+
pattern: '^\\d+$',
|
|
25134
|
+
type: 'string',
|
|
25135
|
+
},
|
|
25122
25136
|
mode: {
|
|
25123
25137
|
description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
25124
25138
|
enum: ['code', 'card', 'mobile_key'],
|
|
@@ -25648,6 +25662,14 @@ export default {
|
|
|
25648
25662
|
description: 'Gets an Access Grant.',
|
|
25649
25663
|
operationId: 'accessGrantsListGet',
|
|
25650
25664
|
parameters: [
|
|
25665
|
+
{
|
|
25666
|
+
in: 'query',
|
|
25667
|
+
name: 'customer_key',
|
|
25668
|
+
schema: {
|
|
25669
|
+
description: 'Customer key for which you want to list access grants.',
|
|
25670
|
+
type: 'string',
|
|
25671
|
+
},
|
|
25672
|
+
},
|
|
25651
25673
|
{
|
|
25652
25674
|
in: 'query',
|
|
25653
25675
|
name: 'user_identity_id',
|
|
@@ -25762,6 +25784,10 @@ export default {
|
|
|
25762
25784
|
format: 'uuid',
|
|
25763
25785
|
type: 'string',
|
|
25764
25786
|
},
|
|
25787
|
+
customer_key: {
|
|
25788
|
+
description: 'Customer key for which you want to list access grants.',
|
|
25789
|
+
type: 'string',
|
|
25790
|
+
},
|
|
25765
25791
|
location_id: {
|
|
25766
25792
|
deprecated: true,
|
|
25767
25793
|
format: 'uuid',
|
|
@@ -39079,6 +39105,14 @@ export default {
|
|
|
39079
39105
|
description: 'Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://docs.seam.co/latest/developer-tools/webhooks), but it enables you to filter or see events that already took place.',
|
|
39080
39106
|
operationId: 'eventsListGet',
|
|
39081
39107
|
parameters: [
|
|
39108
|
+
{
|
|
39109
|
+
in: 'query',
|
|
39110
|
+
name: 'customer_key',
|
|
39111
|
+
schema: {
|
|
39112
|
+
description: 'Customer key for which you want to list events.',
|
|
39113
|
+
type: 'string',
|
|
39114
|
+
},
|
|
39115
|
+
},
|
|
39082
39116
|
{
|
|
39083
39117
|
in: 'query',
|
|
39084
39118
|
name: 'unstable_offset',
|
|
@@ -39406,15 +39440,6 @@ export default {
|
|
|
39406
39440
|
type: 'array',
|
|
39407
39441
|
},
|
|
39408
39442
|
},
|
|
39409
|
-
{
|
|
39410
|
-
in: 'query',
|
|
39411
|
-
name: 'customer_ids',
|
|
39412
|
-
schema: {
|
|
39413
|
-
description: 'IDs of the customers for which you want to list events.',
|
|
39414
|
-
items: { format: 'uuid', type: 'string' },
|
|
39415
|
-
type: 'array',
|
|
39416
|
-
},
|
|
39417
|
-
},
|
|
39418
39443
|
],
|
|
39419
39444
|
responses: {
|
|
39420
39445
|
200: {
|
|
@@ -39503,10 +39528,9 @@ export default {
|
|
|
39503
39528
|
format: 'uuid',
|
|
39504
39529
|
type: 'string',
|
|
39505
39530
|
},
|
|
39506
|
-
|
|
39507
|
-
description: '
|
|
39508
|
-
|
|
39509
|
-
type: 'array',
|
|
39531
|
+
customer_key: {
|
|
39532
|
+
description: 'Customer key for which you want to list events.',
|
|
39533
|
+
type: 'string',
|
|
39510
39534
|
},
|
|
39511
39535
|
device_id: {
|
|
39512
39536
|
description: 'ID of the device for which you want to list events.',
|
|
@@ -46586,6 +46610,14 @@ export default {
|
|
|
46586
46610
|
description: 'Returns a list of all spaces.',
|
|
46587
46611
|
operationId: 'spacesListGet',
|
|
46588
46612
|
parameters: [
|
|
46613
|
+
{
|
|
46614
|
+
in: 'query',
|
|
46615
|
+
name: 'customer_key',
|
|
46616
|
+
schema: {
|
|
46617
|
+
description: 'Customer key for which you want to list spaces.',
|
|
46618
|
+
type: 'string',
|
|
46619
|
+
},
|
|
46620
|
+
},
|
|
46589
46621
|
{
|
|
46590
46622
|
in: 'query',
|
|
46591
46623
|
name: 'search',
|
|
@@ -46667,6 +46699,10 @@ export default {
|
|
|
46667
46699
|
'x-draft': 'Needs review.',
|
|
46668
46700
|
'x-undocumented': 'Only used internally.',
|
|
46669
46701
|
},
|
|
46702
|
+
customer_key: {
|
|
46703
|
+
description: 'Customer key for which you want to list spaces.',
|
|
46704
|
+
type: 'string',
|
|
46705
|
+
},
|
|
46670
46706
|
search: {
|
|
46671
46707
|
description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
46672
46708
|
minLength: 1,
|
|
@@ -53019,6 +53055,16 @@ export default {
|
|
|
53019
53055
|
get: {
|
|
53020
53056
|
description: 'Retrieves the customization profile for the workspace.',
|
|
53021
53057
|
operationId: 'workspacesCustomizationProfilesListGet',
|
|
53058
|
+
parameters: [
|
|
53059
|
+
{
|
|
53060
|
+
in: 'query',
|
|
53061
|
+
name: 'customer_key',
|
|
53062
|
+
schema: {
|
|
53063
|
+
description: 'Customer key for which you want to list customization profiles.',
|
|
53064
|
+
type: 'string',
|
|
53065
|
+
},
|
|
53066
|
+
},
|
|
53067
|
+
],
|
|
53022
53068
|
responses: {
|
|
53023
53069
|
200: {
|
|
53024
53070
|
content: {
|
|
@@ -53061,6 +53107,21 @@ export default {
|
|
|
53061
53107
|
post: {
|
|
53062
53108
|
description: 'Retrieves the customization profile for the workspace.',
|
|
53063
53109
|
operationId: 'workspacesCustomizationProfilesListPost',
|
|
53110
|
+
requestBody: {
|
|
53111
|
+
content: {
|
|
53112
|
+
'application/json': {
|
|
53113
|
+
schema: {
|
|
53114
|
+
properties: {
|
|
53115
|
+
customer_key: {
|
|
53116
|
+
description: 'Customer key for which you want to list customization profiles.',
|
|
53117
|
+
type: 'string',
|
|
53118
|
+
},
|
|
53119
|
+
},
|
|
53120
|
+
type: 'object',
|
|
53121
|
+
},
|
|
53122
|
+
},
|
|
53123
|
+
},
|
|
53124
|
+
},
|
|
53064
53125
|
responses: {
|
|
53065
53126
|
200: {
|
|
53066
53127
|
content: {
|