@seamapi/types 1.511.0 → 1.513.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 +494 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +636 -3
- package/dist/index.cjs +494 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +557 -2
- package/lib/seam/connect/openapi.js +494 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +79 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +502 -2
- package/src/lib/seam/connect/route-types.ts +90 -1
package/dist/connect.cjs
CHANGED
|
@@ -45434,12 +45434,20 @@ var openapi_default = {
|
|
|
45434
45434
|
{
|
|
45435
45435
|
in: "query",
|
|
45436
45436
|
name: "instant_key_id",
|
|
45437
|
-
required: true,
|
|
45438
45437
|
schema: {
|
|
45439
45438
|
description: "ID of the instant key to get.",
|
|
45440
45439
|
format: "uuid",
|
|
45441
45440
|
type: "string"
|
|
45442
45441
|
}
|
|
45442
|
+
},
|
|
45443
|
+
{
|
|
45444
|
+
in: "query",
|
|
45445
|
+
name: "instant_key_url",
|
|
45446
|
+
schema: {
|
|
45447
|
+
description: "URL of the instant key to get.",
|
|
45448
|
+
format: "uri",
|
|
45449
|
+
type: "string"
|
|
45450
|
+
}
|
|
45443
45451
|
}
|
|
45444
45452
|
],
|
|
45445
45453
|
responses: {
|
|
@@ -45486,9 +45494,13 @@ var openapi_default = {
|
|
|
45486
45494
|
description: "ID of the instant key to get.",
|
|
45487
45495
|
format: "uuid",
|
|
45488
45496
|
type: "string"
|
|
45497
|
+
},
|
|
45498
|
+
instant_key_url: {
|
|
45499
|
+
description: "URL of the instant key to get.",
|
|
45500
|
+
format: "uri",
|
|
45501
|
+
type: "string"
|
|
45489
45502
|
}
|
|
45490
45503
|
},
|
|
45491
|
-
required: ["instant_key_id"],
|
|
45492
45504
|
type: "object"
|
|
45493
45505
|
}
|
|
45494
45506
|
}
|
|
@@ -48783,6 +48795,486 @@ var openapi_default = {
|
|
|
48783
48795
|
"x-undocumented": "Internal endpoint for Console"
|
|
48784
48796
|
}
|
|
48785
48797
|
},
|
|
48798
|
+
"/seam/console/v1/timelines/get": {
|
|
48799
|
+
get: {
|
|
48800
|
+
description: "Returns timeline entries for a resource and its child resources, grouped by entry groups.",
|
|
48801
|
+
operationId: "seamConsoleV1TimelinesGetGet",
|
|
48802
|
+
parameters: [
|
|
48803
|
+
{
|
|
48804
|
+
in: "query",
|
|
48805
|
+
name: "resource_id",
|
|
48806
|
+
required: true,
|
|
48807
|
+
schema: {
|
|
48808
|
+
description: "ID of the resource to get timelines for.",
|
|
48809
|
+
format: "uuid",
|
|
48810
|
+
type: "string"
|
|
48811
|
+
}
|
|
48812
|
+
},
|
|
48813
|
+
{
|
|
48814
|
+
in: "query",
|
|
48815
|
+
name: "limit",
|
|
48816
|
+
required: false,
|
|
48817
|
+
schema: {
|
|
48818
|
+
default: 50,
|
|
48819
|
+
description: "Maximum number of timeline entry groups to return per page.",
|
|
48820
|
+
exclusiveMinimum: true,
|
|
48821
|
+
minimum: 0,
|
|
48822
|
+
type: "integer"
|
|
48823
|
+
}
|
|
48824
|
+
},
|
|
48825
|
+
{
|
|
48826
|
+
in: "query",
|
|
48827
|
+
name: "created_before",
|
|
48828
|
+
required: false,
|
|
48829
|
+
schema: {
|
|
48830
|
+
description: "Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp.",
|
|
48831
|
+
format: "date-time",
|
|
48832
|
+
type: "string"
|
|
48833
|
+
}
|
|
48834
|
+
},
|
|
48835
|
+
{
|
|
48836
|
+
in: "query",
|
|
48837
|
+
name: "page_cursor",
|
|
48838
|
+
required: false,
|
|
48839
|
+
schema: {
|
|
48840
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
48841
|
+
type: "string"
|
|
48842
|
+
}
|
|
48843
|
+
}
|
|
48844
|
+
],
|
|
48845
|
+
responses: {
|
|
48846
|
+
200: {
|
|
48847
|
+
content: {
|
|
48848
|
+
"application/json": {
|
|
48849
|
+
schema: {
|
|
48850
|
+
properties: {
|
|
48851
|
+
ok: { type: "boolean" },
|
|
48852
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
48853
|
+
timeline: {
|
|
48854
|
+
items: {
|
|
48855
|
+
properties: {
|
|
48856
|
+
context: {
|
|
48857
|
+
oneOf: [
|
|
48858
|
+
{
|
|
48859
|
+
properties: {
|
|
48860
|
+
context_type: {
|
|
48861
|
+
enum: ["request"],
|
|
48862
|
+
type: "string"
|
|
48863
|
+
},
|
|
48864
|
+
request_id: { type: "string" },
|
|
48865
|
+
request_payload: {
|
|
48866
|
+
additionalProperties: {
|
|
48867
|
+
$ref: "#/components/schemas/access_code"
|
|
48868
|
+
},
|
|
48869
|
+
type: "object"
|
|
48870
|
+
},
|
|
48871
|
+
response_payload: {
|
|
48872
|
+
additionalProperties: {
|
|
48873
|
+
$ref: "#/components/schemas/access_code"
|
|
48874
|
+
},
|
|
48875
|
+
type: "object"
|
|
48876
|
+
}
|
|
48877
|
+
},
|
|
48878
|
+
required: [
|
|
48879
|
+
"context_type",
|
|
48880
|
+
"request_id",
|
|
48881
|
+
"request_payload",
|
|
48882
|
+
"response_payload"
|
|
48883
|
+
],
|
|
48884
|
+
type: "object"
|
|
48885
|
+
},
|
|
48886
|
+
{
|
|
48887
|
+
properties: {
|
|
48888
|
+
context_type: {
|
|
48889
|
+
enum: ["job"],
|
|
48890
|
+
type: "string"
|
|
48891
|
+
},
|
|
48892
|
+
job_id: { type: "string" }
|
|
48893
|
+
},
|
|
48894
|
+
required: ["context_type", "job_id"],
|
|
48895
|
+
type: "object"
|
|
48896
|
+
}
|
|
48897
|
+
]
|
|
48898
|
+
},
|
|
48899
|
+
created_at: { type: "string" },
|
|
48900
|
+
entries: {
|
|
48901
|
+
items: {
|
|
48902
|
+
properties: {
|
|
48903
|
+
body: {
|
|
48904
|
+
oneOf: [
|
|
48905
|
+
{
|
|
48906
|
+
properties: {
|
|
48907
|
+
description: { type: "string" },
|
|
48908
|
+
entry_type: {
|
|
48909
|
+
enum: ["resource_created"],
|
|
48910
|
+
type: "string"
|
|
48911
|
+
}
|
|
48912
|
+
},
|
|
48913
|
+
required: ["entry_type", "description"],
|
|
48914
|
+
type: "object"
|
|
48915
|
+
},
|
|
48916
|
+
{
|
|
48917
|
+
properties: {
|
|
48918
|
+
description: { type: "string" },
|
|
48919
|
+
entry_type: {
|
|
48920
|
+
enum: ["resource_updated"],
|
|
48921
|
+
type: "string"
|
|
48922
|
+
},
|
|
48923
|
+
errors: {
|
|
48924
|
+
items: { type: "string" },
|
|
48925
|
+
type: "array"
|
|
48926
|
+
},
|
|
48927
|
+
properties_updated: {
|
|
48928
|
+
additionalProperties: {
|
|
48929
|
+
$ref: "#/components/schemas/access_code"
|
|
48930
|
+
},
|
|
48931
|
+
type: "object"
|
|
48932
|
+
},
|
|
48933
|
+
warnings: {
|
|
48934
|
+
items: { type: "string" },
|
|
48935
|
+
type: "array"
|
|
48936
|
+
}
|
|
48937
|
+
},
|
|
48938
|
+
required: ["entry_type", "description"],
|
|
48939
|
+
type: "object"
|
|
48940
|
+
},
|
|
48941
|
+
{
|
|
48942
|
+
properties: {
|
|
48943
|
+
description: { type: "string" },
|
|
48944
|
+
entry_type: {
|
|
48945
|
+
enum: ["resource_deleted"],
|
|
48946
|
+
type: "string"
|
|
48947
|
+
}
|
|
48948
|
+
},
|
|
48949
|
+
required: ["entry_type", "description"],
|
|
48950
|
+
type: "object"
|
|
48951
|
+
},
|
|
48952
|
+
{
|
|
48953
|
+
properties: {
|
|
48954
|
+
entry_type: {
|
|
48955
|
+
enum: ["event"],
|
|
48956
|
+
type: "string"
|
|
48957
|
+
},
|
|
48958
|
+
event_id: { type: "string" },
|
|
48959
|
+
event_type: { type: "string" }
|
|
48960
|
+
},
|
|
48961
|
+
required: [
|
|
48962
|
+
"entry_type",
|
|
48963
|
+
"event_type",
|
|
48964
|
+
"event_id"
|
|
48965
|
+
],
|
|
48966
|
+
type: "object"
|
|
48967
|
+
},
|
|
48968
|
+
{
|
|
48969
|
+
properties: {
|
|
48970
|
+
description: { type: "string" },
|
|
48971
|
+
entry_type: {
|
|
48972
|
+
enum: ["provider_call"],
|
|
48973
|
+
type: "string"
|
|
48974
|
+
},
|
|
48975
|
+
response_body: {
|
|
48976
|
+
additionalProperties: {
|
|
48977
|
+
$ref: "#/components/schemas/access_code"
|
|
48978
|
+
},
|
|
48979
|
+
type: "object"
|
|
48980
|
+
},
|
|
48981
|
+
response_status_code: {
|
|
48982
|
+
format: "float",
|
|
48983
|
+
type: "number"
|
|
48984
|
+
}
|
|
48985
|
+
},
|
|
48986
|
+
required: [
|
|
48987
|
+
"entry_type",
|
|
48988
|
+
"description",
|
|
48989
|
+
"response_status_code"
|
|
48990
|
+
],
|
|
48991
|
+
type: "object"
|
|
48992
|
+
}
|
|
48993
|
+
]
|
|
48994
|
+
},
|
|
48995
|
+
created_at: { type: "string" },
|
|
48996
|
+
entry_type: { type: "string" },
|
|
48997
|
+
resource_id: { type: "string" },
|
|
48998
|
+
resource_type: { type: "string" }
|
|
48999
|
+
},
|
|
49000
|
+
required: [
|
|
49001
|
+
"resource_type",
|
|
49002
|
+
"resource_id",
|
|
49003
|
+
"entry_type",
|
|
49004
|
+
"body",
|
|
49005
|
+
"created_at"
|
|
49006
|
+
],
|
|
49007
|
+
type: "object"
|
|
49008
|
+
},
|
|
49009
|
+
type: "array"
|
|
49010
|
+
}
|
|
49011
|
+
},
|
|
49012
|
+
required: ["context", "entries", "created_at"],
|
|
49013
|
+
type: "object"
|
|
49014
|
+
},
|
|
49015
|
+
type: "array"
|
|
49016
|
+
}
|
|
49017
|
+
},
|
|
49018
|
+
required: ["timeline", "pagination", "ok"],
|
|
49019
|
+
type: "object"
|
|
49020
|
+
}
|
|
49021
|
+
}
|
|
49022
|
+
},
|
|
49023
|
+
description: "OK"
|
|
49024
|
+
},
|
|
49025
|
+
400: { description: "Bad Request" },
|
|
49026
|
+
401: { description: "Unauthorized" }
|
|
49027
|
+
},
|
|
49028
|
+
security: [
|
|
49029
|
+
{ client_session: [] },
|
|
49030
|
+
{ pat_with_workspace: [] },
|
|
49031
|
+
{ console_session_with_workspace: [] },
|
|
49032
|
+
{ api_key: [] }
|
|
49033
|
+
],
|
|
49034
|
+
summary: "/seam/console/v1/timelines/get",
|
|
49035
|
+
tags: [],
|
|
49036
|
+
"x-fern-sdk-group-name": ["seam", "console", "v1", "timelines"],
|
|
49037
|
+
"x-fern-sdk-method-name": "get",
|
|
49038
|
+
"x-fern-sdk-return-value": "timeline",
|
|
49039
|
+
"x-response-key": "timeline",
|
|
49040
|
+
"x-title": "Get Timeline Entries",
|
|
49041
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
49042
|
+
},
|
|
49043
|
+
post: {
|
|
49044
|
+
description: "Returns timeline entries for a resource and its child resources, grouped by entry groups.",
|
|
49045
|
+
operationId: "seamConsoleV1TimelinesGetPost",
|
|
49046
|
+
requestBody: {
|
|
49047
|
+
content: {
|
|
49048
|
+
"application/json": {
|
|
49049
|
+
schema: {
|
|
49050
|
+
properties: {
|
|
49051
|
+
created_before: {
|
|
49052
|
+
description: "Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp.",
|
|
49053
|
+
format: "date-time",
|
|
49054
|
+
type: "string"
|
|
49055
|
+
},
|
|
49056
|
+
limit: {
|
|
49057
|
+
default: 50,
|
|
49058
|
+
description: "Maximum number of timeline entry groups to return per page.",
|
|
49059
|
+
exclusiveMinimum: true,
|
|
49060
|
+
minimum: 0,
|
|
49061
|
+
type: "integer"
|
|
49062
|
+
},
|
|
49063
|
+
page_cursor: {
|
|
49064
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
49065
|
+
type: "string"
|
|
49066
|
+
},
|
|
49067
|
+
resource_id: {
|
|
49068
|
+
description: "ID of the resource to get timelines for.",
|
|
49069
|
+
format: "uuid",
|
|
49070
|
+
type: "string"
|
|
49071
|
+
}
|
|
49072
|
+
},
|
|
49073
|
+
required: ["resource_id"],
|
|
49074
|
+
type: "object"
|
|
49075
|
+
}
|
|
49076
|
+
}
|
|
49077
|
+
}
|
|
49078
|
+
},
|
|
49079
|
+
responses: {
|
|
49080
|
+
200: {
|
|
49081
|
+
content: {
|
|
49082
|
+
"application/json": {
|
|
49083
|
+
schema: {
|
|
49084
|
+
properties: {
|
|
49085
|
+
ok: { type: "boolean" },
|
|
49086
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
49087
|
+
timeline: {
|
|
49088
|
+
items: {
|
|
49089
|
+
properties: {
|
|
49090
|
+
context: {
|
|
49091
|
+
oneOf: [
|
|
49092
|
+
{
|
|
49093
|
+
properties: {
|
|
49094
|
+
context_type: {
|
|
49095
|
+
enum: ["request"],
|
|
49096
|
+
type: "string"
|
|
49097
|
+
},
|
|
49098
|
+
request_id: { type: "string" },
|
|
49099
|
+
request_payload: {
|
|
49100
|
+
additionalProperties: {
|
|
49101
|
+
$ref: "#/components/schemas/access_code"
|
|
49102
|
+
},
|
|
49103
|
+
type: "object"
|
|
49104
|
+
},
|
|
49105
|
+
response_payload: {
|
|
49106
|
+
additionalProperties: {
|
|
49107
|
+
$ref: "#/components/schemas/access_code"
|
|
49108
|
+
},
|
|
49109
|
+
type: "object"
|
|
49110
|
+
}
|
|
49111
|
+
},
|
|
49112
|
+
required: [
|
|
49113
|
+
"context_type",
|
|
49114
|
+
"request_id",
|
|
49115
|
+
"request_payload",
|
|
49116
|
+
"response_payload"
|
|
49117
|
+
],
|
|
49118
|
+
type: "object"
|
|
49119
|
+
},
|
|
49120
|
+
{
|
|
49121
|
+
properties: {
|
|
49122
|
+
context_type: {
|
|
49123
|
+
enum: ["job"],
|
|
49124
|
+
type: "string"
|
|
49125
|
+
},
|
|
49126
|
+
job_id: { type: "string" }
|
|
49127
|
+
},
|
|
49128
|
+
required: ["context_type", "job_id"],
|
|
49129
|
+
type: "object"
|
|
49130
|
+
}
|
|
49131
|
+
]
|
|
49132
|
+
},
|
|
49133
|
+
created_at: { type: "string" },
|
|
49134
|
+
entries: {
|
|
49135
|
+
items: {
|
|
49136
|
+
properties: {
|
|
49137
|
+
body: {
|
|
49138
|
+
oneOf: [
|
|
49139
|
+
{
|
|
49140
|
+
properties: {
|
|
49141
|
+
description: { type: "string" },
|
|
49142
|
+
entry_type: {
|
|
49143
|
+
enum: ["resource_created"],
|
|
49144
|
+
type: "string"
|
|
49145
|
+
}
|
|
49146
|
+
},
|
|
49147
|
+
required: ["entry_type", "description"],
|
|
49148
|
+
type: "object"
|
|
49149
|
+
},
|
|
49150
|
+
{
|
|
49151
|
+
properties: {
|
|
49152
|
+
description: { type: "string" },
|
|
49153
|
+
entry_type: {
|
|
49154
|
+
enum: ["resource_updated"],
|
|
49155
|
+
type: "string"
|
|
49156
|
+
},
|
|
49157
|
+
errors: {
|
|
49158
|
+
items: { type: "string" },
|
|
49159
|
+
type: "array"
|
|
49160
|
+
},
|
|
49161
|
+
properties_updated: {
|
|
49162
|
+
additionalProperties: {
|
|
49163
|
+
$ref: "#/components/schemas/access_code"
|
|
49164
|
+
},
|
|
49165
|
+
type: "object"
|
|
49166
|
+
},
|
|
49167
|
+
warnings: {
|
|
49168
|
+
items: { type: "string" },
|
|
49169
|
+
type: "array"
|
|
49170
|
+
}
|
|
49171
|
+
},
|
|
49172
|
+
required: ["entry_type", "description"],
|
|
49173
|
+
type: "object"
|
|
49174
|
+
},
|
|
49175
|
+
{
|
|
49176
|
+
properties: {
|
|
49177
|
+
description: { type: "string" },
|
|
49178
|
+
entry_type: {
|
|
49179
|
+
enum: ["resource_deleted"],
|
|
49180
|
+
type: "string"
|
|
49181
|
+
}
|
|
49182
|
+
},
|
|
49183
|
+
required: ["entry_type", "description"],
|
|
49184
|
+
type: "object"
|
|
49185
|
+
},
|
|
49186
|
+
{
|
|
49187
|
+
properties: {
|
|
49188
|
+
entry_type: {
|
|
49189
|
+
enum: ["event"],
|
|
49190
|
+
type: "string"
|
|
49191
|
+
},
|
|
49192
|
+
event_id: { type: "string" },
|
|
49193
|
+
event_type: { type: "string" }
|
|
49194
|
+
},
|
|
49195
|
+
required: [
|
|
49196
|
+
"entry_type",
|
|
49197
|
+
"event_type",
|
|
49198
|
+
"event_id"
|
|
49199
|
+
],
|
|
49200
|
+
type: "object"
|
|
49201
|
+
},
|
|
49202
|
+
{
|
|
49203
|
+
properties: {
|
|
49204
|
+
description: { type: "string" },
|
|
49205
|
+
entry_type: {
|
|
49206
|
+
enum: ["provider_call"],
|
|
49207
|
+
type: "string"
|
|
49208
|
+
},
|
|
49209
|
+
response_body: {
|
|
49210
|
+
additionalProperties: {
|
|
49211
|
+
$ref: "#/components/schemas/access_code"
|
|
49212
|
+
},
|
|
49213
|
+
type: "object"
|
|
49214
|
+
},
|
|
49215
|
+
response_status_code: {
|
|
49216
|
+
format: "float",
|
|
49217
|
+
type: "number"
|
|
49218
|
+
}
|
|
49219
|
+
},
|
|
49220
|
+
required: [
|
|
49221
|
+
"entry_type",
|
|
49222
|
+
"description",
|
|
49223
|
+
"response_status_code"
|
|
49224
|
+
],
|
|
49225
|
+
type: "object"
|
|
49226
|
+
}
|
|
49227
|
+
]
|
|
49228
|
+
},
|
|
49229
|
+
created_at: { type: "string" },
|
|
49230
|
+
entry_type: { type: "string" },
|
|
49231
|
+
resource_id: { type: "string" },
|
|
49232
|
+
resource_type: { type: "string" }
|
|
49233
|
+
},
|
|
49234
|
+
required: [
|
|
49235
|
+
"resource_type",
|
|
49236
|
+
"resource_id",
|
|
49237
|
+
"entry_type",
|
|
49238
|
+
"body",
|
|
49239
|
+
"created_at"
|
|
49240
|
+
],
|
|
49241
|
+
type: "object"
|
|
49242
|
+
},
|
|
49243
|
+
type: "array"
|
|
49244
|
+
}
|
|
49245
|
+
},
|
|
49246
|
+
required: ["context", "entries", "created_at"],
|
|
49247
|
+
type: "object"
|
|
49248
|
+
},
|
|
49249
|
+
type: "array"
|
|
49250
|
+
}
|
|
49251
|
+
},
|
|
49252
|
+
required: ["timeline", "pagination", "ok"],
|
|
49253
|
+
type: "object"
|
|
49254
|
+
}
|
|
49255
|
+
}
|
|
49256
|
+
},
|
|
49257
|
+
description: "OK"
|
|
49258
|
+
},
|
|
49259
|
+
400: { description: "Bad Request" },
|
|
49260
|
+
401: { description: "Unauthorized" }
|
|
49261
|
+
},
|
|
49262
|
+
security: [
|
|
49263
|
+
{ client_session: [] },
|
|
49264
|
+
{ pat_with_workspace: [] },
|
|
49265
|
+
{ console_session_with_workspace: [] },
|
|
49266
|
+
{ api_key: [] }
|
|
49267
|
+
],
|
|
49268
|
+
summary: "/seam/console/v1/timelines/get",
|
|
49269
|
+
tags: [],
|
|
49270
|
+
"x-fern-sdk-group-name": ["seam", "console", "v1", "timelines"],
|
|
49271
|
+
"x-fern-sdk-method-name": "get",
|
|
49272
|
+
"x-fern-sdk-return-value": "timeline",
|
|
49273
|
+
"x-response-key": "timeline",
|
|
49274
|
+
"x-title": "Get Timeline Entries",
|
|
49275
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
49276
|
+
}
|
|
49277
|
+
},
|
|
48786
49278
|
"/seam/customer/v1/automation_runs/list": {
|
|
48787
49279
|
get: {
|
|
48788
49280
|
description: "Returns a list of all automation runs for a workspace or customer.",
|