@seamapi/types 1.20.0 → 1.22.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 +374 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +605 -53
- package/lib/seam/connect/openapi.d.ts +582 -30
- package/lib/seam/connect/openapi.js +374 -25
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -23
- package/lib/seam/connect/unstable/models/acs/user.d.ts +3 -3
- package/lib/seam/connect/unstable/models/acs/user.js +1 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +374 -25
- package/src/lib/seam/connect/route-types.ts +31 -21
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -146,7 +146,7 @@ var openapi_default = {
|
|
|
146
146
|
external_type: { enum: ["pti_user"], type: "string" },
|
|
147
147
|
external_type_display_name: { type: "string" },
|
|
148
148
|
full_name: { type: "string" },
|
|
149
|
-
|
|
149
|
+
is_suspended: { type: "boolean" },
|
|
150
150
|
phone_number: { nullable: true, type: "string" },
|
|
151
151
|
workspace_id: { format: "uuid", type: "string" }
|
|
152
152
|
},
|
|
@@ -158,7 +158,7 @@ var openapi_default = {
|
|
|
158
158
|
"display_name",
|
|
159
159
|
"external_type",
|
|
160
160
|
"external_type_display_name",
|
|
161
|
-
"
|
|
161
|
+
"is_suspended"
|
|
162
162
|
],
|
|
163
163
|
type: "object"
|
|
164
164
|
},
|
|
@@ -1778,16 +1778,19 @@ var openapi_default = {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
},
|
|
1780
1780
|
"/access_codes/generate_code": {
|
|
1781
|
-
|
|
1782
|
-
operationId: "
|
|
1783
|
-
|
|
1784
|
-
{
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1781
|
+
post: {
|
|
1782
|
+
operationId: "accessCodesGenerateCodePost",
|
|
1783
|
+
requestBody: {
|
|
1784
|
+
content: {
|
|
1785
|
+
"application/json": {
|
|
1786
|
+
schema: {
|
|
1787
|
+
properties: { device_id: { format: "uuid", type: "string" } },
|
|
1788
|
+
required: ["device_id"],
|
|
1789
|
+
type: "object"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1789
1792
|
}
|
|
1790
|
-
|
|
1793
|
+
},
|
|
1791
1794
|
responses: {
|
|
1792
1795
|
200: {
|
|
1793
1796
|
content: {
|
|
@@ -2499,6 +2502,71 @@ var openapi_default = {
|
|
|
2499
2502
|
}
|
|
2500
2503
|
},
|
|
2501
2504
|
"/access_codes/update": {
|
|
2505
|
+
patch: {
|
|
2506
|
+
operationId: "accessCodesUpdatePatch",
|
|
2507
|
+
requestBody: {
|
|
2508
|
+
content: {
|
|
2509
|
+
"application/json": {
|
|
2510
|
+
schema: {
|
|
2511
|
+
properties: {
|
|
2512
|
+
access_code_id: { format: "uuid", type: "string" },
|
|
2513
|
+
allow_external_modification: { type: "boolean" },
|
|
2514
|
+
attempt_for_offline_device: {
|
|
2515
|
+
default: true,
|
|
2516
|
+
type: "boolean"
|
|
2517
|
+
},
|
|
2518
|
+
code: {
|
|
2519
|
+
maxLength: 8,
|
|
2520
|
+
minLength: 4,
|
|
2521
|
+
pattern: "^\\d+$",
|
|
2522
|
+
type: "string"
|
|
2523
|
+
},
|
|
2524
|
+
device_id: { format: "uuid", type: "string" },
|
|
2525
|
+
ends_at: { type: "string" },
|
|
2526
|
+
is_managed: { type: "boolean" },
|
|
2527
|
+
name: { type: "string" },
|
|
2528
|
+
prefer_native_scheduling: { type: "boolean" },
|
|
2529
|
+
starts_at: { type: "string" },
|
|
2530
|
+
sync: { default: false, type: "boolean" },
|
|
2531
|
+
type: { enum: ["ongoing", "time_bound"], type: "string" },
|
|
2532
|
+
use_backup_access_code_pool: { type: "boolean" }
|
|
2533
|
+
},
|
|
2534
|
+
required: ["access_code_id"],
|
|
2535
|
+
type: "object"
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
responses: {
|
|
2541
|
+
200: {
|
|
2542
|
+
content: {
|
|
2543
|
+
"application/json": {
|
|
2544
|
+
schema: {
|
|
2545
|
+
properties: {
|
|
2546
|
+
action_attempt: {
|
|
2547
|
+
$ref: "#/components/schemas/action_attempt"
|
|
2548
|
+
},
|
|
2549
|
+
ok: { type: "boolean" }
|
|
2550
|
+
},
|
|
2551
|
+
required: ["action_attempt", "ok"],
|
|
2552
|
+
type: "object"
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
},
|
|
2556
|
+
description: "OK"
|
|
2557
|
+
},
|
|
2558
|
+
400: { description: "Bad Request" },
|
|
2559
|
+
401: { description: "Unauthorized" }
|
|
2560
|
+
},
|
|
2561
|
+
security: [
|
|
2562
|
+
{ access_token: [], seam_workspace: [] },
|
|
2563
|
+
{ seam_client_session_token: [] },
|
|
2564
|
+
{ client_session_token: [] }
|
|
2565
|
+
],
|
|
2566
|
+
summary: "/access_codes/update",
|
|
2567
|
+
tags: ["/access_codes"],
|
|
2568
|
+
"x-fern-ignore": true
|
|
2569
|
+
},
|
|
2502
2570
|
post: {
|
|
2503
2571
|
operationId: "accessCodesUpdatePost",
|
|
2504
2572
|
requestBody: {
|
|
@@ -2633,8 +2701,8 @@ var openapi_default = {
|
|
|
2633
2701
|
}
|
|
2634
2702
|
},
|
|
2635
2703
|
"/acs/access_groups/add_user": {
|
|
2636
|
-
|
|
2637
|
-
operationId: "
|
|
2704
|
+
post: {
|
|
2705
|
+
operationId: "acsAccessGroupsAddUserPost",
|
|
2638
2706
|
requestBody: {
|
|
2639
2707
|
content: {
|
|
2640
2708
|
"application/json": {
|
|
@@ -2672,10 +2740,11 @@ var openapi_default = {
|
|
|
2672
2740
|
],
|
|
2673
2741
|
summary: "/acs/access_groups/add_user",
|
|
2674
2742
|
tags: [],
|
|
2675
|
-
"x-fern-
|
|
2743
|
+
"x-fern-sdk-group-name": ["acs", "access_groups"],
|
|
2744
|
+
"x-fern-sdk-method-name": "add_user"
|
|
2676
2745
|
},
|
|
2677
|
-
|
|
2678
|
-
operationId: "
|
|
2746
|
+
put: {
|
|
2747
|
+
operationId: "acsAccessGroupsAddUserPut",
|
|
2679
2748
|
requestBody: {
|
|
2680
2749
|
content: {
|
|
2681
2750
|
"application/json": {
|
|
@@ -2713,8 +2782,7 @@ var openapi_default = {
|
|
|
2713
2782
|
],
|
|
2714
2783
|
summary: "/acs/access_groups/add_user",
|
|
2715
2784
|
tags: [],
|
|
2716
|
-
"x-fern-
|
|
2717
|
-
"x-fern-sdk-method-name": "add_user"
|
|
2785
|
+
"x-fern-ignore": true
|
|
2718
2786
|
}
|
|
2719
2787
|
},
|
|
2720
2788
|
"/acs/access_groups/create": {
|
|
@@ -3428,8 +3496,8 @@ var openapi_default = {
|
|
|
3428
3496
|
}
|
|
3429
3497
|
},
|
|
3430
3498
|
"/acs/users/add_to_access_group": {
|
|
3431
|
-
|
|
3432
|
-
operationId: "
|
|
3499
|
+
post: {
|
|
3500
|
+
operationId: "acsUsersAddToAccessGroupPost",
|
|
3433
3501
|
requestBody: {
|
|
3434
3502
|
content: {
|
|
3435
3503
|
"application/json": {
|
|
@@ -3456,10 +3524,11 @@ var openapi_default = {
|
|
|
3456
3524
|
],
|
|
3457
3525
|
summary: "/acs/users/add_to_access_group",
|
|
3458
3526
|
tags: [],
|
|
3459
|
-
"x-fern-
|
|
3527
|
+
"x-fern-sdk-group-name": ["acs", "users"],
|
|
3528
|
+
"x-fern-sdk-method-name": "add_to_access_group"
|
|
3460
3529
|
},
|
|
3461
|
-
|
|
3462
|
-
operationId: "
|
|
3530
|
+
put: {
|
|
3531
|
+
operationId: "acsUsersAddToAccessGroupPut",
|
|
3463
3532
|
requestBody: {
|
|
3464
3533
|
content: {
|
|
3465
3534
|
"application/json": {
|
|
@@ -3486,8 +3555,7 @@ var openapi_default = {
|
|
|
3486
3555
|
],
|
|
3487
3556
|
summary: "/acs/users/add_to_access_group",
|
|
3488
3557
|
tags: [],
|
|
3489
|
-
"x-fern-
|
|
3490
|
-
"x-fern-sdk-method-name": "add_to_access_group"
|
|
3558
|
+
"x-fern-ignore": true
|
|
3491
3559
|
}
|
|
3492
3560
|
},
|
|
3493
3561
|
"/acs/users/create": {
|
|
@@ -5636,8 +5704,12 @@ var openapi_default = {
|
|
|
5636
5704
|
"device.tampered",
|
|
5637
5705
|
"device.low_battery",
|
|
5638
5706
|
"device.battery_status_changed",
|
|
5707
|
+
"device.third_party_integration_detected",
|
|
5708
|
+
"device.third_party_integration_no_longer_detected",
|
|
5639
5709
|
"device.salto.privacy_mode_activated",
|
|
5640
5710
|
"device.salto.privacy_mode_deactivated",
|
|
5711
|
+
"device.connection_became_flaky",
|
|
5712
|
+
"device.connection_stabilized",
|
|
5641
5713
|
"access_code.created",
|
|
5642
5714
|
"access_code.changed",
|
|
5643
5715
|
"access_code.scheduled_on_device",
|
|
@@ -5648,6 +5720,7 @@ var openapi_default = {
|
|
|
5648
5720
|
"access_code.delay_in_setting_on_device",
|
|
5649
5721
|
"access_code.failed_to_remove_from_device",
|
|
5650
5722
|
"access_code.delay_in_removing_from_device",
|
|
5723
|
+
"access_code.deleted_external_to_seam",
|
|
5651
5724
|
"access_code.modified_external_to_seam",
|
|
5652
5725
|
"access_code.unmanaged.converted_to_managed",
|
|
5653
5726
|
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
@@ -5679,8 +5752,12 @@ var openapi_default = {
|
|
|
5679
5752
|
"device.tampered",
|
|
5680
5753
|
"device.low_battery",
|
|
5681
5754
|
"device.battery_status_changed",
|
|
5755
|
+
"device.third_party_integration_detected",
|
|
5756
|
+
"device.third_party_integration_no_longer_detected",
|
|
5682
5757
|
"device.salto.privacy_mode_activated",
|
|
5683
5758
|
"device.salto.privacy_mode_deactivated",
|
|
5759
|
+
"device.connection_became_flaky",
|
|
5760
|
+
"device.connection_stabilized",
|
|
5684
5761
|
"access_code.created",
|
|
5685
5762
|
"access_code.changed",
|
|
5686
5763
|
"access_code.scheduled_on_device",
|
|
@@ -5691,6 +5768,7 @@ var openapi_default = {
|
|
|
5691
5768
|
"access_code.delay_in_setting_on_device",
|
|
5692
5769
|
"access_code.failed_to_remove_from_device",
|
|
5693
5770
|
"access_code.delay_in_removing_from_device",
|
|
5771
|
+
"access_code.deleted_external_to_seam",
|
|
5694
5772
|
"access_code.modified_external_to_seam",
|
|
5695
5773
|
"access_code.unmanaged.converted_to_managed",
|
|
5696
5774
|
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
@@ -6452,6 +6530,58 @@ var openapi_default = {
|
|
|
6452
6530
|
}
|
|
6453
6531
|
},
|
|
6454
6532
|
"/noise_sensors/noise_thresholds/update": {
|
|
6533
|
+
patch: {
|
|
6534
|
+
operationId: "noiseSensorsNoiseThresholdsUpdatePatch",
|
|
6535
|
+
requestBody: {
|
|
6536
|
+
content: {
|
|
6537
|
+
"application/json": {
|
|
6538
|
+
schema: {
|
|
6539
|
+
properties: {
|
|
6540
|
+
device_id: { format: "uuid", type: "string" },
|
|
6541
|
+
ends_daily_at: { type: "string" },
|
|
6542
|
+
name: { type: "string" },
|
|
6543
|
+
noise_threshold_decibels: { type: "number" },
|
|
6544
|
+
noise_threshold_id: { format: "uuid", type: "string" },
|
|
6545
|
+
noise_threshold_nrs: { type: "number" },
|
|
6546
|
+
starts_daily_at: { type: "string" },
|
|
6547
|
+
sync: { default: false, type: "boolean" }
|
|
6548
|
+
},
|
|
6549
|
+
required: ["noise_threshold_id", "device_id"],
|
|
6550
|
+
type: "object"
|
|
6551
|
+
}
|
|
6552
|
+
}
|
|
6553
|
+
}
|
|
6554
|
+
},
|
|
6555
|
+
responses: {
|
|
6556
|
+
200: {
|
|
6557
|
+
content: {
|
|
6558
|
+
"application/json": {
|
|
6559
|
+
schema: {
|
|
6560
|
+
properties: {
|
|
6561
|
+
action_attempt: {
|
|
6562
|
+
$ref: "#/components/schemas/action_attempt"
|
|
6563
|
+
},
|
|
6564
|
+
ok: { type: "boolean" }
|
|
6565
|
+
},
|
|
6566
|
+
required: ["action_attempt", "ok"],
|
|
6567
|
+
type: "object"
|
|
6568
|
+
}
|
|
6569
|
+
}
|
|
6570
|
+
},
|
|
6571
|
+
description: "OK"
|
|
6572
|
+
},
|
|
6573
|
+
400: { description: "Bad Request" },
|
|
6574
|
+
401: { description: "Unauthorized" }
|
|
6575
|
+
},
|
|
6576
|
+
security: [
|
|
6577
|
+
{ access_token: [], seam_workspace: [] },
|
|
6578
|
+
{ seam_client_session_token: [] },
|
|
6579
|
+
{ client_session_token: [] }
|
|
6580
|
+
],
|
|
6581
|
+
summary: "/noise_sensors/noise_thresholds/update",
|
|
6582
|
+
tags: ["/noise_sensors"],
|
|
6583
|
+
"x-fern-ignore": true
|
|
6584
|
+
},
|
|
6455
6585
|
post: {
|
|
6456
6586
|
operationId: "noiseSensorsNoiseThresholdsUpdatePost",
|
|
6457
6587
|
requestBody: {
|
|
@@ -6867,6 +6997,73 @@ var openapi_default = {
|
|
|
6867
6997
|
}
|
|
6868
6998
|
},
|
|
6869
6999
|
"/thermostats/climate_setting_schedules/update": {
|
|
7000
|
+
patch: {
|
|
7001
|
+
operationId: "thermostatsClimateSettingSchedulesUpdatePatch",
|
|
7002
|
+
requestBody: {
|
|
7003
|
+
content: {
|
|
7004
|
+
"application/json": {
|
|
7005
|
+
schema: {
|
|
7006
|
+
properties: {
|
|
7007
|
+
automatic_cooling_enabled: { type: "boolean" },
|
|
7008
|
+
automatic_heating_enabled: { type: "boolean" },
|
|
7009
|
+
climate_setting_schedule_id: {
|
|
7010
|
+
format: "uuid",
|
|
7011
|
+
type: "string"
|
|
7012
|
+
},
|
|
7013
|
+
cooling_set_point_celsius: { type: "number" },
|
|
7014
|
+
cooling_set_point_fahrenheit: { type: "number" },
|
|
7015
|
+
heating_set_point_celsius: { type: "number" },
|
|
7016
|
+
heating_set_point_fahrenheit: { type: "number" },
|
|
7017
|
+
hvac_mode_setting: {
|
|
7018
|
+
enum: ["off", "heat", "cool", "heat_cool"],
|
|
7019
|
+
type: "string"
|
|
7020
|
+
},
|
|
7021
|
+
manual_override_allowed: { type: "boolean" },
|
|
7022
|
+
name: { type: "string" },
|
|
7023
|
+
schedule_ends_at: { type: "string" },
|
|
7024
|
+
schedule_starts_at: { type: "string" },
|
|
7025
|
+
schedule_type: {
|
|
7026
|
+
default: "time_bound",
|
|
7027
|
+
enum: ["time_bound"],
|
|
7028
|
+
type: "string"
|
|
7029
|
+
}
|
|
7030
|
+
},
|
|
7031
|
+
required: ["climate_setting_schedule_id"],
|
|
7032
|
+
type: "object"
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
}
|
|
7036
|
+
},
|
|
7037
|
+
responses: {
|
|
7038
|
+
200: {
|
|
7039
|
+
content: {
|
|
7040
|
+
"application/json": {
|
|
7041
|
+
schema: {
|
|
7042
|
+
properties: {
|
|
7043
|
+
climate_setting_schedule: {
|
|
7044
|
+
$ref: "#/components/schemas/climate_setting_schedule"
|
|
7045
|
+
},
|
|
7046
|
+
ok: { type: "boolean" }
|
|
7047
|
+
},
|
|
7048
|
+
required: ["climate_setting_schedule", "ok"],
|
|
7049
|
+
type: "object"
|
|
7050
|
+
}
|
|
7051
|
+
}
|
|
7052
|
+
},
|
|
7053
|
+
description: "OK"
|
|
7054
|
+
},
|
|
7055
|
+
400: { description: "Bad Request" },
|
|
7056
|
+
401: { description: "Unauthorized" }
|
|
7057
|
+
},
|
|
7058
|
+
security: [
|
|
7059
|
+
{ access_token: [], seam_workspace: [] },
|
|
7060
|
+
{ seam_client_session_token: [] },
|
|
7061
|
+
{ client_session_token: [] }
|
|
7062
|
+
],
|
|
7063
|
+
summary: "/thermostats/climate_setting_schedules/update",
|
|
7064
|
+
tags: [],
|
|
7065
|
+
"x-fern-ignore": true
|
|
7066
|
+
},
|
|
6870
7067
|
post: {
|
|
6871
7068
|
operationId: "thermostatsClimateSettingSchedulesUpdatePost",
|
|
6872
7069
|
requestBody: {
|
|
@@ -7468,6 +7665,62 @@ var openapi_default = {
|
|
|
7468
7665
|
}
|
|
7469
7666
|
},
|
|
7470
7667
|
"/thermostats/update": {
|
|
7668
|
+
patch: {
|
|
7669
|
+
operationId: "thermostatsUpdatePatch",
|
|
7670
|
+
requestBody: {
|
|
7671
|
+
content: {
|
|
7672
|
+
"application/json": {
|
|
7673
|
+
schema: {
|
|
7674
|
+
properties: {
|
|
7675
|
+
default_climate_setting: {
|
|
7676
|
+
properties: {
|
|
7677
|
+
automatic_cooling_enabled: { type: "boolean" },
|
|
7678
|
+
automatic_heating_enabled: { type: "boolean" },
|
|
7679
|
+
cooling_set_point_celsius: { type: "number" },
|
|
7680
|
+
cooling_set_point_fahrenheit: { type: "number" },
|
|
7681
|
+
heating_set_point_celsius: { type: "number" },
|
|
7682
|
+
heating_set_point_fahrenheit: { type: "number" },
|
|
7683
|
+
hvac_mode_setting: {
|
|
7684
|
+
enum: ["off", "heat", "cool", "heat_cool"],
|
|
7685
|
+
type: "string"
|
|
7686
|
+
},
|
|
7687
|
+
manual_override_allowed: { type: "boolean" }
|
|
7688
|
+
},
|
|
7689
|
+
type: "object"
|
|
7690
|
+
},
|
|
7691
|
+
device_id: { format: "uuid", type: "string" }
|
|
7692
|
+
},
|
|
7693
|
+
required: ["device_id", "default_climate_setting"],
|
|
7694
|
+
type: "object"
|
|
7695
|
+
}
|
|
7696
|
+
}
|
|
7697
|
+
}
|
|
7698
|
+
},
|
|
7699
|
+
responses: {
|
|
7700
|
+
200: {
|
|
7701
|
+
content: {
|
|
7702
|
+
"application/json": {
|
|
7703
|
+
schema: {
|
|
7704
|
+
properties: { ok: { type: "boolean" } },
|
|
7705
|
+
required: ["ok"],
|
|
7706
|
+
type: "object"
|
|
7707
|
+
}
|
|
7708
|
+
}
|
|
7709
|
+
},
|
|
7710
|
+
description: "OK"
|
|
7711
|
+
},
|
|
7712
|
+
400: { description: "Bad Request" },
|
|
7713
|
+
401: { description: "Unauthorized" }
|
|
7714
|
+
},
|
|
7715
|
+
security: [
|
|
7716
|
+
{ access_token: [], seam_workspace: [] },
|
|
7717
|
+
{ seam_client_session_token: [] },
|
|
7718
|
+
{ client_session_token: [] }
|
|
7719
|
+
],
|
|
7720
|
+
summary: "/thermostats/update",
|
|
7721
|
+
tags: [],
|
|
7722
|
+
"x-fern-ignore": true
|
|
7723
|
+
},
|
|
7471
7724
|
post: {
|
|
7472
7725
|
operationId: "thermostatsUpdatePost",
|
|
7473
7726
|
requestBody: {
|
|
@@ -7696,6 +7949,39 @@ var openapi_default = {
|
|
|
7696
7949
|
],
|
|
7697
7950
|
summary: "/webhooks/list",
|
|
7698
7951
|
tags: ["/webhooks"],
|
|
7952
|
+
"x-fern-ignore": true
|
|
7953
|
+
},
|
|
7954
|
+
post: {
|
|
7955
|
+
operationId: "webhooksListPost",
|
|
7956
|
+
responses: {
|
|
7957
|
+
200: {
|
|
7958
|
+
content: {
|
|
7959
|
+
"application/json": {
|
|
7960
|
+
schema: {
|
|
7961
|
+
properties: {
|
|
7962
|
+
ok: { type: "boolean" },
|
|
7963
|
+
webhooks: {
|
|
7964
|
+
items: { $ref: "#/components/schemas/webhook" },
|
|
7965
|
+
type: "array"
|
|
7966
|
+
}
|
|
7967
|
+
},
|
|
7968
|
+
required: ["webhooks", "ok"],
|
|
7969
|
+
type: "object"
|
|
7970
|
+
}
|
|
7971
|
+
}
|
|
7972
|
+
},
|
|
7973
|
+
description: "OK"
|
|
7974
|
+
},
|
|
7975
|
+
400: { description: "Bad Request" },
|
|
7976
|
+
401: { description: "Unauthorized" }
|
|
7977
|
+
},
|
|
7978
|
+
security: [
|
|
7979
|
+
{ access_token: [], seam_workspace: [] },
|
|
7980
|
+
{ seam_client_session_token: [] },
|
|
7981
|
+
{ client_session_token: [] }
|
|
7982
|
+
],
|
|
7983
|
+
summary: "/webhooks/list",
|
|
7984
|
+
tags: ["/webhooks"],
|
|
7699
7985
|
"x-fern-sdk-group-name": ["webhooks"],
|
|
7700
7986
|
"x-fern-sdk-method-name": "list",
|
|
7701
7987
|
"x-fern-sdk-return-value": "webhooks"
|
|
@@ -7730,6 +8016,36 @@ var openapi_default = {
|
|
|
7730
8016
|
],
|
|
7731
8017
|
summary: "/workspaces/get",
|
|
7732
8018
|
tags: ["/workspaces"],
|
|
8019
|
+
"x-fern-ignore": true
|
|
8020
|
+
},
|
|
8021
|
+
post: {
|
|
8022
|
+
operationId: "workspacesGetPost",
|
|
8023
|
+
responses: {
|
|
8024
|
+
200: {
|
|
8025
|
+
content: {
|
|
8026
|
+
"application/json": {
|
|
8027
|
+
schema: {
|
|
8028
|
+
properties: {
|
|
8029
|
+
ok: { type: "boolean" },
|
|
8030
|
+
workspace: { $ref: "#/components/schemas/workspace" }
|
|
8031
|
+
},
|
|
8032
|
+
required: ["ok"],
|
|
8033
|
+
type: "object"
|
|
8034
|
+
}
|
|
8035
|
+
}
|
|
8036
|
+
},
|
|
8037
|
+
description: "OK"
|
|
8038
|
+
},
|
|
8039
|
+
400: { description: "Bad Request" },
|
|
8040
|
+
401: { description: "Unauthorized" }
|
|
8041
|
+
},
|
|
8042
|
+
security: [
|
|
8043
|
+
{ access_token: [], seam_workspace: [] },
|
|
8044
|
+
{ seam_client_session_token: [] },
|
|
8045
|
+
{ client_session_token: [] }
|
|
8046
|
+
],
|
|
8047
|
+
summary: "/workspaces/get",
|
|
8048
|
+
tags: ["/workspaces"],
|
|
7733
8049
|
"x-fern-sdk-group-name": ["workspaces"],
|
|
7734
8050
|
"x-fern-sdk-method-name": "get",
|
|
7735
8051
|
"x-fern-sdk-return-value": "workspace"
|
|
@@ -7767,6 +8083,39 @@ var openapi_default = {
|
|
|
7767
8083
|
],
|
|
7768
8084
|
summary: "/workspaces/list",
|
|
7769
8085
|
tags: ["/workspaces"],
|
|
8086
|
+
"x-fern-ignore": true
|
|
8087
|
+
},
|
|
8088
|
+
post: {
|
|
8089
|
+
operationId: "workspacesListPost",
|
|
8090
|
+
responses: {
|
|
8091
|
+
200: {
|
|
8092
|
+
content: {
|
|
8093
|
+
"application/json": {
|
|
8094
|
+
schema: {
|
|
8095
|
+
properties: {
|
|
8096
|
+
ok: { type: "boolean" },
|
|
8097
|
+
workspaces: {
|
|
8098
|
+
items: { $ref: "#/components/schemas/workspace" },
|
|
8099
|
+
type: "array"
|
|
8100
|
+
}
|
|
8101
|
+
},
|
|
8102
|
+
required: ["workspaces", "ok"],
|
|
8103
|
+
type: "object"
|
|
8104
|
+
}
|
|
8105
|
+
}
|
|
8106
|
+
},
|
|
8107
|
+
description: "OK"
|
|
8108
|
+
},
|
|
8109
|
+
400: { description: "Bad Request" },
|
|
8110
|
+
401: { description: "Unauthorized" }
|
|
8111
|
+
},
|
|
8112
|
+
security: [
|
|
8113
|
+
{ access_token: [], seam_workspace: [] },
|
|
8114
|
+
{ seam_client_session_token: [] },
|
|
8115
|
+
{ client_session_token: [] }
|
|
8116
|
+
],
|
|
8117
|
+
summary: "/workspaces/list",
|
|
8118
|
+
tags: ["/workspaces"],
|
|
7770
8119
|
"x-fern-sdk-group-name": ["workspaces"],
|
|
7771
8120
|
"x-fern-sdk-method-name": "list",
|
|
7772
8121
|
"x-fern-sdk-return-value": "workspace"
|