@seamapi/types 1.743.0 → 1.745.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.
@@ -58231,6 +58231,7 @@ export type Routes = {
58231
58231
  access_grant_id: string;
58232
58232
  }[];
58233
58233
  error?: string | undefined;
58234
+ message?: string | undefined;
58234
58235
  } | undefined;
58235
58236
  created_at: string;
58236
58237
  }[];
@@ -61850,6 +61851,20 @@ export type Routes = {
61850
61851
  code?: (string | null) | undefined;
61851
61852
  instant_key_url?: string | undefined;
61852
61853
  }[];
61854
+ last_automation_result: {
61855
+ success: boolean;
61856
+ rule: string;
61857
+ actions: {
61858
+ action_type: 'create' | 'update' | 'delete' | 'skip';
61859
+ resource_type: string;
61860
+ access_grant_id?: string | undefined;
61861
+ skip_reason?: string | undefined;
61862
+ message?: string | undefined;
61863
+ }[];
61864
+ error?: string | undefined;
61865
+ message?: string | undefined;
61866
+ created_at: string;
61867
+ } | null;
61853
61868
  };
61854
61869
  };
61855
61870
  maxDuration: undefined;
@@ -61916,6 +61931,20 @@ export type Routes = {
61916
61931
  space_key: string;
61917
61932
  name: string | null;
61918
61933
  }[];
61934
+ last_automation_result: {
61935
+ success: boolean;
61936
+ rule: string;
61937
+ actions: {
61938
+ action_type: 'create' | 'update' | 'delete' | 'skip';
61939
+ resource_type: string;
61940
+ access_grant_id?: string | undefined;
61941
+ skip_reason?: string | undefined;
61942
+ message?: string | undefined;
61943
+ }[];
61944
+ error?: string | undefined;
61945
+ message?: string | undefined;
61946
+ created_at: string;
61947
+ } | null;
61919
61948
  }[];
61920
61949
  /** Information about the current page of results. */
61921
61950
  pagination: {
@@ -62141,6 +62170,20 @@ export type Routes = {
62141
62170
  mode: string;
62142
62171
  is_issued: boolean;
62143
62172
  }[];
62173
+ last_automation_result: {
62174
+ success: boolean;
62175
+ rule: string;
62176
+ actions: {
62177
+ action_type: 'create' | 'update' | 'delete' | 'skip';
62178
+ resource_type: string;
62179
+ access_grant_id?: string | undefined;
62180
+ skip_reason?: string | undefined;
62181
+ message?: string | undefined;
62182
+ }[];
62183
+ error?: string | undefined;
62184
+ message?: string | undefined;
62185
+ created_at: string;
62186
+ } | null;
62144
62187
  }[];
62145
62188
  };
62146
62189
  maxDuration: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.743.0",
3
+ "version": "1.745.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -60728,6 +60728,7 @@ export default {
60728
60728
  type: 'array',
60729
60729
  },
60730
60730
  error: { type: 'string' },
60731
+ message: { type: 'string' },
60731
60732
  rule: {
60732
60733
  enum: [
60733
60734
  'reservation_created',
@@ -60898,6 +60899,7 @@ export default {
60898
60899
  type: 'array',
60899
60900
  },
60900
60901
  error: { type: 'string' },
60902
+ message: { type: 'string' },
60901
60903
  rule: {
60902
60904
  enum: [
60903
60905
  'reservation_created',
@@ -66279,6 +66281,48 @@ export default {
66279
66281
  },
66280
66282
  guest_name: { nullable: true, type: 'string' },
66281
66283
  is_resource_syncing: { type: 'boolean' },
66284
+ last_automation_result: {
66285
+ nullable: true,
66286
+ properties: {
66287
+ actions: {
66288
+ items: {
66289
+ properties: {
66290
+ access_grant_id: {
66291
+ format: 'uuid',
66292
+ type: 'string',
66293
+ },
66294
+ action_type: {
66295
+ enum: [
66296
+ 'create',
66297
+ 'update',
66298
+ 'delete',
66299
+ 'skip',
66300
+ ],
66301
+ type: 'string',
66302
+ },
66303
+ message: { type: 'string' },
66304
+ resource_type: { type: 'string' },
66305
+ skip_reason: { type: 'string' },
66306
+ },
66307
+ required: ['action_type', 'resource_type'],
66308
+ type: 'object',
66309
+ },
66310
+ type: 'array',
66311
+ },
66312
+ created_at: { format: 'date-time', type: 'string' },
66313
+ error: { type: 'string' },
66314
+ message: { type: 'string' },
66315
+ rule: { type: 'string' },
66316
+ success: { type: 'boolean' },
66317
+ },
66318
+ required: [
66319
+ 'success',
66320
+ 'rule',
66321
+ 'actions',
66322
+ 'created_at',
66323
+ ],
66324
+ type: 'object',
66325
+ },
66282
66326
  name: { nullable: true, type: 'string' },
66283
66327
  reservation_id: { format: 'uuid', type: 'string' },
66284
66328
  reservation_key: { type: 'string' },
@@ -66317,6 +66361,7 @@ export default {
66317
66361
  'spaces',
66318
66362
  'access_grant_id',
66319
66363
  'access_methods',
66364
+ 'last_automation_result',
66320
66365
  ],
66321
66366
  type: 'object',
66322
66367
  },
@@ -66449,6 +66494,48 @@ export default {
66449
66494
  },
66450
66495
  guest_name: { nullable: true, type: 'string' },
66451
66496
  is_resource_syncing: { type: 'boolean' },
66497
+ last_automation_result: {
66498
+ nullable: true,
66499
+ properties: {
66500
+ actions: {
66501
+ items: {
66502
+ properties: {
66503
+ access_grant_id: {
66504
+ format: 'uuid',
66505
+ type: 'string',
66506
+ },
66507
+ action_type: {
66508
+ enum: [
66509
+ 'create',
66510
+ 'update',
66511
+ 'delete',
66512
+ 'skip',
66513
+ ],
66514
+ type: 'string',
66515
+ },
66516
+ message: { type: 'string' },
66517
+ resource_type: { type: 'string' },
66518
+ skip_reason: { type: 'string' },
66519
+ },
66520
+ required: ['action_type', 'resource_type'],
66521
+ type: 'object',
66522
+ },
66523
+ type: 'array',
66524
+ },
66525
+ created_at: { format: 'date-time', type: 'string' },
66526
+ error: { type: 'string' },
66527
+ message: { type: 'string' },
66528
+ rule: { type: 'string' },
66529
+ success: { type: 'boolean' },
66530
+ },
66531
+ required: [
66532
+ 'success',
66533
+ 'rule',
66534
+ 'actions',
66535
+ 'created_at',
66536
+ ],
66537
+ type: 'object',
66538
+ },
66452
66539
  name: { nullable: true, type: 'string' },
66453
66540
  reservation_id: { format: 'uuid', type: 'string' },
66454
66541
  reservation_key: { type: 'string' },
@@ -66487,6 +66574,7 @@ export default {
66487
66574
  'spaces',
66488
66575
  'access_grant_id',
66489
66576
  'access_methods',
66577
+ 'last_automation_result',
66490
66578
  ],
66491
66579
  type: 'object',
66492
66580
  },
@@ -66667,6 +66755,51 @@ export default {
66667
66755
  },
66668
66756
  guest_name: { nullable: true, type: 'string' },
66669
66757
  is_resource_syncing: { type: 'boolean' },
66758
+ last_automation_result: {
66759
+ nullable: true,
66760
+ properties: {
66761
+ actions: {
66762
+ items: {
66763
+ properties: {
66764
+ access_grant_id: {
66765
+ format: 'uuid',
66766
+ type: 'string',
66767
+ },
66768
+ action_type: {
66769
+ enum: [
66770
+ 'create',
66771
+ 'update',
66772
+ 'delete',
66773
+ 'skip',
66774
+ ],
66775
+ type: 'string',
66776
+ },
66777
+ message: { type: 'string' },
66778
+ resource_type: { type: 'string' },
66779
+ skip_reason: { type: 'string' },
66780
+ },
66781
+ required: ['action_type', 'resource_type'],
66782
+ type: 'object',
66783
+ },
66784
+ type: 'array',
66785
+ },
66786
+ created_at: {
66787
+ format: 'date-time',
66788
+ type: 'string',
66789
+ },
66790
+ error: { type: 'string' },
66791
+ message: { type: 'string' },
66792
+ rule: { type: 'string' },
66793
+ success: { type: 'boolean' },
66794
+ },
66795
+ required: [
66796
+ 'success',
66797
+ 'rule',
66798
+ 'actions',
66799
+ 'created_at',
66800
+ ],
66801
+ type: 'object',
66802
+ },
66670
66803
  name: { nullable: true, type: 'string' },
66671
66804
  pending_mutations: {
66672
66805
  items: {
@@ -66739,6 +66872,7 @@ export default {
66739
66872
  'pending_mutations',
66740
66873
  'access_methods',
66741
66874
  'spaces',
66875
+ 'last_automation_result',
66742
66876
  ],
66743
66877
  type: 'object',
66744
66878
  },
@@ -66901,6 +67035,51 @@ export default {
66901
67035
  },
66902
67036
  guest_name: { nullable: true, type: 'string' },
66903
67037
  is_resource_syncing: { type: 'boolean' },
67038
+ last_automation_result: {
67039
+ nullable: true,
67040
+ properties: {
67041
+ actions: {
67042
+ items: {
67043
+ properties: {
67044
+ access_grant_id: {
67045
+ format: 'uuid',
67046
+ type: 'string',
67047
+ },
67048
+ action_type: {
67049
+ enum: [
67050
+ 'create',
67051
+ 'update',
67052
+ 'delete',
67053
+ 'skip',
67054
+ ],
67055
+ type: 'string',
67056
+ },
67057
+ message: { type: 'string' },
67058
+ resource_type: { type: 'string' },
67059
+ skip_reason: { type: 'string' },
67060
+ },
67061
+ required: ['action_type', 'resource_type'],
67062
+ type: 'object',
67063
+ },
67064
+ type: 'array',
67065
+ },
67066
+ created_at: {
67067
+ format: 'date-time',
67068
+ type: 'string',
67069
+ },
67070
+ error: { type: 'string' },
67071
+ message: { type: 'string' },
67072
+ rule: { type: 'string' },
67073
+ success: { type: 'boolean' },
67074
+ },
67075
+ required: [
67076
+ 'success',
67077
+ 'rule',
67078
+ 'actions',
67079
+ 'created_at',
67080
+ ],
67081
+ type: 'object',
67082
+ },
66904
67083
  name: { nullable: true, type: 'string' },
66905
67084
  pending_mutations: {
66906
67085
  items: {
@@ -66973,6 +67152,7 @@ export default {
66973
67152
  'pending_mutations',
66974
67153
  'access_methods',
66975
67154
  'spaces',
67155
+ 'last_automation_result',
66976
67156
  ],
66977
67157
  type: 'object',
66978
67158
  },
@@ -67964,6 +68144,51 @@ export default {
67964
68144
  },
67965
68145
  guest_name: { nullable: true, type: 'string' },
67966
68146
  has_issued_access: { type: 'boolean' },
68147
+ last_automation_result: {
68148
+ nullable: true,
68149
+ properties: {
68150
+ actions: {
68151
+ items: {
68152
+ properties: {
68153
+ access_grant_id: {
68154
+ format: 'uuid',
68155
+ type: 'string',
68156
+ },
68157
+ action_type: {
68158
+ enum: [
68159
+ 'create',
68160
+ 'update',
68161
+ 'delete',
68162
+ 'skip',
68163
+ ],
68164
+ type: 'string',
68165
+ },
68166
+ message: { type: 'string' },
68167
+ resource_type: { type: 'string' },
68168
+ skip_reason: { type: 'string' },
68169
+ },
68170
+ required: ['action_type', 'resource_type'],
68171
+ type: 'object',
68172
+ },
68173
+ type: 'array',
68174
+ },
68175
+ created_at: {
68176
+ format: 'date-time',
68177
+ type: 'string',
68178
+ },
68179
+ error: { type: 'string' },
68180
+ message: { type: 'string' },
68181
+ rule: { type: 'string' },
68182
+ success: { type: 'boolean' },
68183
+ },
68184
+ required: [
68185
+ 'success',
68186
+ 'rule',
68187
+ 'actions',
68188
+ 'created_at',
68189
+ ],
68190
+ type: 'object',
68191
+ },
67967
68192
  name: { nullable: true, type: 'string' },
67968
68193
  reservation_id: { format: 'uuid', type: 'string' },
67969
68194
  reservation_key: { type: 'string' },
@@ -67983,6 +68208,7 @@ export default {
67983
68208
  'guest_name',
67984
68209
  'has_issued_access',
67985
68210
  'access_methods',
68211
+ 'last_automation_result',
67986
68212
  ],
67987
68213
  type: 'object',
67988
68214
  },
@@ -68059,6 +68285,51 @@ export default {
68059
68285
  },
68060
68286
  guest_name: { nullable: true, type: 'string' },
68061
68287
  has_issued_access: { type: 'boolean' },
68288
+ last_automation_result: {
68289
+ nullable: true,
68290
+ properties: {
68291
+ actions: {
68292
+ items: {
68293
+ properties: {
68294
+ access_grant_id: {
68295
+ format: 'uuid',
68296
+ type: 'string',
68297
+ },
68298
+ action_type: {
68299
+ enum: [
68300
+ 'create',
68301
+ 'update',
68302
+ 'delete',
68303
+ 'skip',
68304
+ ],
68305
+ type: 'string',
68306
+ },
68307
+ message: { type: 'string' },
68308
+ resource_type: { type: 'string' },
68309
+ skip_reason: { type: 'string' },
68310
+ },
68311
+ required: ['action_type', 'resource_type'],
68312
+ type: 'object',
68313
+ },
68314
+ type: 'array',
68315
+ },
68316
+ created_at: {
68317
+ format: 'date-time',
68318
+ type: 'string',
68319
+ },
68320
+ error: { type: 'string' },
68321
+ message: { type: 'string' },
68322
+ rule: { type: 'string' },
68323
+ success: { type: 'boolean' },
68324
+ },
68325
+ required: [
68326
+ 'success',
68327
+ 'rule',
68328
+ 'actions',
68329
+ 'created_at',
68330
+ ],
68331
+ type: 'object',
68332
+ },
68062
68333
  name: { nullable: true, type: 'string' },
68063
68334
  reservation_id: { format: 'uuid', type: 'string' },
68064
68335
  reservation_key: { type: 'string' },
@@ -68078,6 +68349,7 @@ export default {
68078
68349
  'guest_name',
68079
68350
  'has_issued_access',
68080
68351
  'access_methods',
68352
+ 'last_automation_result',
68081
68353
  ],
68082
68354
  type: 'object',
68083
68355
  },
@@ -69135,6 +69135,7 @@ export type Routes = {
69135
69135
  access_grant_id: string
69136
69136
  }[]
69137
69137
  error?: string | undefined
69138
+ message?: string | undefined
69138
69139
  }
69139
69140
  | undefined
69140
69141
  created_at: string
@@ -73484,6 +73485,20 @@ export type Routes = {
73484
73485
  code?: (string | null) | undefined
73485
73486
  instant_key_url?: string | undefined
73486
73487
  }[]
73488
+ last_automation_result: {
73489
+ success: boolean
73490
+ rule: string
73491
+ actions: {
73492
+ action_type: 'create' | 'update' | 'delete' | 'skip'
73493
+ resource_type: string
73494
+ access_grant_id?: string | undefined
73495
+ skip_reason?: string | undefined
73496
+ message?: string | undefined
73497
+ }[]
73498
+ error?: string | undefined
73499
+ message?: string | undefined
73500
+ created_at: string
73501
+ } | null
73487
73502
  }
73488
73503
  }
73489
73504
  maxDuration: undefined
@@ -73550,6 +73565,20 @@ export type Routes = {
73550
73565
  space_key: string
73551
73566
  name: string | null
73552
73567
  }[]
73568
+ last_automation_result: {
73569
+ success: boolean
73570
+ rule: string
73571
+ actions: {
73572
+ action_type: 'create' | 'update' | 'delete' | 'skip'
73573
+ resource_type: string
73574
+ access_grant_id?: string | undefined
73575
+ skip_reason?: string | undefined
73576
+ message?: string | undefined
73577
+ }[]
73578
+ error?: string | undefined
73579
+ message?: string | undefined
73580
+ created_at: string
73581
+ } | null
73553
73582
  }[]
73554
73583
  /** Information about the current page of results. */
73555
73584
  pagination: {
@@ -73800,6 +73829,20 @@ export type Routes = {
73800
73829
  mode: string
73801
73830
  is_issued: boolean
73802
73831
  }[]
73832
+ last_automation_result: {
73833
+ success: boolean
73834
+ rule: string
73835
+ actions: {
73836
+ action_type: 'create' | 'update' | 'delete' | 'skip'
73837
+ resource_type: string
73838
+ access_grant_id?: string | undefined
73839
+ skip_reason?: string | undefined
73840
+ message?: string | undefined
73841
+ }[]
73842
+ error?: string | undefined
73843
+ message?: string | undefined
73844
+ created_at: string
73845
+ } | null
73803
73846
  }[]
73804
73847
  }
73805
73848
  maxDuration: undefined