@seamapi/types 1.741.0 → 1.743.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 +54 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +149 -0
- package/dist/index.cjs +54 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +42 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +37 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +9 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +42 -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-groups/pending-mutations.ts +14 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +48 -0
- package/src/lib/seam/connect/route-types.ts +56 -0
|
@@ -12367,6 +12367,13 @@ export type Routes = {
|
|
|
12367
12367
|
acs_user_id: string;
|
|
12368
12368
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
12369
12369
|
variant: 'adding' | 'removing';
|
|
12370
|
+
} | {
|
|
12371
|
+
/** Date and time at which the mutation was created. */
|
|
12372
|
+
created_at: string;
|
|
12373
|
+
/** Detailed description of the mutation. */
|
|
12374
|
+
message: string;
|
|
12375
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
12376
|
+
mutation_code: 'deferring_deletion';
|
|
12370
12377
|
})[];
|
|
12371
12378
|
is_managed: true;
|
|
12372
12379
|
}[] | undefined;
|
|
@@ -17081,6 +17088,13 @@ export type Routes = {
|
|
|
17081
17088
|
acs_user_id: string;
|
|
17082
17089
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17083
17090
|
variant: 'adding' | 'removing';
|
|
17091
|
+
} | {
|
|
17092
|
+
/** Date and time at which the mutation was created. */
|
|
17093
|
+
created_at: string;
|
|
17094
|
+
/** Detailed description of the mutation. */
|
|
17095
|
+
message: string;
|
|
17096
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
17097
|
+
mutation_code: 'deferring_deletion';
|
|
17084
17098
|
})[];
|
|
17085
17099
|
is_managed: true;
|
|
17086
17100
|
};
|
|
@@ -17249,6 +17263,13 @@ export type Routes = {
|
|
|
17249
17263
|
acs_user_id: string;
|
|
17250
17264
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17251
17265
|
variant: 'adding' | 'removing';
|
|
17266
|
+
} | {
|
|
17267
|
+
/** Date and time at which the mutation was created. */
|
|
17268
|
+
created_at: string;
|
|
17269
|
+
/** Detailed description of the mutation. */
|
|
17270
|
+
message: string;
|
|
17271
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
17272
|
+
mutation_code: 'deferring_deletion';
|
|
17252
17273
|
})[];
|
|
17253
17274
|
is_managed: true;
|
|
17254
17275
|
}[];
|
|
@@ -17821,6 +17842,13 @@ export type Routes = {
|
|
|
17821
17842
|
acs_user_id: string;
|
|
17822
17843
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17823
17844
|
variant: 'adding' | 'removing';
|
|
17845
|
+
} | {
|
|
17846
|
+
/** Date and time at which the mutation was created. */
|
|
17847
|
+
created_at: string;
|
|
17848
|
+
/** Detailed description of the mutation. */
|
|
17849
|
+
message: string;
|
|
17850
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
17851
|
+
mutation_code: 'deferring_deletion';
|
|
17824
17852
|
})[];
|
|
17825
17853
|
is_managed: false;
|
|
17826
17854
|
};
|
|
@@ -17987,6 +18015,13 @@ export type Routes = {
|
|
|
17987
18015
|
acs_user_id: string;
|
|
17988
18016
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17989
18017
|
variant: 'adding' | 'removing';
|
|
18018
|
+
} | {
|
|
18019
|
+
/** Date and time at which the mutation was created. */
|
|
18020
|
+
created_at: string;
|
|
18021
|
+
/** Detailed description of the mutation. */
|
|
18022
|
+
message: string;
|
|
18023
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
18024
|
+
mutation_code: 'deferring_deletion';
|
|
17990
18025
|
})[];
|
|
17991
18026
|
is_managed: false;
|
|
17992
18027
|
}[];
|
|
@@ -87164,6 +87199,13 @@ export type Routes = {
|
|
|
87164
87199
|
acs_user_id: string;
|
|
87165
87200
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
87166
87201
|
variant: 'adding' | 'removing';
|
|
87202
|
+
} | {
|
|
87203
|
+
/** Date and time at which the mutation was created. */
|
|
87204
|
+
created_at: string;
|
|
87205
|
+
/** Detailed description of the mutation. */
|
|
87206
|
+
message: string;
|
|
87207
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
87208
|
+
mutation_code: 'deferring_deletion';
|
|
87167
87209
|
})[];
|
|
87168
87210
|
is_managed: true;
|
|
87169
87211
|
}[] | undefined;
|
|
@@ -88853,6 +88895,13 @@ export type Routes = {
|
|
|
88853
88895
|
acs_user_id: string;
|
|
88854
88896
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
88855
88897
|
variant: 'adding' | 'removing';
|
|
88898
|
+
} | {
|
|
88899
|
+
/** Date and time at which the mutation was created. */
|
|
88900
|
+
created_at: string;
|
|
88901
|
+
/** Detailed description of the mutation. */
|
|
88902
|
+
message: string;
|
|
88903
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
88904
|
+
mutation_code: 'deferring_deletion';
|
|
88856
88905
|
})[];
|
|
88857
88906
|
is_managed: false;
|
|
88858
88907
|
}[] | undefined;
|
package/package.json
CHANGED
|
@@ -156,6 +156,18 @@ const deferring_user_membership_update = common_pending_mutation
|
|
|
156
156
|
'A scheduled user membership change is pending for this access group.',
|
|
157
157
|
)
|
|
158
158
|
|
|
159
|
+
const deferring_deletion = common_pending_mutation
|
|
160
|
+
.extend({
|
|
161
|
+
mutation_code: z
|
|
162
|
+
.literal('deferring_deletion')
|
|
163
|
+
.describe(
|
|
164
|
+
'Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.',
|
|
165
|
+
),
|
|
166
|
+
})
|
|
167
|
+
.describe(
|
|
168
|
+
'This access group is scheduled for automatic deletion when its access window expires.',
|
|
169
|
+
)
|
|
170
|
+
|
|
159
171
|
export const acs_access_group_pending_mutations = z.discriminatedUnion(
|
|
160
172
|
'mutation_code',
|
|
161
173
|
[
|
|
@@ -166,6 +178,7 @@ export const acs_access_group_pending_mutations = z.discriminatedUnion(
|
|
|
166
178
|
updating_user_membership,
|
|
167
179
|
updating_entrance_membership,
|
|
168
180
|
deferring_user_membership_update,
|
|
181
|
+
deferring_deletion,
|
|
169
182
|
],
|
|
170
183
|
)
|
|
171
184
|
|
|
@@ -190,6 +203,7 @@ const _acs_access_group_pending_mutations_map = z.object({
|
|
|
190
203
|
.record(z.string().uuid(), deferring_user_membership_update)
|
|
191
204
|
.optional()
|
|
192
205
|
.nullable(),
|
|
206
|
+
deferring_deletion: deferring_deletion.optional().nullable(),
|
|
193
207
|
})
|
|
194
208
|
|
|
195
209
|
export type AcsAccessGroupPendingMutationsMap = z.infer<
|
|
@@ -3096,6 +3096,30 @@ export default {
|
|
|
3096
3096
|
],
|
|
3097
3097
|
type: 'object',
|
|
3098
3098
|
},
|
|
3099
|
+
{
|
|
3100
|
+
description:
|
|
3101
|
+
'This access group is scheduled for automatic deletion when its access window expires.',
|
|
3102
|
+
properties: {
|
|
3103
|
+
created_at: {
|
|
3104
|
+
description:
|
|
3105
|
+
'Date and time at which the mutation was created.',
|
|
3106
|
+
format: 'date-time',
|
|
3107
|
+
type: 'string',
|
|
3108
|
+
},
|
|
3109
|
+
message: {
|
|
3110
|
+
description: 'Detailed description of the mutation.',
|
|
3111
|
+
type: 'string',
|
|
3112
|
+
},
|
|
3113
|
+
mutation_code: {
|
|
3114
|
+
description:
|
|
3115
|
+
'Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.',
|
|
3116
|
+
enum: ['deferring_deletion'],
|
|
3117
|
+
type: 'string',
|
|
3118
|
+
},
|
|
3119
|
+
},
|
|
3120
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
3121
|
+
type: 'object',
|
|
3122
|
+
},
|
|
3099
3123
|
],
|
|
3100
3124
|
},
|
|
3101
3125
|
type: 'array',
|
|
@@ -27430,6 +27454,30 @@ export default {
|
|
|
27430
27454
|
],
|
|
27431
27455
|
type: 'object',
|
|
27432
27456
|
},
|
|
27457
|
+
{
|
|
27458
|
+
description:
|
|
27459
|
+
'This access group is scheduled for automatic deletion when its access window expires.',
|
|
27460
|
+
properties: {
|
|
27461
|
+
created_at: {
|
|
27462
|
+
description:
|
|
27463
|
+
'Date and time at which the mutation was created.',
|
|
27464
|
+
format: 'date-time',
|
|
27465
|
+
type: 'string',
|
|
27466
|
+
},
|
|
27467
|
+
message: {
|
|
27468
|
+
description: 'Detailed description of the mutation.',
|
|
27469
|
+
type: 'string',
|
|
27470
|
+
},
|
|
27471
|
+
mutation_code: {
|
|
27472
|
+
description:
|
|
27473
|
+
'Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.',
|
|
27474
|
+
enum: ['deferring_deletion'],
|
|
27475
|
+
type: 'string',
|
|
27476
|
+
},
|
|
27477
|
+
},
|
|
27478
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
27479
|
+
type: 'object',
|
|
27480
|
+
},
|
|
27433
27481
|
],
|
|
27434
27482
|
},
|
|
27435
27483
|
type: 'array',
|
|
@@ -14200,6 +14200,14 @@ export type Routes = {
|
|
|
14200
14200
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
14201
14201
|
variant: 'adding' | 'removing'
|
|
14202
14202
|
}
|
|
14203
|
+
| {
|
|
14204
|
+
/** Date and time at which the mutation was created. */
|
|
14205
|
+
created_at: string
|
|
14206
|
+
/** Detailed description of the mutation. */
|
|
14207
|
+
message: string
|
|
14208
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
14209
|
+
mutation_code: 'deferring_deletion'
|
|
14210
|
+
}
|
|
14203
14211
|
)[]
|
|
14204
14212
|
is_managed: true
|
|
14205
14213
|
}[]
|
|
@@ -19676,6 +19684,14 @@ export type Routes = {
|
|
|
19676
19684
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
19677
19685
|
variant: 'adding' | 'removing'
|
|
19678
19686
|
}
|
|
19687
|
+
| {
|
|
19688
|
+
/** Date and time at which the mutation was created. */
|
|
19689
|
+
created_at: string
|
|
19690
|
+
/** Detailed description of the mutation. */
|
|
19691
|
+
message: string
|
|
19692
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
19693
|
+
mutation_code: 'deferring_deletion'
|
|
19694
|
+
}
|
|
19679
19695
|
)[]
|
|
19680
19696
|
is_managed: true
|
|
19681
19697
|
}
|
|
@@ -19871,6 +19887,14 @@ export type Routes = {
|
|
|
19871
19887
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
19872
19888
|
variant: 'adding' | 'removing'
|
|
19873
19889
|
}
|
|
19890
|
+
| {
|
|
19891
|
+
/** Date and time at which the mutation was created. */
|
|
19892
|
+
created_at: string
|
|
19893
|
+
/** Detailed description of the mutation. */
|
|
19894
|
+
message: string
|
|
19895
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
19896
|
+
mutation_code: 'deferring_deletion'
|
|
19897
|
+
}
|
|
19874
19898
|
)[]
|
|
19875
19899
|
is_managed: true
|
|
19876
19900
|
}[]
|
|
@@ -20536,6 +20560,14 @@ export type Routes = {
|
|
|
20536
20560
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
20537
20561
|
variant: 'adding' | 'removing'
|
|
20538
20562
|
}
|
|
20563
|
+
| {
|
|
20564
|
+
/** Date and time at which the mutation was created. */
|
|
20565
|
+
created_at: string
|
|
20566
|
+
/** Detailed description of the mutation. */
|
|
20567
|
+
message: string
|
|
20568
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
20569
|
+
mutation_code: 'deferring_deletion'
|
|
20570
|
+
}
|
|
20539
20571
|
)[]
|
|
20540
20572
|
is_managed: false
|
|
20541
20573
|
}
|
|
@@ -20729,6 +20761,14 @@ export type Routes = {
|
|
|
20729
20761
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
20730
20762
|
variant: 'adding' | 'removing'
|
|
20731
20763
|
}
|
|
20764
|
+
| {
|
|
20765
|
+
/** Date and time at which the mutation was created. */
|
|
20766
|
+
created_at: string
|
|
20767
|
+
/** Detailed description of the mutation. */
|
|
20768
|
+
message: string
|
|
20769
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
20770
|
+
mutation_code: 'deferring_deletion'
|
|
20771
|
+
}
|
|
20732
20772
|
)[]
|
|
20733
20773
|
is_managed: false
|
|
20734
20774
|
}[]
|
|
@@ -103475,6 +103515,14 @@ export type Routes = {
|
|
|
103475
103515
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
103476
103516
|
variant: 'adding' | 'removing'
|
|
103477
103517
|
}
|
|
103518
|
+
| {
|
|
103519
|
+
/** Date and time at which the mutation was created. */
|
|
103520
|
+
created_at: string
|
|
103521
|
+
/** Detailed description of the mutation. */
|
|
103522
|
+
message: string
|
|
103523
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
103524
|
+
mutation_code: 'deferring_deletion'
|
|
103525
|
+
}
|
|
103478
103526
|
)[]
|
|
103479
103527
|
is_managed: true
|
|
103480
103528
|
}[]
|
|
@@ -105454,6 +105502,14 @@ export type Routes = {
|
|
|
105454
105502
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
105455
105503
|
variant: 'adding' | 'removing'
|
|
105456
105504
|
}
|
|
105505
|
+
| {
|
|
105506
|
+
/** Date and time at which the mutation was created. */
|
|
105507
|
+
created_at: string
|
|
105508
|
+
/** Detailed description of the mutation. */
|
|
105509
|
+
message: string
|
|
105510
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
105511
|
+
mutation_code: 'deferring_deletion'
|
|
105512
|
+
}
|
|
105457
105513
|
)[]
|
|
105458
105514
|
is_managed: false
|
|
105459
105515
|
}[]
|