@seamapi/types 1.914.0 → 1.915.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.
@@ -45026,10 +45026,12 @@ export type Routes = {
45026
45026
  [x: string]: string | boolean;
45027
45027
  } | undefined;
45028
45028
  event_type: 'access_code.name_changed';
45029
+ /** Previous access code name configuration. */
45029
45030
  from: {
45030
45031
  /** Previous name of the access code. */
45031
45032
  name: string | null;
45032
45033
  };
45034
+ /** New access code name configuration. */
45033
45035
  to: {
45034
45036
  /** New name of the access code. */
45035
45037
  name: string | null;
@@ -45060,10 +45062,12 @@ export type Routes = {
45060
45062
  [x: string]: string | boolean;
45061
45063
  } | undefined;
45062
45064
  event_type: 'access_code.code_changed';
45065
+ /** Previous pin code configuration. */
45063
45066
  from: {
45064
45067
  /** Previous pin code. */
45065
45068
  code: string | null;
45066
45069
  };
45070
+ /** New pin code configuration. */
45067
45071
  to: {
45068
45072
  /** New pin code. */
45069
45073
  code: string | null;
@@ -45094,12 +45098,14 @@ export type Routes = {
45094
45098
  [x: string]: string | boolean;
45095
45099
  } | undefined;
45096
45100
  event_type: 'access_code.time_frame_changed';
45101
+ /** Previous time frame configuration. */
45097
45102
  from: {
45098
45103
  /** Previous start time. */
45099
45104
  starts_at: string | null;
45100
45105
  /** Previous end time. */
45101
45106
  ends_at: string | null;
45102
45107
  };
45108
+ /** New time frame configuration. */
45103
45109
  to: {
45104
45110
  /** New start time. */
45105
45111
  starts_at: string | null;
@@ -47991,10 +47997,12 @@ export type Routes = {
47991
47997
  [x: string]: string | boolean;
47992
47998
  } | undefined;
47993
47999
  event_type: 'access_code.name_changed';
48000
+ /** Previous access code name configuration. */
47994
48001
  from: {
47995
48002
  /** Previous name of the access code. */
47996
48003
  name: string | null;
47997
48004
  };
48005
+ /** New access code name configuration. */
47998
48006
  to: {
47999
48007
  /** New name of the access code. */
48000
48008
  name: string | null;
@@ -48025,10 +48033,12 @@ export type Routes = {
48025
48033
  [x: string]: string | boolean;
48026
48034
  } | undefined;
48027
48035
  event_type: 'access_code.code_changed';
48036
+ /** Previous pin code configuration. */
48028
48037
  from: {
48029
48038
  /** Previous pin code. */
48030
48039
  code: string | null;
48031
48040
  };
48041
+ /** New pin code configuration. */
48032
48042
  to: {
48033
48043
  /** New pin code. */
48034
48044
  code: string | null;
@@ -48059,12 +48069,14 @@ export type Routes = {
48059
48069
  [x: string]: string | boolean;
48060
48070
  } | undefined;
48061
48071
  event_type: 'access_code.time_frame_changed';
48072
+ /** Previous time frame configuration. */
48062
48073
  from: {
48063
48074
  /** Previous start time. */
48064
48075
  starts_at: string | null;
48065
48076
  /** Previous end time. */
48066
48077
  ends_at: string | null;
48067
48078
  };
48079
+ /** New time frame configuration. */
48068
48080
  to: {
48069
48081
  /** New start time. */
48070
48082
  starts_at: string | null;
@@ -76588,10 +76600,12 @@ export type Routes = {
76588
76600
  [x: string]: string | boolean;
76589
76601
  } | undefined;
76590
76602
  event_type: 'access_code.name_changed';
76603
+ /** Previous access code name configuration. */
76591
76604
  from: {
76592
76605
  /** Previous name of the access code. */
76593
76606
  name: string | null;
76594
76607
  };
76608
+ /** New access code name configuration. */
76595
76609
  to: {
76596
76610
  /** New name of the access code. */
76597
76611
  name: string | null;
@@ -76622,10 +76636,12 @@ export type Routes = {
76622
76636
  [x: string]: string | boolean;
76623
76637
  } | undefined;
76624
76638
  event_type: 'access_code.code_changed';
76639
+ /** Previous pin code configuration. */
76625
76640
  from: {
76626
76641
  /** Previous pin code. */
76627
76642
  code: string | null;
76628
76643
  };
76644
+ /** New pin code configuration. */
76629
76645
  to: {
76630
76646
  /** New pin code. */
76631
76647
  code: string | null;
@@ -76656,12 +76672,14 @@ export type Routes = {
76656
76672
  [x: string]: string | boolean;
76657
76673
  } | undefined;
76658
76674
  event_type: 'access_code.time_frame_changed';
76675
+ /** Previous time frame configuration. */
76659
76676
  from: {
76660
76677
  /** Previous start time. */
76661
76678
  starts_at: string | null;
76662
76679
  /** Previous end time. */
76663
76680
  ends_at: string | null;
76664
76681
  };
76682
+ /** New time frame configuration. */
76665
76683
  to: {
76666
76684
  /** New start time. */
76667
76685
  starts_at: string | null;
@@ -113417,10 +113435,12 @@ export type Routes = {
113417
113435
  [x: string]: string | boolean;
113418
113436
  } | undefined;
113419
113437
  event_type: 'access_code.name_changed';
113438
+ /** Previous access code name configuration. */
113420
113439
  from: {
113421
113440
  /** Previous name of the access code. */
113422
113441
  name: string | null;
113423
113442
  };
113443
+ /** New access code name configuration. */
113424
113444
  to: {
113425
113445
  /** New name of the access code. */
113426
113446
  name: string | null;
@@ -113451,10 +113471,12 @@ export type Routes = {
113451
113471
  [x: string]: string | boolean;
113452
113472
  } | undefined;
113453
113473
  event_type: 'access_code.code_changed';
113474
+ /** Previous pin code configuration. */
113454
113475
  from: {
113455
113476
  /** Previous pin code. */
113456
113477
  code: string | null;
113457
113478
  };
113479
+ /** New pin code configuration. */
113458
113480
  to: {
113459
113481
  /** New pin code. */
113460
113482
  code: string | null;
@@ -113485,12 +113507,14 @@ export type Routes = {
113485
113507
  [x: string]: string | boolean;
113486
113508
  } | undefined;
113487
113509
  event_type: 'access_code.time_frame_changed';
113510
+ /** Previous time frame configuration. */
113488
113511
  from: {
113489
113512
  /** Previous start time. */
113490
113513
  starts_at: string | null;
113491
113514
  /** Previous end time. */
113492
113515
  ends_at: string | null;
113493
113516
  };
113517
+ /** New time frame configuration. */
113494
113518
  to: {
113495
113519
  /** New start time. */
113496
113520
  starts_at: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.914.0",
3
+ "version": "1.915.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -102,12 +102,16 @@ export type AccessCodeChangedEvent = z.infer<typeof access_code_changed_event>
102
102
 
103
103
  export const access_code_name_changed_event = access_code_event.extend({
104
104
  event_type: z.literal('access_code.name_changed'),
105
- from: z.object({
106
- name: z.string().nullable().describe('Previous name of the access code.'),
107
- }),
108
- to: z.object({
109
- name: z.string().nullable().describe('New name of the access code.'),
110
- }),
105
+ from: z
106
+ .object({
107
+ name: z.string().nullable().describe('Previous name of the access code.'),
108
+ })
109
+ .describe('Previous access code name configuration.'),
110
+ to: z
111
+ .object({
112
+ name: z.string().nullable().describe('New name of the access code.'),
113
+ })
114
+ .describe('New access code name configuration.'),
111
115
  description: z
112
116
  .string()
113
117
  .describe('Human-readable description of the change and its source.'),
@@ -124,12 +128,16 @@ export type AccessCodeNameChangedEvent = z.infer<
124
128
 
125
129
  export const access_code_code_changed_event = access_code_event.extend({
126
130
  event_type: z.literal('access_code.code_changed'),
127
- from: z.object({
128
- code: z.string().nullable().describe('Previous pin code.'),
129
- }),
130
- to: z.object({
131
- code: z.string().nullable().describe('New pin code.'),
132
- }),
131
+ from: z
132
+ .object({
133
+ code: z.string().nullable().describe('Previous pin code.'),
134
+ })
135
+ .describe('Previous pin code configuration.'),
136
+ to: z
137
+ .object({
138
+ code: z.string().nullable().describe('New pin code.'),
139
+ })
140
+ .describe('New pin code configuration.'),
133
141
  description: z
134
142
  .string()
135
143
  .describe('Human-readable description of the change and its source.'),
@@ -146,14 +154,18 @@ export type AccessCodeCodeChangedEvent = z.infer<
146
154
 
147
155
  export const access_code_time_frame_changed_event = access_code_event.extend({
148
156
  event_type: z.literal('access_code.time_frame_changed'),
149
- from: z.object({
150
- starts_at: z.string().nullable().describe('Previous start time.'),
151
- ends_at: z.string().nullable().describe('Previous end time.'),
152
- }),
153
- to: z.object({
154
- starts_at: z.string().nullable().describe('New start time.'),
155
- ends_at: z.string().nullable().describe('New end time.'),
156
- }),
157
+ from: z
158
+ .object({
159
+ starts_at: z.string().nullable().describe('Previous start time.'),
160
+ ends_at: z.string().nullable().describe('Previous end time.'),
161
+ })
162
+ .describe('Previous time frame configuration.'),
163
+ to: z
164
+ .object({
165
+ starts_at: z.string().nullable().describe('New start time.'),
166
+ ends_at: z.string().nullable().describe('New end time.'),
167
+ })
168
+ .describe('New time frame configuration.'),
157
169
  description: z
158
170
  .string()
159
171
  .describe('Human-readable description of the change and its source.'),
@@ -17411,6 +17411,7 @@ const openapi: OpenAPISpec = {
17411
17411
  type: 'string',
17412
17412
  },
17413
17413
  from: {
17414
+ description: 'Previous access code name configuration.',
17414
17415
  properties: {
17415
17416
  name: {
17416
17417
  description: 'Previous name of the access code.',
@@ -17427,6 +17428,7 @@ const openapi: OpenAPISpec = {
17427
17428
  type: 'string',
17428
17429
  },
17429
17430
  to: {
17431
+ description: 'New access code name configuration.',
17430
17432
  properties: {
17431
17433
  name: {
17432
17434
  description: 'New name of the access code.',
@@ -17517,6 +17519,7 @@ const openapi: OpenAPISpec = {
17517
17519
  type: 'string',
17518
17520
  },
17519
17521
  from: {
17522
+ description: 'Previous pin code configuration.',
17520
17523
  properties: {
17521
17524
  code: {
17522
17525
  description: 'Previous pin code.',
@@ -17533,6 +17536,7 @@ const openapi: OpenAPISpec = {
17533
17536
  type: 'string',
17534
17537
  },
17535
17538
  to: {
17539
+ description: 'New pin code configuration.',
17536
17540
  properties: {
17537
17541
  code: {
17538
17542
  description: 'New pin code.',
@@ -17623,6 +17627,7 @@ const openapi: OpenAPISpec = {
17623
17627
  type: 'string',
17624
17628
  },
17625
17629
  from: {
17630
+ description: 'Previous time frame configuration.',
17626
17631
  properties: {
17627
17632
  ends_at: {
17628
17633
  description: 'Previous end time.',
@@ -17644,6 +17649,7 @@ const openapi: OpenAPISpec = {
17644
17649
  type: 'string',
17645
17650
  },
17646
17651
  to: {
17652
+ description: 'New time frame configuration.',
17647
17653
  properties: {
17648
17654
  ends_at: {
17649
17655
  description: 'New end time.',
@@ -54196,10 +54196,12 @@ export type Routes = {
54196
54196
  }
54197
54197
  | undefined
54198
54198
  event_type: 'access_code.name_changed'
54199
+ /** Previous access code name configuration. */
54199
54200
  from: {
54200
54201
  /** Previous name of the access code. */
54201
54202
  name: string | null
54202
54203
  }
54204
+ /** New access code name configuration. */
54203
54205
  to: {
54204
54206
  /** New name of the access code. */
54205
54207
  name: string | null
@@ -54235,10 +54237,12 @@ export type Routes = {
54235
54237
  }
54236
54238
  | undefined
54237
54239
  event_type: 'access_code.code_changed'
54240
+ /** Previous pin code configuration. */
54238
54241
  from: {
54239
54242
  /** Previous pin code. */
54240
54243
  code: string | null
54241
54244
  }
54245
+ /** New pin code configuration. */
54242
54246
  to: {
54243
54247
  /** New pin code. */
54244
54248
  code: string | null
@@ -54274,12 +54278,14 @@ export type Routes = {
54274
54278
  }
54275
54279
  | undefined
54276
54280
  event_type: 'access_code.time_frame_changed'
54281
+ /** Previous time frame configuration. */
54277
54282
  from: {
54278
54283
  /** Previous start time. */
54279
54284
  starts_at: string | null
54280
54285
  /** Previous end time. */
54281
54286
  ends_at: string | null
54282
54287
  }
54288
+ /** New time frame configuration. */
54283
54289
  to: {
54284
54290
  /** New start time. */
54285
54291
  starts_at: string | null
@@ -57758,10 +57764,12 @@ export type Routes = {
57758
57764
  }
57759
57765
  | undefined
57760
57766
  event_type: 'access_code.name_changed'
57767
+ /** Previous access code name configuration. */
57761
57768
  from: {
57762
57769
  /** Previous name of the access code. */
57763
57770
  name: string | null
57764
57771
  }
57772
+ /** New access code name configuration. */
57765
57773
  to: {
57766
57774
  /** New name of the access code. */
57767
57775
  name: string | null
@@ -57797,10 +57805,12 @@ export type Routes = {
57797
57805
  }
57798
57806
  | undefined
57799
57807
  event_type: 'access_code.code_changed'
57808
+ /** Previous pin code configuration. */
57800
57809
  from: {
57801
57810
  /** Previous pin code. */
57802
57811
  code: string | null
57803
57812
  }
57813
+ /** New pin code configuration. */
57804
57814
  to: {
57805
57815
  /** New pin code. */
57806
57816
  code: string | null
@@ -57836,12 +57846,14 @@ export type Routes = {
57836
57846
  }
57837
57847
  | undefined
57838
57848
  event_type: 'access_code.time_frame_changed'
57849
+ /** Previous time frame configuration. */
57839
57850
  from: {
57840
57851
  /** Previous start time. */
57841
57852
  starts_at: string | null
57842
57853
  /** Previous end time. */
57843
57854
  ends_at: string | null
57844
57855
  }
57856
+ /** New time frame configuration. */
57845
57857
  to: {
57846
57858
  /** New start time. */
57847
57859
  starts_at: string | null
@@ -91776,10 +91788,12 @@ export type Routes = {
91776
91788
  }
91777
91789
  | undefined
91778
91790
  event_type: 'access_code.name_changed'
91791
+ /** Previous access code name configuration. */
91779
91792
  from: {
91780
91793
  /** Previous name of the access code. */
91781
91794
  name: string | null
91782
91795
  }
91796
+ /** New access code name configuration. */
91783
91797
  to: {
91784
91798
  /** New name of the access code. */
91785
91799
  name: string | null
@@ -91815,10 +91829,12 @@ export type Routes = {
91815
91829
  }
91816
91830
  | undefined
91817
91831
  event_type: 'access_code.code_changed'
91832
+ /** Previous pin code configuration. */
91818
91833
  from: {
91819
91834
  /** Previous pin code. */
91820
91835
  code: string | null
91821
91836
  }
91837
+ /** New pin code configuration. */
91822
91838
  to: {
91823
91839
  /** New pin code. */
91824
91840
  code: string | null
@@ -91854,12 +91870,14 @@ export type Routes = {
91854
91870
  }
91855
91871
  | undefined
91856
91872
  event_type: 'access_code.time_frame_changed'
91873
+ /** Previous time frame configuration. */
91857
91874
  from: {
91858
91875
  /** Previous start time. */
91859
91876
  starts_at: string | null
91860
91877
  /** Previous end time. */
91861
91878
  ends_at: string | null
91862
91879
  }
91880
+ /** New time frame configuration. */
91863
91881
  to: {
91864
91882
  /** New start time. */
91865
91883
  starts_at: string | null
@@ -135225,10 +135243,12 @@ export type Routes = {
135225
135243
  }
135226
135244
  | undefined
135227
135245
  event_type: 'access_code.name_changed'
135246
+ /** Previous access code name configuration. */
135228
135247
  from: {
135229
135248
  /** Previous name of the access code. */
135230
135249
  name: string | null
135231
135250
  }
135251
+ /** New access code name configuration. */
135232
135252
  to: {
135233
135253
  /** New name of the access code. */
135234
135254
  name: string | null
@@ -135264,10 +135284,12 @@ export type Routes = {
135264
135284
  }
135265
135285
  | undefined
135266
135286
  event_type: 'access_code.code_changed'
135287
+ /** Previous pin code configuration. */
135267
135288
  from: {
135268
135289
  /** Previous pin code. */
135269
135290
  code: string | null
135270
135291
  }
135292
+ /** New pin code configuration. */
135271
135293
  to: {
135272
135294
  /** New pin code. */
135273
135295
  code: string | null
@@ -135303,12 +135325,14 @@ export type Routes = {
135303
135325
  }
135304
135326
  | undefined
135305
135327
  event_type: 'access_code.time_frame_changed'
135328
+ /** Previous time frame configuration. */
135306
135329
  from: {
135307
135330
  /** Previous start time. */
135308
135331
  starts_at: string | null
135309
135332
  /** Previous end time. */
135310
135333
  ends_at: string | null
135311
135334
  }
135335
+ /** New time frame configuration. */
135312
135336
  to: {
135313
135337
  /** New start time. */
135314
135338
  starts_at: string | null