@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.
@@ -84023,7 +84023,6 @@ declare const _default: {
84023
84023
  parameters: {
84024
84024
  in: string;
84025
84025
  name: string;
84026
- required: boolean;
84027
84026
  schema: {
84028
84027
  description: string;
84029
84028
  format: string;
@@ -84091,8 +84090,12 @@ declare const _default: {
84091
84090
  format: string;
84092
84091
  type: string;
84093
84092
  };
84093
+ instant_key_url: {
84094
+ description: string;
84095
+ format: string;
84096
+ type: string;
84097
+ };
84094
84098
  };
84095
- required: string[];
84096
84099
  type: string;
84097
84100
  };
84098
84101
  };
@@ -87829,6 +87832,558 @@ declare const _default: {
87829
87832
  'x-undocumented': string;
87830
87833
  };
87831
87834
  };
87835
+ '/seam/console/v1/timelines/get': {
87836
+ get: {
87837
+ description: string;
87838
+ operationId: string;
87839
+ parameters: ({
87840
+ in: string;
87841
+ name: string;
87842
+ required: boolean;
87843
+ schema: {
87844
+ description: string;
87845
+ format: string;
87846
+ type: string;
87847
+ default?: never;
87848
+ exclusiveMinimum?: never;
87849
+ minimum?: never;
87850
+ };
87851
+ } | {
87852
+ in: string;
87853
+ name: string;
87854
+ required: boolean;
87855
+ schema: {
87856
+ default: number;
87857
+ description: string;
87858
+ exclusiveMinimum: boolean;
87859
+ minimum: number;
87860
+ type: string;
87861
+ format?: never;
87862
+ };
87863
+ } | {
87864
+ in: string;
87865
+ name: string;
87866
+ required: boolean;
87867
+ schema: {
87868
+ description: string;
87869
+ type: string;
87870
+ format?: never;
87871
+ default?: never;
87872
+ exclusiveMinimum?: never;
87873
+ minimum?: never;
87874
+ };
87875
+ })[];
87876
+ responses: {
87877
+ 200: {
87878
+ content: {
87879
+ 'application/json': {
87880
+ schema: {
87881
+ properties: {
87882
+ ok: {
87883
+ type: string;
87884
+ };
87885
+ pagination: {
87886
+ $ref: string;
87887
+ };
87888
+ timeline: {
87889
+ items: {
87890
+ properties: {
87891
+ context: {
87892
+ oneOf: ({
87893
+ properties: {
87894
+ context_type: {
87895
+ enum: string[];
87896
+ type: string;
87897
+ };
87898
+ request_id: {
87899
+ type: string;
87900
+ };
87901
+ request_payload: {
87902
+ additionalProperties: {
87903
+ $ref: string;
87904
+ };
87905
+ type: string;
87906
+ };
87907
+ response_payload: {
87908
+ additionalProperties: {
87909
+ $ref: string;
87910
+ };
87911
+ type: string;
87912
+ };
87913
+ job_id?: never;
87914
+ };
87915
+ required: string[];
87916
+ type: string;
87917
+ } | {
87918
+ properties: {
87919
+ context_type: {
87920
+ enum: string[];
87921
+ type: string;
87922
+ };
87923
+ job_id: {
87924
+ type: string;
87925
+ };
87926
+ request_id?: never;
87927
+ request_payload?: never;
87928
+ response_payload?: never;
87929
+ };
87930
+ required: string[];
87931
+ type: string;
87932
+ })[];
87933
+ };
87934
+ created_at: {
87935
+ type: string;
87936
+ };
87937
+ entries: {
87938
+ items: {
87939
+ properties: {
87940
+ body: {
87941
+ oneOf: ({
87942
+ properties: {
87943
+ description: {
87944
+ type: string;
87945
+ };
87946
+ entry_type: {
87947
+ enum: string[];
87948
+ type: string;
87949
+ };
87950
+ errors?: never;
87951
+ properties_updated?: never;
87952
+ warnings?: never;
87953
+ event_id?: never;
87954
+ event_type?: never;
87955
+ response_body?: never;
87956
+ response_status_code?: never;
87957
+ };
87958
+ required: string[];
87959
+ type: string;
87960
+ } | {
87961
+ properties: {
87962
+ description: {
87963
+ type: string;
87964
+ };
87965
+ entry_type: {
87966
+ enum: string[];
87967
+ type: string;
87968
+ };
87969
+ errors: {
87970
+ items: {
87971
+ type: string;
87972
+ };
87973
+ type: string;
87974
+ };
87975
+ properties_updated: {
87976
+ additionalProperties: {
87977
+ $ref: string;
87978
+ };
87979
+ type: string;
87980
+ };
87981
+ warnings: {
87982
+ items: {
87983
+ type: string;
87984
+ };
87985
+ type: string;
87986
+ };
87987
+ event_id?: never;
87988
+ event_type?: never;
87989
+ response_body?: never;
87990
+ response_status_code?: never;
87991
+ };
87992
+ required: string[];
87993
+ type: string;
87994
+ } | {
87995
+ properties: {
87996
+ entry_type: {
87997
+ enum: string[];
87998
+ type: string;
87999
+ };
88000
+ event_id: {
88001
+ type: string;
88002
+ };
88003
+ event_type: {
88004
+ type: string;
88005
+ };
88006
+ description?: never;
88007
+ errors?: never;
88008
+ properties_updated?: never;
88009
+ warnings?: never;
88010
+ response_body?: never;
88011
+ response_status_code?: never;
88012
+ };
88013
+ required: string[];
88014
+ type: string;
88015
+ } | {
88016
+ properties: {
88017
+ description: {
88018
+ type: string;
88019
+ };
88020
+ entry_type: {
88021
+ enum: string[];
88022
+ type: string;
88023
+ };
88024
+ response_body: {
88025
+ additionalProperties: {
88026
+ $ref: string;
88027
+ };
88028
+ type: string;
88029
+ };
88030
+ response_status_code: {
88031
+ format: string;
88032
+ type: string;
88033
+ };
88034
+ errors?: never;
88035
+ properties_updated?: never;
88036
+ warnings?: never;
88037
+ event_id?: never;
88038
+ event_type?: never;
88039
+ };
88040
+ required: string[];
88041
+ type: string;
88042
+ })[];
88043
+ };
88044
+ created_at: {
88045
+ type: string;
88046
+ };
88047
+ entry_type: {
88048
+ type: string;
88049
+ };
88050
+ resource_id: {
88051
+ type: string;
88052
+ };
88053
+ resource_type: {
88054
+ type: string;
88055
+ };
88056
+ };
88057
+ required: string[];
88058
+ type: string;
88059
+ };
88060
+ type: string;
88061
+ };
88062
+ };
88063
+ required: string[];
88064
+ type: string;
88065
+ };
88066
+ type: string;
88067
+ };
88068
+ };
88069
+ required: string[];
88070
+ type: string;
88071
+ };
88072
+ };
88073
+ };
88074
+ description: string;
88075
+ };
88076
+ 400: {
88077
+ description: string;
88078
+ };
88079
+ 401: {
88080
+ description: string;
88081
+ };
88082
+ };
88083
+ security: ({
88084
+ client_session: never[];
88085
+ pat_with_workspace?: never;
88086
+ console_session_with_workspace?: never;
88087
+ api_key?: never;
88088
+ } | {
88089
+ pat_with_workspace: never[];
88090
+ client_session?: never;
88091
+ console_session_with_workspace?: never;
88092
+ api_key?: never;
88093
+ } | {
88094
+ console_session_with_workspace: never[];
88095
+ client_session?: never;
88096
+ pat_with_workspace?: never;
88097
+ api_key?: never;
88098
+ } | {
88099
+ api_key: never[];
88100
+ client_session?: never;
88101
+ pat_with_workspace?: never;
88102
+ console_session_with_workspace?: never;
88103
+ })[];
88104
+ summary: string;
88105
+ tags: never[];
88106
+ 'x-fern-sdk-group-name': string[];
88107
+ 'x-fern-sdk-method-name': string;
88108
+ 'x-fern-sdk-return-value': string;
88109
+ 'x-response-key': string;
88110
+ 'x-title': string;
88111
+ 'x-undocumented': string;
88112
+ };
88113
+ post: {
88114
+ description: string;
88115
+ operationId: string;
88116
+ requestBody: {
88117
+ content: {
88118
+ 'application/json': {
88119
+ schema: {
88120
+ properties: {
88121
+ created_before: {
88122
+ description: string;
88123
+ format: string;
88124
+ type: string;
88125
+ };
88126
+ limit: {
88127
+ default: number;
88128
+ description: string;
88129
+ exclusiveMinimum: boolean;
88130
+ minimum: number;
88131
+ type: string;
88132
+ };
88133
+ page_cursor: {
88134
+ description: string;
88135
+ type: string;
88136
+ };
88137
+ resource_id: {
88138
+ description: string;
88139
+ format: string;
88140
+ type: string;
88141
+ };
88142
+ };
88143
+ required: string[];
88144
+ type: string;
88145
+ };
88146
+ };
88147
+ };
88148
+ };
88149
+ responses: {
88150
+ 200: {
88151
+ content: {
88152
+ 'application/json': {
88153
+ schema: {
88154
+ properties: {
88155
+ ok: {
88156
+ type: string;
88157
+ };
88158
+ pagination: {
88159
+ $ref: string;
88160
+ };
88161
+ timeline: {
88162
+ items: {
88163
+ properties: {
88164
+ context: {
88165
+ oneOf: ({
88166
+ properties: {
88167
+ context_type: {
88168
+ enum: string[];
88169
+ type: string;
88170
+ };
88171
+ request_id: {
88172
+ type: string;
88173
+ };
88174
+ request_payload: {
88175
+ additionalProperties: {
88176
+ $ref: string;
88177
+ };
88178
+ type: string;
88179
+ };
88180
+ response_payload: {
88181
+ additionalProperties: {
88182
+ $ref: string;
88183
+ };
88184
+ type: string;
88185
+ };
88186
+ job_id?: never;
88187
+ };
88188
+ required: string[];
88189
+ type: string;
88190
+ } | {
88191
+ properties: {
88192
+ context_type: {
88193
+ enum: string[];
88194
+ type: string;
88195
+ };
88196
+ job_id: {
88197
+ type: string;
88198
+ };
88199
+ request_id?: never;
88200
+ request_payload?: never;
88201
+ response_payload?: never;
88202
+ };
88203
+ required: string[];
88204
+ type: string;
88205
+ })[];
88206
+ };
88207
+ created_at: {
88208
+ type: string;
88209
+ };
88210
+ entries: {
88211
+ items: {
88212
+ properties: {
88213
+ body: {
88214
+ oneOf: ({
88215
+ properties: {
88216
+ description: {
88217
+ type: string;
88218
+ };
88219
+ entry_type: {
88220
+ enum: string[];
88221
+ type: string;
88222
+ };
88223
+ errors?: never;
88224
+ properties_updated?: never;
88225
+ warnings?: never;
88226
+ event_id?: never;
88227
+ event_type?: never;
88228
+ response_body?: never;
88229
+ response_status_code?: never;
88230
+ };
88231
+ required: string[];
88232
+ type: string;
88233
+ } | {
88234
+ properties: {
88235
+ description: {
88236
+ type: string;
88237
+ };
88238
+ entry_type: {
88239
+ enum: string[];
88240
+ type: string;
88241
+ };
88242
+ errors: {
88243
+ items: {
88244
+ type: string;
88245
+ };
88246
+ type: string;
88247
+ };
88248
+ properties_updated: {
88249
+ additionalProperties: {
88250
+ $ref: string;
88251
+ };
88252
+ type: string;
88253
+ };
88254
+ warnings: {
88255
+ items: {
88256
+ type: string;
88257
+ };
88258
+ type: string;
88259
+ };
88260
+ event_id?: never;
88261
+ event_type?: never;
88262
+ response_body?: never;
88263
+ response_status_code?: never;
88264
+ };
88265
+ required: string[];
88266
+ type: string;
88267
+ } | {
88268
+ properties: {
88269
+ entry_type: {
88270
+ enum: string[];
88271
+ type: string;
88272
+ };
88273
+ event_id: {
88274
+ type: string;
88275
+ };
88276
+ event_type: {
88277
+ type: string;
88278
+ };
88279
+ description?: never;
88280
+ errors?: never;
88281
+ properties_updated?: never;
88282
+ warnings?: never;
88283
+ response_body?: never;
88284
+ response_status_code?: never;
88285
+ };
88286
+ required: string[];
88287
+ type: string;
88288
+ } | {
88289
+ properties: {
88290
+ description: {
88291
+ type: string;
88292
+ };
88293
+ entry_type: {
88294
+ enum: string[];
88295
+ type: string;
88296
+ };
88297
+ response_body: {
88298
+ additionalProperties: {
88299
+ $ref: string;
88300
+ };
88301
+ type: string;
88302
+ };
88303
+ response_status_code: {
88304
+ format: string;
88305
+ type: string;
88306
+ };
88307
+ errors?: never;
88308
+ properties_updated?: never;
88309
+ warnings?: never;
88310
+ event_id?: never;
88311
+ event_type?: never;
88312
+ };
88313
+ required: string[];
88314
+ type: string;
88315
+ })[];
88316
+ };
88317
+ created_at: {
88318
+ type: string;
88319
+ };
88320
+ entry_type: {
88321
+ type: string;
88322
+ };
88323
+ resource_id: {
88324
+ type: string;
88325
+ };
88326
+ resource_type: {
88327
+ type: string;
88328
+ };
88329
+ };
88330
+ required: string[];
88331
+ type: string;
88332
+ };
88333
+ type: string;
88334
+ };
88335
+ };
88336
+ required: string[];
88337
+ type: string;
88338
+ };
88339
+ type: string;
88340
+ };
88341
+ };
88342
+ required: string[];
88343
+ type: string;
88344
+ };
88345
+ };
88346
+ };
88347
+ description: string;
88348
+ };
88349
+ 400: {
88350
+ description: string;
88351
+ };
88352
+ 401: {
88353
+ description: string;
88354
+ };
88355
+ };
88356
+ security: ({
88357
+ client_session: never[];
88358
+ pat_with_workspace?: never;
88359
+ console_session_with_workspace?: never;
88360
+ api_key?: never;
88361
+ } | {
88362
+ pat_with_workspace: never[];
88363
+ client_session?: never;
88364
+ console_session_with_workspace?: never;
88365
+ api_key?: never;
88366
+ } | {
88367
+ console_session_with_workspace: never[];
88368
+ client_session?: never;
88369
+ pat_with_workspace?: never;
88370
+ api_key?: never;
88371
+ } | {
88372
+ api_key: never[];
88373
+ client_session?: never;
88374
+ pat_with_workspace?: never;
88375
+ console_session_with_workspace?: never;
88376
+ })[];
88377
+ summary: string;
88378
+ tags: never[];
88379
+ 'x-fern-sdk-group-name': string[];
88380
+ 'x-fern-sdk-method-name': string;
88381
+ 'x-fern-sdk-return-value': string;
88382
+ 'x-response-key': string;
88383
+ 'x-title': string;
88384
+ 'x-undocumented': string;
88385
+ };
88386
+ };
87832
88387
  '/seam/customer/v1/automation_runs/list': {
87833
88388
  get: {
87834
88389
  description: string;
@@ -139043,7 +139598,9 @@ type Routes = {
139043
139598
  jsonBody: {};
139044
139599
  commonParams: {
139045
139600
  /** ID of the instant key to get. */
139046
- instant_key_id: string;
139601
+ instant_key_id?: string | undefined;
139602
+ /** URL of the instant key to get. */
139603
+ instant_key_url?: string | undefined;
139047
139604
  };
139048
139605
  formData: {};
139049
139606
  jsonResponse: {
@@ -155768,6 +156325,82 @@ type Routes = {
155768
156325
  };
155769
156326
  };
155770
156327
  };
156328
+ '/seam/console/v1/timelines/get': {
156329
+ route: '/seam/console/v1/timelines/get';
156330
+ method: 'GET' | 'POST';
156331
+ queryParams: {};
156332
+ jsonBody: {};
156333
+ commonParams: {
156334
+ /** ID of the resource to get timelines for. */
156335
+ resource_id: string;
156336
+ /** Maximum number of timeline entry groups to return per page. */
156337
+ limit?: number;
156338
+ /** Timestamp by which to limit returned timeline entries. Returns entries created before this timestamp. */
156339
+ created_before?: Date | undefined;
156340
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
156341
+ page_cursor?: string | undefined;
156342
+ };
156343
+ formData: {};
156344
+ jsonResponse: {
156345
+ timeline: {
156346
+ context: {
156347
+ context_type: 'request';
156348
+ request_id: string;
156349
+ request_payload: {
156350
+ [x: string]: any;
156351
+ };
156352
+ response_payload: {
156353
+ [x: string]: any;
156354
+ };
156355
+ } | {
156356
+ context_type: 'job';
156357
+ job_id: string;
156358
+ };
156359
+ entries: {
156360
+ resource_type: string;
156361
+ resource_id: string;
156362
+ entry_type: string;
156363
+ body: {
156364
+ entry_type: 'resource_created';
156365
+ description: string;
156366
+ } | {
156367
+ entry_type: 'resource_updated';
156368
+ description: string;
156369
+ properties_updated?: {
156370
+ [x: string]: any;
156371
+ } | undefined;
156372
+ errors?: string[] | undefined;
156373
+ warnings?: string[] | undefined;
156374
+ } | {
156375
+ entry_type: 'resource_deleted';
156376
+ description: string;
156377
+ } | {
156378
+ entry_type: 'event';
156379
+ event_type: string;
156380
+ event_id: string;
156381
+ } | {
156382
+ entry_type: 'provider_call';
156383
+ description: string;
156384
+ response_status_code: number;
156385
+ response_body?: {
156386
+ [x: string]: any;
156387
+ } | undefined;
156388
+ };
156389
+ created_at: string;
156390
+ }[];
156391
+ created_at: string;
156392
+ }[];
156393
+ /** Information about the current page of results. */
156394
+ pagination: {
156395
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
156396
+ next_page_cursor: string | null;
156397
+ /** Indicates whether there is another page of results after this one. */
156398
+ has_next_page: boolean;
156399
+ /** URL to get the next page of results. */
156400
+ next_page_url: string | null;
156401
+ };
156402
+ };
156403
+ };
155771
156404
  '/seam/customer/v1/automation_runs/list': {
155772
156405
  route: '/seam/customer/v1/automation_runs/list';
155773
156406
  method: 'GET' | 'POST';