@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.
- package/dist/connect.cjs +90 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +20 -0
- package/dist/index.cjs +90 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +90 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +93 -0
- package/src/lib/seam/connect/route-types.ts +34 -0
|
@@ -75014,6 +75014,26 @@ export type Routes = {
|
|
|
75014
75014
|
};
|
|
75015
75015
|
maxDuration: undefined;
|
|
75016
75016
|
};
|
|
75017
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
75018
|
+
route: '/seam/console/v1/workspace/feature_flags/update';
|
|
75019
|
+
method: 'POST';
|
|
75020
|
+
queryParams: {};
|
|
75021
|
+
jsonBody: {};
|
|
75022
|
+
commonParams: {
|
|
75023
|
+
/** Name of the workspace feature flag to update. */
|
|
75024
|
+
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';
|
|
75025
|
+
/** Whether the feature flag should be enabled for the workspace. */
|
|
75026
|
+
enabled: boolean;
|
|
75027
|
+
};
|
|
75028
|
+
formData: {};
|
|
75029
|
+
jsonResponse: {
|
|
75030
|
+
feature_flag: {
|
|
75031
|
+
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';
|
|
75032
|
+
enabled: boolean;
|
|
75033
|
+
};
|
|
75034
|
+
};
|
|
75035
|
+
maxDuration: undefined;
|
|
75036
|
+
};
|
|
75017
75037
|
'/seam/customer/v1/access_grants/list': {
|
|
75018
75038
|
route: '/seam/customer/v1/access_grants/list';
|
|
75019
75039
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -67699,6 +67699,99 @@ const openapi: OpenAPISpec = {
|
|
|
67699
67699
|
'x-undocumented': 'Internal endpoint for Console',
|
|
67700
67700
|
},
|
|
67701
67701
|
},
|
|
67702
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
67703
|
+
post: {
|
|
67704
|
+
description:
|
|
67705
|
+
'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.',
|
|
67706
|
+
operationId: 'seamConsoleV1WorkspaceFeatureFlagsUpdatePost',
|
|
67707
|
+
requestBody: {
|
|
67708
|
+
content: {
|
|
67709
|
+
'application/json': {
|
|
67710
|
+
schema: {
|
|
67711
|
+
properties: {
|
|
67712
|
+
enabled: {
|
|
67713
|
+
description:
|
|
67714
|
+
'Whether the feature flag should be enabled for the workspace.',
|
|
67715
|
+
type: 'boolean',
|
|
67716
|
+
},
|
|
67717
|
+
feature_flag_name: {
|
|
67718
|
+
description:
|
|
67719
|
+
'Name of the workspace feature flag to update.',
|
|
67720
|
+
enum: [
|
|
67721
|
+
'RESERVATION_LEGACY',
|
|
67722
|
+
'EXPERIMENTAL_DASHBOARD_API_ENABLED',
|
|
67723
|
+
'ICAL_CONNECTOR',
|
|
67724
|
+
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
67725
|
+
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
67726
|
+
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
67727
|
+
'LYNX_MIGRATION_ENABLED',
|
|
67728
|
+
],
|
|
67729
|
+
type: 'string',
|
|
67730
|
+
},
|
|
67731
|
+
},
|
|
67732
|
+
required: ['feature_flag_name', 'enabled'],
|
|
67733
|
+
type: 'object',
|
|
67734
|
+
},
|
|
67735
|
+
},
|
|
67736
|
+
},
|
|
67737
|
+
},
|
|
67738
|
+
responses: {
|
|
67739
|
+
200: {
|
|
67740
|
+
content: {
|
|
67741
|
+
'application/json': {
|
|
67742
|
+
schema: {
|
|
67743
|
+
properties: {
|
|
67744
|
+
feature_flag: {
|
|
67745
|
+
properties: {
|
|
67746
|
+
enabled: { type: 'boolean' },
|
|
67747
|
+
feature_flag_name: {
|
|
67748
|
+
enum: [
|
|
67749
|
+
'RESERVATION_LEGACY',
|
|
67750
|
+
'EXPERIMENTAL_DASHBOARD_API_ENABLED',
|
|
67751
|
+
'ICAL_CONNECTOR',
|
|
67752
|
+
'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS',
|
|
67753
|
+
'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES',
|
|
67754
|
+
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
67755
|
+
'LYNX_MIGRATION_ENABLED',
|
|
67756
|
+
],
|
|
67757
|
+
type: 'string',
|
|
67758
|
+
},
|
|
67759
|
+
},
|
|
67760
|
+
required: ['feature_flag_name', 'enabled'],
|
|
67761
|
+
type: 'object',
|
|
67762
|
+
},
|
|
67763
|
+
ok: { type: 'boolean' },
|
|
67764
|
+
},
|
|
67765
|
+
required: ['feature_flag', 'ok'],
|
|
67766
|
+
type: 'object',
|
|
67767
|
+
},
|
|
67768
|
+
},
|
|
67769
|
+
},
|
|
67770
|
+
description: 'OK',
|
|
67771
|
+
},
|
|
67772
|
+
400: { description: 'Bad Request' },
|
|
67773
|
+
401: { description: 'Unauthorized' },
|
|
67774
|
+
},
|
|
67775
|
+
security: [
|
|
67776
|
+
{ pat_with_workspace: [] },
|
|
67777
|
+
{ console_session_with_workspace: [] },
|
|
67778
|
+
{ api_key: [] },
|
|
67779
|
+
],
|
|
67780
|
+
summary: '/seam/console/v1/workspace/feature_flags/update',
|
|
67781
|
+
tags: [],
|
|
67782
|
+
'x-fern-sdk-group-name': [
|
|
67783
|
+
'seam',
|
|
67784
|
+
'console',
|
|
67785
|
+
'v1',
|
|
67786
|
+
'workspace',
|
|
67787
|
+
'feature_flags',
|
|
67788
|
+
],
|
|
67789
|
+
'x-fern-sdk-method-name': 'update',
|
|
67790
|
+
'x-fern-sdk-return-value': 'feature_flag',
|
|
67791
|
+
'x-response-key': 'feature_flag',
|
|
67792
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
67793
|
+
},
|
|
67794
|
+
},
|
|
67702
67795
|
'/seam/customer/v1/access_grants/list': {
|
|
67703
67796
|
get: {
|
|
67704
67797
|
description: 'Gets an Access Grant.',
|
|
@@ -89851,6 +89851,40 @@ export type Routes = {
|
|
|
89851
89851
|
}
|
|
89852
89852
|
maxDuration: undefined
|
|
89853
89853
|
}
|
|
89854
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
89855
|
+
route: '/seam/console/v1/workspace/feature_flags/update'
|
|
89856
|
+
method: 'POST'
|
|
89857
|
+
queryParams: {}
|
|
89858
|
+
jsonBody: {}
|
|
89859
|
+
commonParams: {
|
|
89860
|
+
/** Name of the workspace feature flag to update. */
|
|
89861
|
+
feature_flag_name:
|
|
89862
|
+
| 'RESERVATION_LEGACY'
|
|
89863
|
+
| 'EXPERIMENTAL_DASHBOARD_API_ENABLED'
|
|
89864
|
+
| 'ICAL_CONNECTOR'
|
|
89865
|
+
| 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS'
|
|
89866
|
+
| 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES'
|
|
89867
|
+
| 'MANAGE_DEVICES_CONFIRMATION_MODAL'
|
|
89868
|
+
| 'LYNX_MIGRATION_ENABLED'
|
|
89869
|
+
/** Whether the feature flag should be enabled for the workspace. */
|
|
89870
|
+
enabled: boolean
|
|
89871
|
+
}
|
|
89872
|
+
formData: {}
|
|
89873
|
+
jsonResponse: {
|
|
89874
|
+
feature_flag: {
|
|
89875
|
+
feature_flag_name:
|
|
89876
|
+
| 'RESERVATION_LEGACY'
|
|
89877
|
+
| 'EXPERIMENTAL_DASHBOARD_API_ENABLED'
|
|
89878
|
+
| 'ICAL_CONNECTOR'
|
|
89879
|
+
| 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS'
|
|
89880
|
+
| 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES'
|
|
89881
|
+
| 'MANAGE_DEVICES_CONFIRMATION_MODAL'
|
|
89882
|
+
| 'LYNX_MIGRATION_ENABLED'
|
|
89883
|
+
enabled: boolean
|
|
89884
|
+
}
|
|
89885
|
+
}
|
|
89886
|
+
maxDuration: undefined
|
|
89887
|
+
}
|
|
89854
89888
|
'/seam/customer/v1/access_grants/list': {
|
|
89855
89889
|
route: '/seam/customer/v1/access_grants/list'
|
|
89856
89890
|
method: 'GET' | 'POST'
|