@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.
- package/dist/connect.cjs +388 -27
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +617 -4
- package/dist/index.cjs +388 -27
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +92 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +138 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/models/events/spaces.d.ts +130 -0
- package/lib/seam/connect/models/events/spaces.js +41 -1
- package/lib/seam/connect/models/events/spaces.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +145 -0
- package/lib/seam/connect/openapi.js +312 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +246 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/models/events/spaces.ts +47 -1
- package/src/lib/seam/connect/openapi.ts +338 -0
- package/src/lib/seam/connect/route-types.ts +258 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spaces.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/spaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;CAClE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qCAAqC,GAAG,WAAW,CAAC,MAAM,CAAC;IACtE,UAA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C,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,qCAAqC;IACrC,mBAAmB;IACnB,mBAAmB;CACX,CAAA"}
|
|
@@ -421,6 +421,35 @@ declare const _default: {
|
|
|
421
421
|
nullable: boolean;
|
|
422
422
|
type: string;
|
|
423
423
|
};
|
|
424
|
+
errors: {
|
|
425
|
+
description: string;
|
|
426
|
+
items: {
|
|
427
|
+
discriminator: {
|
|
428
|
+
propertyName: string;
|
|
429
|
+
};
|
|
430
|
+
oneOf: {
|
|
431
|
+
properties: {
|
|
432
|
+
created_at: {
|
|
433
|
+
description: string;
|
|
434
|
+
format: string;
|
|
435
|
+
type: string;
|
|
436
|
+
};
|
|
437
|
+
error_code: {
|
|
438
|
+
description: string;
|
|
439
|
+
enum: string[];
|
|
440
|
+
type: string;
|
|
441
|
+
};
|
|
442
|
+
message: {
|
|
443
|
+
description: string;
|
|
444
|
+
type: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
required: string[];
|
|
448
|
+
type: string;
|
|
449
|
+
}[];
|
|
450
|
+
};
|
|
451
|
+
type: string;
|
|
452
|
+
};
|
|
424
453
|
instant_key_url: {
|
|
425
454
|
description: string;
|
|
426
455
|
format: string;
|
|
@@ -19783,6 +19812,35 @@ declare const _default: {
|
|
|
19783
19812
|
nullable: boolean;
|
|
19784
19813
|
type: string;
|
|
19785
19814
|
};
|
|
19815
|
+
errors: {
|
|
19816
|
+
description: string;
|
|
19817
|
+
items: {
|
|
19818
|
+
discriminator: {
|
|
19819
|
+
propertyName: string;
|
|
19820
|
+
};
|
|
19821
|
+
oneOf: {
|
|
19822
|
+
properties: {
|
|
19823
|
+
created_at: {
|
|
19824
|
+
description: string;
|
|
19825
|
+
format: string;
|
|
19826
|
+
type: string;
|
|
19827
|
+
};
|
|
19828
|
+
error_code: {
|
|
19829
|
+
description: string;
|
|
19830
|
+
enum: string[];
|
|
19831
|
+
type: string;
|
|
19832
|
+
};
|
|
19833
|
+
message: {
|
|
19834
|
+
description: string;
|
|
19835
|
+
type: string;
|
|
19836
|
+
};
|
|
19837
|
+
};
|
|
19838
|
+
required: string[];
|
|
19839
|
+
type: string;
|
|
19840
|
+
}[];
|
|
19841
|
+
};
|
|
19842
|
+
type: string;
|
|
19843
|
+
};
|
|
19786
19844
|
location_ids: {
|
|
19787
19845
|
deprecated: boolean;
|
|
19788
19846
|
items: {
|
|
@@ -20005,6 +20063,35 @@ declare const _default: {
|
|
|
20005
20063
|
nullable: boolean;
|
|
20006
20064
|
type: string;
|
|
20007
20065
|
};
|
|
20066
|
+
errors: {
|
|
20067
|
+
description: string;
|
|
20068
|
+
items: {
|
|
20069
|
+
discriminator: {
|
|
20070
|
+
propertyName: string;
|
|
20071
|
+
};
|
|
20072
|
+
oneOf: {
|
|
20073
|
+
properties: {
|
|
20074
|
+
created_at: {
|
|
20075
|
+
description: string;
|
|
20076
|
+
format: string;
|
|
20077
|
+
type: string;
|
|
20078
|
+
};
|
|
20079
|
+
error_code: {
|
|
20080
|
+
description: string;
|
|
20081
|
+
enum: string[];
|
|
20082
|
+
type: string;
|
|
20083
|
+
};
|
|
20084
|
+
message: {
|
|
20085
|
+
description: string;
|
|
20086
|
+
type: string;
|
|
20087
|
+
};
|
|
20088
|
+
};
|
|
20089
|
+
required: string[];
|
|
20090
|
+
type: string;
|
|
20091
|
+
}[];
|
|
20092
|
+
};
|
|
20093
|
+
type: string;
|
|
20094
|
+
};
|
|
20008
20095
|
location_ids: {
|
|
20009
20096
|
deprecated: boolean;
|
|
20010
20097
|
items: {
|
|
@@ -20230,6 +20317,35 @@ declare const _default: {
|
|
|
20230
20317
|
nullable: boolean;
|
|
20231
20318
|
type: string;
|
|
20232
20319
|
};
|
|
20320
|
+
errors: {
|
|
20321
|
+
description: string;
|
|
20322
|
+
items: {
|
|
20323
|
+
discriminator: {
|
|
20324
|
+
propertyName: string;
|
|
20325
|
+
};
|
|
20326
|
+
oneOf: {
|
|
20327
|
+
properties: {
|
|
20328
|
+
created_at: {
|
|
20329
|
+
description: string;
|
|
20330
|
+
format: string;
|
|
20331
|
+
type: string;
|
|
20332
|
+
};
|
|
20333
|
+
error_code: {
|
|
20334
|
+
description: string;
|
|
20335
|
+
enum: string[];
|
|
20336
|
+
type: string;
|
|
20337
|
+
};
|
|
20338
|
+
message: {
|
|
20339
|
+
description: string;
|
|
20340
|
+
type: string;
|
|
20341
|
+
};
|
|
20342
|
+
};
|
|
20343
|
+
required: string[];
|
|
20344
|
+
type: string;
|
|
20345
|
+
}[];
|
|
20346
|
+
};
|
|
20347
|
+
type: string;
|
|
20348
|
+
};
|
|
20233
20349
|
location_ids: {
|
|
20234
20350
|
deprecated: boolean;
|
|
20235
20351
|
items: {
|
|
@@ -20468,6 +20584,35 @@ declare const _default: {
|
|
|
20468
20584
|
nullable: boolean;
|
|
20469
20585
|
type: string;
|
|
20470
20586
|
};
|
|
20587
|
+
errors: {
|
|
20588
|
+
description: string;
|
|
20589
|
+
items: {
|
|
20590
|
+
discriminator: {
|
|
20591
|
+
propertyName: string;
|
|
20592
|
+
};
|
|
20593
|
+
oneOf: {
|
|
20594
|
+
properties: {
|
|
20595
|
+
created_at: {
|
|
20596
|
+
description: string;
|
|
20597
|
+
format: string;
|
|
20598
|
+
type: string;
|
|
20599
|
+
};
|
|
20600
|
+
error_code: {
|
|
20601
|
+
description: string;
|
|
20602
|
+
enum: string[];
|
|
20603
|
+
type: string;
|
|
20604
|
+
};
|
|
20605
|
+
message: {
|
|
20606
|
+
description: string;
|
|
20607
|
+
type: string;
|
|
20608
|
+
};
|
|
20609
|
+
};
|
|
20610
|
+
required: string[];
|
|
20611
|
+
type: string;
|
|
20612
|
+
}[];
|
|
20613
|
+
};
|
|
20614
|
+
type: string;
|
|
20615
|
+
};
|
|
20471
20616
|
location_ids: {
|
|
20472
20617
|
deprecated: boolean;
|
|
20473
20618
|
items: {
|
|
@@ -1633,6 +1633,35 @@ export default {
|
|
|
1633
1633
|
nullable: true,
|
|
1634
1634
|
type: 'string',
|
|
1635
1635
|
},
|
|
1636
|
+
errors: {
|
|
1637
|
+
description: 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
1638
|
+
items: {
|
|
1639
|
+
discriminator: { propertyName: 'error_code' },
|
|
1640
|
+
oneOf: [
|
|
1641
|
+
{
|
|
1642
|
+
properties: {
|
|
1643
|
+
created_at: {
|
|
1644
|
+
description: 'Date and time at which Seam created the error.',
|
|
1645
|
+
format: 'date-time',
|
|
1646
|
+
type: 'string',
|
|
1647
|
+
},
|
|
1648
|
+
error_code: {
|
|
1649
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
1650
|
+
enum: ['cannot_create_requested_access_methods'],
|
|
1651
|
+
type: 'string',
|
|
1652
|
+
},
|
|
1653
|
+
message: {
|
|
1654
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
1655
|
+
type: 'string',
|
|
1656
|
+
},
|
|
1657
|
+
},
|
|
1658
|
+
required: ['created_at', 'message', 'error_code'],
|
|
1659
|
+
type: 'object',
|
|
1660
|
+
},
|
|
1661
|
+
],
|
|
1662
|
+
},
|
|
1663
|
+
type: 'array',
|
|
1664
|
+
},
|
|
1636
1665
|
instant_key_url: {
|
|
1637
1666
|
description: 'Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ',
|
|
1638
1667
|
format: 'uri',
|
|
@@ -1760,6 +1789,7 @@ export default {
|
|
|
1760
1789
|
'starts_at',
|
|
1761
1790
|
'ends_at',
|
|
1762
1791
|
'warnings',
|
|
1792
|
+
'errors',
|
|
1763
1793
|
],
|
|
1764
1794
|
type: 'object',
|
|
1765
1795
|
'x-draft': 'Early access.',
|
|
@@ -17932,6 +17962,128 @@ export default {
|
|
|
17932
17962
|
type: 'object',
|
|
17933
17963
|
'x-route-path': '/spaces',
|
|
17934
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
|
+
},
|
|
17935
18087
|
],
|
|
17936
18088
|
'x-route-path': '/events',
|
|
17937
18089
|
},
|
|
@@ -27141,6 +27293,41 @@ export default {
|
|
|
27141
27293
|
nullable: true,
|
|
27142
27294
|
type: 'string',
|
|
27143
27295
|
},
|
|
27296
|
+
errors: {
|
|
27297
|
+
description: 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
27298
|
+
items: {
|
|
27299
|
+
discriminator: { propertyName: 'error_code' },
|
|
27300
|
+
oneOf: [
|
|
27301
|
+
{
|
|
27302
|
+
properties: {
|
|
27303
|
+
created_at: {
|
|
27304
|
+
description: 'Date and time at which Seam created the error.',
|
|
27305
|
+
format: 'date-time',
|
|
27306
|
+
type: 'string',
|
|
27307
|
+
},
|
|
27308
|
+
error_code: {
|
|
27309
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27310
|
+
enum: [
|
|
27311
|
+
'cannot_create_requested_access_methods',
|
|
27312
|
+
],
|
|
27313
|
+
type: 'string',
|
|
27314
|
+
},
|
|
27315
|
+
message: {
|
|
27316
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
27317
|
+
type: 'string',
|
|
27318
|
+
},
|
|
27319
|
+
},
|
|
27320
|
+
required: [
|
|
27321
|
+
'created_at',
|
|
27322
|
+
'message',
|
|
27323
|
+
'error_code',
|
|
27324
|
+
],
|
|
27325
|
+
type: 'object',
|
|
27326
|
+
},
|
|
27327
|
+
],
|
|
27328
|
+
},
|
|
27329
|
+
type: 'array',
|
|
27330
|
+
},
|
|
27144
27331
|
location_ids: {
|
|
27145
27332
|
deprecated: true,
|
|
27146
27333
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -27266,6 +27453,7 @@ export default {
|
|
|
27266
27453
|
'starts_at',
|
|
27267
27454
|
'ends_at',
|
|
27268
27455
|
'warnings',
|
|
27456
|
+
'errors',
|
|
27269
27457
|
],
|
|
27270
27458
|
type: 'object',
|
|
27271
27459
|
'x-draft': 'Early access.',
|
|
@@ -27352,6 +27540,41 @@ export default {
|
|
|
27352
27540
|
nullable: true,
|
|
27353
27541
|
type: 'string',
|
|
27354
27542
|
},
|
|
27543
|
+
errors: {
|
|
27544
|
+
description: 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
27545
|
+
items: {
|
|
27546
|
+
discriminator: { propertyName: 'error_code' },
|
|
27547
|
+
oneOf: [
|
|
27548
|
+
{
|
|
27549
|
+
properties: {
|
|
27550
|
+
created_at: {
|
|
27551
|
+
description: 'Date and time at which Seam created the error.',
|
|
27552
|
+
format: 'date-time',
|
|
27553
|
+
type: 'string',
|
|
27554
|
+
},
|
|
27555
|
+
error_code: {
|
|
27556
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27557
|
+
enum: [
|
|
27558
|
+
'cannot_create_requested_access_methods',
|
|
27559
|
+
],
|
|
27560
|
+
type: 'string',
|
|
27561
|
+
},
|
|
27562
|
+
message: {
|
|
27563
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
27564
|
+
type: 'string',
|
|
27565
|
+
},
|
|
27566
|
+
},
|
|
27567
|
+
required: [
|
|
27568
|
+
'created_at',
|
|
27569
|
+
'message',
|
|
27570
|
+
'error_code',
|
|
27571
|
+
],
|
|
27572
|
+
type: 'object',
|
|
27573
|
+
},
|
|
27574
|
+
],
|
|
27575
|
+
},
|
|
27576
|
+
type: 'array',
|
|
27577
|
+
},
|
|
27355
27578
|
location_ids: {
|
|
27356
27579
|
deprecated: true,
|
|
27357
27580
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -27477,6 +27700,7 @@ export default {
|
|
|
27477
27700
|
'starts_at',
|
|
27478
27701
|
'ends_at',
|
|
27479
27702
|
'warnings',
|
|
27703
|
+
'errors',
|
|
27480
27704
|
],
|
|
27481
27705
|
type: 'object',
|
|
27482
27706
|
'x-draft': 'Early access.',
|
|
@@ -27586,6 +27810,41 @@ export default {
|
|
|
27586
27810
|
nullable: true,
|
|
27587
27811
|
type: 'string',
|
|
27588
27812
|
},
|
|
27813
|
+
errors: {
|
|
27814
|
+
description: 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
27815
|
+
items: {
|
|
27816
|
+
discriminator: { propertyName: 'error_code' },
|
|
27817
|
+
oneOf: [
|
|
27818
|
+
{
|
|
27819
|
+
properties: {
|
|
27820
|
+
created_at: {
|
|
27821
|
+
description: 'Date and time at which Seam created the error.',
|
|
27822
|
+
format: 'date-time',
|
|
27823
|
+
type: 'string',
|
|
27824
|
+
},
|
|
27825
|
+
error_code: {
|
|
27826
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
27827
|
+
enum: [
|
|
27828
|
+
'cannot_create_requested_access_methods',
|
|
27829
|
+
],
|
|
27830
|
+
type: 'string',
|
|
27831
|
+
},
|
|
27832
|
+
message: {
|
|
27833
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
27834
|
+
type: 'string',
|
|
27835
|
+
},
|
|
27836
|
+
},
|
|
27837
|
+
required: [
|
|
27838
|
+
'created_at',
|
|
27839
|
+
'message',
|
|
27840
|
+
'error_code',
|
|
27841
|
+
],
|
|
27842
|
+
type: 'object',
|
|
27843
|
+
},
|
|
27844
|
+
],
|
|
27845
|
+
},
|
|
27846
|
+
type: 'array',
|
|
27847
|
+
},
|
|
27589
27848
|
location_ids: {
|
|
27590
27849
|
deprecated: true,
|
|
27591
27850
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -27711,6 +27970,7 @@ export default {
|
|
|
27711
27970
|
'starts_at',
|
|
27712
27971
|
'ends_at',
|
|
27713
27972
|
'warnings',
|
|
27973
|
+
'errors',
|
|
27714
27974
|
],
|
|
27715
27975
|
type: 'object',
|
|
27716
27976
|
'x-draft': 'Early access.',
|
|
@@ -27813,6 +28073,41 @@ export default {
|
|
|
27813
28073
|
nullable: true,
|
|
27814
28074
|
type: 'string',
|
|
27815
28075
|
},
|
|
28076
|
+
errors: {
|
|
28077
|
+
description: 'Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
|
|
28078
|
+
items: {
|
|
28079
|
+
discriminator: { propertyName: 'error_code' },
|
|
28080
|
+
oneOf: [
|
|
28081
|
+
{
|
|
28082
|
+
properties: {
|
|
28083
|
+
created_at: {
|
|
28084
|
+
description: 'Date and time at which Seam created the error.',
|
|
28085
|
+
format: 'date-time',
|
|
28086
|
+
type: 'string',
|
|
28087
|
+
},
|
|
28088
|
+
error_code: {
|
|
28089
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
28090
|
+
enum: [
|
|
28091
|
+
'cannot_create_requested_access_methods',
|
|
28092
|
+
],
|
|
28093
|
+
type: 'string',
|
|
28094
|
+
},
|
|
28095
|
+
message: {
|
|
28096
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
28097
|
+
type: 'string',
|
|
28098
|
+
},
|
|
28099
|
+
},
|
|
28100
|
+
required: [
|
|
28101
|
+
'created_at',
|
|
28102
|
+
'message',
|
|
28103
|
+
'error_code',
|
|
28104
|
+
],
|
|
28105
|
+
type: 'object',
|
|
28106
|
+
},
|
|
28107
|
+
],
|
|
28108
|
+
},
|
|
28109
|
+
type: 'array',
|
|
28110
|
+
},
|
|
27816
28111
|
location_ids: {
|
|
27817
28112
|
deprecated: true,
|
|
27818
28113
|
items: { format: 'uuid', type: 'string' },
|
|
@@ -27938,6 +28233,7 @@ export default {
|
|
|
27938
28233
|
'starts_at',
|
|
27939
28234
|
'ends_at',
|
|
27940
28235
|
'warnings',
|
|
28236
|
+
'errors',
|
|
27941
28237
|
],
|
|
27942
28238
|
type: 'object',
|
|
27943
28239
|
'x-draft': 'Early access.',
|
|
@@ -43568,6 +43864,8 @@ export default {
|
|
|
43568
43864
|
'enrollment_automation.deleted',
|
|
43569
43865
|
'phone.deactivated',
|
|
43570
43866
|
'space.device_membership_changed',
|
|
43867
|
+
'space.created',
|
|
43868
|
+
'space.deleted',
|
|
43571
43869
|
],
|
|
43572
43870
|
type: 'string',
|
|
43573
43871
|
},
|
|
@@ -43672,6 +43970,8 @@ export default {
|
|
|
43672
43970
|
'enrollment_automation.deleted',
|
|
43673
43971
|
'phone.deactivated',
|
|
43674
43972
|
'space.device_membership_changed',
|
|
43973
|
+
'space.created',
|
|
43974
|
+
'space.deleted',
|
|
43675
43975
|
],
|
|
43676
43976
|
type: 'string',
|
|
43677
43977
|
},
|
|
@@ -43955,6 +44255,8 @@ export default {
|
|
|
43955
44255
|
'enrollment_automation.deleted',
|
|
43956
44256
|
'phone.deactivated',
|
|
43957
44257
|
'space.device_membership_changed',
|
|
44258
|
+
'space.created',
|
|
44259
|
+
'space.deleted',
|
|
43958
44260
|
],
|
|
43959
44261
|
type: 'string',
|
|
43960
44262
|
},
|
|
@@ -44055,6 +44357,8 @@ export default {
|
|
|
44055
44357
|
'enrollment_automation.deleted',
|
|
44056
44358
|
'phone.deactivated',
|
|
44057
44359
|
'space.device_membership_changed',
|
|
44360
|
+
'space.created',
|
|
44361
|
+
'space.deleted',
|
|
44058
44362
|
],
|
|
44059
44363
|
type: 'string',
|
|
44060
44364
|
},
|
|
@@ -50835,6 +51139,8 @@ export default {
|
|
|
50835
51139
|
'enrollment_automation.deleted',
|
|
50836
51140
|
'phone.deactivated',
|
|
50837
51141
|
'space.device_membership_changed',
|
|
51142
|
+
'space.created',
|
|
51143
|
+
'space.deleted',
|
|
50838
51144
|
],
|
|
50839
51145
|
type: 'string',
|
|
50840
51146
|
},
|
|
@@ -50940,6 +51246,8 @@ export default {
|
|
|
50940
51246
|
'enrollment_automation.deleted',
|
|
50941
51247
|
'phone.deactivated',
|
|
50942
51248
|
'space.device_membership_changed',
|
|
51249
|
+
'space.created',
|
|
51250
|
+
'space.deleted',
|
|
50943
51251
|
],
|
|
50944
51252
|
type: 'string',
|
|
50945
51253
|
},
|
|
@@ -51106,6 +51414,8 @@ export default {
|
|
|
51106
51414
|
'enrollment_automation.deleted',
|
|
51107
51415
|
'phone.deactivated',
|
|
51108
51416
|
'space.device_membership_changed',
|
|
51417
|
+
'space.created',
|
|
51418
|
+
'space.deleted',
|
|
51109
51419
|
],
|
|
51110
51420
|
type: 'string',
|
|
51111
51421
|
},
|
|
@@ -51206,6 +51516,8 @@ export default {
|
|
|
51206
51516
|
'enrollment_automation.deleted',
|
|
51207
51517
|
'phone.deactivated',
|
|
51208
51518
|
'space.device_membership_changed',
|
|
51519
|
+
'space.created',
|
|
51520
|
+
'space.deleted',
|
|
51209
51521
|
],
|
|
51210
51522
|
type: 'string',
|
|
51211
51523
|
},
|