@seamapi/types 1.742.0 → 1.744.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 +55 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +156 -0
- package/dist/index.cjs +55 -2
- 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/openapi.d.ts +6 -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 +50 -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/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +57 -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
|
}[];
|
|
@@ -58196,6 +58231,7 @@ export type Routes = {
|
|
|
58196
58231
|
access_grant_id: string;
|
|
58197
58232
|
}[];
|
|
58198
58233
|
error?: string | undefined;
|
|
58234
|
+
message?: string | undefined;
|
|
58199
58235
|
} | undefined;
|
|
58200
58236
|
created_at: string;
|
|
58201
58237
|
}[];
|
|
@@ -87164,6 +87200,13 @@ export type Routes = {
|
|
|
87164
87200
|
acs_user_id: string;
|
|
87165
87201
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
87166
87202
|
variant: 'adding' | 'removing';
|
|
87203
|
+
} | {
|
|
87204
|
+
/** Date and time at which the mutation was created. */
|
|
87205
|
+
created_at: string;
|
|
87206
|
+
/** Detailed description of the mutation. */
|
|
87207
|
+
message: string;
|
|
87208
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
87209
|
+
mutation_code: 'deferring_deletion';
|
|
87167
87210
|
})[];
|
|
87168
87211
|
is_managed: true;
|
|
87169
87212
|
}[] | undefined;
|
|
@@ -88853,6 +88896,13 @@ export type Routes = {
|
|
|
88853
88896
|
acs_user_id: string;
|
|
88854
88897
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
88855
88898
|
variant: 'adding' | 'removing';
|
|
88899
|
+
} | {
|
|
88900
|
+
/** Date and time at which the mutation was created. */
|
|
88901
|
+
created_at: string;
|
|
88902
|
+
/** Detailed description of the mutation. */
|
|
88903
|
+
message: string;
|
|
88904
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
88905
|
+
mutation_code: 'deferring_deletion';
|
|
88856
88906
|
})[];
|
|
88857
88907
|
is_managed: false;
|
|
88858
88908
|
}[] | 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',
|
|
@@ -60680,6 +60728,7 @@ export default {
|
|
|
60680
60728
|
type: 'array',
|
|
60681
60729
|
},
|
|
60682
60730
|
error: { type: 'string' },
|
|
60731
|
+
message: { type: 'string' },
|
|
60683
60732
|
rule: {
|
|
60684
60733
|
enum: [
|
|
60685
60734
|
'reservation_created',
|
|
@@ -60850,6 +60899,7 @@ export default {
|
|
|
60850
60899
|
type: 'array',
|
|
60851
60900
|
},
|
|
60852
60901
|
error: { type: 'string' },
|
|
60902
|
+
message: { type: 'string' },
|
|
60853
60903
|
rule: {
|
|
60854
60904
|
enum: [
|
|
60855
60905
|
'reservation_created',
|
|
@@ -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
|
}[]
|
|
@@ -69095,6 +69135,7 @@ export type Routes = {
|
|
|
69095
69135
|
access_grant_id: string
|
|
69096
69136
|
}[]
|
|
69097
69137
|
error?: string | undefined
|
|
69138
|
+
message?: string | undefined
|
|
69098
69139
|
}
|
|
69099
69140
|
| undefined
|
|
69100
69141
|
created_at: string
|
|
@@ -103475,6 +103516,14 @@ export type Routes = {
|
|
|
103475
103516
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
103476
103517
|
variant: 'adding' | 'removing'
|
|
103477
103518
|
}
|
|
103519
|
+
| {
|
|
103520
|
+
/** Date and time at which the mutation was created. */
|
|
103521
|
+
created_at: string
|
|
103522
|
+
/** Detailed description of the mutation. */
|
|
103523
|
+
message: string
|
|
103524
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
103525
|
+
mutation_code: 'deferring_deletion'
|
|
103526
|
+
}
|
|
103478
103527
|
)[]
|
|
103479
103528
|
is_managed: true
|
|
103480
103529
|
}[]
|
|
@@ -105454,6 +105503,14 @@ export type Routes = {
|
|
|
105454
105503
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
105455
105504
|
variant: 'adding' | 'removing'
|
|
105456
105505
|
}
|
|
105506
|
+
| {
|
|
105507
|
+
/** Date and time at which the mutation was created. */
|
|
105508
|
+
created_at: string
|
|
105509
|
+
/** Detailed description of the mutation. */
|
|
105510
|
+
message: string
|
|
105511
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
105512
|
+
mutation_code: 'deferring_deletion'
|
|
105513
|
+
}
|
|
105457
105514
|
)[]
|
|
105458
105515
|
is_managed: false
|
|
105459
105516
|
}[]
|