@seamapi/types 1.1022.0 → 1.1023.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1022.0",
3
+ "version": "1.1023.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,87 +1,89 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { resource_key } from '../../models/resource-key.js'
4
+
3
5
  export const customer_delete_data = z.object({
4
6
  // Customer keys to delete all data for
5
7
  customer_keys: z
6
- .array(z.string())
8
+ .array(resource_key)
7
9
  .optional()
8
10
  .describe('List of customer keys to delete all data for.'),
9
11
 
10
12
  // Location resources to delete
11
13
  space_keys: z
12
- .array(z.string())
14
+ .array(resource_key)
13
15
  .optional()
14
16
  .describe('List of space keys to delete.'),
15
17
  property_keys: z
16
- .array(z.string())
18
+ .array(resource_key)
17
19
  .optional()
18
20
  .describe('List of property keys to delete.'),
19
21
  room_keys: z
20
- .array(z.string())
22
+ .array(resource_key)
21
23
  .optional()
22
24
  .describe('List of room keys to delete.'),
23
25
  common_area_keys: z
24
- .array(z.string())
26
+ .array(resource_key)
25
27
  .optional()
26
28
  .describe('List of common area keys to delete.'),
27
29
  unit_keys: z
28
- .array(z.string())
30
+ .array(resource_key)
29
31
  .optional()
30
32
  .describe('List of unit keys to delete.'),
31
33
  facility_keys: z
32
- .array(z.string())
34
+ .array(resource_key)
33
35
  .optional()
34
36
  .describe('List of facility keys to delete.'),
35
37
  building_keys: z
36
- .array(z.string())
38
+ .array(resource_key)
37
39
  .optional()
38
40
  .describe('List of building keys to delete.'),
39
41
  listing_keys: z
40
- .array(z.string())
42
+ .array(resource_key)
41
43
  .optional()
42
44
  .describe('List of listing keys to delete.'),
43
45
  property_listing_keys: z
44
- .array(z.string())
46
+ .array(resource_key)
45
47
  .optional()
46
48
  .describe('List of property listing keys to delete.'),
47
49
 
48
50
  // User identity resources to delete
49
51
  guest_keys: z
50
- .array(z.string())
52
+ .array(resource_key)
51
53
  .optional()
52
54
  .describe('List of guest keys to delete.'),
53
55
  tenant_keys: z
54
- .array(z.string())
56
+ .array(resource_key)
55
57
  .optional()
56
58
  .describe('List of tenant keys to delete.'),
57
59
  resident_keys: z
58
- .array(z.string())
60
+ .array(resource_key)
59
61
  .optional()
60
62
  .describe('List of resident keys to delete.'),
61
63
  user_keys: z
62
- .array(z.string())
64
+ .array(resource_key)
63
65
  .optional()
64
66
  .describe('List of user keys to delete.'),
65
67
  user_identity_keys: z
66
- .array(z.string())
68
+ .array(resource_key)
67
69
  .optional()
68
70
  .describe('List of user identity keys to delete.'),
69
71
 
70
72
  // Access grant resources to delete
71
73
  reservation_keys: z
72
- .array(z.string())
74
+ .array(resource_key)
73
75
  .optional()
74
76
  .describe('List of reservation keys to delete.'),
75
77
  booking_keys: z
76
- .array(z.string())
78
+ .array(resource_key)
77
79
  .optional()
78
80
  .describe('List of booking keys to delete.'),
79
81
  access_grant_keys: z
80
- .array(z.string())
82
+ .array(resource_key)
81
83
  .optional()
82
84
  .describe('List of access grant keys to delete.'),
83
85
  staff_member_keys: z
84
- .array(z.string())
86
+ .array(resource_key)
85
87
  .optional()
86
88
  .describe('List of staff member keys to delete.'),
87
89
  })
@@ -53613,7 +53613,7 @@ const openapi: OpenAPISpec = {
53613
53613
  name: 'customer_keys',
53614
53614
  schema: {
53615
53615
  description: 'List of customer keys to delete all data for.',
53616
- items: { type: 'string' },
53616
+ items: { minLength: 1, type: 'string' },
53617
53617
  type: 'array',
53618
53618
  },
53619
53619
  },
@@ -53622,7 +53622,7 @@ const openapi: OpenAPISpec = {
53622
53622
  name: 'space_keys',
53623
53623
  schema: {
53624
53624
  description: 'List of space keys to delete.',
53625
- items: { type: 'string' },
53625
+ items: { minLength: 1, type: 'string' },
53626
53626
  type: 'array',
53627
53627
  },
53628
53628
  },
@@ -53631,7 +53631,7 @@ const openapi: OpenAPISpec = {
53631
53631
  name: 'property_keys',
53632
53632
  schema: {
53633
53633
  description: 'List of property keys to delete.',
53634
- items: { type: 'string' },
53634
+ items: { minLength: 1, type: 'string' },
53635
53635
  type: 'array',
53636
53636
  },
53637
53637
  },
@@ -53640,7 +53640,7 @@ const openapi: OpenAPISpec = {
53640
53640
  name: 'room_keys',
53641
53641
  schema: {
53642
53642
  description: 'List of room keys to delete.',
53643
- items: { type: 'string' },
53643
+ items: { minLength: 1, type: 'string' },
53644
53644
  type: 'array',
53645
53645
  },
53646
53646
  },
@@ -53649,7 +53649,7 @@ const openapi: OpenAPISpec = {
53649
53649
  name: 'common_area_keys',
53650
53650
  schema: {
53651
53651
  description: 'List of common area keys to delete.',
53652
- items: { type: 'string' },
53652
+ items: { minLength: 1, type: 'string' },
53653
53653
  type: 'array',
53654
53654
  },
53655
53655
  },
@@ -53658,7 +53658,7 @@ const openapi: OpenAPISpec = {
53658
53658
  name: 'unit_keys',
53659
53659
  schema: {
53660
53660
  description: 'List of unit keys to delete.',
53661
- items: { type: 'string' },
53661
+ items: { minLength: 1, type: 'string' },
53662
53662
  type: 'array',
53663
53663
  },
53664
53664
  },
@@ -53667,7 +53667,7 @@ const openapi: OpenAPISpec = {
53667
53667
  name: 'facility_keys',
53668
53668
  schema: {
53669
53669
  description: 'List of facility keys to delete.',
53670
- items: { type: 'string' },
53670
+ items: { minLength: 1, type: 'string' },
53671
53671
  type: 'array',
53672
53672
  },
53673
53673
  },
@@ -53676,7 +53676,7 @@ const openapi: OpenAPISpec = {
53676
53676
  name: 'building_keys',
53677
53677
  schema: {
53678
53678
  description: 'List of building keys to delete.',
53679
- items: { type: 'string' },
53679
+ items: { minLength: 1, type: 'string' },
53680
53680
  type: 'array',
53681
53681
  },
53682
53682
  },
@@ -53685,7 +53685,7 @@ const openapi: OpenAPISpec = {
53685
53685
  name: 'listing_keys',
53686
53686
  schema: {
53687
53687
  description: 'List of listing keys to delete.',
53688
- items: { type: 'string' },
53688
+ items: { minLength: 1, type: 'string' },
53689
53689
  type: 'array',
53690
53690
  },
53691
53691
  },
@@ -53694,7 +53694,7 @@ const openapi: OpenAPISpec = {
53694
53694
  name: 'property_listing_keys',
53695
53695
  schema: {
53696
53696
  description: 'List of property listing keys to delete.',
53697
- items: { type: 'string' },
53697
+ items: { minLength: 1, type: 'string' },
53698
53698
  type: 'array',
53699
53699
  },
53700
53700
  },
@@ -53703,7 +53703,7 @@ const openapi: OpenAPISpec = {
53703
53703
  name: 'guest_keys',
53704
53704
  schema: {
53705
53705
  description: 'List of guest keys to delete.',
53706
- items: { type: 'string' },
53706
+ items: { minLength: 1, type: 'string' },
53707
53707
  type: 'array',
53708
53708
  },
53709
53709
  },
@@ -53712,7 +53712,7 @@ const openapi: OpenAPISpec = {
53712
53712
  name: 'tenant_keys',
53713
53713
  schema: {
53714
53714
  description: 'List of tenant keys to delete.',
53715
- items: { type: 'string' },
53715
+ items: { minLength: 1, type: 'string' },
53716
53716
  type: 'array',
53717
53717
  },
53718
53718
  },
@@ -53721,7 +53721,7 @@ const openapi: OpenAPISpec = {
53721
53721
  name: 'resident_keys',
53722
53722
  schema: {
53723
53723
  description: 'List of resident keys to delete.',
53724
- items: { type: 'string' },
53724
+ items: { minLength: 1, type: 'string' },
53725
53725
  type: 'array',
53726
53726
  },
53727
53727
  },
@@ -53730,7 +53730,7 @@ const openapi: OpenAPISpec = {
53730
53730
  name: 'user_keys',
53731
53731
  schema: {
53732
53732
  description: 'List of user keys to delete.',
53733
- items: { type: 'string' },
53733
+ items: { minLength: 1, type: 'string' },
53734
53734
  type: 'array',
53735
53735
  },
53736
53736
  },
@@ -53739,7 +53739,7 @@ const openapi: OpenAPISpec = {
53739
53739
  name: 'user_identity_keys',
53740
53740
  schema: {
53741
53741
  description: 'List of user identity keys to delete.',
53742
- items: { type: 'string' },
53742
+ items: { minLength: 1, type: 'string' },
53743
53743
  type: 'array',
53744
53744
  },
53745
53745
  },
@@ -53748,7 +53748,7 @@ const openapi: OpenAPISpec = {
53748
53748
  name: 'reservation_keys',
53749
53749
  schema: {
53750
53750
  description: 'List of reservation keys to delete.',
53751
- items: { type: 'string' },
53751
+ items: { minLength: 1, type: 'string' },
53752
53752
  type: 'array',
53753
53753
  },
53754
53754
  },
@@ -53757,7 +53757,7 @@ const openapi: OpenAPISpec = {
53757
53757
  name: 'booking_keys',
53758
53758
  schema: {
53759
53759
  description: 'List of booking keys to delete.',
53760
- items: { type: 'string' },
53760
+ items: { minLength: 1, type: 'string' },
53761
53761
  type: 'array',
53762
53762
  },
53763
53763
  },
@@ -53766,7 +53766,7 @@ const openapi: OpenAPISpec = {
53766
53766
  name: 'access_grant_keys',
53767
53767
  schema: {
53768
53768
  description: 'List of access grant keys to delete.',
53769
- items: { type: 'string' },
53769
+ items: { minLength: 1, type: 'string' },
53770
53770
  type: 'array',
53771
53771
  },
53772
53772
  },
@@ -53775,7 +53775,7 @@ const openapi: OpenAPISpec = {
53775
53775
  name: 'staff_member_keys',
53776
53776
  schema: {
53777
53777
  description: 'List of staff member keys to delete.',
53778
- items: { type: 'string' },
53778
+ items: { minLength: 1, type: 'string' },
53779
53779
  type: 'array',
53780
53780
  },
53781
53781
  },
@@ -53820,98 +53820,98 @@ const openapi: OpenAPISpec = {
53820
53820
  properties: {
53821
53821
  access_grant_keys: {
53822
53822
  description: 'List of access grant keys to delete.',
53823
- items: { type: 'string' },
53823
+ items: { minLength: 1, type: 'string' },
53824
53824
  type: 'array',
53825
53825
  },
53826
53826
  booking_keys: {
53827
53827
  description: 'List of booking keys to delete.',
53828
- items: { type: 'string' },
53828
+ items: { minLength: 1, type: 'string' },
53829
53829
  type: 'array',
53830
53830
  },
53831
53831
  building_keys: {
53832
53832
  description: 'List of building keys to delete.',
53833
- items: { type: 'string' },
53833
+ items: { minLength: 1, type: 'string' },
53834
53834
  type: 'array',
53835
53835
  },
53836
53836
  common_area_keys: {
53837
53837
  description: 'List of common area keys to delete.',
53838
- items: { type: 'string' },
53838
+ items: { minLength: 1, type: 'string' },
53839
53839
  type: 'array',
53840
53840
  },
53841
53841
  customer_keys: {
53842
53842
  description:
53843
53843
  'List of customer keys to delete all data for.',
53844
- items: { type: 'string' },
53844
+ items: { minLength: 1, type: 'string' },
53845
53845
  type: 'array',
53846
53846
  },
53847
53847
  facility_keys: {
53848
53848
  description: 'List of facility keys to delete.',
53849
- items: { type: 'string' },
53849
+ items: { minLength: 1, type: 'string' },
53850
53850
  type: 'array',
53851
53851
  },
53852
53852
  guest_keys: {
53853
53853
  description: 'List of guest keys to delete.',
53854
- items: { type: 'string' },
53854
+ items: { minLength: 1, type: 'string' },
53855
53855
  type: 'array',
53856
53856
  },
53857
53857
  listing_keys: {
53858
53858
  description: 'List of listing keys to delete.',
53859
- items: { type: 'string' },
53859
+ items: { minLength: 1, type: 'string' },
53860
53860
  type: 'array',
53861
53861
  },
53862
53862
  property_keys: {
53863
53863
  description: 'List of property keys to delete.',
53864
- items: { type: 'string' },
53864
+ items: { minLength: 1, type: 'string' },
53865
53865
  type: 'array',
53866
53866
  },
53867
53867
  property_listing_keys: {
53868
53868
  description: 'List of property listing keys to delete.',
53869
- items: { type: 'string' },
53869
+ items: { minLength: 1, type: 'string' },
53870
53870
  type: 'array',
53871
53871
  },
53872
53872
  reservation_keys: {
53873
53873
  description: 'List of reservation keys to delete.',
53874
- items: { type: 'string' },
53874
+ items: { minLength: 1, type: 'string' },
53875
53875
  type: 'array',
53876
53876
  },
53877
53877
  resident_keys: {
53878
53878
  description: 'List of resident keys to delete.',
53879
- items: { type: 'string' },
53879
+ items: { minLength: 1, type: 'string' },
53880
53880
  type: 'array',
53881
53881
  },
53882
53882
  room_keys: {
53883
53883
  description: 'List of room keys to delete.',
53884
- items: { type: 'string' },
53884
+ items: { minLength: 1, type: 'string' },
53885
53885
  type: 'array',
53886
53886
  },
53887
53887
  space_keys: {
53888
53888
  description: 'List of space keys to delete.',
53889
- items: { type: 'string' },
53889
+ items: { minLength: 1, type: 'string' },
53890
53890
  type: 'array',
53891
53891
  },
53892
53892
  staff_member_keys: {
53893
53893
  description: 'List of staff member keys to delete.',
53894
- items: { type: 'string' },
53894
+ items: { minLength: 1, type: 'string' },
53895
53895
  type: 'array',
53896
53896
  },
53897
53897
  tenant_keys: {
53898
53898
  description: 'List of tenant keys to delete.',
53899
- items: { type: 'string' },
53899
+ items: { minLength: 1, type: 'string' },
53900
53900
  type: 'array',
53901
53901
  },
53902
53902
  unit_keys: {
53903
53903
  description: 'List of unit keys to delete.',
53904
- items: { type: 'string' },
53904
+ items: { minLength: 1, type: 'string' },
53905
53905
  type: 'array',
53906
53906
  },
53907
53907
  user_identity_keys: {
53908
53908
  description: 'List of user identity keys to delete.',
53909
- items: { type: 'string' },
53909
+ items: { minLength: 1, type: 'string' },
53910
53910
  type: 'array',
53911
53911
  },
53912
53912
  user_keys: {
53913
53913
  description: 'List of user keys to delete.',
53914
- items: { type: 'string' },
53914
+ items: { minLength: 1, type: 'string' },
53915
53915
  type: 'array',
53916
53916
  },
53917
53917
  },