@seamapi/types 1.939.0 → 1.941.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 +661 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +113 -0
- package/dist/index.cjs +661 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +661 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +113 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +683 -0
- package/src/lib/seam/connect/route-types.ts +127 -0
package/dist/connect.d.cts
CHANGED
|
@@ -104500,6 +104500,99 @@ type Routes = {
|
|
|
104500
104500
|
};
|
|
104501
104501
|
maxDuration: undefined;
|
|
104502
104502
|
};
|
|
104503
|
+
'/seam/console/v1/lynx_migration/get_property_migration_status': {
|
|
104504
|
+
route: '/seam/console/v1/lynx_migration/get_property_migration_status';
|
|
104505
|
+
method: 'GET' | 'POST';
|
|
104506
|
+
queryParams: {};
|
|
104507
|
+
jsonBody: {};
|
|
104508
|
+
commonParams: {
|
|
104509
|
+
/** ID of the space (property) to get the migration status for. */
|
|
104510
|
+
space_id: string;
|
|
104511
|
+
};
|
|
104512
|
+
formData: {};
|
|
104513
|
+
jsonResponse: {
|
|
104514
|
+
lynx_migration_property_run: {
|
|
104515
|
+
lynx_migration_property_run_id: string;
|
|
104516
|
+
space_id: string;
|
|
104517
|
+
status: string;
|
|
104518
|
+
created_at: string;
|
|
104519
|
+
updated_at: string;
|
|
104520
|
+
child_status_counts: {
|
|
104521
|
+
[x: string]: number;
|
|
104522
|
+
};
|
|
104523
|
+
} | null;
|
|
104524
|
+
};
|
|
104525
|
+
maxDuration: undefined;
|
|
104526
|
+
};
|
|
104527
|
+
'/seam/console/v1/lynx_migration/get_reservation_migration_status': {
|
|
104528
|
+
route: '/seam/console/v1/lynx_migration/get_reservation_migration_status';
|
|
104529
|
+
method: 'GET' | 'POST';
|
|
104530
|
+
queryParams: {};
|
|
104531
|
+
jsonBody: {};
|
|
104532
|
+
commonParams: {
|
|
104533
|
+
/** ID of the access grant (reservation) to get the migration status for. */
|
|
104534
|
+
access_grant_id: string;
|
|
104535
|
+
};
|
|
104536
|
+
formData: {};
|
|
104537
|
+
jsonResponse: {
|
|
104538
|
+
lynx_migration_reservation_run: {
|
|
104539
|
+
lynx_migration_run_id: string;
|
|
104540
|
+
access_grant_id: string;
|
|
104541
|
+
status: string;
|
|
104542
|
+
created_at: string;
|
|
104543
|
+
updated_at: string;
|
|
104544
|
+
} | null;
|
|
104545
|
+
};
|
|
104546
|
+
maxDuration: undefined;
|
|
104547
|
+
};
|
|
104548
|
+
'/seam/console/v1/lynx_migration/list_property_reservations': {
|
|
104549
|
+
route: '/seam/console/v1/lynx_migration/list_property_reservations';
|
|
104550
|
+
method: 'GET' | 'POST';
|
|
104551
|
+
queryParams: {};
|
|
104552
|
+
jsonBody: {};
|
|
104553
|
+
commonParams: {
|
|
104554
|
+
/** ID of the space (property) to plan a Lynx migration for. */
|
|
104555
|
+
space_id: string;
|
|
104556
|
+
};
|
|
104557
|
+
formData: {};
|
|
104558
|
+
jsonResponse: {
|
|
104559
|
+
lynx_migration_property_plan: {
|
|
104560
|
+
space_id: string;
|
|
104561
|
+
total: number;
|
|
104562
|
+
eligible_count: number;
|
|
104563
|
+
eligible: {
|
|
104564
|
+
access_grant_id: string;
|
|
104565
|
+
guest_name: string | null;
|
|
104566
|
+
}[];
|
|
104567
|
+
skipped: {
|
|
104568
|
+
access_grant_id: string;
|
|
104569
|
+
guest_name: string | null;
|
|
104570
|
+
reason: string | null;
|
|
104571
|
+
}[];
|
|
104572
|
+
};
|
|
104573
|
+
};
|
|
104574
|
+
maxDuration: undefined;
|
|
104575
|
+
};
|
|
104576
|
+
'/seam/console/v1/lynx_migration/migrate_property': {
|
|
104577
|
+
route: '/seam/console/v1/lynx_migration/migrate_property';
|
|
104578
|
+
method: 'POST';
|
|
104579
|
+
queryParams: {};
|
|
104580
|
+
jsonBody: {};
|
|
104581
|
+
commonParams: {
|
|
104582
|
+
/** ID of the space (property) to migrate. */
|
|
104583
|
+
space_id: string;
|
|
104584
|
+
};
|
|
104585
|
+
formData: {};
|
|
104586
|
+
jsonResponse: {
|
|
104587
|
+
lynx_migration_property_run: {
|
|
104588
|
+
lynx_migration_property_run_id: string;
|
|
104589
|
+
space_id: string;
|
|
104590
|
+
status: string;
|
|
104591
|
+
already_running: boolean;
|
|
104592
|
+
};
|
|
104593
|
+
};
|
|
104594
|
+
maxDuration: undefined;
|
|
104595
|
+
};
|
|
104503
104596
|
'/seam/console/v1/sites/create': {
|
|
104504
104597
|
route: '/seam/console/v1/sites/create';
|
|
104505
104598
|
method: 'POST';
|
|
@@ -104819,6 +104912,26 @@ type Routes = {
|
|
|
104819
104912
|
};
|
|
104820
104913
|
maxDuration: undefined;
|
|
104821
104914
|
};
|
|
104915
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
104916
|
+
route: '/seam/console/v1/workspace/feature_flags/update';
|
|
104917
|
+
method: 'POST';
|
|
104918
|
+
queryParams: {};
|
|
104919
|
+
jsonBody: {};
|
|
104920
|
+
commonParams: {
|
|
104921
|
+
/** Name of the workspace feature flag to update. */
|
|
104922
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'LYNX_MIGRATION_ENABLED';
|
|
104923
|
+
/** Whether the feature flag should be enabled for the workspace. */
|
|
104924
|
+
enabled: boolean;
|
|
104925
|
+
};
|
|
104926
|
+
formData: {};
|
|
104927
|
+
jsonResponse: {
|
|
104928
|
+
feature_flag: {
|
|
104929
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'LYNX_MIGRATION_ENABLED';
|
|
104930
|
+
enabled: boolean;
|
|
104931
|
+
};
|
|
104932
|
+
};
|
|
104933
|
+
maxDuration: undefined;
|
|
104934
|
+
};
|
|
104822
104935
|
'/seam/customer/v1/access_grants/list': {
|
|
104823
104936
|
route: '/seam/customer/v1/access_grants/list';
|
|
104824
104937
|
method: 'GET' | 'POST';
|