@seamapi/types 1.516.0 → 1.517.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 +17 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -0
- package/dist/index.cjs +17 -0
- 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 +14 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -0
- 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 +16 -0
- package/src/lib/seam/connect/route-types.ts +12 -0
|
@@ -9995,6 +9995,8 @@ export type Routes = {
|
|
|
9995
9995
|
requested_access_methods: {
|
|
9996
9996
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
9997
9997
|
mode: 'code' | 'card' | 'mobile_key';
|
|
9998
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
9999
|
+
code?: string | undefined;
|
|
9998
10000
|
}[];
|
|
9999
10001
|
/** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
10000
10002
|
starts_at?: string | undefined;
|
|
@@ -10026,6 +10028,8 @@ export type Routes = {
|
|
|
10026
10028
|
display_name: string;
|
|
10027
10029
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10028
10030
|
mode: 'code' | 'card' | 'mobile_key';
|
|
10031
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
10032
|
+
code?: string | undefined;
|
|
10029
10033
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
10030
10034
|
created_at: string;
|
|
10031
10035
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -10099,6 +10103,8 @@ export type Routes = {
|
|
|
10099
10103
|
display_name: string;
|
|
10100
10104
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10101
10105
|
mode: 'code' | 'card' | 'mobile_key';
|
|
10106
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
10107
|
+
code?: string | undefined;
|
|
10102
10108
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
10103
10109
|
created_at: string;
|
|
10104
10110
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -11810,6 +11816,8 @@ export type Routes = {
|
|
|
11810
11816
|
display_name: string;
|
|
11811
11817
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11812
11818
|
mode: 'code' | 'card' | 'mobile_key';
|
|
11819
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
11820
|
+
code?: string | undefined;
|
|
11813
11821
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11814
11822
|
created_at: string;
|
|
11815
11823
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -17186,6 +17194,8 @@ export type Routes = {
|
|
|
17186
17194
|
display_name: string;
|
|
17187
17195
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
17188
17196
|
mode: 'code' | 'card' | 'mobile_key';
|
|
17197
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
17198
|
+
code?: string | undefined;
|
|
17189
17199
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
17190
17200
|
created_at: string;
|
|
17191
17201
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -82772,6 +82782,8 @@ export type Routes = {
|
|
|
82772
82782
|
display_name: string;
|
|
82773
82783
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
82774
82784
|
mode: 'code' | 'card' | 'mobile_key';
|
|
82785
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
82786
|
+
code?: string | undefined;
|
|
82775
82787
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
82776
82788
|
created_at: string;
|
|
82777
82789
|
/** IDs of the access methods created for the requested access method. */
|
package/package.json
CHANGED
|
@@ -7,6 +7,15 @@ export const requested_access_method = z.object({
|
|
|
7
7
|
.describe(
|
|
8
8
|
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
9
9
|
),
|
|
10
|
+
code: z
|
|
11
|
+
.string()
|
|
12
|
+
.min(4)
|
|
13
|
+
.max(9)
|
|
14
|
+
.regex(/^\d+$/, 'Must only contain digits')
|
|
15
|
+
.optional()
|
|
16
|
+
.describe(
|
|
17
|
+
"Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
18
|
+
),
|
|
10
19
|
created_at: z
|
|
11
20
|
.string()
|
|
12
21
|
.datetime()
|
|
@@ -1889,6 +1889,14 @@ export default {
|
|
|
1889
1889
|
'Access methods that the user requested for the Access Grant.',
|
|
1890
1890
|
items: {
|
|
1891
1891
|
properties: {
|
|
1892
|
+
code: {
|
|
1893
|
+
description:
|
|
1894
|
+
"Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
1895
|
+
maxLength: 9,
|
|
1896
|
+
minLength: 4,
|
|
1897
|
+
pattern: '^\\d+$',
|
|
1898
|
+
type: 'string',
|
|
1899
|
+
},
|
|
1892
1900
|
created_access_method_ids: {
|
|
1893
1901
|
description:
|
|
1894
1902
|
'IDs of the access methods created for the requested access method.',
|
|
@@ -27974,6 +27982,14 @@ export default {
|
|
|
27974
27982
|
requested_access_methods: {
|
|
27975
27983
|
items: {
|
|
27976
27984
|
properties: {
|
|
27985
|
+
code: {
|
|
27986
|
+
description:
|
|
27987
|
+
"Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
|
|
27988
|
+
maxLength: 9,
|
|
27989
|
+
minLength: 4,
|
|
27990
|
+
pattern: '^\\d+$',
|
|
27991
|
+
type: 'string',
|
|
27992
|
+
},
|
|
27977
27993
|
mode: {
|
|
27978
27994
|
description:
|
|
27979
27995
|
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
@@ -11235,6 +11235,8 @@ export type Routes = {
|
|
|
11235
11235
|
requested_access_methods: {
|
|
11236
11236
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11237
11237
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11238
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
11239
|
+
code?: string | undefined
|
|
11238
11240
|
}[]
|
|
11239
11241
|
/** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
11240
11242
|
starts_at?: string | undefined
|
|
@@ -11266,6 +11268,8 @@ export type Routes = {
|
|
|
11266
11268
|
display_name: string
|
|
11267
11269
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11268
11270
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11271
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
11272
|
+
code?: string | undefined
|
|
11269
11273
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11270
11274
|
created_at: string
|
|
11271
11275
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -11341,6 +11345,8 @@ export type Routes = {
|
|
|
11341
11345
|
display_name: string
|
|
11342
11346
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
11343
11347
|
mode: 'code' | 'card' | 'mobile_key'
|
|
11348
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
11349
|
+
code?: string | undefined
|
|
11344
11350
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
11345
11351
|
created_at: string
|
|
11346
11352
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -13515,6 +13521,8 @@ export type Routes = {
|
|
|
13515
13521
|
display_name: string
|
|
13516
13522
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
13517
13523
|
mode: 'code' | 'card' | 'mobile_key'
|
|
13524
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
13525
|
+
code?: string | undefined
|
|
13518
13526
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
13519
13527
|
created_at: string
|
|
13520
13528
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -19966,6 +19974,8 @@ export type Routes = {
|
|
|
19966
19974
|
display_name: string
|
|
19967
19975
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
19968
19976
|
mode: 'code' | 'card' | 'mobile_key'
|
|
19977
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
19978
|
+
code?: string | undefined
|
|
19969
19979
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
19970
19980
|
created_at: string
|
|
19971
19981
|
/** IDs of the access methods created for the requested access method. */
|
|
@@ -98518,6 +98528,8 @@ export type Routes = {
|
|
|
98518
98528
|
display_name: string
|
|
98519
98529
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
98520
98530
|
mode: 'code' | 'card' | 'mobile_key'
|
|
98531
|
+
/** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
|
|
98532
|
+
code?: string | undefined
|
|
98521
98533
|
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
98522
98534
|
created_at: string
|
|
98523
98535
|
/** IDs of the access methods created for the requested access method. */
|