@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.
- package/dist/connect.cjs +160 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +220 -1
- package/dist/index.cjs +160 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +187 -0
- package/lib/seam/connect/openapi.js +159 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +169 -1
- package/src/lib/seam/connect/route-types.ts +34 -1
package/dist/connect.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.",
|