@seamapi/types 1.127.0 → 1.129.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 +47 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +148 -11
- package/lib/seam/connect/openapi.d.ts +25 -3
- package/lib/seam/connect/openapi.js +42 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +123 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +42 -12
- package/src/lib/seam/connect/route-types.ts +144 -16
package/dist/connect.cjs
CHANGED
|
@@ -8547,6 +8547,7 @@ var openapi_default = {
|
|
|
8547
8547
|
},
|
|
8548
8548
|
type: "array"
|
|
8549
8549
|
},
|
|
8550
|
+
limit: { default: 500, nullable: true, type: "number" },
|
|
8550
8551
|
since: { type: "string" }
|
|
8551
8552
|
},
|
|
8552
8553
|
type: "object"
|
|
@@ -8564,10 +8565,9 @@ var openapi_default = {
|
|
|
8564
8565
|
items: { $ref: "#/components/schemas/event" },
|
|
8565
8566
|
type: "array"
|
|
8566
8567
|
},
|
|
8567
|
-
message: { type: "string" },
|
|
8568
8568
|
ok: { type: "boolean" }
|
|
8569
8569
|
},
|
|
8570
|
-
required: ["ok"],
|
|
8570
|
+
required: ["events", "ok"],
|
|
8571
8571
|
type: "object"
|
|
8572
8572
|
}
|
|
8573
8573
|
}
|
|
@@ -10380,8 +10380,13 @@ var openapi_default = {
|
|
|
10380
10380
|
content: {
|
|
10381
10381
|
"application/json": {
|
|
10382
10382
|
schema: {
|
|
10383
|
-
properties: {
|
|
10384
|
-
|
|
10383
|
+
properties: {
|
|
10384
|
+
action_attempt: {
|
|
10385
|
+
$ref: "#/components/schemas/action_attempt"
|
|
10386
|
+
},
|
|
10387
|
+
ok: { type: "boolean" }
|
|
10388
|
+
},
|
|
10389
|
+
required: ["action_attempt", "ok"],
|
|
10385
10390
|
type: "object"
|
|
10386
10391
|
}
|
|
10387
10392
|
}
|
|
@@ -10399,7 +10404,8 @@ var openapi_default = {
|
|
|
10399
10404
|
summary: "/thermostats/cool",
|
|
10400
10405
|
tags: ["/thermostats"],
|
|
10401
10406
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
10402
|
-
"x-fern-sdk-method-name": "cool"
|
|
10407
|
+
"x-fern-sdk-method-name": "cool",
|
|
10408
|
+
"x-fern-sdk-return-value": "action_attempt"
|
|
10403
10409
|
}
|
|
10404
10410
|
},
|
|
10405
10411
|
"/thermostats/get": {
|
|
@@ -10473,8 +10479,13 @@ var openapi_default = {
|
|
|
10473
10479
|
content: {
|
|
10474
10480
|
"application/json": {
|
|
10475
10481
|
schema: {
|
|
10476
|
-
properties: {
|
|
10477
|
-
|
|
10482
|
+
properties: {
|
|
10483
|
+
action_attempt: {
|
|
10484
|
+
$ref: "#/components/schemas/action_attempt"
|
|
10485
|
+
},
|
|
10486
|
+
ok: { type: "boolean" }
|
|
10487
|
+
},
|
|
10488
|
+
required: ["action_attempt", "ok"],
|
|
10478
10489
|
type: "object"
|
|
10479
10490
|
}
|
|
10480
10491
|
}
|
|
@@ -10492,7 +10503,8 @@ var openapi_default = {
|
|
|
10492
10503
|
summary: "/thermostats/heat",
|
|
10493
10504
|
tags: ["/thermostats"],
|
|
10494
10505
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
10495
|
-
"x-fern-sdk-method-name": "heat"
|
|
10506
|
+
"x-fern-sdk-method-name": "heat",
|
|
10507
|
+
"x-fern-sdk-return-value": "action_attempt"
|
|
10496
10508
|
}
|
|
10497
10509
|
},
|
|
10498
10510
|
"/thermostats/heat_cool": {
|
|
@@ -10521,8 +10533,13 @@ var openapi_default = {
|
|
|
10521
10533
|
content: {
|
|
10522
10534
|
"application/json": {
|
|
10523
10535
|
schema: {
|
|
10524
|
-
properties: {
|
|
10525
|
-
|
|
10536
|
+
properties: {
|
|
10537
|
+
action_attempt: {
|
|
10538
|
+
$ref: "#/components/schemas/action_attempt"
|
|
10539
|
+
},
|
|
10540
|
+
ok: { type: "boolean" }
|
|
10541
|
+
},
|
|
10542
|
+
required: ["action_attempt", "ok"],
|
|
10526
10543
|
type: "object"
|
|
10527
10544
|
}
|
|
10528
10545
|
}
|
|
@@ -10540,7 +10557,8 @@ var openapi_default = {
|
|
|
10540
10557
|
summary: "/thermostats/heat_cool",
|
|
10541
10558
|
tags: ["/thermostats"],
|
|
10542
10559
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
10543
|
-
"x-fern-sdk-method-name": "heat_cool"
|
|
10560
|
+
"x-fern-sdk-method-name": "heat_cool",
|
|
10561
|
+
"x-fern-sdk-return-value": "action_attempt"
|
|
10544
10562
|
}
|
|
10545
10563
|
},
|
|
10546
10564
|
"/thermostats/list": {
|
|
@@ -10786,8 +10804,13 @@ var openapi_default = {
|
|
|
10786
10804
|
content: {
|
|
10787
10805
|
"application/json": {
|
|
10788
10806
|
schema: {
|
|
10789
|
-
properties: {
|
|
10790
|
-
|
|
10807
|
+
properties: {
|
|
10808
|
+
action_attempt: {
|
|
10809
|
+
$ref: "#/components/schemas/action_attempt"
|
|
10810
|
+
},
|
|
10811
|
+
ok: { type: "boolean" }
|
|
10812
|
+
},
|
|
10813
|
+
required: ["action_attempt", "ok"],
|
|
10791
10814
|
type: "object"
|
|
10792
10815
|
}
|
|
10793
10816
|
}
|
|
@@ -10805,7 +10828,8 @@ var openapi_default = {
|
|
|
10805
10828
|
summary: "/thermostats/off",
|
|
10806
10829
|
tags: ["/thermostats"],
|
|
10807
10830
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
10808
|
-
"x-fern-sdk-method-name": "off"
|
|
10831
|
+
"x-fern-sdk-method-name": "off",
|
|
10832
|
+
"x-fern-sdk-return-value": "action_attempt"
|
|
10809
10833
|
}
|
|
10810
10834
|
},
|
|
10811
10835
|
"/thermostats/set_fan_mode": {
|
|
@@ -10832,8 +10856,13 @@ var openapi_default = {
|
|
|
10832
10856
|
content: {
|
|
10833
10857
|
"application/json": {
|
|
10834
10858
|
schema: {
|
|
10835
|
-
properties: {
|
|
10836
|
-
|
|
10859
|
+
properties: {
|
|
10860
|
+
action_attempt: {
|
|
10861
|
+
$ref: "#/components/schemas/action_attempt"
|
|
10862
|
+
},
|
|
10863
|
+
ok: { type: "boolean" }
|
|
10864
|
+
},
|
|
10865
|
+
required: ["action_attempt", "ok"],
|
|
10837
10866
|
type: "object"
|
|
10838
10867
|
}
|
|
10839
10868
|
}
|
|
@@ -10851,7 +10880,8 @@ var openapi_default = {
|
|
|
10851
10880
|
summary: "/thermostats/set_fan_mode",
|
|
10852
10881
|
tags: ["/thermostats"],
|
|
10853
10882
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
10854
|
-
"x-fern-sdk-method-name": "set_fan_mode"
|
|
10883
|
+
"x-fern-sdk-method-name": "set_fan_mode",
|
|
10884
|
+
"x-fern-sdk-return-value": "action_attempt"
|
|
10855
10885
|
}
|
|
10856
10886
|
},
|
|
10857
10887
|
"/thermostats/update": {
|