@seamapi/types 1.663.0 → 1.665.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.
@@ -85048,6 +85048,7 @@ declare const _default: {
85048
85048
  features: {
85049
85049
  configure: {
85050
85050
  allow_access_automation_rule_customization: boolean;
85051
+ allow_climate_automation_rule_customization: boolean;
85051
85052
  allow_instant_key_customization: boolean;
85052
85053
  exclude: boolean;
85053
85054
  };
@@ -85087,6 +85088,11 @@ declare const _default: {
85087
85088
  description: string;
85088
85089
  type: string;
85089
85090
  };
85091
+ allow_climate_automation_rule_customization: {
85092
+ default: boolean;
85093
+ description: string;
85094
+ type: string;
85095
+ };
85090
85096
  allow_instant_key_customization: {
85091
85097
  default: boolean;
85092
85098
  description: string;
@@ -96503,6 +96509,138 @@ declare const _default: {
96503
96509
  'x-undocumented': string;
96504
96510
  };
96505
96511
  };
96512
+ '/seam/customer/v1/connectors/authorize': {
96513
+ get: {
96514
+ description: string;
96515
+ operationId: string;
96516
+ parameters: {
96517
+ in: string;
96518
+ name: string;
96519
+ required: boolean;
96520
+ schema: {
96521
+ description: string;
96522
+ minLength: number;
96523
+ type: string;
96524
+ };
96525
+ }[];
96526
+ responses: {
96527
+ 200: {
96528
+ content: {
96529
+ 'application/json': {
96530
+ schema: {
96531
+ properties: {
96532
+ connector_authorize: {
96533
+ properties: {
96534
+ authorize_url: {
96535
+ format: string;
96536
+ type: string;
96537
+ };
96538
+ connector_type: {
96539
+ type: string;
96540
+ };
96541
+ };
96542
+ required: string[];
96543
+ type: string;
96544
+ };
96545
+ ok: {
96546
+ type: string;
96547
+ };
96548
+ };
96549
+ required: string[];
96550
+ type: string;
96551
+ };
96552
+ };
96553
+ };
96554
+ description: string;
96555
+ };
96556
+ 400: {
96557
+ description: string;
96558
+ };
96559
+ 401: {
96560
+ description: string;
96561
+ };
96562
+ };
96563
+ summary: string;
96564
+ tags: never[];
96565
+ 'x-fern-sdk-group-name': string[];
96566
+ 'x-fern-sdk-method-name': string;
96567
+ 'x-fern-sdk-return-value': string;
96568
+ 'x-response-key': string;
96569
+ 'x-title': string;
96570
+ 'x-undocumented': string;
96571
+ };
96572
+ post: {
96573
+ description: string;
96574
+ operationId: string;
96575
+ requestBody: {
96576
+ content: {
96577
+ 'application/json': {
96578
+ schema: {
96579
+ properties: {
96580
+ connector_name: {
96581
+ description: string;
96582
+ minLength: number;
96583
+ type: string;
96584
+ };
96585
+ workspace_slug: {
96586
+ description: string;
96587
+ minLength: number;
96588
+ type: string;
96589
+ };
96590
+ };
96591
+ required: string[];
96592
+ type: string;
96593
+ };
96594
+ };
96595
+ };
96596
+ };
96597
+ responses: {
96598
+ 200: {
96599
+ content: {
96600
+ 'application/json': {
96601
+ schema: {
96602
+ properties: {
96603
+ connector_authorize: {
96604
+ properties: {
96605
+ authorize_url: {
96606
+ format: string;
96607
+ type: string;
96608
+ };
96609
+ connector_type: {
96610
+ type: string;
96611
+ };
96612
+ };
96613
+ required: string[];
96614
+ type: string;
96615
+ };
96616
+ ok: {
96617
+ type: string;
96618
+ };
96619
+ };
96620
+ required: string[];
96621
+ type: string;
96622
+ };
96623
+ };
96624
+ };
96625
+ description: string;
96626
+ };
96627
+ 400: {
96628
+ description: string;
96629
+ };
96630
+ 401: {
96631
+ description: string;
96632
+ };
96633
+ };
96634
+ summary: string;
96635
+ tags: never[];
96636
+ 'x-fern-sdk-group-name': string[];
96637
+ 'x-fern-sdk-method-name': string;
96638
+ 'x-fern-sdk-return-value': string;
96639
+ 'x-response-key': string;
96640
+ 'x-title': string;
96641
+ 'x-undocumented': string;
96642
+ };
96643
+ };
96506
96644
  '/seam/customer/v1/connectors/connector_types': {
96507
96645
  get: {
96508
96646
  description: string;
@@ -97149,10 +97287,12 @@ declare const _default: {
97149
97287
  client_token?: never;
97150
97288
  enterprise_id?: never;
97151
97289
  enterprise_ids?: never;
97290
+ is_demo?: never;
97152
97291
  auth_token?: never;
97153
97292
  client_id?: never;
97154
97293
  client_password?: never;
97155
97294
  property_id?: never;
97295
+ refresh_token?: never;
97156
97296
  };
97157
97297
  type: string;
97158
97298
  required?: never;
@@ -97161,6 +97301,7 @@ declare const _default: {
97161
97301
  access_token: {
97162
97302
  minLength: number;
97163
97303
  type: string;
97304
+ description?: never;
97164
97305
  };
97165
97306
  client: {
97166
97307
  default: string;
@@ -97180,10 +97321,15 @@ declare const _default: {
97180
97321
  };
97181
97322
  type: string;
97182
97323
  };
97324
+ is_demo: {
97325
+ default: boolean;
97326
+ type: string;
97327
+ };
97183
97328
  auth_token?: never;
97184
97329
  client_id?: never;
97185
97330
  client_password?: never;
97186
97331
  property_id?: never;
97332
+ refresh_token?: never;
97187
97333
  };
97188
97334
  type: string;
97189
97335
  required?: never;
@@ -97211,15 +97357,46 @@ declare const _default: {
97211
97357
  format: string;
97212
97358
  type: string;
97213
97359
  })[];
97360
+ type?: never;
97214
97361
  };
97215
97362
  access_token?: never;
97216
97363
  client?: never;
97217
97364
  client_token?: never;
97218
97365
  enterprise_id?: never;
97219
97366
  enterprise_ids?: never;
97367
+ is_demo?: never;
97368
+ refresh_token?: never;
97220
97369
  };
97221
97370
  required: string[];
97222
97371
  type: string;
97372
+ } | {
97373
+ properties: {
97374
+ access_token: {
97375
+ description: string;
97376
+ minLength: number;
97377
+ type: string;
97378
+ };
97379
+ property_id: {
97380
+ description: string;
97381
+ type: string;
97382
+ oneOf?: never;
97383
+ };
97384
+ refresh_token: {
97385
+ description: string;
97386
+ minLength: number;
97387
+ type: string;
97388
+ };
97389
+ client?: never;
97390
+ client_token?: never;
97391
+ enterprise_id?: never;
97392
+ enterprise_ids?: never;
97393
+ is_demo?: never;
97394
+ auth_token?: never;
97395
+ client_id?: never;
97396
+ client_password?: never;
97397
+ };
97398
+ type: string;
97399
+ required?: never;
97223
97400
  })[];
97224
97401
  };
97225
97402
  connector_id: {
@@ -97621,6 +97798,11 @@ declare const _default: {
97621
97798
  description: string;
97622
97799
  type: string;
97623
97800
  };
97801
+ allow_climate_automation_rule_customization: {
97802
+ default: boolean;
97803
+ description: string;
97804
+ type: string;
97805
+ };
97624
97806
  allow_instant_key_customization: {
97625
97807
  default: boolean;
97626
97808
  description: string;
@@ -98027,6 +98209,11 @@ declare const _default: {
98027
98209
  description: string;
98028
98210
  type: string;
98029
98211
  };
98212
+ allow_climate_automation_rule_customization: {
98213
+ default: boolean;
98214
+ description: string;
98215
+ type: string;
98216
+ };
98030
98217
  allow_instant_key_customization: {
98031
98218
  default: boolean;
98032
98219
  description: string;
@@ -139227,6 +139414,8 @@ type Routes = {
139227
139414
  exclude?: boolean;
139228
139415
  /** Indicates whether the customer can customize the access automation rules for their properties. */
139229
139416
  allow_access_automation_rule_customization?: boolean;
139417
+ /** Indicates whether the customer can customize the climate automation rules for their properties. */
139418
+ allow_climate_automation_rule_customization?: boolean;
139230
139419
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
139231
139420
  allow_instant_key_customization?: boolean;
139232
139421
  };
@@ -164882,6 +165071,26 @@ type Routes = {
164882
165071
  jsonResponse: {};
164883
165072
  maxDuration: undefined;
164884
165073
  };
165074
+ '/seam/customer/v1/connectors/authorize': {
165075
+ route: '/seam/customer/v1/connectors/authorize';
165076
+ method: 'GET' | 'POST';
165077
+ queryParams: {};
165078
+ jsonBody: {};
165079
+ commonParams: {
165080
+ /** Workspace slug */
165081
+ workspace_slug: string;
165082
+ /** Connector name/type. If not provided, workspace_slug will be used as connector_name */
165083
+ connector_name?: string | undefined;
165084
+ };
165085
+ formData: {};
165086
+ jsonResponse: {
165087
+ connector_authorize: {
165088
+ authorize_url: string;
165089
+ connector_type: string;
165090
+ };
165091
+ };
165092
+ maxDuration: undefined;
165093
+ };
164885
165094
  '/seam/customer/v1/connectors/connector_types': {
164886
165095
  route: '/seam/customer/v1/connectors/connector_types';
164887
165096
  method: 'GET' | 'POST';
@@ -164911,7 +165120,7 @@ type Routes = {
164911
165120
  queryParams: {};
164912
165121
  jsonBody: {
164913
165122
  /** Type of connector to create */
164914
- connector_type: 'mock' | 'mews' | 'rms';
165123
+ connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds';
164915
165124
  /** Key identifying the customer */
164916
165125
  customer_key?: string | undefined;
164917
165126
  /** Instance-specific configuration for the connector */
@@ -165010,6 +165219,7 @@ type Routes = {
165010
165219
  client_token?: string | undefined;
165011
165220
  access_token?: string | undefined;
165012
165221
  client?: string;
165222
+ is_demo?: boolean;
165013
165223
  enterprise_ids?: string[] | undefined;
165014
165224
  enterprise_id?: string | undefined;
165015
165225
  } | {
@@ -165020,6 +165230,13 @@ type Routes = {
165020
165230
  /** Optional property ID for single-property connectors */
165021
165231
  property_id?: (string | number) | undefined;
165022
165232
  auth_token?: string | undefined;
165233
+ } | {
165234
+ /** OAuth2 access token for authentication */
165235
+ access_token?: string | undefined;
165236
+ /** OAuth2 refresh token for token refresh */
165237
+ refresh_token?: string | undefined;
165238
+ /** Optional property ID for single-property connectors */
165239
+ property_id?: string | undefined;
165023
165240
  };
165024
165241
  };
165025
165242
  commonParams: {};
@@ -167029,6 +167246,8 @@ type Routes = {
167029
167246
  exclude?: boolean;
167030
167247
  /** Indicates whether the customer can customize the access automation rules for their properties. */
167031
167248
  allow_access_automation_rule_customization?: boolean;
167249
+ /** Indicates whether the customer can customize the climate automation rules for their properties. */
167250
+ allow_climate_automation_rule_customization?: boolean;
167032
167251
  /** Indicates whether the customer can customize the Instant Key profile for their properties. */
167033
167252
  allow_instant_key_customization?: boolean;
167034
167253
  };
package/dist/index.cjs CHANGED
@@ -43453,6 +43453,7 @@ var openapi_default = {
43453
43453
  features: {
43454
43454
  configure: {
43455
43455
  allow_access_automation_rule_customization: false,
43456
+ allow_climate_automation_rule_customization: false,
43456
43457
  allow_instant_key_customization: false,
43457
43458
  exclude: false
43458
43459
  },
@@ -43486,6 +43487,11 @@ var openapi_default = {
43486
43487
  description: "Indicates whether the customer can customize the access automation rules for their properties.",
43487
43488
  type: "boolean"
43488
43489
  },
43490
+ allow_climate_automation_rule_customization: {
43491
+ default: false,
43492
+ description: "Indicates whether the customer can customize the climate automation rules for their properties.",
43493
+ type: "boolean"
43494
+ },
43489
43495
  allow_instant_key_customization: {
43490
43496
  default: false,
43491
43497
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
@@ -54469,6 +54475,128 @@ var openapi_default = {
54469
54475
  "x-undocumented": "Internal endpoint for customer portals."
54470
54476
  }
54471
54477
  },
54478
+ "/seam/customer/v1/connectors/authorize": {
54479
+ get: {
54480
+ description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",
54481
+ operationId: "seamCustomerV1ConnectorsAuthorizeGet",
54482
+ parameters: [
54483
+ {
54484
+ in: "query",
54485
+ name: "workspace_slug",
54486
+ required: true,
54487
+ schema: {
54488
+ description: "Workspace slug",
54489
+ minLength: 1,
54490
+ type: "string"
54491
+ }
54492
+ },
54493
+ {
54494
+ in: "query",
54495
+ name: "connector_name",
54496
+ required: false,
54497
+ schema: {
54498
+ description: "Connector name/type. If not provided, workspace_slug will be used as connector_name",
54499
+ minLength: 1,
54500
+ type: "string"
54501
+ }
54502
+ }
54503
+ ],
54504
+ responses: {
54505
+ 200: {
54506
+ content: {
54507
+ "application/json": {
54508
+ schema: {
54509
+ properties: {
54510
+ connector_authorize: {
54511
+ properties: {
54512
+ authorize_url: { format: "uri", type: "string" },
54513
+ connector_type: { type: "string" }
54514
+ },
54515
+ required: ["authorize_url", "connector_type"],
54516
+ type: "object"
54517
+ },
54518
+ ok: { type: "boolean" }
54519
+ },
54520
+ required: ["connector_authorize", "ok"],
54521
+ type: "object"
54522
+ }
54523
+ }
54524
+ },
54525
+ description: "OK"
54526
+ },
54527
+ 400: { description: "Bad Request" },
54528
+ 401: { description: "Unauthorized" }
54529
+ },
54530
+ summary: "/seam/customer/v1/connectors/authorize",
54531
+ tags: [],
54532
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54533
+ "x-fern-sdk-method-name": "authorize",
54534
+ "x-fern-sdk-return-value": "connector_authorize",
54535
+ "x-response-key": "connector_authorize",
54536
+ "x-title": "Get OAuth Authorization URL for Global Connector",
54537
+ "x-undocumented": "Internal endpoint for OAuth authorization."
54538
+ },
54539
+ post: {
54540
+ description: "Returns the OAuth authorization URL for a global connector.\nThis endpoint only works for global connectors (connectors that support multiple customers).",
54541
+ operationId: "seamCustomerV1ConnectorsAuthorizePost",
54542
+ requestBody: {
54543
+ content: {
54544
+ "application/json": {
54545
+ schema: {
54546
+ properties: {
54547
+ connector_name: {
54548
+ description: "Connector name/type. If not provided, workspace_slug will be used as connector_name",
54549
+ minLength: 1,
54550
+ type: "string"
54551
+ },
54552
+ workspace_slug: {
54553
+ description: "Workspace slug",
54554
+ minLength: 1,
54555
+ type: "string"
54556
+ }
54557
+ },
54558
+ required: ["workspace_slug"],
54559
+ type: "object"
54560
+ }
54561
+ }
54562
+ }
54563
+ },
54564
+ responses: {
54565
+ 200: {
54566
+ content: {
54567
+ "application/json": {
54568
+ schema: {
54569
+ properties: {
54570
+ connector_authorize: {
54571
+ properties: {
54572
+ authorize_url: { format: "uri", type: "string" },
54573
+ connector_type: { type: "string" }
54574
+ },
54575
+ required: ["authorize_url", "connector_type"],
54576
+ type: "object"
54577
+ },
54578
+ ok: { type: "boolean" }
54579
+ },
54580
+ required: ["connector_authorize", "ok"],
54581
+ type: "object"
54582
+ }
54583
+ }
54584
+ },
54585
+ description: "OK"
54586
+ },
54587
+ 400: { description: "Bad Request" },
54588
+ 401: { description: "Unauthorized" }
54589
+ },
54590
+ summary: "/seam/customer/v1/connectors/authorize",
54591
+ tags: [],
54592
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "connectors"],
54593
+ "x-fern-sdk-method-name": "authorize",
54594
+ "x-fern-sdk-return-value": "connector_authorize",
54595
+ "x-response-key": "connector_authorize",
54596
+ "x-title": "Get OAuth Authorization URL for Global Connector",
54597
+ "x-undocumented": "Internal endpoint for OAuth authorization."
54598
+ }
54599
+ },
54472
54600
  "/seam/customer/v1/connectors/connector_types": {
54473
54601
  get: {
54474
54602
  description: "Lists all available connector types and their editable fields for UI input.",
@@ -54645,7 +54773,7 @@ var openapi_default = {
54645
54773
  },
54646
54774
  connector_type: {
54647
54775
  description: "Type of connector to create",
54648
- enum: ["mock", "mews", "rms"],
54776
+ enum: ["mock", "mews", "rms", "cloudbeds"],
54649
54777
  type: "string"
54650
54778
  },
54651
54779
  customer_key: {
@@ -55007,7 +55135,8 @@ var openapi_default = {
55007
55135
  enterprise_ids: {
55008
55136
  items: { type: "string" },
55009
55137
  type: "array"
55010
- }
55138
+ },
55139
+ is_demo: { default: true, type: "boolean" }
55011
55140
  },
55012
55141
  type: "object"
55013
55142
  },
@@ -55034,6 +55163,25 @@ var openapi_default = {
55034
55163
  },
55035
55164
  required: ["client_id", "client_password"],
55036
55165
  type: "object"
55166
+ },
55167
+ {
55168
+ properties: {
55169
+ access_token: {
55170
+ description: "OAuth2 access token for authentication",
55171
+ minLength: 1,
55172
+ type: "string"
55173
+ },
55174
+ property_id: {
55175
+ description: "Optional property ID for single-property connectors",
55176
+ type: "string"
55177
+ },
55178
+ refresh_token: {
55179
+ description: "OAuth2 refresh token for token refresh",
55180
+ minLength: 1,
55181
+ type: "string"
55182
+ }
55183
+ },
55184
+ type: "object"
55037
55185
  }
55038
55186
  ]
55039
55187
  },
@@ -55747,6 +55895,11 @@ var openapi_default = {
55747
55895
  description: "Indicates whether the customer can customize the access automation rules for their properties.",
55748
55896
  type: "boolean"
55749
55897
  },
55898
+ allow_climate_automation_rule_customization: {
55899
+ default: false,
55900
+ description: "Indicates whether the customer can customize the climate automation rules for their properties.",
55901
+ type: "boolean"
55902
+ },
55750
55903
  allow_instant_key_customization: {
55751
55904
  default: false,
55752
55905
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
@@ -56043,6 +56196,11 @@ var openapi_default = {
56043
56196
  description: "Indicates whether the customer can customize the access automation rules for their properties.",
56044
56197
  type: "boolean"
56045
56198
  },
56199
+ allow_climate_automation_rule_customization: {
56200
+ default: false,
56201
+ description: "Indicates whether the customer can customize the climate automation rules for their properties.",
56202
+ type: "boolean"
56203
+ },
56046
56204
  allow_instant_key_customization: {
56047
56205
  default: false,
56048
56206
  description: "Indicates whether the customer can customize the Instant Key profile for their properties.",