@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.
@@ -39910,19 +39910,46 @@ declare const staff_member_resource: z.ZodObject<{
39910
39910
  phone_number: z.ZodOptional<z.ZodString>;
39911
39911
  } & {
39912
39912
  staff_member_key: z.ZodString;
39913
- site_keys: z.ZodArray<z.ZodString, "many">;
39913
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39914
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39915
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39916
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39917
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39918
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39919
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39920
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39921
+ property_listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39922
+ site_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39914
39923
  }, "strip", z.ZodTypeAny, {
39915
39924
  name: string;
39916
39925
  staff_member_key: string;
39917
- site_keys: string[];
39918
39926
  email_address?: string | undefined;
39919
39927
  phone_number?: string | undefined;
39928
+ space_keys?: string[] | undefined;
39929
+ property_keys?: string[] | undefined;
39930
+ room_keys?: string[] | undefined;
39931
+ common_area_keys?: string[] | undefined;
39932
+ unit_keys?: string[] | undefined;
39933
+ facility_keys?: string[] | undefined;
39934
+ building_keys?: string[] | undefined;
39935
+ listing_keys?: string[] | undefined;
39936
+ property_listing_keys?: string[] | undefined;
39937
+ site_keys?: string[] | undefined;
39920
39938
  }, {
39921
39939
  name: string;
39922
39940
  staff_member_key: string;
39923
- site_keys: string[];
39924
39941
  email_address?: string | undefined;
39925
39942
  phone_number?: string | undefined;
39943
+ space_keys?: string[] | undefined;
39944
+ property_keys?: string[] | undefined;
39945
+ room_keys?: string[] | undefined;
39946
+ common_area_keys?: string[] | undefined;
39947
+ unit_keys?: string[] | undefined;
39948
+ facility_keys?: string[] | undefined;
39949
+ building_keys?: string[] | undefined;
39950
+ listing_keys?: string[] | undefined;
39951
+ property_listing_keys?: string[] | undefined;
39952
+ site_keys?: string[] | undefined;
39926
39953
  }>;
39927
39954
 
39928
39955
  declare const customization_profile: z.ZodObject<{
@@ -64044,10 +64071,38 @@ declare const _default: {
64044
64071
  staff_member: {
64045
64072
  description: string;
64046
64073
  properties: {
64074
+ building_keys: {
64075
+ description: string;
64076
+ items: {
64077
+ type: string;
64078
+ };
64079
+ type: string;
64080
+ };
64081
+ common_area_keys: {
64082
+ description: string;
64083
+ items: {
64084
+ type: string;
64085
+ };
64086
+ type: string;
64087
+ };
64047
64088
  email_address: {
64048
64089
  description: string;
64049
64090
  type: string;
64050
64091
  };
64092
+ facility_keys: {
64093
+ description: string;
64094
+ items: {
64095
+ type: string;
64096
+ };
64097
+ type: string;
64098
+ };
64099
+ listing_keys: {
64100
+ description: string;
64101
+ items: {
64102
+ type: string;
64103
+ };
64104
+ type: string;
64105
+ };
64051
64106
  name: {
64052
64107
  description: string;
64053
64108
  type: string;
@@ -64056,6 +64111,27 @@ declare const _default: {
64056
64111
  description: string;
64057
64112
  type: string;
64058
64113
  };
64114
+ property_keys: {
64115
+ description: string;
64116
+ items: {
64117
+ type: string;
64118
+ };
64119
+ type: string;
64120
+ };
64121
+ property_listing_keys: {
64122
+ description: string;
64123
+ items: {
64124
+ type: string;
64125
+ };
64126
+ type: string;
64127
+ };
64128
+ room_keys: {
64129
+ description: string;
64130
+ items: {
64131
+ type: string;
64132
+ };
64133
+ type: string;
64134
+ };
64059
64135
  site_keys: {
64060
64136
  description: string;
64061
64137
  items: {
@@ -64063,10 +64139,24 @@ declare const _default: {
64063
64139
  };
64064
64140
  type: string;
64065
64141
  };
64142
+ space_keys: {
64143
+ description: string;
64144
+ items: {
64145
+ type: string;
64146
+ };
64147
+ type: string;
64148
+ };
64066
64149
  staff_member_key: {
64067
64150
  description: string;
64068
64151
  type: string;
64069
64152
  };
64153
+ unit_keys: {
64154
+ description: string;
64155
+ items: {
64156
+ type: string;
64157
+ };
64158
+ type: string;
64159
+ };
64070
64160
  };
64071
64161
  required: string[];
64072
64162
  type: string;
@@ -84541,10 +84631,38 @@ declare const _default: {
84541
84631
  items: {
84542
84632
  description: string;
84543
84633
  properties: {
84634
+ building_keys: {
84635
+ description: string;
84636
+ items: {
84637
+ type: string;
84638
+ };
84639
+ type: string;
84640
+ };
84641
+ common_area_keys: {
84642
+ description: string;
84643
+ items: {
84644
+ type: string;
84645
+ };
84646
+ type: string;
84647
+ };
84544
84648
  email_address: {
84545
84649
  description: string;
84546
84650
  type: string;
84547
84651
  };
84652
+ facility_keys: {
84653
+ description: string;
84654
+ items: {
84655
+ type: string;
84656
+ };
84657
+ type: string;
84658
+ };
84659
+ listing_keys: {
84660
+ description: string;
84661
+ items: {
84662
+ type: string;
84663
+ };
84664
+ type: string;
84665
+ };
84548
84666
  name: {
84549
84667
  description: string;
84550
84668
  type: string;
@@ -84553,6 +84671,27 @@ declare const _default: {
84553
84671
  description: string;
84554
84672
  type: string;
84555
84673
  };
84674
+ property_keys: {
84675
+ description: string;
84676
+ items: {
84677
+ type: string;
84678
+ };
84679
+ type: string;
84680
+ };
84681
+ property_listing_keys: {
84682
+ description: string;
84683
+ items: {
84684
+ type: string;
84685
+ };
84686
+ type: string;
84687
+ };
84688
+ room_keys: {
84689
+ description: string;
84690
+ items: {
84691
+ type: string;
84692
+ };
84693
+ type: string;
84694
+ };
84556
84695
  site_keys: {
84557
84696
  description: string;
84558
84697
  items: {
@@ -84560,10 +84699,24 @@ declare const _default: {
84560
84699
  };
84561
84700
  type: string;
84562
84701
  };
84702
+ space_keys: {
84703
+ description: string;
84704
+ items: {
84705
+ type: string;
84706
+ };
84707
+ type: string;
84708
+ };
84563
84709
  staff_member_key: {
84564
84710
  description: string;
84565
84711
  type: string;
84566
84712
  };
84713
+ unit_keys: {
84714
+ description: string;
84715
+ items: {
84716
+ type: string;
84717
+ };
84718
+ type: string;
84719
+ };
84567
84720
  };
84568
84721
  required: string[];
84569
84722
  type: string;
@@ -85560,10 +85713,38 @@ declare const _default: {
85560
85713
  items: {
85561
85714
  description: string;
85562
85715
  properties: {
85716
+ building_keys: {
85717
+ description: string;
85718
+ items: {
85719
+ type: string;
85720
+ };
85721
+ type: string;
85722
+ };
85723
+ common_area_keys: {
85724
+ description: string;
85725
+ items: {
85726
+ type: string;
85727
+ };
85728
+ type: string;
85729
+ };
85563
85730
  email_address: {
85564
85731
  description: string;
85565
85732
  type: string;
85566
85733
  };
85734
+ facility_keys: {
85735
+ description: string;
85736
+ items: {
85737
+ type: string;
85738
+ };
85739
+ type: string;
85740
+ };
85741
+ listing_keys: {
85742
+ description: string;
85743
+ items: {
85744
+ type: string;
85745
+ };
85746
+ type: string;
85747
+ };
85567
85748
  name: {
85568
85749
  description: string;
85569
85750
  type: string;
@@ -85572,6 +85753,27 @@ declare const _default: {
85572
85753
  description: string;
85573
85754
  type: string;
85574
85755
  };
85756
+ property_keys: {
85757
+ description: string;
85758
+ items: {
85759
+ type: string;
85760
+ };
85761
+ type: string;
85762
+ };
85763
+ property_listing_keys: {
85764
+ description: string;
85765
+ items: {
85766
+ type: string;
85767
+ };
85768
+ type: string;
85769
+ };
85770
+ room_keys: {
85771
+ description: string;
85772
+ items: {
85773
+ type: string;
85774
+ };
85775
+ type: string;
85776
+ };
85575
85777
  site_keys: {
85576
85778
  description: string;
85577
85779
  items: {
@@ -85579,10 +85781,24 @@ declare const _default: {
85579
85781
  };
85580
85782
  type: string;
85581
85783
  };
85784
+ space_keys: {
85785
+ description: string;
85786
+ items: {
85787
+ type: string;
85788
+ };
85789
+ type: string;
85790
+ };
85582
85791
  staff_member_key: {
85583
85792
  description: string;
85584
85793
  type: string;
85585
85794
  };
85795
+ unit_keys: {
85796
+ description: string;
85797
+ items: {
85798
+ type: string;
85799
+ };
85800
+ type: string;
85801
+ };
85586
85802
  };
85587
85803
  required: string[];
85588
85804
  type: string;
@@ -93798,6 +94014,32 @@ declare const _default: {
93798
94014
  required: string[];
93799
94015
  type: string;
93800
94016
  };
94017
+ staff_member_created: {
94018
+ properties: {
94019
+ config: {
94020
+ $ref: string;
94021
+ };
94022
+ rule: {
94023
+ enum: string[];
94024
+ type: string;
94025
+ };
94026
+ };
94027
+ required: string[];
94028
+ type: string;
94029
+ };
94030
+ staff_member_name_updated: {
94031
+ properties: {
94032
+ config: {
94033
+ $ref: string;
94034
+ };
94035
+ rule: {
94036
+ enum: string[];
94037
+ type: string;
94038
+ };
94039
+ };
94040
+ required: string[];
94041
+ type: string;
94042
+ };
93801
94043
  user_identity_name_updated: {
93802
94044
  properties: {
93803
94045
  config: {
@@ -94001,6 +94243,32 @@ declare const _default: {
94001
94243
  required: string[];
94002
94244
  type: string;
94003
94245
  };
94246
+ staff_member_created: {
94247
+ properties: {
94248
+ config: {
94249
+ $ref: string;
94250
+ };
94251
+ rule: {
94252
+ enum: string[];
94253
+ type: string;
94254
+ };
94255
+ };
94256
+ required: string[];
94257
+ type: string;
94258
+ };
94259
+ staff_member_name_updated: {
94260
+ properties: {
94261
+ config: {
94262
+ $ref: string;
94263
+ };
94264
+ rule: {
94265
+ enum: string[];
94266
+ type: string;
94267
+ };
94268
+ };
94269
+ required: string[];
94270
+ type: string;
94271
+ };
94004
94272
  user_identity_name_updated: {
94005
94273
  properties: {
94006
94274
  config: {
@@ -94209,6 +94477,34 @@ declare const _default: {
94209
94477
  required: string[];
94210
94478
  type: string;
94211
94479
  };
94480
+ staff_member_created: {
94481
+ properties: {
94482
+ config: {
94483
+ properties: {};
94484
+ type: string;
94485
+ };
94486
+ rule: {
94487
+ enum: string[];
94488
+ type: string;
94489
+ };
94490
+ };
94491
+ required: string[];
94492
+ type: string;
94493
+ };
94494
+ staff_member_name_updated: {
94495
+ properties: {
94496
+ config: {
94497
+ properties: {};
94498
+ type: string;
94499
+ };
94500
+ rule: {
94501
+ enum: string[];
94502
+ type: string;
94503
+ };
94504
+ };
94505
+ required: string[];
94506
+ type: string;
94507
+ };
94212
94508
  user_identity_name_updated: {
94213
94509
  properties: {
94214
94510
  config: {
@@ -94428,6 +94724,34 @@ declare const _default: {
94428
94724
  required: string[];
94429
94725
  type: string;
94430
94726
  };
94727
+ staff_member_created: {
94728
+ properties: {
94729
+ config: {
94730
+ properties: {};
94731
+ type: string;
94732
+ };
94733
+ rule: {
94734
+ enum: string[];
94735
+ type: string;
94736
+ };
94737
+ };
94738
+ required: string[];
94739
+ type: string;
94740
+ };
94741
+ staff_member_name_updated: {
94742
+ properties: {
94743
+ config: {
94744
+ properties: {};
94745
+ type: string;
94746
+ };
94747
+ rule: {
94748
+ enum: string[];
94749
+ type: string;
94750
+ };
94751
+ };
94752
+ required: string[];
94753
+ type: string;
94754
+ };
94431
94755
  user_identity_name_updated: {
94432
94756
  properties: {
94433
94757
  config: {
@@ -96939,7 +97263,39 @@ declare const _default: {
96939
97263
  };
96940
97264
  staff_members: {
96941
97265
  items: {
96942
- $ref: string;
97266
+ description: string;
97267
+ properties: {
97268
+ email_address: {
97269
+ description: string;
97270
+ type: string;
97271
+ };
97272
+ name: {
97273
+ description: string;
97274
+ type: string;
97275
+ };
97276
+ phone_number: {
97277
+ description: string;
97278
+ type: string;
97279
+ };
97280
+ space_keys: {
97281
+ description: string;
97282
+ items: {
97283
+ type: string;
97284
+ };
97285
+ type: string;
97286
+ };
97287
+ staff_member_key: {
97288
+ description: string;
97289
+ type: string;
97290
+ };
97291
+ user_identity_id: {
97292
+ format: string;
97293
+ type: string;
97294
+ };
97295
+ };
97296
+ required: string[];
97297
+ type: string;
97298
+ 'x-route-path': string;
96943
97299
  };
96944
97300
  type: string;
96945
97301
  };
@@ -97024,7 +97380,39 @@ declare const _default: {
97024
97380
  };
97025
97381
  staff_members: {
97026
97382
  items: {
97027
- $ref: string;
97383
+ description: string;
97384
+ properties: {
97385
+ email_address: {
97386
+ description: string;
97387
+ type: string;
97388
+ };
97389
+ name: {
97390
+ description: string;
97391
+ type: string;
97392
+ };
97393
+ phone_number: {
97394
+ description: string;
97395
+ type: string;
97396
+ };
97397
+ space_keys: {
97398
+ description: string;
97399
+ items: {
97400
+ type: string;
97401
+ };
97402
+ type: string;
97403
+ };
97404
+ staff_member_key: {
97405
+ description: string;
97406
+ type: string;
97407
+ };
97408
+ user_identity_id: {
97409
+ format: string;
97410
+ type: string;
97411
+ };
97412
+ };
97413
+ required: string[];
97414
+ type: string;
97415
+ 'x-route-path': string;
97028
97416
  };
97029
97417
  type: string;
97030
97418
  };
@@ -141543,8 +141931,26 @@ type Routes = {
141543
141931
  phone_number?: string | undefined;
141544
141932
  /** Your unique identifier for the staff. */
141545
141933
  staff_member_key: string;
141934
+ /** List of unique identifiers for the spaces the staff member is associated with. */
141935
+ space_keys?: string[] | undefined;
141936
+ /** List of unique identifiers for the properties the staff member is associated with. */
141937
+ property_keys?: string[] | undefined;
141938
+ /** List of unique identifiers for the rooms the staff member is associated with. */
141939
+ room_keys?: string[] | undefined;
141940
+ /** List of unique identifiers for the common areas the staff member is associated with. */
141941
+ common_area_keys?: string[] | undefined;
141942
+ /** List of unique identifiers for the units the staff member is associated with. */
141943
+ unit_keys?: string[] | undefined;
141944
+ /** List of unique identifiers for the facilities the staff member is associated with. */
141945
+ facility_keys?: string[] | undefined;
141946
+ /** List of unique identifiers for the buildings the staff member is associated with. */
141947
+ building_keys?: string[] | undefined;
141948
+ /** List of unique identifiers for the listings the staff member is associated with. */
141949
+ listing_keys?: string[] | undefined;
141950
+ /** List of unique identifiers for the property listings the staff member is associated with. */
141951
+ property_listing_keys?: string[] | undefined;
141546
141952
  /** List of unique identifiers for the sites the staff member is associated with. */
141547
- site_keys: string[];
141953
+ site_keys?: string[] | undefined;
141548
141954
  }[] | undefined;
141549
141955
  /** List of reservations. */
141550
141956
  reservations?: {
@@ -141881,8 +142287,26 @@ type Routes = {
141881
142287
  phone_number?: string | undefined;
141882
142288
  /** Your unique identifier for the staff. */
141883
142289
  staff_member_key: string;
142290
+ /** List of unique identifiers for the spaces the staff member is associated with. */
142291
+ space_keys?: string[] | undefined;
142292
+ /** List of unique identifiers for the properties the staff member is associated with. */
142293
+ property_keys?: string[] | undefined;
142294
+ /** List of unique identifiers for the rooms the staff member is associated with. */
142295
+ room_keys?: string[] | undefined;
142296
+ /** List of unique identifiers for the common areas the staff member is associated with. */
142297
+ common_area_keys?: string[] | undefined;
142298
+ /** List of unique identifiers for the units the staff member is associated with. */
142299
+ unit_keys?: string[] | undefined;
142300
+ /** List of unique identifiers for the facilities the staff member is associated with. */
142301
+ facility_keys?: string[] | undefined;
142302
+ /** List of unique identifiers for the buildings the staff member is associated with. */
142303
+ building_keys?: string[] | undefined;
142304
+ /** List of unique identifiers for the listings the staff member is associated with. */
142305
+ listing_keys?: string[] | undefined;
142306
+ /** List of unique identifiers for the property listings the staff member is associated with. */
142307
+ property_listing_keys?: string[] | undefined;
141884
142308
  /** List of unique identifiers for the sites the staff member is associated with. */
141885
- site_keys: string[];
142309
+ site_keys?: string[] | undefined;
141886
142310
  }[] | undefined;
141887
142311
  /** List of reservations. */
141888
142312
  reservations?: {
@@ -166616,6 +167040,14 @@ type Routes = {
166616
167040
  rule: 'user_identity_name_updated';
166617
167041
  config?: {} | undefined;
166618
167042
  } | undefined;
167043
+ staff_member_name_updated?: {
167044
+ rule: 'staff_member_name_updated';
167045
+ config?: {} | undefined;
167046
+ } | undefined;
167047
+ staff_member_created?: {
167048
+ rule: 'staff_member_created';
167049
+ config: {};
167050
+ } | undefined;
166619
167051
  } | undefined;
166620
167052
  climate_rules?: {
166621
167053
  rules: {
@@ -166671,6 +167103,14 @@ type Routes = {
166671
167103
  rule: 'user_identity_name_updated';
166672
167104
  config?: {} | undefined;
166673
167105
  } | undefined;
167106
+ staff_member_name_updated?: {
167107
+ rule: 'staff_member_name_updated';
167108
+ config?: {} | undefined;
167109
+ } | undefined;
167110
+ staff_member_created?: {
167111
+ rule: 'staff_member_created';
167112
+ config: {};
167113
+ } | undefined;
166674
167114
  } | undefined;
166675
167115
  /** Climate automation rules configuration. */
166676
167116
  climate_rules?: {
@@ -168978,16 +169418,17 @@ type Routes = {
168978
169418
  formData: {};
168979
169419
  jsonResponse: {
168980
169420
  staff_members: {
168981
- /** Your display name for this user identity resource. */
168982
- name: string;
168983
- /** Email address associated with the user identity. */
168984
- email_address?: string | undefined;
168985
- /** Phone number associated with the user identity. */
168986
- phone_number?: string | undefined;
168987
169421
  /** Your unique identifier for the staff. */
168988
169422
  staff_member_key: string;
168989
- /** List of unique identifiers for the sites the staff member is associated with. */
168990
- site_keys: string[];
169423
+ /** Phone number associated with the user identity. */
169424
+ phone_number?: string | undefined;
169425
+ /** Email address associated with the user identity. */
169426
+ email_address?: string | undefined;
169427
+ /** Your display name for this user identity resource. */
169428
+ name: string;
169429
+ /** List of unique identifiers for the spaces the staff member is associated with. */
169430
+ space_keys?: string[] | undefined;
169431
+ user_identity_id?: string | undefined;
168991
169432
  }[];
168992
169433
  /** Information about the current page of results. */
168993
169434
  pagination: {