@seamapi/types 1.696.0 → 1.698.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.
@@ -17962,6 +17962,128 @@ export default {
17962
17962
  type: 'object',
17963
17963
  'x-route-path': '/spaces',
17964
17964
  },
17965
+ {
17966
+ description: 'A space was created.',
17967
+ properties: {
17968
+ acs_entrance_ids: {
17969
+ description: 'IDs of all ACS entrances attached to the space when it was created.',
17970
+ items: { format: 'uuid', type: 'string' },
17971
+ type: 'array',
17972
+ },
17973
+ created_at: {
17974
+ description: 'Date and time at which the event was created.',
17975
+ format: 'date-time',
17976
+ type: 'string',
17977
+ },
17978
+ device_ids: {
17979
+ description: 'IDs of all devices attached to the space when it was created.',
17980
+ items: { format: 'uuid', type: 'string' },
17981
+ type: 'array',
17982
+ },
17983
+ event_id: {
17984
+ description: 'ID of the event.',
17985
+ format: 'uuid',
17986
+ type: 'string',
17987
+ },
17988
+ event_type: {
17989
+ description: 'Type of the event.',
17990
+ enum: ['space.created'],
17991
+ type: 'string',
17992
+ },
17993
+ occurred_at: {
17994
+ description: 'Date and time at which the event occurred.',
17995
+ format: 'date-time',
17996
+ type: 'string',
17997
+ },
17998
+ space_id: {
17999
+ description: 'ID of the affected space.',
18000
+ format: 'uuid',
18001
+ type: 'string',
18002
+ },
18003
+ space_key: {
18004
+ description: 'Unique key for the space within the workspace.',
18005
+ type: 'string',
18006
+ },
18007
+ workspace_id: {
18008
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
18009
+ format: 'uuid',
18010
+ type: 'string',
18011
+ },
18012
+ },
18013
+ required: [
18014
+ 'event_id',
18015
+ 'workspace_id',
18016
+ 'created_at',
18017
+ 'occurred_at',
18018
+ 'space_id',
18019
+ 'event_type',
18020
+ 'device_ids',
18021
+ 'acs_entrance_ids',
18022
+ ],
18023
+ type: 'object',
18024
+ 'x-route-path': '/spaces',
18025
+ },
18026
+ {
18027
+ description: 'A space was deleted.',
18028
+ properties: {
18029
+ acs_entrance_ids: {
18030
+ description: 'IDs of all ACS entrances currently attached to the space when it was deleted.',
18031
+ items: { format: 'uuid', type: 'string' },
18032
+ type: 'array',
18033
+ },
18034
+ created_at: {
18035
+ description: 'Date and time at which the event was created.',
18036
+ format: 'date-time',
18037
+ type: 'string',
18038
+ },
18039
+ device_ids: {
18040
+ description: 'IDs of all devices attached to the space when it was deleted.',
18041
+ items: { format: 'uuid', type: 'string' },
18042
+ type: 'array',
18043
+ },
18044
+ event_id: {
18045
+ description: 'ID of the event.',
18046
+ format: 'uuid',
18047
+ type: 'string',
18048
+ },
18049
+ event_type: {
18050
+ description: 'Type of the event.',
18051
+ enum: ['space.deleted'],
18052
+ type: 'string',
18053
+ },
18054
+ occurred_at: {
18055
+ description: 'Date and time at which the event occurred.',
18056
+ format: 'date-time',
18057
+ type: 'string',
18058
+ },
18059
+ space_id: {
18060
+ description: 'ID of the affected space.',
18061
+ format: 'uuid',
18062
+ type: 'string',
18063
+ },
18064
+ space_key: {
18065
+ description: 'Unique key for the space within the workspace.',
18066
+ type: 'string',
18067
+ },
18068
+ workspace_id: {
18069
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
18070
+ format: 'uuid',
18071
+ type: 'string',
18072
+ },
18073
+ },
18074
+ required: [
18075
+ 'event_id',
18076
+ 'workspace_id',
18077
+ 'created_at',
18078
+ 'occurred_at',
18079
+ 'space_id',
18080
+ 'event_type',
18081
+ 'device_ids',
18082
+ 'acs_entrance_ids',
18083
+ ],
18084
+ type: 'object',
18085
+ 'x-route-path': '/spaces',
18086
+ },
17965
18087
  ],
17966
18088
  'x-route-path': '/events',
17967
18089
  },
@@ -43742,6 +43864,8 @@ export default {
43742
43864
  'enrollment_automation.deleted',
43743
43865
  'phone.deactivated',
43744
43866
  'space.device_membership_changed',
43867
+ 'space.created',
43868
+ 'space.deleted',
43745
43869
  ],
43746
43870
  type: 'string',
43747
43871
  },
@@ -43846,6 +43970,8 @@ export default {
43846
43970
  'enrollment_automation.deleted',
43847
43971
  'phone.deactivated',
43848
43972
  'space.device_membership_changed',
43973
+ 'space.created',
43974
+ 'space.deleted',
43849
43975
  ],
43850
43976
  type: 'string',
43851
43977
  },
@@ -44129,6 +44255,8 @@ export default {
44129
44255
  'enrollment_automation.deleted',
44130
44256
  'phone.deactivated',
44131
44257
  'space.device_membership_changed',
44258
+ 'space.created',
44259
+ 'space.deleted',
44132
44260
  ],
44133
44261
  type: 'string',
44134
44262
  },
@@ -44229,6 +44357,8 @@ export default {
44229
44357
  'enrollment_automation.deleted',
44230
44358
  'phone.deactivated',
44231
44359
  'space.device_membership_changed',
44360
+ 'space.created',
44361
+ 'space.deleted',
44232
44362
  ],
44233
44363
  type: 'string',
44234
44364
  },
@@ -50601,6 +50731,37 @@ export default {
50601
50731
  required: ['api_key'],
50602
50732
  type: 'object',
50603
50733
  },
50734
+ {
50735
+ properties: {
50736
+ api_key: {
50737
+ description: 'Zonal API key for X-API-Key header (required)',
50738
+ minLength: 1,
50739
+ type: 'string',
50740
+ },
50741
+ auth_token: { type: 'string' },
50742
+ hotel_id: {
50743
+ description: 'Optional hotel ID for single-property mode',
50744
+ type: 'string',
50745
+ },
50746
+ id: {
50747
+ description: "Zonal ID used as 'token' in login request body (required)",
50748
+ minLength: 1,
50749
+ type: 'string',
50750
+ },
50751
+ is_staging: {
50752
+ default: false,
50753
+ description: 'Use staging API instead of production',
50754
+ type: 'boolean',
50755
+ },
50756
+ secret: {
50757
+ description: 'Zonal Secret for login request body (required)',
50758
+ minLength: 1,
50759
+ type: 'string',
50760
+ },
50761
+ },
50762
+ required: ['api_key', 'id', 'secret'],
50763
+ type: 'object',
50764
+ },
50604
50765
  ],
50605
50766
  },
50606
50767
  connector_id: {
@@ -51009,6 +51170,8 @@ export default {
51009
51170
  'enrollment_automation.deleted',
51010
51171
  'phone.deactivated',
51011
51172
  'space.device_membership_changed',
51173
+ 'space.created',
51174
+ 'space.deleted',
51012
51175
  ],
51013
51176
  type: 'string',
51014
51177
  },
@@ -51114,6 +51277,8 @@ export default {
51114
51277
  'enrollment_automation.deleted',
51115
51278
  'phone.deactivated',
51116
51279
  'space.device_membership_changed',
51280
+ 'space.created',
51281
+ 'space.deleted',
51117
51282
  ],
51118
51283
  type: 'string',
51119
51284
  },
@@ -51280,6 +51445,8 @@ export default {
51280
51445
  'enrollment_automation.deleted',
51281
51446
  'phone.deactivated',
51282
51447
  'space.device_membership_changed',
51448
+ 'space.created',
51449
+ 'space.deleted',
51283
51450
  ],
51284
51451
  type: 'string',
51285
51452
  },
@@ -51380,6 +51547,8 @@ export default {
51380
51547
  'enrollment_automation.deleted',
51381
51548
  'phone.deactivated',
51382
51549
  'space.device_membership_changed',
51550
+ 'space.created',
51551
+ 'space.deleted',
51383
51552
  ],
51384
51553
  type: 'string',
51385
51554
  },