@seamapi/types 1.619.0 → 1.620.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 +226 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +332 -15
- package/dist/index.cjs +226 -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 +255 -2
- package/lib/seam/connect/openapi.js +198 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +47 -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 +237 -9
- package/src/lib/seam/connect/route-types.ts +47 -10
package/dist/index.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
|
-
|
|
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"
|
|
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"
|
|
45226
|
+
required: ["name", "staff_member_key"],
|
|
45069
45227
|
type: "object",
|
|
45070
45228
|
"x-route-path": "/seam/customer/v1/staff_members"
|
|
45071
45229
|
},
|
|
@@ -56052,7 +56210,36 @@ var openapi_default = {
|
|
|
56052
56210
|
ok: { type: "boolean" },
|
|
56053
56211
|
pagination: { $ref: "#/components/schemas/pagination" },
|
|
56054
56212
|
staff_members: {
|
|
56055
|
-
items: {
|
|
56213
|
+
items: {
|
|
56214
|
+
description: "Represents a staff member for a specific customer.",
|
|
56215
|
+
properties: {
|
|
56216
|
+
email_address: {
|
|
56217
|
+
description: "Email address associated with the user identity.",
|
|
56218
|
+
type: "string"
|
|
56219
|
+
},
|
|
56220
|
+
name: {
|
|
56221
|
+
description: "Your display name for this user identity resource.",
|
|
56222
|
+
type: "string"
|
|
56223
|
+
},
|
|
56224
|
+
phone_number: {
|
|
56225
|
+
description: "Phone number associated with the user identity.",
|
|
56226
|
+
type: "string"
|
|
56227
|
+
},
|
|
56228
|
+
space_keys: {
|
|
56229
|
+
description: "List of unique identifiers for the spaces the staff member is associated with.",
|
|
56230
|
+
items: { type: "string" },
|
|
56231
|
+
type: "array"
|
|
56232
|
+
},
|
|
56233
|
+
staff_member_key: {
|
|
56234
|
+
description: "Your unique identifier for the staff.",
|
|
56235
|
+
type: "string"
|
|
56236
|
+
},
|
|
56237
|
+
user_identity_id: { format: "uuid", type: "string" }
|
|
56238
|
+
},
|
|
56239
|
+
required: ["staff_member_key", "name"],
|
|
56240
|
+
type: "object",
|
|
56241
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
56242
|
+
},
|
|
56056
56243
|
type: "array"
|
|
56057
56244
|
}
|
|
56058
56245
|
},
|
|
@@ -56125,7 +56312,36 @@ var openapi_default = {
|
|
|
56125
56312
|
ok: { type: "boolean" },
|
|
56126
56313
|
pagination: { $ref: "#/components/schemas/pagination" },
|
|
56127
56314
|
staff_members: {
|
|
56128
|
-
items: {
|
|
56315
|
+
items: {
|
|
56316
|
+
description: "Represents a staff member for a specific customer.",
|
|
56317
|
+
properties: {
|
|
56318
|
+
email_address: {
|
|
56319
|
+
description: "Email address associated with the user identity.",
|
|
56320
|
+
type: "string"
|
|
56321
|
+
},
|
|
56322
|
+
name: {
|
|
56323
|
+
description: "Your display name for this user identity resource.",
|
|
56324
|
+
type: "string"
|
|
56325
|
+
},
|
|
56326
|
+
phone_number: {
|
|
56327
|
+
description: "Phone number associated with the user identity.",
|
|
56328
|
+
type: "string"
|
|
56329
|
+
},
|
|
56330
|
+
space_keys: {
|
|
56331
|
+
description: "List of unique identifiers for the spaces the staff member is associated with.",
|
|
56332
|
+
items: { type: "string" },
|
|
56333
|
+
type: "array"
|
|
56334
|
+
},
|
|
56335
|
+
staff_member_key: {
|
|
56336
|
+
description: "Your unique identifier for the staff.",
|
|
56337
|
+
type: "string"
|
|
56338
|
+
},
|
|
56339
|
+
user_identity_id: { format: "uuid", type: "string" }
|
|
56340
|
+
},
|
|
56341
|
+
required: ["staff_member_key", "name"],
|
|
56342
|
+
type: "object",
|
|
56343
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
56344
|
+
},
|
|
56129
56345
|
type: "array"
|
|
56130
56346
|
}
|
|
56131
56347
|
},
|