@seamapi/types 1.12.0 → 1.14.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.
Files changed (30) hide show
  1. package/dist/connect.cjs +243 -1
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4378 -339
  4. package/lib/seam/connect/index.d.ts +1 -0
  5. package/lib/seam/connect/index.js +1 -0
  6. package/lib/seam/connect/index.js.map +1 -1
  7. package/lib/seam/connect/openapi.d.ts +363 -0
  8. package/lib/seam/connect/openapi.js +242 -0
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +79 -1
  11. package/lib/seam/connect/unstable/models/acs/credential.d.ts +24 -0
  12. package/lib/seam/connect/unstable/models/acs/credential.js +11 -0
  13. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -0
  14. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  15. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  16. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/acs/user.d.ts +0 -14
  18. package/lib/seam/connect/unstable/models/acs/user.js +0 -5
  19. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  20. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  21. package/lib/seam/connect/unstable/schemas.js +1 -1
  22. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/index.ts +1 -0
  25. package/src/lib/seam/connect/openapi.ts +242 -0
  26. package/src/lib/seam/connect/route-types.ts +79 -0
  27. package/src/lib/seam/connect/unstable/models/acs/credential.ts +13 -0
  28. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  29. package/src/lib/seam/connect/unstable/models/acs/user.ts +0 -8
  30. 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
  },
@@ -2486,6 +2488,7 @@ var openapi_default = {
2486
2488
  },
2487
2489
  device_id: { format: "uuid", type: "string" },
2488
2490
  ends_at: { type: "string" },
2491
+ is_managed: { type: "boolean" },
2489
2492
  name: { type: "string" },
2490
2493
  prefer_native_scheduling: { type: "boolean" },
2491
2494
  starts_at: { type: "string" },
@@ -2552,6 +2555,7 @@ var openapi_default = {
2552
2555
  },
2553
2556
  device_id: { format: "uuid", type: "string" },
2554
2557
  ends_at: { type: "string" },
2558
+ is_managed: { type: "boolean" },
2555
2559
  name: { type: "string" },
2556
2560
  prefer_native_scheduling: { type: "boolean" },
2557
2561
  starts_at: { type: "string" },
@@ -3048,6 +3052,243 @@ var openapi_default = {
3048
3052
  "x-fern-sdk-method-name": "update"
3049
3053
  }
3050
3054
  },
3055
+ "/acs/credentials/create": {
3056
+ post: {
3057
+ operationId: "acsCredentialsCreatePost",
3058
+ requestBody: {
3059
+ content: {
3060
+ "application/json": {
3061
+ schema: {
3062
+ properties: {
3063
+ acs_user_id: { format: "uuid", type: "string" },
3064
+ code: { pattern: "^\\d+$", type: "string" }
3065
+ },
3066
+ required: ["acs_user_id", "code"],
3067
+ type: "object"
3068
+ }
3069
+ }
3070
+ }
3071
+ },
3072
+ responses: {
3073
+ 200: {
3074
+ content: {
3075
+ "application/json": {
3076
+ schema: {
3077
+ properties: {
3078
+ acs_credential: {
3079
+ properties: {
3080
+ acs_credential_id: { format: "uuid", type: "string" },
3081
+ acs_system_id: { format: "uuid", type: "string" },
3082
+ acs_user_id: { format: "uuid", type: "string" },
3083
+ code: { type: "string" },
3084
+ created_at: { format: "date-time", type: "string" },
3085
+ workspace_id: { format: "uuid", type: "string" }
3086
+ },
3087
+ required: [
3088
+ "acs_credential_id",
3089
+ "acs_user_id",
3090
+ "acs_system_id",
3091
+ "code",
3092
+ "created_at",
3093
+ "workspace_id"
3094
+ ],
3095
+ type: "object"
3096
+ },
3097
+ ok: { type: "boolean" }
3098
+ },
3099
+ required: ["acs_credential", "ok"],
3100
+ type: "object"
3101
+ }
3102
+ }
3103
+ },
3104
+ description: "OK"
3105
+ },
3106
+ 400: { description: "Bad Request" },
3107
+ 401: { description: "Unauthorized" }
3108
+ },
3109
+ security: [
3110
+ { access_token: [], seam_workspace: [] },
3111
+ { seam_client_session_token: [] },
3112
+ { client_session_token: [] }
3113
+ ],
3114
+ summary: "/acs/credentials/create",
3115
+ tags: [],
3116
+ "x-fern-sdk-group-name": ["acs", "credentials"],
3117
+ "x-fern-sdk-method-name": "create"
3118
+ }
3119
+ },
3120
+ "/acs/credentials/delete": {
3121
+ post: {
3122
+ operationId: "acsCredentialsDeletePost",
3123
+ requestBody: {
3124
+ content: {
3125
+ "application/json": {
3126
+ schema: {
3127
+ properties: {
3128
+ acs_credential_id: { format: "uuid", type: "string" }
3129
+ },
3130
+ required: ["acs_credential_id"],
3131
+ type: "object"
3132
+ }
3133
+ }
3134
+ }
3135
+ },
3136
+ responses: {
3137
+ 200: {
3138
+ content: {
3139
+ "application/json": {
3140
+ schema: {
3141
+ properties: { ok: { type: "boolean" } },
3142
+ required: ["ok"],
3143
+ type: "object"
3144
+ }
3145
+ }
3146
+ },
3147
+ description: "OK"
3148
+ },
3149
+ 400: { description: "Bad Request" },
3150
+ 401: { description: "Unauthorized" }
3151
+ },
3152
+ security: [
3153
+ { access_token: [], seam_workspace: [] },
3154
+ { seam_client_session_token: [] },
3155
+ { client_session_token: [] }
3156
+ ],
3157
+ summary: "/acs/credentials/delete",
3158
+ tags: [],
3159
+ "x-fern-sdk-group-name": ["acs", "credentials"],
3160
+ "x-fern-sdk-method-name": "delete"
3161
+ }
3162
+ },
3163
+ "/acs/credentials/get": {
3164
+ post: {
3165
+ operationId: "acsCredentialsGetPost",
3166
+ requestBody: {
3167
+ content: {
3168
+ "application/json": {
3169
+ schema: {
3170
+ properties: {
3171
+ acs_credentials_id: { format: "uuid", type: "string" }
3172
+ },
3173
+ required: ["acs_credentials_id"],
3174
+ type: "object"
3175
+ }
3176
+ }
3177
+ }
3178
+ },
3179
+ responses: {
3180
+ 200: {
3181
+ content: {
3182
+ "application/json": {
3183
+ schema: {
3184
+ properties: {
3185
+ acs_credential: {
3186
+ properties: {
3187
+ acs_credential_id: { format: "uuid", type: "string" },
3188
+ acs_system_id: { format: "uuid", type: "string" },
3189
+ acs_user_id: { format: "uuid", type: "string" },
3190
+ code: { type: "string" },
3191
+ created_at: { format: "date-time", type: "string" },
3192
+ workspace_id: { format: "uuid", type: "string" }
3193
+ },
3194
+ required: [
3195
+ "acs_credential_id",
3196
+ "acs_user_id",
3197
+ "acs_system_id",
3198
+ "code",
3199
+ "created_at",
3200
+ "workspace_id"
3201
+ ],
3202
+ type: "object"
3203
+ },
3204
+ ok: { type: "boolean" }
3205
+ },
3206
+ required: ["acs_credential", "ok"],
3207
+ type: "object"
3208
+ }
3209
+ }
3210
+ },
3211
+ description: "OK"
3212
+ },
3213
+ 400: { description: "Bad Request" },
3214
+ 401: { description: "Unauthorized" }
3215
+ },
3216
+ security: [
3217
+ { access_token: [], seam_workspace: [] },
3218
+ { seam_client_session_token: [] },
3219
+ { client_session_token: [] }
3220
+ ],
3221
+ summary: "/acs/credentials/get",
3222
+ tags: [],
3223
+ "x-fern-sdk-group-name": ["acs", "credentials"],
3224
+ "x-fern-sdk-method-name": "get"
3225
+ }
3226
+ },
3227
+ "/acs/credentials/list": {
3228
+ post: {
3229
+ operationId: "acsCredentialsListPost",
3230
+ requestBody: {
3231
+ content: {
3232
+ "application/json": {
3233
+ schema: {
3234
+ properties: { acs_user_id: { format: "uuid", type: "string" } },
3235
+ required: ["acs_user_id"],
3236
+ type: "object"
3237
+ }
3238
+ }
3239
+ }
3240
+ },
3241
+ responses: {
3242
+ 200: {
3243
+ content: {
3244
+ "application/json": {
3245
+ schema: {
3246
+ properties: {
3247
+ acs_credentials: {
3248
+ items: {
3249
+ properties: {
3250
+ acs_credential_id: { format: "uuid", type: "string" },
3251
+ acs_system_id: { format: "uuid", type: "string" },
3252
+ acs_user_id: { format: "uuid", type: "string" },
3253
+ code: { type: "string" },
3254
+ created_at: { format: "date-time", type: "string" },
3255
+ workspace_id: { format: "uuid", type: "string" }
3256
+ },
3257
+ required: [
3258
+ "acs_credential_id",
3259
+ "acs_user_id",
3260
+ "acs_system_id",
3261
+ "code",
3262
+ "created_at",
3263
+ "workspace_id"
3264
+ ],
3265
+ type: "object"
3266
+ },
3267
+ type: "array"
3268
+ },
3269
+ ok: { type: "boolean" }
3270
+ },
3271
+ required: ["acs_credentials", "ok"],
3272
+ type: "object"
3273
+ }
3274
+ }
3275
+ },
3276
+ description: "OK"
3277
+ },
3278
+ 400: { description: "Bad Request" },
3279
+ 401: { description: "Unauthorized" }
3280
+ },
3281
+ security: [
3282
+ { access_token: [], seam_workspace: [] },
3283
+ { seam_client_session_token: [] },
3284
+ { client_session_token: [] }
3285
+ ],
3286
+ summary: "/acs/credentials/list",
3287
+ tags: [],
3288
+ "x-fern-sdk-group-name": ["acs", "credentials"],
3289
+ "x-fern-sdk-method-name": "list"
3290
+ }
3291
+ },
3051
3292
  "/acs/systems/get": {
3052
3293
  post: {
3053
3294
  operationId: "acsSystemsGetPost",
@@ -4011,6 +4252,7 @@ var openapi_default = {
4011
4252
  "genie",
4012
4253
  "doorking",
4013
4254
  "salto",
4255
+ "lockly",
4014
4256
  "ttlock",
4015
4257
  "linear",
4016
4258
  "noiseaware",