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