@seamapi/types 1.619.0 → 1.621.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 +322 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +456 -15
- package/dist/index.cjs +322 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +50 -5
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +60 -6
- package/lib/seam/connect/models/customer/user-identity-resources.js +37 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +363 -2
- package/lib/seam/connect/openapi.js +294 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +63 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +55 -0
- package/src/lib/seam/connect/openapi.ts +333 -9
- package/src/lib/seam/connect/route-types.ts +71 -10
|
@@ -18834,10 +18834,30 @@ export default {
|
|
|
18834
18834
|
staff_member: {
|
|
18835
18835
|
description: 'Represents a staff member for a specific customer.',
|
|
18836
18836
|
properties: {
|
|
18837
|
+
building_keys: {
|
|
18838
|
+
description: 'List of unique identifiers for the buildings the staff member is associated with.',
|
|
18839
|
+
items: { type: 'string' },
|
|
18840
|
+
type: 'array',
|
|
18841
|
+
},
|
|
18842
|
+
common_area_keys: {
|
|
18843
|
+
description: 'List of unique identifiers for the common areas the staff member is associated with.',
|
|
18844
|
+
items: { type: 'string' },
|
|
18845
|
+
type: 'array',
|
|
18846
|
+
},
|
|
18837
18847
|
email_address: {
|
|
18838
18848
|
description: 'Email address associated with the user identity.',
|
|
18839
18849
|
type: 'string',
|
|
18840
18850
|
},
|
|
18851
|
+
facility_keys: {
|
|
18852
|
+
description: 'List of unique identifiers for the facilities the staff member is associated with.',
|
|
18853
|
+
items: { type: 'string' },
|
|
18854
|
+
type: 'array',
|
|
18855
|
+
},
|
|
18856
|
+
listing_keys: {
|
|
18857
|
+
description: 'List of unique identifiers for the listings the staff member is associated with.',
|
|
18858
|
+
items: { type: 'string' },
|
|
18859
|
+
type: 'array',
|
|
18860
|
+
},
|
|
18841
18861
|
name: {
|
|
18842
18862
|
description: 'Your display name for this user identity resource.',
|
|
18843
18863
|
type: 'string',
|
|
@@ -18846,17 +18866,42 @@ export default {
|
|
|
18846
18866
|
description: 'Phone number associated with the user identity.',
|
|
18847
18867
|
type: 'string',
|
|
18848
18868
|
},
|
|
18869
|
+
property_keys: {
|
|
18870
|
+
description: 'List of unique identifiers for the properties the staff member is associated with.',
|
|
18871
|
+
items: { type: 'string' },
|
|
18872
|
+
type: 'array',
|
|
18873
|
+
},
|
|
18874
|
+
property_listing_keys: {
|
|
18875
|
+
description: 'List of unique identifiers for the property listings the staff member is associated with.',
|
|
18876
|
+
items: { type: 'string' },
|
|
18877
|
+
type: 'array',
|
|
18878
|
+
},
|
|
18879
|
+
room_keys: {
|
|
18880
|
+
description: 'List of unique identifiers for the rooms the staff member is associated with.',
|
|
18881
|
+
items: { type: 'string' },
|
|
18882
|
+
type: 'array',
|
|
18883
|
+
},
|
|
18849
18884
|
site_keys: {
|
|
18850
18885
|
description: 'List of unique identifiers for the sites the staff member is associated with.',
|
|
18851
18886
|
items: { type: 'string' },
|
|
18852
18887
|
type: 'array',
|
|
18853
18888
|
},
|
|
18889
|
+
space_keys: {
|
|
18890
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
18891
|
+
items: { type: 'string' },
|
|
18892
|
+
type: 'array',
|
|
18893
|
+
},
|
|
18854
18894
|
staff_member_key: {
|
|
18855
18895
|
description: 'Your unique identifier for the staff.',
|
|
18856
18896
|
type: 'string',
|
|
18857
18897
|
},
|
|
18898
|
+
unit_keys: {
|
|
18899
|
+
description: 'List of unique identifiers for the units the staff member is associated with.',
|
|
18900
|
+
items: { type: 'string' },
|
|
18901
|
+
type: 'array',
|
|
18902
|
+
},
|
|
18858
18903
|
},
|
|
18859
|
-
required: ['name', 'staff_member_key'
|
|
18904
|
+
required: ['name', 'staff_member_key'],
|
|
18860
18905
|
type: 'object',
|
|
18861
18906
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
18862
18907
|
},
|
|
@@ -38171,10 +38216,30 @@ export default {
|
|
|
38171
38216
|
items: {
|
|
38172
38217
|
description: 'Represents a staff member for a specific customer.',
|
|
38173
38218
|
properties: {
|
|
38219
|
+
building_keys: {
|
|
38220
|
+
description: 'List of unique identifiers for the buildings the staff member is associated with.',
|
|
38221
|
+
items: { type: 'string' },
|
|
38222
|
+
type: 'array',
|
|
38223
|
+
},
|
|
38224
|
+
common_area_keys: {
|
|
38225
|
+
description: 'List of unique identifiers for the common areas the staff member is associated with.',
|
|
38226
|
+
items: { type: 'string' },
|
|
38227
|
+
type: 'array',
|
|
38228
|
+
},
|
|
38174
38229
|
email_address: {
|
|
38175
38230
|
description: 'Email address associated with the user identity.',
|
|
38176
38231
|
type: 'string',
|
|
38177
38232
|
},
|
|
38233
|
+
facility_keys: {
|
|
38234
|
+
description: 'List of unique identifiers for the facilities the staff member is associated with.',
|
|
38235
|
+
items: { type: 'string' },
|
|
38236
|
+
type: 'array',
|
|
38237
|
+
},
|
|
38238
|
+
listing_keys: {
|
|
38239
|
+
description: 'List of unique identifiers for the listings the staff member is associated with.',
|
|
38240
|
+
items: { type: 'string' },
|
|
38241
|
+
type: 'array',
|
|
38242
|
+
},
|
|
38178
38243
|
name: {
|
|
38179
38244
|
description: 'Your display name for this user identity resource.',
|
|
38180
38245
|
type: 'string',
|
|
@@ -38183,21 +38248,42 @@ export default {
|
|
|
38183
38248
|
description: 'Phone number associated with the user identity.',
|
|
38184
38249
|
type: 'string',
|
|
38185
38250
|
},
|
|
38251
|
+
property_keys: {
|
|
38252
|
+
description: 'List of unique identifiers for the properties the staff member is associated with.',
|
|
38253
|
+
items: { type: 'string' },
|
|
38254
|
+
type: 'array',
|
|
38255
|
+
},
|
|
38256
|
+
property_listing_keys: {
|
|
38257
|
+
description: 'List of unique identifiers for the property listings the staff member is associated with.',
|
|
38258
|
+
items: { type: 'string' },
|
|
38259
|
+
type: 'array',
|
|
38260
|
+
},
|
|
38261
|
+
room_keys: {
|
|
38262
|
+
description: 'List of unique identifiers for the rooms the staff member is associated with.',
|
|
38263
|
+
items: { type: 'string' },
|
|
38264
|
+
type: 'array',
|
|
38265
|
+
},
|
|
38186
38266
|
site_keys: {
|
|
38187
38267
|
description: 'List of unique identifiers for the sites the staff member is associated with.',
|
|
38188
38268
|
items: { type: 'string' },
|
|
38189
38269
|
type: 'array',
|
|
38190
38270
|
},
|
|
38271
|
+
space_keys: {
|
|
38272
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
38273
|
+
items: { type: 'string' },
|
|
38274
|
+
type: 'array',
|
|
38275
|
+
},
|
|
38191
38276
|
staff_member_key: {
|
|
38192
38277
|
description: 'Your unique identifier for the staff.',
|
|
38193
38278
|
type: 'string',
|
|
38194
38279
|
},
|
|
38280
|
+
unit_keys: {
|
|
38281
|
+
description: 'List of unique identifiers for the units the staff member is associated with.',
|
|
38282
|
+
items: { type: 'string' },
|
|
38283
|
+
type: 'array',
|
|
38284
|
+
},
|
|
38195
38285
|
},
|
|
38196
|
-
required: [
|
|
38197
|
-
'name',
|
|
38198
|
-
'staff_member_key',
|
|
38199
|
-
'site_keys',
|
|
38200
|
-
],
|
|
38286
|
+
required: ['name', 'staff_member_key'],
|
|
38201
38287
|
type: 'object',
|
|
38202
38288
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
38203
38289
|
},
|
|
@@ -39209,10 +39295,30 @@ export default {
|
|
|
39209
39295
|
items: {
|
|
39210
39296
|
description: 'Represents a staff member for a specific customer.',
|
|
39211
39297
|
properties: {
|
|
39298
|
+
building_keys: {
|
|
39299
|
+
description: 'List of unique identifiers for the buildings the staff member is associated with.',
|
|
39300
|
+
items: { type: 'string' },
|
|
39301
|
+
type: 'array',
|
|
39302
|
+
},
|
|
39303
|
+
common_area_keys: {
|
|
39304
|
+
description: 'List of unique identifiers for the common areas the staff member is associated with.',
|
|
39305
|
+
items: { type: 'string' },
|
|
39306
|
+
type: 'array',
|
|
39307
|
+
},
|
|
39212
39308
|
email_address: {
|
|
39213
39309
|
description: 'Email address associated with the user identity.',
|
|
39214
39310
|
type: 'string',
|
|
39215
39311
|
},
|
|
39312
|
+
facility_keys: {
|
|
39313
|
+
description: 'List of unique identifiers for the facilities the staff member is associated with.',
|
|
39314
|
+
items: { type: 'string' },
|
|
39315
|
+
type: 'array',
|
|
39316
|
+
},
|
|
39317
|
+
listing_keys: {
|
|
39318
|
+
description: 'List of unique identifiers for the listings the staff member is associated with.',
|
|
39319
|
+
items: { type: 'string' },
|
|
39320
|
+
type: 'array',
|
|
39321
|
+
},
|
|
39216
39322
|
name: {
|
|
39217
39323
|
description: 'Your display name for this user identity resource.',
|
|
39218
39324
|
type: 'string',
|
|
@@ -39221,17 +39327,42 @@ export default {
|
|
|
39221
39327
|
description: 'Phone number associated with the user identity.',
|
|
39222
39328
|
type: 'string',
|
|
39223
39329
|
},
|
|
39330
|
+
property_keys: {
|
|
39331
|
+
description: 'List of unique identifiers for the properties the staff member is associated with.',
|
|
39332
|
+
items: { type: 'string' },
|
|
39333
|
+
type: 'array',
|
|
39334
|
+
},
|
|
39335
|
+
property_listing_keys: {
|
|
39336
|
+
description: 'List of unique identifiers for the property listings the staff member is associated with.',
|
|
39337
|
+
items: { type: 'string' },
|
|
39338
|
+
type: 'array',
|
|
39339
|
+
},
|
|
39340
|
+
room_keys: {
|
|
39341
|
+
description: 'List of unique identifiers for the rooms the staff member is associated with.',
|
|
39342
|
+
items: { type: 'string' },
|
|
39343
|
+
type: 'array',
|
|
39344
|
+
},
|
|
39224
39345
|
site_keys: {
|
|
39225
39346
|
description: 'List of unique identifiers for the sites the staff member is associated with.',
|
|
39226
39347
|
items: { type: 'string' },
|
|
39227
39348
|
type: 'array',
|
|
39228
39349
|
},
|
|
39350
|
+
space_keys: {
|
|
39351
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
39352
|
+
items: { type: 'string' },
|
|
39353
|
+
type: 'array',
|
|
39354
|
+
},
|
|
39229
39355
|
staff_member_key: {
|
|
39230
39356
|
description: 'Your unique identifier for the staff.',
|
|
39231
39357
|
type: 'string',
|
|
39232
39358
|
},
|
|
39359
|
+
unit_keys: {
|
|
39360
|
+
description: 'List of unique identifiers for the units the staff member is associated with.',
|
|
39361
|
+
items: { type: 'string' },
|
|
39362
|
+
type: 'array',
|
|
39363
|
+
},
|
|
39233
39364
|
},
|
|
39234
|
-
required: ['name', 'staff_member_key'
|
|
39365
|
+
required: ['name', 'staff_member_key'],
|
|
39235
39366
|
type: 'object',
|
|
39236
39367
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
39237
39368
|
},
|
|
@@ -47288,6 +47419,32 @@ export default {
|
|
|
47288
47419
|
required: ['rule'],
|
|
47289
47420
|
type: 'object',
|
|
47290
47421
|
},
|
|
47422
|
+
staff_member_created: {
|
|
47423
|
+
properties: {
|
|
47424
|
+
config: {
|
|
47425
|
+
$ref: '#/components/schemas/access_code',
|
|
47426
|
+
},
|
|
47427
|
+
rule: {
|
|
47428
|
+
enum: ['staff_member_created'],
|
|
47429
|
+
type: 'string',
|
|
47430
|
+
},
|
|
47431
|
+
},
|
|
47432
|
+
required: ['rule', 'config'],
|
|
47433
|
+
type: 'object',
|
|
47434
|
+
},
|
|
47435
|
+
staff_member_name_updated: {
|
|
47436
|
+
properties: {
|
|
47437
|
+
config: {
|
|
47438
|
+
$ref: '#/components/schemas/access_code',
|
|
47439
|
+
},
|
|
47440
|
+
rule: {
|
|
47441
|
+
enum: ['staff_member_name_updated'],
|
|
47442
|
+
type: 'string',
|
|
47443
|
+
},
|
|
47444
|
+
},
|
|
47445
|
+
required: ['rule'],
|
|
47446
|
+
type: 'object',
|
|
47447
|
+
},
|
|
47291
47448
|
user_identity_name_updated: {
|
|
47292
47449
|
properties: {
|
|
47293
47450
|
config: {
|
|
@@ -47477,6 +47634,32 @@ export default {
|
|
|
47477
47634
|
required: ['rule'],
|
|
47478
47635
|
type: 'object',
|
|
47479
47636
|
},
|
|
47637
|
+
staff_member_created: {
|
|
47638
|
+
properties: {
|
|
47639
|
+
config: {
|
|
47640
|
+
$ref: '#/components/schemas/access_code',
|
|
47641
|
+
},
|
|
47642
|
+
rule: {
|
|
47643
|
+
enum: ['staff_member_created'],
|
|
47644
|
+
type: 'string',
|
|
47645
|
+
},
|
|
47646
|
+
},
|
|
47647
|
+
required: ['rule', 'config'],
|
|
47648
|
+
type: 'object',
|
|
47649
|
+
},
|
|
47650
|
+
staff_member_name_updated: {
|
|
47651
|
+
properties: {
|
|
47652
|
+
config: {
|
|
47653
|
+
$ref: '#/components/schemas/access_code',
|
|
47654
|
+
},
|
|
47655
|
+
rule: {
|
|
47656
|
+
enum: ['staff_member_name_updated'],
|
|
47657
|
+
type: 'string',
|
|
47658
|
+
},
|
|
47659
|
+
},
|
|
47660
|
+
required: ['rule'],
|
|
47661
|
+
type: 'object',
|
|
47662
|
+
},
|
|
47480
47663
|
user_identity_name_updated: {
|
|
47481
47664
|
properties: {
|
|
47482
47665
|
config: {
|
|
@@ -47662,6 +47845,28 @@ export default {
|
|
|
47662
47845
|
required: ['rule'],
|
|
47663
47846
|
type: 'object',
|
|
47664
47847
|
},
|
|
47848
|
+
staff_member_created: {
|
|
47849
|
+
properties: {
|
|
47850
|
+
config: { properties: {}, type: 'object' },
|
|
47851
|
+
rule: {
|
|
47852
|
+
enum: ['staff_member_created'],
|
|
47853
|
+
type: 'string',
|
|
47854
|
+
},
|
|
47855
|
+
},
|
|
47856
|
+
required: ['rule', 'config'],
|
|
47857
|
+
type: 'object',
|
|
47858
|
+
},
|
|
47859
|
+
staff_member_name_updated: {
|
|
47860
|
+
properties: {
|
|
47861
|
+
config: { properties: {}, type: 'object' },
|
|
47862
|
+
rule: {
|
|
47863
|
+
enum: ['staff_member_name_updated'],
|
|
47864
|
+
type: 'string',
|
|
47865
|
+
},
|
|
47866
|
+
},
|
|
47867
|
+
required: ['rule'],
|
|
47868
|
+
type: 'object',
|
|
47869
|
+
},
|
|
47665
47870
|
user_identity_name_updated: {
|
|
47666
47871
|
properties: {
|
|
47667
47872
|
config: { properties: {}, type: 'object' },
|
|
@@ -47853,6 +48058,28 @@ export default {
|
|
|
47853
48058
|
required: ['rule'],
|
|
47854
48059
|
type: 'object',
|
|
47855
48060
|
},
|
|
48061
|
+
staff_member_created: {
|
|
48062
|
+
properties: {
|
|
48063
|
+
config: { properties: {}, type: 'object' },
|
|
48064
|
+
rule: {
|
|
48065
|
+
enum: ['staff_member_created'],
|
|
48066
|
+
type: 'string',
|
|
48067
|
+
},
|
|
48068
|
+
},
|
|
48069
|
+
required: ['rule', 'config'],
|
|
48070
|
+
type: 'object',
|
|
48071
|
+
},
|
|
48072
|
+
staff_member_name_updated: {
|
|
48073
|
+
properties: {
|
|
48074
|
+
config: { properties: {}, type: 'object' },
|
|
48075
|
+
rule: {
|
|
48076
|
+
enum: ['staff_member_name_updated'],
|
|
48077
|
+
type: 'string',
|
|
48078
|
+
},
|
|
48079
|
+
},
|
|
48080
|
+
required: ['rule'],
|
|
48081
|
+
type: 'object',
|
|
48082
|
+
},
|
|
47856
48083
|
user_identity_name_updated: {
|
|
47857
48084
|
properties: {
|
|
47858
48085
|
config: { properties: {}, type: 'object' },
|
|
@@ -50218,7 +50445,36 @@ export default {
|
|
|
50218
50445
|
ok: { type: 'boolean' },
|
|
50219
50446
|
pagination: { $ref: '#/components/schemas/pagination' },
|
|
50220
50447
|
staff_members: {
|
|
50221
|
-
items: {
|
|
50448
|
+
items: {
|
|
50449
|
+
description: 'Represents a staff member for a specific customer.',
|
|
50450
|
+
properties: {
|
|
50451
|
+
email_address: {
|
|
50452
|
+
description: 'Email address associated with the user identity.',
|
|
50453
|
+
type: 'string',
|
|
50454
|
+
},
|
|
50455
|
+
name: {
|
|
50456
|
+
description: 'Your display name for this user identity resource.',
|
|
50457
|
+
type: 'string',
|
|
50458
|
+
},
|
|
50459
|
+
phone_number: {
|
|
50460
|
+
description: 'Phone number associated with the user identity.',
|
|
50461
|
+
type: 'string',
|
|
50462
|
+
},
|
|
50463
|
+
space_keys: {
|
|
50464
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
50465
|
+
items: { type: 'string' },
|
|
50466
|
+
type: 'array',
|
|
50467
|
+
},
|
|
50468
|
+
staff_member_key: {
|
|
50469
|
+
description: 'Your unique identifier for the staff.',
|
|
50470
|
+
type: 'string',
|
|
50471
|
+
},
|
|
50472
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
50473
|
+
},
|
|
50474
|
+
required: ['staff_member_key', 'name'],
|
|
50475
|
+
type: 'object',
|
|
50476
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
50477
|
+
},
|
|
50222
50478
|
type: 'array',
|
|
50223
50479
|
},
|
|
50224
50480
|
},
|
|
@@ -50291,7 +50547,36 @@ export default {
|
|
|
50291
50547
|
ok: { type: 'boolean' },
|
|
50292
50548
|
pagination: { $ref: '#/components/schemas/pagination' },
|
|
50293
50549
|
staff_members: {
|
|
50294
|
-
items: {
|
|
50550
|
+
items: {
|
|
50551
|
+
description: 'Represents a staff member for a specific customer.',
|
|
50552
|
+
properties: {
|
|
50553
|
+
email_address: {
|
|
50554
|
+
description: 'Email address associated with the user identity.',
|
|
50555
|
+
type: 'string',
|
|
50556
|
+
},
|
|
50557
|
+
name: {
|
|
50558
|
+
description: 'Your display name for this user identity resource.',
|
|
50559
|
+
type: 'string',
|
|
50560
|
+
},
|
|
50561
|
+
phone_number: {
|
|
50562
|
+
description: 'Phone number associated with the user identity.',
|
|
50563
|
+
type: 'string',
|
|
50564
|
+
},
|
|
50565
|
+
space_keys: {
|
|
50566
|
+
description: 'List of unique identifiers for the spaces the staff member is associated with.',
|
|
50567
|
+
items: { type: 'string' },
|
|
50568
|
+
type: 'array',
|
|
50569
|
+
},
|
|
50570
|
+
staff_member_key: {
|
|
50571
|
+
description: 'Your unique identifier for the staff.',
|
|
50572
|
+
type: 'string',
|
|
50573
|
+
},
|
|
50574
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
50575
|
+
},
|
|
50576
|
+
required: ['staff_member_key', 'name'],
|
|
50577
|
+
type: 'object',
|
|
50578
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
50579
|
+
},
|
|
50295
50580
|
type: 'array',
|
|
50296
50581
|
},
|
|
50297
50582
|
},
|