@seamapi/types 1.128.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 +45 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +140 -5
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +40 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +120 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +40 -10
- package/src/lib/seam/connect/route-types.ts +135 -5
package/dist/connect.d.cts
CHANGED
|
@@ -13852,6 +13852,9 @@ declare const _default: {
|
|
|
13852
13852
|
'application/json': {
|
|
13853
13853
|
schema: {
|
|
13854
13854
|
properties: {
|
|
13855
|
+
action_attempt: {
|
|
13856
|
+
$ref: string;
|
|
13857
|
+
};
|
|
13855
13858
|
ok: {
|
|
13856
13859
|
type: string;
|
|
13857
13860
|
};
|
|
@@ -13890,6 +13893,7 @@ declare const _default: {
|
|
|
13890
13893
|
tags: string[];
|
|
13891
13894
|
'x-fern-sdk-group-name': string[];
|
|
13892
13895
|
'x-fern-sdk-method-name': string;
|
|
13896
|
+
'x-fern-sdk-return-value': string;
|
|
13893
13897
|
};
|
|
13894
13898
|
};
|
|
13895
13899
|
'/thermostats/get': {
|
|
@@ -13998,6 +14002,9 @@ declare const _default: {
|
|
|
13998
14002
|
'application/json': {
|
|
13999
14003
|
schema: {
|
|
14000
14004
|
properties: {
|
|
14005
|
+
action_attempt: {
|
|
14006
|
+
$ref: string;
|
|
14007
|
+
};
|
|
14001
14008
|
ok: {
|
|
14002
14009
|
type: string;
|
|
14003
14010
|
};
|
|
@@ -14036,6 +14043,7 @@ declare const _default: {
|
|
|
14036
14043
|
tags: string[];
|
|
14037
14044
|
'x-fern-sdk-group-name': string[];
|
|
14038
14045
|
'x-fern-sdk-method-name': string;
|
|
14046
|
+
'x-fern-sdk-return-value': string;
|
|
14039
14047
|
};
|
|
14040
14048
|
};
|
|
14041
14049
|
'/thermostats/heat_cool': {
|
|
@@ -14079,6 +14087,9 @@ declare const _default: {
|
|
|
14079
14087
|
'application/json': {
|
|
14080
14088
|
schema: {
|
|
14081
14089
|
properties: {
|
|
14090
|
+
action_attempt: {
|
|
14091
|
+
$ref: string;
|
|
14092
|
+
};
|
|
14082
14093
|
ok: {
|
|
14083
14094
|
type: string;
|
|
14084
14095
|
};
|
|
@@ -14117,6 +14128,7 @@ declare const _default: {
|
|
|
14117
14128
|
tags: string[];
|
|
14118
14129
|
'x-fern-sdk-group-name': string[];
|
|
14119
14130
|
'x-fern-sdk-method-name': string;
|
|
14131
|
+
'x-fern-sdk-return-value': string;
|
|
14120
14132
|
};
|
|
14121
14133
|
};
|
|
14122
14134
|
'/thermostats/list': {
|
|
@@ -14289,6 +14301,9 @@ declare const _default: {
|
|
|
14289
14301
|
'application/json': {
|
|
14290
14302
|
schema: {
|
|
14291
14303
|
properties: {
|
|
14304
|
+
action_attempt: {
|
|
14305
|
+
$ref: string;
|
|
14306
|
+
};
|
|
14292
14307
|
ok: {
|
|
14293
14308
|
type: string;
|
|
14294
14309
|
};
|
|
@@ -14327,6 +14342,7 @@ declare const _default: {
|
|
|
14327
14342
|
tags: string[];
|
|
14328
14343
|
'x-fern-sdk-group-name': string[];
|
|
14329
14344
|
'x-fern-sdk-method-name': string;
|
|
14345
|
+
'x-fern-sdk-return-value': string;
|
|
14330
14346
|
};
|
|
14331
14347
|
};
|
|
14332
14348
|
'/thermostats/set_fan_mode': {
|
|
@@ -14366,6 +14382,9 @@ declare const _default: {
|
|
|
14366
14382
|
'application/json': {
|
|
14367
14383
|
schema: {
|
|
14368
14384
|
properties: {
|
|
14385
|
+
action_attempt: {
|
|
14386
|
+
$ref: string;
|
|
14387
|
+
};
|
|
14369
14388
|
ok: {
|
|
14370
14389
|
type: string;
|
|
14371
14390
|
};
|
|
@@ -14404,6 +14423,7 @@ declare const _default: {
|
|
|
14404
14423
|
tags: string[];
|
|
14405
14424
|
'x-fern-sdk-group-name': string[];
|
|
14406
14425
|
'x-fern-sdk-method-name': string;
|
|
14426
|
+
'x-fern-sdk-return-value': string;
|
|
14407
14427
|
};
|
|
14408
14428
|
};
|
|
14409
14429
|
'/thermostats/update': {
|
|
@@ -22631,7 +22651,30 @@ interface Routes {
|
|
|
22631
22651
|
};
|
|
22632
22652
|
commonParams: {};
|
|
22633
22653
|
formData: {};
|
|
22634
|
-
jsonResponse: {
|
|
22654
|
+
jsonResponse: {
|
|
22655
|
+
action_attempt: {
|
|
22656
|
+
status: 'success';
|
|
22657
|
+
action_type: string;
|
|
22658
|
+
action_attempt_id: string;
|
|
22659
|
+
result?: any;
|
|
22660
|
+
error: null;
|
|
22661
|
+
} | {
|
|
22662
|
+
status: 'pending';
|
|
22663
|
+
action_type: string;
|
|
22664
|
+
action_attempt_id: string;
|
|
22665
|
+
result: null;
|
|
22666
|
+
error: null;
|
|
22667
|
+
} | {
|
|
22668
|
+
status: 'error';
|
|
22669
|
+
action_type: string;
|
|
22670
|
+
action_attempt_id: string;
|
|
22671
|
+
result: null;
|
|
22672
|
+
error: {
|
|
22673
|
+
type: string;
|
|
22674
|
+
message: string;
|
|
22675
|
+
};
|
|
22676
|
+
};
|
|
22677
|
+
};
|
|
22635
22678
|
};
|
|
22636
22679
|
'/thermostats/get': {
|
|
22637
22680
|
route: '/thermostats/get';
|
|
@@ -23125,7 +23168,30 @@ interface Routes {
|
|
|
23125
23168
|
};
|
|
23126
23169
|
commonParams: {};
|
|
23127
23170
|
formData: {};
|
|
23128
|
-
jsonResponse: {
|
|
23171
|
+
jsonResponse: {
|
|
23172
|
+
action_attempt: {
|
|
23173
|
+
status: 'success';
|
|
23174
|
+
action_type: string;
|
|
23175
|
+
action_attempt_id: string;
|
|
23176
|
+
result?: any;
|
|
23177
|
+
error: null;
|
|
23178
|
+
} | {
|
|
23179
|
+
status: 'pending';
|
|
23180
|
+
action_type: string;
|
|
23181
|
+
action_attempt_id: string;
|
|
23182
|
+
result: null;
|
|
23183
|
+
error: null;
|
|
23184
|
+
} | {
|
|
23185
|
+
status: 'error';
|
|
23186
|
+
action_type: string;
|
|
23187
|
+
action_attempt_id: string;
|
|
23188
|
+
result: null;
|
|
23189
|
+
error: {
|
|
23190
|
+
type: string;
|
|
23191
|
+
message: string;
|
|
23192
|
+
};
|
|
23193
|
+
};
|
|
23194
|
+
};
|
|
23129
23195
|
};
|
|
23130
23196
|
'/thermostats/heat_cool': {
|
|
23131
23197
|
route: '/thermostats/heat_cool';
|
|
@@ -23141,7 +23207,30 @@ interface Routes {
|
|
|
23141
23207
|
};
|
|
23142
23208
|
commonParams: {};
|
|
23143
23209
|
formData: {};
|
|
23144
|
-
jsonResponse: {
|
|
23210
|
+
jsonResponse: {
|
|
23211
|
+
action_attempt: {
|
|
23212
|
+
status: 'success';
|
|
23213
|
+
action_type: string;
|
|
23214
|
+
action_attempt_id: string;
|
|
23215
|
+
result?: any;
|
|
23216
|
+
error: null;
|
|
23217
|
+
} | {
|
|
23218
|
+
status: 'pending';
|
|
23219
|
+
action_type: string;
|
|
23220
|
+
action_attempt_id: string;
|
|
23221
|
+
result: null;
|
|
23222
|
+
error: null;
|
|
23223
|
+
} | {
|
|
23224
|
+
status: 'error';
|
|
23225
|
+
action_type: string;
|
|
23226
|
+
action_attempt_id: string;
|
|
23227
|
+
result: null;
|
|
23228
|
+
error: {
|
|
23229
|
+
type: string;
|
|
23230
|
+
message: string;
|
|
23231
|
+
};
|
|
23232
|
+
};
|
|
23233
|
+
};
|
|
23145
23234
|
};
|
|
23146
23235
|
'/thermostats/list': {
|
|
23147
23236
|
route: '/thermostats/list';
|
|
@@ -23643,7 +23732,30 @@ interface Routes {
|
|
|
23643
23732
|
};
|
|
23644
23733
|
commonParams: {};
|
|
23645
23734
|
formData: {};
|
|
23646
|
-
jsonResponse: {
|
|
23735
|
+
jsonResponse: {
|
|
23736
|
+
action_attempt: {
|
|
23737
|
+
status: 'success';
|
|
23738
|
+
action_type: string;
|
|
23739
|
+
action_attempt_id: string;
|
|
23740
|
+
result?: any;
|
|
23741
|
+
error: null;
|
|
23742
|
+
} | {
|
|
23743
|
+
status: 'pending';
|
|
23744
|
+
action_type: string;
|
|
23745
|
+
action_attempt_id: string;
|
|
23746
|
+
result: null;
|
|
23747
|
+
error: null;
|
|
23748
|
+
} | {
|
|
23749
|
+
status: 'error';
|
|
23750
|
+
action_type: string;
|
|
23751
|
+
action_attempt_id: string;
|
|
23752
|
+
result: null;
|
|
23753
|
+
error: {
|
|
23754
|
+
type: string;
|
|
23755
|
+
message: string;
|
|
23756
|
+
};
|
|
23757
|
+
};
|
|
23758
|
+
};
|
|
23647
23759
|
};
|
|
23648
23760
|
'/thermostats/set_fan_mode': {
|
|
23649
23761
|
route: '/thermostats/set_fan_mode';
|
|
@@ -23657,7 +23769,30 @@ interface Routes {
|
|
|
23657
23769
|
};
|
|
23658
23770
|
commonParams: {};
|
|
23659
23771
|
formData: {};
|
|
23660
|
-
jsonResponse: {
|
|
23772
|
+
jsonResponse: {
|
|
23773
|
+
action_attempt: {
|
|
23774
|
+
status: 'success';
|
|
23775
|
+
action_type: string;
|
|
23776
|
+
action_attempt_id: string;
|
|
23777
|
+
result?: any;
|
|
23778
|
+
error: null;
|
|
23779
|
+
} | {
|
|
23780
|
+
status: 'pending';
|
|
23781
|
+
action_type: string;
|
|
23782
|
+
action_attempt_id: string;
|
|
23783
|
+
result: null;
|
|
23784
|
+
error: null;
|
|
23785
|
+
} | {
|
|
23786
|
+
status: 'error';
|
|
23787
|
+
action_type: string;
|
|
23788
|
+
action_attempt_id: string;
|
|
23789
|
+
result: null;
|
|
23790
|
+
error: {
|
|
23791
|
+
type: string;
|
|
23792
|
+
message: string;
|
|
23793
|
+
};
|
|
23794
|
+
};
|
|
23795
|
+
};
|
|
23661
23796
|
};
|
|
23662
23797
|
'/thermostats/update': {
|
|
23663
23798
|
route: '/thermostats/update';
|
|
@@ -13778,6 +13778,9 @@ declare const _default: {
|
|
|
13778
13778
|
'application/json': {
|
|
13779
13779
|
schema: {
|
|
13780
13780
|
properties: {
|
|
13781
|
+
action_attempt: {
|
|
13782
|
+
$ref: string;
|
|
13783
|
+
};
|
|
13781
13784
|
ok: {
|
|
13782
13785
|
type: string;
|
|
13783
13786
|
};
|
|
@@ -13816,6 +13819,7 @@ declare const _default: {
|
|
|
13816
13819
|
tags: string[];
|
|
13817
13820
|
'x-fern-sdk-group-name': string[];
|
|
13818
13821
|
'x-fern-sdk-method-name': string;
|
|
13822
|
+
'x-fern-sdk-return-value': string;
|
|
13819
13823
|
};
|
|
13820
13824
|
};
|
|
13821
13825
|
'/thermostats/get': {
|
|
@@ -13924,6 +13928,9 @@ declare const _default: {
|
|
|
13924
13928
|
'application/json': {
|
|
13925
13929
|
schema: {
|
|
13926
13930
|
properties: {
|
|
13931
|
+
action_attempt: {
|
|
13932
|
+
$ref: string;
|
|
13933
|
+
};
|
|
13927
13934
|
ok: {
|
|
13928
13935
|
type: string;
|
|
13929
13936
|
};
|
|
@@ -13962,6 +13969,7 @@ declare const _default: {
|
|
|
13962
13969
|
tags: string[];
|
|
13963
13970
|
'x-fern-sdk-group-name': string[];
|
|
13964
13971
|
'x-fern-sdk-method-name': string;
|
|
13972
|
+
'x-fern-sdk-return-value': string;
|
|
13965
13973
|
};
|
|
13966
13974
|
};
|
|
13967
13975
|
'/thermostats/heat_cool': {
|
|
@@ -14005,6 +14013,9 @@ declare const _default: {
|
|
|
14005
14013
|
'application/json': {
|
|
14006
14014
|
schema: {
|
|
14007
14015
|
properties: {
|
|
14016
|
+
action_attempt: {
|
|
14017
|
+
$ref: string;
|
|
14018
|
+
};
|
|
14008
14019
|
ok: {
|
|
14009
14020
|
type: string;
|
|
14010
14021
|
};
|
|
@@ -14043,6 +14054,7 @@ declare const _default: {
|
|
|
14043
14054
|
tags: string[];
|
|
14044
14055
|
'x-fern-sdk-group-name': string[];
|
|
14045
14056
|
'x-fern-sdk-method-name': string;
|
|
14057
|
+
'x-fern-sdk-return-value': string;
|
|
14046
14058
|
};
|
|
14047
14059
|
};
|
|
14048
14060
|
'/thermostats/list': {
|
|
@@ -14215,6 +14227,9 @@ declare const _default: {
|
|
|
14215
14227
|
'application/json': {
|
|
14216
14228
|
schema: {
|
|
14217
14229
|
properties: {
|
|
14230
|
+
action_attempt: {
|
|
14231
|
+
$ref: string;
|
|
14232
|
+
};
|
|
14218
14233
|
ok: {
|
|
14219
14234
|
type: string;
|
|
14220
14235
|
};
|
|
@@ -14253,6 +14268,7 @@ declare const _default: {
|
|
|
14253
14268
|
tags: string[];
|
|
14254
14269
|
'x-fern-sdk-group-name': string[];
|
|
14255
14270
|
'x-fern-sdk-method-name': string;
|
|
14271
|
+
'x-fern-sdk-return-value': string;
|
|
14256
14272
|
};
|
|
14257
14273
|
};
|
|
14258
14274
|
'/thermostats/set_fan_mode': {
|
|
@@ -14292,6 +14308,9 @@ declare const _default: {
|
|
|
14292
14308
|
'application/json': {
|
|
14293
14309
|
schema: {
|
|
14294
14310
|
properties: {
|
|
14311
|
+
action_attempt: {
|
|
14312
|
+
$ref: string;
|
|
14313
|
+
};
|
|
14295
14314
|
ok: {
|
|
14296
14315
|
type: string;
|
|
14297
14316
|
};
|
|
@@ -14330,6 +14349,7 @@ declare const _default: {
|
|
|
14330
14349
|
tags: string[];
|
|
14331
14350
|
'x-fern-sdk-group-name': string[];
|
|
14332
14351
|
'x-fern-sdk-method-name': string;
|
|
14352
|
+
'x-fern-sdk-return-value': string;
|
|
14333
14353
|
};
|
|
14334
14354
|
};
|
|
14335
14355
|
'/thermostats/update': {
|
|
@@ -10333,8 +10333,13 @@ export default {
|
|
|
10333
10333
|
content: {
|
|
10334
10334
|
'application/json': {
|
|
10335
10335
|
schema: {
|
|
10336
|
-
properties: {
|
|
10337
|
-
|
|
10336
|
+
properties: {
|
|
10337
|
+
action_attempt: {
|
|
10338
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10339
|
+
},
|
|
10340
|
+
ok: { type: 'boolean' },
|
|
10341
|
+
},
|
|
10342
|
+
required: ['action_attempt', 'ok'],
|
|
10338
10343
|
type: 'object',
|
|
10339
10344
|
},
|
|
10340
10345
|
},
|
|
@@ -10353,6 +10358,7 @@ export default {
|
|
|
10353
10358
|
tags: ['/thermostats'],
|
|
10354
10359
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10355
10360
|
'x-fern-sdk-method-name': 'cool',
|
|
10361
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10356
10362
|
},
|
|
10357
10363
|
},
|
|
10358
10364
|
'/thermostats/get': {
|
|
@@ -10426,8 +10432,13 @@ export default {
|
|
|
10426
10432
|
content: {
|
|
10427
10433
|
'application/json': {
|
|
10428
10434
|
schema: {
|
|
10429
|
-
properties: {
|
|
10430
|
-
|
|
10435
|
+
properties: {
|
|
10436
|
+
action_attempt: {
|
|
10437
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10438
|
+
},
|
|
10439
|
+
ok: { type: 'boolean' },
|
|
10440
|
+
},
|
|
10441
|
+
required: ['action_attempt', 'ok'],
|
|
10431
10442
|
type: 'object',
|
|
10432
10443
|
},
|
|
10433
10444
|
},
|
|
@@ -10446,6 +10457,7 @@ export default {
|
|
|
10446
10457
|
tags: ['/thermostats'],
|
|
10447
10458
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10448
10459
|
'x-fern-sdk-method-name': 'heat',
|
|
10460
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10449
10461
|
},
|
|
10450
10462
|
},
|
|
10451
10463
|
'/thermostats/heat_cool': {
|
|
@@ -10474,8 +10486,13 @@ export default {
|
|
|
10474
10486
|
content: {
|
|
10475
10487
|
'application/json': {
|
|
10476
10488
|
schema: {
|
|
10477
|
-
properties: {
|
|
10478
|
-
|
|
10489
|
+
properties: {
|
|
10490
|
+
action_attempt: {
|
|
10491
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10492
|
+
},
|
|
10493
|
+
ok: { type: 'boolean' },
|
|
10494
|
+
},
|
|
10495
|
+
required: ['action_attempt', 'ok'],
|
|
10479
10496
|
type: 'object',
|
|
10480
10497
|
},
|
|
10481
10498
|
},
|
|
@@ -10494,6 +10511,7 @@ export default {
|
|
|
10494
10511
|
tags: ['/thermostats'],
|
|
10495
10512
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10496
10513
|
'x-fern-sdk-method-name': 'heat_cool',
|
|
10514
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10497
10515
|
},
|
|
10498
10516
|
},
|
|
10499
10517
|
'/thermostats/list': {
|
|
@@ -10739,8 +10757,13 @@ export default {
|
|
|
10739
10757
|
content: {
|
|
10740
10758
|
'application/json': {
|
|
10741
10759
|
schema: {
|
|
10742
|
-
properties: {
|
|
10743
|
-
|
|
10760
|
+
properties: {
|
|
10761
|
+
action_attempt: {
|
|
10762
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10763
|
+
},
|
|
10764
|
+
ok: { type: 'boolean' },
|
|
10765
|
+
},
|
|
10766
|
+
required: ['action_attempt', 'ok'],
|
|
10744
10767
|
type: 'object',
|
|
10745
10768
|
},
|
|
10746
10769
|
},
|
|
@@ -10759,6 +10782,7 @@ export default {
|
|
|
10759
10782
|
tags: ['/thermostats'],
|
|
10760
10783
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10761
10784
|
'x-fern-sdk-method-name': 'off',
|
|
10785
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10762
10786
|
},
|
|
10763
10787
|
},
|
|
10764
10788
|
'/thermostats/set_fan_mode': {
|
|
@@ -10785,8 +10809,13 @@ export default {
|
|
|
10785
10809
|
content: {
|
|
10786
10810
|
'application/json': {
|
|
10787
10811
|
schema: {
|
|
10788
|
-
properties: {
|
|
10789
|
-
|
|
10812
|
+
properties: {
|
|
10813
|
+
action_attempt: {
|
|
10814
|
+
$ref: '#/components/schemas/action_attempt',
|
|
10815
|
+
},
|
|
10816
|
+
ok: { type: 'boolean' },
|
|
10817
|
+
},
|
|
10818
|
+
required: ['action_attempt', 'ok'],
|
|
10790
10819
|
type: 'object',
|
|
10791
10820
|
},
|
|
10792
10821
|
},
|
|
@@ -10805,6 +10834,7 @@ export default {
|
|
|
10805
10834
|
tags: ['/thermostats'],
|
|
10806
10835
|
'x-fern-sdk-group-name': ['thermostats'],
|
|
10807
10836
|
'x-fern-sdk-method-name': 'set_fan_mode',
|
|
10837
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
10808
10838
|
},
|
|
10809
10839
|
},
|
|
10810
10840
|
'/thermostats/update': {
|