attune-sdk 0.5.1 → 0.5.2

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.
@@ -2374,6 +2374,7 @@ export type ApplyWorkQueueItemsResponse = {
2374
2374
  preview_count: number;
2375
2375
  skipped_count: number;
2376
2376
  };
2377
+ export type ArtifactBodyState = 'pending' | 'ready' | 'deleting';
2377
2378
  export type ArtifactClassification = 'general' | 'runtime_log';
2378
2379
  export type ArtifactJsonPatch = {
2379
2380
  op: 'set';
@@ -10276,6 +10277,7 @@ export type AllocateFileVersionByRefResponses = {
10276
10277
  * Parent artifact ID
10277
10278
  */
10278
10279
  artifact: number;
10280
+ body_state?: null | ArtifactBodyState;
10279
10281
  content_json?: null | Value;
10280
10282
  /**
10281
10283
  * MIME content type
@@ -10305,6 +10307,18 @@ export type AllocateFileVersionByRefResponses = {
10305
10307
  */
10306
10308
  id: number;
10307
10309
  meta?: null | Value;
10310
+ /**
10311
+ * Immutable object-store locator.
10312
+ */
10313
+ object_key?: string | null;
10314
+ /**
10315
+ * Opaque provider generation, version ID, or ETag pinned for reads.
10316
+ */
10317
+ provider_version?: string | null;
10318
+ /**
10319
+ * SHA-256 digest of the ready body.
10320
+ */
10321
+ sha256?: string | null;
10308
10322
  /**
10309
10323
  * Size of content in bytes
10310
10324
  */
@@ -10355,6 +10369,7 @@ export type UploadVersionByRefResponses = {
10355
10369
  * Parent artifact ID
10356
10370
  */
10357
10371
  artifact: number;
10372
+ body_state?: null | ArtifactBodyState;
10358
10373
  content_json?: null | Value;
10359
10374
  /**
10360
10375
  * MIME content type
@@ -10384,6 +10399,18 @@ export type UploadVersionByRefResponses = {
10384
10399
  */
10385
10400
  id: number;
10386
10401
  meta?: null | Value;
10402
+ /**
10403
+ * Immutable object-store locator.
10404
+ */
10405
+ object_key?: string | null;
10406
+ /**
10407
+ * Opaque provider generation, version ID, or ETag pinned for reads.
10408
+ */
10409
+ provider_version?: string | null;
10410
+ /**
10411
+ * SHA-256 digest of the ready body.
10412
+ */
10413
+ sha256?: string | null;
10387
10414
  /**
10388
10415
  * Size of content in bytes
10389
10416
  */
@@ -10725,12 +10752,20 @@ export type DownloadLatestErrors = {
10725
10752
  * Artifact not found or no versions
10726
10753
  */
10727
10754
  404: unknown;
10755
+ /**
10756
+ * Requested range is not satisfiable
10757
+ */
10758
+ 416: unknown;
10728
10759
  };
10729
10760
  export type DownloadLatestResponses = {
10730
10761
  /**
10731
10762
  * Binary file content of latest version
10732
10763
  */
10733
10764
  200: Blob | File;
10765
+ /**
10766
+ * Requested byte range
10767
+ */
10768
+ 206: Blob | File;
10734
10769
  };
10735
10770
  export type DownloadLatestResponse = DownloadLatestResponses[keyof DownloadLatestResponses];
10736
10771
  export type AppendProgressData = {
@@ -10882,6 +10917,7 @@ export type ListVersionsResponses = {
10882
10917
  */
10883
10918
  200: {
10884
10919
  data: Array<{
10920
+ body_state?: null | ArtifactBodyState;
10885
10921
  /**
10886
10922
  * MIME content type
10887
10923
  */
@@ -10906,6 +10942,9 @@ export type ListVersionsResponses = {
10906
10942
  * Version ID
10907
10943
  */
10908
10944
  id: number;
10945
+ object_key?: string | null;
10946
+ provider_version?: string | null;
10947
+ sha256?: string | null;
10909
10948
  /**
10910
10949
  * Size of content in bytes
10911
10950
  */
@@ -10952,6 +10991,7 @@ export type CreateVersionJsonResponses = {
10952
10991
  * Parent artifact ID
10953
10992
  */
10954
10993
  artifact: number;
10994
+ body_state?: null | ArtifactBodyState;
10955
10995
  content_json?: null | Value;
10956
10996
  /**
10957
10997
  * MIME content type
@@ -10981,6 +11021,18 @@ export type CreateVersionJsonResponses = {
10981
11021
  */
10982
11022
  id: number;
10983
11023
  meta?: null | Value;
11024
+ /**
11025
+ * Immutable object-store locator.
11026
+ */
11027
+ object_key?: string | null;
11028
+ /**
11029
+ * Opaque provider generation, version ID, or ETag pinned for reads.
11030
+ */
11031
+ provider_version?: string | null;
11032
+ /**
11033
+ * SHA-256 digest of the ready body.
11034
+ */
11035
+ sha256?: string | null;
10984
11036
  /**
10985
11037
  * Size of content in bytes
10986
11038
  */
@@ -11031,6 +11083,7 @@ export type CreateVersionFileResponses = {
11031
11083
  * Parent artifact ID
11032
11084
  */
11033
11085
  artifact: number;
11086
+ body_state?: null | ArtifactBodyState;
11034
11087
  content_json?: null | Value;
11035
11088
  /**
11036
11089
  * MIME content type
@@ -11060,6 +11113,18 @@ export type CreateVersionFileResponses = {
11060
11113
  */
11061
11114
  id: number;
11062
11115
  meta?: null | Value;
11116
+ /**
11117
+ * Immutable object-store locator.
11118
+ */
11119
+ object_key?: string | null;
11120
+ /**
11121
+ * Opaque provider generation, version ID, or ETag pinned for reads.
11122
+ */
11123
+ provider_version?: string | null;
11124
+ /**
11125
+ * SHA-256 digest of the ready body.
11126
+ */
11127
+ sha256?: string | null;
11063
11128
  /**
11064
11129
  * Size of content in bytes
11065
11130
  */
@@ -11106,6 +11171,7 @@ export type GetLatestVersionResponses = {
11106
11171
  * Parent artifact ID
11107
11172
  */
11108
11173
  artifact: number;
11174
+ body_state?: null | ArtifactBodyState;
11109
11175
  content_json?: null | Value;
11110
11176
  /**
11111
11177
  * MIME content type
@@ -11135,6 +11201,18 @@ export type GetLatestVersionResponses = {
11135
11201
  */
11136
11202
  id: number;
11137
11203
  meta?: null | Value;
11204
+ /**
11205
+ * Immutable object-store locator.
11206
+ */
11207
+ object_key?: string | null;
11208
+ /**
11209
+ * Opaque provider generation, version ID, or ETag pinned for reads.
11210
+ */
11211
+ provider_version?: string | null;
11212
+ /**
11213
+ * SHA-256 digest of the ready body.
11214
+ */
11215
+ sha256?: string | null;
11138
11216
  /**
11139
11217
  * Size of content in bytes
11140
11218
  */
@@ -11189,6 +11267,7 @@ export type UploadVersionResponses = {
11189
11267
  * Parent artifact ID
11190
11268
  */
11191
11269
  artifact: number;
11270
+ body_state?: null | ArtifactBodyState;
11192
11271
  content_json?: null | Value;
11193
11272
  /**
11194
11273
  * MIME content type
@@ -11218,6 +11297,18 @@ export type UploadVersionResponses = {
11218
11297
  */
11219
11298
  id: number;
11220
11299
  meta?: null | Value;
11300
+ /**
11301
+ * Immutable object-store locator.
11302
+ */
11303
+ object_key?: string | null;
11304
+ /**
11305
+ * Opaque provider generation, version ID, or ETag pinned for reads.
11306
+ */
11307
+ provider_version?: string | null;
11308
+ /**
11309
+ * SHA-256 digest of the ready body.
11310
+ */
11311
+ sha256?: string | null;
11221
11312
  /**
11222
11313
  * Size of content in bytes
11223
11314
  */
@@ -11296,6 +11387,7 @@ export type GetVersionResponses = {
11296
11387
  * Parent artifact ID
11297
11388
  */
11298
11389
  artifact: number;
11390
+ body_state?: null | ArtifactBodyState;
11299
11391
  content_json?: null | Value;
11300
11392
  /**
11301
11393
  * MIME content type
@@ -11325,6 +11417,18 @@ export type GetVersionResponses = {
11325
11417
  */
11326
11418
  id: number;
11327
11419
  meta?: null | Value;
11420
+ /**
11421
+ * Immutable object-store locator.
11422
+ */
11423
+ object_key?: string | null;
11424
+ /**
11425
+ * Opaque provider generation, version ID, or ETag pinned for reads.
11426
+ */
11427
+ provider_version?: string | null;
11428
+ /**
11429
+ * SHA-256 digest of the ready body.
11430
+ */
11431
+ sha256?: string | null;
11328
11432
  /**
11329
11433
  * Size of content in bytes
11330
11434
  */
@@ -11361,12 +11465,20 @@ export type DownloadVersionErrors = {
11361
11465
  * Artifact, version, or content not found
11362
11466
  */
11363
11467
  404: unknown;
11468
+ /**
11469
+ * Requested range is not satisfiable
11470
+ */
11471
+ 416: unknown;
11364
11472
  };
11365
11473
  export type DownloadVersionResponses = {
11366
11474
  /**
11367
11475
  * Binary file content
11368
11476
  */
11369
11477
  200: Blob | File;
11478
+ /**
11479
+ * Requested byte range
11480
+ */
11481
+ 206: Blob | File;
11370
11482
  };
11371
11483
  export type DownloadVersionResponse = DownloadVersionResponses[keyof DownloadVersionResponses];
11372
11484
  export type ListAuditEventsData = {
@@ -14503,12 +14615,20 @@ export type DownloadFileErrors = {
14503
14615
  * File not found
14504
14616
  */
14505
14617
  404: unknown;
14618
+ /**
14619
+ * Requested range is not satisfiable
14620
+ */
14621
+ 416: unknown;
14506
14622
  };
14507
14623
  export type DownloadFileResponses = {
14508
14624
  /**
14509
14625
  * File content
14510
14626
  */
14511
14627
  200: Blob | File;
14628
+ /**
14629
+ * Requested byte range
14630
+ */
14631
+ 206: Blob | File;
14512
14632
  };
14513
14633
  export type DownloadFileResponse = DownloadFileResponses[keyof DownloadFileResponses];
14514
14634
  export type CheckFileData = {
@@ -14542,38 +14662,6 @@ export type CheckFileResponses = {
14542
14662
  */
14543
14663
  200: unknown;
14544
14664
  };
14545
- export type AppendToFileData = {
14546
- body: string;
14547
- path: {
14548
- /**
14549
- * Relative artifact file path
14550
- */
14551
- file_path: string;
14552
- };
14553
- query?: never;
14554
- url: '/api/v1/internal/files/{file_path}';
14555
- };
14556
- export type AppendToFileErrors = {
14557
- /**
14558
- * Invalid file path
14559
- */
14560
- 400: unknown;
14561
- /**
14562
- * Unauthorized
14563
- */
14564
- 401: unknown;
14565
- /**
14566
- * Payload too large
14567
- */
14568
- 413: unknown;
14569
- };
14570
- export type AppendToFileResponses = {
14571
- /**
14572
- * File content appended
14573
- */
14574
- 204: void;
14575
- };
14576
- export type AppendToFileResponse = AppendToFileResponses[keyof AppendToFileResponses];
14577
14665
  export type UploadFileData = {
14578
14666
  body: string;
14579
14667
  path: {
@@ -14663,12 +14751,20 @@ export type DownloadPackArchiveErrors = {
14663
14751
  * Pack not found
14664
14752
  */
14665
14753
  404: unknown;
14754
+ /**
14755
+ * Requested range is not satisfiable
14756
+ */
14757
+ 416: unknown;
14666
14758
  };
14667
14759
  export type DownloadPackArchiveResponses = {
14668
14760
  /**
14669
14761
  * Pack archive
14670
14762
  */
14671
14763
  200: Blob | File;
14764
+ /**
14765
+ * Requested pack archive byte range
14766
+ */
14767
+ 206: Blob | File;
14672
14768
  };
14673
14769
  export type DownloadPackArchiveResponse = DownloadPackArchiveResponses[keyof DownloadPackArchiveResponses];
14674
14770
  export type ListKeysData = {