@seamapi/types 1.13.0 → 1.15.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 +249 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +445 -11
- package/lib/seam/connect/openapi.d.ts +358 -9
- package/lib/seam/connect/openapi.js +242 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +87 -2
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +24 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +11 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +242 -16
- package/src/lib/seam/connect/route-types.ts +87 -1
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +13 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -43,6 +43,7 @@ var openapi_default = {
|
|
|
43
43
|
errors: { nullable: true },
|
|
44
44
|
is_backup: { type: "boolean" },
|
|
45
45
|
is_backup_access_code_available: { type: "boolean" },
|
|
46
|
+
is_external_modification_allowed: { type: "boolean" },
|
|
46
47
|
is_managed: { enum: [true], type: "boolean" },
|
|
47
48
|
is_scheduled_on_device: { type: "boolean" },
|
|
48
49
|
is_waiting_for_code_assignment: { type: "boolean" },
|
|
@@ -70,7 +71,8 @@ var openapi_default = {
|
|
|
70
71
|
"created_at",
|
|
71
72
|
"is_managed",
|
|
72
73
|
"status",
|
|
73
|
-
"is_backup_access_code_available"
|
|
74
|
+
"is_backup_access_code_available",
|
|
75
|
+
"is_external_modification_allowed"
|
|
74
76
|
],
|
|
75
77
|
type: "object"
|
|
76
78
|
},
|
|
@@ -1851,7 +1853,8 @@ var openapi_default = {
|
|
|
1851
1853
|
items: { format: "uuid", type: "string" },
|
|
1852
1854
|
type: "array"
|
|
1853
1855
|
},
|
|
1854
|
-
device_id: { format: "uuid", type: "string" }
|
|
1856
|
+
device_id: { format: "uuid", type: "string" },
|
|
1857
|
+
user_identifier_key: { type: "string" }
|
|
1855
1858
|
},
|
|
1856
1859
|
type: "object"
|
|
1857
1860
|
}
|
|
@@ -2486,6 +2489,7 @@ var openapi_default = {
|
|
|
2486
2489
|
},
|
|
2487
2490
|
device_id: { format: "uuid", type: "string" },
|
|
2488
2491
|
ends_at: { type: "string" },
|
|
2492
|
+
is_managed: { type: "boolean" },
|
|
2489
2493
|
name: { type: "string" },
|
|
2490
2494
|
prefer_native_scheduling: { type: "boolean" },
|
|
2491
2495
|
starts_at: { type: "string" },
|
|
@@ -2552,6 +2556,7 @@ var openapi_default = {
|
|
|
2552
2556
|
},
|
|
2553
2557
|
device_id: { format: "uuid", type: "string" },
|
|
2554
2558
|
ends_at: { type: "string" },
|
|
2559
|
+
is_managed: { type: "boolean" },
|
|
2555
2560
|
name: { type: "string" },
|
|
2556
2561
|
prefer_native_scheduling: { type: "boolean" },
|
|
2557
2562
|
starts_at: { type: "string" },
|
|
@@ -3048,17 +3053,18 @@ var openapi_default = {
|
|
|
3048
3053
|
"x-fern-sdk-method-name": "update"
|
|
3049
3054
|
}
|
|
3050
3055
|
},
|
|
3051
|
-
"/acs/
|
|
3056
|
+
"/acs/credentials/create": {
|
|
3052
3057
|
post: {
|
|
3053
|
-
operationId: "
|
|
3058
|
+
operationId: "acsCredentialsCreatePost",
|
|
3054
3059
|
requestBody: {
|
|
3055
3060
|
content: {
|
|
3056
3061
|
"application/json": {
|
|
3057
3062
|
schema: {
|
|
3058
3063
|
properties: {
|
|
3059
|
-
|
|
3064
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3065
|
+
code: { oneOf: [{ pattern: "^\\d+$", type: "string" }, {}] }
|
|
3060
3066
|
},
|
|
3061
|
-
required: ["
|
|
3067
|
+
required: ["acs_user_id"],
|
|
3062
3068
|
type: "object"
|
|
3063
3069
|
}
|
|
3064
3070
|
}
|
|
@@ -3070,10 +3076,28 @@ var openapi_default = {
|
|
|
3070
3076
|
"application/json": {
|
|
3071
3077
|
schema: {
|
|
3072
3078
|
properties: {
|
|
3073
|
-
|
|
3079
|
+
acs_credential: {
|
|
3080
|
+
properties: {
|
|
3081
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
3082
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3083
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3084
|
+
code: { nullable: true, type: "string" },
|
|
3085
|
+
created_at: { format: "date-time", type: "string" },
|
|
3086
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
3087
|
+
},
|
|
3088
|
+
required: [
|
|
3089
|
+
"acs_credential_id",
|
|
3090
|
+
"acs_user_id",
|
|
3091
|
+
"acs_system_id",
|
|
3092
|
+
"code",
|
|
3093
|
+
"created_at",
|
|
3094
|
+
"workspace_id"
|
|
3095
|
+
],
|
|
3096
|
+
type: "object"
|
|
3097
|
+
},
|
|
3074
3098
|
ok: { type: "boolean" }
|
|
3075
3099
|
},
|
|
3076
|
-
required: ["
|
|
3100
|
+
required: ["acs_credential", "ok"],
|
|
3077
3101
|
type: "object"
|
|
3078
3102
|
}
|
|
3079
3103
|
}
|
|
@@ -3088,28 +3112,164 @@ var openapi_default = {
|
|
|
3088
3112
|
{ seam_client_session_token: [] },
|
|
3089
3113
|
{ client_session_token: [] }
|
|
3090
3114
|
],
|
|
3091
|
-
summary: "/acs/
|
|
3115
|
+
summary: "/acs/credentials/create",
|
|
3092
3116
|
tags: [],
|
|
3093
|
-
"x-fern-sdk-group-name": ["acs", "
|
|
3117
|
+
"x-fern-sdk-group-name": ["acs", "credentials"],
|
|
3118
|
+
"x-fern-sdk-method-name": "create"
|
|
3119
|
+
}
|
|
3120
|
+
},
|
|
3121
|
+
"/acs/credentials/delete": {
|
|
3122
|
+
post: {
|
|
3123
|
+
operationId: "acsCredentialsDeletePost",
|
|
3124
|
+
requestBody: {
|
|
3125
|
+
content: {
|
|
3126
|
+
"application/json": {
|
|
3127
|
+
schema: {
|
|
3128
|
+
properties: {
|
|
3129
|
+
acs_credential_id: { format: "uuid", type: "string" }
|
|
3130
|
+
},
|
|
3131
|
+
required: ["acs_credential_id"],
|
|
3132
|
+
type: "object"
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
},
|
|
3137
|
+
responses: {
|
|
3138
|
+
200: {
|
|
3139
|
+
content: {
|
|
3140
|
+
"application/json": {
|
|
3141
|
+
schema: {
|
|
3142
|
+
properties: { ok: { type: "boolean" } },
|
|
3143
|
+
required: ["ok"],
|
|
3144
|
+
type: "object"
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
},
|
|
3148
|
+
description: "OK"
|
|
3149
|
+
},
|
|
3150
|
+
400: { description: "Bad Request" },
|
|
3151
|
+
401: { description: "Unauthorized" }
|
|
3152
|
+
},
|
|
3153
|
+
security: [
|
|
3154
|
+
{ access_token: [], seam_workspace: [] },
|
|
3155
|
+
{ seam_client_session_token: [] },
|
|
3156
|
+
{ client_session_token: [] }
|
|
3157
|
+
],
|
|
3158
|
+
summary: "/acs/credentials/delete",
|
|
3159
|
+
tags: [],
|
|
3160
|
+
"x-fern-sdk-group-name": ["acs", "credentials"],
|
|
3161
|
+
"x-fern-sdk-method-name": "delete"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"/acs/credentials/get": {
|
|
3165
|
+
post: {
|
|
3166
|
+
operationId: "acsCredentialsGetPost",
|
|
3167
|
+
requestBody: {
|
|
3168
|
+
content: {
|
|
3169
|
+
"application/json": {
|
|
3170
|
+
schema: {
|
|
3171
|
+
properties: {
|
|
3172
|
+
acs_credentials_id: { format: "uuid", type: "string" }
|
|
3173
|
+
},
|
|
3174
|
+
required: ["acs_credentials_id"],
|
|
3175
|
+
type: "object"
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
},
|
|
3180
|
+
responses: {
|
|
3181
|
+
200: {
|
|
3182
|
+
content: {
|
|
3183
|
+
"application/json": {
|
|
3184
|
+
schema: {
|
|
3185
|
+
properties: {
|
|
3186
|
+
acs_credential: {
|
|
3187
|
+
properties: {
|
|
3188
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
3189
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3190
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3191
|
+
code: { nullable: true, type: "string" },
|
|
3192
|
+
created_at: { format: "date-time", type: "string" },
|
|
3193
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
3194
|
+
},
|
|
3195
|
+
required: [
|
|
3196
|
+
"acs_credential_id",
|
|
3197
|
+
"acs_user_id",
|
|
3198
|
+
"acs_system_id",
|
|
3199
|
+
"code",
|
|
3200
|
+
"created_at",
|
|
3201
|
+
"workspace_id"
|
|
3202
|
+
],
|
|
3203
|
+
type: "object"
|
|
3204
|
+
},
|
|
3205
|
+
ok: { type: "boolean" }
|
|
3206
|
+
},
|
|
3207
|
+
required: ["acs_credential", "ok"],
|
|
3208
|
+
type: "object"
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
description: "OK"
|
|
3213
|
+
},
|
|
3214
|
+
400: { description: "Bad Request" },
|
|
3215
|
+
401: { description: "Unauthorized" }
|
|
3216
|
+
},
|
|
3217
|
+
security: [
|
|
3218
|
+
{ access_token: [], seam_workspace: [] },
|
|
3219
|
+
{ seam_client_session_token: [] },
|
|
3220
|
+
{ client_session_token: [] }
|
|
3221
|
+
],
|
|
3222
|
+
summary: "/acs/credentials/get",
|
|
3223
|
+
tags: [],
|
|
3224
|
+
"x-fern-sdk-group-name": ["acs", "credentials"],
|
|
3094
3225
|
"x-fern-sdk-method-name": "get"
|
|
3095
3226
|
}
|
|
3096
3227
|
},
|
|
3097
|
-
"/acs/
|
|
3098
|
-
|
|
3099
|
-
operationId: "
|
|
3228
|
+
"/acs/credentials/list": {
|
|
3229
|
+
post: {
|
|
3230
|
+
operationId: "acsCredentialsListPost",
|
|
3231
|
+
requestBody: {
|
|
3232
|
+
content: {
|
|
3233
|
+
"application/json": {
|
|
3234
|
+
schema: {
|
|
3235
|
+
properties: { acs_user_id: { format: "uuid", type: "string" } },
|
|
3236
|
+
required: ["acs_user_id"],
|
|
3237
|
+
type: "object"
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3100
3242
|
responses: {
|
|
3101
3243
|
200: {
|
|
3102
3244
|
content: {
|
|
3103
3245
|
"application/json": {
|
|
3104
3246
|
schema: {
|
|
3105
3247
|
properties: {
|
|
3106
|
-
|
|
3107
|
-
items: {
|
|
3248
|
+
acs_credentials: {
|
|
3249
|
+
items: {
|
|
3250
|
+
properties: {
|
|
3251
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
3252
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3253
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3254
|
+
code: { nullable: true, type: "string" },
|
|
3255
|
+
created_at: { format: "date-time", type: "string" },
|
|
3256
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
3257
|
+
},
|
|
3258
|
+
required: [
|
|
3259
|
+
"acs_credential_id",
|
|
3260
|
+
"acs_user_id",
|
|
3261
|
+
"acs_system_id",
|
|
3262
|
+
"code",
|
|
3263
|
+
"created_at",
|
|
3264
|
+
"workspace_id"
|
|
3265
|
+
],
|
|
3266
|
+
type: "object"
|
|
3267
|
+
},
|
|
3108
3268
|
type: "array"
|
|
3109
3269
|
},
|
|
3110
3270
|
ok: { type: "boolean" }
|
|
3111
3271
|
},
|
|
3112
|
-
required: ["
|
|
3272
|
+
required: ["acs_credentials", "ok"],
|
|
3113
3273
|
type: "object"
|
|
3114
3274
|
}
|
|
3115
3275
|
}
|
|
@@ -3124,12 +3284,73 @@ var openapi_default = {
|
|
|
3124
3284
|
{ seam_client_session_token: [] },
|
|
3125
3285
|
{ client_session_token: [] }
|
|
3126
3286
|
],
|
|
3127
|
-
summary: "/acs/
|
|
3287
|
+
summary: "/acs/credentials/list",
|
|
3128
3288
|
tags: [],
|
|
3129
|
-
"x-fern-
|
|
3130
|
-
|
|
3289
|
+
"x-fern-sdk-group-name": ["acs", "credentials"],
|
|
3290
|
+
"x-fern-sdk-method-name": "list"
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
"/acs/systems/get": {
|
|
3294
|
+
post: {
|
|
3295
|
+
operationId: "acsSystemsGetPost",
|
|
3296
|
+
requestBody: {
|
|
3297
|
+
content: {
|
|
3298
|
+
"application/json": {
|
|
3299
|
+
schema: {
|
|
3300
|
+
properties: {
|
|
3301
|
+
acs_system_id: { format: "uuid", type: "string" }
|
|
3302
|
+
},
|
|
3303
|
+
required: ["acs_system_id"],
|
|
3304
|
+
type: "object"
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
responses: {
|
|
3310
|
+
200: {
|
|
3311
|
+
content: {
|
|
3312
|
+
"application/json": {
|
|
3313
|
+
schema: {
|
|
3314
|
+
properties: {
|
|
3315
|
+
acs_system: { $ref: "#/components/schemas/acs_system" },
|
|
3316
|
+
ok: { type: "boolean" }
|
|
3317
|
+
},
|
|
3318
|
+
required: ["acs_system", "ok"],
|
|
3319
|
+
type: "object"
|
|
3320
|
+
}
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
description: "OK"
|
|
3324
|
+
},
|
|
3325
|
+
400: { description: "Bad Request" },
|
|
3326
|
+
401: { description: "Unauthorized" }
|
|
3327
|
+
},
|
|
3328
|
+
security: [
|
|
3329
|
+
{ access_token: [], seam_workspace: [] },
|
|
3330
|
+
{ seam_client_session_token: [] },
|
|
3331
|
+
{ client_session_token: [] }
|
|
3332
|
+
],
|
|
3333
|
+
summary: "/acs/systems/get",
|
|
3334
|
+
tags: [],
|
|
3335
|
+
"x-fern-sdk-group-name": ["acs", "systems"],
|
|
3336
|
+
"x-fern-sdk-method-name": "get"
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3339
|
+
"/acs/systems/list": {
|
|
3131
3340
|
post: {
|
|
3132
3341
|
operationId: "acsSystemsListPost",
|
|
3342
|
+
requestBody: {
|
|
3343
|
+
content: {
|
|
3344
|
+
"application/json": {
|
|
3345
|
+
schema: {
|
|
3346
|
+
properties: {
|
|
3347
|
+
connected_account_id: { format: "uuid", type: "string" }
|
|
3348
|
+
},
|
|
3349
|
+
type: "object"
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3133
3354
|
responses: {
|
|
3134
3355
|
200: {
|
|
3135
3356
|
content: {
|
|
@@ -4011,6 +4232,7 @@ var openapi_default = {
|
|
|
4011
4232
|
"genie",
|
|
4012
4233
|
"doorking",
|
|
4013
4234
|
"salto",
|
|
4235
|
+
"lockly",
|
|
4014
4236
|
"ttlock",
|
|
4015
4237
|
"linear",
|
|
4016
4238
|
"noiseaware",
|
|
@@ -4692,7 +4914,8 @@ var openapi_default = {
|
|
|
4692
4914
|
"dormakaba_oracode"
|
|
4693
4915
|
],
|
|
4694
4916
|
type: "string"
|
|
4695
|
-
}
|
|
4917
|
+
},
|
|
4918
|
+
user_identifier_key: { type: "string" }
|
|
4696
4919
|
},
|
|
4697
4920
|
type: "object"
|
|
4698
4921
|
}
|
|
@@ -4996,7 +5219,8 @@ var openapi_default = {
|
|
|
4996
5219
|
"dormakaba_oracode"
|
|
4997
5220
|
],
|
|
4998
5221
|
type: "string"
|
|
4999
|
-
}
|
|
5222
|
+
},
|
|
5223
|
+
user_identifier_key: { type: "string" }
|
|
5000
5224
|
},
|
|
5001
5225
|
type: "object"
|
|
5002
5226
|
}
|
|
@@ -5778,7 +6002,8 @@ var openapi_default = {
|
|
|
5778
6002
|
"dormakaba_oracode"
|
|
5779
6003
|
],
|
|
5780
6004
|
type: "string"
|
|
5781
|
-
}
|
|
6005
|
+
},
|
|
6006
|
+
user_identifier_key: { type: "string" }
|
|
5782
6007
|
},
|
|
5783
6008
|
type: "object"
|
|
5784
6009
|
}
|
|
@@ -7001,7 +7226,8 @@ var openapi_default = {
|
|
|
7001
7226
|
"dormakaba_oracode"
|
|
7002
7227
|
],
|
|
7003
7228
|
type: "string"
|
|
7004
|
-
}
|
|
7229
|
+
},
|
|
7230
|
+
user_identifier_key: { type: "string" }
|
|
7005
7231
|
},
|
|
7006
7232
|
type: "object"
|
|
7007
7233
|
}
|