@seamapi/types 1.940.0 → 1.942.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 -64
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +20 -167
- package/dist/index.cjs +90 -64
- 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 -14
- 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 +90 -54
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -15
- package/src/lib/seam/connect/openapi.ts +93 -64
- package/src/lib/seam/connect/route-types.ts +34 -110
package/dist/connect.cjs
CHANGED
|
@@ -2607,14 +2607,6 @@ var no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
|
2607
2607
|
---
|
|
2608
2608
|
No space for access code on device.
|
|
2609
2609
|
`);
|
|
2610
|
-
var access_code_state_unconfirmed = common_access_code_error.extend({
|
|
2611
|
-
error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
|
|
2612
|
-
}).describe(`
|
|
2613
|
-
---
|
|
2614
|
-
resource_type: access_code
|
|
2615
|
-
---
|
|
2616
|
-
Indicates that the provider cannot confirm whether the access code was set or removed on the device.
|
|
2617
|
-
`);
|
|
2618
2610
|
var insufficient_permissions2 = common_access_code_error.extend({
|
|
2619
2611
|
error_code: zod.z.literal("insufficient_permissions").describe(error_code_description3)
|
|
2620
2612
|
}).describe(`
|
|
@@ -2649,7 +2641,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2649
2641
|
duplicate_code_on_device,
|
|
2650
2642
|
duplicate_code_attempt_prevented,
|
|
2651
2643
|
no_space_for_access_code_on_device,
|
|
2652
|
-
access_code_state_unconfirmed,
|
|
2653
2644
|
code_modified_external_to_seam_error,
|
|
2654
2645
|
access_code_inactive_error,
|
|
2655
2646
|
salto_ks_user_not_subscribed,
|
|
@@ -2664,7 +2655,6 @@ zod.z.object({
|
|
|
2664
2655
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
2665
2656
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
2666
2657
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
2667
|
-
access_code_state_unconfirmed: access_code_state_unconfirmed.optional().nullable(),
|
|
2668
2658
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2669
2659
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2670
2660
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
@@ -7812,33 +7802,6 @@ var openapi = {
|
|
|
7812
7802
|
type: "object",
|
|
7813
7803
|
"x-resource-type": "access_code"
|
|
7814
7804
|
},
|
|
7815
|
-
{
|
|
7816
|
-
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
7817
|
-
properties: {
|
|
7818
|
-
created_at: {
|
|
7819
|
-
description: "Date and time at which Seam created the error.",
|
|
7820
|
-
format: "date-time",
|
|
7821
|
-
type: "string"
|
|
7822
|
-
},
|
|
7823
|
-
error_code: {
|
|
7824
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7825
|
-
enum: ["access_code_state_unconfirmed"],
|
|
7826
|
-
type: "string"
|
|
7827
|
-
},
|
|
7828
|
-
is_access_code_error: {
|
|
7829
|
-
description: "Indicates that this is an access code error.",
|
|
7830
|
-
enum: [true],
|
|
7831
|
-
type: "boolean"
|
|
7832
|
-
},
|
|
7833
|
-
message: {
|
|
7834
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7835
|
-
type: "string"
|
|
7836
|
-
}
|
|
7837
|
-
},
|
|
7838
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7839
|
-
type: "object",
|
|
7840
|
-
"x-resource-type": "access_code"
|
|
7841
|
-
},
|
|
7842
7805
|
{
|
|
7843
7806
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
7844
7807
|
properties: {
|
|
@@ -33796,33 +33759,6 @@ var openapi = {
|
|
|
33796
33759
|
type: "object",
|
|
33797
33760
|
"x-resource-type": "access_code"
|
|
33798
33761
|
},
|
|
33799
|
-
{
|
|
33800
|
-
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
33801
|
-
properties: {
|
|
33802
|
-
created_at: {
|
|
33803
|
-
description: "Date and time at which Seam created the error.",
|
|
33804
|
-
format: "date-time",
|
|
33805
|
-
type: "string"
|
|
33806
|
-
},
|
|
33807
|
-
error_code: {
|
|
33808
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33809
|
-
enum: ["access_code_state_unconfirmed"],
|
|
33810
|
-
type: "string"
|
|
33811
|
-
},
|
|
33812
|
-
is_access_code_error: {
|
|
33813
|
-
description: "Indicates that this is an access code error.",
|
|
33814
|
-
enum: [true],
|
|
33815
|
-
type: "boolean"
|
|
33816
|
-
},
|
|
33817
|
-
message: {
|
|
33818
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33819
|
-
type: "string"
|
|
33820
|
-
}
|
|
33821
|
-
},
|
|
33822
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
33823
|
-
type: "object",
|
|
33824
|
-
"x-resource-type": "access_code"
|
|
33825
|
-
},
|
|
33826
33762
|
{
|
|
33827
33763
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
33828
33764
|
properties: {
|
|
@@ -69610,6 +69546,96 @@ var openapi = {
|
|
|
69610
69546
|
"x-undocumented": "Internal endpoint for Console"
|
|
69611
69547
|
}
|
|
69612
69548
|
},
|
|
69549
|
+
"/seam/console/v1/workspace/feature_flags/update": {
|
|
69550
|
+
post: {
|
|
69551
|
+
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.",
|
|
69552
|
+
operationId: "seamConsoleV1WorkspaceFeatureFlagsUpdatePost",
|
|
69553
|
+
requestBody: {
|
|
69554
|
+
content: {
|
|
69555
|
+
"application/json": {
|
|
69556
|
+
schema: {
|
|
69557
|
+
properties: {
|
|
69558
|
+
enabled: {
|
|
69559
|
+
description: "Whether the feature flag should be enabled for the workspace.",
|
|
69560
|
+
type: "boolean"
|
|
69561
|
+
},
|
|
69562
|
+
feature_flag_name: {
|
|
69563
|
+
description: "Name of the workspace feature flag to update.",
|
|
69564
|
+
enum: [
|
|
69565
|
+
"RESERVATION_LEGACY",
|
|
69566
|
+
"EXPERIMENTAL_DASHBOARD_API_ENABLED",
|
|
69567
|
+
"ICAL_CONNECTOR",
|
|
69568
|
+
"VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
|
|
69569
|
+
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
69570
|
+
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
69571
|
+
"LYNX_MIGRATION_ENABLED"
|
|
69572
|
+
],
|
|
69573
|
+
type: "string"
|
|
69574
|
+
}
|
|
69575
|
+
},
|
|
69576
|
+
required: ["feature_flag_name", "enabled"],
|
|
69577
|
+
type: "object"
|
|
69578
|
+
}
|
|
69579
|
+
}
|
|
69580
|
+
}
|
|
69581
|
+
},
|
|
69582
|
+
responses: {
|
|
69583
|
+
200: {
|
|
69584
|
+
content: {
|
|
69585
|
+
"application/json": {
|
|
69586
|
+
schema: {
|
|
69587
|
+
properties: {
|
|
69588
|
+
feature_flag: {
|
|
69589
|
+
properties: {
|
|
69590
|
+
enabled: { type: "boolean" },
|
|
69591
|
+
feature_flag_name: {
|
|
69592
|
+
enum: [
|
|
69593
|
+
"RESERVATION_LEGACY",
|
|
69594
|
+
"EXPERIMENTAL_DASHBOARD_API_ENABLED",
|
|
69595
|
+
"ICAL_CONNECTOR",
|
|
69596
|
+
"VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
|
|
69597
|
+
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
69598
|
+
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
69599
|
+
"LYNX_MIGRATION_ENABLED"
|
|
69600
|
+
],
|
|
69601
|
+
type: "string"
|
|
69602
|
+
}
|
|
69603
|
+
},
|
|
69604
|
+
required: ["feature_flag_name", "enabled"],
|
|
69605
|
+
type: "object"
|
|
69606
|
+
},
|
|
69607
|
+
ok: { type: "boolean" }
|
|
69608
|
+
},
|
|
69609
|
+
required: ["feature_flag", "ok"],
|
|
69610
|
+
type: "object"
|
|
69611
|
+
}
|
|
69612
|
+
}
|
|
69613
|
+
},
|
|
69614
|
+
description: "OK"
|
|
69615
|
+
},
|
|
69616
|
+
400: { description: "Bad Request" },
|
|
69617
|
+
401: { description: "Unauthorized" }
|
|
69618
|
+
},
|
|
69619
|
+
security: [
|
|
69620
|
+
{ pat_with_workspace: [] },
|
|
69621
|
+
{ console_session_with_workspace: [] },
|
|
69622
|
+
{ api_key: [] }
|
|
69623
|
+
],
|
|
69624
|
+
summary: "/seam/console/v1/workspace/feature_flags/update",
|
|
69625
|
+
tags: [],
|
|
69626
|
+
"x-fern-sdk-group-name": [
|
|
69627
|
+
"seam",
|
|
69628
|
+
"console",
|
|
69629
|
+
"v1",
|
|
69630
|
+
"workspace",
|
|
69631
|
+
"feature_flags"
|
|
69632
|
+
],
|
|
69633
|
+
"x-fern-sdk-method-name": "update",
|
|
69634
|
+
"x-fern-sdk-return-value": "feature_flag",
|
|
69635
|
+
"x-response-key": "feature_flag",
|
|
69636
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
69637
|
+
}
|
|
69638
|
+
},
|
|
69613
69639
|
"/seam/customer/v1/access_grants/list": {
|
|
69614
69640
|
get: {
|
|
69615
69641
|
description: "Gets an Access Grant.",
|