@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.
@@ -45653,7 +45653,9 @@ export type Routes = {
45653
45653
  jsonBody: {}
45654
45654
  commonParams: {
45655
45655
  /** ID of the instant key to get. */
45656
- instant_key_id: string
45656
+ instant_key_id?: string | undefined
45657
+ /** URL of the instant key to get. */
45658
+ instant_key_url?: string | undefined
45657
45659
  }
45658
45660
  formData: {}
45659
45661
  jsonResponse: {
@@ -65658,6 +65660,93 @@ export type Routes = {
65658
65660
  }
65659
65661
  }
65660
65662
  }
65663
+ '/seam/console/v1/timelines/get': {
65664
+ route: '/seam/console/v1/timelines/get'
65665
+ method: 'GET' | 'POST'
65666
+ queryParams: {}
65667
+ jsonBody: {}
65668
+ commonParams: {
65669
+ /** ID of the resource to get timelines for. */
65670
+ resource_id: string
65671
+ /** Maximum number of timeline entry groups to return per page. */
65672
+ limit?: number
65673
+ /** Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp. */
65674
+ created_before?: Date | undefined
65675
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
65676
+ page_cursor?: string | undefined
65677
+ }
65678
+ formData: {}
65679
+ jsonResponse: {
65680
+ timeline: {
65681
+ context:
65682
+ | {
65683
+ context_type: 'request'
65684
+ request_id: string
65685
+ request_payload: {
65686
+ [x: string]: any
65687
+ }
65688
+ response_payload: {
65689
+ [x: string]: any
65690
+ }
65691
+ }
65692
+ | {
65693
+ context_type: 'job'
65694
+ job_id: string
65695
+ }
65696
+ entries: {
65697
+ resource_type: string
65698
+ resource_id: string
65699
+ entry_type: string
65700
+ body:
65701
+ | {
65702
+ entry_type: 'resource_created'
65703
+ description: string
65704
+ }
65705
+ | {
65706
+ entry_type: 'resource_updated'
65707
+ description: string
65708
+ properties_updated?:
65709
+ | {
65710
+ [x: string]: any
65711
+ }
65712
+ | undefined
65713
+ errors?: string[] | undefined
65714
+ warnings?: string[] | undefined
65715
+ }
65716
+ | {
65717
+ entry_type: 'resource_deleted'
65718
+ description: string
65719
+ }
65720
+ | {
65721
+ entry_type: 'event'
65722
+ event_type: string
65723
+ event_id: string
65724
+ }
65725
+ | {
65726
+ entry_type: 'provider_call'
65727
+ description: string
65728
+ response_status_code: number
65729
+ response_body?:
65730
+ | {
65731
+ [x: string]: any
65732
+ }
65733
+ | undefined
65734
+ }
65735
+ created_at: string
65736
+ }[]
65737
+ created_at: string
65738
+ }[]
65739
+ /** Information about the current page of results. */
65740
+ pagination: {
65741
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
65742
+ next_page_cursor: string | null
65743
+ /** Indicates whether there is another page of results after this one. */
65744
+ has_next_page: boolean
65745
+ /** URL to get the next page of results. */
65746
+ next_page_url: string | null
65747
+ }
65748
+ }
65749
+ }
65661
65750
  '/seam/customer/v1/automation_runs/list': {
65662
65751
  route: '/seam/customer/v1/automation_runs/list'
65663
65752
  method: 'GET' | 'POST'