@seamapi/types 1.601.0 → 1.603.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 +148 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +503 -2
- package/dist/index.cjs +148 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +15 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js +11 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +84 -0
- package/lib/seam/connect/openapi.d.ts +121 -2
- package/lib/seam/connect/openapi.js +132 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +310 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +14 -0
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +148 -4
- package/src/lib/seam/connect/route-types.ts +366 -0
package/dist/index.cjs
CHANGED
|
@@ -3743,11 +3743,18 @@ var credential_cannot_be_reissued = zod.z.object({
|
|
|
3743
3743
|
}).describe(
|
|
3744
3744
|
"Error to indicate that the affected credential cannot be reissued."
|
|
3745
3745
|
);
|
|
3746
|
+
var no_card_on_encoder_error = zod.z.object({
|
|
3747
|
+
type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
|
|
3748
|
+
message: zod.z.string().describe(
|
|
3749
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3750
|
+
)
|
|
3751
|
+
}).describe("Error to indicate that there is no card on the encoder.");
|
|
3746
3752
|
var error3 = zod.z.union([
|
|
3747
3753
|
...common_action_attempt_errors,
|
|
3748
3754
|
no_credential_on_encoder_error,
|
|
3749
3755
|
incompatible_card_format_error,
|
|
3750
|
-
credential_cannot_be_reissued
|
|
3756
|
+
credential_cannot_be_reissued,
|
|
3757
|
+
no_card_on_encoder_error
|
|
3751
3758
|
]);
|
|
3752
3759
|
var result3 = acs_credential.or(unmanaged_acs_credential).describe(
|
|
3753
3760
|
"Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
|
|
@@ -3844,9 +3851,16 @@ var no_credential_on_encoder_error2 = zod.z.object({
|
|
|
3844
3851
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3845
3852
|
)
|
|
3846
3853
|
}).describe("Error to indicate that there is no credential on the encoder.");
|
|
3854
|
+
var no_card_on_encoder_error2 = zod.z.object({
|
|
3855
|
+
type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
|
|
3856
|
+
message: zod.z.string().describe(
|
|
3857
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
3858
|
+
)
|
|
3859
|
+
}).describe("Error to indicate that there is no card on the encoder.");
|
|
3847
3860
|
var error7 = zod.z.union([
|
|
3848
3861
|
...common_action_attempt_errors,
|
|
3849
|
-
no_credential_on_encoder_error2
|
|
3862
|
+
no_credential_on_encoder_error2,
|
|
3863
|
+
no_card_on_encoder_error2
|
|
3850
3864
|
]);
|
|
3851
3865
|
var warning = zod.z.object({
|
|
3852
3866
|
warning_code: zod.z.union([
|
|
@@ -10709,6 +10723,22 @@ var openapi_default = {
|
|
|
10709
10723
|
},
|
|
10710
10724
|
required: ["type", "message"],
|
|
10711
10725
|
type: "object"
|
|
10726
|
+
},
|
|
10727
|
+
{
|
|
10728
|
+
description: "Error to indicate that there is no card on the encoder.",
|
|
10729
|
+
properties: {
|
|
10730
|
+
message: {
|
|
10731
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10732
|
+
type: "string"
|
|
10733
|
+
},
|
|
10734
|
+
type: {
|
|
10735
|
+
description: "Error type to indicate that there is no card on the encoder.",
|
|
10736
|
+
enum: ["no_card_on_encoder"],
|
|
10737
|
+
type: "string"
|
|
10738
|
+
}
|
|
10739
|
+
},
|
|
10740
|
+
required: ["type", "message"],
|
|
10741
|
+
type: "object"
|
|
10712
10742
|
}
|
|
10713
10743
|
]
|
|
10714
10744
|
},
|
|
@@ -11663,6 +11693,22 @@ var openapi_default = {
|
|
|
11663
11693
|
},
|
|
11664
11694
|
required: ["type", "message"],
|
|
11665
11695
|
type: "object"
|
|
11696
|
+
},
|
|
11697
|
+
{
|
|
11698
|
+
description: "Error to indicate that there is no card on the encoder.",
|
|
11699
|
+
properties: {
|
|
11700
|
+
message: {
|
|
11701
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
11702
|
+
type: "string"
|
|
11703
|
+
},
|
|
11704
|
+
type: {
|
|
11705
|
+
description: "Error type to indicate that there is no card on the encoder.",
|
|
11706
|
+
enum: ["no_card_on_encoder"],
|
|
11707
|
+
type: "string"
|
|
11708
|
+
}
|
|
11709
|
+
},
|
|
11710
|
+
required: ["type", "message"],
|
|
11711
|
+
type: "object"
|
|
11666
11712
|
}
|
|
11667
11713
|
]
|
|
11668
11714
|
},
|
|
@@ -61616,6 +61662,35 @@ var openapi_default = {
|
|
|
61616
61662
|
format: "uuid",
|
|
61617
61663
|
type: "string"
|
|
61618
61664
|
}
|
|
61665
|
+
},
|
|
61666
|
+
{
|
|
61667
|
+
in: "query",
|
|
61668
|
+
name: "limit",
|
|
61669
|
+
schema: {
|
|
61670
|
+
default: 500,
|
|
61671
|
+
description: "Maximum number of records to return per page.",
|
|
61672
|
+
exclusiveMinimum: true,
|
|
61673
|
+
minimum: 0,
|
|
61674
|
+
type: "integer"
|
|
61675
|
+
}
|
|
61676
|
+
},
|
|
61677
|
+
{
|
|
61678
|
+
in: "query",
|
|
61679
|
+
name: "created_before",
|
|
61680
|
+
schema: {
|
|
61681
|
+
description: "Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.",
|
|
61682
|
+
format: "date-time",
|
|
61683
|
+
type: "string"
|
|
61684
|
+
}
|
|
61685
|
+
},
|
|
61686
|
+
{
|
|
61687
|
+
in: "query",
|
|
61688
|
+
name: "page_cursor",
|
|
61689
|
+
schema: {
|
|
61690
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
61691
|
+
nullable: true,
|
|
61692
|
+
type: "string"
|
|
61693
|
+
}
|
|
61619
61694
|
}
|
|
61620
61695
|
],
|
|
61621
61696
|
responses: {
|
|
@@ -61625,12 +61700,13 @@ var openapi_default = {
|
|
|
61625
61700
|
schema: {
|
|
61626
61701
|
properties: {
|
|
61627
61702
|
ok: { type: "boolean" },
|
|
61703
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
61628
61704
|
user_identities: {
|
|
61629
61705
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
61630
61706
|
type: "array"
|
|
61631
61707
|
}
|
|
61632
61708
|
},
|
|
61633
|
-
required: ["user_identities", "ok"],
|
|
61709
|
+
required: ["user_identities", "pagination", "ok"],
|
|
61634
61710
|
type: "object"
|
|
61635
61711
|
}
|
|
61636
61712
|
}
|
|
@@ -61662,11 +61738,28 @@ var openapi_default = {
|
|
|
61662
61738
|
"application/json": {
|
|
61663
61739
|
schema: {
|
|
61664
61740
|
properties: {
|
|
61741
|
+
created_before: {
|
|
61742
|
+
description: "Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.",
|
|
61743
|
+
format: "date-time",
|
|
61744
|
+
type: "string"
|
|
61745
|
+
},
|
|
61665
61746
|
credential_manager_acs_system_id: {
|
|
61666
61747
|
description: "`acs_system_id` of the credential manager by which you want to filter the list of user identities.",
|
|
61667
61748
|
format: "uuid",
|
|
61668
61749
|
type: "string"
|
|
61669
61750
|
},
|
|
61751
|
+
limit: {
|
|
61752
|
+
default: 500,
|
|
61753
|
+
description: "Maximum number of records to return per page.",
|
|
61754
|
+
exclusiveMinimum: true,
|
|
61755
|
+
minimum: 0,
|
|
61756
|
+
type: "integer"
|
|
61757
|
+
},
|
|
61758
|
+
page_cursor: {
|
|
61759
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
61760
|
+
nullable: true,
|
|
61761
|
+
type: "string"
|
|
61762
|
+
},
|
|
61670
61763
|
search: {
|
|
61671
61764
|
description: "String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.",
|
|
61672
61765
|
type: "string"
|
|
@@ -61684,12 +61777,13 @@ var openapi_default = {
|
|
|
61684
61777
|
schema: {
|
|
61685
61778
|
properties: {
|
|
61686
61779
|
ok: { type: "boolean" },
|
|
61780
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
61687
61781
|
user_identities: {
|
|
61688
61782
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
61689
61783
|
type: "array"
|
|
61690
61784
|
}
|
|
61691
61785
|
},
|
|
61692
|
-
required: ["user_identities", "ok"],
|
|
61786
|
+
required: ["user_identities", "pagination", "ok"],
|
|
61693
61787
|
type: "object"
|
|
61694
61788
|
}
|
|
61695
61789
|
}
|
|
@@ -62708,6 +62802,35 @@ var openapi_default = {
|
|
|
62708
62802
|
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.",
|
|
62709
62803
|
type: "string"
|
|
62710
62804
|
}
|
|
62805
|
+
},
|
|
62806
|
+
{
|
|
62807
|
+
in: "query",
|
|
62808
|
+
name: "limit",
|
|
62809
|
+
schema: {
|
|
62810
|
+
default: 500,
|
|
62811
|
+
description: "Maximum number of records to return per page.",
|
|
62812
|
+
exclusiveMinimum: true,
|
|
62813
|
+
minimum: 0,
|
|
62814
|
+
type: "integer"
|
|
62815
|
+
}
|
|
62816
|
+
},
|
|
62817
|
+
{
|
|
62818
|
+
in: "query",
|
|
62819
|
+
name: "created_before",
|
|
62820
|
+
schema: {
|
|
62821
|
+
description: "Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.",
|
|
62822
|
+
format: "date-time",
|
|
62823
|
+
type: "string"
|
|
62824
|
+
}
|
|
62825
|
+
},
|
|
62826
|
+
{
|
|
62827
|
+
in: "query",
|
|
62828
|
+
name: "page_cursor",
|
|
62829
|
+
schema: {
|
|
62830
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
62831
|
+
nullable: true,
|
|
62832
|
+
type: "string"
|
|
62833
|
+
}
|
|
62711
62834
|
}
|
|
62712
62835
|
],
|
|
62713
62836
|
responses: {
|
|
@@ -62717,6 +62840,7 @@ var openapi_default = {
|
|
|
62717
62840
|
schema: {
|
|
62718
62841
|
properties: {
|
|
62719
62842
|
ok: { type: "boolean" },
|
|
62843
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
62720
62844
|
user_identities: {
|
|
62721
62845
|
items: {
|
|
62722
62846
|
description: "Represents an unmanaged user identity. Unmanaged user identities do not have keys.",
|
|
@@ -62887,7 +63011,7 @@ var openapi_default = {
|
|
|
62887
63011
|
type: "array"
|
|
62888
63012
|
}
|
|
62889
63013
|
},
|
|
62890
|
-
required: ["user_identities", "ok"],
|
|
63014
|
+
required: ["user_identities", "pagination", "ok"],
|
|
62891
63015
|
type: "object"
|
|
62892
63016
|
}
|
|
62893
63017
|
}
|
|
@@ -62919,6 +63043,23 @@ var openapi_default = {
|
|
|
62919
63043
|
"application/json": {
|
|
62920
63044
|
schema: {
|
|
62921
63045
|
properties: {
|
|
63046
|
+
created_before: {
|
|
63047
|
+
description: "Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.",
|
|
63048
|
+
format: "date-time",
|
|
63049
|
+
type: "string"
|
|
63050
|
+
},
|
|
63051
|
+
limit: {
|
|
63052
|
+
default: 500,
|
|
63053
|
+
description: "Maximum number of records to return per page.",
|
|
63054
|
+
exclusiveMinimum: true,
|
|
63055
|
+
minimum: 0,
|
|
63056
|
+
type: "integer"
|
|
63057
|
+
},
|
|
63058
|
+
page_cursor: {
|
|
63059
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
63060
|
+
nullable: true,
|
|
63061
|
+
type: "string"
|
|
63062
|
+
},
|
|
62922
63063
|
search: {
|
|
62923
63064
|
description: "String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.",
|
|
62924
63065
|
type: "string"
|
|
@@ -62936,6 +63077,7 @@ var openapi_default = {
|
|
|
62936
63077
|
schema: {
|
|
62937
63078
|
properties: {
|
|
62938
63079
|
ok: { type: "boolean" },
|
|
63080
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
62939
63081
|
user_identities: {
|
|
62940
63082
|
items: {
|
|
62941
63083
|
description: "Represents an unmanaged user identity. Unmanaged user identities do not have keys.",
|
|
@@ -63106,7 +63248,7 @@ var openapi_default = {
|
|
|
63106
63248
|
type: "array"
|
|
63107
63249
|
}
|
|
63108
63250
|
},
|
|
63109
|
-
required: ["user_identities", "ok"],
|
|
63251
|
+
required: ["user_identities", "pagination", "ok"],
|
|
63110
63252
|
type: "object"
|
|
63111
63253
|
}
|
|
63112
63254
|
}
|