@seamapi/types 1.378.0 → 1.379.1
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 +77 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +132 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +60 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +61 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +2 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +30 -0
- package/lib/seam/connect/openapi.js +73 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +73 -13
- package/src/lib/seam/connect/route-types.ts +42 -0
package/dist/connect.cjs
CHANGED
|
@@ -2403,7 +2403,8 @@ var start_end_schedule = zod.z.object({
|
|
|
2403
2403
|
});
|
|
2404
2404
|
var schedule = start_end_schedule;
|
|
2405
2405
|
var common_pending_mutation = zod.z.object({
|
|
2406
|
-
created_at: zod.z.string().datetime()
|
|
2406
|
+
created_at: zod.z.string().datetime(),
|
|
2407
|
+
message: zod.z.string()
|
|
2407
2408
|
});
|
|
2408
2409
|
var creating = common_pending_mutation.extend({
|
|
2409
2410
|
mutation_code: zod.z.literal("creating")
|
|
@@ -3388,7 +3389,8 @@ var acs_credential_invalidated = acs_credential_event.extend({
|
|
|
3388
3389
|
---
|
|
3389
3390
|
route_path: /acs/credentials
|
|
3390
3391
|
---
|
|
3391
|
-
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated.
|
|
3392
|
+
An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated. That is, the credential cannot be used anymore.
|
|
3393
|
+
|
|
3392
3394
|
`);
|
|
3393
3395
|
var acs_credential_events = [
|
|
3394
3396
|
acs_credential_deleted_event,
|
|
@@ -6816,17 +6818,19 @@ var openapi_default = {
|
|
|
6816
6818
|
{
|
|
6817
6819
|
properties: {
|
|
6818
6820
|
created_at: { format: "date-time", type: "string" },
|
|
6821
|
+
message: { type: "string" },
|
|
6819
6822
|
mutation_code: { enum: ["creating"], type: "string" }
|
|
6820
6823
|
},
|
|
6821
|
-
required: ["created_at", "mutation_code"],
|
|
6824
|
+
required: ["created_at", "message", "mutation_code"],
|
|
6822
6825
|
type: "object"
|
|
6823
6826
|
},
|
|
6824
6827
|
{
|
|
6825
6828
|
properties: {
|
|
6826
6829
|
created_at: { format: "date-time", type: "string" },
|
|
6830
|
+
message: { type: "string" },
|
|
6827
6831
|
mutation_code: { enum: ["deleting"], type: "string" }
|
|
6828
6832
|
},
|
|
6829
|
-
required: ["created_at", "mutation_code"],
|
|
6833
|
+
required: ["created_at", "message", "mutation_code"],
|
|
6830
6834
|
type: "object"
|
|
6831
6835
|
},
|
|
6832
6836
|
{
|
|
@@ -6844,6 +6848,7 @@ var openapi_default = {
|
|
|
6844
6848
|
},
|
|
6845
6849
|
type: "object"
|
|
6846
6850
|
},
|
|
6851
|
+
message: { type: "string" },
|
|
6847
6852
|
mutation_code: {
|
|
6848
6853
|
enum: ["updating_user_information"],
|
|
6849
6854
|
type: "string"
|
|
@@ -6861,7 +6866,13 @@ var openapi_default = {
|
|
|
6861
6866
|
type: "object"
|
|
6862
6867
|
}
|
|
6863
6868
|
},
|
|
6864
|
-
required: [
|
|
6869
|
+
required: [
|
|
6870
|
+
"created_at",
|
|
6871
|
+
"message",
|
|
6872
|
+
"mutation_code",
|
|
6873
|
+
"from",
|
|
6874
|
+
"to"
|
|
6875
|
+
],
|
|
6865
6876
|
type: "object"
|
|
6866
6877
|
},
|
|
6867
6878
|
{
|
|
@@ -6883,6 +6894,7 @@ var openapi_default = {
|
|
|
6883
6894
|
required: ["starts_at", "ends_at"],
|
|
6884
6895
|
type: "object"
|
|
6885
6896
|
},
|
|
6897
|
+
message: { type: "string" },
|
|
6886
6898
|
mutation_code: {
|
|
6887
6899
|
enum: ["updating_access_schedule"],
|
|
6888
6900
|
type: "string"
|
|
@@ -6904,7 +6916,13 @@ var openapi_default = {
|
|
|
6904
6916
|
type: "object"
|
|
6905
6917
|
}
|
|
6906
6918
|
},
|
|
6907
|
-
required: [
|
|
6919
|
+
required: [
|
|
6920
|
+
"created_at",
|
|
6921
|
+
"message",
|
|
6922
|
+
"mutation_code",
|
|
6923
|
+
"from",
|
|
6924
|
+
"to"
|
|
6925
|
+
],
|
|
6908
6926
|
type: "object"
|
|
6909
6927
|
},
|
|
6910
6928
|
{
|
|
@@ -6915,6 +6933,7 @@ var openapi_default = {
|
|
|
6915
6933
|
required: ["is_suspended"],
|
|
6916
6934
|
type: "object"
|
|
6917
6935
|
},
|
|
6936
|
+
message: { type: "string" },
|
|
6918
6937
|
mutation_code: {
|
|
6919
6938
|
enum: ["updating_suspension_state"],
|
|
6920
6939
|
type: "string"
|
|
@@ -6925,7 +6944,13 @@ var openapi_default = {
|
|
|
6925
6944
|
type: "object"
|
|
6926
6945
|
}
|
|
6927
6946
|
},
|
|
6928
|
-
required: [
|
|
6947
|
+
required: [
|
|
6948
|
+
"created_at",
|
|
6949
|
+
"message",
|
|
6950
|
+
"mutation_code",
|
|
6951
|
+
"from",
|
|
6952
|
+
"to"
|
|
6953
|
+
],
|
|
6929
6954
|
type: "object"
|
|
6930
6955
|
},
|
|
6931
6956
|
{
|
|
@@ -6942,6 +6967,7 @@ var openapi_default = {
|
|
|
6942
6967
|
required: ["acs_access_group_id"],
|
|
6943
6968
|
type: "object"
|
|
6944
6969
|
},
|
|
6970
|
+
message: { type: "string" },
|
|
6945
6971
|
mutation_code: {
|
|
6946
6972
|
enum: ["updating_group_membership"],
|
|
6947
6973
|
type: "string"
|
|
@@ -6958,7 +6984,13 @@ var openapi_default = {
|
|
|
6958
6984
|
type: "object"
|
|
6959
6985
|
}
|
|
6960
6986
|
},
|
|
6961
|
-
required: [
|
|
6987
|
+
required: [
|
|
6988
|
+
"created_at",
|
|
6989
|
+
"message",
|
|
6990
|
+
"mutation_code",
|
|
6991
|
+
"from",
|
|
6992
|
+
"to"
|
|
6993
|
+
],
|
|
6962
6994
|
type: "object"
|
|
6963
6995
|
}
|
|
6964
6996
|
]
|
|
@@ -13672,7 +13704,7 @@ var openapi_default = {
|
|
|
13672
13704
|
"x-route-path": "/acs/credentials"
|
|
13673
13705
|
},
|
|
13674
13706
|
{
|
|
13675
|
-
description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated.",
|
|
13707
|
+
description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated. That is, the credential cannot be used anymore.",
|
|
13676
13708
|
properties: {
|
|
13677
13709
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
13678
13710
|
acs_system_id: {
|
|
@@ -18817,17 +18849,19 @@ var openapi_default = {
|
|
|
18817
18849
|
{
|
|
18818
18850
|
properties: {
|
|
18819
18851
|
created_at: { format: "date-time", type: "string" },
|
|
18852
|
+
message: { type: "string" },
|
|
18820
18853
|
mutation_code: { enum: ["creating"], type: "string" }
|
|
18821
18854
|
},
|
|
18822
|
-
required: ["created_at", "mutation_code"],
|
|
18855
|
+
required: ["created_at", "message", "mutation_code"],
|
|
18823
18856
|
type: "object"
|
|
18824
18857
|
},
|
|
18825
18858
|
{
|
|
18826
18859
|
properties: {
|
|
18827
18860
|
created_at: { format: "date-time", type: "string" },
|
|
18861
|
+
message: { type: "string" },
|
|
18828
18862
|
mutation_code: { enum: ["deleting"], type: "string" }
|
|
18829
18863
|
},
|
|
18830
|
-
required: ["created_at", "mutation_code"],
|
|
18864
|
+
required: ["created_at", "message", "mutation_code"],
|
|
18831
18865
|
type: "object"
|
|
18832
18866
|
},
|
|
18833
18867
|
{
|
|
@@ -18845,6 +18879,7 @@ var openapi_default = {
|
|
|
18845
18879
|
},
|
|
18846
18880
|
type: "object"
|
|
18847
18881
|
},
|
|
18882
|
+
message: { type: "string" },
|
|
18848
18883
|
mutation_code: {
|
|
18849
18884
|
enum: ["updating_user_information"],
|
|
18850
18885
|
type: "string"
|
|
@@ -18862,7 +18897,13 @@ var openapi_default = {
|
|
|
18862
18897
|
type: "object"
|
|
18863
18898
|
}
|
|
18864
18899
|
},
|
|
18865
|
-
required: [
|
|
18900
|
+
required: [
|
|
18901
|
+
"created_at",
|
|
18902
|
+
"message",
|
|
18903
|
+
"mutation_code",
|
|
18904
|
+
"from",
|
|
18905
|
+
"to"
|
|
18906
|
+
],
|
|
18866
18907
|
type: "object"
|
|
18867
18908
|
},
|
|
18868
18909
|
{
|
|
@@ -18884,6 +18925,7 @@ var openapi_default = {
|
|
|
18884
18925
|
required: ["starts_at", "ends_at"],
|
|
18885
18926
|
type: "object"
|
|
18886
18927
|
},
|
|
18928
|
+
message: { type: "string" },
|
|
18887
18929
|
mutation_code: {
|
|
18888
18930
|
enum: ["updating_access_schedule"],
|
|
18889
18931
|
type: "string"
|
|
@@ -18905,7 +18947,13 @@ var openapi_default = {
|
|
|
18905
18947
|
type: "object"
|
|
18906
18948
|
}
|
|
18907
18949
|
},
|
|
18908
|
-
required: [
|
|
18950
|
+
required: [
|
|
18951
|
+
"created_at",
|
|
18952
|
+
"message",
|
|
18953
|
+
"mutation_code",
|
|
18954
|
+
"from",
|
|
18955
|
+
"to"
|
|
18956
|
+
],
|
|
18909
18957
|
type: "object"
|
|
18910
18958
|
},
|
|
18911
18959
|
{
|
|
@@ -18916,6 +18964,7 @@ var openapi_default = {
|
|
|
18916
18964
|
required: ["is_suspended"],
|
|
18917
18965
|
type: "object"
|
|
18918
18966
|
},
|
|
18967
|
+
message: { type: "string" },
|
|
18919
18968
|
mutation_code: {
|
|
18920
18969
|
enum: ["updating_suspension_state"],
|
|
18921
18970
|
type: "string"
|
|
@@ -18926,7 +18975,13 @@ var openapi_default = {
|
|
|
18926
18975
|
type: "object"
|
|
18927
18976
|
}
|
|
18928
18977
|
},
|
|
18929
|
-
required: [
|
|
18978
|
+
required: [
|
|
18979
|
+
"created_at",
|
|
18980
|
+
"message",
|
|
18981
|
+
"mutation_code",
|
|
18982
|
+
"from",
|
|
18983
|
+
"to"
|
|
18984
|
+
],
|
|
18930
18985
|
type: "object"
|
|
18931
18986
|
},
|
|
18932
18987
|
{
|
|
@@ -18943,6 +18998,7 @@ var openapi_default = {
|
|
|
18943
18998
|
required: ["acs_access_group_id"],
|
|
18944
18999
|
type: "object"
|
|
18945
19000
|
},
|
|
19001
|
+
message: { type: "string" },
|
|
18946
19002
|
mutation_code: {
|
|
18947
19003
|
enum: ["updating_group_membership"],
|
|
18948
19004
|
type: "string"
|
|
@@ -18959,7 +19015,13 @@ var openapi_default = {
|
|
|
18959
19015
|
type: "object"
|
|
18960
19016
|
}
|
|
18961
19017
|
},
|
|
18962
|
-
required: [
|
|
19018
|
+
required: [
|
|
19019
|
+
"created_at",
|
|
19020
|
+
"message",
|
|
19021
|
+
"mutation_code",
|
|
19022
|
+
"from",
|
|
19023
|
+
"to"
|
|
19024
|
+
],
|
|
18963
19025
|
type: "object"
|
|
18964
19026
|
}
|
|
18965
19027
|
]
|