@seamapi/types 1.742.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 +53 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +149 -0
- package/dist/index.cjs +53 -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.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/openapi.ts +48 -0
- package/src/lib/seam/connect/route-types.ts +56 -0
package/dist/connect.d.cts
CHANGED
|
@@ -4504,6 +4504,19 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
4504
4504
|
mutation_code: "deferring_user_membership_update";
|
|
4505
4505
|
acs_user_id: string;
|
|
4506
4506
|
variant: "removing" | "adding";
|
|
4507
|
+
}>, z.ZodObject<{
|
|
4508
|
+
created_at: z.ZodString;
|
|
4509
|
+
message: z.ZodString;
|
|
4510
|
+
} & {
|
|
4511
|
+
mutation_code: z.ZodLiteral<"deferring_deletion">;
|
|
4512
|
+
}, "strip", z.ZodTypeAny, {
|
|
4513
|
+
message: string;
|
|
4514
|
+
created_at: string;
|
|
4515
|
+
mutation_code: "deferring_deletion";
|
|
4516
|
+
}, {
|
|
4517
|
+
message: string;
|
|
4518
|
+
created_at: string;
|
|
4519
|
+
mutation_code: "deferring_deletion";
|
|
4507
4520
|
}>]>, "many">;
|
|
4508
4521
|
} & {
|
|
4509
4522
|
is_managed: z.ZodLiteral<true>;
|
|
@@ -4579,6 +4592,10 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
4579
4592
|
mutation_code: "deferring_user_membership_update";
|
|
4580
4593
|
acs_user_id: string;
|
|
4581
4594
|
variant: "removing" | "adding";
|
|
4595
|
+
} | {
|
|
4596
|
+
message: string;
|
|
4597
|
+
created_at: string;
|
|
4598
|
+
mutation_code: "deferring_deletion";
|
|
4582
4599
|
})[];
|
|
4583
4600
|
acs_access_group_id: string;
|
|
4584
4601
|
acs_system_id: string;
|
|
@@ -4662,6 +4679,10 @@ declare const acs_access_group: z.ZodObject<{
|
|
|
4662
4679
|
mutation_code: "deferring_user_membership_update";
|
|
4663
4680
|
acs_user_id: string;
|
|
4664
4681
|
variant: "removing" | "adding";
|
|
4682
|
+
} | {
|
|
4683
|
+
message: string;
|
|
4684
|
+
created_at: string;
|
|
4685
|
+
mutation_code: "deferring_deletion";
|
|
4665
4686
|
})[];
|
|
4666
4687
|
acs_access_group_id: string;
|
|
4667
4688
|
acs_system_id: string;
|
|
@@ -4934,6 +4955,19 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
4934
4955
|
mutation_code: "deferring_user_membership_update";
|
|
4935
4956
|
acs_user_id: string;
|
|
4936
4957
|
variant: "removing" | "adding";
|
|
4958
|
+
}>, z.ZodObject<{
|
|
4959
|
+
created_at: z.ZodString;
|
|
4960
|
+
message: z.ZodString;
|
|
4961
|
+
} & {
|
|
4962
|
+
mutation_code: z.ZodLiteral<"deferring_deletion">;
|
|
4963
|
+
}, "strip", z.ZodTypeAny, {
|
|
4964
|
+
message: string;
|
|
4965
|
+
created_at: string;
|
|
4966
|
+
mutation_code: "deferring_deletion";
|
|
4967
|
+
}, {
|
|
4968
|
+
message: string;
|
|
4969
|
+
created_at: string;
|
|
4970
|
+
mutation_code: "deferring_deletion";
|
|
4937
4971
|
}>]>, "many">;
|
|
4938
4972
|
} & {
|
|
4939
4973
|
is_managed: z.ZodLiteral<false>;
|
|
@@ -5009,6 +5043,10 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
5009
5043
|
mutation_code: "deferring_user_membership_update";
|
|
5010
5044
|
acs_user_id: string;
|
|
5011
5045
|
variant: "removing" | "adding";
|
|
5046
|
+
} | {
|
|
5047
|
+
message: string;
|
|
5048
|
+
created_at: string;
|
|
5049
|
+
mutation_code: "deferring_deletion";
|
|
5012
5050
|
})[];
|
|
5013
5051
|
acs_access_group_id: string;
|
|
5014
5052
|
acs_system_id: string;
|
|
@@ -5092,6 +5130,10 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
|
|
|
5092
5130
|
mutation_code: "deferring_user_membership_update";
|
|
5093
5131
|
acs_user_id: string;
|
|
5094
5132
|
variant: "removing" | "adding";
|
|
5133
|
+
} | {
|
|
5134
|
+
message: string;
|
|
5135
|
+
created_at: string;
|
|
5136
|
+
mutation_code: "deferring_deletion";
|
|
5095
5137
|
})[];
|
|
5096
5138
|
acs_access_group_id: string;
|
|
5097
5139
|
acs_system_id: string;
|
|
@@ -18310,6 +18352,19 @@ declare const batch: z.ZodObject<{
|
|
|
18310
18352
|
mutation_code: "deferring_user_membership_update";
|
|
18311
18353
|
acs_user_id: string;
|
|
18312
18354
|
variant: "removing" | "adding";
|
|
18355
|
+
}>, z.ZodObject<{
|
|
18356
|
+
created_at: z.ZodString;
|
|
18357
|
+
message: z.ZodString;
|
|
18358
|
+
} & {
|
|
18359
|
+
mutation_code: z.ZodLiteral<"deferring_deletion">;
|
|
18360
|
+
}, "strip", z.ZodTypeAny, {
|
|
18361
|
+
message: string;
|
|
18362
|
+
created_at: string;
|
|
18363
|
+
mutation_code: "deferring_deletion";
|
|
18364
|
+
}, {
|
|
18365
|
+
message: string;
|
|
18366
|
+
created_at: string;
|
|
18367
|
+
mutation_code: "deferring_deletion";
|
|
18313
18368
|
}>]>, "many">;
|
|
18314
18369
|
} & {
|
|
18315
18370
|
is_managed: z.ZodLiteral<true>;
|
|
@@ -18385,6 +18440,10 @@ declare const batch: z.ZodObject<{
|
|
|
18385
18440
|
mutation_code: "deferring_user_membership_update";
|
|
18386
18441
|
acs_user_id: string;
|
|
18387
18442
|
variant: "removing" | "adding";
|
|
18443
|
+
} | {
|
|
18444
|
+
message: string;
|
|
18445
|
+
created_at: string;
|
|
18446
|
+
mutation_code: "deferring_deletion";
|
|
18388
18447
|
})[];
|
|
18389
18448
|
acs_access_group_id: string;
|
|
18390
18449
|
acs_system_id: string;
|
|
@@ -18468,6 +18527,10 @@ declare const batch: z.ZodObject<{
|
|
|
18468
18527
|
mutation_code: "deferring_user_membership_update";
|
|
18469
18528
|
acs_user_id: string;
|
|
18470
18529
|
variant: "removing" | "adding";
|
|
18530
|
+
} | {
|
|
18531
|
+
message: string;
|
|
18532
|
+
created_at: string;
|
|
18533
|
+
mutation_code: "deferring_deletion";
|
|
18471
18534
|
})[];
|
|
18472
18535
|
acs_access_group_id: string;
|
|
18473
18536
|
acs_system_id: string;
|
|
@@ -23982,6 +24045,19 @@ declare const batch: z.ZodObject<{
|
|
|
23982
24045
|
mutation_code: "deferring_user_membership_update";
|
|
23983
24046
|
acs_user_id: string;
|
|
23984
24047
|
variant: "removing" | "adding";
|
|
24048
|
+
}>, z.ZodObject<{
|
|
24049
|
+
created_at: z.ZodString;
|
|
24050
|
+
message: z.ZodString;
|
|
24051
|
+
} & {
|
|
24052
|
+
mutation_code: z.ZodLiteral<"deferring_deletion">;
|
|
24053
|
+
}, "strip", z.ZodTypeAny, {
|
|
24054
|
+
message: string;
|
|
24055
|
+
created_at: string;
|
|
24056
|
+
mutation_code: "deferring_deletion";
|
|
24057
|
+
}, {
|
|
24058
|
+
message: string;
|
|
24059
|
+
created_at: string;
|
|
24060
|
+
mutation_code: "deferring_deletion";
|
|
23985
24061
|
}>]>, "many">;
|
|
23986
24062
|
} & {
|
|
23987
24063
|
is_managed: z.ZodLiteral<false>;
|
|
@@ -24057,6 +24133,10 @@ declare const batch: z.ZodObject<{
|
|
|
24057
24133
|
mutation_code: "deferring_user_membership_update";
|
|
24058
24134
|
acs_user_id: string;
|
|
24059
24135
|
variant: "removing" | "adding";
|
|
24136
|
+
} | {
|
|
24137
|
+
message: string;
|
|
24138
|
+
created_at: string;
|
|
24139
|
+
mutation_code: "deferring_deletion";
|
|
24060
24140
|
})[];
|
|
24061
24141
|
acs_access_group_id: string;
|
|
24062
24142
|
acs_system_id: string;
|
|
@@ -24140,6 +24220,10 @@ declare const batch: z.ZodObject<{
|
|
|
24140
24220
|
mutation_code: "deferring_user_membership_update";
|
|
24141
24221
|
acs_user_id: string;
|
|
24142
24222
|
variant: "removing" | "adding";
|
|
24223
|
+
} | {
|
|
24224
|
+
message: string;
|
|
24225
|
+
created_at: string;
|
|
24226
|
+
mutation_code: "deferring_deletion";
|
|
24143
24227
|
})[];
|
|
24144
24228
|
acs_access_group_id: string;
|
|
24145
24229
|
acs_system_id: string;
|
|
@@ -37903,6 +37987,10 @@ declare const batch: z.ZodObject<{
|
|
|
37903
37987
|
mutation_code: "deferring_user_membership_update";
|
|
37904
37988
|
acs_user_id: string;
|
|
37905
37989
|
variant: "removing" | "adding";
|
|
37990
|
+
} | {
|
|
37991
|
+
message: string;
|
|
37992
|
+
created_at: string;
|
|
37993
|
+
mutation_code: "deferring_deletion";
|
|
37906
37994
|
})[];
|
|
37907
37995
|
acs_access_group_id: string;
|
|
37908
37996
|
acs_system_id: string;
|
|
@@ -39028,6 +39116,10 @@ declare const batch: z.ZodObject<{
|
|
|
39028
39116
|
mutation_code: "deferring_user_membership_update";
|
|
39029
39117
|
acs_user_id: string;
|
|
39030
39118
|
variant: "removing" | "adding";
|
|
39119
|
+
} | {
|
|
39120
|
+
message: string;
|
|
39121
|
+
created_at: string;
|
|
39122
|
+
mutation_code: "deferring_deletion";
|
|
39031
39123
|
})[];
|
|
39032
39124
|
acs_access_group_id: string;
|
|
39033
39125
|
acs_system_id: string;
|
|
@@ -42688,6 +42780,10 @@ declare const batch: z.ZodObject<{
|
|
|
42688
42780
|
mutation_code: "deferring_user_membership_update";
|
|
42689
42781
|
acs_user_id: string;
|
|
42690
42782
|
variant: "removing" | "adding";
|
|
42783
|
+
} | {
|
|
42784
|
+
message: string;
|
|
42785
|
+
created_at: string;
|
|
42786
|
+
mutation_code: "deferring_deletion";
|
|
42691
42787
|
})[];
|
|
42692
42788
|
acs_access_group_id: string;
|
|
42693
42789
|
acs_system_id: string;
|
|
@@ -43813,6 +43909,10 @@ declare const batch: z.ZodObject<{
|
|
|
43813
43909
|
mutation_code: "deferring_user_membership_update";
|
|
43814
43910
|
acs_user_id: string;
|
|
43815
43911
|
variant: "removing" | "adding";
|
|
43912
|
+
} | {
|
|
43913
|
+
message: string;
|
|
43914
|
+
created_at: string;
|
|
43915
|
+
mutation_code: "deferring_deletion";
|
|
43816
43916
|
})[];
|
|
43817
43917
|
acs_access_group_id: string;
|
|
43818
43918
|
acs_system_id: string;
|
|
@@ -144242,6 +144342,13 @@ type Routes = {
|
|
|
144242
144342
|
acs_user_id: string;
|
|
144243
144343
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
144244
144344
|
variant: 'adding' | 'removing';
|
|
144345
|
+
} | {
|
|
144346
|
+
/** Date and time at which the mutation was created. */
|
|
144347
|
+
created_at: string;
|
|
144348
|
+
/** Detailed description of the mutation. */
|
|
144349
|
+
message: string;
|
|
144350
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
144351
|
+
mutation_code: 'deferring_deletion';
|
|
144245
144352
|
})[];
|
|
144246
144353
|
is_managed: true;
|
|
144247
144354
|
}[] | undefined;
|
|
@@ -148956,6 +149063,13 @@ type Routes = {
|
|
|
148956
149063
|
acs_user_id: string;
|
|
148957
149064
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
148958
149065
|
variant: 'adding' | 'removing';
|
|
149066
|
+
} | {
|
|
149067
|
+
/** Date and time at which the mutation was created. */
|
|
149068
|
+
created_at: string;
|
|
149069
|
+
/** Detailed description of the mutation. */
|
|
149070
|
+
message: string;
|
|
149071
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
149072
|
+
mutation_code: 'deferring_deletion';
|
|
148959
149073
|
})[];
|
|
148960
149074
|
is_managed: true;
|
|
148961
149075
|
};
|
|
@@ -149124,6 +149238,13 @@ type Routes = {
|
|
|
149124
149238
|
acs_user_id: string;
|
|
149125
149239
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
149126
149240
|
variant: 'adding' | 'removing';
|
|
149241
|
+
} | {
|
|
149242
|
+
/** Date and time at which the mutation was created. */
|
|
149243
|
+
created_at: string;
|
|
149244
|
+
/** Detailed description of the mutation. */
|
|
149245
|
+
message: string;
|
|
149246
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
149247
|
+
mutation_code: 'deferring_deletion';
|
|
149127
149248
|
})[];
|
|
149128
149249
|
is_managed: true;
|
|
149129
149250
|
}[];
|
|
@@ -149696,6 +149817,13 @@ type Routes = {
|
|
|
149696
149817
|
acs_user_id: string;
|
|
149697
149818
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
149698
149819
|
variant: 'adding' | 'removing';
|
|
149820
|
+
} | {
|
|
149821
|
+
/** Date and time at which the mutation was created. */
|
|
149822
|
+
created_at: string;
|
|
149823
|
+
/** Detailed description of the mutation. */
|
|
149824
|
+
message: string;
|
|
149825
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
149826
|
+
mutation_code: 'deferring_deletion';
|
|
149699
149827
|
})[];
|
|
149700
149828
|
is_managed: false;
|
|
149701
149829
|
};
|
|
@@ -149862,6 +149990,13 @@ type Routes = {
|
|
|
149862
149990
|
acs_user_id: string;
|
|
149863
149991
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
149864
149992
|
variant: 'adding' | 'removing';
|
|
149993
|
+
} | {
|
|
149994
|
+
/** Date and time at which the mutation was created. */
|
|
149995
|
+
created_at: string;
|
|
149996
|
+
/** Detailed description of the mutation. */
|
|
149997
|
+
message: string;
|
|
149998
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
149999
|
+
mutation_code: 'deferring_deletion';
|
|
149865
150000
|
})[];
|
|
149866
150001
|
is_managed: false;
|
|
149867
150002
|
}[];
|
|
@@ -219039,6 +219174,13 @@ type Routes = {
|
|
|
219039
219174
|
acs_user_id: string;
|
|
219040
219175
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
219041
219176
|
variant: 'adding' | 'removing';
|
|
219177
|
+
} | {
|
|
219178
|
+
/** Date and time at which the mutation was created. */
|
|
219179
|
+
created_at: string;
|
|
219180
|
+
/** Detailed description of the mutation. */
|
|
219181
|
+
message: string;
|
|
219182
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
219183
|
+
mutation_code: 'deferring_deletion';
|
|
219042
219184
|
})[];
|
|
219043
219185
|
is_managed: true;
|
|
219044
219186
|
}[] | undefined;
|
|
@@ -220728,6 +220870,13 @@ type Routes = {
|
|
|
220728
220870
|
acs_user_id: string;
|
|
220729
220871
|
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
220730
220872
|
variant: 'adding' | 'removing';
|
|
220873
|
+
} | {
|
|
220874
|
+
/** Date and time at which the mutation was created. */
|
|
220875
|
+
created_at: string;
|
|
220876
|
+
/** Detailed description of the mutation. */
|
|
220877
|
+
message: string;
|
|
220878
|
+
/** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
|
|
220879
|
+
mutation_code: 'deferring_deletion';
|
|
220731
220880
|
})[];
|
|
220732
220881
|
is_managed: false;
|
|
220733
220882
|
}[] | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -2917,6 +2917,13 @@ var deferring_user_membership_update = common_pending_mutation3.extend({
|
|
|
2917
2917
|
}).describe(
|
|
2918
2918
|
"A scheduled user membership change is pending for this access group."
|
|
2919
2919
|
);
|
|
2920
|
+
var deferring_deletion = common_pending_mutation3.extend({
|
|
2921
|
+
mutation_code: zod.z.literal("deferring_deletion").describe(
|
|
2922
|
+
"Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes."
|
|
2923
|
+
)
|
|
2924
|
+
}).describe(
|
|
2925
|
+
"This access group is scheduled for automatic deletion when its access window expires."
|
|
2926
|
+
);
|
|
2920
2927
|
var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
2921
2928
|
"mutation_code",
|
|
2922
2929
|
[
|
|
@@ -2926,7 +2933,8 @@ var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
|
2926
2933
|
updating_access_schedule,
|
|
2927
2934
|
updating_user_membership,
|
|
2928
2935
|
updating_entrance_membership,
|
|
2929
|
-
deferring_user_membership_update
|
|
2936
|
+
deferring_user_membership_update,
|
|
2937
|
+
deferring_deletion
|
|
2930
2938
|
]
|
|
2931
2939
|
);
|
|
2932
2940
|
zod.z.object({
|
|
@@ -2936,7 +2944,8 @@ zod.z.object({
|
|
|
2936
2944
|
updating_access_schedule: updating_access_schedule.optional().nullable(),
|
|
2937
2945
|
updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
|
|
2938
2946
|
updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
|
|
2939
|
-
deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
|
|
2947
|
+
deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable(),
|
|
2948
|
+
deferring_deletion: deferring_deletion.optional().nullable()
|
|
2940
2949
|
});
|
|
2941
2950
|
|
|
2942
2951
|
// src/lib/seam/connect/models/acs/acs-access-group.ts
|
|
@@ -9252,6 +9261,27 @@ var openapi_default = {
|
|
|
9252
9261
|
"variant"
|
|
9253
9262
|
],
|
|
9254
9263
|
type: "object"
|
|
9264
|
+
},
|
|
9265
|
+
{
|
|
9266
|
+
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
9267
|
+
properties: {
|
|
9268
|
+
created_at: {
|
|
9269
|
+
description: "Date and time at which the mutation was created.",
|
|
9270
|
+
format: "date-time",
|
|
9271
|
+
type: "string"
|
|
9272
|
+
},
|
|
9273
|
+
message: {
|
|
9274
|
+
description: "Detailed description of the mutation.",
|
|
9275
|
+
type: "string"
|
|
9276
|
+
},
|
|
9277
|
+
mutation_code: {
|
|
9278
|
+
description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
|
|
9279
|
+
enum: ["deferring_deletion"],
|
|
9280
|
+
type: "string"
|
|
9281
|
+
}
|
|
9282
|
+
},
|
|
9283
|
+
required: ["created_at", "message", "mutation_code"],
|
|
9284
|
+
type: "object"
|
|
9255
9285
|
}
|
|
9256
9286
|
]
|
|
9257
9287
|
},
|
|
@@ -31132,6 +31162,27 @@ var openapi_default = {
|
|
|
31132
31162
|
"variant"
|
|
31133
31163
|
],
|
|
31134
31164
|
type: "object"
|
|
31165
|
+
},
|
|
31166
|
+
{
|
|
31167
|
+
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
31168
|
+
properties: {
|
|
31169
|
+
created_at: {
|
|
31170
|
+
description: "Date and time at which the mutation was created.",
|
|
31171
|
+
format: "date-time",
|
|
31172
|
+
type: "string"
|
|
31173
|
+
},
|
|
31174
|
+
message: {
|
|
31175
|
+
description: "Detailed description of the mutation.",
|
|
31176
|
+
type: "string"
|
|
31177
|
+
},
|
|
31178
|
+
mutation_code: {
|
|
31179
|
+
description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
|
|
31180
|
+
enum: ["deferring_deletion"],
|
|
31181
|
+
type: "string"
|
|
31182
|
+
}
|
|
31183
|
+
},
|
|
31184
|
+
required: ["created_at", "message", "mutation_code"],
|
|
31185
|
+
type: "object"
|
|
31135
31186
|
}
|
|
31136
31187
|
]
|
|
31137
31188
|
},
|