@seamapi/types 1.627.0 → 1.629.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.
@@ -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
- update_on_time_change: {
94516
- properties: {
94517
- enabled: {
94518
- type: string;
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
- update_on_time_change: {
94745
- properties: {
94746
- enabled: {
94747
- type: string;
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
- update_on_time_change: {
94983
- properties: {
94984
- enabled: {
94985
- type: string;
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
- update_on_time_change: {
95230
- properties: {
95231
- enabled: {
95232
- type: string;
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
  };
@@ -95448,6 +95388,90 @@ declare const _default: {
95448
95388
  'x-undocumented': string;
95449
95389
  };
95450
95390
  };
95391
+ '/seam/customer/v1/connectors/delete': {
95392
+ post: {
95393
+ description: string;
95394
+ operationId: string;
95395
+ requestBody: {
95396
+ content: {
95397
+ 'application/json': {
95398
+ schema: {
95399
+ properties: {
95400
+ connector_id: {
95401
+ description: string;
95402
+ minLength: number;
95403
+ type: string;
95404
+ };
95405
+ };
95406
+ required: string[];
95407
+ type: string;
95408
+ };
95409
+ };
95410
+ };
95411
+ };
95412
+ responses: {
95413
+ 200: {
95414
+ content: {
95415
+ 'application/json': {
95416
+ schema: {
95417
+ properties: {
95418
+ connector: {
95419
+ properties: {
95420
+ connector_id: {
95421
+ type: string;
95422
+ };
95423
+ connector_type: {
95424
+ type: string;
95425
+ };
95426
+ status: {
95427
+ enum: string[];
95428
+ type: string;
95429
+ };
95430
+ };
95431
+ required: string[];
95432
+ type: string;
95433
+ };
95434
+ ok: {
95435
+ type: string;
95436
+ };
95437
+ };
95438
+ required: string[];
95439
+ type: string;
95440
+ };
95441
+ };
95442
+ };
95443
+ description: string;
95444
+ };
95445
+ 400: {
95446
+ description: string;
95447
+ };
95448
+ 401: {
95449
+ description: string;
95450
+ };
95451
+ };
95452
+ security: ({
95453
+ api_key: never[];
95454
+ client_session_with_customer?: never;
95455
+ console_session_with_workspace?: never;
95456
+ } | {
95457
+ client_session_with_customer: never[];
95458
+ api_key?: never;
95459
+ console_session_with_workspace?: never;
95460
+ } | {
95461
+ console_session_with_workspace: never[];
95462
+ api_key?: never;
95463
+ client_session_with_customer?: never;
95464
+ })[];
95465
+ summary: string;
95466
+ tags: never[];
95467
+ 'x-fern-sdk-group-name': string[];
95468
+ 'x-fern-sdk-method-name': string;
95469
+ 'x-fern-sdk-return-value': string;
95470
+ 'x-response-key': string;
95471
+ 'x-title': string;
95472
+ 'x-undocumented': string;
95473
+ };
95474
+ };
95451
95475
  '/seam/customer/v1/connectors/list': {
95452
95476
  get: {
95453
95477
  description: string;
@@ -95683,6 +95707,161 @@ declare const _default: {
95683
95707
  'x-undocumented': string;
95684
95708
  };
95685
95709
  };
95710
+ '/seam/customer/v1/connectors/update': {
95711
+ post: {
95712
+ description: string;
95713
+ operationId: string;
95714
+ requestBody: {
95715
+ content: {
95716
+ 'application/json': {
95717
+ schema: {
95718
+ properties: {
95719
+ config: {
95720
+ description: string;
95721
+ oneOf: ({
95722
+ properties: {
95723
+ access_token: {
95724
+ minLength: number;
95725
+ type: string;
95726
+ };
95727
+ client: {
95728
+ default: string;
95729
+ minLength: number;
95730
+ type: string;
95731
+ };
95732
+ client_token: {
95733
+ minLength: number;
95734
+ type: string;
95735
+ };
95736
+ enterprise_id: {
95737
+ format: string;
95738
+ type: string;
95739
+ };
95740
+ enterprise_ids: {
95741
+ items: {
95742
+ format: string;
95743
+ type: string;
95744
+ };
95745
+ type: string;
95746
+ };
95747
+ };
95748
+ type: string;
95749
+ } | {
95750
+ properties: {
95751
+ access_token?: never;
95752
+ client?: never;
95753
+ client_token?: never;
95754
+ enterprise_id?: never;
95755
+ enterprise_ids?: never;
95756
+ };
95757
+ type: string;
95758
+ })[];
95759
+ };
95760
+ connector_id: {
95761
+ description: string;
95762
+ minLength: number;
95763
+ type: string;
95764
+ };
95765
+ customer_key: {
95766
+ description: string;
95767
+ minLength: number;
95768
+ type: string;
95769
+ };
95770
+ };
95771
+ required: string[];
95772
+ type: string;
95773
+ };
95774
+ };
95775
+ };
95776
+ };
95777
+ responses: {
95778
+ 200: {
95779
+ content: {
95780
+ 'application/json': {
95781
+ schema: {
95782
+ properties: {
95783
+ connector: {
95784
+ properties: {
95785
+ connector_id: {
95786
+ type: string;
95787
+ };
95788
+ connector_type: {
95789
+ type: string;
95790
+ };
95791
+ error: {
95792
+ type: string;
95793
+ };
95794
+ status: {
95795
+ enum: string[];
95796
+ type: string;
95797
+ };
95798
+ webhook_subscription: {
95799
+ properties: {
95800
+ events: {
95801
+ items: {
95802
+ type: string;
95803
+ };
95804
+ type: string;
95805
+ };
95806
+ status: {
95807
+ enum: string[];
95808
+ type: string;
95809
+ };
95810
+ subscription_id: {
95811
+ type: string;
95812
+ };
95813
+ webhook_url: {
95814
+ type: string;
95815
+ };
95816
+ };
95817
+ required: string[];
95818
+ type: string;
95819
+ };
95820
+ };
95821
+ required: string[];
95822
+ type: string;
95823
+ };
95824
+ ok: {
95825
+ type: string;
95826
+ };
95827
+ };
95828
+ required: string[];
95829
+ type: string;
95830
+ };
95831
+ };
95832
+ };
95833
+ description: string;
95834
+ };
95835
+ 400: {
95836
+ description: string;
95837
+ };
95838
+ 401: {
95839
+ description: string;
95840
+ };
95841
+ };
95842
+ security: ({
95843
+ api_key: never[];
95844
+ client_session_with_customer?: never;
95845
+ console_session_with_workspace?: never;
95846
+ } | {
95847
+ client_session_with_customer: never[];
95848
+ api_key?: never;
95849
+ console_session_with_workspace?: never;
95850
+ } | {
95851
+ console_session_with_workspace: never[];
95852
+ api_key?: never;
95853
+ client_session_with_customer?: never;
95854
+ })[];
95855
+ summary: string;
95856
+ tags: never[];
95857
+ 'x-fern-sdk-group-name': string[];
95858
+ 'x-fern-sdk-method-name': string;
95859
+ 'x-fern-sdk-return-value': string;
95860
+ 'x-response-key': string;
95861
+ 'x-title': string;
95862
+ 'x-undocumented': string;
95863
+ };
95864
+ };
95686
95865
  '/seam/customer/v1/events/list': {
95687
95866
  get: {
95688
95867
  description: string;
@@ -167842,7 +168021,6 @@ type Routes = {
167842
168021
  climate_rules?: {
167843
168022
  rules: {
167844
168023
  reservation_created?: {
167845
- enabled: boolean;
167846
168024
  occupied_preset_key?: string | undefined;
167847
168025
  fallback_preset?: {
167848
168026
  mode: 'heat' | 'cool' | 'auto';
@@ -167853,12 +168031,8 @@ type Routes = {
167853
168031
  override_period_minutes: number;
167854
168032
  } | undefined;
167855
168033
  } | undefined;
167856
- update_on_time_change?: {
167857
- enabled: boolean;
167858
- } | undefined;
167859
- delete_on_reservation_end?: {
167860
- enabled: boolean;
167861
- } | undefined;
168034
+ reservation_time_updated?: {} | undefined;
168035
+ reservation_deleted?: {} | undefined;
167862
168036
  };
167863
168037
  } | undefined;
167864
168038
  };
@@ -167906,7 +168080,6 @@ type Routes = {
167906
168080
  climate_rules?: {
167907
168081
  rules?: {
167908
168082
  reservation_created?: {
167909
- enabled: boolean;
167910
168083
  occupied_preset_key?: string | undefined;
167911
168084
  fallback_preset?: {
167912
168085
  mode: 'heat' | 'cool' | 'auto';
@@ -167917,12 +168090,8 @@ type Routes = {
167917
168090
  override_period_minutes: number;
167918
168091
  } | undefined;
167919
168092
  } | undefined;
167920
- update_on_time_change?: {
167921
- enabled: boolean;
167922
- } | undefined;
167923
- delete_on_reservation_end?: {
167924
- enabled: boolean;
167925
- } | undefined;
168093
+ reservation_time_updated?: {} | undefined;
168094
+ reservation_deleted?: {} | undefined;
167926
168095
  } | undefined;
167927
168096
  } | undefined;
167928
168097
  };
@@ -167965,6 +168134,24 @@ type Routes = {
167965
168134
  };
167966
168135
  };
167967
168136
  };
168137
+ '/seam/customer/v1/connectors/delete': {
168138
+ route: '/seam/customer/v1/connectors/delete';
168139
+ method: 'POST';
168140
+ queryParams: {};
168141
+ jsonBody: {
168142
+ /** ID of the connector to delete */
168143
+ connector_id: string;
168144
+ };
168145
+ commonParams: {};
168146
+ formData: {};
168147
+ jsonResponse: {
168148
+ connector: {
168149
+ connector_id: string;
168150
+ connector_type: string;
168151
+ status: 'deleted';
168152
+ };
168153
+ };
168154
+ };
167968
168155
  '/seam/customer/v1/connectors/list': {
167969
168156
  route: '/seam/customer/v1/connectors/list';
167970
168157
  method: 'GET' | 'POST';
@@ -168003,6 +168190,41 @@ type Routes = {
168003
168190
  };
168004
168191
  };
168005
168192
  };
168193
+ '/seam/customer/v1/connectors/update': {
168194
+ route: '/seam/customer/v1/connectors/update';
168195
+ method: 'POST';
168196
+ queryParams: {};
168197
+ jsonBody: {
168198
+ /** ID of the connector to update */
168199
+ connector_id: string;
168200
+ /** Key identifying the customer */
168201
+ customer_key?: string | undefined;
168202
+ /** Instance-specific configuration for the connector */
168203
+ config: {
168204
+ client_token?: string | undefined;
168205
+ access_token?: string | undefined;
168206
+ client?: string;
168207
+ enterprise_ids?: string[] | undefined;
168208
+ enterprise_id?: string | undefined;
168209
+ } | {};
168210
+ };
168211
+ commonParams: {};
168212
+ formData: {};
168213
+ jsonResponse: {
168214
+ connector: {
168215
+ connector_id: string;
168216
+ connector_type: string;
168217
+ status: 'active' | 'inactive' | 'error';
168218
+ webhook_subscription?: {
168219
+ subscription_id: string;
168220
+ webhook_url: string;
168221
+ events: string[];
168222
+ status: 'active' | 'inactive' | 'error';
168223
+ } | undefined;
168224
+ error?: string | undefined;
168225
+ };
168226
+ };
168227
+ };
168006
168228
  '/seam/customer/v1/events/list': {
168007
168229
  route: '/seam/customer/v1/events/list';
168008
168230
  method: 'GET' | 'POST';