@seamapi/types 1.292.1 → 1.292.2

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.
@@ -9122,7 +9122,7 @@ declare const _default: {
9122
9122
  format: string;
9123
9123
  type: string;
9124
9124
  };
9125
- device_id: {
9125
+ acs_encoder_id: {
9126
9126
  description: string;
9127
9127
  format: string;
9128
9128
  type: string;
@@ -9192,14 +9192,14 @@ declare const _default: {
9192
9192
  schema: {
9193
9193
  oneOf: ({
9194
9194
  properties: {
9195
- acs_system_ids: {
9195
+ acs_encoder_ids: {
9196
9196
  items: {
9197
9197
  format: string;
9198
9198
  type: string;
9199
9199
  };
9200
9200
  type: string;
9201
9201
  };
9202
- device_ids: {
9202
+ acs_system_ids: {
9203
9203
  items: {
9204
9204
  format: string;
9205
9205
  type: string;
@@ -9216,7 +9216,7 @@ declare const _default: {
9216
9216
  type: string;
9217
9217
  } | {
9218
9218
  properties: {
9219
- device_ids: {
9219
+ acs_encoder_ids: {
9220
9220
  items: {
9221
9221
  format: string;
9222
9222
  type: string;
@@ -9246,7 +9246,7 @@ declare const _default: {
9246
9246
  format: string;
9247
9247
  type: string;
9248
9248
  };
9249
- device_ids?: never;
9249
+ acs_encoder_ids?: never;
9250
9250
  };
9251
9251
  required: string[];
9252
9252
  type: string;
@@ -9261,9 +9261,66 @@ declare const _default: {
9261
9261
  'application/json': {
9262
9262
  schema: {
9263
9263
  properties: {
9264
- devices: {
9264
+ acs_encoders: {
9265
9265
  items: {
9266
- $ref: string;
9266
+ properties: {
9267
+ acs_encoder_id: {
9268
+ description: string;
9269
+ format: string;
9270
+ type: string;
9271
+ };
9272
+ acs_system_id: {
9273
+ description: string;
9274
+ format: string;
9275
+ type: string;
9276
+ };
9277
+ created_at: {
9278
+ description: string;
9279
+ format: string;
9280
+ type: string;
9281
+ };
9282
+ display_name: {
9283
+ description: string;
9284
+ type: string;
9285
+ };
9286
+ errors: {
9287
+ description: string;
9288
+ items: {
9289
+ description: string;
9290
+ properties: {
9291
+ _event_id: {
9292
+ description: string;
9293
+ format: string;
9294
+ type: string;
9295
+ };
9296
+ created_at: {
9297
+ description: string;
9298
+ format: string;
9299
+ type: string;
9300
+ };
9301
+ error_code: {
9302
+ description: string;
9303
+ enum: string[];
9304
+ type: string;
9305
+ };
9306
+ message: {
9307
+ description: string;
9308
+ type: string;
9309
+ };
9310
+ };
9311
+ required: string[];
9312
+ type: string;
9313
+ };
9314
+ type: string;
9315
+ };
9316
+ workspace_id: {
9317
+ description: string;
9318
+ format: string;
9319
+ type: string;
9320
+ };
9321
+ };
9322
+ required: string[];
9323
+ type: string;
9267
9324
  };
9268
9325
  type: string;
9269
9326
  };
@@ -9315,12 +9372,12 @@ declare const _default: {
9315
9372
  'application/json': {
9316
9373
  schema: {
9317
9374
  properties: {
9318
- acs_system_id: {
9375
+ acs_encoder_id: {
9319
9376
  description: string;
9320
9377
  format: string;
9321
9378
  type: string;
9322
9379
  };
9323
- device_id: {
9380
+ acs_system_id: {
9324
9381
  description: string;
9325
9382
  format: string;
9326
9383
  type: string;
@@ -9017,13 +9017,13 @@ export default {
9017
9017
  format: 'uuid',
9018
9018
  type: 'string',
9019
9019
  },
9020
- device_id: {
9021
- description: 'ID of the encoder to use for the encoding.',
9020
+ acs_encoder_id: {
9021
+ description: 'ID of the acs_encoder to use for the encoding.',
9022
9022
  format: 'uuid',
9023
9023
  type: 'string',
9024
9024
  },
9025
9025
  },
9026
- required: ['device_id', 'acs_credential_id'],
9026
+ required: ['acs_encoder_id', 'acs_credential_id'],
9027
9027
  type: 'object',
9028
9028
  },
9029
9029
  },
@@ -9074,28 +9074,28 @@ export default {
9074
9074
  oneOf: [
9075
9075
  {
9076
9076
  properties: {
9077
- acs_system_ids: {
9077
+ acs_encoder_ids: {
9078
9078
  items: { format: 'uuid', type: 'string' },
9079
9079
  type: 'array',
9080
9080
  },
9081
- device_ids: {
9081
+ acs_system_ids: {
9082
9082
  items: { format: 'uuid', type: 'string' },
9083
9083
  type: 'array',
9084
9084
  },
9085
9085
  limit: { default: 500, format: 'float', type: 'number' },
9086
9086
  },
9087
- required: ['acs_system_ids', 'device_ids'],
9087
+ required: ['acs_system_ids', 'acs_encoder_ids'],
9088
9088
  type: 'object',
9089
9089
  },
9090
9090
  {
9091
9091
  properties: {
9092
- device_ids: {
9092
+ acs_encoder_ids: {
9093
9093
  items: { format: 'uuid', type: 'string' },
9094
9094
  type: 'array',
9095
9095
  },
9096
9096
  limit: { default: 500, format: 'float', type: 'number' },
9097
9097
  },
9098
- required: ['device_ids'],
9098
+ required: ['acs_encoder_ids'],
9099
9099
  type: 'object',
9100
9100
  },
9101
9101
  {
@@ -9120,13 +9120,84 @@ export default {
9120
9120
  'application/json': {
9121
9121
  schema: {
9122
9122
  properties: {
9123
- devices: {
9124
- items: { $ref: '#/components/schemas/device' },
9123
+ acs_encoders: {
9124
+ items: {
9125
+ properties: {
9126
+ acs_encoder_id: {
9127
+ description: 'ID of the `acs_encoder`.',
9128
+ format: 'uuid',
9129
+ type: 'string',
9130
+ },
9131
+ acs_system_id: {
9132
+ description: 'ID of the access control system that contains the `acs_encoder`.',
9133
+ format: 'uuid',
9134
+ type: 'string',
9135
+ },
9136
+ created_at: {
9137
+ description: 'Date and time at which the `acs_encoder` was created.',
9138
+ format: 'date-time',
9139
+ type: 'string',
9140
+ },
9141
+ display_name: {
9142
+ description: 'Display name for the `acs_encoder`.',
9143
+ type: 'string',
9144
+ },
9145
+ errors: {
9146
+ description: 'Errors associated with the `acs_encoder`.',
9147
+ items: {
9148
+ description: 'Error associated with the `acs_encoder`.',
9149
+ properties: {
9150
+ _event_id: {
9151
+ description: 'ID of the event that was created when the `acs_encoder` was removed.',
9152
+ format: 'uuid',
9153
+ type: 'string',
9154
+ },
9155
+ created_at: {
9156
+ description: 'Date and time at which Seam created the error.',
9157
+ format: 'date-time',
9158
+ type: 'string',
9159
+ },
9160
+ error_code: {
9161
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
9162
+ enum: ['acs_encoder_removed'],
9163
+ type: 'string',
9164
+ },
9165
+ message: {
9166
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
9167
+ type: 'string',
9168
+ },
9169
+ },
9170
+ required: [
9171
+ 'created_at',
9172
+ 'message',
9173
+ 'error_code',
9174
+ '_event_id',
9175
+ ],
9176
+ type: 'object',
9177
+ },
9178
+ type: 'array',
9179
+ },
9180
+ workspace_id: {
9181
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
9182
+ format: 'uuid',
9183
+ type: 'string',
9184
+ },
9185
+ },
9186
+ required: [
9187
+ 'acs_encoder_id',
9188
+ 'acs_system_id',
9189
+ 'workspace_id',
9190
+ 'errors',
9191
+ 'created_at',
9192
+ 'display_name',
9193
+ ],
9194
+ type: 'object',
9195
+ },
9125
9196
  type: 'array',
9126
9197
  },
9127
9198
  ok: { type: 'boolean' },
9128
9199
  },
9129
- required: ['devices', 'ok'],
9200
+ required: ['acs_encoders', 'ok'],
9130
9201
  type: 'object',
9131
9202
  },
9132
9203
  },
@@ -9145,8 +9216,8 @@ export default {
9145
9216
  tags: ['/acs'],
9146
9217
  'x-fern-sdk-group-name': ['acs', 'encoders'],
9147
9218
  'x-fern-sdk-method-name': 'list',
9148
- 'x-fern-sdk-return-value': 'devices',
9149
- 'x-response-key': 'devices',
9219
+ 'x-fern-sdk-return-value': 'acs_encoders',
9220
+ 'x-response-key': 'acs_encoders',
9150
9221
  'x-undocumented': 'Encoders are in alpha.',
9151
9222
  },
9152
9223
  },
@@ -9158,18 +9229,18 @@ export default {
9158
9229
  'application/json': {
9159
9230
  schema: {
9160
9231
  properties: {
9161
- acs_system_id: {
9162
- description: 'ID of the acs_system the encoder belongs to.',
9232
+ acs_encoder_id: {
9233
+ description: 'ID of the acs_encoder to use for the scan.',
9163
9234
  format: 'uuid',
9164
9235
  type: 'string',
9165
9236
  },
9166
- device_id: {
9167
- description: 'ID of the encoder to use for the scan.',
9237
+ acs_system_id: {
9238
+ description: 'ID of the acs_system the encoder belongs to.',
9168
9239
  format: 'uuid',
9169
9240
  type: 'string',
9170
9241
  },
9171
9242
  },
9172
- required: ['acs_system_id', 'device_id'],
9243
+ required: ['acs_system_id', 'acs_encoder_id'],
9173
9244
  type: 'object',
9174
9245
  },
9175
9246
  },