Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Nov 3, 2023
1 parent e016ff0 commit a3baedb
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
42 changes: 42 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1555,11 +1555,18 @@ export default {
device_id: { format: 'uuid', type: 'string' },
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
sync: { default: false, type: 'boolean' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['device_id'],
type: 'object',
Expand Down Expand Up @@ -1631,10 +1638,17 @@ export default {
},
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['device_ids'],
type: 'object',
Expand Down Expand Up @@ -1704,10 +1718,17 @@ export default {
},
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['device_ids'],
type: 'object',
Expand Down Expand Up @@ -2411,12 +2432,19 @@ export default {
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_managed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
sync: { default: false, type: 'boolean' },
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['access_code_id'],
type: 'object',
Expand Down Expand Up @@ -2477,12 +2505,19 @@ export default {
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_managed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
sync: { default: false, type: 'boolean' },
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['access_code_id'],
type: 'object',
Expand Down Expand Up @@ -2545,12 +2580,19 @@ export default {
ends_at: { type: 'string' },
is_external_modification_allowed: { type: 'boolean' },
is_managed: { type: 'boolean' },
is_offline_access_code: { type: 'boolean' },
is_one_time_use: { type: 'boolean' },
max_time_rounding: {
enum: ['1hour', '1day', '1h', '1d'],
type: 'string',
},
name: { type: 'string' },
prefer_native_scheduling: { type: 'boolean' },
starts_at: { type: 'string' },
sync: { default: false, type: 'boolean' },
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
use_backup_access_code_pool: { type: 'boolean' },
use_offline_access_code: { type: 'boolean' },
},
required: ['access_code_id'],
type: 'object',
Expand Down
12 changes: 12 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export interface Routes {
use_backup_access_code_pool?: boolean | undefined
allow_external_modification?: boolean | undefined
is_external_modification_allowed?: boolean | undefined
use_offline_access_code?: boolean | undefined
is_offline_access_code?: boolean | undefined
is_one_time_use?: boolean | undefined
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined
}
commonParams: {}
formData: {}
Expand Down Expand Up @@ -84,6 +88,10 @@ export interface Routes {
use_backup_access_code_pool?: boolean | undefined
allow_external_modification?: boolean | undefined
is_external_modification_allowed?: boolean | undefined
use_offline_access_code?: boolean | undefined
is_offline_access_code?: boolean | undefined
is_one_time_use?: boolean | undefined
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined
}
commonParams: {}
formData: {}
Expand Down Expand Up @@ -435,6 +443,10 @@ export interface Routes {
use_backup_access_code_pool?: boolean | undefined
allow_external_modification?: boolean | undefined
is_external_modification_allowed?: boolean | undefined
use_offline_access_code?: boolean | undefined
is_offline_access_code?: boolean | undefined
is_one_time_use?: boolean | undefined
max_time_rounding?: ('1hour' | '1day' | '1h' | '1d') | undefined
access_code_id: string
device_id?: string | undefined
type?: ('ongoing' | 'time_bound') | undefined
Expand Down

0 comments on commit a3baedb

Please sign in to comment.