@seamapi/types 1.627.0 → 1.628.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 +22 -42
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +26 -96
- package/dist/index.cjs +22 -42
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +22 -82
- package/lib/seam/connect/openapi.js +22 -42
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -14
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +22 -42
- package/src/lib/seam/connect/route-types.ts +4 -22
package/dist/connect.d.cts
CHANGED
|
@@ -94462,20 +94462,8 @@ declare const _default: {
|
|
|
94462
94462
|
properties: {
|
|
94463
94463
|
rules: {
|
|
94464
94464
|
properties: {
|
|
94465
|
-
delete_on_reservation_end: {
|
|
94466
|
-
properties: {
|
|
94467
|
-
enabled: {
|
|
94468
|
-
type: string;
|
|
94469
|
-
};
|
|
94470
|
-
};
|
|
94471
|
-
required: string[];
|
|
94472
|
-
type: string;
|
|
94473
|
-
};
|
|
94474
94465
|
reservation_created: {
|
|
94475
94466
|
properties: {
|
|
94476
|
-
enabled: {
|
|
94477
|
-
type: string;
|
|
94478
|
-
};
|
|
94479
94467
|
fallback_preset: {
|
|
94480
94468
|
properties: {
|
|
94481
94469
|
fan_mode: {
|
|
@@ -94509,17 +94497,13 @@ declare const _default: {
|
|
|
94509
94497
|
type: string;
|
|
94510
94498
|
};
|
|
94511
94499
|
};
|
|
94512
|
-
required: string[];
|
|
94513
94500
|
type: string;
|
|
94514
94501
|
};
|
|
94515
|
-
|
|
94516
|
-
|
|
94517
|
-
|
|
94518
|
-
|
|
94519
|
-
|
|
94520
|
-
};
|
|
94521
|
-
required: string[];
|
|
94522
|
-
type: string;
|
|
94502
|
+
reservation_deleted: {
|
|
94503
|
+
$ref: string;
|
|
94504
|
+
};
|
|
94505
|
+
reservation_time_updated: {
|
|
94506
|
+
$ref: string;
|
|
94523
94507
|
};
|
|
94524
94508
|
};
|
|
94525
94509
|
type: string;
|
|
@@ -94691,20 +94675,8 @@ declare const _default: {
|
|
|
94691
94675
|
properties: {
|
|
94692
94676
|
rules: {
|
|
94693
94677
|
properties: {
|
|
94694
|
-
delete_on_reservation_end: {
|
|
94695
|
-
properties: {
|
|
94696
|
-
enabled: {
|
|
94697
|
-
type: string;
|
|
94698
|
-
};
|
|
94699
|
-
};
|
|
94700
|
-
required: string[];
|
|
94701
|
-
type: string;
|
|
94702
|
-
};
|
|
94703
94678
|
reservation_created: {
|
|
94704
94679
|
properties: {
|
|
94705
|
-
enabled: {
|
|
94706
|
-
type: string;
|
|
94707
|
-
};
|
|
94708
94680
|
fallback_preset: {
|
|
94709
94681
|
properties: {
|
|
94710
94682
|
fan_mode: {
|
|
@@ -94738,17 +94710,13 @@ declare const _default: {
|
|
|
94738
94710
|
type: string;
|
|
94739
94711
|
};
|
|
94740
94712
|
};
|
|
94741
|
-
required: string[];
|
|
94742
94713
|
type: string;
|
|
94743
94714
|
};
|
|
94744
|
-
|
|
94745
|
-
|
|
94746
|
-
|
|
94747
|
-
|
|
94748
|
-
|
|
94749
|
-
};
|
|
94750
|
-
required: string[];
|
|
94751
|
-
type: string;
|
|
94715
|
+
reservation_deleted: {
|
|
94716
|
+
$ref: string;
|
|
94717
|
+
};
|
|
94718
|
+
reservation_time_updated: {
|
|
94719
|
+
$ref: string;
|
|
94752
94720
|
};
|
|
94753
94721
|
};
|
|
94754
94722
|
type: string;
|
|
@@ -94929,20 +94897,8 @@ declare const _default: {
|
|
|
94929
94897
|
properties: {
|
|
94930
94898
|
rules: {
|
|
94931
94899
|
properties: {
|
|
94932
|
-
delete_on_reservation_end: {
|
|
94933
|
-
properties: {
|
|
94934
|
-
enabled: {
|
|
94935
|
-
type: string;
|
|
94936
|
-
};
|
|
94937
|
-
};
|
|
94938
|
-
required: string[];
|
|
94939
|
-
type: string;
|
|
94940
|
-
};
|
|
94941
94900
|
reservation_created: {
|
|
94942
94901
|
properties: {
|
|
94943
|
-
enabled: {
|
|
94944
|
-
type: string;
|
|
94945
|
-
};
|
|
94946
94902
|
fallback_preset: {
|
|
94947
94903
|
properties: {
|
|
94948
94904
|
fan_mode: {
|
|
@@ -94976,16 +94932,14 @@ declare const _default: {
|
|
|
94976
94932
|
type: string;
|
|
94977
94933
|
};
|
|
94978
94934
|
};
|
|
94979
|
-
required: string[];
|
|
94980
94935
|
type: string;
|
|
94981
94936
|
};
|
|
94982
|
-
|
|
94983
|
-
properties: {
|
|
94984
|
-
|
|
94985
|
-
|
|
94986
|
-
|
|
94987
|
-
};
|
|
94988
|
-
required: string[];
|
|
94937
|
+
reservation_deleted: {
|
|
94938
|
+
properties: {};
|
|
94939
|
+
type: string;
|
|
94940
|
+
};
|
|
94941
|
+
reservation_time_updated: {
|
|
94942
|
+
properties: {};
|
|
94989
94943
|
type: string;
|
|
94990
94944
|
};
|
|
94991
94945
|
};
|
|
@@ -95176,20 +95130,8 @@ declare const _default: {
|
|
|
95176
95130
|
properties: {
|
|
95177
95131
|
rules: {
|
|
95178
95132
|
properties: {
|
|
95179
|
-
delete_on_reservation_end: {
|
|
95180
|
-
properties: {
|
|
95181
|
-
enabled: {
|
|
95182
|
-
type: string;
|
|
95183
|
-
};
|
|
95184
|
-
};
|
|
95185
|
-
required: string[];
|
|
95186
|
-
type: string;
|
|
95187
|
-
};
|
|
95188
95133
|
reservation_created: {
|
|
95189
95134
|
properties: {
|
|
95190
|
-
enabled: {
|
|
95191
|
-
type: string;
|
|
95192
|
-
};
|
|
95193
95135
|
fallback_preset: {
|
|
95194
95136
|
properties: {
|
|
95195
95137
|
fan_mode: {
|
|
@@ -95223,16 +95165,14 @@ declare const _default: {
|
|
|
95223
95165
|
type: string;
|
|
95224
95166
|
};
|
|
95225
95167
|
};
|
|
95226
|
-
required: string[];
|
|
95227
95168
|
type: string;
|
|
95228
95169
|
};
|
|
95229
|
-
|
|
95230
|
-
properties: {
|
|
95231
|
-
|
|
95232
|
-
|
|
95233
|
-
|
|
95234
|
-
};
|
|
95235
|
-
required: string[];
|
|
95170
|
+
reservation_deleted: {
|
|
95171
|
+
properties: {};
|
|
95172
|
+
type: string;
|
|
95173
|
+
};
|
|
95174
|
+
reservation_time_updated: {
|
|
95175
|
+
properties: {};
|
|
95236
95176
|
type: string;
|
|
95237
95177
|
};
|
|
95238
95178
|
};
|
|
@@ -167842,7 +167782,6 @@ type Routes = {
|
|
|
167842
167782
|
climate_rules?: {
|
|
167843
167783
|
rules: {
|
|
167844
167784
|
reservation_created?: {
|
|
167845
|
-
enabled: boolean;
|
|
167846
167785
|
occupied_preset_key?: string | undefined;
|
|
167847
167786
|
fallback_preset?: {
|
|
167848
167787
|
mode: 'heat' | 'cool' | 'auto';
|
|
@@ -167853,12 +167792,8 @@ type Routes = {
|
|
|
167853
167792
|
override_period_minutes: number;
|
|
167854
167793
|
} | undefined;
|
|
167855
167794
|
} | undefined;
|
|
167856
|
-
|
|
167857
|
-
|
|
167858
|
-
} | undefined;
|
|
167859
|
-
delete_on_reservation_end?: {
|
|
167860
|
-
enabled: boolean;
|
|
167861
|
-
} | undefined;
|
|
167795
|
+
reservation_time_updated?: {} | undefined;
|
|
167796
|
+
reservation_deleted?: {} | undefined;
|
|
167862
167797
|
};
|
|
167863
167798
|
} | undefined;
|
|
167864
167799
|
};
|
|
@@ -167906,7 +167841,6 @@ type Routes = {
|
|
|
167906
167841
|
climate_rules?: {
|
|
167907
167842
|
rules?: {
|
|
167908
167843
|
reservation_created?: {
|
|
167909
|
-
enabled: boolean;
|
|
167910
167844
|
occupied_preset_key?: string | undefined;
|
|
167911
167845
|
fallback_preset?: {
|
|
167912
167846
|
mode: 'heat' | 'cool' | 'auto';
|
|
@@ -167917,12 +167851,8 @@ type Routes = {
|
|
|
167917
167851
|
override_period_minutes: number;
|
|
167918
167852
|
} | undefined;
|
|
167919
167853
|
} | undefined;
|
|
167920
|
-
|
|
167921
|
-
|
|
167922
|
-
} | undefined;
|
|
167923
|
-
delete_on_reservation_end?: {
|
|
167924
|
-
enabled: boolean;
|
|
167925
|
-
} | undefined;
|
|
167854
|
+
reservation_time_updated?: {} | undefined;
|
|
167855
|
+
reservation_deleted?: {} | undefined;
|
|
167926
167856
|
} | undefined;
|
|
167927
167857
|
} | undefined;
|
|
167928
167858
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -53423,14 +53423,8 @@ var openapi_default = {
|
|
|
53423
53423
|
properties: {
|
|
53424
53424
|
rules: {
|
|
53425
53425
|
properties: {
|
|
53426
|
-
delete_on_reservation_end: {
|
|
53427
|
-
properties: { enabled: { type: "boolean" } },
|
|
53428
|
-
required: ["enabled"],
|
|
53429
|
-
type: "object"
|
|
53430
|
-
},
|
|
53431
53426
|
reservation_created: {
|
|
53432
53427
|
properties: {
|
|
53433
|
-
enabled: { type: "boolean" },
|
|
53434
53428
|
fallback_preset: {
|
|
53435
53429
|
properties: {
|
|
53436
53430
|
fan_mode: {
|
|
@@ -53467,13 +53461,13 @@ var openapi_default = {
|
|
|
53467
53461
|
},
|
|
53468
53462
|
occupied_preset_key: { type: "string" }
|
|
53469
53463
|
},
|
|
53470
|
-
required: ["enabled"],
|
|
53471
53464
|
type: "object"
|
|
53472
53465
|
},
|
|
53473
|
-
|
|
53474
|
-
|
|
53475
|
-
|
|
53476
|
-
|
|
53466
|
+
reservation_deleted: {
|
|
53467
|
+
$ref: "#/components/schemas/access_code"
|
|
53468
|
+
},
|
|
53469
|
+
reservation_time_updated: {
|
|
53470
|
+
$ref: "#/components/schemas/access_code"
|
|
53477
53471
|
}
|
|
53478
53472
|
},
|
|
53479
53473
|
type: "object"
|
|
@@ -53638,14 +53632,8 @@ var openapi_default = {
|
|
|
53638
53632
|
properties: {
|
|
53639
53633
|
rules: {
|
|
53640
53634
|
properties: {
|
|
53641
|
-
delete_on_reservation_end: {
|
|
53642
|
-
properties: { enabled: { type: "boolean" } },
|
|
53643
|
-
required: ["enabled"],
|
|
53644
|
-
type: "object"
|
|
53645
|
-
},
|
|
53646
53635
|
reservation_created: {
|
|
53647
53636
|
properties: {
|
|
53648
|
-
enabled: { type: "boolean" },
|
|
53649
53637
|
fallback_preset: {
|
|
53650
53638
|
properties: {
|
|
53651
53639
|
fan_mode: {
|
|
@@ -53682,13 +53670,13 @@ var openapi_default = {
|
|
|
53682
53670
|
},
|
|
53683
53671
|
occupied_preset_key: { type: "string" }
|
|
53684
53672
|
},
|
|
53685
|
-
required: ["enabled"],
|
|
53686
53673
|
type: "object"
|
|
53687
53674
|
},
|
|
53688
|
-
|
|
53689
|
-
|
|
53690
|
-
|
|
53691
|
-
|
|
53675
|
+
reservation_deleted: {
|
|
53676
|
+
$ref: "#/components/schemas/access_code"
|
|
53677
|
+
},
|
|
53678
|
+
reservation_time_updated: {
|
|
53679
|
+
$ref: "#/components/schemas/access_code"
|
|
53692
53680
|
}
|
|
53693
53681
|
},
|
|
53694
53682
|
type: "object"
|
|
@@ -53844,14 +53832,8 @@ var openapi_default = {
|
|
|
53844
53832
|
properties: {
|
|
53845
53833
|
rules: {
|
|
53846
53834
|
properties: {
|
|
53847
|
-
delete_on_reservation_end: {
|
|
53848
|
-
properties: { enabled: { type: "boolean" } },
|
|
53849
|
-
required: ["enabled"],
|
|
53850
|
-
type: "object"
|
|
53851
|
-
},
|
|
53852
53835
|
reservation_created: {
|
|
53853
53836
|
properties: {
|
|
53854
|
-
enabled: { type: "boolean" },
|
|
53855
53837
|
fallback_preset: {
|
|
53856
53838
|
properties: {
|
|
53857
53839
|
fan_mode: {
|
|
@@ -53888,12 +53870,14 @@ var openapi_default = {
|
|
|
53888
53870
|
},
|
|
53889
53871
|
occupied_preset_key: { type: "string" }
|
|
53890
53872
|
},
|
|
53891
|
-
required: ["enabled"],
|
|
53892
53873
|
type: "object"
|
|
53893
53874
|
},
|
|
53894
|
-
|
|
53895
|
-
properties: {
|
|
53896
|
-
|
|
53875
|
+
reservation_deleted: {
|
|
53876
|
+
properties: {},
|
|
53877
|
+
type: "object"
|
|
53878
|
+
},
|
|
53879
|
+
reservation_time_updated: {
|
|
53880
|
+
properties: {},
|
|
53897
53881
|
type: "object"
|
|
53898
53882
|
}
|
|
53899
53883
|
},
|
|
@@ -54057,14 +54041,8 @@ var openapi_default = {
|
|
|
54057
54041
|
properties: {
|
|
54058
54042
|
rules: {
|
|
54059
54043
|
properties: {
|
|
54060
|
-
delete_on_reservation_end: {
|
|
54061
|
-
properties: { enabled: { type: "boolean" } },
|
|
54062
|
-
required: ["enabled"],
|
|
54063
|
-
type: "object"
|
|
54064
|
-
},
|
|
54065
54044
|
reservation_created: {
|
|
54066
54045
|
properties: {
|
|
54067
|
-
enabled: { type: "boolean" },
|
|
54068
54046
|
fallback_preset: {
|
|
54069
54047
|
properties: {
|
|
54070
54048
|
fan_mode: {
|
|
@@ -54101,12 +54079,14 @@ var openapi_default = {
|
|
|
54101
54079
|
},
|
|
54102
54080
|
occupied_preset_key: { type: "string" }
|
|
54103
54081
|
},
|
|
54104
|
-
required: ["enabled"],
|
|
54105
54082
|
type: "object"
|
|
54106
54083
|
},
|
|
54107
|
-
|
|
54108
|
-
properties: {
|
|
54109
|
-
|
|
54084
|
+
reservation_deleted: {
|
|
54085
|
+
properties: {},
|
|
54086
|
+
type: "object"
|
|
54087
|
+
},
|
|
54088
|
+
reservation_time_updated: {
|
|
54089
|
+
properties: {},
|
|
54110
54090
|
type: "object"
|
|
54111
54091
|
}
|
|
54112
54092
|
},
|