@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/connect.d.cts
CHANGED
|
@@ -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
|
-
|
|
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;
|
|
@@ -96939,7 +97155,39 @@ declare const _default: {
|
|
|
96939
97155
|
};
|
|
96940
97156
|
staff_members: {
|
|
96941
97157
|
items: {
|
|
96942
|
-
|
|
97158
|
+
description: string;
|
|
97159
|
+
properties: {
|
|
97160
|
+
email_address: {
|
|
97161
|
+
description: string;
|
|
97162
|
+
type: string;
|
|
97163
|
+
};
|
|
97164
|
+
name: {
|
|
97165
|
+
description: string;
|
|
97166
|
+
type: string;
|
|
97167
|
+
};
|
|
97168
|
+
phone_number: {
|
|
97169
|
+
description: string;
|
|
97170
|
+
type: string;
|
|
97171
|
+
};
|
|
97172
|
+
space_keys: {
|
|
97173
|
+
description: string;
|
|
97174
|
+
items: {
|
|
97175
|
+
type: string;
|
|
97176
|
+
};
|
|
97177
|
+
type: string;
|
|
97178
|
+
};
|
|
97179
|
+
staff_member_key: {
|
|
97180
|
+
description: string;
|
|
97181
|
+
type: string;
|
|
97182
|
+
};
|
|
97183
|
+
user_identity_id: {
|
|
97184
|
+
format: string;
|
|
97185
|
+
type: string;
|
|
97186
|
+
};
|
|
97187
|
+
};
|
|
97188
|
+
required: string[];
|
|
97189
|
+
type: string;
|
|
97190
|
+
'x-route-path': string;
|
|
96943
97191
|
};
|
|
96944
97192
|
type: string;
|
|
96945
97193
|
};
|
|
@@ -97024,7 +97272,39 @@ declare const _default: {
|
|
|
97024
97272
|
};
|
|
97025
97273
|
staff_members: {
|
|
97026
97274
|
items: {
|
|
97027
|
-
|
|
97275
|
+
description: string;
|
|
97276
|
+
properties: {
|
|
97277
|
+
email_address: {
|
|
97278
|
+
description: string;
|
|
97279
|
+
type: string;
|
|
97280
|
+
};
|
|
97281
|
+
name: {
|
|
97282
|
+
description: string;
|
|
97283
|
+
type: string;
|
|
97284
|
+
};
|
|
97285
|
+
phone_number: {
|
|
97286
|
+
description: string;
|
|
97287
|
+
type: string;
|
|
97288
|
+
};
|
|
97289
|
+
space_keys: {
|
|
97290
|
+
description: string;
|
|
97291
|
+
items: {
|
|
97292
|
+
type: string;
|
|
97293
|
+
};
|
|
97294
|
+
type: string;
|
|
97295
|
+
};
|
|
97296
|
+
staff_member_key: {
|
|
97297
|
+
description: string;
|
|
97298
|
+
type: string;
|
|
97299
|
+
};
|
|
97300
|
+
user_identity_id: {
|
|
97301
|
+
format: string;
|
|
97302
|
+
type: string;
|
|
97303
|
+
};
|
|
97304
|
+
};
|
|
97305
|
+
required: string[];
|
|
97306
|
+
type: string;
|
|
97307
|
+
'x-route-path': string;
|
|
97028
97308
|
};
|
|
97029
97309
|
type: string;
|
|
97030
97310
|
};
|
|
@@ -141543,8 +141823,26 @@ type Routes = {
|
|
|
141543
141823
|
phone_number?: string | undefined;
|
|
141544
141824
|
/** Your unique identifier for the staff. */
|
|
141545
141825
|
staff_member_key: string;
|
|
141826
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
141827
|
+
space_keys?: string[] | undefined;
|
|
141828
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
141829
|
+
property_keys?: string[] | undefined;
|
|
141830
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
141831
|
+
room_keys?: string[] | undefined;
|
|
141832
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
141833
|
+
common_area_keys?: string[] | undefined;
|
|
141834
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
141835
|
+
unit_keys?: string[] | undefined;
|
|
141836
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
141837
|
+
facility_keys?: string[] | undefined;
|
|
141838
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
141839
|
+
building_keys?: string[] | undefined;
|
|
141840
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
141841
|
+
listing_keys?: string[] | undefined;
|
|
141842
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
141843
|
+
property_listing_keys?: string[] | undefined;
|
|
141546
141844
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
141547
|
-
site_keys
|
|
141845
|
+
site_keys?: string[] | undefined;
|
|
141548
141846
|
}[] | undefined;
|
|
141549
141847
|
/** List of reservations. */
|
|
141550
141848
|
reservations?: {
|
|
@@ -141881,8 +142179,26 @@ type Routes = {
|
|
|
141881
142179
|
phone_number?: string | undefined;
|
|
141882
142180
|
/** Your unique identifier for the staff. */
|
|
141883
142181
|
staff_member_key: string;
|
|
142182
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
142183
|
+
space_keys?: string[] | undefined;
|
|
142184
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
142185
|
+
property_keys?: string[] | undefined;
|
|
142186
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
142187
|
+
room_keys?: string[] | undefined;
|
|
142188
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
142189
|
+
common_area_keys?: string[] | undefined;
|
|
142190
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
142191
|
+
unit_keys?: string[] | undefined;
|
|
142192
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
142193
|
+
facility_keys?: string[] | undefined;
|
|
142194
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
142195
|
+
building_keys?: string[] | undefined;
|
|
142196
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
142197
|
+
listing_keys?: string[] | undefined;
|
|
142198
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
142199
|
+
property_listing_keys?: string[] | undefined;
|
|
141884
142200
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
141885
|
-
site_keys
|
|
142201
|
+
site_keys?: string[] | undefined;
|
|
141886
142202
|
}[] | undefined;
|
|
141887
142203
|
/** List of reservations. */
|
|
141888
142204
|
reservations?: {
|
|
@@ -168978,16 +169294,17 @@ type Routes = {
|
|
|
168978
169294
|
formData: {};
|
|
168979
169295
|
jsonResponse: {
|
|
168980
169296
|
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
169297
|
/** Your unique identifier for the staff. */
|
|
168988
169298
|
staff_member_key: string;
|
|
168989
|
-
/**
|
|
168990
|
-
|
|
169299
|
+
/** Phone number associated with the user identity. */
|
|
169300
|
+
phone_number?: string | undefined;
|
|
169301
|
+
/** Email address associated with the user identity. */
|
|
169302
|
+
email_address?: string | undefined;
|
|
169303
|
+
/** Your display name for this user identity resource. */
|
|
169304
|
+
name: string;
|
|
169305
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
169306
|
+
space_keys?: string[] | undefined;
|
|
169307
|
+
user_identity_id?: string | undefined;
|
|
168991
169308
|
}[];
|
|
168992
169309
|
/** Information about the current page of results. */
|
|
168993
169310
|
pagination: {
|