@seamapi/types 1.736.0 → 1.738.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 +659 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2935 -423
- package/dist/index.cjs +659 -22
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +590 -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-access-groups/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/acs-access-groups/index.js +2 -0
- package/lib/seam/connect/models/acs/acs-access-groups/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +511 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +126 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +12 -12
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +868 -74
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/devices.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
- package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
- package/lib/seam/connect/openapi.d.ts +512 -0
- package/lib/seam/connect/openapi.js +544 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +616 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +754 -172
- package/src/lib/seam/connect/route-types.ts +665 -0
package/dist/index.cjs
CHANGED
|
@@ -1976,7 +1976,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1976
1976
|
"avigilon_alta",
|
|
1977
1977
|
"keynest",
|
|
1978
1978
|
"hotek",
|
|
1979
|
-
"ultraloq"
|
|
1979
|
+
"ultraloq",
|
|
1980
|
+
"dormakaba_oracode"
|
|
1980
1981
|
],
|
|
1981
1982
|
consumer_smartlocks: [
|
|
1982
1983
|
"akiles",
|
|
@@ -1991,7 +1992,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1991
1992
|
"wyze",
|
|
1992
1993
|
"lockly",
|
|
1993
1994
|
"tedee",
|
|
1994
|
-
"ultraloq"
|
|
1995
|
+
"ultraloq",
|
|
1996
|
+
"dormakaba_oracode"
|
|
1995
1997
|
],
|
|
1996
1998
|
beta: ["korelock"],
|
|
1997
1999
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
|
|
@@ -2835,6 +2837,94 @@ var start_end_schedule = zod.z.object({
|
|
|
2835
2837
|
"Schedule with starting and ending dates and times, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
2836
2838
|
);
|
|
2837
2839
|
var schedule = start_end_schedule;
|
|
2840
|
+
var common_pending_mutation3 = zod.z.object({
|
|
2841
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
|
|
2842
|
+
message: zod.z.string().describe("Detailed description of the mutation.")
|
|
2843
|
+
});
|
|
2844
|
+
var creating = common_pending_mutation3.extend({
|
|
2845
|
+
mutation_code: zod.z.literal("creating").describe(
|
|
2846
|
+
"Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system."
|
|
2847
|
+
)
|
|
2848
|
+
}).describe(
|
|
2849
|
+
"Seam is in the process of pushing an access group creation to the integrated access system."
|
|
2850
|
+
);
|
|
2851
|
+
var deleting = common_pending_mutation3.extend({
|
|
2852
|
+
mutation_code: zod.z.literal("deleting").describe(
|
|
2853
|
+
"Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system."
|
|
2854
|
+
)
|
|
2855
|
+
}).describe(
|
|
2856
|
+
"Seam is in the process of pushing an access group deletion to the integrated access system."
|
|
2857
|
+
);
|
|
2858
|
+
var acs_access_group_info = zod.z.object({
|
|
2859
|
+
name: zod.z.string().nullable().describe("Name of the access group.")
|
|
2860
|
+
});
|
|
2861
|
+
var updating_group_information = common_pending_mutation3.extend({
|
|
2862
|
+
mutation_code: zod.z.literal("updating_group_information").describe(
|
|
2863
|
+
"Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system."
|
|
2864
|
+
),
|
|
2865
|
+
from: acs_access_group_info.partial().describe("Old access group information."),
|
|
2866
|
+
to: acs_access_group_info.partial().describe("New access group information.")
|
|
2867
|
+
}).describe(
|
|
2868
|
+
"Seam is in the process of pushing an access group information update to the integrated access system."
|
|
2869
|
+
);
|
|
2870
|
+
var access_schedule = zod.z.object({
|
|
2871
|
+
starts_at: zod.z.string().datetime().nullable().describe("Starting time for the access schedule."),
|
|
2872
|
+
ends_at: zod.z.string().datetime().nullable().describe("Ending time for the access schedule.")
|
|
2873
|
+
}).describe("Access schedule involved in the mutation.");
|
|
2874
|
+
var updating_access_schedule = common_pending_mutation3.extend({
|
|
2875
|
+
mutation_code: zod.z.literal("updating_access_schedule").describe(
|
|
2876
|
+
"Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system."
|
|
2877
|
+
),
|
|
2878
|
+
from: access_schedule.describe("Old access schedule information."),
|
|
2879
|
+
to: access_schedule.describe("New access schedule information.")
|
|
2880
|
+
}).describe(
|
|
2881
|
+
"Seam is in the process of pushing an access schedule update to the integrated access system."
|
|
2882
|
+
);
|
|
2883
|
+
var updating_user_membership = common_pending_mutation3.extend({
|
|
2884
|
+
mutation_code: zod.z.literal("updating_user_membership").describe(
|
|
2885
|
+
"Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system."
|
|
2886
|
+
),
|
|
2887
|
+
from: zod.z.object({
|
|
2888
|
+
acs_user_id: zod.z.string().uuid().nullable().describe("Old user ID.")
|
|
2889
|
+
}).describe("Old user membership."),
|
|
2890
|
+
to: zod.z.object({
|
|
2891
|
+
acs_user_id: zod.z.string().uuid().nullable().describe("New user ID.")
|
|
2892
|
+
}).describe("New user membership.")
|
|
2893
|
+
}).describe(
|
|
2894
|
+
"Seam is in the process of pushing a user membership update to the integrated access system."
|
|
2895
|
+
);
|
|
2896
|
+
var updating_entrance_membership = common_pending_mutation3.extend({
|
|
2897
|
+
mutation_code: zod.z.literal("updating_entrance_membership").describe(
|
|
2898
|
+
"Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system."
|
|
2899
|
+
),
|
|
2900
|
+
from: zod.z.object({
|
|
2901
|
+
acs_entrance_id: zod.z.string().uuid().nullable().describe("Old entrance ID.")
|
|
2902
|
+
}).describe("Old entrance membership."),
|
|
2903
|
+
to: zod.z.object({
|
|
2904
|
+
acs_entrance_id: zod.z.string().uuid().nullable().describe("New entrance ID.")
|
|
2905
|
+
}).describe("New entrance membership.")
|
|
2906
|
+
}).describe(
|
|
2907
|
+
"Seam is in the process of pushing an entrance membership update to the integrated access system."
|
|
2908
|
+
);
|
|
2909
|
+
var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
2910
|
+
"mutation_code",
|
|
2911
|
+
[
|
|
2912
|
+
creating,
|
|
2913
|
+
deleting,
|
|
2914
|
+
updating_group_information,
|
|
2915
|
+
updating_access_schedule,
|
|
2916
|
+
updating_user_membership,
|
|
2917
|
+
updating_entrance_membership
|
|
2918
|
+
]
|
|
2919
|
+
);
|
|
2920
|
+
zod.z.object({
|
|
2921
|
+
creating: creating.optional().nullable(),
|
|
2922
|
+
deleting: deleting.optional().nullable(),
|
|
2923
|
+
updating_name: updating_group_information.optional().nullable(),
|
|
2924
|
+
updating_access_schedule: updating_access_schedule.optional().nullable(),
|
|
2925
|
+
updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
|
|
2926
|
+
updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable()
|
|
2927
|
+
});
|
|
2838
2928
|
|
|
2839
2929
|
// src/lib/seam/connect/models/acs/acs-access-group.ts
|
|
2840
2930
|
var acs_access_group_external_type = zod.z.enum([
|
|
@@ -2901,6 +2991,9 @@ var common_acs_access_group = zod.z.object({
|
|
|
2901
2991
|
warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`."),
|
|
2902
2992
|
access_schedule: schedule.optional().describe(
|
|
2903
2993
|
"`starts_at` and `ends_at` timestamps for the access group's access."
|
|
2994
|
+
),
|
|
2995
|
+
pending_mutations: zod.z.array(acs_access_group_pending_mutations).describe(
|
|
2996
|
+
"Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system."
|
|
2904
2997
|
)
|
|
2905
2998
|
});
|
|
2906
2999
|
var acs_access_group = common_acs_access_group.extend({
|
|
@@ -3618,25 +3711,25 @@ var phone_number = zod.z.coerce.string().trim().refine(
|
|
|
3618
3711
|
message: "Phone number must be in E.164 format: +14155552671"
|
|
3619
3712
|
}
|
|
3620
3713
|
);
|
|
3621
|
-
var
|
|
3714
|
+
var common_pending_mutation4 = zod.z.object({
|
|
3622
3715
|
created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
|
|
3623
3716
|
message: zod.z.string().describe("Detailed description of the mutation.")
|
|
3624
3717
|
});
|
|
3625
|
-
var
|
|
3718
|
+
var creating2 = common_pending_mutation4.extend({
|
|
3626
3719
|
mutation_code: zod.z.literal("creating").describe(
|
|
3627
3720
|
"Mutation code to indicate that Seam is in the process of pushing a user creation to the integrated access system."
|
|
3628
3721
|
)
|
|
3629
3722
|
}).describe(
|
|
3630
3723
|
"Seam is in the process of pushing a user creation to the integrated access system."
|
|
3631
3724
|
);
|
|
3632
|
-
var
|
|
3725
|
+
var deleting2 = common_pending_mutation4.extend({
|
|
3633
3726
|
mutation_code: zod.z.literal("deleting").describe(
|
|
3634
3727
|
"Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system."
|
|
3635
3728
|
)
|
|
3636
3729
|
}).describe(
|
|
3637
3730
|
"Seam is in the process of pushing a user deletion to the integrated access system."
|
|
3638
3731
|
);
|
|
3639
|
-
var deferring_creation =
|
|
3732
|
+
var deferring_creation = common_pending_mutation4.extend({
|
|
3640
3733
|
mutation_code: zod.z.literal("deferring_creation").describe(
|
|
3641
3734
|
"Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time."
|
|
3642
3735
|
),
|
|
@@ -3649,27 +3742,27 @@ var acs_user_info = zod.z.object({
|
|
|
3649
3742
|
full_name: zod.z.string().nullable().describe("Full name of the access system user."),
|
|
3650
3743
|
phone_number: phone_number.optional().nullable().describe("Phone number of the access system user.")
|
|
3651
3744
|
});
|
|
3652
|
-
var updating_user_information_mutation =
|
|
3745
|
+
var updating_user_information_mutation = common_pending_mutation4.extend({
|
|
3653
3746
|
mutation_code: zod.z.literal("updating_user_information").describe(
|
|
3654
3747
|
"Mutation code to indicate that Seam is in the process of pushing updated user information to the integrated access system."
|
|
3655
3748
|
),
|
|
3656
3749
|
from: acs_user_info.partial().describe("Old access system user information."),
|
|
3657
3750
|
to: acs_user_info.partial().describe("New access system user information.")
|
|
3658
3751
|
});
|
|
3659
|
-
var
|
|
3752
|
+
var access_schedule2 = zod.z.object({
|
|
3660
3753
|
starts_at: zod.z.string().datetime().nullable().describe("Starting time for the access schedule."),
|
|
3661
3754
|
ends_at: zod.z.string().datetime().nullable().describe("Starting time for the access schedule.")
|
|
3662
3755
|
}).describe("Access schedule involved in the mutation.");
|
|
3663
|
-
var updating_access_schedule_mutation =
|
|
3756
|
+
var updating_access_schedule_mutation = common_pending_mutation4.extend({
|
|
3664
3757
|
mutation_code: zod.z.literal("updating_access_schedule").describe(
|
|
3665
3758
|
"Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system."
|
|
3666
3759
|
),
|
|
3667
|
-
from:
|
|
3668
|
-
to:
|
|
3760
|
+
from: access_schedule2.describe("Old access schedule information."),
|
|
3761
|
+
to: access_schedule2.describe("New access schedule information.")
|
|
3669
3762
|
}).describe(
|
|
3670
3763
|
"Seam is in the process of pushing an access schedule update to the integrated access system."
|
|
3671
3764
|
);
|
|
3672
|
-
var updating_suspension_state_mutation =
|
|
3765
|
+
var updating_suspension_state_mutation = common_pending_mutation4.extend({
|
|
3673
3766
|
mutation_code: zod.z.literal("updating_suspension_state").describe(
|
|
3674
3767
|
"Mutation code to indicate that Seam is in the process of pushing updated user suspension state information to the integrated access system."
|
|
3675
3768
|
),
|
|
@@ -3678,7 +3771,7 @@ var updating_suspension_state_mutation = common_pending_mutation3.extend({
|
|
|
3678
3771
|
}).describe(
|
|
3679
3772
|
"Seam is in the process of pushing a suspension state update to the integrated access system."
|
|
3680
3773
|
);
|
|
3681
|
-
var updating_group_membership_mutation =
|
|
3774
|
+
var updating_group_membership_mutation = common_pending_mutation4.extend({
|
|
3682
3775
|
mutation_code: zod.z.literal("updating_group_membership").describe(
|
|
3683
3776
|
"Mutation code to indicate that Seam is in the process of pushing updated access group membership information to the integrated access system."
|
|
3684
3777
|
),
|
|
@@ -3694,8 +3787,8 @@ var updating_group_membership_mutation = common_pending_mutation3.extend({
|
|
|
3694
3787
|
var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
3695
3788
|
"mutation_code",
|
|
3696
3789
|
[
|
|
3697
|
-
|
|
3698
|
-
|
|
3790
|
+
creating2,
|
|
3791
|
+
deleting2,
|
|
3699
3792
|
deferring_creation,
|
|
3700
3793
|
updating_user_information_mutation,
|
|
3701
3794
|
updating_access_schedule_mutation,
|
|
@@ -3704,13 +3797,13 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
|
3704
3797
|
]
|
|
3705
3798
|
);
|
|
3706
3799
|
zod.z.object({
|
|
3707
|
-
creating:
|
|
3708
|
-
deleting:
|
|
3800
|
+
creating: creating2.optional().nullable(),
|
|
3801
|
+
deleting: deleting2.optional().nullable(),
|
|
3709
3802
|
deferring_creation: deferring_creation.optional().nullable(),
|
|
3710
3803
|
updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
|
|
3711
3804
|
updating_group_membership: zod.z.record(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
|
|
3712
3805
|
updating_suspension_state: updating_suspension_state_mutation.optional().nullable(),
|
|
3713
|
-
"updating_user_information.full_name":
|
|
3806
|
+
"updating_user_information.full_name": common_pending_mutation4.extend({
|
|
3714
3807
|
mutation_code: zod.z.literal("updating_user_information"),
|
|
3715
3808
|
from: zod.z.object({
|
|
3716
3809
|
full_name: zod.z.string().nullable()
|
|
@@ -3719,7 +3812,7 @@ zod.z.object({
|
|
|
3719
3812
|
full_name: zod.z.string().nullable()
|
|
3720
3813
|
})
|
|
3721
3814
|
}).optional().nullable(),
|
|
3722
|
-
"updating_user_information.email_address":
|
|
3815
|
+
"updating_user_information.email_address": common_pending_mutation4.extend({
|
|
3723
3816
|
mutation_code: zod.z.literal("updating_user_information"),
|
|
3724
3817
|
from: zod.z.object({
|
|
3725
3818
|
email_address: zod.z.string().email().nullable()
|
|
@@ -3728,7 +3821,7 @@ zod.z.object({
|
|
|
3728
3821
|
email_address: zod.z.string().email().nullable()
|
|
3729
3822
|
})
|
|
3730
3823
|
}).optional().nullable(),
|
|
3731
|
-
"updating_user_information.phone_number":
|
|
3824
|
+
"updating_user_information.phone_number": common_pending_mutation4.extend({
|
|
3732
3825
|
mutation_code: zod.z.literal("updating_user_information"),
|
|
3733
3826
|
from: zod.z.object({
|
|
3734
3827
|
phone_number: phone_number.nullable()
|
|
@@ -8808,8 +8901,279 @@ var openapi_default = {
|
|
|
8808
8901
|
description: "Display name that corresponds to the brand-specific terminology for the access group type.",
|
|
8809
8902
|
type: "string"
|
|
8810
8903
|
},
|
|
8811
|
-
is_managed: { enum: [true], type: "boolean" },
|
|
8812
|
-
name: { description: "Name of the access group.", type: "string" },
|
|
8904
|
+
is_managed: { enum: [true], type: "boolean" },
|
|
8905
|
+
name: { description: "Name of the access group.", type: "string" },
|
|
8906
|
+
pending_mutations: {
|
|
8907
|
+
description: "Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.",
|
|
8908
|
+
items: {
|
|
8909
|
+
discriminator: { propertyName: "mutation_code" },
|
|
8910
|
+
oneOf: [
|
|
8911
|
+
{
|
|
8912
|
+
description: "Seam is in the process of pushing an access group creation to the integrated access system.",
|
|
8913
|
+
properties: {
|
|
8914
|
+
created_at: {
|
|
8915
|
+
description: "Date and time at which the mutation was created.",
|
|
8916
|
+
format: "date-time",
|
|
8917
|
+
type: "string"
|
|
8918
|
+
},
|
|
8919
|
+
message: {
|
|
8920
|
+
description: "Detailed description of the mutation.",
|
|
8921
|
+
type: "string"
|
|
8922
|
+
},
|
|
8923
|
+
mutation_code: {
|
|
8924
|
+
description: "Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.",
|
|
8925
|
+
enum: ["creating"],
|
|
8926
|
+
type: "string"
|
|
8927
|
+
}
|
|
8928
|
+
},
|
|
8929
|
+
required: ["created_at", "message", "mutation_code"],
|
|
8930
|
+
type: "object"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
description: "Seam is in the process of pushing an access group deletion to the integrated access system.",
|
|
8934
|
+
properties: {
|
|
8935
|
+
created_at: {
|
|
8936
|
+
description: "Date and time at which the mutation was created.",
|
|
8937
|
+
format: "date-time",
|
|
8938
|
+
type: "string"
|
|
8939
|
+
},
|
|
8940
|
+
message: {
|
|
8941
|
+
description: "Detailed description of the mutation.",
|
|
8942
|
+
type: "string"
|
|
8943
|
+
},
|
|
8944
|
+
mutation_code: {
|
|
8945
|
+
description: "Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.",
|
|
8946
|
+
enum: ["deleting"],
|
|
8947
|
+
type: "string"
|
|
8948
|
+
}
|
|
8949
|
+
},
|
|
8950
|
+
required: ["created_at", "message", "mutation_code"],
|
|
8951
|
+
type: "object"
|
|
8952
|
+
},
|
|
8953
|
+
{
|
|
8954
|
+
description: "Seam is in the process of pushing an access group information update to the integrated access system.",
|
|
8955
|
+
properties: {
|
|
8956
|
+
created_at: {
|
|
8957
|
+
description: "Date and time at which the mutation was created.",
|
|
8958
|
+
format: "date-time",
|
|
8959
|
+
type: "string"
|
|
8960
|
+
},
|
|
8961
|
+
from: {
|
|
8962
|
+
description: "Old access group information.",
|
|
8963
|
+
properties: {
|
|
8964
|
+
name: {
|
|
8965
|
+
description: "Name of the access group.",
|
|
8966
|
+
nullable: true,
|
|
8967
|
+
type: "string"
|
|
8968
|
+
}
|
|
8969
|
+
},
|
|
8970
|
+
type: "object"
|
|
8971
|
+
},
|
|
8972
|
+
message: {
|
|
8973
|
+
description: "Detailed description of the mutation.",
|
|
8974
|
+
type: "string"
|
|
8975
|
+
},
|
|
8976
|
+
mutation_code: {
|
|
8977
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.",
|
|
8978
|
+
enum: ["updating_group_information"],
|
|
8979
|
+
type: "string"
|
|
8980
|
+
},
|
|
8981
|
+
to: {
|
|
8982
|
+
description: "New access group information.",
|
|
8983
|
+
properties: {
|
|
8984
|
+
name: {
|
|
8985
|
+
description: "Name of the access group.",
|
|
8986
|
+
nullable: true,
|
|
8987
|
+
type: "string"
|
|
8988
|
+
}
|
|
8989
|
+
},
|
|
8990
|
+
type: "object"
|
|
8991
|
+
}
|
|
8992
|
+
},
|
|
8993
|
+
required: [
|
|
8994
|
+
"created_at",
|
|
8995
|
+
"message",
|
|
8996
|
+
"mutation_code",
|
|
8997
|
+
"from",
|
|
8998
|
+
"to"
|
|
8999
|
+
],
|
|
9000
|
+
type: "object"
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
description: "Seam is in the process of pushing an access schedule update to the integrated access system.",
|
|
9004
|
+
properties: {
|
|
9005
|
+
created_at: {
|
|
9006
|
+
description: "Date and time at which the mutation was created.",
|
|
9007
|
+
format: "date-time",
|
|
9008
|
+
type: "string"
|
|
9009
|
+
},
|
|
9010
|
+
from: {
|
|
9011
|
+
description: "Old access schedule information.",
|
|
9012
|
+
properties: {
|
|
9013
|
+
ends_at: {
|
|
9014
|
+
description: "Ending time for the access schedule.",
|
|
9015
|
+
format: "date-time",
|
|
9016
|
+
nullable: true,
|
|
9017
|
+
type: "string"
|
|
9018
|
+
},
|
|
9019
|
+
starts_at: {
|
|
9020
|
+
description: "Starting time for the access schedule.",
|
|
9021
|
+
format: "date-time",
|
|
9022
|
+
nullable: true,
|
|
9023
|
+
type: "string"
|
|
9024
|
+
}
|
|
9025
|
+
},
|
|
9026
|
+
required: ["starts_at", "ends_at"],
|
|
9027
|
+
type: "object"
|
|
9028
|
+
},
|
|
9029
|
+
message: {
|
|
9030
|
+
description: "Detailed description of the mutation.",
|
|
9031
|
+
type: "string"
|
|
9032
|
+
},
|
|
9033
|
+
mutation_code: {
|
|
9034
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.",
|
|
9035
|
+
enum: ["updating_access_schedule"],
|
|
9036
|
+
type: "string"
|
|
9037
|
+
},
|
|
9038
|
+
to: {
|
|
9039
|
+
description: "New access schedule information.",
|
|
9040
|
+
properties: {
|
|
9041
|
+
ends_at: {
|
|
9042
|
+
description: "Ending time for the access schedule.",
|
|
9043
|
+
format: "date-time",
|
|
9044
|
+
nullable: true,
|
|
9045
|
+
type: "string"
|
|
9046
|
+
},
|
|
9047
|
+
starts_at: {
|
|
9048
|
+
description: "Starting time for the access schedule.",
|
|
9049
|
+
format: "date-time",
|
|
9050
|
+
nullable: true,
|
|
9051
|
+
type: "string"
|
|
9052
|
+
}
|
|
9053
|
+
},
|
|
9054
|
+
required: ["starts_at", "ends_at"],
|
|
9055
|
+
type: "object"
|
|
9056
|
+
}
|
|
9057
|
+
},
|
|
9058
|
+
required: [
|
|
9059
|
+
"created_at",
|
|
9060
|
+
"message",
|
|
9061
|
+
"mutation_code",
|
|
9062
|
+
"from",
|
|
9063
|
+
"to"
|
|
9064
|
+
],
|
|
9065
|
+
type: "object"
|
|
9066
|
+
},
|
|
9067
|
+
{
|
|
9068
|
+
description: "Seam is in the process of pushing a user membership update to the integrated access system.",
|
|
9069
|
+
properties: {
|
|
9070
|
+
created_at: {
|
|
9071
|
+
description: "Date and time at which the mutation was created.",
|
|
9072
|
+
format: "date-time",
|
|
9073
|
+
type: "string"
|
|
9074
|
+
},
|
|
9075
|
+
from: {
|
|
9076
|
+
description: "Old user membership.",
|
|
9077
|
+
properties: {
|
|
9078
|
+
acs_user_id: {
|
|
9079
|
+
description: "Old user ID.",
|
|
9080
|
+
format: "uuid",
|
|
9081
|
+
nullable: true,
|
|
9082
|
+
type: "string"
|
|
9083
|
+
}
|
|
9084
|
+
},
|
|
9085
|
+
required: ["acs_user_id"],
|
|
9086
|
+
type: "object"
|
|
9087
|
+
},
|
|
9088
|
+
message: {
|
|
9089
|
+
description: "Detailed description of the mutation.",
|
|
9090
|
+
type: "string"
|
|
9091
|
+
},
|
|
9092
|
+
mutation_code: {
|
|
9093
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.",
|
|
9094
|
+
enum: ["updating_user_membership"],
|
|
9095
|
+
type: "string"
|
|
9096
|
+
},
|
|
9097
|
+
to: {
|
|
9098
|
+
description: "New user membership.",
|
|
9099
|
+
properties: {
|
|
9100
|
+
acs_user_id: {
|
|
9101
|
+
description: "New user ID.",
|
|
9102
|
+
format: "uuid",
|
|
9103
|
+
nullable: true,
|
|
9104
|
+
type: "string"
|
|
9105
|
+
}
|
|
9106
|
+
},
|
|
9107
|
+
required: ["acs_user_id"],
|
|
9108
|
+
type: "object"
|
|
9109
|
+
}
|
|
9110
|
+
},
|
|
9111
|
+
required: [
|
|
9112
|
+
"created_at",
|
|
9113
|
+
"message",
|
|
9114
|
+
"mutation_code",
|
|
9115
|
+
"from",
|
|
9116
|
+
"to"
|
|
9117
|
+
],
|
|
9118
|
+
type: "object"
|
|
9119
|
+
},
|
|
9120
|
+
{
|
|
9121
|
+
description: "Seam is in the process of pushing an entrance membership update to the integrated access system.",
|
|
9122
|
+
properties: {
|
|
9123
|
+
created_at: {
|
|
9124
|
+
description: "Date and time at which the mutation was created.",
|
|
9125
|
+
format: "date-time",
|
|
9126
|
+
type: "string"
|
|
9127
|
+
},
|
|
9128
|
+
from: {
|
|
9129
|
+
description: "Old entrance membership.",
|
|
9130
|
+
properties: {
|
|
9131
|
+
acs_entrance_id: {
|
|
9132
|
+
description: "Old entrance ID.",
|
|
9133
|
+
format: "uuid",
|
|
9134
|
+
nullable: true,
|
|
9135
|
+
type: "string"
|
|
9136
|
+
}
|
|
9137
|
+
},
|
|
9138
|
+
required: ["acs_entrance_id"],
|
|
9139
|
+
type: "object"
|
|
9140
|
+
},
|
|
9141
|
+
message: {
|
|
9142
|
+
description: "Detailed description of the mutation.",
|
|
9143
|
+
type: "string"
|
|
9144
|
+
},
|
|
9145
|
+
mutation_code: {
|
|
9146
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.",
|
|
9147
|
+
enum: ["updating_entrance_membership"],
|
|
9148
|
+
type: "string"
|
|
9149
|
+
},
|
|
9150
|
+
to: {
|
|
9151
|
+
description: "New entrance membership.",
|
|
9152
|
+
properties: {
|
|
9153
|
+
acs_entrance_id: {
|
|
9154
|
+
description: "New entrance ID.",
|
|
9155
|
+
format: "uuid",
|
|
9156
|
+
nullable: true,
|
|
9157
|
+
type: "string"
|
|
9158
|
+
}
|
|
9159
|
+
},
|
|
9160
|
+
required: ["acs_entrance_id"],
|
|
9161
|
+
type: "object"
|
|
9162
|
+
}
|
|
9163
|
+
},
|
|
9164
|
+
required: [
|
|
9165
|
+
"created_at",
|
|
9166
|
+
"message",
|
|
9167
|
+
"mutation_code",
|
|
9168
|
+
"from",
|
|
9169
|
+
"to"
|
|
9170
|
+
],
|
|
9171
|
+
type: "object"
|
|
9172
|
+
}
|
|
9173
|
+
]
|
|
9174
|
+
},
|
|
9175
|
+
type: "array"
|
|
9176
|
+
},
|
|
8813
9177
|
warnings: {
|
|
8814
9178
|
description: "Warnings associated with the `acs_access_group`.",
|
|
8815
9179
|
items: {
|
|
@@ -8880,6 +9244,7 @@ var openapi_default = {
|
|
|
8880
9244
|
"external_type_display_name",
|
|
8881
9245
|
"created_at",
|
|
8882
9246
|
"warnings",
|
|
9247
|
+
"pending_mutations",
|
|
8883
9248
|
"is_managed"
|
|
8884
9249
|
],
|
|
8885
9250
|
type: "object",
|
|
@@ -30203,6 +30568,277 @@ var openapi_default = {
|
|
|
30203
30568
|
},
|
|
30204
30569
|
is_managed: { enum: [false], type: "boolean" },
|
|
30205
30570
|
name: { description: "Name of the access group.", type: "string" },
|
|
30571
|
+
pending_mutations: {
|
|
30572
|
+
description: "Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.",
|
|
30573
|
+
items: {
|
|
30574
|
+
discriminator: { propertyName: "mutation_code" },
|
|
30575
|
+
oneOf: [
|
|
30576
|
+
{
|
|
30577
|
+
description: "Seam is in the process of pushing an access group creation to the integrated access system.",
|
|
30578
|
+
properties: {
|
|
30579
|
+
created_at: {
|
|
30580
|
+
description: "Date and time at which the mutation was created.",
|
|
30581
|
+
format: "date-time",
|
|
30582
|
+
type: "string"
|
|
30583
|
+
},
|
|
30584
|
+
message: {
|
|
30585
|
+
description: "Detailed description of the mutation.",
|
|
30586
|
+
type: "string"
|
|
30587
|
+
},
|
|
30588
|
+
mutation_code: {
|
|
30589
|
+
description: "Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.",
|
|
30590
|
+
enum: ["creating"],
|
|
30591
|
+
type: "string"
|
|
30592
|
+
}
|
|
30593
|
+
},
|
|
30594
|
+
required: ["created_at", "message", "mutation_code"],
|
|
30595
|
+
type: "object"
|
|
30596
|
+
},
|
|
30597
|
+
{
|
|
30598
|
+
description: "Seam is in the process of pushing an access group deletion to the integrated access system.",
|
|
30599
|
+
properties: {
|
|
30600
|
+
created_at: {
|
|
30601
|
+
description: "Date and time at which the mutation was created.",
|
|
30602
|
+
format: "date-time",
|
|
30603
|
+
type: "string"
|
|
30604
|
+
},
|
|
30605
|
+
message: {
|
|
30606
|
+
description: "Detailed description of the mutation.",
|
|
30607
|
+
type: "string"
|
|
30608
|
+
},
|
|
30609
|
+
mutation_code: {
|
|
30610
|
+
description: "Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.",
|
|
30611
|
+
enum: ["deleting"],
|
|
30612
|
+
type: "string"
|
|
30613
|
+
}
|
|
30614
|
+
},
|
|
30615
|
+
required: ["created_at", "message", "mutation_code"],
|
|
30616
|
+
type: "object"
|
|
30617
|
+
},
|
|
30618
|
+
{
|
|
30619
|
+
description: "Seam is in the process of pushing an access group information update to the integrated access system.",
|
|
30620
|
+
properties: {
|
|
30621
|
+
created_at: {
|
|
30622
|
+
description: "Date and time at which the mutation was created.",
|
|
30623
|
+
format: "date-time",
|
|
30624
|
+
type: "string"
|
|
30625
|
+
},
|
|
30626
|
+
from: {
|
|
30627
|
+
description: "Old access group information.",
|
|
30628
|
+
properties: {
|
|
30629
|
+
name: {
|
|
30630
|
+
description: "Name of the access group.",
|
|
30631
|
+
nullable: true,
|
|
30632
|
+
type: "string"
|
|
30633
|
+
}
|
|
30634
|
+
},
|
|
30635
|
+
type: "object"
|
|
30636
|
+
},
|
|
30637
|
+
message: {
|
|
30638
|
+
description: "Detailed description of the mutation.",
|
|
30639
|
+
type: "string"
|
|
30640
|
+
},
|
|
30641
|
+
mutation_code: {
|
|
30642
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.",
|
|
30643
|
+
enum: ["updating_group_information"],
|
|
30644
|
+
type: "string"
|
|
30645
|
+
},
|
|
30646
|
+
to: {
|
|
30647
|
+
description: "New access group information.",
|
|
30648
|
+
properties: {
|
|
30649
|
+
name: {
|
|
30650
|
+
description: "Name of the access group.",
|
|
30651
|
+
nullable: true,
|
|
30652
|
+
type: "string"
|
|
30653
|
+
}
|
|
30654
|
+
},
|
|
30655
|
+
type: "object"
|
|
30656
|
+
}
|
|
30657
|
+
},
|
|
30658
|
+
required: [
|
|
30659
|
+
"created_at",
|
|
30660
|
+
"message",
|
|
30661
|
+
"mutation_code",
|
|
30662
|
+
"from",
|
|
30663
|
+
"to"
|
|
30664
|
+
],
|
|
30665
|
+
type: "object"
|
|
30666
|
+
},
|
|
30667
|
+
{
|
|
30668
|
+
description: "Seam is in the process of pushing an access schedule update to the integrated access system.",
|
|
30669
|
+
properties: {
|
|
30670
|
+
created_at: {
|
|
30671
|
+
description: "Date and time at which the mutation was created.",
|
|
30672
|
+
format: "date-time",
|
|
30673
|
+
type: "string"
|
|
30674
|
+
},
|
|
30675
|
+
from: {
|
|
30676
|
+
description: "Old access schedule information.",
|
|
30677
|
+
properties: {
|
|
30678
|
+
ends_at: {
|
|
30679
|
+
description: "Ending time for the access schedule.",
|
|
30680
|
+
format: "date-time",
|
|
30681
|
+
nullable: true,
|
|
30682
|
+
type: "string"
|
|
30683
|
+
},
|
|
30684
|
+
starts_at: {
|
|
30685
|
+
description: "Starting time for the access schedule.",
|
|
30686
|
+
format: "date-time",
|
|
30687
|
+
nullable: true,
|
|
30688
|
+
type: "string"
|
|
30689
|
+
}
|
|
30690
|
+
},
|
|
30691
|
+
required: ["starts_at", "ends_at"],
|
|
30692
|
+
type: "object"
|
|
30693
|
+
},
|
|
30694
|
+
message: {
|
|
30695
|
+
description: "Detailed description of the mutation.",
|
|
30696
|
+
type: "string"
|
|
30697
|
+
},
|
|
30698
|
+
mutation_code: {
|
|
30699
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.",
|
|
30700
|
+
enum: ["updating_access_schedule"],
|
|
30701
|
+
type: "string"
|
|
30702
|
+
},
|
|
30703
|
+
to: {
|
|
30704
|
+
description: "New access schedule information.",
|
|
30705
|
+
properties: {
|
|
30706
|
+
ends_at: {
|
|
30707
|
+
description: "Ending time for the access schedule.",
|
|
30708
|
+
format: "date-time",
|
|
30709
|
+
nullable: true,
|
|
30710
|
+
type: "string"
|
|
30711
|
+
},
|
|
30712
|
+
starts_at: {
|
|
30713
|
+
description: "Starting time for the access schedule.",
|
|
30714
|
+
format: "date-time",
|
|
30715
|
+
nullable: true,
|
|
30716
|
+
type: "string"
|
|
30717
|
+
}
|
|
30718
|
+
},
|
|
30719
|
+
required: ["starts_at", "ends_at"],
|
|
30720
|
+
type: "object"
|
|
30721
|
+
}
|
|
30722
|
+
},
|
|
30723
|
+
required: [
|
|
30724
|
+
"created_at",
|
|
30725
|
+
"message",
|
|
30726
|
+
"mutation_code",
|
|
30727
|
+
"from",
|
|
30728
|
+
"to"
|
|
30729
|
+
],
|
|
30730
|
+
type: "object"
|
|
30731
|
+
},
|
|
30732
|
+
{
|
|
30733
|
+
description: "Seam is in the process of pushing a user membership update to the integrated access system.",
|
|
30734
|
+
properties: {
|
|
30735
|
+
created_at: {
|
|
30736
|
+
description: "Date and time at which the mutation was created.",
|
|
30737
|
+
format: "date-time",
|
|
30738
|
+
type: "string"
|
|
30739
|
+
},
|
|
30740
|
+
from: {
|
|
30741
|
+
description: "Old user membership.",
|
|
30742
|
+
properties: {
|
|
30743
|
+
acs_user_id: {
|
|
30744
|
+
description: "Old user ID.",
|
|
30745
|
+
format: "uuid",
|
|
30746
|
+
nullable: true,
|
|
30747
|
+
type: "string"
|
|
30748
|
+
}
|
|
30749
|
+
},
|
|
30750
|
+
required: ["acs_user_id"],
|
|
30751
|
+
type: "object"
|
|
30752
|
+
},
|
|
30753
|
+
message: {
|
|
30754
|
+
description: "Detailed description of the mutation.",
|
|
30755
|
+
type: "string"
|
|
30756
|
+
},
|
|
30757
|
+
mutation_code: {
|
|
30758
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.",
|
|
30759
|
+
enum: ["updating_user_membership"],
|
|
30760
|
+
type: "string"
|
|
30761
|
+
},
|
|
30762
|
+
to: {
|
|
30763
|
+
description: "New user membership.",
|
|
30764
|
+
properties: {
|
|
30765
|
+
acs_user_id: {
|
|
30766
|
+
description: "New user ID.",
|
|
30767
|
+
format: "uuid",
|
|
30768
|
+
nullable: true,
|
|
30769
|
+
type: "string"
|
|
30770
|
+
}
|
|
30771
|
+
},
|
|
30772
|
+
required: ["acs_user_id"],
|
|
30773
|
+
type: "object"
|
|
30774
|
+
}
|
|
30775
|
+
},
|
|
30776
|
+
required: [
|
|
30777
|
+
"created_at",
|
|
30778
|
+
"message",
|
|
30779
|
+
"mutation_code",
|
|
30780
|
+
"from",
|
|
30781
|
+
"to"
|
|
30782
|
+
],
|
|
30783
|
+
type: "object"
|
|
30784
|
+
},
|
|
30785
|
+
{
|
|
30786
|
+
description: "Seam is in the process of pushing an entrance membership update to the integrated access system.",
|
|
30787
|
+
properties: {
|
|
30788
|
+
created_at: {
|
|
30789
|
+
description: "Date and time at which the mutation was created.",
|
|
30790
|
+
format: "date-time",
|
|
30791
|
+
type: "string"
|
|
30792
|
+
},
|
|
30793
|
+
from: {
|
|
30794
|
+
description: "Old entrance membership.",
|
|
30795
|
+
properties: {
|
|
30796
|
+
acs_entrance_id: {
|
|
30797
|
+
description: "Old entrance ID.",
|
|
30798
|
+
format: "uuid",
|
|
30799
|
+
nullable: true,
|
|
30800
|
+
type: "string"
|
|
30801
|
+
}
|
|
30802
|
+
},
|
|
30803
|
+
required: ["acs_entrance_id"],
|
|
30804
|
+
type: "object"
|
|
30805
|
+
},
|
|
30806
|
+
message: {
|
|
30807
|
+
description: "Detailed description of the mutation.",
|
|
30808
|
+
type: "string"
|
|
30809
|
+
},
|
|
30810
|
+
mutation_code: {
|
|
30811
|
+
description: "Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.",
|
|
30812
|
+
enum: ["updating_entrance_membership"],
|
|
30813
|
+
type: "string"
|
|
30814
|
+
},
|
|
30815
|
+
to: {
|
|
30816
|
+
description: "New entrance membership.",
|
|
30817
|
+
properties: {
|
|
30818
|
+
acs_entrance_id: {
|
|
30819
|
+
description: "New entrance ID.",
|
|
30820
|
+
format: "uuid",
|
|
30821
|
+
nullable: true,
|
|
30822
|
+
type: "string"
|
|
30823
|
+
}
|
|
30824
|
+
},
|
|
30825
|
+
required: ["acs_entrance_id"],
|
|
30826
|
+
type: "object"
|
|
30827
|
+
}
|
|
30828
|
+
},
|
|
30829
|
+
required: [
|
|
30830
|
+
"created_at",
|
|
30831
|
+
"message",
|
|
30832
|
+
"mutation_code",
|
|
30833
|
+
"from",
|
|
30834
|
+
"to"
|
|
30835
|
+
],
|
|
30836
|
+
type: "object"
|
|
30837
|
+
}
|
|
30838
|
+
]
|
|
30839
|
+
},
|
|
30840
|
+
type: "array"
|
|
30841
|
+
},
|
|
30206
30842
|
warnings: {
|
|
30207
30843
|
description: "Warnings associated with the `acs_access_group`.",
|
|
30208
30844
|
items: {
|
|
@@ -30273,6 +30909,7 @@ var openapi_default = {
|
|
|
30273
30909
|
"external_type_display_name",
|
|
30274
30910
|
"created_at",
|
|
30275
30911
|
"warnings",
|
|
30912
|
+
"pending_mutations",
|
|
30276
30913
|
"is_managed"
|
|
30277
30914
|
],
|
|
30278
30915
|
type: "object",
|