@seamapi/types 1.827.0 → 1.828.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.
@@ -11135,6 +11135,8 @@ export type Routes = {
11135
11135
  message: string;
11136
11136
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11137
11137
  error_code: 'cannot_create_requested_access_methods';
11138
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
11139
+ missing_device_ids?: string[] | undefined;
11138
11140
  }[];
11139
11141
  /** ID of the customization profile associated with the Access Grant. */
11140
11142
  customization_profile_id?: string | undefined;
@@ -11343,6 +11345,8 @@ export type Routes = {
11343
11345
  message: string;
11344
11346
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11345
11347
  error_code: 'cannot_create_requested_access_methods';
11348
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
11349
+ missing_device_ids?: string[] | undefined;
11346
11350
  }[];
11347
11351
  /** ID of the customization profile associated with the Access Grant. */
11348
11352
  customization_profile_id?: string | undefined;
@@ -13650,6 +13654,8 @@ export type Routes = {
13650
13654
  message: string;
13651
13655
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13652
13656
  error_code: 'cannot_create_requested_access_methods';
13657
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
13658
+ missing_device_ids?: string[] | undefined;
13653
13659
  }[];
13654
13660
  /** ID of the customization profile associated with the Access Grant. */
13655
13661
  customization_profile_id?: string | undefined;
@@ -13860,6 +13866,8 @@ export type Routes = {
13860
13866
  message: string;
13861
13867
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13862
13868
  error_code: 'cannot_create_requested_access_methods';
13869
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
13870
+ missing_device_ids?: string[] | undefined;
13863
13871
  }[];
13864
13872
  /** ID of the customization profile associated with the Access Grant. */
13865
13873
  customization_profile_id?: string | undefined;
@@ -14044,6 +14052,8 @@ export type Routes = {
14044
14052
  message: string;
14045
14053
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14046
14054
  error_code: 'cannot_create_requested_access_methods';
14055
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
14056
+ missing_device_ids?: string[] | undefined;
14047
14057
  }[];
14048
14058
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
14049
14059
  pending_mutations: ({
@@ -14237,6 +14247,8 @@ export type Routes = {
14237
14247
  message: string;
14238
14248
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14239
14249
  error_code: 'cannot_create_requested_access_methods';
14250
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
14251
+ missing_device_ids?: string[] | undefined;
14240
14252
  }[];
14241
14253
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
14242
14254
  pending_mutations: ({
@@ -17458,6 +17470,8 @@ export type Routes = {
17458
17470
  message: string;
17459
17471
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17460
17472
  error_code: 'cannot_create_requested_access_methods';
17473
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
17474
+ missing_device_ids?: string[] | undefined;
17461
17475
  }[];
17462
17476
  /** ID of the customization profile associated with the Access Grant. */
17463
17477
  customization_profile_id?: string | undefined;
@@ -37116,6 +37130,8 @@ export type Routes = {
37116
37130
  event_type: 'access_grant.could_not_create_requested_access_methods';
37117
37131
  /** Description of why the access methods could not be created. */
37118
37132
  error_message: string;
37133
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
37134
+ missing_device_ids?: string[] | undefined;
37119
37135
  } | {
37120
37136
  /** ID of the event. */
37121
37137
  event_id: string;
@@ -39960,6 +39976,8 @@ export type Routes = {
39960
39976
  event_type: 'access_grant.could_not_create_requested_access_methods';
39961
39977
  /** Description of why the access methods could not be created. */
39962
39978
  error_message: string;
39979
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
39980
+ missing_device_ids?: string[] | undefined;
39963
39981
  } | {
39964
39982
  /** ID of the event. */
39965
39983
  event_id: string;
@@ -61983,6 +62001,8 @@ export type Routes = {
61983
62001
  message: string;
61984
62002
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
61985
62003
  error_code: 'cannot_create_requested_access_methods';
62004
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
62005
+ missing_device_ids?: string[] | undefined;
61986
62006
  }[];
61987
62007
  /** ID of the customization profile associated with the Access Grant. */
61988
62008
  customization_profile_id?: string | undefined;
@@ -65008,6 +65028,8 @@ export type Routes = {
65008
65028
  event_type: 'access_grant.could_not_create_requested_access_methods';
65009
65029
  /** Description of why the access methods could not be created. */
65010
65030
  error_message: string;
65031
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
65032
+ missing_device_ids?: string[] | undefined;
65011
65033
  } | {
65012
65034
  /** ID of the event. */
65013
65035
  event_id: string;
@@ -67557,6 +67579,8 @@ export type Routes = {
67557
67579
  message: string;
67558
67580
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67559
67581
  error_code: 'cannot_create_requested_access_methods';
67582
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
67583
+ missing_device_ids?: string[] | undefined;
67560
67584
  }[];
67561
67585
  /** ID of the customization profile associated with the Access Grant. */
67562
67586
  customization_profile_id?: string | undefined;
@@ -68021,6 +68045,8 @@ export type Routes = {
68021
68045
  message: string;
68022
68046
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68023
68047
  error_code: 'cannot_create_requested_access_methods';
68048
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
68049
+ missing_device_ids?: string[] | undefined;
68024
68050
  }[];
68025
68051
  /** ID of the customization profile associated with the Access Grant. */
68026
68052
  customization_profile_id?: string | undefined;
@@ -96531,6 +96557,8 @@ export type Routes = {
96531
96557
  message: string;
96532
96558
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
96533
96559
  error_code: 'cannot_create_requested_access_methods';
96560
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
96561
+ missing_device_ids?: string[] | undefined;
96534
96562
  }[];
96535
96563
  /** ID of the customization profile associated with the Access Grant. */
96536
96564
  customization_profile_id?: string | undefined;
@@ -97498,6 +97526,8 @@ export type Routes = {
97498
97526
  event_type: 'access_grant.could_not_create_requested_access_methods';
97499
97527
  /** Description of why the access methods could not be created. */
97500
97528
  error_message: string;
97529
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
97530
+ missing_device_ids?: string[] | undefined;
97501
97531
  } | {
97502
97532
  /** ID of the event. */
97503
97533
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.827.0",
3
+ "version": "1.828.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,6 +23,12 @@ const cannot_create_requested_access_methods_error =
23
23
  error_code: z
24
24
  .literal('cannot_create_requested_access_methods')
25
25
  .describe(error_code_description),
26
+ missing_device_ids: z
27
+ .array(z.string().uuid())
28
+ .optional()
29
+ .describe(
30
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
31
+ ),
26
32
  })
27
33
 
28
34
  const common_access_grant_warning = z.object({
@@ -113,6 +113,12 @@ export const access_grant_could_not_create_requested_access_methods_event =
113
113
  error_message: z
114
114
  .string()
115
115
  .describe('Description of why the access methods could not be created.'),
116
+ missing_device_ids: z
117
+ .array(z.string().uuid())
118
+ .optional()
119
+ .describe(
120
+ 'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
121
+ ),
116
122
  }).describe(`
117
123
  ---
118
124
  route_path: /access_grants
@@ -2205,6 +2205,12 @@ const openapi: OpenAPISpec = {
2205
2205
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
2206
2206
  type: 'string',
2207
2207
  },
2208
+ missing_device_ids: {
2209
+ description:
2210
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
2211
+ items: { format: 'uuid', type: 'string' },
2212
+ type: 'array',
2213
+ },
2208
2214
  },
2209
2215
  required: ['created_at', 'message', 'error_code'],
2210
2216
  type: 'object',
@@ -18171,6 +18177,12 @@ const openapi: OpenAPISpec = {
18171
18177
  ],
18172
18178
  type: 'string',
18173
18179
  },
18180
+ missing_device_ids: {
18181
+ description:
18182
+ 'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
18183
+ items: { format: 'uuid', type: 'string' },
18184
+ type: 'array',
18185
+ },
18174
18186
  occurred_at: {
18175
18187
  description: 'Date and time at which the event occurred.',
18176
18188
  format: 'date-time',
@@ -35953,6 +35965,12 @@ const openapi: OpenAPISpec = {
35953
35965
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
35954
35966
  type: 'string',
35955
35967
  },
35968
+ missing_device_ids: {
35969
+ description:
35970
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
35971
+ items: { format: 'uuid', type: 'string' },
35972
+ type: 'array',
35973
+ },
35956
35974
  },
35957
35975
  required: [
35958
35976
  'created_at',
@@ -36656,6 +36674,12 @@ const openapi: OpenAPISpec = {
36656
36674
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
36657
36675
  type: 'string',
36658
36676
  },
36677
+ missing_device_ids: {
36678
+ description:
36679
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
36680
+ items: { format: 'uuid', type: 'string' },
36681
+ type: 'array',
36682
+ },
36659
36683
  },
36660
36684
  required: [
36661
36685
  'created_at',
@@ -37405,6 +37429,12 @@ const openapi: OpenAPISpec = {
37405
37429
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
37406
37430
  type: 'string',
37407
37431
  },
37432
+ missing_device_ids: {
37433
+ description:
37434
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
37435
+ items: { format: 'uuid', type: 'string' },
37436
+ type: 'array',
37437
+ },
37408
37438
  },
37409
37439
  required: [
37410
37440
  'created_at',
@@ -38146,6 +38176,12 @@ const openapi: OpenAPISpec = {
38146
38176
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
38147
38177
  type: 'string',
38148
38178
  },
38179
+ missing_device_ids: {
38180
+ description:
38181
+ 'IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure.',
38182
+ items: { format: 'uuid', type: 'string' },
38183
+ type: 'array',
38184
+ },
38149
38185
  },
38150
38186
  required: [
38151
38187
  'created_at',
@@ -12581,6 +12581,8 @@ export type Routes = {
12581
12581
  message: string
12582
12582
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12583
12583
  error_code: 'cannot_create_requested_access_methods'
12584
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
12585
+ missing_device_ids?: string[] | undefined
12584
12586
  }[]
12585
12587
  /** ID of the customization profile associated with the Access Grant. */
12586
12588
  customization_profile_id?: string | undefined
@@ -12807,6 +12809,8 @@ export type Routes = {
12807
12809
  message: string
12808
12810
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12809
12811
  error_code: 'cannot_create_requested_access_methods'
12812
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
12813
+ missing_device_ids?: string[] | undefined
12810
12814
  }[]
12811
12815
  /** ID of the customization profile associated with the Access Grant. */
12812
12816
  customization_profile_id?: string | undefined
@@ -15662,6 +15666,8 @@ export type Routes = {
15662
15666
  message: string
15663
15667
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15664
15668
  error_code: 'cannot_create_requested_access_methods'
15669
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15670
+ missing_device_ids?: string[] | undefined
15665
15671
  }[]
15666
15672
  /** ID of the customization profile associated with the Access Grant. */
15667
15673
  customization_profile_id?: string | undefined
@@ -15888,6 +15894,8 @@ export type Routes = {
15888
15894
  message: string
15889
15895
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15890
15896
  error_code: 'cannot_create_requested_access_methods'
15897
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15898
+ missing_device_ids?: string[] | undefined
15891
15899
  }[]
15892
15900
  /** ID of the customization profile associated with the Access Grant. */
15893
15901
  customization_profile_id?: string | undefined
@@ -16088,6 +16096,8 @@ export type Routes = {
16088
16096
  message: string
16089
16097
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16090
16098
  error_code: 'cannot_create_requested_access_methods'
16099
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
16100
+ missing_device_ids?: string[] | undefined
16091
16101
  }[]
16092
16102
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
16093
16103
  pending_mutations: (
@@ -16297,6 +16307,8 @@ export type Routes = {
16297
16307
  message: string
16298
16308
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16299
16309
  error_code: 'cannot_create_requested_access_methods'
16310
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
16311
+ missing_device_ids?: string[] | undefined
16300
16312
  }[]
16301
16313
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
16302
16314
  pending_mutations: (
@@ -20168,6 +20180,8 @@ export type Routes = {
20168
20180
  message: string
20169
20181
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20170
20182
  error_code: 'cannot_create_requested_access_methods'
20183
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
20184
+ missing_device_ids?: string[] | undefined
20171
20185
  }[]
20172
20186
  /** ID of the customization profile associated with the Access Grant. */
20173
20187
  customization_profile_id?: string | undefined
@@ -44416,6 +44430,8 @@ export type Routes = {
44416
44430
  event_type: 'access_grant.could_not_create_requested_access_methods'
44417
44431
  /** Description of why the access methods could not be created. */
44418
44432
  error_message: string
44433
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
44434
+ missing_device_ids?: string[] | undefined
44419
44435
  }
44420
44436
  | {
44421
44437
  /** ID of the event. */
@@ -47834,6 +47850,8 @@ export type Routes = {
47834
47850
  event_type: 'access_grant.could_not_create_requested_access_methods'
47835
47851
  /** Description of why the access methods could not be created. */
47836
47852
  error_message: string
47853
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
47854
+ missing_device_ids?: string[] | undefined
47837
47855
  }
47838
47856
  | {
47839
47857
  /** ID of the event. */
@@ -73994,6 +74012,8 @@ export type Routes = {
73994
74012
  message: string
73995
74013
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
73996
74014
  error_code: 'cannot_create_requested_access_methods'
74015
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
74016
+ missing_device_ids?: string[] | undefined
73997
74017
  }[]
73998
74018
  /** ID of the customization profile associated with the Access Grant. */
73999
74019
  customization_profile_id?: string | undefined
@@ -77703,6 +77723,8 @@ export type Routes = {
77703
77723
  event_type: 'access_grant.could_not_create_requested_access_methods'
77704
77724
  /** Description of why the access methods could not be created. */
77705
77725
  error_message: string
77726
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
77727
+ missing_device_ids?: string[] | undefined
77706
77728
  }
77707
77729
  | {
77708
77730
  /** ID of the event. */
@@ -80601,6 +80623,8 @@ export type Routes = {
80601
80623
  message: string
80602
80624
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
80603
80625
  error_code: 'cannot_create_requested_access_methods'
80626
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
80627
+ missing_device_ids?: string[] | undefined
80604
80628
  }[]
80605
80629
  /** ID of the customization profile associated with the Access Grant. */
80606
80630
  customization_profile_id?: string | undefined
@@ -81114,6 +81138,8 @@ export type Routes = {
81114
81138
  message: string
81115
81139
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81116
81140
  error_code: 'cannot_create_requested_access_methods'
81141
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
81142
+ missing_device_ids?: string[] | undefined
81117
81143
  }[]
81118
81144
  /** ID of the customization profile associated with the Access Grant. */
81119
81145
  customization_profile_id?: string | undefined
@@ -114960,6 +114986,8 @@ export type Routes = {
114960
114986
  message: string
114961
114987
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
114962
114988
  error_code: 'cannot_create_requested_access_methods'
114989
+ /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
114990
+ missing_device_ids?: string[] | undefined
114963
114991
  }[]
114964
114992
  /** ID of the customization profile associated with the Access Grant. */
114965
114993
  customization_profile_id?: string | undefined
@@ -116044,6 +116072,8 @@ export type Routes = {
116044
116072
  event_type: 'access_grant.could_not_create_requested_access_methods'
116045
116073
  /** Description of why the access methods could not be created. */
116046
116074
  error_message: string
116075
+ /** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
116076
+ missing_device_ids?: string[] | undefined
116047
116077
  }
116048
116078
  | {
116049
116079
  /** ID of the event. */