@seamapi/types 1.944.0 → 1.946.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 +109 -76
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -167
- package/dist/index.cjs +109 -76
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -17
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
- package/lib/seam/connect/openapi.js +106 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -20
- package/src/lib/seam/connect/openapi.ts +106 -68
- package/src/lib/seam/connect/route-types.ts +16 -110
|
@@ -163,22 +163,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
163
163
|
message: z.ZodString;
|
|
164
164
|
is_access_code_error: z.ZodLiteral<true>;
|
|
165
165
|
created_at: z.ZodOptional<z.ZodString>;
|
|
166
|
-
} & {
|
|
167
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
168
|
-
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
message: string;
|
|
170
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
171
|
-
is_access_code_error: true;
|
|
172
|
-
created_at?: string | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
message: string;
|
|
175
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
176
|
-
is_access_code_error: true;
|
|
177
|
-
created_at?: string | undefined;
|
|
178
|
-
}>, z.ZodObject<{
|
|
179
|
-
message: z.ZodString;
|
|
180
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
181
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
182
166
|
} & {
|
|
183
167
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
184
168
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -379,23 +363,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
379
363
|
is_access_code_error: true;
|
|
380
364
|
created_at?: string | undefined;
|
|
381
365
|
}>>>;
|
|
382
|
-
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
383
|
-
message: z.ZodString;
|
|
384
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
385
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
386
|
-
} & {
|
|
387
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
388
|
-
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
message: string;
|
|
390
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
391
|
-
is_access_code_error: true;
|
|
392
|
-
created_at?: string | undefined;
|
|
393
|
-
}, {
|
|
394
|
-
message: string;
|
|
395
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
396
|
-
is_access_code_error: true;
|
|
397
|
-
created_at?: string | undefined;
|
|
398
|
-
}>>>;
|
|
399
366
|
}, "strip", z.ZodTypeAny, {
|
|
400
367
|
provider_issue?: {
|
|
401
368
|
message: string;
|
|
@@ -447,12 +414,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
447
414
|
is_access_code_error: true;
|
|
448
415
|
created_at?: string | undefined;
|
|
449
416
|
} | null | undefined;
|
|
450
|
-
salto_ks_user_not_subscribed?: {
|
|
451
|
-
message: string;
|
|
452
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
453
|
-
is_access_code_error: true;
|
|
454
|
-
created_at?: string | undefined;
|
|
455
|
-
} | null | undefined;
|
|
456
417
|
code_modified_external_to_seam_error?: {
|
|
457
418
|
message: string;
|
|
458
419
|
error_code: "code_modified_external_to_seam";
|
|
@@ -516,12 +477,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
516
477
|
is_access_code_error: true;
|
|
517
478
|
created_at?: string | undefined;
|
|
518
479
|
} | null | undefined;
|
|
519
|
-
salto_ks_user_not_subscribed?: {
|
|
520
|
-
message: string;
|
|
521
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
522
|
-
is_access_code_error: true;
|
|
523
|
-
created_at?: string | undefined;
|
|
524
|
-
} | null | undefined;
|
|
525
480
|
code_modified_external_to_seam_error?: {
|
|
526
481
|
message: string;
|
|
527
482
|
error_code: "code_modified_external_to_seam";
|
|
@@ -1180,22 +1135,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
1180
1135
|
message: z.ZodString;
|
|
1181
1136
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1182
1137
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
} & {
|
|
1184
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
1185
|
-
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
message: string;
|
|
1187
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1188
|
-
is_access_code_error: true;
|
|
1189
|
-
created_at?: string | undefined;
|
|
1190
|
-
}, {
|
|
1191
|
-
message: string;
|
|
1192
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1193
|
-
is_access_code_error: true;
|
|
1194
|
-
created_at?: string | undefined;
|
|
1195
|
-
}>, z.ZodObject<{
|
|
1196
|
-
message: z.ZodString;
|
|
1197
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1198
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1199
1138
|
} & {
|
|
1200
1139
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
1201
1140
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2118,11 +2057,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2118
2057
|
error_code: "access_code_inactive";
|
|
2119
2058
|
is_access_code_error: true;
|
|
2120
2059
|
created_at?: string | undefined;
|
|
2121
|
-
} | {
|
|
2122
|
-
message: string;
|
|
2123
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2124
|
-
is_access_code_error: true;
|
|
2125
|
-
created_at?: string | undefined;
|
|
2126
2060
|
})[];
|
|
2127
2061
|
warnings: ({
|
|
2128
2062
|
message: string;
|
|
@@ -2411,11 +2345,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2411
2345
|
error_code: "access_code_inactive";
|
|
2412
2346
|
is_access_code_error: true;
|
|
2413
2347
|
created_at?: string | undefined;
|
|
2414
|
-
} | {
|
|
2415
|
-
message: string;
|
|
2416
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2417
|
-
is_access_code_error: true;
|
|
2418
|
-
created_at?: string | undefined;
|
|
2419
2348
|
})[];
|
|
2420
2349
|
warnings: ({
|
|
2421
2350
|
message: string;
|
|
@@ -128,19 +128,6 @@ const access_code_inactive_error = common_access_code_error.extend({
|
|
|
128
128
|
---
|
|
129
129
|
Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
|
|
130
130
|
`);
|
|
131
|
-
const salto_ks_user_not_subscribed = common_access_code_error
|
|
132
|
-
.extend({
|
|
133
|
-
error_code: z
|
|
134
|
-
.literal('salto_ks_user_not_subscribed')
|
|
135
|
-
.describe(error_code_description),
|
|
136
|
-
})
|
|
137
|
-
.describe(`
|
|
138
|
-
---
|
|
139
|
-
resource_type: access_code
|
|
140
|
-
deprecated: Use \`access_code_inactive\` instead.
|
|
141
|
-
---
|
|
142
|
-
Salto site user is not subscribed.
|
|
143
|
-
`);
|
|
144
131
|
const access_code_error = z
|
|
145
132
|
.discriminatedUnion('error_code', [
|
|
146
133
|
provider_issue,
|
|
@@ -151,7 +138,6 @@ const access_code_error = z
|
|
|
151
138
|
no_space_for_access_code_on_device,
|
|
152
139
|
code_modified_external_to_seam_error,
|
|
153
140
|
access_code_inactive_error,
|
|
154
|
-
salto_ks_user_not_subscribed,
|
|
155
141
|
insufficient_permissions,
|
|
156
142
|
])
|
|
157
143
|
.describe('Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).');
|
|
@@ -173,9 +159,6 @@ const _access_code_error_map = z.object({
|
|
|
173
159
|
.optional()
|
|
174
160
|
.nullable(),
|
|
175
161
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
176
|
-
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
|
|
177
|
-
.optional()
|
|
178
|
-
.nullable(),
|
|
179
162
|
});
|
|
180
163
|
const common_access_code_warning = z.object({
|
|
181
164
|
message: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,0CAA0C,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AAEtE,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;CAC9D,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,cAAc,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACzE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,cAAc,GAAG,CAAC,CAAC,M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AQ,CAAC,sBAAsB,CAAC;IACnC,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,0GAA0G,CAC3G;IACH,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,gCAAgC,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,kCAAkC,CAAC;SAC3C,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,kCAAkC,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACzE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,oCAAoC,CAAC;SAC7C,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,0BAA0B,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACjE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,
|
|
1
|
+
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,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AAQ,EAAE;SACV,QAAQ,CACP,wEAAwE,CACzE;IACH,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;SACxD,QAAQ,CACP,8vBAA8vB,CAC/vB;IACH,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,gHAAgH,CACjH;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,6HAA6H,CAC9H;IACH,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,mFAAmF,CACpF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,CACP,mHAAmH,CACpH;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,CACP,2JAA2J,CAC5J;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,qHAAqH,CACtH;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,6BAA6B,CAAC;SACpC,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|
|
@@ -172,22 +172,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
172
172
|
message: z.ZodString;
|
|
173
173
|
is_access_code_error: z.ZodLiteral<true>;
|
|
174
174
|
created_at: z.ZodOptional<z.ZodString>;
|
|
175
|
-
} & {
|
|
176
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
message: string;
|
|
179
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
180
|
-
is_access_code_error: true;
|
|
181
|
-
created_at?: string | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
message: string;
|
|
184
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
185
|
-
is_access_code_error: true;
|
|
186
|
-
created_at?: string | undefined;
|
|
187
|
-
}>, z.ZodObject<{
|
|
188
|
-
message: z.ZodString;
|
|
189
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
190
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
191
175
|
} & {
|
|
192
176
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
193
177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -936,11 +920,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
936
920
|
error_code: "access_code_inactive";
|
|
937
921
|
is_access_code_error: true;
|
|
938
922
|
created_at?: string | undefined;
|
|
939
|
-
} | {
|
|
940
|
-
message: string;
|
|
941
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
942
|
-
is_access_code_error: true;
|
|
943
|
-
created_at?: string | undefined;
|
|
944
923
|
})[];
|
|
945
924
|
warnings: ({
|
|
946
925
|
message: string;
|
|
@@ -1176,11 +1155,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1176
1155
|
error_code: "access_code_inactive";
|
|
1177
1156
|
is_access_code_error: true;
|
|
1178
1157
|
created_at?: string | undefined;
|
|
1179
|
-
} | {
|
|
1180
|
-
message: string;
|
|
1181
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1182
|
-
is_access_code_error: true;
|
|
1183
|
-
created_at?: string | undefined;
|
|
1184
1158
|
})[];
|
|
1185
1159
|
warnings: ({
|
|
1186
1160
|
message: string;
|
|
@@ -337,35 +337,6 @@ const openapi = {
|
|
|
337
337
|
type: 'object',
|
|
338
338
|
'x-resource-type': 'access_code',
|
|
339
339
|
},
|
|
340
|
-
{
|
|
341
|
-
deprecated: true,
|
|
342
|
-
description: 'Salto site user is not subscribed.',
|
|
343
|
-
properties: {
|
|
344
|
-
created_at: {
|
|
345
|
-
description: 'Date and time at which Seam created the error.',
|
|
346
|
-
format: 'date-time',
|
|
347
|
-
type: 'string',
|
|
348
|
-
},
|
|
349
|
-
error_code: {
|
|
350
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
351
|
-
enum: ['salto_ks_user_not_subscribed'],
|
|
352
|
-
type: 'string',
|
|
353
|
-
},
|
|
354
|
-
is_access_code_error: {
|
|
355
|
-
description: 'Indicates that this is an access code error.',
|
|
356
|
-
enum: [true],
|
|
357
|
-
type: 'boolean',
|
|
358
|
-
},
|
|
359
|
-
message: {
|
|
360
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
361
|
-
type: 'string',
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
365
|
-
type: 'object',
|
|
366
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
367
|
-
'x-resource-type': 'access_code',
|
|
368
|
-
},
|
|
369
340
|
{
|
|
370
341
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
371
342
|
properties: {
|
|
@@ -26343,35 +26314,6 @@ const openapi = {
|
|
|
26343
26314
|
type: 'object',
|
|
26344
26315
|
'x-resource-type': 'access_code',
|
|
26345
26316
|
},
|
|
26346
|
-
{
|
|
26347
|
-
deprecated: true,
|
|
26348
|
-
description: 'Salto site user is not subscribed.',
|
|
26349
|
-
properties: {
|
|
26350
|
-
created_at: {
|
|
26351
|
-
description: 'Date and time at which Seam created the error.',
|
|
26352
|
-
format: 'date-time',
|
|
26353
|
-
type: 'string',
|
|
26354
|
-
},
|
|
26355
|
-
error_code: {
|
|
26356
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26357
|
-
enum: ['salto_ks_user_not_subscribed'],
|
|
26358
|
-
type: 'string',
|
|
26359
|
-
},
|
|
26360
|
-
is_access_code_error: {
|
|
26361
|
-
description: 'Indicates that this is an access code error.',
|
|
26362
|
-
enum: [true],
|
|
26363
|
-
type: 'boolean',
|
|
26364
|
-
},
|
|
26365
|
-
message: {
|
|
26366
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
26367
|
-
type: 'string',
|
|
26368
|
-
},
|
|
26369
|
-
},
|
|
26370
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26371
|
-
type: 'object',
|
|
26372
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
26373
|
-
'x-resource-type': 'access_code',
|
|
26374
|
-
},
|
|
26375
26317
|
{
|
|
26376
26318
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
26377
26319
|
properties: {
|
|
@@ -60396,7 +60338,7 @@ const openapi = {
|
|
|
60396
60338
|
},
|
|
60397
60339
|
'/seam/console/v1/lynx_migration/get_reservation_migration_status': {
|
|
60398
60340
|
get: {
|
|
60399
|
-
description: '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.',
|
|
60341
|
+
description: '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.',
|
|
60400
60342
|
operationId: 'seamConsoleV1LynxMigrationGetReservationMigrationStatusGet',
|
|
60401
60343
|
parameters: [
|
|
60402
60344
|
{
|
|
@@ -60420,7 +60362,57 @@ const openapi = {
|
|
|
60420
60362
|
nullable: true,
|
|
60421
60363
|
properties: {
|
|
60422
60364
|
access_grant_id: { format: 'uuid', type: 'string' },
|
|
60365
|
+
account_sync_requests: {
|
|
60366
|
+
items: {
|
|
60367
|
+
properties: {
|
|
60368
|
+
at: { type: 'string' },
|
|
60369
|
+
connected_account_ids: {
|
|
60370
|
+
items: { format: 'uuid', type: 'string' },
|
|
60371
|
+
type: 'array',
|
|
60372
|
+
},
|
|
60373
|
+
phase: { type: 'string' },
|
|
60374
|
+
},
|
|
60375
|
+
required: ['at', 'phase', 'connected_account_ids'],
|
|
60376
|
+
type: 'object',
|
|
60377
|
+
},
|
|
60378
|
+
type: 'array',
|
|
60379
|
+
},
|
|
60423
60380
|
created_at: { type: 'string' },
|
|
60381
|
+
deleted_codes: {
|
|
60382
|
+
items: {
|
|
60383
|
+
properties: {
|
|
60384
|
+
access_code_id: {
|
|
60385
|
+
format: 'uuid',
|
|
60386
|
+
type: 'string',
|
|
60387
|
+
},
|
|
60388
|
+
code: { nullable: true, type: 'string' },
|
|
60389
|
+
device_id: {
|
|
60390
|
+
format: 'uuid',
|
|
60391
|
+
nullable: true,
|
|
60392
|
+
type: 'string',
|
|
60393
|
+
},
|
|
60394
|
+
ends_at: { nullable: true, type: 'string' },
|
|
60395
|
+
is_managed: { type: 'boolean' },
|
|
60396
|
+
name: { nullable: true, type: 'string' },
|
|
60397
|
+
origin: { type: 'string' },
|
|
60398
|
+
starts_at: { nullable: true, type: 'string' },
|
|
60399
|
+
type: { nullable: true, type: 'string' },
|
|
60400
|
+
},
|
|
60401
|
+
required: [
|
|
60402
|
+
'access_code_id',
|
|
60403
|
+
'code',
|
|
60404
|
+
'name',
|
|
60405
|
+
'is_managed',
|
|
60406
|
+
'device_id',
|
|
60407
|
+
'type',
|
|
60408
|
+
'starts_at',
|
|
60409
|
+
'ends_at',
|
|
60410
|
+
'origin',
|
|
60411
|
+
],
|
|
60412
|
+
type: 'object',
|
|
60413
|
+
},
|
|
60414
|
+
type: 'array',
|
|
60415
|
+
},
|
|
60424
60416
|
lynx_migration_run_id: {
|
|
60425
60417
|
format: 'uuid',
|
|
60426
60418
|
type: 'string',
|
|
@@ -60434,6 +60426,8 @@ const openapi = {
|
|
|
60434
60426
|
'status',
|
|
60435
60427
|
'created_at',
|
|
60436
60428
|
'updated_at',
|
|
60429
|
+
'deleted_codes',
|
|
60430
|
+
'account_sync_requests',
|
|
60437
60431
|
],
|
|
60438
60432
|
type: 'object',
|
|
60439
60433
|
},
|
|
@@ -60464,7 +60458,7 @@ const openapi = {
|
|
|
60464
60458
|
'x-undocumented': 'Internal endpoint for Console',
|
|
60465
60459
|
},
|
|
60466
60460
|
post: {
|
|
60467
|
-
description: '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.',
|
|
60461
|
+
description: '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.',
|
|
60468
60462
|
operationId: 'seamConsoleV1LynxMigrationGetReservationMigrationStatusPost',
|
|
60469
60463
|
requestBody: {
|
|
60470
60464
|
content: {
|
|
@@ -60493,7 +60487,57 @@ const openapi = {
|
|
|
60493
60487
|
nullable: true,
|
|
60494
60488
|
properties: {
|
|
60495
60489
|
access_grant_id: { format: 'uuid', type: 'string' },
|
|
60490
|
+
account_sync_requests: {
|
|
60491
|
+
items: {
|
|
60492
|
+
properties: {
|
|
60493
|
+
at: { type: 'string' },
|
|
60494
|
+
connected_account_ids: {
|
|
60495
|
+
items: { format: 'uuid', type: 'string' },
|
|
60496
|
+
type: 'array',
|
|
60497
|
+
},
|
|
60498
|
+
phase: { type: 'string' },
|
|
60499
|
+
},
|
|
60500
|
+
required: ['at', 'phase', 'connected_account_ids'],
|
|
60501
|
+
type: 'object',
|
|
60502
|
+
},
|
|
60503
|
+
type: 'array',
|
|
60504
|
+
},
|
|
60496
60505
|
created_at: { type: 'string' },
|
|
60506
|
+
deleted_codes: {
|
|
60507
|
+
items: {
|
|
60508
|
+
properties: {
|
|
60509
|
+
access_code_id: {
|
|
60510
|
+
format: 'uuid',
|
|
60511
|
+
type: 'string',
|
|
60512
|
+
},
|
|
60513
|
+
code: { nullable: true, type: 'string' },
|
|
60514
|
+
device_id: {
|
|
60515
|
+
format: 'uuid',
|
|
60516
|
+
nullable: true,
|
|
60517
|
+
type: 'string',
|
|
60518
|
+
},
|
|
60519
|
+
ends_at: { nullable: true, type: 'string' },
|
|
60520
|
+
is_managed: { type: 'boolean' },
|
|
60521
|
+
name: { nullable: true, type: 'string' },
|
|
60522
|
+
origin: { type: 'string' },
|
|
60523
|
+
starts_at: { nullable: true, type: 'string' },
|
|
60524
|
+
type: { nullable: true, type: 'string' },
|
|
60525
|
+
},
|
|
60526
|
+
required: [
|
|
60527
|
+
'access_code_id',
|
|
60528
|
+
'code',
|
|
60529
|
+
'name',
|
|
60530
|
+
'is_managed',
|
|
60531
|
+
'device_id',
|
|
60532
|
+
'type',
|
|
60533
|
+
'starts_at',
|
|
60534
|
+
'ends_at',
|
|
60535
|
+
'origin',
|
|
60536
|
+
],
|
|
60537
|
+
type: 'object',
|
|
60538
|
+
},
|
|
60539
|
+
type: 'array',
|
|
60540
|
+
},
|
|
60497
60541
|
lynx_migration_run_id: {
|
|
60498
60542
|
format: 'uuid',
|
|
60499
60543
|
type: 'string',
|
|
@@ -60507,6 +60551,8 @@ const openapi = {
|
|
|
60507
60551
|
'status',
|
|
60508
60552
|
'created_at',
|
|
60509
60553
|
'updated_at',
|
|
60554
|
+
'deleted_codes',
|
|
60555
|
+
'account_sync_requests',
|
|
60510
60556
|
],
|
|
60511
60557
|
type: 'object',
|
|
60512
60558
|
},
|