@seamapi/types 1.808.0 → 1.810.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 +103 -31
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +256 -31
- package/dist/index.cjs +103 -31
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -0
- package/lib/seam/connect/models/spaces/space.d.ts +36 -0
- package/lib/seam/connect/models/spaces/space.js +20 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +92 -31
- package/lib/seam/connect/openapi.js +92 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +108 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/spaces/space.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +107 -31
- package/src/lib/seam/connect/route-types.ts +132 -0
|
@@ -23172,6 +23172,29 @@ export default {
|
|
|
23172
23172
|
format: 'date-time',
|
|
23173
23173
|
type: 'string',
|
|
23174
23174
|
},
|
|
23175
|
+
customer_data: {
|
|
23176
|
+
description: 'Reservation/stay-related defaults for the space.',
|
|
23177
|
+
properties: {
|
|
23178
|
+
default_checkin_time: {
|
|
23179
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
23180
|
+
nullable: true,
|
|
23181
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
23182
|
+
type: 'string',
|
|
23183
|
+
},
|
|
23184
|
+
default_checkout_time: {
|
|
23185
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
23186
|
+
nullable: true,
|
|
23187
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
23188
|
+
type: 'string',
|
|
23189
|
+
},
|
|
23190
|
+
time_zone: {
|
|
23191
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
23192
|
+
nullable: true,
|
|
23193
|
+
type: 'string',
|
|
23194
|
+
},
|
|
23195
|
+
},
|
|
23196
|
+
type: 'object',
|
|
23197
|
+
},
|
|
23175
23198
|
customer_key: {
|
|
23176
23199
|
description: 'Customer key associated with the space.',
|
|
23177
23200
|
type: 'string',
|
|
@@ -34796,7 +34819,6 @@ export default {
|
|
|
34796
34819
|
],
|
|
34797
34820
|
summary: '/access_methods/delete',
|
|
34798
34821
|
tags: [],
|
|
34799
|
-
'x-draft': 'Early access.',
|
|
34800
34822
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
34801
34823
|
'x-fern-sdk-method-name': 'delete',
|
|
34802
34824
|
'x-response-key': null,
|
|
@@ -34871,7 +34893,6 @@ export default {
|
|
|
34871
34893
|
],
|
|
34872
34894
|
summary: '/access_methods/delete',
|
|
34873
34895
|
tags: [],
|
|
34874
|
-
'x-draft': 'Early access.',
|
|
34875
34896
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
34876
34897
|
'x-fern-sdk-method-name': 'delete',
|
|
34877
34898
|
'x-response-key': null,
|
|
@@ -34984,7 +35005,6 @@ export default {
|
|
|
34984
35005
|
],
|
|
34985
35006
|
summary: '/access_methods/get',
|
|
34986
35007
|
tags: [],
|
|
34987
|
-
'x-draft': 'Early access.',
|
|
34988
35008
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
34989
35009
|
'x-fern-sdk-method-name': 'get',
|
|
34990
35010
|
'x-fern-sdk-return-value': 'access_method',
|
|
@@ -35039,7 +35059,6 @@ export default {
|
|
|
35039
35059
|
],
|
|
35040
35060
|
summary: '/access_methods/get',
|
|
35041
35061
|
tags: [],
|
|
35042
|
-
'x-draft': 'Early access.',
|
|
35043
35062
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
35044
35063
|
'x-fern-sdk-method-name': 'get',
|
|
35045
35064
|
'x-fern-sdk-return-value': 'access_method',
|
|
@@ -35184,7 +35203,6 @@ export default {
|
|
|
35184
35203
|
'client_sessions',
|
|
35185
35204
|
'acs_credentials',
|
|
35186
35205
|
],
|
|
35187
|
-
'x-draft': 'Early access.',
|
|
35188
35206
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
35189
35207
|
'x-fern-sdk-method-name': 'get_related',
|
|
35190
35208
|
'x-fern-sdk-return-value': 'batch',
|
|
@@ -35322,7 +35340,6 @@ export default {
|
|
|
35322
35340
|
'client_sessions',
|
|
35323
35341
|
'acs_credentials',
|
|
35324
35342
|
],
|
|
35325
|
-
'x-draft': 'Early access.',
|
|
35326
35343
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
35327
35344
|
'x-fern-sdk-method-name': 'get_related',
|
|
35328
35345
|
'x-fern-sdk-return-value': 'batch',
|
|
@@ -35420,7 +35437,6 @@ export default {
|
|
|
35420
35437
|
],
|
|
35421
35438
|
summary: '/access_methods/list',
|
|
35422
35439
|
tags: [],
|
|
35423
|
-
'x-draft': 'Early access.',
|
|
35424
35440
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
35425
35441
|
'x-fern-sdk-method-name': 'list',
|
|
35426
35442
|
'x-fern-sdk-return-value': 'access_methods',
|
|
@@ -35501,7 +35517,6 @@ export default {
|
|
|
35501
35517
|
],
|
|
35502
35518
|
summary: '/access_methods/list',
|
|
35503
35519
|
tags: [],
|
|
35504
|
-
'x-draft': 'Early access.',
|
|
35505
35520
|
'x-fern-sdk-group-name': ['access_methods'],
|
|
35506
35521
|
'x-fern-sdk-method-name': 'list',
|
|
35507
35522
|
'x-fern-sdk-return-value': 'access_methods',
|
|
@@ -35894,7 +35909,6 @@ export default {
|
|
|
35894
35909
|
],
|
|
35895
35910
|
summary: '/access_methods/unmanaged/get',
|
|
35896
35911
|
tags: [],
|
|
35897
|
-
'x-draft': 'Early access.',
|
|
35898
35912
|
'x-fern-sdk-group-name': ['access_methods', 'unmanaged'],
|
|
35899
35913
|
'x-fern-sdk-method-name': 'get',
|
|
35900
35914
|
'x-fern-sdk-return-value': 'access_method',
|
|
@@ -36290,7 +36304,6 @@ export default {
|
|
|
36290
36304
|
],
|
|
36291
36305
|
summary: '/access_methods/unmanaged/get',
|
|
36292
36306
|
tags: [],
|
|
36293
|
-
'x-draft': 'Early access.',
|
|
36294
36307
|
'x-fern-sdk-group-name': ['access_methods', 'unmanaged'],
|
|
36295
36308
|
'x-fern-sdk-method-name': 'get',
|
|
36296
36309
|
'x-fern-sdk-return-value': 'access_method',
|
|
@@ -36717,7 +36730,6 @@ export default {
|
|
|
36717
36730
|
],
|
|
36718
36731
|
summary: '/access_methods/unmanaged/list',
|
|
36719
36732
|
tags: [],
|
|
36720
|
-
'x-draft': 'Early access.',
|
|
36721
36733
|
'x-fern-sdk-group-name': ['access_methods', 'unmanaged'],
|
|
36722
36734
|
'x-fern-sdk-method-name': 'list',
|
|
36723
36735
|
'x-fern-sdk-return-value': 'access_methods',
|
|
@@ -37132,7 +37144,6 @@ export default {
|
|
|
37132
37144
|
],
|
|
37133
37145
|
summary: '/access_methods/unmanaged/list',
|
|
37134
37146
|
tags: [],
|
|
37135
|
-
'x-draft': 'Early access.',
|
|
37136
37147
|
'x-fern-sdk-group-name': ['access_methods', 'unmanaged'],
|
|
37137
37148
|
'x-fern-sdk-method-name': 'list',
|
|
37138
37149
|
'x-fern-sdk-return-value': 'access_methods',
|
|
@@ -67805,7 +67816,6 @@ export default {
|
|
|
67805
67816
|
],
|
|
67806
67817
|
summary: '/spaces/add_acs_entrances',
|
|
67807
67818
|
tags: [],
|
|
67808
|
-
'x-draft': 'Early access.',
|
|
67809
67819
|
'x-fern-sdk-group-name': ['spaces'],
|
|
67810
67820
|
'x-fern-sdk-method-name': 'add_acs_entrances',
|
|
67811
67821
|
'x-response-key': null,
|
|
@@ -67861,7 +67871,6 @@ export default {
|
|
|
67861
67871
|
],
|
|
67862
67872
|
summary: '/spaces/add_acs_entrances',
|
|
67863
67873
|
tags: [],
|
|
67864
|
-
'x-draft': 'Early access.',
|
|
67865
67874
|
'x-fern-sdk-group-name': ['spaces'],
|
|
67866
67875
|
'x-fern-sdk-method-name': 'add_acs_entrances',
|
|
67867
67876
|
'x-response-key': null,
|
|
@@ -67919,7 +67928,6 @@ export default {
|
|
|
67919
67928
|
],
|
|
67920
67929
|
summary: '/spaces/add_devices',
|
|
67921
67930
|
tags: [],
|
|
67922
|
-
'x-draft': 'Early access.',
|
|
67923
67931
|
'x-fern-sdk-group-name': ['spaces'],
|
|
67924
67932
|
'x-fern-sdk-method-name': 'add_devices',
|
|
67925
67933
|
'x-response-key': null,
|
|
@@ -67975,7 +67983,6 @@ export default {
|
|
|
67975
67983
|
],
|
|
67976
67984
|
summary: '/spaces/add_devices',
|
|
67977
67985
|
tags: [],
|
|
67978
|
-
'x-draft': 'Early access.',
|
|
67979
67986
|
'x-fern-sdk-group-name': ['spaces'],
|
|
67980
67987
|
'x-fern-sdk-method-name': 'add_devices',
|
|
67981
67988
|
'x-response-key': null,
|
|
@@ -67996,6 +68003,29 @@ export default {
|
|
|
67996
68003
|
items: { format: 'uuid', type: 'string' },
|
|
67997
68004
|
type: 'array',
|
|
67998
68005
|
},
|
|
68006
|
+
customer_data: {
|
|
68007
|
+
description: 'Reservation/stay-related defaults for the space.',
|
|
68008
|
+
properties: {
|
|
68009
|
+
default_checkin_time: {
|
|
68010
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
68011
|
+
nullable: true,
|
|
68012
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
68013
|
+
type: 'string',
|
|
68014
|
+
},
|
|
68015
|
+
default_checkout_time: {
|
|
68016
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
68017
|
+
nullable: true,
|
|
68018
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
68019
|
+
type: 'string',
|
|
68020
|
+
},
|
|
68021
|
+
time_zone: {
|
|
68022
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
68023
|
+
nullable: true,
|
|
68024
|
+
type: 'string',
|
|
68025
|
+
},
|
|
68026
|
+
},
|
|
68027
|
+
type: 'object',
|
|
68028
|
+
},
|
|
67999
68029
|
customer_key: {
|
|
68000
68030
|
description: 'Customer key for which you want to create the space.',
|
|
68001
68031
|
minLength: 1,
|
|
@@ -68048,7 +68078,6 @@ export default {
|
|
|
68048
68078
|
],
|
|
68049
68079
|
summary: '/spaces/create',
|
|
68050
68080
|
tags: [],
|
|
68051
|
-
'x-draft': 'Early access.',
|
|
68052
68081
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68053
68082
|
'x-fern-sdk-method-name': 'create',
|
|
68054
68083
|
'x-fern-sdk-return-value': 'space',
|
|
@@ -68101,7 +68130,6 @@ export default {
|
|
|
68101
68130
|
],
|
|
68102
68131
|
summary: '/spaces/delete',
|
|
68103
68132
|
tags: [],
|
|
68104
|
-
'x-draft': 'Early access.',
|
|
68105
68133
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68106
68134
|
'x-fern-sdk-method-name': 'delete',
|
|
68107
68135
|
'x-response-key': null,
|
|
@@ -68151,7 +68179,6 @@ export default {
|
|
|
68151
68179
|
],
|
|
68152
68180
|
summary: '/spaces/delete',
|
|
68153
68181
|
tags: [],
|
|
68154
|
-
'x-draft': 'Early access.',
|
|
68155
68182
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68156
68183
|
'x-fern-sdk-method-name': 'delete',
|
|
68157
68184
|
'x-response-key': null,
|
|
@@ -68189,7 +68216,6 @@ export default {
|
|
|
68189
68216
|
],
|
|
68190
68217
|
summary: '/spaces/get',
|
|
68191
68218
|
tags: [],
|
|
68192
|
-
'x-draft': 'Early access.',
|
|
68193
68219
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68194
68220
|
'x-fern-sdk-method-name': 'get',
|
|
68195
68221
|
'x-fern-sdk-return-value': 'space',
|
|
@@ -68257,7 +68283,6 @@ export default {
|
|
|
68257
68283
|
],
|
|
68258
68284
|
summary: '/spaces/get',
|
|
68259
68285
|
tags: [],
|
|
68260
|
-
'x-draft': 'Early access.',
|
|
68261
68286
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68262
68287
|
'x-fern-sdk-method-name': 'get',
|
|
68263
68288
|
'x-fern-sdk-return-value': 'space',
|
|
@@ -68392,7 +68417,6 @@ export default {
|
|
|
68392
68417
|
'acs_systems',
|
|
68393
68418
|
'access_methods',
|
|
68394
68419
|
],
|
|
68395
|
-
'x-draft': 'Early access.',
|
|
68396
68420
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68397
68421
|
'x-fern-sdk-method-name': 'get_related',
|
|
68398
68422
|
'x-fern-sdk-return-value': 'batch',
|
|
@@ -68518,7 +68542,6 @@ export default {
|
|
|
68518
68542
|
'acs_systems',
|
|
68519
68543
|
'access_methods',
|
|
68520
68544
|
],
|
|
68521
|
-
'x-draft': 'Early access.',
|
|
68522
68545
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68523
68546
|
'x-fern-sdk-method-name': 'get_related',
|
|
68524
68547
|
'x-fern-sdk-return-value': 'batch',
|
|
@@ -68618,7 +68641,6 @@ export default {
|
|
|
68618
68641
|
],
|
|
68619
68642
|
summary: '/spaces/list',
|
|
68620
68643
|
tags: [],
|
|
68621
|
-
'x-draft': 'Early access.',
|
|
68622
68644
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68623
68645
|
'x-fern-sdk-method-name': 'list',
|
|
68624
68646
|
'x-fern-sdk-return-value': 'spaces',
|
|
@@ -68701,7 +68723,6 @@ export default {
|
|
|
68701
68723
|
],
|
|
68702
68724
|
summary: '/spaces/list',
|
|
68703
68725
|
tags: [],
|
|
68704
|
-
'x-draft': 'Early access.',
|
|
68705
68726
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68706
68727
|
'x-fern-sdk-method-name': 'list',
|
|
68707
68728
|
'x-fern-sdk-return-value': 'spaces',
|
|
@@ -68759,7 +68780,6 @@ export default {
|
|
|
68759
68780
|
],
|
|
68760
68781
|
summary: '/spaces/remove_acs_entrances',
|
|
68761
68782
|
tags: [],
|
|
68762
|
-
'x-draft': 'Early access.',
|
|
68763
68783
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68764
68784
|
'x-fern-sdk-method-name': 'remove_acs_entrances',
|
|
68765
68785
|
'x-response-key': null,
|
|
@@ -68814,7 +68834,6 @@ export default {
|
|
|
68814
68834
|
],
|
|
68815
68835
|
summary: '/spaces/remove_acs_entrances',
|
|
68816
68836
|
tags: [],
|
|
68817
|
-
'x-draft': 'Early access.',
|
|
68818
68837
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68819
68838
|
'x-fern-sdk-method-name': 'remove_acs_entrances',
|
|
68820
68839
|
'x-response-key': null,
|
|
@@ -68871,7 +68890,6 @@ export default {
|
|
|
68871
68890
|
],
|
|
68872
68891
|
summary: '/spaces/remove_devices',
|
|
68873
68892
|
tags: [],
|
|
68874
|
-
'x-draft': 'Early access.',
|
|
68875
68893
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68876
68894
|
'x-fern-sdk-method-name': 'remove_devices',
|
|
68877
68895
|
'x-response-key': null,
|
|
@@ -68926,7 +68944,6 @@ export default {
|
|
|
68926
68944
|
],
|
|
68927
68945
|
summary: '/spaces/remove_devices',
|
|
68928
68946
|
tags: [],
|
|
68929
|
-
'x-draft': 'Early access.',
|
|
68930
68947
|
'x-fern-sdk-group-name': ['spaces'],
|
|
68931
68948
|
'x-fern-sdk-method-name': 'remove_devices',
|
|
68932
68949
|
'x-response-key': null,
|
|
@@ -68947,6 +68964,29 @@ export default {
|
|
|
68947
68964
|
items: { format: 'uuid', type: 'string' },
|
|
68948
68965
|
type: 'array',
|
|
68949
68966
|
},
|
|
68967
|
+
customer_data: {
|
|
68968
|
+
description: 'Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.',
|
|
68969
|
+
properties: {
|
|
68970
|
+
default_checkin_time: {
|
|
68971
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
68972
|
+
nullable: true,
|
|
68973
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
68974
|
+
type: 'string',
|
|
68975
|
+
},
|
|
68976
|
+
default_checkout_time: {
|
|
68977
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
68978
|
+
nullable: true,
|
|
68979
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
68980
|
+
type: 'string',
|
|
68981
|
+
},
|
|
68982
|
+
time_zone: {
|
|
68983
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
68984
|
+
nullable: true,
|
|
68985
|
+
type: 'string',
|
|
68986
|
+
},
|
|
68987
|
+
},
|
|
68988
|
+
type: 'object',
|
|
68989
|
+
},
|
|
68950
68990
|
customer_key: {
|
|
68951
68991
|
description: 'Customer key for which you want to update the space.',
|
|
68952
68992
|
minLength: 1,
|
|
@@ -69000,7 +69040,6 @@ export default {
|
|
|
69000
69040
|
],
|
|
69001
69041
|
summary: '/spaces/update',
|
|
69002
69042
|
tags: [],
|
|
69003
|
-
'x-draft': 'Early access.',
|
|
69004
69043
|
'x-fern-sdk-group-name': ['spaces'],
|
|
69005
69044
|
'x-fern-sdk-method-name': 'update',
|
|
69006
69045
|
'x-fern-sdk-return-value': 'space',
|
|
@@ -69020,6 +69059,29 @@ export default {
|
|
|
69020
69059
|
items: { format: 'uuid', type: 'string' },
|
|
69021
69060
|
type: 'array',
|
|
69022
69061
|
},
|
|
69062
|
+
customer_data: {
|
|
69063
|
+
description: 'Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.',
|
|
69064
|
+
properties: {
|
|
69065
|
+
default_checkin_time: {
|
|
69066
|
+
description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
69067
|
+
nullable: true,
|
|
69068
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
69069
|
+
type: 'string',
|
|
69070
|
+
},
|
|
69071
|
+
default_checkout_time: {
|
|
69072
|
+
description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
|
|
69073
|
+
nullable: true,
|
|
69074
|
+
pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
|
|
69075
|
+
type: 'string',
|
|
69076
|
+
},
|
|
69077
|
+
time_zone: {
|
|
69078
|
+
description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
|
|
69079
|
+
nullable: true,
|
|
69080
|
+
type: 'string',
|
|
69081
|
+
},
|
|
69082
|
+
},
|
|
69083
|
+
type: 'object',
|
|
69084
|
+
},
|
|
69023
69085
|
customer_key: {
|
|
69024
69086
|
description: 'Customer key for which you want to update the space.',
|
|
69025
69087
|
minLength: 1,
|
|
@@ -69073,7 +69135,6 @@ export default {
|
|
|
69073
69135
|
],
|
|
69074
69136
|
summary: '/spaces/update',
|
|
69075
69137
|
tags: [],
|
|
69076
|
-
'x-draft': 'Early access.',
|
|
69077
69138
|
'x-fern-sdk-group-name': ['spaces'],
|
|
69078
69139
|
'x-fern-sdk-method-name': 'update',
|
|
69079
69140
|
'x-fern-sdk-return-value': 'space',
|