@seamapi/types 1.727.0 → 1.728.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 +53 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +221 -48
- package/dist/index.cjs +53 -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 +36 -0
- package/lib/seam/connect/openapi.js +36 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +49 -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 +42 -0
- package/src/lib/seam/connect/route-types.ts +63 -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
|
};
|
|
@@ -85881,6 +85916,13 @@ export type Routes = {
|
|
|
85881
85916
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85882
85917
|
warning_code: 'being_deleted';
|
|
85883
85918
|
})[];
|
|
85919
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
85920
|
+
access_schedule?: {
|
|
85921
|
+
/** 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. */
|
|
85922
|
+
starts_at: string;
|
|
85923
|
+
/** 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. */
|
|
85924
|
+
ends_at: string | null;
|
|
85925
|
+
} | undefined;
|
|
85884
85926
|
is_managed: true;
|
|
85885
85927
|
}[] | undefined;
|
|
85886
85928
|
acs_encoders?: {
|
|
@@ -87453,6 +87495,13 @@ export type Routes = {
|
|
|
87453
87495
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87454
87496
|
warning_code: 'being_deleted';
|
|
87455
87497
|
})[];
|
|
87498
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
87499
|
+
access_schedule?: {
|
|
87500
|
+
/** 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. */
|
|
87501
|
+
starts_at: string;
|
|
87502
|
+
/** 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. */
|
|
87503
|
+
ends_at: string | null;
|
|
87504
|
+
} | undefined;
|
|
87456
87505
|
is_managed: false;
|
|
87457
87506
|
}[] | undefined;
|
|
87458
87507
|
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',
|
|
@@ -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
|
}
|
|
@@ -101909,6 +101954,15 @@ export type Routes = {
|
|
|
101909
101954
|
warning_code: 'being_deleted'
|
|
101910
101955
|
}
|
|
101911
101956
|
)[]
|
|
101957
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
101958
|
+
access_schedule?:
|
|
101959
|
+
| {
|
|
101960
|
+
/** 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. */
|
|
101961
|
+
starts_at: string
|
|
101962
|
+
/** 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. */
|
|
101963
|
+
ends_at: string | null
|
|
101964
|
+
}
|
|
101965
|
+
| undefined
|
|
101912
101966
|
is_managed: true
|
|
101913
101967
|
}[]
|
|
101914
101968
|
| undefined
|
|
@@ -103760,6 +103814,15 @@ export type Routes = {
|
|
|
103760
103814
|
warning_code: 'being_deleted'
|
|
103761
103815
|
}
|
|
103762
103816
|
)[]
|
|
103817
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
103818
|
+
access_schedule?:
|
|
103819
|
+
| {
|
|
103820
|
+
/** 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. */
|
|
103821
|
+
starts_at: string
|
|
103822
|
+
/** 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. */
|
|
103823
|
+
ends_at: string | null
|
|
103824
|
+
}
|
|
103825
|
+
| undefined
|
|
103763
103826
|
is_managed: false
|
|
103764
103827
|
}[]
|
|
103765
103828
|
| undefined
|