@seamapi/types 1.681.0 → 1.683.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 +161 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +258 -38
- package/dist/index.cjs +161 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/batch.d.ts +14 -14
- package/lib/seam/connect/models/customer/customer.d.ts +15 -0
- package/lib/seam/connect/models/customer/customer.js +21 -0
- package/lib/seam/connect/models/customer/customer.js.map +1 -0
- package/lib/seam/connect/models/customer/index.d.ts +1 -0
- package/lib/seam/connect/models/customer/index.js +1 -0
- package/lib/seam/connect/models/customer/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +187 -0
- package/lib/seam/connect/openapi.js +154 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +44 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +7 -5
- package/src/lib/seam/connect/models/customer/customer.ts +25 -0
- package/src/lib/seam/connect/models/customer/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +161 -4
- package/src/lib/seam/connect/route-types.ts +44 -11
package/dist/index.cjs
CHANGED
|
@@ -2063,9 +2063,11 @@ var wyze_duplicate_code_name = common_access_code_error.extend({
|
|
|
2063
2063
|
var wyze_potential_duplicate_code = common_access_code_error.extend({
|
|
2064
2064
|
error_code: zod.z.literal("wyze_potential_duplicate_code").describe(error_code_description3)
|
|
2065
2065
|
}).describe("Potential duplicate access code detected.");
|
|
2066
|
-
var
|
|
2067
|
-
error_code: zod.z.literal("
|
|
2068
|
-
}).describe(
|
|
2066
|
+
var dormakaba_oracode_invalid_time_range = common_access_code_error.extend({
|
|
2067
|
+
error_code: zod.z.literal("dormakaba_oracode_invalid_time_range").describe(error_code_description3)
|
|
2068
|
+
}).describe(
|
|
2069
|
+
"No Dormakaba Oracode user levels configured for the requested time range."
|
|
2070
|
+
);
|
|
2069
2071
|
var keynest_unsupported_third_party_locker = common_access_code_error.extend({
|
|
2070
2072
|
error_code: zod.z.literal("keynest_unsupported_third_party_locker").describe(error_code_description3)
|
|
2071
2073
|
}).describe("KeyNest locker is not supported.");
|
|
@@ -2093,7 +2095,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2093
2095
|
hubitat_no_free_positions_available,
|
|
2094
2096
|
wyze_duplicate_code_name,
|
|
2095
2097
|
wyze_potential_duplicate_code,
|
|
2096
|
-
|
|
2098
|
+
dormakaba_oracode_invalid_time_range,
|
|
2097
2099
|
kwikset_insufficient_permissions,
|
|
2098
2100
|
keynest_unsupported_third_party_locker
|
|
2099
2101
|
]).describe(
|
|
@@ -2124,7 +2126,7 @@ zod.z.object({
|
|
|
2124
2126
|
hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
|
|
2125
2127
|
wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
|
|
2126
2128
|
wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
|
|
2127
|
-
|
|
2129
|
+
dormakaba_oracode_invalid_time_range: dormakaba_oracode_invalid_time_range.optional().nullable(),
|
|
2128
2130
|
keynest_unsupported_third_party_locker: keynest_unsupported_third_party_locker.optional().nullable()
|
|
2129
2131
|
});
|
|
2130
2132
|
var common_access_code_warning = zod.z.object({
|
|
@@ -6541,7 +6543,7 @@ var openapi_default = {
|
|
|
6541
6543
|
type: "object"
|
|
6542
6544
|
},
|
|
6543
6545
|
{
|
|
6544
|
-
description: "No
|
|
6546
|
+
description: "No Dormakaba Oracode user levels configured for the requested time range.",
|
|
6545
6547
|
properties: {
|
|
6546
6548
|
created_at: {
|
|
6547
6549
|
description: "Date and time at which Seam created the error.",
|
|
@@ -6550,7 +6552,7 @@ var openapi_default = {
|
|
|
6550
6552
|
},
|
|
6551
6553
|
error_code: {
|
|
6552
6554
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6553
|
-
enum: ["
|
|
6555
|
+
enum: ["dormakaba_oracode_invalid_time_range"],
|
|
6554
6556
|
type: "string"
|
|
6555
6557
|
},
|
|
6556
6558
|
is_access_code_error: {
|
|
@@ -14359,6 +14361,29 @@ var openapi_default = {
|
|
|
14359
14361
|
type: "object",
|
|
14360
14362
|
"x-route-path": "/connected_accounts"
|
|
14361
14363
|
},
|
|
14364
|
+
customer: {
|
|
14365
|
+
description: "Represents a customer within a workspace. Customers are used to organize resources and manage access for different clients, such as hotels, property managers, and more.",
|
|
14366
|
+
properties: {
|
|
14367
|
+
created_at: {
|
|
14368
|
+
description: "Date and time at which the customer was created.",
|
|
14369
|
+
format: "date-time",
|
|
14370
|
+
type: "string"
|
|
14371
|
+
},
|
|
14372
|
+
customer_key: {
|
|
14373
|
+
description: "Unique key for the customer within the workspace.",
|
|
14374
|
+
type: "string"
|
|
14375
|
+
},
|
|
14376
|
+
workspace_id: {
|
|
14377
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer.",
|
|
14378
|
+
format: "uuid",
|
|
14379
|
+
type: "string"
|
|
14380
|
+
}
|
|
14381
|
+
},
|
|
14382
|
+
required: ["customer_key", "workspace_id", "created_at"],
|
|
14383
|
+
type: "object",
|
|
14384
|
+
"x-route-path": "/customers",
|
|
14385
|
+
"x-undocumented": "Internal resource."
|
|
14386
|
+
},
|
|
14362
14387
|
customization_profile: {
|
|
14363
14388
|
description: "A customization profile.",
|
|
14364
14389
|
properties: {
|
|
@@ -25909,7 +25934,7 @@ var openapi_default = {
|
|
|
25909
25934
|
type: "object"
|
|
25910
25935
|
},
|
|
25911
25936
|
{
|
|
25912
|
-
description: "No
|
|
25937
|
+
description: "No Dormakaba Oracode user levels configured for the requested time range.",
|
|
25913
25938
|
properties: {
|
|
25914
25939
|
created_at: {
|
|
25915
25940
|
description: "Date and time at which Seam created the error.",
|
|
@@ -25918,7 +25943,7 @@ var openapi_default = {
|
|
|
25918
25943
|
},
|
|
25919
25944
|
error_code: {
|
|
25920
25945
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25921
|
-
enum: ["
|
|
25946
|
+
enum: ["dormakaba_oracode_invalid_time_range"],
|
|
25922
25947
|
type: "string"
|
|
25923
25948
|
},
|
|
25924
25949
|
is_access_code_error: {
|
|
@@ -56157,6 +56182,133 @@ var openapi_default = {
|
|
|
56157
56182
|
"x-undocumented": "Internal endpoint for Console."
|
|
56158
56183
|
}
|
|
56159
56184
|
},
|
|
56185
|
+
"/seam/customer/v1/customers/list": {
|
|
56186
|
+
get: {
|
|
56187
|
+
description: "Returns a list of all customers within the workspace.",
|
|
56188
|
+
operationId: "seamCustomerV1CustomersListGet",
|
|
56189
|
+
parameters: [
|
|
56190
|
+
{
|
|
56191
|
+
in: "query",
|
|
56192
|
+
name: "limit",
|
|
56193
|
+
schema: {
|
|
56194
|
+
default: 500,
|
|
56195
|
+
description: "Maximum number of records to return per page.",
|
|
56196
|
+
exclusiveMinimum: true,
|
|
56197
|
+
minimum: 0,
|
|
56198
|
+
type: "integer"
|
|
56199
|
+
}
|
|
56200
|
+
},
|
|
56201
|
+
{
|
|
56202
|
+
in: "query",
|
|
56203
|
+
name: "page_cursor",
|
|
56204
|
+
schema: {
|
|
56205
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
56206
|
+
nullable: true,
|
|
56207
|
+
type: "string"
|
|
56208
|
+
}
|
|
56209
|
+
}
|
|
56210
|
+
],
|
|
56211
|
+
responses: {
|
|
56212
|
+
200: {
|
|
56213
|
+
content: {
|
|
56214
|
+
"application/json": {
|
|
56215
|
+
schema: {
|
|
56216
|
+
properties: {
|
|
56217
|
+
customers: {
|
|
56218
|
+
items: { $ref: "#/components/schemas/customer" },
|
|
56219
|
+
type: "array"
|
|
56220
|
+
},
|
|
56221
|
+
ok: { type: "boolean" },
|
|
56222
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
56223
|
+
},
|
|
56224
|
+
required: ["customers", "pagination", "ok"],
|
|
56225
|
+
type: "object"
|
|
56226
|
+
}
|
|
56227
|
+
}
|
|
56228
|
+
},
|
|
56229
|
+
description: "OK"
|
|
56230
|
+
},
|
|
56231
|
+
400: { description: "Bad Request" },
|
|
56232
|
+
401: { description: "Unauthorized" }
|
|
56233
|
+
},
|
|
56234
|
+
security: [
|
|
56235
|
+
{ api_key: [] },
|
|
56236
|
+
{ pat_with_workspace: [] },
|
|
56237
|
+
{ console_session_with_workspace: [] }
|
|
56238
|
+
],
|
|
56239
|
+
summary: "/seam/customer/v1/customers/list",
|
|
56240
|
+
tags: [],
|
|
56241
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "customers"],
|
|
56242
|
+
"x-fern-sdk-method-name": "list",
|
|
56243
|
+
"x-fern-sdk-return-value": "customers",
|
|
56244
|
+
"x-response-key": "customers",
|
|
56245
|
+
"x-title": "List Customers",
|
|
56246
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56247
|
+
},
|
|
56248
|
+
post: {
|
|
56249
|
+
description: "Returns a list of all customers within the workspace.",
|
|
56250
|
+
operationId: "seamCustomerV1CustomersListPost",
|
|
56251
|
+
requestBody: {
|
|
56252
|
+
content: {
|
|
56253
|
+
"application/json": {
|
|
56254
|
+
schema: {
|
|
56255
|
+
properties: {
|
|
56256
|
+
limit: {
|
|
56257
|
+
default: 500,
|
|
56258
|
+
description: "Maximum number of records to return per page.",
|
|
56259
|
+
exclusiveMinimum: true,
|
|
56260
|
+
minimum: 0,
|
|
56261
|
+
type: "integer"
|
|
56262
|
+
},
|
|
56263
|
+
page_cursor: {
|
|
56264
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
56265
|
+
nullable: true,
|
|
56266
|
+
type: "string"
|
|
56267
|
+
}
|
|
56268
|
+
},
|
|
56269
|
+
type: "object"
|
|
56270
|
+
}
|
|
56271
|
+
}
|
|
56272
|
+
}
|
|
56273
|
+
},
|
|
56274
|
+
responses: {
|
|
56275
|
+
200: {
|
|
56276
|
+
content: {
|
|
56277
|
+
"application/json": {
|
|
56278
|
+
schema: {
|
|
56279
|
+
properties: {
|
|
56280
|
+
customers: {
|
|
56281
|
+
items: { $ref: "#/components/schemas/customer" },
|
|
56282
|
+
type: "array"
|
|
56283
|
+
},
|
|
56284
|
+
ok: { type: "boolean" },
|
|
56285
|
+
pagination: { $ref: "#/components/schemas/pagination" }
|
|
56286
|
+
},
|
|
56287
|
+
required: ["customers", "pagination", "ok"],
|
|
56288
|
+
type: "object"
|
|
56289
|
+
}
|
|
56290
|
+
}
|
|
56291
|
+
},
|
|
56292
|
+
description: "OK"
|
|
56293
|
+
},
|
|
56294
|
+
400: { description: "Bad Request" },
|
|
56295
|
+
401: { description: "Unauthorized" }
|
|
56296
|
+
},
|
|
56297
|
+
security: [
|
|
56298
|
+
{ api_key: [] },
|
|
56299
|
+
{ pat_with_workspace: [] },
|
|
56300
|
+
{ console_session_with_workspace: [] }
|
|
56301
|
+
],
|
|
56302
|
+
summary: "/seam/customer/v1/customers/list",
|
|
56303
|
+
tags: [],
|
|
56304
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "customers"],
|
|
56305
|
+
"x-fern-sdk-method-name": "list",
|
|
56306
|
+
"x-fern-sdk-return-value": "customers",
|
|
56307
|
+
"x-response-key": "customers",
|
|
56308
|
+
"x-title": "List Customers",
|
|
56309
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56310
|
+
}
|
|
56311
|
+
},
|
|
56160
56312
|
"/seam/customer/v1/events/list": {
|
|
56161
56313
|
get: {
|
|
56162
56314
|
description: "Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.",
|