@seamapi/types 1.587.0 → 1.589.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 +89 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +183 -1
- package/dist/index.cjs +89 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +34 -0
- package/lib/seam/connect/models/customer/customer-data.js +5 -1
- package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +14 -0
- package/lib/seam/connect/models/customer/location-resources.d.ts +46 -0
- package/lib/seam/connect/models/customer/location-resources.js +17 -0
- package/lib/seam/connect/models/customer/location-resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +149 -0
- package/lib/seam/connect/openapi.js +89 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +34 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-data.ts +5 -0
- package/src/lib/seam/connect/models/customer/location-resources.ts +19 -0
- package/src/lib/seam/connect/openapi.ts +96 -1
- package/src/lib/seam/connect/route-types.ts +40 -1
package/dist/connect.cjs
CHANGED
|
@@ -42441,8 +42441,13 @@ var openapi_default = {
|
|
|
42441
42441
|
{ type: "boolean" }
|
|
42442
42442
|
]
|
|
42443
42443
|
},
|
|
42444
|
-
description: "Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).",
|
|
42444
|
+
description: "Custom metadata that you want to associate with the connected account. Entirely replaces the existing custom metadata object. If a new Connect Webview contains custom metadata and is used to reconnect a connected account, the custom metadata from the Connect Webview will entirely replace the entire custom metadata object on the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).",
|
|
42445
42445
|
type: "object"
|
|
42446
|
+
},
|
|
42447
|
+
customer_key: {
|
|
42448
|
+
description: "The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. ",
|
|
42449
|
+
minLength: 1,
|
|
42450
|
+
type: "string"
|
|
42446
42451
|
}
|
|
42447
42452
|
},
|
|
42448
42453
|
required: ["connected_account_id"],
|
|
@@ -42653,6 +42658,13 @@ var openapi_default = {
|
|
|
42653
42658
|
},
|
|
42654
42659
|
required: ["property_listing_key"],
|
|
42655
42660
|
type: "object"
|
|
42661
|
+
},
|
|
42662
|
+
{
|
|
42663
|
+
properties: {
|
|
42664
|
+
site_key: { type: "string" }
|
|
42665
|
+
},
|
|
42666
|
+
required: ["site_key"],
|
|
42667
|
+
type: "object"
|
|
42656
42668
|
}
|
|
42657
42669
|
]
|
|
42658
42670
|
},
|
|
@@ -42902,6 +42914,10 @@ var openapi_default = {
|
|
|
42902
42914
|
name: {
|
|
42903
42915
|
description: "Your display name for this location resource.",
|
|
42904
42916
|
type: "string"
|
|
42917
|
+
},
|
|
42918
|
+
parent_site_key: {
|
|
42919
|
+
description: "Your unique identifier for the site.",
|
|
42920
|
+
type: "string"
|
|
42905
42921
|
}
|
|
42906
42922
|
},
|
|
42907
42923
|
required: ["name", "common_area_key"],
|
|
@@ -43135,6 +43151,10 @@ var openapi_default = {
|
|
|
43135
43151
|
description: "Your display name for this location resource.",
|
|
43136
43152
|
type: "string"
|
|
43137
43153
|
},
|
|
43154
|
+
parent_site_key: {
|
|
43155
|
+
description: "Your unique identifier for the site.",
|
|
43156
|
+
type: "string"
|
|
43157
|
+
},
|
|
43138
43158
|
room_key: {
|
|
43139
43159
|
description: "Your unique identifier for the room.",
|
|
43140
43160
|
type: "string"
|
|
@@ -43145,6 +43165,24 @@ var openapi_default = {
|
|
|
43145
43165
|
},
|
|
43146
43166
|
type: "array"
|
|
43147
43167
|
},
|
|
43168
|
+
sites: {
|
|
43169
|
+
description: "List of general sites or areas.",
|
|
43170
|
+
items: {
|
|
43171
|
+
properties: {
|
|
43172
|
+
name: {
|
|
43173
|
+
description: "Your display name for this location resource.",
|
|
43174
|
+
type: "string"
|
|
43175
|
+
},
|
|
43176
|
+
site_key: {
|
|
43177
|
+
description: "Your unique identifier for the site.",
|
|
43178
|
+
type: "string"
|
|
43179
|
+
}
|
|
43180
|
+
},
|
|
43181
|
+
required: ["name", "site_key"],
|
|
43182
|
+
type: "object"
|
|
43183
|
+
},
|
|
43184
|
+
type: "array"
|
|
43185
|
+
},
|
|
43148
43186
|
spaces: {
|
|
43149
43187
|
description: "List of general spaces or areas.",
|
|
43150
43188
|
items: {
|
|
@@ -43197,6 +43235,10 @@ var openapi_default = {
|
|
|
43197
43235
|
description: "Your display name for this location resource.",
|
|
43198
43236
|
type: "string"
|
|
43199
43237
|
},
|
|
43238
|
+
parent_site_key: {
|
|
43239
|
+
description: "Your unique identifier for the site.",
|
|
43240
|
+
type: "string"
|
|
43241
|
+
},
|
|
43200
43242
|
unit_key: {
|
|
43201
43243
|
description: "Your unique identifier for the unit.",
|
|
43202
43244
|
type: "string"
|
|
@@ -43851,6 +43893,10 @@ var openapi_default = {
|
|
|
43851
43893
|
name: {
|
|
43852
43894
|
description: "Your display name for this location resource.",
|
|
43853
43895
|
type: "string"
|
|
43896
|
+
},
|
|
43897
|
+
parent_site_key: {
|
|
43898
|
+
description: "Your unique identifier for the site.",
|
|
43899
|
+
type: "string"
|
|
43854
43900
|
}
|
|
43855
43901
|
},
|
|
43856
43902
|
required: ["name", "common_area_key"],
|
|
@@ -44084,6 +44130,10 @@ var openapi_default = {
|
|
|
44084
44130
|
description: "Your display name for this location resource.",
|
|
44085
44131
|
type: "string"
|
|
44086
44132
|
},
|
|
44133
|
+
parent_site_key: {
|
|
44134
|
+
description: "Your unique identifier for the site.",
|
|
44135
|
+
type: "string"
|
|
44136
|
+
},
|
|
44087
44137
|
room_key: {
|
|
44088
44138
|
description: "Your unique identifier for the room.",
|
|
44089
44139
|
type: "string"
|
|
@@ -44094,6 +44144,24 @@ var openapi_default = {
|
|
|
44094
44144
|
},
|
|
44095
44145
|
type: "array"
|
|
44096
44146
|
},
|
|
44147
|
+
sites: {
|
|
44148
|
+
description: "List of general sites or areas.",
|
|
44149
|
+
items: {
|
|
44150
|
+
properties: {
|
|
44151
|
+
name: {
|
|
44152
|
+
description: "Your display name for this location resource.",
|
|
44153
|
+
type: "string"
|
|
44154
|
+
},
|
|
44155
|
+
site_key: {
|
|
44156
|
+
description: "Your unique identifier for the site.",
|
|
44157
|
+
type: "string"
|
|
44158
|
+
}
|
|
44159
|
+
},
|
|
44160
|
+
required: ["name", "site_key"],
|
|
44161
|
+
type: "object"
|
|
44162
|
+
},
|
|
44163
|
+
type: "array"
|
|
44164
|
+
},
|
|
44097
44165
|
spaces: {
|
|
44098
44166
|
description: "List of general spaces or areas.",
|
|
44099
44167
|
items: {
|
|
@@ -44146,6 +44214,10 @@ var openapi_default = {
|
|
|
44146
44214
|
description: "Your display name for this location resource.",
|
|
44147
44215
|
type: "string"
|
|
44148
44216
|
},
|
|
44217
|
+
parent_site_key: {
|
|
44218
|
+
description: "Your unique identifier for the site.",
|
|
44219
|
+
type: "string"
|
|
44220
|
+
},
|
|
44149
44221
|
unit_key: {
|
|
44150
44222
|
description: "Your unique identifier for the unit.",
|
|
44151
44223
|
type: "string"
|
|
@@ -53271,6 +53343,13 @@ var openapi_default = {
|
|
|
53271
53343
|
},
|
|
53272
53344
|
required: ["property_listing_key"],
|
|
53273
53345
|
type: "object"
|
|
53346
|
+
},
|
|
53347
|
+
{
|
|
53348
|
+
properties: {
|
|
53349
|
+
site_key: { type: "string" }
|
|
53350
|
+
},
|
|
53351
|
+
required: ["site_key"],
|
|
53352
|
+
type: "object"
|
|
53274
53353
|
}
|
|
53275
53354
|
]
|
|
53276
53355
|
},
|
|
@@ -53474,6 +53553,13 @@ var openapi_default = {
|
|
|
53474
53553
|
},
|
|
53475
53554
|
required: ["property_listing_key"],
|
|
53476
53555
|
type: "object"
|
|
53556
|
+
},
|
|
53557
|
+
{
|
|
53558
|
+
properties: {
|
|
53559
|
+
site_key: { type: "string" }
|
|
53560
|
+
},
|
|
53561
|
+
required: ["site_key"],
|
|
53562
|
+
type: "object"
|
|
53477
53563
|
}
|
|
53478
53564
|
]
|
|
53479
53565
|
},
|
|
@@ -54747,6 +54833,7 @@ var openapi_default = {
|
|
|
54747
54833
|
is_draft: { type: "boolean" },
|
|
54748
54834
|
name: { type: "string" },
|
|
54749
54835
|
needs_review: { type: "boolean" },
|
|
54836
|
+
parent_partner_resource_key: { type: "string" },
|
|
54750
54837
|
partner_resource_key: { type: "string" }
|
|
54751
54838
|
},
|
|
54752
54839
|
required: [
|
|
@@ -54846,6 +54933,7 @@ var openapi_default = {
|
|
|
54846
54933
|
is_draft: { type: "boolean" },
|
|
54847
54934
|
name: { type: "string" },
|
|
54848
54935
|
needs_review: { type: "boolean" },
|
|
54936
|
+
parent_partner_resource_key: { type: "string" },
|
|
54849
54937
|
partner_resource_key: { type: "string" }
|
|
54850
54938
|
},
|
|
54851
54939
|
required: [
|