@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.
@@ -30685,6 +30685,7 @@ export default {
30685
30685
  { client_session: [] },
30686
30686
  { pat_with_workspace: [] },
30687
30687
  { console_session_with_workspace: [] },
30688
+ { client_session_with_customer: [] },
30688
30689
  { api_key: [] },
30689
30690
  ],
30690
30691
  summary: '/acs/systems/list',
@@ -30744,6 +30745,7 @@ export default {
30744
30745
  { client_session: [] },
30745
30746
  { pat_with_workspace: [] },
30746
30747
  { console_session_with_workspace: [] },
30748
+ { client_session_with_customer: [] },
30747
30749
  { api_key: [] },
30748
30750
  ],
30749
30751
  summary: '/acs/systems/list',
@@ -43254,6 +43256,486 @@ export default {
43254
43256
  'x-undocumented': 'Internal endpoint for Console',
43255
43257
  },
43256
43258
  },
43259
+ '/seam/console/v1/timelines/get': {
43260
+ get: {
43261
+ description: 'Returns timeline entries for a resource and its child resources, grouped by entry groups.',
43262
+ operationId: 'seamConsoleV1TimelinesGetGet',
43263
+ parameters: [
43264
+ {
43265
+ in: 'query',
43266
+ name: 'resource_id',
43267
+ required: true,
43268
+ schema: {
43269
+ description: 'ID of the resource to get timelines for.',
43270
+ format: 'uuid',
43271
+ type: 'string',
43272
+ },
43273
+ },
43274
+ {
43275
+ in: 'query',
43276
+ name: 'limit',
43277
+ required: false,
43278
+ schema: {
43279
+ default: 50,
43280
+ description: 'Maximum number of timeline entry groups to return per page.',
43281
+ exclusiveMinimum: true,
43282
+ minimum: 0,
43283
+ type: 'integer',
43284
+ },
43285
+ },
43286
+ {
43287
+ in: 'query',
43288
+ name: 'created_before',
43289
+ required: false,
43290
+ schema: {
43291
+ description: 'Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp.',
43292
+ format: 'date-time',
43293
+ type: 'string',
43294
+ },
43295
+ },
43296
+ {
43297
+ in: 'query',
43298
+ name: 'page_cursor',
43299
+ required: false,
43300
+ schema: {
43301
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
43302
+ type: 'string',
43303
+ },
43304
+ },
43305
+ ],
43306
+ responses: {
43307
+ 200: {
43308
+ content: {
43309
+ 'application/json': {
43310
+ schema: {
43311
+ properties: {
43312
+ ok: { type: 'boolean' },
43313
+ pagination: { $ref: '#/components/schemas/pagination' },
43314
+ timeline: {
43315
+ items: {
43316
+ properties: {
43317
+ context: {
43318
+ oneOf: [
43319
+ {
43320
+ properties: {
43321
+ context_type: {
43322
+ enum: ['request'],
43323
+ type: 'string',
43324
+ },
43325
+ request_id: { type: 'string' },
43326
+ request_payload: {
43327
+ additionalProperties: {
43328
+ $ref: '#/components/schemas/access_code',
43329
+ },
43330
+ type: 'object',
43331
+ },
43332
+ response_payload: {
43333
+ additionalProperties: {
43334
+ $ref: '#/components/schemas/access_code',
43335
+ },
43336
+ type: 'object',
43337
+ },
43338
+ },
43339
+ required: [
43340
+ 'context_type',
43341
+ 'request_id',
43342
+ 'request_payload',
43343
+ 'response_payload',
43344
+ ],
43345
+ type: 'object',
43346
+ },
43347
+ {
43348
+ properties: {
43349
+ context_type: {
43350
+ enum: ['job'],
43351
+ type: 'string',
43352
+ },
43353
+ job_id: { type: 'string' },
43354
+ },
43355
+ required: ['context_type', 'job_id'],
43356
+ type: 'object',
43357
+ },
43358
+ ],
43359
+ },
43360
+ created_at: { type: 'string' },
43361
+ entries: {
43362
+ items: {
43363
+ properties: {
43364
+ body: {
43365
+ oneOf: [
43366
+ {
43367
+ properties: {
43368
+ description: { type: 'string' },
43369
+ entry_type: {
43370
+ enum: ['resource_created'],
43371
+ type: 'string',
43372
+ },
43373
+ },
43374
+ required: ['entry_type', 'description'],
43375
+ type: 'object',
43376
+ },
43377
+ {
43378
+ properties: {
43379
+ description: { type: 'string' },
43380
+ entry_type: {
43381
+ enum: ['resource_updated'],
43382
+ type: 'string',
43383
+ },
43384
+ errors: {
43385
+ items: { type: 'string' },
43386
+ type: 'array',
43387
+ },
43388
+ properties_updated: {
43389
+ additionalProperties: {
43390
+ $ref: '#/components/schemas/access_code',
43391
+ },
43392
+ type: 'object',
43393
+ },
43394
+ warnings: {
43395
+ items: { type: 'string' },
43396
+ type: 'array',
43397
+ },
43398
+ },
43399
+ required: ['entry_type', 'description'],
43400
+ type: 'object',
43401
+ },
43402
+ {
43403
+ properties: {
43404
+ description: { type: 'string' },
43405
+ entry_type: {
43406
+ enum: ['resource_deleted'],
43407
+ type: 'string',
43408
+ },
43409
+ },
43410
+ required: ['entry_type', 'description'],
43411
+ type: 'object',
43412
+ },
43413
+ {
43414
+ properties: {
43415
+ entry_type: {
43416
+ enum: ['event'],
43417
+ type: 'string',
43418
+ },
43419
+ event_id: { type: 'string' },
43420
+ event_type: { type: 'string' },
43421
+ },
43422
+ required: [
43423
+ 'entry_type',
43424
+ 'event_type',
43425
+ 'event_id',
43426
+ ],
43427
+ type: 'object',
43428
+ },
43429
+ {
43430
+ properties: {
43431
+ description: { type: 'string' },
43432
+ entry_type: {
43433
+ enum: ['provider_call'],
43434
+ type: 'string',
43435
+ },
43436
+ response_body: {
43437
+ additionalProperties: {
43438
+ $ref: '#/components/schemas/access_code',
43439
+ },
43440
+ type: 'object',
43441
+ },
43442
+ response_status_code: {
43443
+ format: 'float',
43444
+ type: 'number',
43445
+ },
43446
+ },
43447
+ required: [
43448
+ 'entry_type',
43449
+ 'description',
43450
+ 'response_status_code',
43451
+ ],
43452
+ type: 'object',
43453
+ },
43454
+ ],
43455
+ },
43456
+ created_at: { type: 'string' },
43457
+ entry_type: { type: 'string' },
43458
+ resource_id: { type: 'string' },
43459
+ resource_type: { type: 'string' },
43460
+ },
43461
+ required: [
43462
+ 'resource_type',
43463
+ 'resource_id',
43464
+ 'entry_type',
43465
+ 'body',
43466
+ 'created_at',
43467
+ ],
43468
+ type: 'object',
43469
+ },
43470
+ type: 'array',
43471
+ },
43472
+ },
43473
+ required: ['context', 'entries', 'created_at'],
43474
+ type: 'object',
43475
+ },
43476
+ type: 'array',
43477
+ },
43478
+ },
43479
+ required: ['timeline', 'pagination', 'ok'],
43480
+ type: 'object',
43481
+ },
43482
+ },
43483
+ },
43484
+ description: 'OK',
43485
+ },
43486
+ 400: { description: 'Bad Request' },
43487
+ 401: { description: 'Unauthorized' },
43488
+ },
43489
+ security: [
43490
+ { client_session: [] },
43491
+ { pat_with_workspace: [] },
43492
+ { console_session_with_workspace: [] },
43493
+ { api_key: [] },
43494
+ ],
43495
+ summary: '/seam/console/v1/timelines/get',
43496
+ tags: [],
43497
+ 'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'timelines'],
43498
+ 'x-fern-sdk-method-name': 'get',
43499
+ 'x-fern-sdk-return-value': 'timeline',
43500
+ 'x-response-key': 'timeline',
43501
+ 'x-title': 'Get Timeline Entries',
43502
+ 'x-undocumented': 'Internal endpoint for Console',
43503
+ },
43504
+ post: {
43505
+ description: 'Returns timeline entries for a resource and its child resources, grouped by entry groups.',
43506
+ operationId: 'seamConsoleV1TimelinesGetPost',
43507
+ requestBody: {
43508
+ content: {
43509
+ 'application/json': {
43510
+ schema: {
43511
+ properties: {
43512
+ created_before: {
43513
+ description: 'Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp.',
43514
+ format: 'date-time',
43515
+ type: 'string',
43516
+ },
43517
+ limit: {
43518
+ default: 50,
43519
+ description: 'Maximum number of timeline entry groups to return per page.',
43520
+ exclusiveMinimum: true,
43521
+ minimum: 0,
43522
+ type: 'integer',
43523
+ },
43524
+ page_cursor: {
43525
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
43526
+ type: 'string',
43527
+ },
43528
+ resource_id: {
43529
+ description: 'ID of the resource to get timelines for.',
43530
+ format: 'uuid',
43531
+ type: 'string',
43532
+ },
43533
+ },
43534
+ required: ['resource_id'],
43535
+ type: 'object',
43536
+ },
43537
+ },
43538
+ },
43539
+ },
43540
+ responses: {
43541
+ 200: {
43542
+ content: {
43543
+ 'application/json': {
43544
+ schema: {
43545
+ properties: {
43546
+ ok: { type: 'boolean' },
43547
+ pagination: { $ref: '#/components/schemas/pagination' },
43548
+ timeline: {
43549
+ items: {
43550
+ properties: {
43551
+ context: {
43552
+ oneOf: [
43553
+ {
43554
+ properties: {
43555
+ context_type: {
43556
+ enum: ['request'],
43557
+ type: 'string',
43558
+ },
43559
+ request_id: { type: 'string' },
43560
+ request_payload: {
43561
+ additionalProperties: {
43562
+ $ref: '#/components/schemas/access_code',
43563
+ },
43564
+ type: 'object',
43565
+ },
43566
+ response_payload: {
43567
+ additionalProperties: {
43568
+ $ref: '#/components/schemas/access_code',
43569
+ },
43570
+ type: 'object',
43571
+ },
43572
+ },
43573
+ required: [
43574
+ 'context_type',
43575
+ 'request_id',
43576
+ 'request_payload',
43577
+ 'response_payload',
43578
+ ],
43579
+ type: 'object',
43580
+ },
43581
+ {
43582
+ properties: {
43583
+ context_type: {
43584
+ enum: ['job'],
43585
+ type: 'string',
43586
+ },
43587
+ job_id: { type: 'string' },
43588
+ },
43589
+ required: ['context_type', 'job_id'],
43590
+ type: 'object',
43591
+ },
43592
+ ],
43593
+ },
43594
+ created_at: { type: 'string' },
43595
+ entries: {
43596
+ items: {
43597
+ properties: {
43598
+ body: {
43599
+ oneOf: [
43600
+ {
43601
+ properties: {
43602
+ description: { type: 'string' },
43603
+ entry_type: {
43604
+ enum: ['resource_created'],
43605
+ type: 'string',
43606
+ },
43607
+ },
43608
+ required: ['entry_type', 'description'],
43609
+ type: 'object',
43610
+ },
43611
+ {
43612
+ properties: {
43613
+ description: { type: 'string' },
43614
+ entry_type: {
43615
+ enum: ['resource_updated'],
43616
+ type: 'string',
43617
+ },
43618
+ errors: {
43619
+ items: { type: 'string' },
43620
+ type: 'array',
43621
+ },
43622
+ properties_updated: {
43623
+ additionalProperties: {
43624
+ $ref: '#/components/schemas/access_code',
43625
+ },
43626
+ type: 'object',
43627
+ },
43628
+ warnings: {
43629
+ items: { type: 'string' },
43630
+ type: 'array',
43631
+ },
43632
+ },
43633
+ required: ['entry_type', 'description'],
43634
+ type: 'object',
43635
+ },
43636
+ {
43637
+ properties: {
43638
+ description: { type: 'string' },
43639
+ entry_type: {
43640
+ enum: ['resource_deleted'],
43641
+ type: 'string',
43642
+ },
43643
+ },
43644
+ required: ['entry_type', 'description'],
43645
+ type: 'object',
43646
+ },
43647
+ {
43648
+ properties: {
43649
+ entry_type: {
43650
+ enum: ['event'],
43651
+ type: 'string',
43652
+ },
43653
+ event_id: { type: 'string' },
43654
+ event_type: { type: 'string' },
43655
+ },
43656
+ required: [
43657
+ 'entry_type',
43658
+ 'event_type',
43659
+ 'event_id',
43660
+ ],
43661
+ type: 'object',
43662
+ },
43663
+ {
43664
+ properties: {
43665
+ description: { type: 'string' },
43666
+ entry_type: {
43667
+ enum: ['provider_call'],
43668
+ type: 'string',
43669
+ },
43670
+ response_body: {
43671
+ additionalProperties: {
43672
+ $ref: '#/components/schemas/access_code',
43673
+ },
43674
+ type: 'object',
43675
+ },
43676
+ response_status_code: {
43677
+ format: 'float',
43678
+ type: 'number',
43679
+ },
43680
+ },
43681
+ required: [
43682
+ 'entry_type',
43683
+ 'description',
43684
+ 'response_status_code',
43685
+ ],
43686
+ type: 'object',
43687
+ },
43688
+ ],
43689
+ },
43690
+ created_at: { type: 'string' },
43691
+ entry_type: { type: 'string' },
43692
+ resource_id: { type: 'string' },
43693
+ resource_type: { type: 'string' },
43694
+ },
43695
+ required: [
43696
+ 'resource_type',
43697
+ 'resource_id',
43698
+ 'entry_type',
43699
+ 'body',
43700
+ 'created_at',
43701
+ ],
43702
+ type: 'object',
43703
+ },
43704
+ type: 'array',
43705
+ },
43706
+ },
43707
+ required: ['context', 'entries', 'created_at'],
43708
+ type: 'object',
43709
+ },
43710
+ type: 'array',
43711
+ },
43712
+ },
43713
+ required: ['timeline', 'pagination', 'ok'],
43714
+ type: 'object',
43715
+ },
43716
+ },
43717
+ },
43718
+ description: 'OK',
43719
+ },
43720
+ 400: { description: 'Bad Request' },
43721
+ 401: { description: 'Unauthorized' },
43722
+ },
43723
+ security: [
43724
+ { client_session: [] },
43725
+ { pat_with_workspace: [] },
43726
+ { console_session_with_workspace: [] },
43727
+ { api_key: [] },
43728
+ ],
43729
+ summary: '/seam/console/v1/timelines/get',
43730
+ tags: [],
43731
+ 'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'timelines'],
43732
+ 'x-fern-sdk-method-name': 'get',
43733
+ 'x-fern-sdk-return-value': 'timeline',
43734
+ 'x-response-key': 'timeline',
43735
+ 'x-title': 'Get Timeline Entries',
43736
+ 'x-undocumented': 'Internal endpoint for Console',
43737
+ },
43738
+ },
43257
43739
  '/seam/customer/v1/automation_runs/list': {
43258
43740
  get: {
43259
43741
  description: 'Returns a list of all automation runs for a workspace or customer.',