@seamapi/types 1.727.0 → 1.729.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 +61 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +235 -48
- package/dist/index.cjs +61 -12
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +36 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +16 -16
- package/lib/seam/connect/models/batch.d.ts +84 -32
- package/lib/seam/connect/openapi.d.ts +48 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +65 -0
|
@@ -12246,6 +12246,13 @@ export type Routes = {
|
|
|
12246
12246
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12247
12247
|
warning_code: 'being_deleted';
|
|
12248
12248
|
})[];
|
|
12249
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
12250
|
+
access_schedule?: {
|
|
12251
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12252
|
+
starts_at: string;
|
|
12253
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12254
|
+
ends_at: string | null;
|
|
12255
|
+
} | undefined;
|
|
12249
12256
|
is_managed: true;
|
|
12250
12257
|
}[] | undefined;
|
|
12251
12258
|
access_methods?: {
|
|
@@ -16832,6 +16839,13 @@ export type Routes = {
|
|
|
16832
16839
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16833
16840
|
warning_code: 'being_deleted';
|
|
16834
16841
|
})[];
|
|
16842
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
16843
|
+
access_schedule?: {
|
|
16844
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16845
|
+
starts_at: string;
|
|
16846
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16847
|
+
ends_at: string | null;
|
|
16848
|
+
} | undefined;
|
|
16835
16849
|
is_managed: true;
|
|
16836
16850
|
};
|
|
16837
16851
|
};
|
|
@@ -16894,6 +16908,13 @@ export type Routes = {
|
|
|
16894
16908
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16895
16909
|
warning_code: 'being_deleted';
|
|
16896
16910
|
})[];
|
|
16911
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
16912
|
+
access_schedule?: {
|
|
16913
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16914
|
+
starts_at: string;
|
|
16915
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16916
|
+
ends_at: string | null;
|
|
16917
|
+
} | undefined;
|
|
16897
16918
|
is_managed: true;
|
|
16898
16919
|
}[];
|
|
16899
16920
|
};
|
|
@@ -17340,6 +17361,13 @@ export type Routes = {
|
|
|
17340
17361
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17341
17362
|
warning_code: 'being_deleted';
|
|
17342
17363
|
})[];
|
|
17364
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
17365
|
+
access_schedule?: {
|
|
17366
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17367
|
+
starts_at: string;
|
|
17368
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17369
|
+
ends_at: string | null;
|
|
17370
|
+
} | undefined;
|
|
17343
17371
|
is_managed: false;
|
|
17344
17372
|
};
|
|
17345
17373
|
};
|
|
@@ -17400,6 +17428,13 @@ export type Routes = {
|
|
|
17400
17428
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17401
17429
|
warning_code: 'being_deleted';
|
|
17402
17430
|
})[];
|
|
17431
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
17432
|
+
access_schedule?: {
|
|
17433
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17434
|
+
starts_at: string;
|
|
17435
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17436
|
+
ends_at: string | null;
|
|
17437
|
+
} | undefined;
|
|
17403
17438
|
is_managed: false;
|
|
17404
17439
|
}[];
|
|
17405
17440
|
};
|
|
@@ -60722,6 +60757,7 @@ export type Routes = {
|
|
|
60722
60757
|
starts_at: string | null;
|
|
60723
60758
|
ends_at: string | null;
|
|
60724
60759
|
created_at: string;
|
|
60760
|
+
is_resource_syncing: boolean;
|
|
60725
60761
|
guest_name: string | null;
|
|
60726
60762
|
spaces: {
|
|
60727
60763
|
space_id: string | null;
|
|
@@ -60770,6 +60806,7 @@ export type Routes = {
|
|
|
60770
60806
|
starts_at: string | null;
|
|
60771
60807
|
ends_at: string | null;
|
|
60772
60808
|
created_at: string;
|
|
60809
|
+
is_resource_syncing: boolean;
|
|
60773
60810
|
guest_name: string | null;
|
|
60774
60811
|
warnings: {
|
|
60775
60812
|
warning_code: string;
|
|
@@ -85881,6 +85918,13 @@ export type Routes = {
|
|
|
85881
85918
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85882
85919
|
warning_code: 'being_deleted';
|
|
85883
85920
|
})[];
|
|
85921
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
85922
|
+
access_schedule?: {
|
|
85923
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
85924
|
+
starts_at: string;
|
|
85925
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
85926
|
+
ends_at: string | null;
|
|
85927
|
+
} | undefined;
|
|
85884
85928
|
is_managed: true;
|
|
85885
85929
|
}[] | undefined;
|
|
85886
85930
|
acs_encoders?: {
|
|
@@ -87453,6 +87497,13 @@ export type Routes = {
|
|
|
87453
87497
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87454
87498
|
warning_code: 'being_deleted';
|
|
87455
87499
|
})[];
|
|
87500
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
87501
|
+
access_schedule?: {
|
|
87502
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
87503
|
+
starts_at: string;
|
|
87504
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
87505
|
+
ends_at: string | null;
|
|
87506
|
+
} | undefined;
|
|
87456
87507
|
is_managed: false;
|
|
87457
87508
|
}[] | undefined;
|
|
87458
87509
|
unmanaged_devices?: {
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { schedule } from '../schedule.js'
|
|
4
|
+
|
|
3
5
|
// If changed, update seam.acs_access_group.external_type generated column
|
|
4
6
|
export const acs_access_group_external_type = z.enum([
|
|
5
7
|
'pti_unit',
|
|
@@ -111,6 +113,11 @@ const common_acs_access_group = z.object({
|
|
|
111
113
|
warnings: z
|
|
112
114
|
.array(acs_access_group_warning)
|
|
113
115
|
.describe('Warnings associated with the `acs_access_group`.'),
|
|
116
|
+
access_schedule: schedule
|
|
117
|
+
.optional()
|
|
118
|
+
.describe(
|
|
119
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
120
|
+
),
|
|
114
121
|
})
|
|
115
122
|
|
|
116
123
|
export const acs_access_group = common_acs_access_group.extend({
|
|
@@ -2703,6 +2703,27 @@ export default {
|
|
|
2703
2703
|
type: 'string',
|
|
2704
2704
|
'x-deprecated': 'Use `external_type_display_name`.',
|
|
2705
2705
|
},
|
|
2706
|
+
access_schedule: {
|
|
2707
|
+
description:
|
|
2708
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
2709
|
+
properties: {
|
|
2710
|
+
ends_at: {
|
|
2711
|
+
description:
|
|
2712
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2713
|
+
format: 'date-time',
|
|
2714
|
+
nullable: true,
|
|
2715
|
+
type: 'string',
|
|
2716
|
+
},
|
|
2717
|
+
starts_at: {
|
|
2718
|
+
description:
|
|
2719
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2720
|
+
format: 'date-time',
|
|
2721
|
+
type: 'string',
|
|
2722
|
+
},
|
|
2723
|
+
},
|
|
2724
|
+
required: ['starts_at', 'ends_at'],
|
|
2725
|
+
type: 'object',
|
|
2726
|
+
},
|
|
2706
2727
|
acs_access_group_id: {
|
|
2707
2728
|
description: 'ID of the access group.',
|
|
2708
2729
|
format: 'uuid',
|
|
@@ -26403,6 +26424,27 @@ export default {
|
|
|
26403
26424
|
type: 'string',
|
|
26404
26425
|
'x-deprecated': 'Use `external_type_display_name`.',
|
|
26405
26426
|
},
|
|
26427
|
+
access_schedule: {
|
|
26428
|
+
description:
|
|
26429
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
26430
|
+
properties: {
|
|
26431
|
+
ends_at: {
|
|
26432
|
+
description:
|
|
26433
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
26434
|
+
format: 'date-time',
|
|
26435
|
+
nullable: true,
|
|
26436
|
+
type: 'string',
|
|
26437
|
+
},
|
|
26438
|
+
starts_at: {
|
|
26439
|
+
description:
|
|
26440
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
26441
|
+
format: 'date-time',
|
|
26442
|
+
type: 'string',
|
|
26443
|
+
},
|
|
26444
|
+
},
|
|
26445
|
+
required: ['starts_at', 'ends_at'],
|
|
26446
|
+
type: 'object',
|
|
26447
|
+
},
|
|
26406
26448
|
acs_access_group_id: {
|
|
26407
26449
|
description: 'ID of the access group.',
|
|
26408
26450
|
format: 'uuid',
|
|
@@ -63855,6 +63897,7 @@ export default {
|
|
|
63855
63897
|
type: 'string',
|
|
63856
63898
|
},
|
|
63857
63899
|
guest_name: { nullable: true, type: 'string' },
|
|
63900
|
+
is_resource_syncing: { type: 'boolean' },
|
|
63858
63901
|
name: { nullable: true, type: 'string' },
|
|
63859
63902
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
63860
63903
|
reservation_key: { type: 'string' },
|
|
@@ -63887,6 +63930,7 @@ export default {
|
|
|
63887
63930
|
'starts_at',
|
|
63888
63931
|
'ends_at',
|
|
63889
63932
|
'created_at',
|
|
63933
|
+
'is_resource_syncing',
|
|
63890
63934
|
'guest_name',
|
|
63891
63935
|
'spaces',
|
|
63892
63936
|
'access_grant_id',
|
|
@@ -63990,6 +64034,7 @@ export default {
|
|
|
63990
64034
|
type: 'string',
|
|
63991
64035
|
},
|
|
63992
64036
|
guest_name: { nullable: true, type: 'string' },
|
|
64037
|
+
is_resource_syncing: { type: 'boolean' },
|
|
63993
64038
|
name: { nullable: true, type: 'string' },
|
|
63994
64039
|
reservation_id: { format: 'uuid', type: 'string' },
|
|
63995
64040
|
reservation_key: { type: 'string' },
|
|
@@ -64022,6 +64067,7 @@ export default {
|
|
|
64022
64067
|
'starts_at',
|
|
64023
64068
|
'ends_at',
|
|
64024
64069
|
'created_at',
|
|
64070
|
+
'is_resource_syncing',
|
|
64025
64071
|
'guest_name',
|
|
64026
64072
|
'spaces',
|
|
64027
64073
|
'access_grant_id',
|
|
@@ -64193,6 +64239,7 @@ export default {
|
|
|
64193
64239
|
type: 'string',
|
|
64194
64240
|
},
|
|
64195
64241
|
guest_name: { nullable: true, type: 'string' },
|
|
64242
|
+
is_resource_syncing: { type: 'boolean' },
|
|
64196
64243
|
name: { nullable: true, type: 'string' },
|
|
64197
64244
|
pending_mutations: {
|
|
64198
64245
|
items: {
|
|
@@ -64259,6 +64306,7 @@ export default {
|
|
|
64259
64306
|
'starts_at',
|
|
64260
64307
|
'ends_at',
|
|
64261
64308
|
'created_at',
|
|
64309
|
+
'is_resource_syncing',
|
|
64262
64310
|
'guest_name',
|
|
64263
64311
|
'warnings',
|
|
64264
64312
|
'pending_mutations',
|
|
@@ -64417,6 +64465,7 @@ export default {
|
|
|
64417
64465
|
type: 'string',
|
|
64418
64466
|
},
|
|
64419
64467
|
guest_name: { nullable: true, type: 'string' },
|
|
64468
|
+
is_resource_syncing: { type: 'boolean' },
|
|
64420
64469
|
name: { nullable: true, type: 'string' },
|
|
64421
64470
|
pending_mutations: {
|
|
64422
64471
|
items: {
|
|
@@ -64483,6 +64532,7 @@ export default {
|
|
|
64483
64532
|
'starts_at',
|
|
64484
64533
|
'ends_at',
|
|
64485
64534
|
'created_at',
|
|
64535
|
+
'is_resource_syncing',
|
|
64486
64536
|
'guest_name',
|
|
64487
64537
|
'warnings',
|
|
64488
64538
|
'pending_mutations',
|
|
@@ -14063,6 +14063,15 @@ export type Routes = {
|
|
|
14063
14063
|
warning_code: 'being_deleted'
|
|
14064
14064
|
}
|
|
14065
14065
|
)[]
|
|
14066
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
14067
|
+
access_schedule?:
|
|
14068
|
+
| {
|
|
14069
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
14070
|
+
starts_at: string
|
|
14071
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
14072
|
+
ends_at: string | null
|
|
14073
|
+
}
|
|
14074
|
+
| undefined
|
|
14066
14075
|
is_managed: true
|
|
14067
14076
|
}[]
|
|
14068
14077
|
| undefined
|
|
@@ -19393,6 +19402,15 @@ export type Routes = {
|
|
|
19393
19402
|
warning_code: 'being_deleted'
|
|
19394
19403
|
}
|
|
19395
19404
|
)[]
|
|
19405
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
19406
|
+
access_schedule?:
|
|
19407
|
+
| {
|
|
19408
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19409
|
+
starts_at: string
|
|
19410
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19411
|
+
ends_at: string | null
|
|
19412
|
+
}
|
|
19413
|
+
| undefined
|
|
19396
19414
|
is_managed: true
|
|
19397
19415
|
}
|
|
19398
19416
|
}
|
|
@@ -19472,6 +19490,15 @@ export type Routes = {
|
|
|
19472
19490
|
warning_code: 'being_deleted'
|
|
19473
19491
|
}
|
|
19474
19492
|
)[]
|
|
19493
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
19494
|
+
access_schedule?:
|
|
19495
|
+
| {
|
|
19496
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19497
|
+
starts_at: string
|
|
19498
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19499
|
+
ends_at: string | null
|
|
19500
|
+
}
|
|
19501
|
+
| undefined
|
|
19475
19502
|
is_managed: true
|
|
19476
19503
|
}[]
|
|
19477
19504
|
}
|
|
@@ -19998,6 +20025,15 @@ export type Routes = {
|
|
|
19998
20025
|
warning_code: 'being_deleted'
|
|
19999
20026
|
}
|
|
20000
20027
|
)[]
|
|
20028
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
20029
|
+
access_schedule?:
|
|
20030
|
+
| {
|
|
20031
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20032
|
+
starts_at: string
|
|
20033
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20034
|
+
ends_at: string | null
|
|
20035
|
+
}
|
|
20036
|
+
| undefined
|
|
20001
20037
|
is_managed: false
|
|
20002
20038
|
}
|
|
20003
20039
|
}
|
|
@@ -20075,6 +20111,15 @@ export type Routes = {
|
|
|
20075
20111
|
warning_code: 'being_deleted'
|
|
20076
20112
|
}
|
|
20077
20113
|
)[]
|
|
20114
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
20115
|
+
access_schedule?:
|
|
20116
|
+
| {
|
|
20117
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20118
|
+
starts_at: string
|
|
20119
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20120
|
+
ends_at: string | null
|
|
20121
|
+
}
|
|
20122
|
+
| undefined
|
|
20078
20123
|
is_managed: false
|
|
20079
20124
|
}[]
|
|
20080
20125
|
}
|
|
@@ -72108,6 +72153,7 @@ export type Routes = {
|
|
|
72108
72153
|
starts_at: string | null
|
|
72109
72154
|
ends_at: string | null
|
|
72110
72155
|
created_at: string
|
|
72156
|
+
is_resource_syncing: boolean
|
|
72111
72157
|
guest_name: string | null
|
|
72112
72158
|
spaces: {
|
|
72113
72159
|
space_id: string | null
|
|
@@ -72156,6 +72202,7 @@ export type Routes = {
|
|
|
72156
72202
|
starts_at: string | null
|
|
72157
72203
|
ends_at: string | null
|
|
72158
72204
|
created_at: string
|
|
72205
|
+
is_resource_syncing: boolean
|
|
72159
72206
|
guest_name: string | null
|
|
72160
72207
|
warnings: {
|
|
72161
72208
|
warning_code: string
|
|
@@ -101909,6 +101956,15 @@ export type Routes = {
|
|
|
101909
101956
|
warning_code: 'being_deleted'
|
|
101910
101957
|
}
|
|
101911
101958
|
)[]
|
|
101959
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
101960
|
+
access_schedule?:
|
|
101961
|
+
| {
|
|
101962
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
101963
|
+
starts_at: string
|
|
101964
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
101965
|
+
ends_at: string | null
|
|
101966
|
+
}
|
|
101967
|
+
| undefined
|
|
101912
101968
|
is_managed: true
|
|
101913
101969
|
}[]
|
|
101914
101970
|
| undefined
|
|
@@ -103760,6 +103816,15 @@ export type Routes = {
|
|
|
103760
103816
|
warning_code: 'being_deleted'
|
|
103761
103817
|
}
|
|
103762
103818
|
)[]
|
|
103819
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
103820
|
+
access_schedule?:
|
|
103821
|
+
| {
|
|
103822
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
103823
|
+
starts_at: string
|
|
103824
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
103825
|
+
ends_at: string | null
|
|
103826
|
+
}
|
|
103827
|
+
| undefined
|
|
103763
103828
|
is_managed: false
|
|
103764
103829
|
}[]
|
|
103765
103830
|
| undefined
|