@seamapi/types 1.944.0 → 1.945.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.
@@ -74750,6 +74750,22 @@ export type Routes = {
74750
74750
  status: string;
74751
74751
  created_at: string;
74752
74752
  updated_at: string;
74753
+ deleted_codes: {
74754
+ access_code_id: string;
74755
+ code: string | null;
74756
+ name: string | null;
74757
+ is_managed: boolean;
74758
+ device_id: string | null;
74759
+ type: string | null;
74760
+ starts_at: string | null;
74761
+ ends_at: string | null;
74762
+ origin: string;
74763
+ }[];
74764
+ account_sync_requests: {
74765
+ at: string;
74766
+ phase: string;
74767
+ connected_account_ids: string[];
74768
+ }[];
74753
74769
  } | null;
74754
74770
  };
74755
74771
  maxDuration: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.944.0",
3
+ "version": "1.945.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -66010,7 +66010,7 @@ const openapi: OpenAPISpec = {
66010
66010
  '/seam/console/v1/lynx_migration/get_reservation_migration_status': {
66011
66011
  get: {
66012
66012
  description:
66013
- 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.',
66013
+ 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.\n\nIncludes the codes the cutover deleted (snapshotted before deletion, so the\nhistory survives the hard-delete) and each connected-account sync it requested.',
66014
66014
  operationId:
66015
66015
  'seamConsoleV1LynxMigrationGetReservationMigrationStatusGet',
66016
66016
  parameters: [
@@ -66036,7 +66036,57 @@ const openapi: OpenAPISpec = {
66036
66036
  nullable: true,
66037
66037
  properties: {
66038
66038
  access_grant_id: { format: 'uuid', type: 'string' },
66039
+ account_sync_requests: {
66040
+ items: {
66041
+ properties: {
66042
+ at: { type: 'string' },
66043
+ connected_account_ids: {
66044
+ items: { format: 'uuid', type: 'string' },
66045
+ type: 'array',
66046
+ },
66047
+ phase: { type: 'string' },
66048
+ },
66049
+ required: ['at', 'phase', 'connected_account_ids'],
66050
+ type: 'object',
66051
+ },
66052
+ type: 'array',
66053
+ },
66039
66054
  created_at: { type: 'string' },
66055
+ deleted_codes: {
66056
+ items: {
66057
+ properties: {
66058
+ access_code_id: {
66059
+ format: 'uuid',
66060
+ type: 'string',
66061
+ },
66062
+ code: { nullable: true, type: 'string' },
66063
+ device_id: {
66064
+ format: 'uuid',
66065
+ nullable: true,
66066
+ type: 'string',
66067
+ },
66068
+ ends_at: { nullable: true, type: 'string' },
66069
+ is_managed: { type: 'boolean' },
66070
+ name: { nullable: true, type: 'string' },
66071
+ origin: { type: 'string' },
66072
+ starts_at: { nullable: true, type: 'string' },
66073
+ type: { nullable: true, type: 'string' },
66074
+ },
66075
+ required: [
66076
+ 'access_code_id',
66077
+ 'code',
66078
+ 'name',
66079
+ 'is_managed',
66080
+ 'device_id',
66081
+ 'type',
66082
+ 'starts_at',
66083
+ 'ends_at',
66084
+ 'origin',
66085
+ ],
66086
+ type: 'object',
66087
+ },
66088
+ type: 'array',
66089
+ },
66040
66090
  lynx_migration_run_id: {
66041
66091
  format: 'uuid',
66042
66092
  type: 'string',
@@ -66050,6 +66100,8 @@ const openapi: OpenAPISpec = {
66050
66100
  'status',
66051
66101
  'created_at',
66052
66102
  'updated_at',
66103
+ 'deleted_codes',
66104
+ 'account_sync_requests',
66053
66105
  ],
66054
66106
  type: 'object',
66055
66107
  },
@@ -66082,7 +66134,7 @@ const openapi: OpenAPISpec = {
66082
66134
  },
66083
66135
  post: {
66084
66136
  description:
66085
- 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.',
66137
+ 'Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id — a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.\n\nIncludes the codes the cutover deleted (snapshotted before deletion, so the\nhistory survives the hard-delete) and each connected-account sync it requested.',
66086
66138
  operationId:
66087
66139
  'seamConsoleV1LynxMigrationGetReservationMigrationStatusPost',
66088
66140
  requestBody: {
@@ -66113,7 +66165,57 @@ const openapi: OpenAPISpec = {
66113
66165
  nullable: true,
66114
66166
  properties: {
66115
66167
  access_grant_id: { format: 'uuid', type: 'string' },
66168
+ account_sync_requests: {
66169
+ items: {
66170
+ properties: {
66171
+ at: { type: 'string' },
66172
+ connected_account_ids: {
66173
+ items: { format: 'uuid', type: 'string' },
66174
+ type: 'array',
66175
+ },
66176
+ phase: { type: 'string' },
66177
+ },
66178
+ required: ['at', 'phase', 'connected_account_ids'],
66179
+ type: 'object',
66180
+ },
66181
+ type: 'array',
66182
+ },
66116
66183
  created_at: { type: 'string' },
66184
+ deleted_codes: {
66185
+ items: {
66186
+ properties: {
66187
+ access_code_id: {
66188
+ format: 'uuid',
66189
+ type: 'string',
66190
+ },
66191
+ code: { nullable: true, type: 'string' },
66192
+ device_id: {
66193
+ format: 'uuid',
66194
+ nullable: true,
66195
+ type: 'string',
66196
+ },
66197
+ ends_at: { nullable: true, type: 'string' },
66198
+ is_managed: { type: 'boolean' },
66199
+ name: { nullable: true, type: 'string' },
66200
+ origin: { type: 'string' },
66201
+ starts_at: { nullable: true, type: 'string' },
66202
+ type: { nullable: true, type: 'string' },
66203
+ },
66204
+ required: [
66205
+ 'access_code_id',
66206
+ 'code',
66207
+ 'name',
66208
+ 'is_managed',
66209
+ 'device_id',
66210
+ 'type',
66211
+ 'starts_at',
66212
+ 'ends_at',
66213
+ 'origin',
66214
+ ],
66215
+ type: 'object',
66216
+ },
66217
+ type: 'array',
66218
+ },
66117
66219
  lynx_migration_run_id: {
66118
66220
  format: 'uuid',
66119
66221
  type: 'string',
@@ -66127,6 +66229,8 @@ const openapi: OpenAPISpec = {
66127
66229
  'status',
66128
66230
  'created_at',
66129
66231
  'updated_at',
66232
+ 'deleted_codes',
66233
+ 'account_sync_requests',
66130
66234
  ],
66131
66235
  type: 'object',
66132
66236
  },
@@ -89561,6 +89561,22 @@ export type Routes = {
89561
89561
  status: string
89562
89562
  created_at: string
89563
89563
  updated_at: string
89564
+ deleted_codes: {
89565
+ access_code_id: string
89566
+ code: string | null
89567
+ name: string | null
89568
+ is_managed: boolean
89569
+ device_id: string | null
89570
+ type: string | null
89571
+ starts_at: string | null
89572
+ ends_at: string | null
89573
+ origin: string
89574
+ }[]
89575
+ account_sync_requests: {
89576
+ at: string
89577
+ phase: string
89578
+ connected_account_ids: string[]
89579
+ }[]
89564
89580
  } | null
89565
89581
  }
89566
89582
  maxDuration: undefined