@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
@@ -12,6 +12,7 @@ export default {
12
12
  errors: { nullable: true },
13
13
  is_backup: { type: 'boolean' },
14
14
  is_backup_access_code_available: { type: 'boolean' },
15
+ is_external_modification_allowed: { type: 'boolean' },
15
16
  is_managed: { enum: [true], type: 'boolean' },
16
17
  is_scheduled_on_device: { type: 'boolean' },
17
18
  is_waiting_for_code_assignment: { type: 'boolean' },
@@ -40,6 +41,7 @@ export default {
40
41
  'is_managed',
41
42
  'status',
42
43
  'is_backup_access_code_available',
44
+ 'is_external_modification_allowed',
43
45
  ],
44
46
  type: 'object',
45
47
  },
@@ -2455,6 +2457,7 @@ export default {
2455
2457
  },
2456
2458
  device_id: { format: 'uuid', type: 'string' },
2457
2459
  ends_at: { type: 'string' },
2460
+ is_managed: { type: 'boolean' },
2458
2461
  name: { type: 'string' },
2459
2462
  prefer_native_scheduling: { type: 'boolean' },
2460
2463
  starts_at: { type: 'string' },
@@ -2521,6 +2524,7 @@ export default {
2521
2524
  },
2522
2525
  device_id: { format: 'uuid', type: 'string' },
2523
2526
  ends_at: { type: 'string' },
2527
+ is_managed: { type: 'boolean' },
2524
2528
  name: { type: 'string' },
2525
2529
  prefer_native_scheduling: { type: 'boolean' },
2526
2530
  starts_at: { type: 'string' },
@@ -3017,6 +3021,243 @@ export default {
3017
3021
  'x-fern-sdk-method-name': 'update',
3018
3022
  },
3019
3023
  },
3024
+ '/acs/credentials/create': {
3025
+ post: {
3026
+ operationId: 'acsCredentialsCreatePost',
3027
+ requestBody: {
3028
+ content: {
3029
+ 'application/json': {
3030
+ schema: {
3031
+ properties: {
3032
+ acs_user_id: { format: 'uuid', type: 'string' },
3033
+ code: { pattern: '^\\d+$', type: 'string' },
3034
+ },
3035
+ required: ['acs_user_id', 'code'],
3036
+ type: 'object',
3037
+ },
3038
+ },
3039
+ },
3040
+ },
3041
+ responses: {
3042
+ 200: {
3043
+ content: {
3044
+ 'application/json': {
3045
+ schema: {
3046
+ properties: {
3047
+ acs_credential: {
3048
+ properties: {
3049
+ acs_credential_id: { format: 'uuid', type: 'string' },
3050
+ acs_system_id: { format: 'uuid', type: 'string' },
3051
+ acs_user_id: { format: 'uuid', type: 'string' },
3052
+ code: { type: 'string' },
3053
+ created_at: { format: 'date-time', type: 'string' },
3054
+ workspace_id: { format: 'uuid', type: 'string' },
3055
+ },
3056
+ required: [
3057
+ 'acs_credential_id',
3058
+ 'acs_user_id',
3059
+ 'acs_system_id',
3060
+ 'code',
3061
+ 'created_at',
3062
+ 'workspace_id',
3063
+ ],
3064
+ type: 'object',
3065
+ },
3066
+ ok: { type: 'boolean' },
3067
+ },
3068
+ required: ['acs_credential', 'ok'],
3069
+ type: 'object',
3070
+ },
3071
+ },
3072
+ },
3073
+ description: 'OK',
3074
+ },
3075
+ 400: { description: 'Bad Request' },
3076
+ 401: { description: 'Unauthorized' },
3077
+ },
3078
+ security: [
3079
+ { access_token: [], seam_workspace: [] },
3080
+ { seam_client_session_token: [] },
3081
+ { client_session_token: [] },
3082
+ ],
3083
+ summary: '/acs/credentials/create',
3084
+ tags: [],
3085
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3086
+ 'x-fern-sdk-method-name': 'create',
3087
+ },
3088
+ },
3089
+ '/acs/credentials/delete': {
3090
+ post: {
3091
+ operationId: 'acsCredentialsDeletePost',
3092
+ requestBody: {
3093
+ content: {
3094
+ 'application/json': {
3095
+ schema: {
3096
+ properties: {
3097
+ acs_credential_id: { format: 'uuid', type: 'string' },
3098
+ },
3099
+ required: ['acs_credential_id'],
3100
+ type: 'object',
3101
+ },
3102
+ },
3103
+ },
3104
+ },
3105
+ responses: {
3106
+ 200: {
3107
+ content: {
3108
+ 'application/json': {
3109
+ schema: {
3110
+ properties: { ok: { type: 'boolean' } },
3111
+ required: ['ok'],
3112
+ type: 'object',
3113
+ },
3114
+ },
3115
+ },
3116
+ description: 'OK',
3117
+ },
3118
+ 400: { description: 'Bad Request' },
3119
+ 401: { description: 'Unauthorized' },
3120
+ },
3121
+ security: [
3122
+ { access_token: [], seam_workspace: [] },
3123
+ { seam_client_session_token: [] },
3124
+ { client_session_token: [] },
3125
+ ],
3126
+ summary: '/acs/credentials/delete',
3127
+ tags: [],
3128
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3129
+ 'x-fern-sdk-method-name': 'delete',
3130
+ },
3131
+ },
3132
+ '/acs/credentials/get': {
3133
+ post: {
3134
+ operationId: 'acsCredentialsGetPost',
3135
+ requestBody: {
3136
+ content: {
3137
+ 'application/json': {
3138
+ schema: {
3139
+ properties: {
3140
+ acs_credentials_id: { format: 'uuid', type: 'string' },
3141
+ },
3142
+ required: ['acs_credentials_id'],
3143
+ type: 'object',
3144
+ },
3145
+ },
3146
+ },
3147
+ },
3148
+ responses: {
3149
+ 200: {
3150
+ content: {
3151
+ 'application/json': {
3152
+ schema: {
3153
+ properties: {
3154
+ acs_credential: {
3155
+ properties: {
3156
+ acs_credential_id: { format: 'uuid', type: 'string' },
3157
+ acs_system_id: { format: 'uuid', type: 'string' },
3158
+ acs_user_id: { format: 'uuid', type: 'string' },
3159
+ code: { type: 'string' },
3160
+ created_at: { format: 'date-time', type: 'string' },
3161
+ workspace_id: { format: 'uuid', type: 'string' },
3162
+ },
3163
+ required: [
3164
+ 'acs_credential_id',
3165
+ 'acs_user_id',
3166
+ 'acs_system_id',
3167
+ 'code',
3168
+ 'created_at',
3169
+ 'workspace_id',
3170
+ ],
3171
+ type: 'object',
3172
+ },
3173
+ ok: { type: 'boolean' },
3174
+ },
3175
+ required: ['acs_credential', 'ok'],
3176
+ type: 'object',
3177
+ },
3178
+ },
3179
+ },
3180
+ description: 'OK',
3181
+ },
3182
+ 400: { description: 'Bad Request' },
3183
+ 401: { description: 'Unauthorized' },
3184
+ },
3185
+ security: [
3186
+ { access_token: [], seam_workspace: [] },
3187
+ { seam_client_session_token: [] },
3188
+ { client_session_token: [] },
3189
+ ],
3190
+ summary: '/acs/credentials/get',
3191
+ tags: [],
3192
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3193
+ 'x-fern-sdk-method-name': 'get',
3194
+ },
3195
+ },
3196
+ '/acs/credentials/list': {
3197
+ post: {
3198
+ operationId: 'acsCredentialsListPost',
3199
+ requestBody: {
3200
+ content: {
3201
+ 'application/json': {
3202
+ schema: {
3203
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
3204
+ required: ['acs_user_id'],
3205
+ type: 'object',
3206
+ },
3207
+ },
3208
+ },
3209
+ },
3210
+ responses: {
3211
+ 200: {
3212
+ content: {
3213
+ 'application/json': {
3214
+ schema: {
3215
+ properties: {
3216
+ acs_credentials: {
3217
+ items: {
3218
+ properties: {
3219
+ acs_credential_id: { format: 'uuid', type: 'string' },
3220
+ acs_system_id: { format: 'uuid', type: 'string' },
3221
+ acs_user_id: { format: 'uuid', type: 'string' },
3222
+ code: { type: 'string' },
3223
+ created_at: { format: 'date-time', type: 'string' },
3224
+ workspace_id: { format: 'uuid', type: 'string' },
3225
+ },
3226
+ required: [
3227
+ 'acs_credential_id',
3228
+ 'acs_user_id',
3229
+ 'acs_system_id',
3230
+ 'code',
3231
+ 'created_at',
3232
+ 'workspace_id',
3233
+ ],
3234
+ type: 'object',
3235
+ },
3236
+ type: 'array',
3237
+ },
3238
+ ok: { type: 'boolean' },
3239
+ },
3240
+ required: ['acs_credentials', 'ok'],
3241
+ type: 'object',
3242
+ },
3243
+ },
3244
+ },
3245
+ description: 'OK',
3246
+ },
3247
+ 400: { description: 'Bad Request' },
3248
+ 401: { description: 'Unauthorized' },
3249
+ },
3250
+ security: [
3251
+ { access_token: [], seam_workspace: [] },
3252
+ { seam_client_session_token: [] },
3253
+ { client_session_token: [] },
3254
+ ],
3255
+ summary: '/acs/credentials/list',
3256
+ tags: [],
3257
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3258
+ 'x-fern-sdk-method-name': 'list',
3259
+ },
3260
+ },
3020
3261
  '/acs/systems/get': {
3021
3262
  post: {
3022
3263
  operationId: 'acsSystemsGetPost',
@@ -3980,6 +4221,7 @@ export default {
3980
4221
  'genie',
3981
4222
  'doorking',
3982
4223
  'salto',
4224
+ 'lockly',
3983
4225
  'ttlock',
3984
4226
  'linear',
3985
4227
  'noiseaware',