@seamapi/types 1.626.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 +26 -44
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +42 -96
- package/dist/index.cjs +26 -44
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +38 -82
- package/lib/seam/connect/openapi.js +24 -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 +24 -42
- package/src/lib/seam/connect/route-types.ts +4 -22
package/dist/connect.d.cts
CHANGED
|
@@ -73119,14 +73119,22 @@ declare const _default: {
|
|
|
73119
73119
|
pat_with_workspace: never[];
|
|
73120
73120
|
console_session_with_workspace?: never;
|
|
73121
73121
|
api_key?: never;
|
|
73122
|
+
client_session_with_customer?: never;
|
|
73122
73123
|
} | {
|
|
73123
73124
|
console_session_with_workspace: never[];
|
|
73124
73125
|
pat_with_workspace?: never;
|
|
73125
73126
|
api_key?: never;
|
|
73127
|
+
client_session_with_customer?: never;
|
|
73126
73128
|
} | {
|
|
73127
73129
|
api_key: never[];
|
|
73128
73130
|
pat_with_workspace?: never;
|
|
73129
73131
|
console_session_with_workspace?: never;
|
|
73132
|
+
client_session_with_customer?: never;
|
|
73133
|
+
} | {
|
|
73134
|
+
client_session_with_customer: never[];
|
|
73135
|
+
pat_with_workspace?: never;
|
|
73136
|
+
console_session_with_workspace?: never;
|
|
73137
|
+
api_key?: never;
|
|
73130
73138
|
})[];
|
|
73131
73139
|
summary: string;
|
|
73132
73140
|
tags: never[];
|
|
@@ -73206,14 +73214,22 @@ declare const _default: {
|
|
|
73206
73214
|
pat_with_workspace: never[];
|
|
73207
73215
|
console_session_with_workspace?: never;
|
|
73208
73216
|
api_key?: never;
|
|
73217
|
+
client_session_with_customer?: never;
|
|
73209
73218
|
} | {
|
|
73210
73219
|
console_session_with_workspace: never[];
|
|
73211
73220
|
pat_with_workspace?: never;
|
|
73212
73221
|
api_key?: never;
|
|
73222
|
+
client_session_with_customer?: never;
|
|
73213
73223
|
} | {
|
|
73214
73224
|
api_key: never[];
|
|
73215
73225
|
pat_with_workspace?: never;
|
|
73216
73226
|
console_session_with_workspace?: never;
|
|
73227
|
+
client_session_with_customer?: never;
|
|
73228
|
+
} | {
|
|
73229
|
+
client_session_with_customer: never[];
|
|
73230
|
+
pat_with_workspace?: never;
|
|
73231
|
+
console_session_with_workspace?: never;
|
|
73232
|
+
api_key?: never;
|
|
73217
73233
|
})[];
|
|
73218
73234
|
summary: string;
|
|
73219
73235
|
tags: never[];
|
|
@@ -94446,20 +94462,8 @@ declare const _default: {
|
|
|
94446
94462
|
properties: {
|
|
94447
94463
|
rules: {
|
|
94448
94464
|
properties: {
|
|
94449
|
-
delete_on_reservation_end: {
|
|
94450
|
-
properties: {
|
|
94451
|
-
enabled: {
|
|
94452
|
-
type: string;
|
|
94453
|
-
};
|
|
94454
|
-
};
|
|
94455
|
-
required: string[];
|
|
94456
|
-
type: string;
|
|
94457
|
-
};
|
|
94458
94465
|
reservation_created: {
|
|
94459
94466
|
properties: {
|
|
94460
|
-
enabled: {
|
|
94461
|
-
type: string;
|
|
94462
|
-
};
|
|
94463
94467
|
fallback_preset: {
|
|
94464
94468
|
properties: {
|
|
94465
94469
|
fan_mode: {
|
|
@@ -94493,17 +94497,13 @@ declare const _default: {
|
|
|
94493
94497
|
type: string;
|
|
94494
94498
|
};
|
|
94495
94499
|
};
|
|
94496
|
-
required: string[];
|
|
94497
94500
|
type: string;
|
|
94498
94501
|
};
|
|
94499
|
-
|
|
94500
|
-
|
|
94501
|
-
|
|
94502
|
-
|
|
94503
|
-
|
|
94504
|
-
};
|
|
94505
|
-
required: string[];
|
|
94506
|
-
type: string;
|
|
94502
|
+
reservation_deleted: {
|
|
94503
|
+
$ref: string;
|
|
94504
|
+
};
|
|
94505
|
+
reservation_time_updated: {
|
|
94506
|
+
$ref: string;
|
|
94507
94507
|
};
|
|
94508
94508
|
};
|
|
94509
94509
|
type: string;
|
|
@@ -94675,20 +94675,8 @@ declare const _default: {
|
|
|
94675
94675
|
properties: {
|
|
94676
94676
|
rules: {
|
|
94677
94677
|
properties: {
|
|
94678
|
-
delete_on_reservation_end: {
|
|
94679
|
-
properties: {
|
|
94680
|
-
enabled: {
|
|
94681
|
-
type: string;
|
|
94682
|
-
};
|
|
94683
|
-
};
|
|
94684
|
-
required: string[];
|
|
94685
|
-
type: string;
|
|
94686
|
-
};
|
|
94687
94678
|
reservation_created: {
|
|
94688
94679
|
properties: {
|
|
94689
|
-
enabled: {
|
|
94690
|
-
type: string;
|
|
94691
|
-
};
|
|
94692
94680
|
fallback_preset: {
|
|
94693
94681
|
properties: {
|
|
94694
94682
|
fan_mode: {
|
|
@@ -94722,17 +94710,13 @@ declare const _default: {
|
|
|
94722
94710
|
type: string;
|
|
94723
94711
|
};
|
|
94724
94712
|
};
|
|
94725
|
-
required: string[];
|
|
94726
94713
|
type: string;
|
|
94727
94714
|
};
|
|
94728
|
-
|
|
94729
|
-
|
|
94730
|
-
|
|
94731
|
-
|
|
94732
|
-
|
|
94733
|
-
};
|
|
94734
|
-
required: string[];
|
|
94735
|
-
type: string;
|
|
94715
|
+
reservation_deleted: {
|
|
94716
|
+
$ref: string;
|
|
94717
|
+
};
|
|
94718
|
+
reservation_time_updated: {
|
|
94719
|
+
$ref: string;
|
|
94736
94720
|
};
|
|
94737
94721
|
};
|
|
94738
94722
|
type: string;
|
|
@@ -94913,20 +94897,8 @@ declare const _default: {
|
|
|
94913
94897
|
properties: {
|
|
94914
94898
|
rules: {
|
|
94915
94899
|
properties: {
|
|
94916
|
-
delete_on_reservation_end: {
|
|
94917
|
-
properties: {
|
|
94918
|
-
enabled: {
|
|
94919
|
-
type: string;
|
|
94920
|
-
};
|
|
94921
|
-
};
|
|
94922
|
-
required: string[];
|
|
94923
|
-
type: string;
|
|
94924
|
-
};
|
|
94925
94900
|
reservation_created: {
|
|
94926
94901
|
properties: {
|
|
94927
|
-
enabled: {
|
|
94928
|
-
type: string;
|
|
94929
|
-
};
|
|
94930
94902
|
fallback_preset: {
|
|
94931
94903
|
properties: {
|
|
94932
94904
|
fan_mode: {
|
|
@@ -94960,16 +94932,14 @@ declare const _default: {
|
|
|
94960
94932
|
type: string;
|
|
94961
94933
|
};
|
|
94962
94934
|
};
|
|
94963
|
-
required: string[];
|
|
94964
94935
|
type: string;
|
|
94965
94936
|
};
|
|
94966
|
-
|
|
94967
|
-
properties: {
|
|
94968
|
-
|
|
94969
|
-
|
|
94970
|
-
|
|
94971
|
-
};
|
|
94972
|
-
required: string[];
|
|
94937
|
+
reservation_deleted: {
|
|
94938
|
+
properties: {};
|
|
94939
|
+
type: string;
|
|
94940
|
+
};
|
|
94941
|
+
reservation_time_updated: {
|
|
94942
|
+
properties: {};
|
|
94973
94943
|
type: string;
|
|
94974
94944
|
};
|
|
94975
94945
|
};
|
|
@@ -95160,20 +95130,8 @@ declare const _default: {
|
|
|
95160
95130
|
properties: {
|
|
95161
95131
|
rules: {
|
|
95162
95132
|
properties: {
|
|
95163
|
-
delete_on_reservation_end: {
|
|
95164
|
-
properties: {
|
|
95165
|
-
enabled: {
|
|
95166
|
-
type: string;
|
|
95167
|
-
};
|
|
95168
|
-
};
|
|
95169
|
-
required: string[];
|
|
95170
|
-
type: string;
|
|
95171
|
-
};
|
|
95172
95133
|
reservation_created: {
|
|
95173
95134
|
properties: {
|
|
95174
|
-
enabled: {
|
|
95175
|
-
type: string;
|
|
95176
|
-
};
|
|
95177
95135
|
fallback_preset: {
|
|
95178
95136
|
properties: {
|
|
95179
95137
|
fan_mode: {
|
|
@@ -95207,16 +95165,14 @@ declare const _default: {
|
|
|
95207
95165
|
type: string;
|
|
95208
95166
|
};
|
|
95209
95167
|
};
|
|
95210
|
-
required: string[];
|
|
95211
95168
|
type: string;
|
|
95212
95169
|
};
|
|
95213
|
-
|
|
95214
|
-
properties: {
|
|
95215
|
-
|
|
95216
|
-
|
|
95217
|
-
|
|
95218
|
-
};
|
|
95219
|
-
required: string[];
|
|
95170
|
+
reservation_deleted: {
|
|
95171
|
+
properties: {};
|
|
95172
|
+
type: string;
|
|
95173
|
+
};
|
|
95174
|
+
reservation_time_updated: {
|
|
95175
|
+
properties: {};
|
|
95220
95176
|
type: string;
|
|
95221
95177
|
};
|
|
95222
95178
|
};
|
|
@@ -167826,7 +167782,6 @@ type Routes = {
|
|
|
167826
167782
|
climate_rules?: {
|
|
167827
167783
|
rules: {
|
|
167828
167784
|
reservation_created?: {
|
|
167829
|
-
enabled: boolean;
|
|
167830
167785
|
occupied_preset_key?: string | undefined;
|
|
167831
167786
|
fallback_preset?: {
|
|
167832
167787
|
mode: 'heat' | 'cool' | 'auto';
|
|
@@ -167837,12 +167792,8 @@ type Routes = {
|
|
|
167837
167792
|
override_period_minutes: number;
|
|
167838
167793
|
} | undefined;
|
|
167839
167794
|
} | undefined;
|
|
167840
|
-
|
|
167841
|
-
|
|
167842
|
-
} | undefined;
|
|
167843
|
-
delete_on_reservation_end?: {
|
|
167844
|
-
enabled: boolean;
|
|
167845
|
-
} | undefined;
|
|
167795
|
+
reservation_time_updated?: {} | undefined;
|
|
167796
|
+
reservation_deleted?: {} | undefined;
|
|
167846
167797
|
};
|
|
167847
167798
|
} | undefined;
|
|
167848
167799
|
};
|
|
@@ -167890,7 +167841,6 @@ type Routes = {
|
|
|
167890
167841
|
climate_rules?: {
|
|
167891
167842
|
rules?: {
|
|
167892
167843
|
reservation_created?: {
|
|
167893
|
-
enabled: boolean;
|
|
167894
167844
|
occupied_preset_key?: string | undefined;
|
|
167895
167845
|
fallback_preset?: {
|
|
167896
167846
|
mode: 'heat' | 'cool' | 'auto';
|
|
@@ -167901,12 +167851,8 @@ type Routes = {
|
|
|
167901
167851
|
override_period_minutes: number;
|
|
167902
167852
|
} | undefined;
|
|
167903
167853
|
} | undefined;
|
|
167904
|
-
|
|
167905
|
-
|
|
167906
|
-
} | undefined;
|
|
167907
|
-
delete_on_reservation_end?: {
|
|
167908
|
-
enabled: boolean;
|
|
167909
|
-
} | undefined;
|
|
167854
|
+
reservation_time_updated?: {} | undefined;
|
|
167855
|
+
reservation_deleted?: {} | undefined;
|
|
167910
167856
|
} | undefined;
|
|
167911
167857
|
} | undefined;
|
|
167912
167858
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -34429,7 +34429,8 @@ var openapi_default = {
|
|
|
34429
34429
|
security: [
|
|
34430
34430
|
{ pat_with_workspace: [] },
|
|
34431
34431
|
{ console_session_with_workspace: [] },
|
|
34432
|
-
{ api_key: [] }
|
|
34432
|
+
{ api_key: [] },
|
|
34433
|
+
{ client_session_with_customer: [] }
|
|
34433
34434
|
],
|
|
34434
34435
|
summary: "/access_methods/list",
|
|
34435
34436
|
tags: [],
|
|
@@ -34500,7 +34501,8 @@ var openapi_default = {
|
|
|
34500
34501
|
security: [
|
|
34501
34502
|
{ pat_with_workspace: [] },
|
|
34502
34503
|
{ console_session_with_workspace: [] },
|
|
34503
|
-
{ api_key: [] }
|
|
34504
|
+
{ api_key: [] },
|
|
34505
|
+
{ client_session_with_customer: [] }
|
|
34504
34506
|
],
|
|
34505
34507
|
summary: "/access_methods/list",
|
|
34506
34508
|
tags: [],
|
|
@@ -53421,14 +53423,8 @@ var openapi_default = {
|
|
|
53421
53423
|
properties: {
|
|
53422
53424
|
rules: {
|
|
53423
53425
|
properties: {
|
|
53424
|
-
delete_on_reservation_end: {
|
|
53425
|
-
properties: { enabled: { type: "boolean" } },
|
|
53426
|
-
required: ["enabled"],
|
|
53427
|
-
type: "object"
|
|
53428
|
-
},
|
|
53429
53426
|
reservation_created: {
|
|
53430
53427
|
properties: {
|
|
53431
|
-
enabled: { type: "boolean" },
|
|
53432
53428
|
fallback_preset: {
|
|
53433
53429
|
properties: {
|
|
53434
53430
|
fan_mode: {
|
|
@@ -53465,13 +53461,13 @@ var openapi_default = {
|
|
|
53465
53461
|
},
|
|
53466
53462
|
occupied_preset_key: { type: "string" }
|
|
53467
53463
|
},
|
|
53468
|
-
required: ["enabled"],
|
|
53469
53464
|
type: "object"
|
|
53470
53465
|
},
|
|
53471
|
-
|
|
53472
|
-
|
|
53473
|
-
|
|
53474
|
-
|
|
53466
|
+
reservation_deleted: {
|
|
53467
|
+
$ref: "#/components/schemas/access_code"
|
|
53468
|
+
},
|
|
53469
|
+
reservation_time_updated: {
|
|
53470
|
+
$ref: "#/components/schemas/access_code"
|
|
53475
53471
|
}
|
|
53476
53472
|
},
|
|
53477
53473
|
type: "object"
|
|
@@ -53636,14 +53632,8 @@ var openapi_default = {
|
|
|
53636
53632
|
properties: {
|
|
53637
53633
|
rules: {
|
|
53638
53634
|
properties: {
|
|
53639
|
-
delete_on_reservation_end: {
|
|
53640
|
-
properties: { enabled: { type: "boolean" } },
|
|
53641
|
-
required: ["enabled"],
|
|
53642
|
-
type: "object"
|
|
53643
|
-
},
|
|
53644
53635
|
reservation_created: {
|
|
53645
53636
|
properties: {
|
|
53646
|
-
enabled: { type: "boolean" },
|
|
53647
53637
|
fallback_preset: {
|
|
53648
53638
|
properties: {
|
|
53649
53639
|
fan_mode: {
|
|
@@ -53680,13 +53670,13 @@ var openapi_default = {
|
|
|
53680
53670
|
},
|
|
53681
53671
|
occupied_preset_key: { type: "string" }
|
|
53682
53672
|
},
|
|
53683
|
-
required: ["enabled"],
|
|
53684
53673
|
type: "object"
|
|
53685
53674
|
},
|
|
53686
|
-
|
|
53687
|
-
|
|
53688
|
-
|
|
53689
|
-
|
|
53675
|
+
reservation_deleted: {
|
|
53676
|
+
$ref: "#/components/schemas/access_code"
|
|
53677
|
+
},
|
|
53678
|
+
reservation_time_updated: {
|
|
53679
|
+
$ref: "#/components/schemas/access_code"
|
|
53690
53680
|
}
|
|
53691
53681
|
},
|
|
53692
53682
|
type: "object"
|
|
@@ -53842,14 +53832,8 @@ var openapi_default = {
|
|
|
53842
53832
|
properties: {
|
|
53843
53833
|
rules: {
|
|
53844
53834
|
properties: {
|
|
53845
|
-
delete_on_reservation_end: {
|
|
53846
|
-
properties: { enabled: { type: "boolean" } },
|
|
53847
|
-
required: ["enabled"],
|
|
53848
|
-
type: "object"
|
|
53849
|
-
},
|
|
53850
53835
|
reservation_created: {
|
|
53851
53836
|
properties: {
|
|
53852
|
-
enabled: { type: "boolean" },
|
|
53853
53837
|
fallback_preset: {
|
|
53854
53838
|
properties: {
|
|
53855
53839
|
fan_mode: {
|
|
@@ -53886,12 +53870,14 @@ var openapi_default = {
|
|
|
53886
53870
|
},
|
|
53887
53871
|
occupied_preset_key: { type: "string" }
|
|
53888
53872
|
},
|
|
53889
|
-
required: ["enabled"],
|
|
53890
53873
|
type: "object"
|
|
53891
53874
|
},
|
|
53892
|
-
|
|
53893
|
-
properties: {
|
|
53894
|
-
|
|
53875
|
+
reservation_deleted: {
|
|
53876
|
+
properties: {},
|
|
53877
|
+
type: "object"
|
|
53878
|
+
},
|
|
53879
|
+
reservation_time_updated: {
|
|
53880
|
+
properties: {},
|
|
53895
53881
|
type: "object"
|
|
53896
53882
|
}
|
|
53897
53883
|
},
|
|
@@ -54055,14 +54041,8 @@ var openapi_default = {
|
|
|
54055
54041
|
properties: {
|
|
54056
54042
|
rules: {
|
|
54057
54043
|
properties: {
|
|
54058
|
-
delete_on_reservation_end: {
|
|
54059
|
-
properties: { enabled: { type: "boolean" } },
|
|
54060
|
-
required: ["enabled"],
|
|
54061
|
-
type: "object"
|
|
54062
|
-
},
|
|
54063
54044
|
reservation_created: {
|
|
54064
54045
|
properties: {
|
|
54065
|
-
enabled: { type: "boolean" },
|
|
54066
54046
|
fallback_preset: {
|
|
54067
54047
|
properties: {
|
|
54068
54048
|
fan_mode: {
|
|
@@ -54099,12 +54079,14 @@ var openapi_default = {
|
|
|
54099
54079
|
},
|
|
54100
54080
|
occupied_preset_key: { type: "string" }
|
|
54101
54081
|
},
|
|
54102
|
-
required: ["enabled"],
|
|
54103
54082
|
type: "object"
|
|
54104
54083
|
},
|
|
54105
|
-
|
|
54106
|
-
properties: {
|
|
54107
|
-
|
|
54084
|
+
reservation_deleted: {
|
|
54085
|
+
properties: {},
|
|
54086
|
+
type: "object"
|
|
54087
|
+
},
|
|
54088
|
+
reservation_time_updated: {
|
|
54089
|
+
properties: {},
|
|
54108
54090
|
type: "object"
|
|
54109
54091
|
}
|
|
54110
54092
|
},
|