@seamapi/types 1.746.0 → 1.748.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 +164 -34
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +280 -60
- package/dist/index.cjs +164 -34
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +81 -0
- package/lib/seam/connect/models/access-grants/access-method.js +16 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +36 -0
- package/lib/seam/connect/openapi.d.ts +146 -58
- package/lib/seam/connect/openapi.js +152 -32
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +72 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +21 -0
- package/src/lib/seam/connect/openapi.ts +177 -32
- package/src/lib/seam/connect/route-types.ts +80 -2
package/dist/connect.cjs
CHANGED
|
@@ -2704,15 +2704,25 @@ var updating_access_times_warning = common_access_method_warning.extend({
|
|
|
2704
2704
|
}).describe(
|
|
2705
2705
|
"Indicates that the access times for this [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) are being updated."
|
|
2706
2706
|
);
|
|
2707
|
+
var pulled_backup_access_code_warning = common_access_method_warning.extend({
|
|
2708
|
+
warning_code: zod.z.literal("pulled_backup_access_code").describe(warning_code_description5),
|
|
2709
|
+
original_access_method_id: zod.z.string().uuid().optional().describe(
|
|
2710
|
+
"ID of the original access method from which this backup access method was split, if applicable."
|
|
2711
|
+
)
|
|
2712
|
+
}).describe(
|
|
2713
|
+
"Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time."
|
|
2714
|
+
);
|
|
2707
2715
|
var access_method_warning = zod.z.discriminatedUnion("warning_code", [
|
|
2708
2716
|
being_deleted4,
|
|
2709
|
-
updating_access_times_warning
|
|
2717
|
+
updating_access_times_warning,
|
|
2718
|
+
pulled_backup_access_code_warning
|
|
2710
2719
|
]).describe(
|
|
2711
2720
|
"Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
2712
2721
|
);
|
|
2713
2722
|
zod.z.object({
|
|
2714
2723
|
being_deleted: being_deleted4.optional().nullable(),
|
|
2715
|
-
updating_access_times: updating_access_times_warning.optional().nullable()
|
|
2724
|
+
updating_access_times: updating_access_times_warning.optional().nullable(),
|
|
2725
|
+
pulled_backup_access_code: pulled_backup_access_code_warning.optional().nullable()
|
|
2716
2726
|
});
|
|
2717
2727
|
var common_pending_mutation2 = zod.z.object({
|
|
2718
2728
|
created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
|
|
@@ -8860,6 +8870,32 @@ var openapi_default = {
|
|
|
8860
8870
|
},
|
|
8861
8871
|
required: ["created_at", "message", "warning_code"],
|
|
8862
8872
|
type: "object"
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
|
|
8876
|
+
properties: {
|
|
8877
|
+
created_at: {
|
|
8878
|
+
description: "Date and time at which Seam created the warning.",
|
|
8879
|
+
format: "date-time",
|
|
8880
|
+
type: "string"
|
|
8881
|
+
},
|
|
8882
|
+
message: {
|
|
8883
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8884
|
+
type: "string"
|
|
8885
|
+
},
|
|
8886
|
+
original_access_method_id: {
|
|
8887
|
+
description: "ID of the original access method from which this backup access method was split, if applicable.",
|
|
8888
|
+
format: "uuid",
|
|
8889
|
+
type: "string"
|
|
8890
|
+
},
|
|
8891
|
+
warning_code: {
|
|
8892
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8893
|
+
enum: ["pulled_backup_access_code"],
|
|
8894
|
+
type: "string"
|
|
8895
|
+
}
|
|
8896
|
+
},
|
|
8897
|
+
required: ["created_at", "message", "warning_code"],
|
|
8898
|
+
type: "object"
|
|
8863
8899
|
}
|
|
8864
8900
|
]
|
|
8865
8901
|
},
|
|
@@ -41348,6 +41384,36 @@ var openapi_default = {
|
|
|
41348
41384
|
"warning_code"
|
|
41349
41385
|
],
|
|
41350
41386
|
type: "object"
|
|
41387
|
+
},
|
|
41388
|
+
{
|
|
41389
|
+
description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
|
|
41390
|
+
properties: {
|
|
41391
|
+
created_at: {
|
|
41392
|
+
description: "Date and time at which Seam created the warning.",
|
|
41393
|
+
format: "date-time",
|
|
41394
|
+
type: "string"
|
|
41395
|
+
},
|
|
41396
|
+
message: {
|
|
41397
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
41398
|
+
type: "string"
|
|
41399
|
+
},
|
|
41400
|
+
original_access_method_id: {
|
|
41401
|
+
description: "ID of the original access method from which this backup access method was split, if applicable.",
|
|
41402
|
+
format: "uuid",
|
|
41403
|
+
type: "string"
|
|
41404
|
+
},
|
|
41405
|
+
warning_code: {
|
|
41406
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
41407
|
+
enum: ["pulled_backup_access_code"],
|
|
41408
|
+
type: "string"
|
|
41409
|
+
}
|
|
41410
|
+
},
|
|
41411
|
+
required: [
|
|
41412
|
+
"created_at",
|
|
41413
|
+
"message",
|
|
41414
|
+
"warning_code"
|
|
41415
|
+
],
|
|
41416
|
+
type: "object"
|
|
41351
41417
|
}
|
|
41352
41418
|
]
|
|
41353
41419
|
},
|
|
@@ -41710,6 +41776,36 @@ var openapi_default = {
|
|
|
41710
41776
|
"warning_code"
|
|
41711
41777
|
],
|
|
41712
41778
|
type: "object"
|
|
41779
|
+
},
|
|
41780
|
+
{
|
|
41781
|
+
description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
|
|
41782
|
+
properties: {
|
|
41783
|
+
created_at: {
|
|
41784
|
+
description: "Date and time at which Seam created the warning.",
|
|
41785
|
+
format: "date-time",
|
|
41786
|
+
type: "string"
|
|
41787
|
+
},
|
|
41788
|
+
message: {
|
|
41789
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
41790
|
+
type: "string"
|
|
41791
|
+
},
|
|
41792
|
+
original_access_method_id: {
|
|
41793
|
+
description: "ID of the original access method from which this backup access method was split, if applicable.",
|
|
41794
|
+
format: "uuid",
|
|
41795
|
+
type: "string"
|
|
41796
|
+
},
|
|
41797
|
+
warning_code: {
|
|
41798
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
41799
|
+
enum: ["pulled_backup_access_code"],
|
|
41800
|
+
type: "string"
|
|
41801
|
+
}
|
|
41802
|
+
},
|
|
41803
|
+
required: [
|
|
41804
|
+
"created_at",
|
|
41805
|
+
"message",
|
|
41806
|
+
"warning_code"
|
|
41807
|
+
],
|
|
41808
|
+
type: "object"
|
|
41713
41809
|
}
|
|
41714
41810
|
]
|
|
41715
41811
|
},
|
|
@@ -42100,6 +42196,36 @@ var openapi_default = {
|
|
|
42100
42196
|
"warning_code"
|
|
42101
42197
|
],
|
|
42102
42198
|
type: "object"
|
|
42199
|
+
},
|
|
42200
|
+
{
|
|
42201
|
+
description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
|
|
42202
|
+
properties: {
|
|
42203
|
+
created_at: {
|
|
42204
|
+
description: "Date and time at which Seam created the warning.",
|
|
42205
|
+
format: "date-time",
|
|
42206
|
+
type: "string"
|
|
42207
|
+
},
|
|
42208
|
+
message: {
|
|
42209
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
42210
|
+
type: "string"
|
|
42211
|
+
},
|
|
42212
|
+
original_access_method_id: {
|
|
42213
|
+
description: "ID of the original access method from which this backup access method was split, if applicable.",
|
|
42214
|
+
format: "uuid",
|
|
42215
|
+
type: "string"
|
|
42216
|
+
},
|
|
42217
|
+
warning_code: {
|
|
42218
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
42219
|
+
enum: ["pulled_backup_access_code"],
|
|
42220
|
+
type: "string"
|
|
42221
|
+
}
|
|
42222
|
+
},
|
|
42223
|
+
required: [
|
|
42224
|
+
"created_at",
|
|
42225
|
+
"message",
|
|
42226
|
+
"warning_code"
|
|
42227
|
+
],
|
|
42228
|
+
type: "object"
|
|
42103
42229
|
}
|
|
42104
42230
|
]
|
|
42105
42231
|
},
|
|
@@ -42480,6 +42606,36 @@ var openapi_default = {
|
|
|
42480
42606
|
"warning_code"
|
|
42481
42607
|
],
|
|
42482
42608
|
type: "object"
|
|
42609
|
+
},
|
|
42610
|
+
{
|
|
42611
|
+
description: "Indicates that all attempts to create an access code on this device before the start time failed and a backup access code was used to ensure access was provided in time.",
|
|
42612
|
+
properties: {
|
|
42613
|
+
created_at: {
|
|
42614
|
+
description: "Date and time at which Seam created the warning.",
|
|
42615
|
+
format: "date-time",
|
|
42616
|
+
type: "string"
|
|
42617
|
+
},
|
|
42618
|
+
message: {
|
|
42619
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
42620
|
+
type: "string"
|
|
42621
|
+
},
|
|
42622
|
+
original_access_method_id: {
|
|
42623
|
+
description: "ID of the original access method from which this backup access method was split, if applicable.",
|
|
42624
|
+
format: "uuid",
|
|
42625
|
+
type: "string"
|
|
42626
|
+
},
|
|
42627
|
+
warning_code: {
|
|
42628
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
42629
|
+
enum: ["pulled_backup_access_code"],
|
|
42630
|
+
type: "string"
|
|
42631
|
+
}
|
|
42632
|
+
},
|
|
42633
|
+
required: [
|
|
42634
|
+
"created_at",
|
|
42635
|
+
"message",
|
|
42636
|
+
"warning_code"
|
|
42637
|
+
],
|
|
42638
|
+
type: "object"
|
|
42483
42639
|
}
|
|
42484
42640
|
]
|
|
42485
42641
|
},
|
|
@@ -63079,7 +63235,7 @@ var openapi_default = {
|
|
|
63079
63235
|
},
|
|
63080
63236
|
"/seam/customer/v1/automations/update": {
|
|
63081
63237
|
patch: {
|
|
63082
|
-
description: "Updates the automation configuration for a customer portal workspace
|
|
63238
|
+
description: "Updates the automation configuration for a customer portal workspace.",
|
|
63083
63239
|
operationId: "seamCustomerV1AutomationsUpdatePatch",
|
|
63084
63240
|
requestBody: {
|
|
63085
63241
|
content: {
|
|
@@ -63348,11 +63504,7 @@ var openapi_default = {
|
|
|
63348
63504
|
400: { description: "Bad Request" },
|
|
63349
63505
|
401: { description: "Unauthorized" }
|
|
63350
63506
|
},
|
|
63351
|
-
security: [
|
|
63352
|
-
{ console_session_with_workspace: [] },
|
|
63353
|
-
{ api_key: [] },
|
|
63354
|
-
{ client_session_with_customer: [] }
|
|
63355
|
-
],
|
|
63507
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
63356
63508
|
summary: "/seam/customer/v1/automations/update",
|
|
63357
63509
|
tags: [],
|
|
63358
63510
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
|
|
@@ -63362,7 +63514,7 @@ var openapi_default = {
|
|
|
63362
63514
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
63363
63515
|
},
|
|
63364
63516
|
post: {
|
|
63365
|
-
description: "Updates the automation configuration for a customer portal workspace
|
|
63517
|
+
description: "Updates the automation configuration for a customer portal workspace.",
|
|
63366
63518
|
operationId: "seamCustomerV1AutomationsUpdatePost",
|
|
63367
63519
|
requestBody: {
|
|
63368
63520
|
content: {
|
|
@@ -63631,11 +63783,7 @@ var openapi_default = {
|
|
|
63631
63783
|
400: { description: "Bad Request" },
|
|
63632
63784
|
401: { description: "Unauthorized" }
|
|
63633
63785
|
},
|
|
63634
|
-
security: [
|
|
63635
|
-
{ console_session_with_workspace: [] },
|
|
63636
|
-
{ api_key: [] },
|
|
63637
|
-
{ client_session_with_customer: [] }
|
|
63638
|
-
],
|
|
63786
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
63639
63787
|
summary: "/seam/customer/v1/automations/update",
|
|
63640
63788
|
tags: [],
|
|
63641
63789
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
|
|
@@ -65474,13 +65622,8 @@ var openapi_default = {
|
|
|
65474
65622
|
}
|
|
65475
65623
|
},
|
|
65476
65624
|
type: "object"
|
|
65477
|
-
},
|
|
65478
|
-
customer_key: {
|
|
65479
|
-
description: "Key of the customer.",
|
|
65480
|
-
type: "string"
|
|
65481
65625
|
}
|
|
65482
65626
|
},
|
|
65483
|
-
required: ["customer_key"],
|
|
65484
65627
|
type: "object"
|
|
65485
65628
|
}
|
|
65486
65629
|
}
|
|
@@ -65502,11 +65645,7 @@ var openapi_default = {
|
|
|
65502
65645
|
400: { description: "Bad Request" },
|
|
65503
65646
|
401: { description: "Unauthorized" }
|
|
65504
65647
|
},
|
|
65505
|
-
security: [
|
|
65506
|
-
{ pat_with_workspace: [] },
|
|
65507
|
-
{ console_session_with_workspace: [] },
|
|
65508
|
-
{ api_key: [] }
|
|
65509
|
-
],
|
|
65648
|
+
security: [{ client_session_with_customer: [] }],
|
|
65510
65649
|
summary: "/seam/customer/v1/customers/automations/update",
|
|
65511
65650
|
tags: [],
|
|
65512
65651
|
"x-fern-sdk-group-name": [
|
|
@@ -65767,13 +65906,8 @@ var openapi_default = {
|
|
|
65767
65906
|
}
|
|
65768
65907
|
},
|
|
65769
65908
|
type: "object"
|
|
65770
|
-
},
|
|
65771
|
-
customer_key: {
|
|
65772
|
-
description: "Key of the customer.",
|
|
65773
|
-
type: "string"
|
|
65774
65909
|
}
|
|
65775
65910
|
},
|
|
65776
|
-
required: ["customer_key"],
|
|
65777
65911
|
type: "object"
|
|
65778
65912
|
}
|
|
65779
65913
|
}
|
|
@@ -65795,11 +65929,7 @@ var openapi_default = {
|
|
|
65795
65929
|
400: { description: "Bad Request" },
|
|
65796
65930
|
401: { description: "Unauthorized" }
|
|
65797
65931
|
},
|
|
65798
|
-
security: [
|
|
65799
|
-
{ pat_with_workspace: [] },
|
|
65800
|
-
{ console_session_with_workspace: [] },
|
|
65801
|
-
{ api_key: [] }
|
|
65802
|
-
],
|
|
65932
|
+
security: [{ client_session_with_customer: [] }],
|
|
65803
65933
|
summary: "/seam/customer/v1/customers/automations/update",
|
|
65804
65934
|
tags: [],
|
|
65805
65935
|
"x-fern-sdk-group-name": [
|