@seamapi/types 1.695.0 → 1.697.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.
@@ -1888,6 +1888,39 @@ export default {
1888
1888
  nullable: true,
1889
1889
  type: 'string',
1890
1890
  },
1891
+ errors: {
1892
+ description:
1893
+ 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
1894
+ items: {
1895
+ discriminator: { propertyName: 'error_code' },
1896
+ oneOf: [
1897
+ {
1898
+ properties: {
1899
+ created_at: {
1900
+ description:
1901
+ 'Date and time at which Seam created the error.',
1902
+ format: 'date-time',
1903
+ type: 'string',
1904
+ },
1905
+ error_code: {
1906
+ description:
1907
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
1908
+ enum: ['cannot_create_requested_access_methods'],
1909
+ type: 'string',
1910
+ },
1911
+ message: {
1912
+ description:
1913
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
1914
+ type: 'string',
1915
+ },
1916
+ },
1917
+ required: ['created_at', 'message', 'error_code'],
1918
+ type: 'object',
1919
+ },
1920
+ ],
1921
+ },
1922
+ type: 'array',
1923
+ },
1891
1924
  instant_key_url: {
1892
1925
  description:
1893
1926
  'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
@@ -2031,6 +2064,7 @@ export default {
2031
2064
  'starts_at',
2032
2065
  'ends_at',
2033
2066
  'warnings',
2067
+ 'errors',
2034
2068
  ],
2035
2069
  type: 'object',
2036
2070
  'x-draft': 'Early access.',
@@ -19913,6 +19947,134 @@ export default {
19913
19947
  type: 'object',
19914
19948
  'x-route-path': '/spaces',
19915
19949
  },
19950
+ {
19951
+ description: 'A space was created.',
19952
+ properties: {
19953
+ acs_entrance_ids: {
19954
+ description:
19955
+ 'IDs of all ACS entrances attached to the space when it was created.',
19956
+ items: { format: 'uuid', type: 'string' },
19957
+ type: 'array',
19958
+ },
19959
+ created_at: {
19960
+ description: 'Date and time at which the event was created.',
19961
+ format: 'date-time',
19962
+ type: 'string',
19963
+ },
19964
+ device_ids: {
19965
+ description:
19966
+ 'IDs of all devices attached to the space when it was created.',
19967
+ items: { format: 'uuid', type: 'string' },
19968
+ type: 'array',
19969
+ },
19970
+ event_id: {
19971
+ description: 'ID of the event.',
19972
+ format: 'uuid',
19973
+ type: 'string',
19974
+ },
19975
+ event_type: {
19976
+ description: 'Type of the event.',
19977
+ enum: ['space.created'],
19978
+ type: 'string',
19979
+ },
19980
+ occurred_at: {
19981
+ description: 'Date and time at which the event occurred.',
19982
+ format: 'date-time',
19983
+ type: 'string',
19984
+ },
19985
+ space_id: {
19986
+ description: 'ID of the affected space.',
19987
+ format: 'uuid',
19988
+ type: 'string',
19989
+ },
19990
+ space_key: {
19991
+ description: 'Unique key for the space within the workspace.',
19992
+ type: 'string',
19993
+ },
19994
+ workspace_id: {
19995
+ description:
19996
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
19997
+ format: 'uuid',
19998
+ type: 'string',
19999
+ },
20000
+ },
20001
+ required: [
20002
+ 'event_id',
20003
+ 'workspace_id',
20004
+ 'created_at',
20005
+ 'occurred_at',
20006
+ 'space_id',
20007
+ 'event_type',
20008
+ 'device_ids',
20009
+ 'acs_entrance_ids',
20010
+ ],
20011
+ type: 'object',
20012
+ 'x-route-path': '/spaces',
20013
+ },
20014
+ {
20015
+ description: 'A space was deleted.',
20016
+ properties: {
20017
+ acs_entrance_ids: {
20018
+ description:
20019
+ 'IDs of all ACS entrances currently attached to the space when it was deleted.',
20020
+ items: { format: 'uuid', type: 'string' },
20021
+ type: 'array',
20022
+ },
20023
+ created_at: {
20024
+ description: 'Date and time at which the event was created.',
20025
+ format: 'date-time',
20026
+ type: 'string',
20027
+ },
20028
+ device_ids: {
20029
+ description:
20030
+ 'IDs of all devices attached to the space when it was deleted.',
20031
+ items: { format: 'uuid', type: 'string' },
20032
+ type: 'array',
20033
+ },
20034
+ event_id: {
20035
+ description: 'ID of the event.',
20036
+ format: 'uuid',
20037
+ type: 'string',
20038
+ },
20039
+ event_type: {
20040
+ description: 'Type of the event.',
20041
+ enum: ['space.deleted'],
20042
+ type: 'string',
20043
+ },
20044
+ occurred_at: {
20045
+ description: 'Date and time at which the event occurred.',
20046
+ format: 'date-time',
20047
+ type: 'string',
20048
+ },
20049
+ space_id: {
20050
+ description: 'ID of the affected space.',
20051
+ format: 'uuid',
20052
+ type: 'string',
20053
+ },
20054
+ space_key: {
20055
+ description: 'Unique key for the space within the workspace.',
20056
+ type: 'string',
20057
+ },
20058
+ workspace_id: {
20059
+ description:
20060
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
20061
+ format: 'uuid',
20062
+ type: 'string',
20063
+ },
20064
+ },
20065
+ required: [
20066
+ 'event_id',
20067
+ 'workspace_id',
20068
+ 'created_at',
20069
+ 'occurred_at',
20070
+ 'space_id',
20071
+ 'event_type',
20072
+ 'device_ids',
20073
+ 'acs_entrance_ids',
20074
+ ],
20075
+ type: 'object',
20076
+ 'x-route-path': '/spaces',
20077
+ },
19916
20078
  ],
19917
20079
  'x-route-path': '/events',
19918
20080
  },
@@ -30156,6 +30318,45 @@ export default {
30156
30318
  nullable: true,
30157
30319
  type: 'string',
30158
30320
  },
30321
+ errors: {
30322
+ description:
30323
+ 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
30324
+ items: {
30325
+ discriminator: { propertyName: 'error_code' },
30326
+ oneOf: [
30327
+ {
30328
+ properties: {
30329
+ created_at: {
30330
+ description:
30331
+ 'Date and time at which Seam created the error.',
30332
+ format: 'date-time',
30333
+ type: 'string',
30334
+ },
30335
+ error_code: {
30336
+ description:
30337
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
30338
+ enum: [
30339
+ 'cannot_create_requested_access_methods',
30340
+ ],
30341
+ type: 'string',
30342
+ },
30343
+ message: {
30344
+ description:
30345
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
30346
+ type: 'string',
30347
+ },
30348
+ },
30349
+ required: [
30350
+ 'created_at',
30351
+ 'message',
30352
+ 'error_code',
30353
+ ],
30354
+ type: 'object',
30355
+ },
30356
+ ],
30357
+ },
30358
+ type: 'array',
30359
+ },
30159
30360
  location_ids: {
30160
30361
  deprecated: true,
30161
30362
  items: { format: 'uuid', type: 'string' },
@@ -30298,6 +30499,7 @@ export default {
30298
30499
  'starts_at',
30299
30500
  'ends_at',
30300
30501
  'warnings',
30502
+ 'errors',
30301
30503
  ],
30302
30504
  type: 'object',
30303
30505
  'x-draft': 'Early access.',
@@ -30389,6 +30591,45 @@ export default {
30389
30591
  nullable: true,
30390
30592
  type: 'string',
30391
30593
  },
30594
+ errors: {
30595
+ description:
30596
+ 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
30597
+ items: {
30598
+ discriminator: { propertyName: 'error_code' },
30599
+ oneOf: [
30600
+ {
30601
+ properties: {
30602
+ created_at: {
30603
+ description:
30604
+ 'Date and time at which Seam created the error.',
30605
+ format: 'date-time',
30606
+ type: 'string',
30607
+ },
30608
+ error_code: {
30609
+ description:
30610
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
30611
+ enum: [
30612
+ 'cannot_create_requested_access_methods',
30613
+ ],
30614
+ type: 'string',
30615
+ },
30616
+ message: {
30617
+ description:
30618
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
30619
+ type: 'string',
30620
+ },
30621
+ },
30622
+ required: [
30623
+ 'created_at',
30624
+ 'message',
30625
+ 'error_code',
30626
+ ],
30627
+ type: 'object',
30628
+ },
30629
+ ],
30630
+ },
30631
+ type: 'array',
30632
+ },
30392
30633
  location_ids: {
30393
30634
  deprecated: true,
30394
30635
  items: { format: 'uuid', type: 'string' },
@@ -30531,6 +30772,7 @@ export default {
30531
30772
  'starts_at',
30532
30773
  'ends_at',
30533
30774
  'warnings',
30775
+ 'errors',
30534
30776
  ],
30535
30777
  type: 'object',
30536
30778
  'x-draft': 'Early access.',
@@ -30647,6 +30889,45 @@ export default {
30647
30889
  nullable: true,
30648
30890
  type: 'string',
30649
30891
  },
30892
+ errors: {
30893
+ description:
30894
+ 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
30895
+ items: {
30896
+ discriminator: { propertyName: 'error_code' },
30897
+ oneOf: [
30898
+ {
30899
+ properties: {
30900
+ created_at: {
30901
+ description:
30902
+ 'Date and time at which Seam created the error.',
30903
+ format: 'date-time',
30904
+ type: 'string',
30905
+ },
30906
+ error_code: {
30907
+ description:
30908
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
30909
+ enum: [
30910
+ 'cannot_create_requested_access_methods',
30911
+ ],
30912
+ type: 'string',
30913
+ },
30914
+ message: {
30915
+ description:
30916
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
30917
+ type: 'string',
30918
+ },
30919
+ },
30920
+ required: [
30921
+ 'created_at',
30922
+ 'message',
30923
+ 'error_code',
30924
+ ],
30925
+ type: 'object',
30926
+ },
30927
+ ],
30928
+ },
30929
+ type: 'array',
30930
+ },
30650
30931
  location_ids: {
30651
30932
  deprecated: true,
30652
30933
  items: { format: 'uuid', type: 'string' },
@@ -30790,6 +31071,7 @@ export default {
30790
31071
  'starts_at',
30791
31072
  'ends_at',
30792
31073
  'warnings',
31074
+ 'errors',
30793
31075
  ],
30794
31076
  type: 'object',
30795
31077
  'x-draft': 'Early access.',
@@ -30900,6 +31182,45 @@ export default {
30900
31182
  nullable: true,
30901
31183
  type: 'string',
30902
31184
  },
31185
+ errors: {
31186
+ description:
31187
+ 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
31188
+ items: {
31189
+ discriminator: { propertyName: 'error_code' },
31190
+ oneOf: [
31191
+ {
31192
+ properties: {
31193
+ created_at: {
31194
+ description:
31195
+ 'Date and time at which Seam created the error.',
31196
+ format: 'date-time',
31197
+ type: 'string',
31198
+ },
31199
+ error_code: {
31200
+ description:
31201
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
31202
+ enum: [
31203
+ 'cannot_create_requested_access_methods',
31204
+ ],
31205
+ type: 'string',
31206
+ },
31207
+ message: {
31208
+ description:
31209
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
31210
+ type: 'string',
31211
+ },
31212
+ },
31213
+ required: [
31214
+ 'created_at',
31215
+ 'message',
31216
+ 'error_code',
31217
+ ],
31218
+ type: 'object',
31219
+ },
31220
+ ],
31221
+ },
31222
+ type: 'array',
31223
+ },
30903
31224
  location_ids: {
30904
31225
  deprecated: true,
30905
31226
  items: { format: 'uuid', type: 'string' },
@@ -31043,6 +31364,7 @@ export default {
31043
31364
  'starts_at',
31044
31365
  'ends_at',
31045
31366
  'warnings',
31367
+ 'errors',
31046
31368
  ],
31047
31369
  type: 'object',
31048
31370
  'x-draft': 'Early access.',
@@ -47622,6 +47944,8 @@ export default {
47622
47944
  'enrollment_automation.deleted',
47623
47945
  'phone.deactivated',
47624
47946
  'space.device_membership_changed',
47947
+ 'space.created',
47948
+ 'space.deleted',
47625
47949
  ],
47626
47950
  type: 'string',
47627
47951
  },
@@ -47726,6 +48050,8 @@ export default {
47726
48050
  'enrollment_automation.deleted',
47727
48051
  'phone.deactivated',
47728
48052
  'space.device_membership_changed',
48053
+ 'space.created',
48054
+ 'space.deleted',
47729
48055
  ],
47730
48056
  type: 'string',
47731
48057
  },
@@ -48027,6 +48353,8 @@ export default {
48027
48353
  'enrollment_automation.deleted',
48028
48354
  'phone.deactivated',
48029
48355
  'space.device_membership_changed',
48356
+ 'space.created',
48357
+ 'space.deleted',
48030
48358
  ],
48031
48359
  type: 'string',
48032
48360
  },
@@ -48127,6 +48455,8 @@ export default {
48127
48455
  'enrollment_automation.deleted',
48128
48456
  'phone.deactivated',
48129
48457
  'space.device_membership_changed',
48458
+ 'space.created',
48459
+ 'space.deleted',
48130
48460
  ],
48131
48461
  type: 'string',
48132
48462
  },
@@ -55136,6 +55466,8 @@ export default {
55136
55466
  'enrollment_automation.deleted',
55137
55467
  'phone.deactivated',
55138
55468
  'space.device_membership_changed',
55469
+ 'space.created',
55470
+ 'space.deleted',
55139
55471
  ],
55140
55472
  type: 'string',
55141
55473
  },
@@ -55241,6 +55573,8 @@ export default {
55241
55573
  'enrollment_automation.deleted',
55242
55574
  'phone.deactivated',
55243
55575
  'space.device_membership_changed',
55576
+ 'space.created',
55577
+ 'space.deleted',
55244
55578
  ],
55245
55579
  type: 'string',
55246
55580
  },
@@ -55409,6 +55743,8 @@ export default {
55409
55743
  'enrollment_automation.deleted',
55410
55744
  'phone.deactivated',
55411
55745
  'space.device_membership_changed',
55746
+ 'space.created',
55747
+ 'space.deleted',
55412
55748
  ],
55413
55749
  type: 'string',
55414
55750
  },
@@ -55509,6 +55845,8 @@ export default {
55509
55845
  'enrollment_automation.deleted',
55510
55846
  'phone.deactivated',
55511
55847
  'space.device_membership_changed',
55848
+ 'space.created',
55849
+ 'space.deleted',
55512
55850
  ],
55513
55851
  type: 'string',
55514
55852
  },