agentmail 0.1.18 → 0.1.19

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "agentmail",
46
- "X-Fern-SDK-Version": "0.1.18",
47
- "User-Agent": "agentmail/0.1.18",
46
+ "X-Fern-SDK-Version": "0.1.19",
47
+ "User-Agent": "agentmail/0.1.19",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -4,6 +4,6 @@ export interface Attachment {
4
4
  filename?: AgentMail.AttachmentFilename;
5
5
  size: AgentMail.AttachmentSize;
6
6
  contentType?: AgentMail.AttachmentContentType;
7
- contentDisposition: AgentMail.AttachmentContentDisposition;
7
+ contentDisposition?: AgentMail.AttachmentContentDisposition;
8
8
  contentId?: AgentMail.AttachmentContentId;
9
9
  }
@@ -14,7 +14,7 @@ export declare namespace Attachment {
14
14
  filename?: AttachmentFilename.Raw | null;
15
15
  size: AttachmentSize.Raw;
16
16
  content_type?: AttachmentContentType.Raw | null;
17
- content_disposition: AttachmentContentDisposition.Raw;
17
+ content_disposition?: AttachmentContentDisposition.Raw | null;
18
18
  content_id?: AttachmentContentId.Raw | null;
19
19
  }
20
20
  }
@@ -47,6 +47,6 @@ exports.Attachment = core.serialization.object({
47
47
  filename: AttachmentFilename_js_1.AttachmentFilename.optional(),
48
48
  size: AttachmentSize_js_1.AttachmentSize,
49
49
  contentType: core.serialization.property("content_type", AttachmentContentType_js_1.AttachmentContentType.optional()),
50
- contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition_js_1.AttachmentContentDisposition),
50
+ contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition_js_1.AttachmentContentDisposition.optional()),
51
51
  contentId: core.serialization.property("content_id", AttachmentContentId_js_1.AttachmentContentId.optional()),
52
52
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.18";
1
+ export declare const SDK_VERSION = "0.1.19";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.1.18";
4
+ exports.SDK_VERSION = "0.1.19";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "agentmail",
9
- "X-Fern-SDK-Version": "0.1.18",
10
- "User-Agent": "agentmail/0.1.18",
9
+ "X-Fern-SDK-Version": "0.1.19",
10
+ "User-Agent": "agentmail/0.1.19",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -4,6 +4,6 @@ export interface Attachment {
4
4
  filename?: AgentMail.AttachmentFilename;
5
5
  size: AgentMail.AttachmentSize;
6
6
  contentType?: AgentMail.AttachmentContentType;
7
- contentDisposition: AgentMail.AttachmentContentDisposition;
7
+ contentDisposition?: AgentMail.AttachmentContentDisposition;
8
8
  contentId?: AgentMail.AttachmentContentId;
9
9
  }
@@ -14,7 +14,7 @@ export declare namespace Attachment {
14
14
  filename?: AttachmentFilename.Raw | null;
15
15
  size: AttachmentSize.Raw;
16
16
  content_type?: AttachmentContentType.Raw | null;
17
- content_disposition: AttachmentContentDisposition.Raw;
17
+ content_disposition?: AttachmentContentDisposition.Raw | null;
18
18
  content_id?: AttachmentContentId.Raw | null;
19
19
  }
20
20
  }
@@ -11,6 +11,6 @@ export const Attachment = core.serialization.object({
11
11
  filename: AttachmentFilename.optional(),
12
12
  size: AttachmentSize,
13
13
  contentType: core.serialization.property("content_type", AttachmentContentType.optional()),
14
- contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition),
14
+ contentDisposition: core.serialization.property("content_disposition", AttachmentContentDisposition.optional()),
15
15
  contentId: core.serialization.property("content_id", AttachmentContentId.optional()),
16
16
  });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.1.18";
1
+ export declare const SDK_VERSION = "0.1.19";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.1.18";
1
+ export const SDK_VERSION = "0.1.19";
@@ -7736,12 +7736,17 @@ components:
7736
7736
  type: string
7737
7737
  type_attachments:AttachmentFilename:
7738
7738
  type: string
7739
- type_attachments:AttachmentContentType:
7740
- type: string
7741
7739
  type_attachments:AttachmentSize:
7742
7740
  type: integer
7743
- type_attachments:AttachmentInline:
7744
- type: boolean
7741
+ type_attachments:AttachmentContentType:
7742
+ type: string
7743
+ type_attachments:AttachmentContentDisposition:
7744
+ type: string
7745
+ enum:
7746
+ - value: inline
7747
+ - value: attachment
7748
+ type_attachments:AttachmentContentId:
7749
+ type: string
7745
7750
  type_attachments:Attachment:
7746
7751
  type: object
7747
7752
  properties:
@@ -7749,16 +7754,18 @@ components:
7749
7754
  $ref: '#/components/schemas/type_attachments:AttachmentId'
7750
7755
  filename:
7751
7756
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
7752
- content_type:
7753
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
7754
7757
  size:
7755
7758
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
7756
- inline:
7757
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
7759
+ content_type:
7760
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
7761
+ content_disposition:
7762
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
7763
+ content_id:
7764
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
7758
7765
  required:
7759
7766
  - attachment_id
7760
7767
  - size
7761
- - inline
7768
+ - content_disposition
7762
7769
  type_threads:ThreadAttachments:
7763
7770
  type: array
7764
7771
  items:
@@ -8054,12 +8061,17 @@ components:
8054
8061
  type: string
8055
8062
  type_attachments:AttachmentFilename:
8056
8063
  type: string
8057
- type_attachments:AttachmentContentType:
8058
- type: string
8059
8064
  type_attachments:AttachmentSize:
8060
8065
  type: integer
8061
- type_attachments:AttachmentInline:
8062
- type: boolean
8066
+ type_attachments:AttachmentContentType:
8067
+ type: string
8068
+ type_attachments:AttachmentContentDisposition:
8069
+ type: string
8070
+ enum:
8071
+ - value: inline
8072
+ - value: attachment
8073
+ type_attachments:AttachmentContentId:
8074
+ type: string
8063
8075
  type_attachments:Attachment:
8064
8076
  type: object
8065
8077
  properties:
@@ -8067,16 +8079,18 @@ components:
8067
8079
  $ref: '#/components/schemas/type_attachments:AttachmentId'
8068
8080
  filename:
8069
8081
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
8070
- content_type:
8071
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
8072
8082
  size:
8073
8083
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
8074
- inline:
8075
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
8084
+ content_type:
8085
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
8086
+ content_disposition:
8087
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
8088
+ content_id:
8089
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
8076
8090
  required:
8077
8091
  - attachment_id
8078
8092
  - size
8079
- - inline
8093
+ - content_disposition
8080
8094
  type_threads:ThreadAttachments:
8081
8095
  type: array
8082
8096
  items:
@@ -8909,12 +8923,17 @@ components:
8909
8923
  type: string
8910
8924
  type_attachments:AttachmentFilename:
8911
8925
  type: string
8912
- type_attachments:AttachmentContentType:
8913
- type: string
8914
8926
  type_attachments:AttachmentSize:
8915
8927
  type: integer
8916
- type_attachments:AttachmentInline:
8917
- type: boolean
8928
+ type_attachments:AttachmentContentType:
8929
+ type: string
8930
+ type_attachments:AttachmentContentDisposition:
8931
+ type: string
8932
+ enum:
8933
+ - value: inline
8934
+ - value: attachment
8935
+ type_attachments:AttachmentContentId:
8936
+ type: string
8918
8937
  type_attachments:Attachment:
8919
8938
  type: object
8920
8939
  properties:
@@ -8922,16 +8941,18 @@ components:
8922
8941
  $ref: '#/components/schemas/type_attachments:AttachmentId'
8923
8942
  filename:
8924
8943
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
8925
- content_type:
8926
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
8927
8944
  size:
8928
8945
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
8929
- inline:
8930
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
8946
+ content_type:
8947
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
8948
+ content_disposition:
8949
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
8950
+ content_id:
8951
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
8931
8952
  required:
8932
8953
  - attachment_id
8933
8954
  - size
8934
- - inline
8955
+ - content_disposition
8935
8956
  type_messages:MessageAttachments:
8936
8957
  type: array
8937
8958
  items:
@@ -9240,12 +9261,17 @@ components:
9240
9261
  type: string
9241
9262
  type_attachments:AttachmentFilename:
9242
9263
  type: string
9243
- type_attachments:AttachmentContentType:
9244
- type: string
9245
9264
  type_attachments:AttachmentSize:
9246
9265
  type: integer
9247
- type_attachments:AttachmentInline:
9248
- type: boolean
9266
+ type_attachments:AttachmentContentType:
9267
+ type: string
9268
+ type_attachments:AttachmentContentDisposition:
9269
+ type: string
9270
+ enum:
9271
+ - value: inline
9272
+ - value: attachment
9273
+ type_attachments:AttachmentContentId:
9274
+ type: string
9249
9275
  type_attachments:Attachment:
9250
9276
  type: object
9251
9277
  properties:
@@ -9253,16 +9279,18 @@ components:
9253
9279
  $ref: '#/components/schemas/type_attachments:AttachmentId'
9254
9280
  filename:
9255
9281
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
9256
- content_type:
9257
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
9258
9282
  size:
9259
9283
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
9260
- inline:
9261
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
9284
+ content_type:
9285
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
9286
+ content_disposition:
9287
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
9288
+ content_id:
9289
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
9262
9290
  required:
9263
9291
  - attachment_id
9264
9292
  - size
9265
- - inline
9293
+ - content_disposition
9266
9294
  type_messages:MessageAttachments:
9267
9295
  type: array
9268
9296
  items:
@@ -9950,6 +9978,13 @@ components:
9950
9978
  type: string
9951
9979
  type_attachments:AttachmentContentType:
9952
9980
  type: string
9981
+ type_attachments:AttachmentContentDisposition:
9982
+ type: string
9983
+ enum:
9984
+ - value: inline
9985
+ - value: attachment
9986
+ type_attachments:AttachmentContentId:
9987
+ type: string
9953
9988
  type_attachments:AttachmentContent:
9954
9989
  type: string
9955
9990
  type_attachments:SendAttachment:
@@ -9959,6 +9994,10 @@ components:
9959
9994
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
9960
9995
  content_type:
9961
9996
  $ref: '#/components/schemas/type_attachments:AttachmentContentType'
9997
+ content_disposition:
9998
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
9999
+ content_id:
10000
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
9962
10001
  content:
9963
10002
  $ref: '#/components/schemas/type_attachments:AttachmentContent'
9964
10003
  required:
@@ -10251,6 +10290,13 @@ components:
10251
10290
  type: string
10252
10291
  type_attachments:AttachmentContentType:
10253
10292
  type: string
10293
+ type_attachments:AttachmentContentDisposition:
10294
+ type: string
10295
+ enum:
10296
+ - value: inline
10297
+ - value: attachment
10298
+ type_attachments:AttachmentContentId:
10299
+ type: string
10254
10300
  type_attachments:AttachmentContent:
10255
10301
  type: string
10256
10302
  type_attachments:SendAttachment:
@@ -10260,6 +10306,10 @@ components:
10260
10306
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
10261
10307
  content_type:
10262
10308
  $ref: '#/components/schemas/type_attachments:AttachmentContentType'
10309
+ content_disposition:
10310
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
10311
+ content_id:
10312
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
10263
10313
  content:
10264
10314
  $ref: '#/components/schemas/type_attachments:AttachmentContent'
10265
10315
  required:
@@ -10543,6 +10593,13 @@ components:
10543
10593
  type: string
10544
10594
  type_attachments:AttachmentContentType:
10545
10595
  type: string
10596
+ type_attachments:AttachmentContentDisposition:
10597
+ type: string
10598
+ enum:
10599
+ - value: inline
10600
+ - value: attachment
10601
+ type_attachments:AttachmentContentId:
10602
+ type: string
10546
10603
  type_attachments:AttachmentContent:
10547
10604
  type: string
10548
10605
  type_attachments:SendAttachment:
@@ -10552,6 +10609,10 @@ components:
10552
10609
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
10553
10610
  content_type:
10554
10611
  $ref: '#/components/schemas/type_attachments:AttachmentContentType'
10612
+ content_disposition:
10613
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
10614
+ content_id:
10615
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
10555
10616
  content:
10556
10617
  $ref: '#/components/schemas/type_attachments:AttachmentContent'
10557
10618
  required:
@@ -10852,12 +10913,17 @@ components:
10852
10913
  type: string
10853
10914
  type_attachments:AttachmentFilename:
10854
10915
  type: string
10855
- type_attachments:AttachmentContentType:
10856
- type: string
10857
10916
  type_attachments:AttachmentSize:
10858
10917
  type: integer
10859
- type_attachments:AttachmentInline:
10860
- type: boolean
10918
+ type_attachments:AttachmentContentType:
10919
+ type: string
10920
+ type_attachments:AttachmentContentDisposition:
10921
+ type: string
10922
+ enum:
10923
+ - value: inline
10924
+ - value: attachment
10925
+ type_attachments:AttachmentContentId:
10926
+ type: string
10861
10927
  type_attachments:Attachment:
10862
10928
  type: object
10863
10929
  properties:
@@ -10865,16 +10931,18 @@ components:
10865
10931
  $ref: '#/components/schemas/type_attachments:AttachmentId'
10866
10932
  filename:
10867
10933
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
10868
- content_type:
10869
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
10870
10934
  size:
10871
10935
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
10872
- inline:
10873
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
10936
+ content_type:
10937
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
10938
+ content_disposition:
10939
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
10940
+ content_id:
10941
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
10874
10942
  required:
10875
10943
  - attachment_id
10876
10944
  - size
10877
- - inline
10945
+ - content_disposition
10878
10946
  type_messages:MessageAttachments:
10879
10947
  type: array
10880
10948
  items:
@@ -11237,12 +11305,17 @@ components:
11237
11305
  type: string
11238
11306
  type_attachments:AttachmentFilename:
11239
11307
  type: string
11240
- type_attachments:AttachmentContentType:
11241
- type: string
11242
11308
  type_attachments:AttachmentSize:
11243
11309
  type: integer
11244
- type_attachments:AttachmentInline:
11245
- type: boolean
11310
+ type_attachments:AttachmentContentType:
11311
+ type: string
11312
+ type_attachments:AttachmentContentDisposition:
11313
+ type: string
11314
+ enum:
11315
+ - value: inline
11316
+ - value: attachment
11317
+ type_attachments:AttachmentContentId:
11318
+ type: string
11246
11319
  type_attachments:Attachment:
11247
11320
  type: object
11248
11321
  properties:
@@ -11250,16 +11323,18 @@ components:
11250
11323
  $ref: '#/components/schemas/type_attachments:AttachmentId'
11251
11324
  filename:
11252
11325
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
11253
- content_type:
11254
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
11255
11326
  size:
11256
11327
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
11257
- inline:
11258
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
11328
+ content_type:
11329
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
11330
+ content_disposition:
11331
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
11332
+ content_id:
11333
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
11259
11334
  required:
11260
11335
  - attachment_id
11261
11336
  - size
11262
- - inline
11337
+ - content_disposition
11263
11338
  type_drafts:DraftAttachments:
11264
11339
  type: array
11265
11340
  items:
@@ -11548,12 +11623,17 @@ components:
11548
11623
  type: string
11549
11624
  type_attachments:AttachmentFilename:
11550
11625
  type: string
11551
- type_attachments:AttachmentContentType:
11552
- type: string
11553
11626
  type_attachments:AttachmentSize:
11554
11627
  type: integer
11555
- type_attachments:AttachmentInline:
11556
- type: boolean
11628
+ type_attachments:AttachmentContentType:
11629
+ type: string
11630
+ type_attachments:AttachmentContentDisposition:
11631
+ type: string
11632
+ enum:
11633
+ - value: inline
11634
+ - value: attachment
11635
+ type_attachments:AttachmentContentId:
11636
+ type: string
11557
11637
  type_attachments:Attachment:
11558
11638
  type: object
11559
11639
  properties:
@@ -11561,16 +11641,18 @@ components:
11561
11641
  $ref: '#/components/schemas/type_attachments:AttachmentId'
11562
11642
  filename:
11563
11643
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
11564
- content_type:
11565
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
11566
11644
  size:
11567
11645
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
11568
- inline:
11569
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
11646
+ content_type:
11647
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
11648
+ content_disposition:
11649
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
11650
+ content_id:
11651
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
11570
11652
  required:
11571
11653
  - attachment_id
11572
11654
  - size
11573
- - inline
11655
+ - content_disposition
11574
11656
  type_drafts:DraftAttachments:
11575
11657
  type: array
11576
11658
  items:
@@ -11896,12 +11978,17 @@ components:
11896
11978
  type: string
11897
11979
  type_attachments:AttachmentFilename:
11898
11980
  type: string
11899
- type_attachments:AttachmentContentType:
11900
- type: string
11901
11981
  type_attachments:AttachmentSize:
11902
11982
  type: integer
11903
- type_attachments:AttachmentInline:
11904
- type: boolean
11983
+ type_attachments:AttachmentContentType:
11984
+ type: string
11985
+ type_attachments:AttachmentContentDisposition:
11986
+ type: string
11987
+ enum:
11988
+ - value: inline
11989
+ - value: attachment
11990
+ type_attachments:AttachmentContentId:
11991
+ type: string
11905
11992
  type_attachments:Attachment:
11906
11993
  type: object
11907
11994
  properties:
@@ -11909,16 +11996,18 @@ components:
11909
11996
  $ref: '#/components/schemas/type_attachments:AttachmentId'
11910
11997
  filename:
11911
11998
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
11912
- content_type:
11913
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
11914
11999
  size:
11915
12000
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
11916
- inline:
11917
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
12001
+ content_type:
12002
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
12003
+ content_disposition:
12004
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
12005
+ content_id:
12006
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
11918
12007
  required:
11919
12008
  - attachment_id
11920
12009
  - size
11921
- - inline
12010
+ - content_disposition
11922
12011
  type_drafts:DraftAttachments:
11923
12012
  type: array
11924
12013
  items:
@@ -12254,12 +12343,17 @@ components:
12254
12343
  type: string
12255
12344
  type_attachments:AttachmentFilename:
12256
12345
  type: string
12257
- type_attachments:AttachmentContentType:
12258
- type: string
12259
12346
  type_attachments:AttachmentSize:
12260
12347
  type: integer
12261
- type_attachments:AttachmentInline:
12262
- type: boolean
12348
+ type_attachments:AttachmentContentType:
12349
+ type: string
12350
+ type_attachments:AttachmentContentDisposition:
12351
+ type: string
12352
+ enum:
12353
+ - value: inline
12354
+ - value: attachment
12355
+ type_attachments:AttachmentContentId:
12356
+ type: string
12263
12357
  type_attachments:Attachment:
12264
12358
  type: object
12265
12359
  properties:
@@ -12267,16 +12361,18 @@ components:
12267
12361
  $ref: '#/components/schemas/type_attachments:AttachmentId'
12268
12362
  filename:
12269
12363
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
12270
- content_type:
12271
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
12272
12364
  size:
12273
12365
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
12274
- inline:
12275
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
12366
+ content_type:
12367
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
12368
+ content_disposition:
12369
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
12370
+ content_id:
12371
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
12276
12372
  required:
12277
12373
  - attachment_id
12278
12374
  - size
12279
- - inline
12375
+ - content_disposition
12280
12376
  type_drafts:DraftAttachments:
12281
12377
  type: array
12282
12378
  items:
@@ -13316,12 +13412,17 @@ components:
13316
13412
  type: string
13317
13413
  type_attachments:AttachmentFilename:
13318
13414
  type: string
13319
- type_attachments:AttachmentContentType:
13320
- type: string
13321
13415
  type_attachments:AttachmentSize:
13322
13416
  type: integer
13323
- type_attachments:AttachmentInline:
13324
- type: boolean
13417
+ type_attachments:AttachmentContentType:
13418
+ type: string
13419
+ type_attachments:AttachmentContentDisposition:
13420
+ type: string
13421
+ enum:
13422
+ - value: inline
13423
+ - value: attachment
13424
+ type_attachments:AttachmentContentId:
13425
+ type: string
13325
13426
  type_attachments:Attachment:
13326
13427
  type: object
13327
13428
  properties:
@@ -13329,16 +13430,18 @@ components:
13329
13430
  $ref: '#/components/schemas/type_attachments:AttachmentId'
13330
13431
  filename:
13331
13432
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
13332
- content_type:
13333
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
13334
13433
  size:
13335
13434
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
13336
- inline:
13337
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
13435
+ content_type:
13436
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
13437
+ content_disposition:
13438
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
13439
+ content_id:
13440
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
13338
13441
  required:
13339
13442
  - attachment_id
13340
13443
  - size
13341
- - inline
13444
+ - content_disposition
13342
13445
  type_threads:ThreadAttachments:
13343
13446
  type: array
13344
13447
  items:
@@ -13626,12 +13729,17 @@ components:
13626
13729
  type: string
13627
13730
  type_attachments:AttachmentFilename:
13628
13731
  type: string
13629
- type_attachments:AttachmentContentType:
13630
- type: string
13631
13732
  type_attachments:AttachmentSize:
13632
13733
  type: integer
13633
- type_attachments:AttachmentInline:
13634
- type: boolean
13734
+ type_attachments:AttachmentContentType:
13735
+ type: string
13736
+ type_attachments:AttachmentContentDisposition:
13737
+ type: string
13738
+ enum:
13739
+ - value: inline
13740
+ - value: attachment
13741
+ type_attachments:AttachmentContentId:
13742
+ type: string
13635
13743
  type_attachments:Attachment:
13636
13744
  type: object
13637
13745
  properties:
@@ -13639,16 +13747,18 @@ components:
13639
13747
  $ref: '#/components/schemas/type_attachments:AttachmentId'
13640
13748
  filename:
13641
13749
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
13642
- content_type:
13643
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
13644
13750
  size:
13645
13751
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
13646
- inline:
13647
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
13752
+ content_type:
13753
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
13754
+ content_disposition:
13755
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
13756
+ content_id:
13757
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
13648
13758
  required:
13649
13759
  - attachment_id
13650
13760
  - size
13651
- - inline
13761
+ - content_disposition
13652
13762
  type_threads:ThreadAttachments:
13653
13763
  type: array
13654
13764
  items:
@@ -14272,12 +14382,17 @@ components:
14272
14382
  type: string
14273
14383
  type_attachments:AttachmentFilename:
14274
14384
  type: string
14275
- type_attachments:AttachmentContentType:
14276
- type: string
14277
14385
  type_attachments:AttachmentSize:
14278
14386
  type: integer
14279
- type_attachments:AttachmentInline:
14280
- type: boolean
14387
+ type_attachments:AttachmentContentType:
14388
+ type: string
14389
+ type_attachments:AttachmentContentDisposition:
14390
+ type: string
14391
+ enum:
14392
+ - value: inline
14393
+ - value: attachment
14394
+ type_attachments:AttachmentContentId:
14395
+ type: string
14281
14396
  type_attachments:Attachment:
14282
14397
  type: object
14283
14398
  properties:
@@ -14285,16 +14400,18 @@ components:
14285
14400
  $ref: '#/components/schemas/type_attachments:AttachmentId'
14286
14401
  filename:
14287
14402
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
14288
- content_type:
14289
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
14290
14403
  size:
14291
14404
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
14292
- inline:
14293
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
14405
+ content_type:
14406
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
14407
+ content_disposition:
14408
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
14409
+ content_id:
14410
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
14294
14411
  required:
14295
14412
  - attachment_id
14296
14413
  - size
14297
- - inline
14414
+ - content_disposition
14298
14415
  type_drafts:DraftAttachments:
14299
14416
  type: array
14300
14417
  items:
@@ -14575,12 +14692,17 @@ components:
14575
14692
  type: string
14576
14693
  type_attachments:AttachmentFilename:
14577
14694
  type: string
14578
- type_attachments:AttachmentContentType:
14579
- type: string
14580
14695
  type_attachments:AttachmentSize:
14581
14696
  type: integer
14582
- type_attachments:AttachmentInline:
14583
- type: boolean
14697
+ type_attachments:AttachmentContentType:
14698
+ type: string
14699
+ type_attachments:AttachmentContentDisposition:
14700
+ type: string
14701
+ enum:
14702
+ - value: inline
14703
+ - value: attachment
14704
+ type_attachments:AttachmentContentId:
14705
+ type: string
14584
14706
  type_attachments:Attachment:
14585
14707
  type: object
14586
14708
  properties:
@@ -14588,16 +14710,18 @@ components:
14588
14710
  $ref: '#/components/schemas/type_attachments:AttachmentId'
14589
14711
  filename:
14590
14712
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
14591
- content_type:
14592
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
14593
14713
  size:
14594
14714
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
14595
- inline:
14596
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
14715
+ content_type:
14716
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
14717
+ content_disposition:
14718
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
14719
+ content_id:
14720
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
14597
14721
  required:
14598
14722
  - attachment_id
14599
14723
  - size
14600
- - inline
14724
+ - content_disposition
14601
14725
  type_drafts:DraftAttachments:
14602
14726
  type: array
14603
14727
  items:
@@ -17169,12 +17293,17 @@ components:
17169
17293
  type: string
17170
17294
  type_attachments:AttachmentFilename:
17171
17295
  type: string
17172
- type_attachments:AttachmentContentType:
17173
- type: string
17174
17296
  type_attachments:AttachmentSize:
17175
17297
  type: integer
17176
- type_attachments:AttachmentInline:
17177
- type: boolean
17298
+ type_attachments:AttachmentContentType:
17299
+ type: string
17300
+ type_attachments:AttachmentContentDisposition:
17301
+ type: string
17302
+ enum:
17303
+ - value: inline
17304
+ - value: attachment
17305
+ type_attachments:AttachmentContentId:
17306
+ type: string
17178
17307
  type_attachments:Attachment:
17179
17308
  type: object
17180
17309
  properties:
@@ -17182,16 +17311,18 @@ components:
17182
17311
  $ref: '#/components/schemas/type_attachments:AttachmentId'
17183
17312
  filename:
17184
17313
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
17185
- content_type:
17186
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
17187
17314
  size:
17188
17315
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
17189
- inline:
17190
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
17316
+ content_type:
17317
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
17318
+ content_disposition:
17319
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
17320
+ content_id:
17321
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
17191
17322
  required:
17192
17323
  - attachment_id
17193
17324
  - size
17194
- - inline
17325
+ - content_disposition
17195
17326
  type_messages:MessageAttachments:
17196
17327
  type: array
17197
17328
  items:
@@ -18318,12 +18449,17 @@ components:
18318
18449
  type: string
18319
18450
  type_attachments:AttachmentFilename:
18320
18451
  type: string
18321
- type_attachments:AttachmentContentType:
18322
- type: string
18323
18452
  type_attachments:AttachmentSize:
18324
18453
  type: integer
18325
- type_attachments:AttachmentInline:
18326
- type: boolean
18454
+ type_attachments:AttachmentContentType:
18455
+ type: string
18456
+ type_attachments:AttachmentContentDisposition:
18457
+ type: string
18458
+ enum:
18459
+ - value: inline
18460
+ - value: attachment
18461
+ type_attachments:AttachmentContentId:
18462
+ type: string
18327
18463
  type_attachments:Attachment:
18328
18464
  type: object
18329
18465
  properties:
@@ -18331,16 +18467,18 @@ components:
18331
18467
  $ref: '#/components/schemas/type_attachments:AttachmentId'
18332
18468
  filename:
18333
18469
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
18334
- content_type:
18335
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
18336
18470
  size:
18337
18471
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
18338
- inline:
18339
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
18472
+ content_type:
18473
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
18474
+ content_disposition:
18475
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
18476
+ content_id:
18477
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
18340
18478
  required:
18341
18479
  - attachment_id
18342
18480
  - size
18343
- - inline
18481
+ - content_disposition
18344
18482
  type_messages:MessageAttachments:
18345
18483
  type: array
18346
18484
  items:
@@ -21651,12 +21789,17 @@ components:
21651
21789
  type: string
21652
21790
  type_attachments:AttachmentFilename:
21653
21791
  type: string
21654
- type_attachments:AttachmentContentType:
21655
- type: string
21656
21792
  type_attachments:AttachmentSize:
21657
21793
  type: integer
21658
- type_attachments:AttachmentInline:
21659
- type: boolean
21794
+ type_attachments:AttachmentContentType:
21795
+ type: string
21796
+ type_attachments:AttachmentContentDisposition:
21797
+ type: string
21798
+ enum:
21799
+ - value: inline
21800
+ - value: attachment
21801
+ type_attachments:AttachmentContentId:
21802
+ type: string
21660
21803
  type_attachments:Attachment:
21661
21804
  type: object
21662
21805
  properties:
@@ -21664,16 +21807,18 @@ components:
21664
21807
  $ref: '#/components/schemas/type_attachments:AttachmentId'
21665
21808
  filename:
21666
21809
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
21667
- content_type:
21668
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
21669
21810
  size:
21670
21811
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
21671
- inline:
21672
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
21812
+ content_type:
21813
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
21814
+ content_disposition:
21815
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
21816
+ content_id:
21817
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
21673
21818
  required:
21674
21819
  - attachment_id
21675
21820
  - size
21676
- - inline
21821
+ - content_disposition
21677
21822
  type_threads:ThreadAttachments:
21678
21823
  type: array
21679
21824
  items:
@@ -21971,12 +22116,17 @@ components:
21971
22116
  type: string
21972
22117
  type_attachments:AttachmentFilename:
21973
22118
  type: string
21974
- type_attachments:AttachmentContentType:
21975
- type: string
21976
22119
  type_attachments:AttachmentSize:
21977
22120
  type: integer
21978
- type_attachments:AttachmentInline:
21979
- type: boolean
22121
+ type_attachments:AttachmentContentType:
22122
+ type: string
22123
+ type_attachments:AttachmentContentDisposition:
22124
+ type: string
22125
+ enum:
22126
+ - value: inline
22127
+ - value: attachment
22128
+ type_attachments:AttachmentContentId:
22129
+ type: string
21980
22130
  type_attachments:Attachment:
21981
22131
  type: object
21982
22132
  properties:
@@ -21984,16 +22134,18 @@ components:
21984
22134
  $ref: '#/components/schemas/type_attachments:AttachmentId'
21985
22135
  filename:
21986
22136
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
21987
- content_type:
21988
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
21989
22137
  size:
21990
22138
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
21991
- inline:
21992
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
22139
+ content_type:
22140
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
22141
+ content_disposition:
22142
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
22143
+ content_id:
22144
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
21993
22145
  required:
21994
22146
  - attachment_id
21995
22147
  - size
21996
- - inline
22148
+ - content_disposition
21997
22149
  type_threads:ThreadAttachments:
21998
22150
  type: array
21999
22151
  items:
@@ -22635,12 +22787,17 @@ components:
22635
22787
  type: string
22636
22788
  type_attachments:AttachmentFilename:
22637
22789
  type: string
22638
- type_attachments:AttachmentContentType:
22639
- type: string
22640
22790
  type_attachments:AttachmentSize:
22641
22791
  type: integer
22642
- type_attachments:AttachmentInline:
22643
- type: boolean
22792
+ type_attachments:AttachmentContentType:
22793
+ type: string
22794
+ type_attachments:AttachmentContentDisposition:
22795
+ type: string
22796
+ enum:
22797
+ - value: inline
22798
+ - value: attachment
22799
+ type_attachments:AttachmentContentId:
22800
+ type: string
22644
22801
  type_attachments:Attachment:
22645
22802
  type: object
22646
22803
  properties:
@@ -22648,16 +22805,18 @@ components:
22648
22805
  $ref: '#/components/schemas/type_attachments:AttachmentId'
22649
22806
  filename:
22650
22807
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
22651
- content_type:
22652
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
22653
22808
  size:
22654
22809
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
22655
- inline:
22656
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
22810
+ content_type:
22811
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
22812
+ content_disposition:
22813
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
22814
+ content_id:
22815
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
22657
22816
  required:
22658
22817
  - attachment_id
22659
22818
  - size
22660
- - inline
22819
+ - content_disposition
22661
22820
  type_drafts:DraftAttachments:
22662
22821
  type: array
22663
22822
  items:
@@ -22948,12 +23107,17 @@ components:
22948
23107
  type: string
22949
23108
  type_attachments:AttachmentFilename:
22950
23109
  type: string
22951
- type_attachments:AttachmentContentType:
22952
- type: string
22953
23110
  type_attachments:AttachmentSize:
22954
23111
  type: integer
22955
- type_attachments:AttachmentInline:
22956
- type: boolean
23112
+ type_attachments:AttachmentContentType:
23113
+ type: string
23114
+ type_attachments:AttachmentContentDisposition:
23115
+ type: string
23116
+ enum:
23117
+ - value: inline
23118
+ - value: attachment
23119
+ type_attachments:AttachmentContentId:
23120
+ type: string
22957
23121
  type_attachments:Attachment:
22958
23122
  type: object
22959
23123
  properties:
@@ -22961,16 +23125,18 @@ components:
22961
23125
  $ref: '#/components/schemas/type_attachments:AttachmentId'
22962
23126
  filename:
22963
23127
  $ref: '#/components/schemas/type_attachments:AttachmentFilename'
22964
- content_type:
22965
- $ref: '#/components/schemas/type_attachments:AttachmentContentType'
22966
23128
  size:
22967
23129
  $ref: '#/components/schemas/type_attachments:AttachmentSize'
22968
- inline:
22969
- $ref: '#/components/schemas/type_attachments:AttachmentInline'
23130
+ content_type:
23131
+ $ref: '#/components/schemas/type_attachments:AttachmentContentType'
23132
+ content_disposition:
23133
+ $ref: '#/components/schemas/type_attachments:AttachmentContentDisposition'
23134
+ content_id:
23135
+ $ref: '#/components/schemas/type_attachments:AttachmentContentId'
22970
23136
  required:
22971
23137
  - attachment_id
22972
23138
  - size
22973
- - inline
23139
+ - content_disposition
22974
23140
  type_drafts:DraftAttachments:
22975
23141
  type: array
22976
23142
  items:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",