@seamapi/types 1.940.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.
@@ -104912,6 +104912,26 @@ type Routes = {
104912
104912
  };
104913
104913
  maxDuration: undefined;
104914
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
+ };
104915
104935
  '/seam/customer/v1/access_grants/list': {
104916
104936
  route: '/seam/customer/v1/access_grants/list';
104917
104937
  method: 'GET' | 'POST';
package/dist/index.cjs CHANGED
@@ -69610,6 +69610,96 @@ var openapi = {
69610
69610
  "x-undocumented": "Internal endpoint for Console"
69611
69611
  }
69612
69612
  },
69613
+ "/seam/console/v1/workspace/feature_flags/update": {
69614
+ post: {
69615
+ description: "Enables or disables a per-workspace feature flag (e.g. whether the Lynx\nmigration is enabled for the workspace). Only flags in the workspace-toggleable\nset can be updated.",
69616
+ operationId: "seamConsoleV1WorkspaceFeatureFlagsUpdatePost",
69617
+ requestBody: {
69618
+ content: {
69619
+ "application/json": {
69620
+ schema: {
69621
+ properties: {
69622
+ enabled: {
69623
+ description: "Whether the feature flag should be enabled for the workspace.",
69624
+ type: "boolean"
69625
+ },
69626
+ feature_flag_name: {
69627
+ description: "Name of the workspace feature flag to update.",
69628
+ enum: [
69629
+ "RESERVATION_LEGACY",
69630
+ "EXPERIMENTAL_DASHBOARD_API_ENABLED",
69631
+ "ICAL_CONNECTOR",
69632
+ "VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
69633
+ "SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
69634
+ "MANAGE_DEVICES_CONFIRMATION_MODAL",
69635
+ "LYNX_MIGRATION_ENABLED"
69636
+ ],
69637
+ type: "string"
69638
+ }
69639
+ },
69640
+ required: ["feature_flag_name", "enabled"],
69641
+ type: "object"
69642
+ }
69643
+ }
69644
+ }
69645
+ },
69646
+ responses: {
69647
+ 200: {
69648
+ content: {
69649
+ "application/json": {
69650
+ schema: {
69651
+ properties: {
69652
+ feature_flag: {
69653
+ properties: {
69654
+ enabled: { type: "boolean" },
69655
+ feature_flag_name: {
69656
+ enum: [
69657
+ "RESERVATION_LEGACY",
69658
+ "EXPERIMENTAL_DASHBOARD_API_ENABLED",
69659
+ "ICAL_CONNECTOR",
69660
+ "VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
69661
+ "SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
69662
+ "MANAGE_DEVICES_CONFIRMATION_MODAL",
69663
+ "LYNX_MIGRATION_ENABLED"
69664
+ ],
69665
+ type: "string"
69666
+ }
69667
+ },
69668
+ required: ["feature_flag_name", "enabled"],
69669
+ type: "object"
69670
+ },
69671
+ ok: { type: "boolean" }
69672
+ },
69673
+ required: ["feature_flag", "ok"],
69674
+ type: "object"
69675
+ }
69676
+ }
69677
+ },
69678
+ description: "OK"
69679
+ },
69680
+ 400: { description: "Bad Request" },
69681
+ 401: { description: "Unauthorized" }
69682
+ },
69683
+ security: [
69684
+ { pat_with_workspace: [] },
69685
+ { console_session_with_workspace: [] },
69686
+ { api_key: [] }
69687
+ ],
69688
+ summary: "/seam/console/v1/workspace/feature_flags/update",
69689
+ tags: [],
69690
+ "x-fern-sdk-group-name": [
69691
+ "seam",
69692
+ "console",
69693
+ "v1",
69694
+ "workspace",
69695
+ "feature_flags"
69696
+ ],
69697
+ "x-fern-sdk-method-name": "update",
69698
+ "x-fern-sdk-return-value": "feature_flag",
69699
+ "x-response-key": "feature_flag",
69700
+ "x-undocumented": "Internal endpoint for Console"
69701
+ }
69702
+ },
69613
69703
  "/seam/customer/v1/access_grants/list": {
69614
69704
  get: {
69615
69705
  description: "Gets an Access Grant.",