@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.
@@ -74048,22 +74048,32 @@ declare const _default: {
74048
74048
  client_session: never[];
74049
74049
  pat_with_workspace?: never;
74050
74050
  console_session_with_workspace?: never;
74051
+ client_session_with_customer?: never;
74051
74052
  api_key?: never;
74052
74053
  } | {
74053
74054
  pat_with_workspace: never[];
74054
74055
  client_session?: never;
74055
74056
  console_session_with_workspace?: never;
74057
+ client_session_with_customer?: never;
74056
74058
  api_key?: never;
74057
74059
  } | {
74058
74060
  console_session_with_workspace: never[];
74059
74061
  client_session?: never;
74060
74062
  pat_with_workspace?: never;
74063
+ client_session_with_customer?: never;
74064
+ api_key?: never;
74065
+ } | {
74066
+ client_session_with_customer: never[];
74067
+ client_session?: never;
74068
+ pat_with_workspace?: never;
74069
+ console_session_with_workspace?: never;
74061
74070
  api_key?: never;
74062
74071
  } | {
74063
74072
  api_key: never[];
74064
74073
  client_session?: never;
74065
74074
  pat_with_workspace?: never;
74066
74075
  console_session_with_workspace?: never;
74076
+ client_session_with_customer?: never;
74067
74077
  })[];
74068
74078
  summary: string;
74069
74079
  tags: string[];
@@ -74130,22 +74140,32 @@ declare const _default: {
74130
74140
  client_session: never[];
74131
74141
  pat_with_workspace?: never;
74132
74142
  console_session_with_workspace?: never;
74143
+ client_session_with_customer?: never;
74133
74144
  api_key?: never;
74134
74145
  } | {
74135
74146
  pat_with_workspace: never[];
74136
74147
  client_session?: never;
74137
74148
  console_session_with_workspace?: never;
74149
+ client_session_with_customer?: never;
74138
74150
  api_key?: never;
74139
74151
  } | {
74140
74152
  console_session_with_workspace: never[];
74141
74153
  client_session?: never;
74142
74154
  pat_with_workspace?: never;
74155
+ client_session_with_customer?: never;
74156
+ api_key?: never;
74157
+ } | {
74158
+ client_session_with_customer: never[];
74159
+ client_session?: never;
74160
+ pat_with_workspace?: never;
74161
+ console_session_with_workspace?: never;
74143
74162
  api_key?: never;
74144
74163
  } | {
74145
74164
  api_key: never[];
74146
74165
  client_session?: never;
74147
74166
  pat_with_workspace?: never;
74148
74167
  console_session_with_workspace?: never;
74168
+ client_session_with_customer?: never;
74149
74169
  })[];
74150
74170
  summary: string;
74151
74171
  tags: string[];
@@ -87832,6 +87852,558 @@ declare const _default: {
87832
87852
  'x-undocumented': string;
87833
87853
  };
87834
87854
  };
87855
+ '/seam/console/v1/timelines/get': {
87856
+ get: {
87857
+ description: string;
87858
+ operationId: string;
87859
+ parameters: ({
87860
+ in: string;
87861
+ name: string;
87862
+ required: boolean;
87863
+ schema: {
87864
+ description: string;
87865
+ format: string;
87866
+ type: string;
87867
+ default?: never;
87868
+ exclusiveMinimum?: never;
87869
+ minimum?: never;
87870
+ };
87871
+ } | {
87872
+ in: string;
87873
+ name: string;
87874
+ required: boolean;
87875
+ schema: {
87876
+ default: number;
87877
+ description: string;
87878
+ exclusiveMinimum: boolean;
87879
+ minimum: number;
87880
+ type: string;
87881
+ format?: never;
87882
+ };
87883
+ } | {
87884
+ in: string;
87885
+ name: string;
87886
+ required: boolean;
87887
+ schema: {
87888
+ description: string;
87889
+ type: string;
87890
+ format?: never;
87891
+ default?: never;
87892
+ exclusiveMinimum?: never;
87893
+ minimum?: never;
87894
+ };
87895
+ })[];
87896
+ responses: {
87897
+ 200: {
87898
+ content: {
87899
+ 'application/json': {
87900
+ schema: {
87901
+ properties: {
87902
+ ok: {
87903
+ type: string;
87904
+ };
87905
+ pagination: {
87906
+ $ref: string;
87907
+ };
87908
+ timeline: {
87909
+ items: {
87910
+ properties: {
87911
+ context: {
87912
+ oneOf: ({
87913
+ properties: {
87914
+ context_type: {
87915
+ enum: string[];
87916
+ type: string;
87917
+ };
87918
+ request_id: {
87919
+ type: string;
87920
+ };
87921
+ request_payload: {
87922
+ additionalProperties: {
87923
+ $ref: string;
87924
+ };
87925
+ type: string;
87926
+ };
87927
+ response_payload: {
87928
+ additionalProperties: {
87929
+ $ref: string;
87930
+ };
87931
+ type: string;
87932
+ };
87933
+ job_id?: never;
87934
+ };
87935
+ required: string[];
87936
+ type: string;
87937
+ } | {
87938
+ properties: {
87939
+ context_type: {
87940
+ enum: string[];
87941
+ type: string;
87942
+ };
87943
+ job_id: {
87944
+ type: string;
87945
+ };
87946
+ request_id?: never;
87947
+ request_payload?: never;
87948
+ response_payload?: never;
87949
+ };
87950
+ required: string[];
87951
+ type: string;
87952
+ })[];
87953
+ };
87954
+ created_at: {
87955
+ type: string;
87956
+ };
87957
+ entries: {
87958
+ items: {
87959
+ properties: {
87960
+ body: {
87961
+ oneOf: ({
87962
+ properties: {
87963
+ description: {
87964
+ type: string;
87965
+ };
87966
+ entry_type: {
87967
+ enum: string[];
87968
+ type: string;
87969
+ };
87970
+ errors?: never;
87971
+ properties_updated?: never;
87972
+ warnings?: never;
87973
+ event_id?: never;
87974
+ event_type?: never;
87975
+ response_body?: never;
87976
+ response_status_code?: never;
87977
+ };
87978
+ required: string[];
87979
+ type: string;
87980
+ } | {
87981
+ properties: {
87982
+ description: {
87983
+ type: string;
87984
+ };
87985
+ entry_type: {
87986
+ enum: string[];
87987
+ type: string;
87988
+ };
87989
+ errors: {
87990
+ items: {
87991
+ type: string;
87992
+ };
87993
+ type: string;
87994
+ };
87995
+ properties_updated: {
87996
+ additionalProperties: {
87997
+ $ref: string;
87998
+ };
87999
+ type: string;
88000
+ };
88001
+ warnings: {
88002
+ items: {
88003
+ type: string;
88004
+ };
88005
+ type: string;
88006
+ };
88007
+ event_id?: never;
88008
+ event_type?: never;
88009
+ response_body?: never;
88010
+ response_status_code?: never;
88011
+ };
88012
+ required: string[];
88013
+ type: string;
88014
+ } | {
88015
+ properties: {
88016
+ entry_type: {
88017
+ enum: string[];
88018
+ type: string;
88019
+ };
88020
+ event_id: {
88021
+ type: string;
88022
+ };
88023
+ event_type: {
88024
+ type: string;
88025
+ };
88026
+ description?: never;
88027
+ errors?: never;
88028
+ properties_updated?: never;
88029
+ warnings?: never;
88030
+ response_body?: never;
88031
+ response_status_code?: never;
88032
+ };
88033
+ required: string[];
88034
+ type: string;
88035
+ } | {
88036
+ properties: {
88037
+ description: {
88038
+ type: string;
88039
+ };
88040
+ entry_type: {
88041
+ enum: string[];
88042
+ type: string;
88043
+ };
88044
+ response_body: {
88045
+ additionalProperties: {
88046
+ $ref: string;
88047
+ };
88048
+ type: string;
88049
+ };
88050
+ response_status_code: {
88051
+ format: string;
88052
+ type: string;
88053
+ };
88054
+ errors?: never;
88055
+ properties_updated?: never;
88056
+ warnings?: never;
88057
+ event_id?: never;
88058
+ event_type?: never;
88059
+ };
88060
+ required: string[];
88061
+ type: string;
88062
+ })[];
88063
+ };
88064
+ created_at: {
88065
+ type: string;
88066
+ };
88067
+ entry_type: {
88068
+ type: string;
88069
+ };
88070
+ resource_id: {
88071
+ type: string;
88072
+ };
88073
+ resource_type: {
88074
+ type: string;
88075
+ };
88076
+ };
88077
+ required: string[];
88078
+ type: string;
88079
+ };
88080
+ type: string;
88081
+ };
88082
+ };
88083
+ required: string[];
88084
+ type: string;
88085
+ };
88086
+ type: string;
88087
+ };
88088
+ };
88089
+ required: string[];
88090
+ type: string;
88091
+ };
88092
+ };
88093
+ };
88094
+ description: string;
88095
+ };
88096
+ 400: {
88097
+ description: string;
88098
+ };
88099
+ 401: {
88100
+ description: string;
88101
+ };
88102
+ };
88103
+ security: ({
88104
+ client_session: never[];
88105
+ pat_with_workspace?: never;
88106
+ console_session_with_workspace?: never;
88107
+ api_key?: never;
88108
+ } | {
88109
+ pat_with_workspace: never[];
88110
+ client_session?: never;
88111
+ console_session_with_workspace?: never;
88112
+ api_key?: never;
88113
+ } | {
88114
+ console_session_with_workspace: never[];
88115
+ client_session?: never;
88116
+ pat_with_workspace?: never;
88117
+ api_key?: never;
88118
+ } | {
88119
+ api_key: never[];
88120
+ client_session?: never;
88121
+ pat_with_workspace?: never;
88122
+ console_session_with_workspace?: never;
88123
+ })[];
88124
+ summary: string;
88125
+ tags: never[];
88126
+ 'x-fern-sdk-group-name': string[];
88127
+ 'x-fern-sdk-method-name': string;
88128
+ 'x-fern-sdk-return-value': string;
88129
+ 'x-response-key': string;
88130
+ 'x-title': string;
88131
+ 'x-undocumented': string;
88132
+ };
88133
+ post: {
88134
+ description: string;
88135
+ operationId: string;
88136
+ requestBody: {
88137
+ content: {
88138
+ 'application/json': {
88139
+ schema: {
88140
+ properties: {
88141
+ created_before: {
88142
+ description: string;
88143
+ format: string;
88144
+ type: string;
88145
+ };
88146
+ limit: {
88147
+ default: number;
88148
+ description: string;
88149
+ exclusiveMinimum: boolean;
88150
+ minimum: number;
88151
+ type: string;
88152
+ };
88153
+ page_cursor: {
88154
+ description: string;
88155
+ type: string;
88156
+ };
88157
+ resource_id: {
88158
+ description: string;
88159
+ format: string;
88160
+ type: string;
88161
+ };
88162
+ };
88163
+ required: string[];
88164
+ type: string;
88165
+ };
88166
+ };
88167
+ };
88168
+ };
88169
+ responses: {
88170
+ 200: {
88171
+ content: {
88172
+ 'application/json': {
88173
+ schema: {
88174
+ properties: {
88175
+ ok: {
88176
+ type: string;
88177
+ };
88178
+ pagination: {
88179
+ $ref: string;
88180
+ };
88181
+ timeline: {
88182
+ items: {
88183
+ properties: {
88184
+ context: {
88185
+ oneOf: ({
88186
+ properties: {
88187
+ context_type: {
88188
+ enum: string[];
88189
+ type: string;
88190
+ };
88191
+ request_id: {
88192
+ type: string;
88193
+ };
88194
+ request_payload: {
88195
+ additionalProperties: {
88196
+ $ref: string;
88197
+ };
88198
+ type: string;
88199
+ };
88200
+ response_payload: {
88201
+ additionalProperties: {
88202
+ $ref: string;
88203
+ };
88204
+ type: string;
88205
+ };
88206
+ job_id?: never;
88207
+ };
88208
+ required: string[];
88209
+ type: string;
88210
+ } | {
88211
+ properties: {
88212
+ context_type: {
88213
+ enum: string[];
88214
+ type: string;
88215
+ };
88216
+ job_id: {
88217
+ type: string;
88218
+ };
88219
+ request_id?: never;
88220
+ request_payload?: never;
88221
+ response_payload?: never;
88222
+ };
88223
+ required: string[];
88224
+ type: string;
88225
+ })[];
88226
+ };
88227
+ created_at: {
88228
+ type: string;
88229
+ };
88230
+ entries: {
88231
+ items: {
88232
+ properties: {
88233
+ body: {
88234
+ oneOf: ({
88235
+ properties: {
88236
+ description: {
88237
+ type: string;
88238
+ };
88239
+ entry_type: {
88240
+ enum: string[];
88241
+ type: string;
88242
+ };
88243
+ errors?: never;
88244
+ properties_updated?: never;
88245
+ warnings?: never;
88246
+ event_id?: never;
88247
+ event_type?: never;
88248
+ response_body?: never;
88249
+ response_status_code?: never;
88250
+ };
88251
+ required: string[];
88252
+ type: string;
88253
+ } | {
88254
+ properties: {
88255
+ description: {
88256
+ type: string;
88257
+ };
88258
+ entry_type: {
88259
+ enum: string[];
88260
+ type: string;
88261
+ };
88262
+ errors: {
88263
+ items: {
88264
+ type: string;
88265
+ };
88266
+ type: string;
88267
+ };
88268
+ properties_updated: {
88269
+ additionalProperties: {
88270
+ $ref: string;
88271
+ };
88272
+ type: string;
88273
+ };
88274
+ warnings: {
88275
+ items: {
88276
+ type: string;
88277
+ };
88278
+ type: string;
88279
+ };
88280
+ event_id?: never;
88281
+ event_type?: never;
88282
+ response_body?: never;
88283
+ response_status_code?: never;
88284
+ };
88285
+ required: string[];
88286
+ type: string;
88287
+ } | {
88288
+ properties: {
88289
+ entry_type: {
88290
+ enum: string[];
88291
+ type: string;
88292
+ };
88293
+ event_id: {
88294
+ type: string;
88295
+ };
88296
+ event_type: {
88297
+ type: string;
88298
+ };
88299
+ description?: never;
88300
+ errors?: never;
88301
+ properties_updated?: never;
88302
+ warnings?: never;
88303
+ response_body?: never;
88304
+ response_status_code?: never;
88305
+ };
88306
+ required: string[];
88307
+ type: string;
88308
+ } | {
88309
+ properties: {
88310
+ description: {
88311
+ type: string;
88312
+ };
88313
+ entry_type: {
88314
+ enum: string[];
88315
+ type: string;
88316
+ };
88317
+ response_body: {
88318
+ additionalProperties: {
88319
+ $ref: string;
88320
+ };
88321
+ type: string;
88322
+ };
88323
+ response_status_code: {
88324
+ format: string;
88325
+ type: string;
88326
+ };
88327
+ errors?: never;
88328
+ properties_updated?: never;
88329
+ warnings?: never;
88330
+ event_id?: never;
88331
+ event_type?: never;
88332
+ };
88333
+ required: string[];
88334
+ type: string;
88335
+ })[];
88336
+ };
88337
+ created_at: {
88338
+ type: string;
88339
+ };
88340
+ entry_type: {
88341
+ type: string;
88342
+ };
88343
+ resource_id: {
88344
+ type: string;
88345
+ };
88346
+ resource_type: {
88347
+ type: string;
88348
+ };
88349
+ };
88350
+ required: string[];
88351
+ type: string;
88352
+ };
88353
+ type: string;
88354
+ };
88355
+ };
88356
+ required: string[];
88357
+ type: string;
88358
+ };
88359
+ type: string;
88360
+ };
88361
+ };
88362
+ required: string[];
88363
+ type: string;
88364
+ };
88365
+ };
88366
+ };
88367
+ description: string;
88368
+ };
88369
+ 400: {
88370
+ description: string;
88371
+ };
88372
+ 401: {
88373
+ description: string;
88374
+ };
88375
+ };
88376
+ security: ({
88377
+ client_session: never[];
88378
+ pat_with_workspace?: never;
88379
+ console_session_with_workspace?: never;
88380
+ api_key?: never;
88381
+ } | {
88382
+ pat_with_workspace: never[];
88383
+ client_session?: never;
88384
+ console_session_with_workspace?: never;
88385
+ api_key?: never;
88386
+ } | {
88387
+ console_session_with_workspace: never[];
88388
+ client_session?: never;
88389
+ pat_with_workspace?: never;
88390
+ api_key?: never;
88391
+ } | {
88392
+ api_key: never[];
88393
+ client_session?: never;
88394
+ pat_with_workspace?: never;
88395
+ console_session_with_workspace?: never;
88396
+ })[];
88397
+ summary: string;
88398
+ tags: never[];
88399
+ 'x-fern-sdk-group-name': string[];
88400
+ 'x-fern-sdk-method-name': string;
88401
+ 'x-fern-sdk-return-value': string;
88402
+ 'x-response-key': string;
88403
+ 'x-title': string;
88404
+ 'x-undocumented': string;
88405
+ };
88406
+ };
87835
88407
  '/seam/customer/v1/automation_runs/list': {
87836
88408
  get: {
87837
88409
  description: string;
@@ -155773,6 +156345,82 @@ type Routes = {
155773
156345
  };
155774
156346
  };
155775
156347
  };
156348
+ '/seam/console/v1/timelines/get': {
156349
+ route: '/seam/console/v1/timelines/get';
156350
+ method: 'GET' | 'POST';
156351
+ queryParams: {};
156352
+ jsonBody: {};
156353
+ commonParams: {
156354
+ /** ID of the resource to get timelines for. */
156355
+ resource_id: string;
156356
+ /** Maximum number of timeline entry groups to return per page. */
156357
+ limit?: number;
156358
+ /** Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp. */
156359
+ created_before?: Date | undefined;
156360
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
156361
+ page_cursor?: string | undefined;
156362
+ };
156363
+ formData: {};
156364
+ jsonResponse: {
156365
+ timeline: {
156366
+ context: {
156367
+ context_type: 'request';
156368
+ request_id: string;
156369
+ request_payload: {
156370
+ [x: string]: any;
156371
+ };
156372
+ response_payload: {
156373
+ [x: string]: any;
156374
+ };
156375
+ } | {
156376
+ context_type: 'job';
156377
+ job_id: string;
156378
+ };
156379
+ entries: {
156380
+ resource_type: string;
156381
+ resource_id: string;
156382
+ entry_type: string;
156383
+ body: {
156384
+ entry_type: 'resource_created';
156385
+ description: string;
156386
+ } | {
156387
+ entry_type: 'resource_updated';
156388
+ description: string;
156389
+ properties_updated?: {
156390
+ [x: string]: any;
156391
+ } | undefined;
156392
+ errors?: string[] | undefined;
156393
+ warnings?: string[] | undefined;
156394
+ } | {
156395
+ entry_type: 'resource_deleted';
156396
+ description: string;
156397
+ } | {
156398
+ entry_type: 'event';
156399
+ event_type: string;
156400
+ event_id: string;
156401
+ } | {
156402
+ entry_type: 'provider_call';
156403
+ description: string;
156404
+ response_status_code: number;
156405
+ response_body?: {
156406
+ [x: string]: any;
156407
+ } | undefined;
156408
+ };
156409
+ created_at: string;
156410
+ }[];
156411
+ created_at: string;
156412
+ }[];
156413
+ /** Information about the current page of results. */
156414
+ pagination: {
156415
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
156416
+ next_page_cursor: string | null;
156417
+ /** Indicates whether there is another page of results after this one. */
156418
+ has_next_page: boolean;
156419
+ /** URL to get the next page of results. */
156420
+ next_page_url: string | null;
156421
+ };
156422
+ };
156423
+ };
155776
156424
  '/seam/customer/v1/automation_runs/list': {
155777
156425
  route: '/seam/customer/v1/automation_runs/list';
155778
156426
  method: 'GET' | 'POST';