@seamapi/types 1.264.0 → 1.264.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 +74 -41
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +506 -336
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +64 -39
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +61 -21
- package/lib/seam/connect/models/action-attempts/deprecated.js +13 -5
- package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +3 -18
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -12
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
- package/lib/seam/connect/models/action-attempts/index.js +1 -0
- package/lib/seam/connect/models/action-attempts/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +69 -36
- package/lib/seam/connect/openapi.js +57 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +320 -260
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/deprecated.ts +13 -5
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -12
- package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +57 -33
- package/src/lib/seam/connect/route-types.ts +320 -260
- package/src/lib/seam/connect/schemas.ts +3 -0
package/dist/connect.cjs
CHANGED
|
@@ -19,6 +19,9 @@ __export(schemas_exports, {
|
|
|
19
19
|
acs_user: () => acs_user,
|
|
20
20
|
action_attempt: () => action_attempt,
|
|
21
21
|
client_session: () => client_session,
|
|
22
|
+
common_failed_action_attempt: () => common_failed_action_attempt,
|
|
23
|
+
common_pending_action_attempt: () => common_pending_action_attempt,
|
|
24
|
+
common_succeeded_action_attempt: () => common_succeeded_action_attempt,
|
|
22
25
|
connect_webview: () => connect_webview,
|
|
23
26
|
connected_account: () => connected_account,
|
|
24
27
|
custom_metadata: () => custom_metadata,
|
|
@@ -1583,7 +1586,7 @@ var error2 = zod.z.object({
|
|
|
1583
1586
|
type: zod.z.string(),
|
|
1584
1587
|
message: zod.z.string()
|
|
1585
1588
|
});
|
|
1586
|
-
var result2 = zod.z.
|
|
1589
|
+
var result2 = zod.z.object({});
|
|
1587
1590
|
var sync_access_codes_action_attempt = zod.z.discriminatedUnion("status", [
|
|
1588
1591
|
common_pending_action_attempt.extend({
|
|
1589
1592
|
action_type: zod.z.literal("SYNC_ACCESS_CODES")
|
|
@@ -1603,7 +1606,9 @@ var create_access_code_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1603
1606
|
}),
|
|
1604
1607
|
common_succeeded_action_attempt.extend({
|
|
1605
1608
|
action_type: zod.z.literal("CREATE_ACCESS_CODE"),
|
|
1606
|
-
result:
|
|
1609
|
+
result: zod.z.object({
|
|
1610
|
+
access_code: zod.z.any()
|
|
1611
|
+
})
|
|
1607
1612
|
}),
|
|
1608
1613
|
common_failed_action_attempt.extend({
|
|
1609
1614
|
action_type: zod.z.literal("CREATE_ACCESS_CODE"),
|
|
@@ -1629,7 +1634,9 @@ var update_access_code_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1629
1634
|
}),
|
|
1630
1635
|
common_succeeded_action_attempt.extend({
|
|
1631
1636
|
action_type: zod.z.literal("UPDATE_ACCESS_CODE"),
|
|
1632
|
-
result:
|
|
1637
|
+
result: zod.z.object({
|
|
1638
|
+
access_code: zod.z.any()
|
|
1639
|
+
})
|
|
1633
1640
|
}),
|
|
1634
1641
|
common_failed_action_attempt.extend({
|
|
1635
1642
|
action_type: zod.z.literal("UPDATE_ACCESS_CODE"),
|
|
@@ -1642,7 +1649,9 @@ var create_noise_threshold_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1642
1649
|
}),
|
|
1643
1650
|
common_succeeded_action_attempt.extend({
|
|
1644
1651
|
action_type: zod.z.literal("CREATE_NOISE_THRESHOLD"),
|
|
1645
|
-
result:
|
|
1652
|
+
result: zod.z.object({
|
|
1653
|
+
noise_threshold: zod.z.any()
|
|
1654
|
+
})
|
|
1646
1655
|
}),
|
|
1647
1656
|
common_failed_action_attempt.extend({
|
|
1648
1657
|
action_type: zod.z.literal("CREATE_NOISE_THRESHOLD"),
|
|
@@ -1668,7 +1677,9 @@ var update_noise_threshold_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1668
1677
|
}),
|
|
1669
1678
|
common_succeeded_action_attempt.extend({
|
|
1670
1679
|
action_type: zod.z.literal("UPDATE_NOISE_THRESHOLD"),
|
|
1671
|
-
result:
|
|
1680
|
+
result: zod.z.object({
|
|
1681
|
+
noise_threshold: zod.z.any()
|
|
1682
|
+
})
|
|
1672
1683
|
}),
|
|
1673
1684
|
common_failed_action_attempt.extend({
|
|
1674
1685
|
action_type: zod.z.literal("UPDATE_NOISE_THRESHOLD"),
|
|
@@ -1690,11 +1701,7 @@ var error3 = zod.z.object({
|
|
|
1690
1701
|
// TODO This should be typed properly with the possible errors
|
|
1691
1702
|
message: zod.z.string()
|
|
1692
1703
|
});
|
|
1693
|
-
var result3 = zod.z.object({
|
|
1694
|
-
acs_credential_id: zod.z.string().uuid().nullable().describe("Matching acs_credential currently encoded on this card."),
|
|
1695
|
-
card_number: zod.z.string().nullable().describe("A number or string that physically identifies this card.")
|
|
1696
|
-
// TODO visionline_metadata: visionline_credential_metadata,
|
|
1697
|
-
});
|
|
1704
|
+
var result3 = zod.z.object({});
|
|
1698
1705
|
var encode_card_action_attempt = zod.z.discriminatedUnion("status", [
|
|
1699
1706
|
common_pending_action_attempt.extend({
|
|
1700
1707
|
action_type: action_type2
|
|
@@ -4075,23 +4082,7 @@ var openapi_default = {
|
|
|
4075
4082
|
},
|
|
4076
4083
|
action_type: { enum: ["ENCODE_CARD"], type: "string" },
|
|
4077
4084
|
error: { nullable: true },
|
|
4078
|
-
result: {
|
|
4079
|
-
properties: {
|
|
4080
|
-
acs_credential_id: {
|
|
4081
|
-
description: "Matching acs_credential currently encoded on this card.",
|
|
4082
|
-
format: "uuid",
|
|
4083
|
-
nullable: true,
|
|
4084
|
-
type: "string"
|
|
4085
|
-
},
|
|
4086
|
-
card_number: {
|
|
4087
|
-
description: "A number or string that physically identifies this card.",
|
|
4088
|
-
nullable: true,
|
|
4089
|
-
type: "string"
|
|
4090
|
-
}
|
|
4091
|
-
},
|
|
4092
|
-
required: ["acs_credential_id", "card_number"],
|
|
4093
|
-
type: "object"
|
|
4094
|
-
},
|
|
4085
|
+
result: { properties: {}, type: "object" },
|
|
4095
4086
|
status: { enum: ["success"], type: "string" }
|
|
4096
4087
|
},
|
|
4097
4088
|
required: [
|
|
@@ -4715,10 +4706,16 @@ var openapi_default = {
|
|
|
4715
4706
|
},
|
|
4716
4707
|
action_type: { enum: ["SYNC_ACCESS_CODES"], type: "string" },
|
|
4717
4708
|
error: { nullable: true },
|
|
4718
|
-
result: {},
|
|
4709
|
+
result: { properties: {}, type: "object" },
|
|
4719
4710
|
status: { enum: ["success"], type: "string" }
|
|
4720
4711
|
},
|
|
4721
|
-
required: [
|
|
4712
|
+
required: [
|
|
4713
|
+
"action_attempt_id",
|
|
4714
|
+
"status",
|
|
4715
|
+
"error",
|
|
4716
|
+
"action_type",
|
|
4717
|
+
"result"
|
|
4718
|
+
],
|
|
4722
4719
|
type: "object"
|
|
4723
4720
|
},
|
|
4724
4721
|
{
|
|
@@ -4782,10 +4779,16 @@ var openapi_default = {
|
|
|
4782
4779
|
},
|
|
4783
4780
|
action_type: { enum: ["CREATE_ACCESS_CODE"], type: "string" },
|
|
4784
4781
|
error: { nullable: true },
|
|
4785
|
-
result: {},
|
|
4782
|
+
result: { properties: { access_code: {} }, type: "object" },
|
|
4786
4783
|
status: { enum: ["success"], type: "string" }
|
|
4787
4784
|
},
|
|
4788
|
-
required: [
|
|
4785
|
+
required: [
|
|
4786
|
+
"action_attempt_id",
|
|
4787
|
+
"status",
|
|
4788
|
+
"error",
|
|
4789
|
+
"action_type",
|
|
4790
|
+
"result"
|
|
4791
|
+
],
|
|
4789
4792
|
type: "object"
|
|
4790
4793
|
},
|
|
4791
4794
|
{
|
|
@@ -4849,10 +4852,16 @@ var openapi_default = {
|
|
|
4849
4852
|
},
|
|
4850
4853
|
action_type: { enum: ["DELETE_ACCESS_CODE"], type: "string" },
|
|
4851
4854
|
error: { nullable: true },
|
|
4852
|
-
result: {},
|
|
4855
|
+
result: { properties: {}, type: "object" },
|
|
4853
4856
|
status: { enum: ["success"], type: "string" }
|
|
4854
4857
|
},
|
|
4855
|
-
required: [
|
|
4858
|
+
required: [
|
|
4859
|
+
"action_attempt_id",
|
|
4860
|
+
"status",
|
|
4861
|
+
"error",
|
|
4862
|
+
"action_type",
|
|
4863
|
+
"result"
|
|
4864
|
+
],
|
|
4856
4865
|
type: "object"
|
|
4857
4866
|
},
|
|
4858
4867
|
{
|
|
@@ -4916,10 +4925,16 @@ var openapi_default = {
|
|
|
4916
4925
|
},
|
|
4917
4926
|
action_type: { enum: ["UPDATE_ACCESS_CODE"], type: "string" },
|
|
4918
4927
|
error: { nullable: true },
|
|
4919
|
-
result: {},
|
|
4928
|
+
result: { properties: { access_code: {} }, type: "object" },
|
|
4920
4929
|
status: { enum: ["success"], type: "string" }
|
|
4921
4930
|
},
|
|
4922
|
-
required: [
|
|
4931
|
+
required: [
|
|
4932
|
+
"action_attempt_id",
|
|
4933
|
+
"status",
|
|
4934
|
+
"error",
|
|
4935
|
+
"action_type",
|
|
4936
|
+
"result"
|
|
4937
|
+
],
|
|
4923
4938
|
type: "object"
|
|
4924
4939
|
},
|
|
4925
4940
|
{
|
|
@@ -4983,10 +4998,16 @@ var openapi_default = {
|
|
|
4983
4998
|
},
|
|
4984
4999
|
action_type: { enum: ["CREATE_NOISE_THRESHOLD"], type: "string" },
|
|
4985
5000
|
error: { nullable: true },
|
|
4986
|
-
result: {},
|
|
5001
|
+
result: { properties: { noise_threshold: {} }, type: "object" },
|
|
4987
5002
|
status: { enum: ["success"], type: "string" }
|
|
4988
5003
|
},
|
|
4989
|
-
required: [
|
|
5004
|
+
required: [
|
|
5005
|
+
"action_attempt_id",
|
|
5006
|
+
"status",
|
|
5007
|
+
"error",
|
|
5008
|
+
"action_type",
|
|
5009
|
+
"result"
|
|
5010
|
+
],
|
|
4990
5011
|
type: "object"
|
|
4991
5012
|
},
|
|
4992
5013
|
{
|
|
@@ -5050,10 +5071,16 @@ var openapi_default = {
|
|
|
5050
5071
|
},
|
|
5051
5072
|
action_type: { enum: ["DELETE_NOISE_THRESHOLD"], type: "string" },
|
|
5052
5073
|
error: { nullable: true },
|
|
5053
|
-
result: {},
|
|
5074
|
+
result: { properties: {}, type: "object" },
|
|
5054
5075
|
status: { enum: ["success"], type: "string" }
|
|
5055
5076
|
},
|
|
5056
|
-
required: [
|
|
5077
|
+
required: [
|
|
5078
|
+
"action_attempt_id",
|
|
5079
|
+
"status",
|
|
5080
|
+
"error",
|
|
5081
|
+
"action_type",
|
|
5082
|
+
"result"
|
|
5083
|
+
],
|
|
5057
5084
|
type: "object"
|
|
5058
5085
|
},
|
|
5059
5086
|
{
|
|
@@ -5117,10 +5144,16 @@ var openapi_default = {
|
|
|
5117
5144
|
},
|
|
5118
5145
|
action_type: { enum: ["UPDATE_NOISE_THRESHOLD"], type: "string" },
|
|
5119
5146
|
error: { nullable: true },
|
|
5120
|
-
result: {},
|
|
5147
|
+
result: { properties: { noise_threshold: {} }, type: "object" },
|
|
5121
5148
|
status: { enum: ["success"], type: "string" }
|
|
5122
5149
|
},
|
|
5123
|
-
required: [
|
|
5150
|
+
required: [
|
|
5151
|
+
"action_attempt_id",
|
|
5152
|
+
"status",
|
|
5153
|
+
"error",
|
|
5154
|
+
"action_type",
|
|
5155
|
+
"result"
|
|
5156
|
+
],
|
|
5124
5157
|
type: "object"
|
|
5125
5158
|
},
|
|
5126
5159
|
{
|