@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.
@@ -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: string[];
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: string[];
32383
+ site_keys?: string[] | undefined;
32348
32384
  }[] | undefined;
32349
32385
  /** List of reservations. */
32350
32386
  reservations?: {
@@ -59440,16 +59476,17 @@ export type Routes = {
59440
59476
  formData: {};
59441
59477
  jsonResponse: {
59442
59478
  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
59479
  /** Your unique identifier for the staff. */
59450
59480
  staff_member_key: string;
59451
- /** List of unique identifiers for the sites the staff member is associated with. */
59452
- site_keys: string[];
59481
+ /** Phone number associated with the user identity. */
59482
+ phone_number?: string | undefined;
59483
+ /** Email address associated with the user identity. */
59484
+ email_address?: string | undefined;
59485
+ /** Your display name for this user identity resource. */
59486
+ name: string;
59487
+ /** List of unique identifiers for the spaces the staff member is associated with. */
59488
+ space_keys?: string[] | undefined;
59489
+ user_identity_id?: string | undefined;
59453
59490
  }[];
59454
59491
  /** Information about the current page of results. */
59455
59492
  pagination: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.619.0",
3
+ "version": "1.620.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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', 'site_keys'],
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', 'site_keys'],
43205
+ required: ['name', 'staff_member_key'],
43048
43206
  type: 'object',
43049
43207
  'x-route-path': '/seam/customer/v1/staff_members',
43050
43208
  },
@@ -54449,7 +54607,42 @@ export default {
54449
54607
  ok: { type: 'boolean' },
54450
54608
  pagination: { $ref: '#/components/schemas/pagination' },
54451
54609
  staff_members: {
54452
- items: { $ref: '#/components/schemas/staff_member' },
54610
+ items: {
54611
+ description:
54612
+ 'Represents a staff member for a specific customer.',
54613
+ properties: {
54614
+ email_address: {
54615
+ description:
54616
+ 'Email address associated with the user identity.',
54617
+ type: 'string',
54618
+ },
54619
+ name: {
54620
+ description:
54621
+ 'Your display name for this user identity resource.',
54622
+ type: 'string',
54623
+ },
54624
+ phone_number: {
54625
+ description:
54626
+ 'Phone number associated with the user identity.',
54627
+ type: 'string',
54628
+ },
54629
+ space_keys: {
54630
+ description:
54631
+ 'List of unique identifiers for the spaces the staff member is associated with.',
54632
+ items: { type: 'string' },
54633
+ type: 'array',
54634
+ },
54635
+ staff_member_key: {
54636
+ description:
54637
+ 'Your unique identifier for the staff.',
54638
+ type: 'string',
54639
+ },
54640
+ user_identity_id: { format: 'uuid', type: 'string' },
54641
+ },
54642
+ required: ['staff_member_key', 'name'],
54643
+ type: 'object',
54644
+ 'x-route-path': '/seam/customer/v1/staff_members',
54645
+ },
54453
54646
  type: 'array',
54454
54647
  },
54455
54648
  },
@@ -54526,7 +54719,42 @@ export default {
54526
54719
  ok: { type: 'boolean' },
54527
54720
  pagination: { $ref: '#/components/schemas/pagination' },
54528
54721
  staff_members: {
54529
- items: { $ref: '#/components/schemas/staff_member' },
54722
+ items: {
54723
+ description:
54724
+ 'Represents a staff member for a specific customer.',
54725
+ properties: {
54726
+ email_address: {
54727
+ description:
54728
+ 'Email address associated with the user identity.',
54729
+ type: 'string',
54730
+ },
54731
+ name: {
54732
+ description:
54733
+ 'Your display name for this user identity resource.',
54734
+ type: 'string',
54735
+ },
54736
+ phone_number: {
54737
+ description:
54738
+ 'Phone number associated with the user identity.',
54739
+ type: 'string',
54740
+ },
54741
+ space_keys: {
54742
+ description:
54743
+ 'List of unique identifiers for the spaces the staff member is associated with.',
54744
+ items: { type: 'string' },
54745
+ type: 'array',
54746
+ },
54747
+ staff_member_key: {
54748
+ description:
54749
+ 'Your unique identifier for the staff.',
54750
+ type: 'string',
54751
+ },
54752
+ user_identity_id: { format: 'uuid', type: 'string' },
54753
+ },
54754
+ required: ['staff_member_key', 'name'],
54755
+ type: 'object',
54756
+ 'x-route-path': '/seam/customer/v1/staff_members',
54757
+ },
54530
54758
  type: 'array',
54531
54759
  },
54532
54760
  },
@@ -37187,8 +37187,26 @@ export type Routes = {
37187
37187
  phone_number?: string | undefined
37188
37188
  /** Your unique identifier for the staff. */
37189
37189
  staff_member_key: string
37190
+ /** List of unique identifiers for the spaces the staff member is associated with. */
37191
+ space_keys?: string[] | undefined
37192
+ /** List of unique identifiers for the properties the staff member is associated with. */
37193
+ property_keys?: string[] | undefined
37194
+ /** List of unique identifiers for the rooms the staff member is associated with. */
37195
+ room_keys?: string[] | undefined
37196
+ /** List of unique identifiers for the common areas the staff member is associated with. */
37197
+ common_area_keys?: string[] | undefined
37198
+ /** List of unique identifiers for the units the staff member is associated with. */
37199
+ unit_keys?: string[] | undefined
37200
+ /** List of unique identifiers for the facilities the staff member is associated with. */
37201
+ facility_keys?: string[] | undefined
37202
+ /** List of unique identifiers for the buildings the staff member is associated with. */
37203
+ building_keys?: string[] | undefined
37204
+ /** List of unique identifiers for the listings the staff member is associated with. */
37205
+ listing_keys?: string[] | undefined
37206
+ /** List of unique identifiers for the property listings the staff member is associated with. */
37207
+ property_listing_keys?: string[] | undefined
37190
37208
  /** List of unique identifiers for the sites the staff member is associated with. */
37191
- site_keys: string[]
37209
+ site_keys?: string[] | undefined
37192
37210
  }[]
37193
37211
  | undefined
37194
37212
  /** List of reservations. */
@@ -37564,8 +37582,26 @@ export type Routes = {
37564
37582
  phone_number?: string | undefined
37565
37583
  /** Your unique identifier for the staff. */
37566
37584
  staff_member_key: string
37585
+ /** List of unique identifiers for the spaces the staff member is associated with. */
37586
+ space_keys?: string[] | undefined
37587
+ /** List of unique identifiers for the properties the staff member is associated with. */
37588
+ property_keys?: string[] | undefined
37589
+ /** List of unique identifiers for the rooms the staff member is associated with. */
37590
+ room_keys?: string[] | undefined
37591
+ /** List of unique identifiers for the common areas the staff member is associated with. */
37592
+ common_area_keys?: string[] | undefined
37593
+ /** List of unique identifiers for the units the staff member is associated with. */
37594
+ unit_keys?: string[] | undefined
37595
+ /** List of unique identifiers for the facilities the staff member is associated with. */
37596
+ facility_keys?: string[] | undefined
37597
+ /** List of unique identifiers for the buildings the staff member is associated with. */
37598
+ building_keys?: string[] | undefined
37599
+ /** List of unique identifiers for the listings the staff member is associated with. */
37600
+ listing_keys?: string[] | undefined
37601
+ /** List of unique identifiers for the property listings the staff member is associated with. */
37602
+ property_listing_keys?: string[] | undefined
37567
37603
  /** List of unique identifiers for the sites the staff member is associated with. */
37568
- site_keys: string[]
37604
+ site_keys?: string[] | undefined
37569
37605
  }[]
37570
37606
  | undefined
37571
37607
  /** List of reservations. */
@@ -70808,16 +70844,17 @@ export type Routes = {
70808
70844
  formData: {}
70809
70845
  jsonResponse: {
70810
70846
  staff_members: {
70811
- /** Your display name for this user identity resource. */
70812
- name: string
70813
- /** Email address associated with the user identity. */
70814
- email_address?: string | undefined
70815
- /** Phone number associated with the user identity. */
70816
- phone_number?: string | undefined
70817
70847
  /** Your unique identifier for the staff. */
70818
70848
  staff_member_key: string
70819
- /** List of unique identifiers for the sites the staff member is associated with. */
70820
- site_keys: string[]
70849
+ /** Phone number associated with the user identity. */
70850
+ phone_number?: string | undefined
70851
+ /** Email address associated with the user identity. */
70852
+ email_address?: string | undefined
70853
+ /** Your display name for this user identity resource. */
70854
+ name: string
70855
+ /** List of unique identifiers for the spaces the staff member is associated with. */
70856
+ space_keys?: string[] | undefined
70857
+ user_identity_id?: string | undefined
70821
70858
  }[]
70822
70859
  /** Information about the current page of results. */
70823
70860
  pagination: {