@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 CHANGED
@@ -5752,7 +5752,34 @@ var user_resource = base_user_identity_resource.extend({
5752
5752
  });
5753
5753
  var staff_member_resource = base_user_identity_resource.extend({
5754
5754
  staff_member_key: zod.z.string().describe("Your unique identifier for the staff."),
5755
- site_keys: zod.z.array(zod.z.string()).describe(
5755
+ space_keys: zod.z.array(zod.z.string()).optional().describe(
5756
+ "List of unique identifiers for the spaces the staff member is associated with."
5757
+ ),
5758
+ property_keys: zod.z.array(zod.z.string()).optional().describe(
5759
+ "List of unique identifiers for the properties the staff member is associated with."
5760
+ ),
5761
+ room_keys: zod.z.array(zod.z.string()).optional().describe(
5762
+ "List of unique identifiers for the rooms the staff member is associated with."
5763
+ ),
5764
+ common_area_keys: zod.z.array(zod.z.string()).optional().describe(
5765
+ "List of unique identifiers for the common areas the staff member is associated with."
5766
+ ),
5767
+ unit_keys: zod.z.array(zod.z.string()).optional().describe(
5768
+ "List of unique identifiers for the units the staff member is associated with."
5769
+ ),
5770
+ facility_keys: zod.z.array(zod.z.string()).optional().describe(
5771
+ "List of unique identifiers for the facilities the staff member is associated with."
5772
+ ),
5773
+ building_keys: zod.z.array(zod.z.string()).optional().describe(
5774
+ "List of unique identifiers for the buildings the staff member is associated with."
5775
+ ),
5776
+ listing_keys: zod.z.array(zod.z.string()).optional().describe(
5777
+ "List of unique identifiers for the listings the staff member is associated with."
5778
+ ),
5779
+ property_listing_keys: zod.z.array(zod.z.string()).optional().describe(
5780
+ "List of unique identifiers for the property listings the staff member is associated with."
5781
+ ),
5782
+ site_keys: zod.z.array(zod.z.string()).optional().describe(
5756
5783
  "List of unique identifiers for the sites the staff member is associated with."
5757
5784
  )
5758
5785
  }).describe(`
@@ -24668,10 +24695,30 @@ var openapi_default = {
24668
24695
  staff_member: {
24669
24696
  description: "Represents a staff member for a specific customer.",
24670
24697
  properties: {
24698
+ building_keys: {
24699
+ description: "List of unique identifiers for the buildings the staff member is associated with.",
24700
+ items: { type: "string" },
24701
+ type: "array"
24702
+ },
24703
+ common_area_keys: {
24704
+ description: "List of unique identifiers for the common areas the staff member is associated with.",
24705
+ items: { type: "string" },
24706
+ type: "array"
24707
+ },
24671
24708
  email_address: {
24672
24709
  description: "Email address associated with the user identity.",
24673
24710
  type: "string"
24674
24711
  },
24712
+ facility_keys: {
24713
+ description: "List of unique identifiers for the facilities the staff member is associated with.",
24714
+ items: { type: "string" },
24715
+ type: "array"
24716
+ },
24717
+ listing_keys: {
24718
+ description: "List of unique identifiers for the listings the staff member is associated with.",
24719
+ items: { type: "string" },
24720
+ type: "array"
24721
+ },
24675
24722
  name: {
24676
24723
  description: "Your display name for this user identity resource.",
24677
24724
  type: "string"
@@ -24680,17 +24727,42 @@ var openapi_default = {
24680
24727
  description: "Phone number associated with the user identity.",
24681
24728
  type: "string"
24682
24729
  },
24730
+ property_keys: {
24731
+ description: "List of unique identifiers for the properties the staff member is associated with.",
24732
+ items: { type: "string" },
24733
+ type: "array"
24734
+ },
24735
+ property_listing_keys: {
24736
+ description: "List of unique identifiers for the property listings the staff member is associated with.",
24737
+ items: { type: "string" },
24738
+ type: "array"
24739
+ },
24740
+ room_keys: {
24741
+ description: "List of unique identifiers for the rooms the staff member is associated with.",
24742
+ items: { type: "string" },
24743
+ type: "array"
24744
+ },
24683
24745
  site_keys: {
24684
24746
  description: "List of unique identifiers for the sites the staff member is associated with.",
24685
24747
  items: { type: "string" },
24686
24748
  type: "array"
24687
24749
  },
24750
+ space_keys: {
24751
+ description: "List of unique identifiers for the spaces the staff member is associated with.",
24752
+ items: { type: "string" },
24753
+ type: "array"
24754
+ },
24688
24755
  staff_member_key: {
24689
24756
  description: "Your unique identifier for the staff.",
24690
24757
  type: "string"
24758
+ },
24759
+ unit_keys: {
24760
+ description: "List of unique identifiers for the units the staff member is associated with.",
24761
+ items: { type: "string" },
24762
+ type: "array"
24691
24763
  }
24692
24764
  },
24693
- required: ["name", "staff_member_key", "site_keys"],
24765
+ required: ["name", "staff_member_key"],
24694
24766
  type: "object",
24695
24767
  "x-route-path": "/seam/customer/v1/staff_members"
24696
24768
  },
@@ -44005,10 +44077,30 @@ var openapi_default = {
44005
44077
  items: {
44006
44078
  description: "Represents a staff member for a specific customer.",
44007
44079
  properties: {
44080
+ building_keys: {
44081
+ description: "List of unique identifiers for the buildings the staff member is associated with.",
44082
+ items: { type: "string" },
44083
+ type: "array"
44084
+ },
44085
+ common_area_keys: {
44086
+ description: "List of unique identifiers for the common areas the staff member is associated with.",
44087
+ items: { type: "string" },
44088
+ type: "array"
44089
+ },
44008
44090
  email_address: {
44009
44091
  description: "Email address associated with the user identity.",
44010
44092
  type: "string"
44011
44093
  },
44094
+ facility_keys: {
44095
+ description: "List of unique identifiers for the facilities the staff member is associated with.",
44096
+ items: { type: "string" },
44097
+ type: "array"
44098
+ },
44099
+ listing_keys: {
44100
+ description: "List of unique identifiers for the listings the staff member is associated with.",
44101
+ items: { type: "string" },
44102
+ type: "array"
44103
+ },
44012
44104
  name: {
44013
44105
  description: "Your display name for this user identity resource.",
44014
44106
  type: "string"
@@ -44017,21 +44109,42 @@ var openapi_default = {
44017
44109
  description: "Phone number associated with the user identity.",
44018
44110
  type: "string"
44019
44111
  },
44112
+ property_keys: {
44113
+ description: "List of unique identifiers for the properties the staff member is associated with.",
44114
+ items: { type: "string" },
44115
+ type: "array"
44116
+ },
44117
+ property_listing_keys: {
44118
+ description: "List of unique identifiers for the property listings the staff member is associated with.",
44119
+ items: { type: "string" },
44120
+ type: "array"
44121
+ },
44122
+ room_keys: {
44123
+ description: "List of unique identifiers for the rooms the staff member is associated with.",
44124
+ items: { type: "string" },
44125
+ type: "array"
44126
+ },
44020
44127
  site_keys: {
44021
44128
  description: "List of unique identifiers for the sites the staff member is associated with.",
44022
44129
  items: { type: "string" },
44023
44130
  type: "array"
44024
44131
  },
44132
+ space_keys: {
44133
+ description: "List of unique identifiers for the spaces the staff member is associated with.",
44134
+ items: { type: "string" },
44135
+ type: "array"
44136
+ },
44025
44137
  staff_member_key: {
44026
44138
  description: "Your unique identifier for the staff.",
44027
44139
  type: "string"
44140
+ },
44141
+ unit_keys: {
44142
+ description: "List of unique identifiers for the units the staff member is associated with.",
44143
+ items: { type: "string" },
44144
+ type: "array"
44028
44145
  }
44029
44146
  },
44030
- required: [
44031
- "name",
44032
- "staff_member_key",
44033
- "site_keys"
44034
- ],
44147
+ required: ["name", "staff_member_key"],
44035
44148
  type: "object",
44036
44149
  "x-route-path": "/seam/customer/v1/staff_members"
44037
44150
  },
@@ -45043,10 +45156,30 @@ var openapi_default = {
45043
45156
  items: {
45044
45157
  description: "Represents a staff member for a specific customer.",
45045
45158
  properties: {
45159
+ building_keys: {
45160
+ description: "List of unique identifiers for the buildings the staff member is associated with.",
45161
+ items: { type: "string" },
45162
+ type: "array"
45163
+ },
45164
+ common_area_keys: {
45165
+ description: "List of unique identifiers for the common areas the staff member is associated with.",
45166
+ items: { type: "string" },
45167
+ type: "array"
45168
+ },
45046
45169
  email_address: {
45047
45170
  description: "Email address associated with the user identity.",
45048
45171
  type: "string"
45049
45172
  },
45173
+ facility_keys: {
45174
+ description: "List of unique identifiers for the facilities the staff member is associated with.",
45175
+ items: { type: "string" },
45176
+ type: "array"
45177
+ },
45178
+ listing_keys: {
45179
+ description: "List of unique identifiers for the listings the staff member is associated with.",
45180
+ items: { type: "string" },
45181
+ type: "array"
45182
+ },
45050
45183
  name: {
45051
45184
  description: "Your display name for this user identity resource.",
45052
45185
  type: "string"
@@ -45055,17 +45188,42 @@ var openapi_default = {
45055
45188
  description: "Phone number associated with the user identity.",
45056
45189
  type: "string"
45057
45190
  },
45191
+ property_keys: {
45192
+ description: "List of unique identifiers for the properties the staff member is associated with.",
45193
+ items: { type: "string" },
45194
+ type: "array"
45195
+ },
45196
+ property_listing_keys: {
45197
+ description: "List of unique identifiers for the property listings the staff member is associated with.",
45198
+ items: { type: "string" },
45199
+ type: "array"
45200
+ },
45201
+ room_keys: {
45202
+ description: "List of unique identifiers for the rooms the staff member is associated with.",
45203
+ items: { type: "string" },
45204
+ type: "array"
45205
+ },
45058
45206
  site_keys: {
45059
45207
  description: "List of unique identifiers for the sites the staff member is associated with.",
45060
45208
  items: { type: "string" },
45061
45209
  type: "array"
45062
45210
  },
45211
+ space_keys: {
45212
+ description: "List of unique identifiers for the spaces the staff member is associated with.",
45213
+ items: { type: "string" },
45214
+ type: "array"
45215
+ },
45063
45216
  staff_member_key: {
45064
45217
  description: "Your unique identifier for the staff.",
45065
45218
  type: "string"
45219
+ },
45220
+ unit_keys: {
45221
+ description: "List of unique identifiers for the units the staff member is associated with.",
45222
+ items: { type: "string" },
45223
+ type: "array"
45066
45224
  }
45067
45225
  },
45068
- required: ["name", "staff_member_key", "site_keys"],
45226
+ required: ["name", "staff_member_key"],
45069
45227
  type: "object",
45070
45228
  "x-route-path": "/seam/customer/v1/staff_members"
45071
45229
  },
@@ -53122,6 +53280,32 @@ var openapi_default = {
53122
53280
  required: ["rule"],
53123
53281
  type: "object"
53124
53282
  },
53283
+ staff_member_created: {
53284
+ properties: {
53285
+ config: {
53286
+ $ref: "#/components/schemas/access_code"
53287
+ },
53288
+ rule: {
53289
+ enum: ["staff_member_created"],
53290
+ type: "string"
53291
+ }
53292
+ },
53293
+ required: ["rule", "config"],
53294
+ type: "object"
53295
+ },
53296
+ staff_member_name_updated: {
53297
+ properties: {
53298
+ config: {
53299
+ $ref: "#/components/schemas/access_code"
53300
+ },
53301
+ rule: {
53302
+ enum: ["staff_member_name_updated"],
53303
+ type: "string"
53304
+ }
53305
+ },
53306
+ required: ["rule"],
53307
+ type: "object"
53308
+ },
53125
53309
  user_identity_name_updated: {
53126
53310
  properties: {
53127
53311
  config: {
@@ -53311,6 +53495,32 @@ var openapi_default = {
53311
53495
  required: ["rule"],
53312
53496
  type: "object"
53313
53497
  },
53498
+ staff_member_created: {
53499
+ properties: {
53500
+ config: {
53501
+ $ref: "#/components/schemas/access_code"
53502
+ },
53503
+ rule: {
53504
+ enum: ["staff_member_created"],
53505
+ type: "string"
53506
+ }
53507
+ },
53508
+ required: ["rule", "config"],
53509
+ type: "object"
53510
+ },
53511
+ staff_member_name_updated: {
53512
+ properties: {
53513
+ config: {
53514
+ $ref: "#/components/schemas/access_code"
53515
+ },
53516
+ rule: {
53517
+ enum: ["staff_member_name_updated"],
53518
+ type: "string"
53519
+ }
53520
+ },
53521
+ required: ["rule"],
53522
+ type: "object"
53523
+ },
53314
53524
  user_identity_name_updated: {
53315
53525
  properties: {
53316
53526
  config: {
@@ -53496,6 +53706,28 @@ var openapi_default = {
53496
53706
  required: ["rule"],
53497
53707
  type: "object"
53498
53708
  },
53709
+ staff_member_created: {
53710
+ properties: {
53711
+ config: { properties: {}, type: "object" },
53712
+ rule: {
53713
+ enum: ["staff_member_created"],
53714
+ type: "string"
53715
+ }
53716
+ },
53717
+ required: ["rule", "config"],
53718
+ type: "object"
53719
+ },
53720
+ staff_member_name_updated: {
53721
+ properties: {
53722
+ config: { properties: {}, type: "object" },
53723
+ rule: {
53724
+ enum: ["staff_member_name_updated"],
53725
+ type: "string"
53726
+ }
53727
+ },
53728
+ required: ["rule"],
53729
+ type: "object"
53730
+ },
53499
53731
  user_identity_name_updated: {
53500
53732
  properties: {
53501
53733
  config: { properties: {}, type: "object" },
@@ -53687,6 +53919,28 @@ var openapi_default = {
53687
53919
  required: ["rule"],
53688
53920
  type: "object"
53689
53921
  },
53922
+ staff_member_created: {
53923
+ properties: {
53924
+ config: { properties: {}, type: "object" },
53925
+ rule: {
53926
+ enum: ["staff_member_created"],
53927
+ type: "string"
53928
+ }
53929
+ },
53930
+ required: ["rule", "config"],
53931
+ type: "object"
53932
+ },
53933
+ staff_member_name_updated: {
53934
+ properties: {
53935
+ config: { properties: {}, type: "object" },
53936
+ rule: {
53937
+ enum: ["staff_member_name_updated"],
53938
+ type: "string"
53939
+ }
53940
+ },
53941
+ required: ["rule"],
53942
+ type: "object"
53943
+ },
53690
53944
  user_identity_name_updated: {
53691
53945
  properties: {
53692
53946
  config: { properties: {}, type: "object" },
@@ -56052,7 +56306,36 @@ var openapi_default = {
56052
56306
  ok: { type: "boolean" },
56053
56307
  pagination: { $ref: "#/components/schemas/pagination" },
56054
56308
  staff_members: {
56055
- items: { $ref: "#/components/schemas/staff_member" },
56309
+ items: {
56310
+ description: "Represents a staff member for a specific customer.",
56311
+ properties: {
56312
+ email_address: {
56313
+ description: "Email address associated with the user identity.",
56314
+ type: "string"
56315
+ },
56316
+ name: {
56317
+ description: "Your display name for this user identity resource.",
56318
+ type: "string"
56319
+ },
56320
+ phone_number: {
56321
+ description: "Phone number associated with the user identity.",
56322
+ type: "string"
56323
+ },
56324
+ space_keys: {
56325
+ description: "List of unique identifiers for the spaces the staff member is associated with.",
56326
+ items: { type: "string" },
56327
+ type: "array"
56328
+ },
56329
+ staff_member_key: {
56330
+ description: "Your unique identifier for the staff.",
56331
+ type: "string"
56332
+ },
56333
+ user_identity_id: { format: "uuid", type: "string" }
56334
+ },
56335
+ required: ["staff_member_key", "name"],
56336
+ type: "object",
56337
+ "x-route-path": "/seam/customer/v1/staff_members"
56338
+ },
56056
56339
  type: "array"
56057
56340
  }
56058
56341
  },
@@ -56125,7 +56408,36 @@ var openapi_default = {
56125
56408
  ok: { type: "boolean" },
56126
56409
  pagination: { $ref: "#/components/schemas/pagination" },
56127
56410
  staff_members: {
56128
- items: { $ref: "#/components/schemas/staff_member" },
56411
+ items: {
56412
+ description: "Represents a staff member for a specific customer.",
56413
+ properties: {
56414
+ email_address: {
56415
+ description: "Email address associated with the user identity.",
56416
+ type: "string"
56417
+ },
56418
+ name: {
56419
+ description: "Your display name for this user identity resource.",
56420
+ type: "string"
56421
+ },
56422
+ phone_number: {
56423
+ description: "Phone number associated with the user identity.",
56424
+ type: "string"
56425
+ },
56426
+ space_keys: {
56427
+ description: "List of unique identifiers for the spaces the staff member is associated with.",
56428
+ items: { type: "string" },
56429
+ type: "array"
56430
+ },
56431
+ staff_member_key: {
56432
+ description: "Your unique identifier for the staff.",
56433
+ type: "string"
56434
+ },
56435
+ user_identity_id: { format: "uuid", type: "string" }
56436
+ },
56437
+ required: ["staff_member_key", "name"],
56438
+ type: "object",
56439
+ "x-route-path": "/seam/customer/v1/staff_members"
56440
+ },
56129
56441
  type: "array"
56130
56442
  }
56131
56443
  },