@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
|
@@ -32005,8 +32005,26 @@ export type Routes = {
|
|
|
32005
32005
|
phone_number?: string | undefined;
|
|
32006
32006
|
/** Your unique identifier for the staff. */
|
|
32007
32007
|
staff_member_key: string;
|
|
32008
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
32009
|
+
space_keys?: string[] | undefined;
|
|
32010
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
32011
|
+
property_keys?: string[] | undefined;
|
|
32012
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
32013
|
+
room_keys?: string[] | undefined;
|
|
32014
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
32015
|
+
common_area_keys?: string[] | undefined;
|
|
32016
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
32017
|
+
unit_keys?: string[] | undefined;
|
|
32018
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
32019
|
+
facility_keys?: string[] | undefined;
|
|
32020
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
32021
|
+
building_keys?: string[] | undefined;
|
|
32022
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
32023
|
+
listing_keys?: string[] | undefined;
|
|
32024
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
32025
|
+
property_listing_keys?: string[] | undefined;
|
|
32008
32026
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
32009
|
-
site_keys
|
|
32027
|
+
site_keys?: string[] | undefined;
|
|
32010
32028
|
}[] | undefined;
|
|
32011
32029
|
/** List of reservations. */
|
|
32012
32030
|
reservations?: {
|
|
@@ -32343,8 +32361,26 @@ export type Routes = {
|
|
|
32343
32361
|
phone_number?: string | undefined;
|
|
32344
32362
|
/** Your unique identifier for the staff. */
|
|
32345
32363
|
staff_member_key: string;
|
|
32364
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
32365
|
+
space_keys?: string[] | undefined;
|
|
32366
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
32367
|
+
property_keys?: string[] | undefined;
|
|
32368
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
32369
|
+
room_keys?: string[] | undefined;
|
|
32370
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
32371
|
+
common_area_keys?: string[] | undefined;
|
|
32372
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
32373
|
+
unit_keys?: string[] | undefined;
|
|
32374
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
32375
|
+
facility_keys?: string[] | undefined;
|
|
32376
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
32377
|
+
building_keys?: string[] | undefined;
|
|
32378
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
32379
|
+
listing_keys?: string[] | undefined;
|
|
32380
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
32381
|
+
property_listing_keys?: string[] | undefined;
|
|
32346
32382
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
32347
|
-
site_keys
|
|
32383
|
+
site_keys?: string[] | undefined;
|
|
32348
32384
|
}[] | undefined;
|
|
32349
32385
|
/** List of reservations. */
|
|
32350
32386
|
reservations?: {
|
|
@@ -57078,6 +57114,14 @@ export type Routes = {
|
|
|
57078
57114
|
rule: 'user_identity_name_updated';
|
|
57079
57115
|
config?: {} | undefined;
|
|
57080
57116
|
} | undefined;
|
|
57117
|
+
staff_member_name_updated?: {
|
|
57118
|
+
rule: 'staff_member_name_updated';
|
|
57119
|
+
config?: {} | undefined;
|
|
57120
|
+
} | undefined;
|
|
57121
|
+
staff_member_created?: {
|
|
57122
|
+
rule: 'staff_member_created';
|
|
57123
|
+
config: {};
|
|
57124
|
+
} | undefined;
|
|
57081
57125
|
} | undefined;
|
|
57082
57126
|
climate_rules?: {
|
|
57083
57127
|
rules: {
|
|
@@ -57133,6 +57177,14 @@ export type Routes = {
|
|
|
57133
57177
|
rule: 'user_identity_name_updated';
|
|
57134
57178
|
config?: {} | undefined;
|
|
57135
57179
|
} | undefined;
|
|
57180
|
+
staff_member_name_updated?: {
|
|
57181
|
+
rule: 'staff_member_name_updated';
|
|
57182
|
+
config?: {} | undefined;
|
|
57183
|
+
} | undefined;
|
|
57184
|
+
staff_member_created?: {
|
|
57185
|
+
rule: 'staff_member_created';
|
|
57186
|
+
config: {};
|
|
57187
|
+
} | undefined;
|
|
57136
57188
|
} | undefined;
|
|
57137
57189
|
/** Climate automation rules configuration. */
|
|
57138
57190
|
climate_rules?: {
|
|
@@ -59440,16 +59492,17 @@ export type Routes = {
|
|
|
59440
59492
|
formData: {};
|
|
59441
59493
|
jsonResponse: {
|
|
59442
59494
|
staff_members: {
|
|
59443
|
-
/** Your display name for this user identity resource. */
|
|
59444
|
-
name: string;
|
|
59445
|
-
/** Email address associated with the user identity. */
|
|
59446
|
-
email_address?: string | undefined;
|
|
59447
|
-
/** Phone number associated with the user identity. */
|
|
59448
|
-
phone_number?: string | undefined;
|
|
59449
59495
|
/** Your unique identifier for the staff. */
|
|
59450
59496
|
staff_member_key: string;
|
|
59451
|
-
/**
|
|
59452
|
-
|
|
59497
|
+
/** Phone number associated with the user identity. */
|
|
59498
|
+
phone_number?: string | undefined;
|
|
59499
|
+
/** Email address associated with the user identity. */
|
|
59500
|
+
email_address?: string | undefined;
|
|
59501
|
+
/** Your display name for this user identity resource. */
|
|
59502
|
+
name: string;
|
|
59503
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
59504
|
+
space_keys?: string[] | undefined;
|
|
59505
|
+
user_identity_id?: string | undefined;
|
|
59453
59506
|
}[];
|
|
59454
59507
|
/** Information about the current page of results. */
|
|
59455
59508
|
pagination: {
|
package/package.json
CHANGED
|
@@ -61,8 +61,63 @@ export const staff_member_resource = base_user_identity_resource.extend({
|
|
|
61
61
|
staff_member_key: z
|
|
62
62
|
.string()
|
|
63
63
|
.describe('Your unique identifier for the staff.'),
|
|
64
|
+
space_keys: z
|
|
65
|
+
.array(z.string())
|
|
66
|
+
.optional()
|
|
67
|
+
.describe(
|
|
68
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
69
|
+
),
|
|
70
|
+
property_keys: z
|
|
71
|
+
.array(z.string())
|
|
72
|
+
.optional()
|
|
73
|
+
.describe(
|
|
74
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
75
|
+
),
|
|
76
|
+
room_keys: z
|
|
77
|
+
.array(z.string())
|
|
78
|
+
.optional()
|
|
79
|
+
.describe(
|
|
80
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
81
|
+
),
|
|
82
|
+
common_area_keys: z
|
|
83
|
+
.array(z.string())
|
|
84
|
+
.optional()
|
|
85
|
+
.describe(
|
|
86
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
87
|
+
),
|
|
88
|
+
unit_keys: z
|
|
89
|
+
.array(z.string())
|
|
90
|
+
.optional()
|
|
91
|
+
.describe(
|
|
92
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
93
|
+
),
|
|
94
|
+
facility_keys: z
|
|
95
|
+
.array(z.string())
|
|
96
|
+
.optional()
|
|
97
|
+
.describe(
|
|
98
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
99
|
+
),
|
|
100
|
+
building_keys: z
|
|
101
|
+
.array(z.string())
|
|
102
|
+
.optional()
|
|
103
|
+
.describe(
|
|
104
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
105
|
+
),
|
|
106
|
+
listing_keys: z
|
|
107
|
+
.array(z.string())
|
|
108
|
+
.optional()
|
|
109
|
+
.describe(
|
|
110
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
111
|
+
),
|
|
112
|
+
property_listing_keys: z
|
|
113
|
+
.array(z.string())
|
|
114
|
+
.optional()
|
|
115
|
+
.describe(
|
|
116
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
117
|
+
),
|
|
64
118
|
site_keys: z
|
|
65
119
|
.array(z.string())
|
|
120
|
+
.optional()
|
|
66
121
|
.describe(
|
|
67
122
|
'List of unique identifiers for the sites the staff member is associated with.',
|
|
68
123
|
),
|
|
@@ -20938,10 +20938,34 @@ export default {
|
|
|
20938
20938
|
staff_member: {
|
|
20939
20939
|
description: 'Represents a staff member for a specific customer.',
|
|
20940
20940
|
properties: {
|
|
20941
|
+
building_keys: {
|
|
20942
|
+
description:
|
|
20943
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
20944
|
+
items: { type: 'string' },
|
|
20945
|
+
type: 'array',
|
|
20946
|
+
},
|
|
20947
|
+
common_area_keys: {
|
|
20948
|
+
description:
|
|
20949
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
20950
|
+
items: { type: 'string' },
|
|
20951
|
+
type: 'array',
|
|
20952
|
+
},
|
|
20941
20953
|
email_address: {
|
|
20942
20954
|
description: 'Email address associated with the user identity.',
|
|
20943
20955
|
type: 'string',
|
|
20944
20956
|
},
|
|
20957
|
+
facility_keys: {
|
|
20958
|
+
description:
|
|
20959
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
20960
|
+
items: { type: 'string' },
|
|
20961
|
+
type: 'array',
|
|
20962
|
+
},
|
|
20963
|
+
listing_keys: {
|
|
20964
|
+
description:
|
|
20965
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
20966
|
+
items: { type: 'string' },
|
|
20967
|
+
type: 'array',
|
|
20968
|
+
},
|
|
20945
20969
|
name: {
|
|
20946
20970
|
description: 'Your display name for this user identity resource.',
|
|
20947
20971
|
type: 'string',
|
|
@@ -20950,18 +20974,48 @@ export default {
|
|
|
20950
20974
|
description: 'Phone number associated with the user identity.',
|
|
20951
20975
|
type: 'string',
|
|
20952
20976
|
},
|
|
20977
|
+
property_keys: {
|
|
20978
|
+
description:
|
|
20979
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
20980
|
+
items: { type: 'string' },
|
|
20981
|
+
type: 'array',
|
|
20982
|
+
},
|
|
20983
|
+
property_listing_keys: {
|
|
20984
|
+
description:
|
|
20985
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
20986
|
+
items: { type: 'string' },
|
|
20987
|
+
type: 'array',
|
|
20988
|
+
},
|
|
20989
|
+
room_keys: {
|
|
20990
|
+
description:
|
|
20991
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
20992
|
+
items: { type: 'string' },
|
|
20993
|
+
type: 'array',
|
|
20994
|
+
},
|
|
20953
20995
|
site_keys: {
|
|
20954
20996
|
description:
|
|
20955
20997
|
'List of unique identifiers for the sites the staff member is associated with.',
|
|
20956
20998
|
items: { type: 'string' },
|
|
20957
20999
|
type: 'array',
|
|
20958
21000
|
},
|
|
21001
|
+
space_keys: {
|
|
21002
|
+
description:
|
|
21003
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
21004
|
+
items: { type: 'string' },
|
|
21005
|
+
type: 'array',
|
|
21006
|
+
},
|
|
20959
21007
|
staff_member_key: {
|
|
20960
21008
|
description: 'Your unique identifier for the staff.',
|
|
20961
21009
|
type: 'string',
|
|
20962
21010
|
},
|
|
21011
|
+
unit_keys: {
|
|
21012
|
+
description:
|
|
21013
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
21014
|
+
items: { type: 'string' },
|
|
21015
|
+
type: 'array',
|
|
21016
|
+
},
|
|
20963
21017
|
},
|
|
20964
|
-
required: ['name', 'staff_member_key'
|
|
21018
|
+
required: ['name', 'staff_member_key'],
|
|
20965
21019
|
type: 'object',
|
|
20966
21020
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
20967
21021
|
},
|
|
@@ -41878,11 +41932,35 @@ export default {
|
|
|
41878
41932
|
description:
|
|
41879
41933
|
'Represents a staff member for a specific customer.',
|
|
41880
41934
|
properties: {
|
|
41935
|
+
building_keys: {
|
|
41936
|
+
description:
|
|
41937
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
41938
|
+
items: { type: 'string' },
|
|
41939
|
+
type: 'array',
|
|
41940
|
+
},
|
|
41941
|
+
common_area_keys: {
|
|
41942
|
+
description:
|
|
41943
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
41944
|
+
items: { type: 'string' },
|
|
41945
|
+
type: 'array',
|
|
41946
|
+
},
|
|
41881
41947
|
email_address: {
|
|
41882
41948
|
description:
|
|
41883
41949
|
'Email address associated with the user identity.',
|
|
41884
41950
|
type: 'string',
|
|
41885
41951
|
},
|
|
41952
|
+
facility_keys: {
|
|
41953
|
+
description:
|
|
41954
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
41955
|
+
items: { type: 'string' },
|
|
41956
|
+
type: 'array',
|
|
41957
|
+
},
|
|
41958
|
+
listing_keys: {
|
|
41959
|
+
description:
|
|
41960
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
41961
|
+
items: { type: 'string' },
|
|
41962
|
+
type: 'array',
|
|
41963
|
+
},
|
|
41886
41964
|
name: {
|
|
41887
41965
|
description:
|
|
41888
41966
|
'Your display name for this user identity resource.',
|
|
@@ -41893,23 +41971,49 @@ export default {
|
|
|
41893
41971
|
'Phone number associated with the user identity.',
|
|
41894
41972
|
type: 'string',
|
|
41895
41973
|
},
|
|
41974
|
+
property_keys: {
|
|
41975
|
+
description:
|
|
41976
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
41977
|
+
items: { type: 'string' },
|
|
41978
|
+
type: 'array',
|
|
41979
|
+
},
|
|
41980
|
+
property_listing_keys: {
|
|
41981
|
+
description:
|
|
41982
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
41983
|
+
items: { type: 'string' },
|
|
41984
|
+
type: 'array',
|
|
41985
|
+
},
|
|
41986
|
+
room_keys: {
|
|
41987
|
+
description:
|
|
41988
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
41989
|
+
items: { type: 'string' },
|
|
41990
|
+
type: 'array',
|
|
41991
|
+
},
|
|
41896
41992
|
site_keys: {
|
|
41897
41993
|
description:
|
|
41898
41994
|
'List of unique identifiers for the sites the staff member is associated with.',
|
|
41899
41995
|
items: { type: 'string' },
|
|
41900
41996
|
type: 'array',
|
|
41901
41997
|
},
|
|
41998
|
+
space_keys: {
|
|
41999
|
+
description:
|
|
42000
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
42001
|
+
items: { type: 'string' },
|
|
42002
|
+
type: 'array',
|
|
42003
|
+
},
|
|
41902
42004
|
staff_member_key: {
|
|
41903
42005
|
description:
|
|
41904
42006
|
'Your unique identifier for the staff.',
|
|
41905
42007
|
type: 'string',
|
|
41906
42008
|
},
|
|
42009
|
+
unit_keys: {
|
|
42010
|
+
description:
|
|
42011
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
42012
|
+
items: { type: 'string' },
|
|
42013
|
+
type: 'array',
|
|
42014
|
+
},
|
|
41907
42015
|
},
|
|
41908
|
-
required: [
|
|
41909
|
-
'name',
|
|
41910
|
-
'staff_member_key',
|
|
41911
|
-
'site_keys',
|
|
41912
|
-
],
|
|
42016
|
+
required: ['name', 'staff_member_key'],
|
|
41913
42017
|
type: 'object',
|
|
41914
42018
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
41915
42019
|
},
|
|
@@ -43018,11 +43122,35 @@ export default {
|
|
|
43018
43122
|
description:
|
|
43019
43123
|
'Represents a staff member for a specific customer.',
|
|
43020
43124
|
properties: {
|
|
43125
|
+
building_keys: {
|
|
43126
|
+
description:
|
|
43127
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
43128
|
+
items: { type: 'string' },
|
|
43129
|
+
type: 'array',
|
|
43130
|
+
},
|
|
43131
|
+
common_area_keys: {
|
|
43132
|
+
description:
|
|
43133
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
43134
|
+
items: { type: 'string' },
|
|
43135
|
+
type: 'array',
|
|
43136
|
+
},
|
|
43021
43137
|
email_address: {
|
|
43022
43138
|
description:
|
|
43023
43139
|
'Email address associated with the user identity.',
|
|
43024
43140
|
type: 'string',
|
|
43025
43141
|
},
|
|
43142
|
+
facility_keys: {
|
|
43143
|
+
description:
|
|
43144
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
43145
|
+
items: { type: 'string' },
|
|
43146
|
+
type: 'array',
|
|
43147
|
+
},
|
|
43148
|
+
listing_keys: {
|
|
43149
|
+
description:
|
|
43150
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
43151
|
+
items: { type: 'string' },
|
|
43152
|
+
type: 'array',
|
|
43153
|
+
},
|
|
43026
43154
|
name: {
|
|
43027
43155
|
description:
|
|
43028
43156
|
'Your display name for this user identity resource.',
|
|
@@ -43033,18 +43161,48 @@ export default {
|
|
|
43033
43161
|
'Phone number associated with the user identity.',
|
|
43034
43162
|
type: 'string',
|
|
43035
43163
|
},
|
|
43164
|
+
property_keys: {
|
|
43165
|
+
description:
|
|
43166
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
43167
|
+
items: { type: 'string' },
|
|
43168
|
+
type: 'array',
|
|
43169
|
+
},
|
|
43170
|
+
property_listing_keys: {
|
|
43171
|
+
description:
|
|
43172
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
43173
|
+
items: { type: 'string' },
|
|
43174
|
+
type: 'array',
|
|
43175
|
+
},
|
|
43176
|
+
room_keys: {
|
|
43177
|
+
description:
|
|
43178
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
43179
|
+
items: { type: 'string' },
|
|
43180
|
+
type: 'array',
|
|
43181
|
+
},
|
|
43036
43182
|
site_keys: {
|
|
43037
43183
|
description:
|
|
43038
43184
|
'List of unique identifiers for the sites the staff member is associated with.',
|
|
43039
43185
|
items: { type: 'string' },
|
|
43040
43186
|
type: 'array',
|
|
43041
43187
|
},
|
|
43188
|
+
space_keys: {
|
|
43189
|
+
description:
|
|
43190
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
43191
|
+
items: { type: 'string' },
|
|
43192
|
+
type: 'array',
|
|
43193
|
+
},
|
|
43042
43194
|
staff_member_key: {
|
|
43043
43195
|
description: 'Your unique identifier for the staff.',
|
|
43044
43196
|
type: 'string',
|
|
43045
43197
|
},
|
|
43198
|
+
unit_keys: {
|
|
43199
|
+
description:
|
|
43200
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
43201
|
+
items: { type: 'string' },
|
|
43202
|
+
type: 'array',
|
|
43203
|
+
},
|
|
43046
43204
|
},
|
|
43047
|
-
required: ['name', 'staff_member_key'
|
|
43205
|
+
required: ['name', 'staff_member_key'],
|
|
43048
43206
|
type: 'object',
|
|
43049
43207
|
'x-route-path': '/seam/customer/v1/staff_members',
|
|
43050
43208
|
},
|
|
@@ -51443,6 +51601,32 @@ export default {
|
|
|
51443
51601
|
required: ['rule'],
|
|
51444
51602
|
type: 'object',
|
|
51445
51603
|
},
|
|
51604
|
+
staff_member_created: {
|
|
51605
|
+
properties: {
|
|
51606
|
+
config: {
|
|
51607
|
+
$ref: '#/components/schemas/access_code',
|
|
51608
|
+
},
|
|
51609
|
+
rule: {
|
|
51610
|
+
enum: ['staff_member_created'],
|
|
51611
|
+
type: 'string',
|
|
51612
|
+
},
|
|
51613
|
+
},
|
|
51614
|
+
required: ['rule', 'config'],
|
|
51615
|
+
type: 'object',
|
|
51616
|
+
},
|
|
51617
|
+
staff_member_name_updated: {
|
|
51618
|
+
properties: {
|
|
51619
|
+
config: {
|
|
51620
|
+
$ref: '#/components/schemas/access_code',
|
|
51621
|
+
},
|
|
51622
|
+
rule: {
|
|
51623
|
+
enum: ['staff_member_name_updated'],
|
|
51624
|
+
type: 'string',
|
|
51625
|
+
},
|
|
51626
|
+
},
|
|
51627
|
+
required: ['rule'],
|
|
51628
|
+
type: 'object',
|
|
51629
|
+
},
|
|
51446
51630
|
user_identity_name_updated: {
|
|
51447
51631
|
properties: {
|
|
51448
51632
|
config: {
|
|
@@ -51633,6 +51817,32 @@ export default {
|
|
|
51633
51817
|
required: ['rule'],
|
|
51634
51818
|
type: 'object',
|
|
51635
51819
|
},
|
|
51820
|
+
staff_member_created: {
|
|
51821
|
+
properties: {
|
|
51822
|
+
config: {
|
|
51823
|
+
$ref: '#/components/schemas/access_code',
|
|
51824
|
+
},
|
|
51825
|
+
rule: {
|
|
51826
|
+
enum: ['staff_member_created'],
|
|
51827
|
+
type: 'string',
|
|
51828
|
+
},
|
|
51829
|
+
},
|
|
51830
|
+
required: ['rule', 'config'],
|
|
51831
|
+
type: 'object',
|
|
51832
|
+
},
|
|
51833
|
+
staff_member_name_updated: {
|
|
51834
|
+
properties: {
|
|
51835
|
+
config: {
|
|
51836
|
+
$ref: '#/components/schemas/access_code',
|
|
51837
|
+
},
|
|
51838
|
+
rule: {
|
|
51839
|
+
enum: ['staff_member_name_updated'],
|
|
51840
|
+
type: 'string',
|
|
51841
|
+
},
|
|
51842
|
+
},
|
|
51843
|
+
required: ['rule'],
|
|
51844
|
+
type: 'object',
|
|
51845
|
+
},
|
|
51636
51846
|
user_identity_name_updated: {
|
|
51637
51847
|
properties: {
|
|
51638
51848
|
config: {
|
|
@@ -51819,6 +52029,28 @@ export default {
|
|
|
51819
52029
|
required: ['rule'],
|
|
51820
52030
|
type: 'object',
|
|
51821
52031
|
},
|
|
52032
|
+
staff_member_created: {
|
|
52033
|
+
properties: {
|
|
52034
|
+
config: { properties: {}, type: 'object' },
|
|
52035
|
+
rule: {
|
|
52036
|
+
enum: ['staff_member_created'],
|
|
52037
|
+
type: 'string',
|
|
52038
|
+
},
|
|
52039
|
+
},
|
|
52040
|
+
required: ['rule', 'config'],
|
|
52041
|
+
type: 'object',
|
|
52042
|
+
},
|
|
52043
|
+
staff_member_name_updated: {
|
|
52044
|
+
properties: {
|
|
52045
|
+
config: { properties: {}, type: 'object' },
|
|
52046
|
+
rule: {
|
|
52047
|
+
enum: ['staff_member_name_updated'],
|
|
52048
|
+
type: 'string',
|
|
52049
|
+
},
|
|
52050
|
+
},
|
|
52051
|
+
required: ['rule'],
|
|
52052
|
+
type: 'object',
|
|
52053
|
+
},
|
|
51822
52054
|
user_identity_name_updated: {
|
|
51823
52055
|
properties: {
|
|
51824
52056
|
config: { properties: {}, type: 'object' },
|
|
@@ -52011,6 +52243,28 @@ export default {
|
|
|
52011
52243
|
required: ['rule'],
|
|
52012
52244
|
type: 'object',
|
|
52013
52245
|
},
|
|
52246
|
+
staff_member_created: {
|
|
52247
|
+
properties: {
|
|
52248
|
+
config: { properties: {}, type: 'object' },
|
|
52249
|
+
rule: {
|
|
52250
|
+
enum: ['staff_member_created'],
|
|
52251
|
+
type: 'string',
|
|
52252
|
+
},
|
|
52253
|
+
},
|
|
52254
|
+
required: ['rule', 'config'],
|
|
52255
|
+
type: 'object',
|
|
52256
|
+
},
|
|
52257
|
+
staff_member_name_updated: {
|
|
52258
|
+
properties: {
|
|
52259
|
+
config: { properties: {}, type: 'object' },
|
|
52260
|
+
rule: {
|
|
52261
|
+
enum: ['staff_member_name_updated'],
|
|
52262
|
+
type: 'string',
|
|
52263
|
+
},
|
|
52264
|
+
},
|
|
52265
|
+
required: ['rule'],
|
|
52266
|
+
type: 'object',
|
|
52267
|
+
},
|
|
52014
52268
|
user_identity_name_updated: {
|
|
52015
52269
|
properties: {
|
|
52016
52270
|
config: { properties: {}, type: 'object' },
|
|
@@ -54449,7 +54703,42 @@ export default {
|
|
|
54449
54703
|
ok: { type: 'boolean' },
|
|
54450
54704
|
pagination: { $ref: '#/components/schemas/pagination' },
|
|
54451
54705
|
staff_members: {
|
|
54452
|
-
items: {
|
|
54706
|
+
items: {
|
|
54707
|
+
description:
|
|
54708
|
+
'Represents a staff member for a specific customer.',
|
|
54709
|
+
properties: {
|
|
54710
|
+
email_address: {
|
|
54711
|
+
description:
|
|
54712
|
+
'Email address associated with the user identity.',
|
|
54713
|
+
type: 'string',
|
|
54714
|
+
},
|
|
54715
|
+
name: {
|
|
54716
|
+
description:
|
|
54717
|
+
'Your display name for this user identity resource.',
|
|
54718
|
+
type: 'string',
|
|
54719
|
+
},
|
|
54720
|
+
phone_number: {
|
|
54721
|
+
description:
|
|
54722
|
+
'Phone number associated with the user identity.',
|
|
54723
|
+
type: 'string',
|
|
54724
|
+
},
|
|
54725
|
+
space_keys: {
|
|
54726
|
+
description:
|
|
54727
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
54728
|
+
items: { type: 'string' },
|
|
54729
|
+
type: 'array',
|
|
54730
|
+
},
|
|
54731
|
+
staff_member_key: {
|
|
54732
|
+
description:
|
|
54733
|
+
'Your unique identifier for the staff.',
|
|
54734
|
+
type: 'string',
|
|
54735
|
+
},
|
|
54736
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
54737
|
+
},
|
|
54738
|
+
required: ['staff_member_key', 'name'],
|
|
54739
|
+
type: 'object',
|
|
54740
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
54741
|
+
},
|
|
54453
54742
|
type: 'array',
|
|
54454
54743
|
},
|
|
54455
54744
|
},
|
|
@@ -54526,7 +54815,42 @@ export default {
|
|
|
54526
54815
|
ok: { type: 'boolean' },
|
|
54527
54816
|
pagination: { $ref: '#/components/schemas/pagination' },
|
|
54528
54817
|
staff_members: {
|
|
54529
|
-
items: {
|
|
54818
|
+
items: {
|
|
54819
|
+
description:
|
|
54820
|
+
'Represents a staff member for a specific customer.',
|
|
54821
|
+
properties: {
|
|
54822
|
+
email_address: {
|
|
54823
|
+
description:
|
|
54824
|
+
'Email address associated with the user identity.',
|
|
54825
|
+
type: 'string',
|
|
54826
|
+
},
|
|
54827
|
+
name: {
|
|
54828
|
+
description:
|
|
54829
|
+
'Your display name for this user identity resource.',
|
|
54830
|
+
type: 'string',
|
|
54831
|
+
},
|
|
54832
|
+
phone_number: {
|
|
54833
|
+
description:
|
|
54834
|
+
'Phone number associated with the user identity.',
|
|
54835
|
+
type: 'string',
|
|
54836
|
+
},
|
|
54837
|
+
space_keys: {
|
|
54838
|
+
description:
|
|
54839
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
54840
|
+
items: { type: 'string' },
|
|
54841
|
+
type: 'array',
|
|
54842
|
+
},
|
|
54843
|
+
staff_member_key: {
|
|
54844
|
+
description:
|
|
54845
|
+
'Your unique identifier for the staff.',
|
|
54846
|
+
type: 'string',
|
|
54847
|
+
},
|
|
54848
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
54849
|
+
},
|
|
54850
|
+
required: ['staff_member_key', 'name'],
|
|
54851
|
+
type: 'object',
|
|
54852
|
+
'x-route-path': '/seam/customer/v1/staff_members',
|
|
54853
|
+
},
|
|
54530
54854
|
type: 'array',
|
|
54531
54855
|
},
|
|
54532
54856
|
},
|