webext-schema 5.3.2 → 5.3.4
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.
- package/package.json +7 -7
- package/schemas/beta/webext.json +145 -10
- package/schemas/central/webext.json +132 -8
- package/schemas/mail/mailext.json +1231 -133
- package/schemas/release/webext.json +187 -3
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"name": "tab",
|
|
115
|
-
"$ref": "
|
|
115
|
+
"$ref": "tabs.Tab",
|
|
116
116
|
"optional": true,
|
|
117
117
|
"description": "Details of the $(ref:tabs.Tab) where the command was activated."
|
|
118
118
|
}
|
|
@@ -357,13 +357,23 @@
|
|
|
357
357
|
"matchAboutBlank": {
|
|
358
358
|
"type": "boolean",
|
|
359
359
|
"optional": true,
|
|
360
|
-
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document.
|
|
360
|
+
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Ignored if matchOriginAsFallback is specified. By default it is <code>false</code>."
|
|
361
|
+
},
|
|
362
|
+
"matchOriginAsFallback": {
|
|
363
|
+
"type": "boolean",
|
|
364
|
+
"optional": true,
|
|
365
|
+
"description": "If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
361
366
|
},
|
|
362
367
|
"runAt": {
|
|
363
368
|
"$ref": "extensionTypes.RunAt",
|
|
364
369
|
"optional": true,
|
|
365
370
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
366
371
|
},
|
|
372
|
+
"world": {
|
|
373
|
+
"$ref": "extensionTypes.ExecutionWorld",
|
|
374
|
+
"optional": true,
|
|
375
|
+
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
376
|
+
},
|
|
367
377
|
"cookieStoreId": {
|
|
368
378
|
"choices": [
|
|
369
379
|
{
|
|
@@ -3155,15 +3165,45 @@
|
|
|
3155
3165
|
{
|
|
3156
3166
|
"name": "list",
|
|
3157
3167
|
"type": "function",
|
|
3168
|
+
"min_manifest_version": 3,
|
|
3169
|
+
"description": "Returns all mail accounts. They will be returned in the same order as used in Thunderbird's folder pane.",
|
|
3170
|
+
"async": "callback",
|
|
3171
|
+
"parameters": [
|
|
3172
|
+
{
|
|
3173
|
+
"name": "includeFolders",
|
|
3174
|
+
"optional": true,
|
|
3175
|
+
"default": false,
|
|
3176
|
+
"type": "boolean",
|
|
3177
|
+
"description": "Specifies whether the returned :ref:`accounts.MailAccount` objects should include their account's folders. Defaults to <value>false</value>."
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"type": "function",
|
|
3181
|
+
"name": "callback",
|
|
3182
|
+
"optional": true,
|
|
3183
|
+
"parameters": [
|
|
3184
|
+
{
|
|
3185
|
+
"type": "array",
|
|
3186
|
+
"items": {
|
|
3187
|
+
"$ref": "accounts.MailAccount"
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
]
|
|
3191
|
+
}
|
|
3192
|
+
]
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"name": "list",
|
|
3196
|
+
"type": "function",
|
|
3197
|
+
"max_manifest_version": 2,
|
|
3158
3198
|
"description": "Returns all mail accounts. They will be returned in the same order as used in Thunderbird's folder pane.",
|
|
3159
3199
|
"async": "callback",
|
|
3160
3200
|
"parameters": [
|
|
3161
3201
|
{
|
|
3162
3202
|
"name": "includeFolders",
|
|
3163
|
-
"description": "Specifies whether the returned :ref:`accounts.MailAccount` objects should included their account's folders. Defaults to <value>true</value>.",
|
|
3164
3203
|
"optional": true,
|
|
3165
3204
|
"default": true,
|
|
3166
|
-
"type": "boolean"
|
|
3205
|
+
"type": "boolean",
|
|
3206
|
+
"description": "Specifies whether the returned :ref:`accounts.MailAccount` objects should include their account's folders. Defaults to <value>true</value>."
|
|
3167
3207
|
},
|
|
3168
3208
|
{
|
|
3169
3209
|
"type": "function",
|
|
@@ -3183,6 +3223,38 @@
|
|
|
3183
3223
|
{
|
|
3184
3224
|
"name": "get",
|
|
3185
3225
|
"type": "function",
|
|
3226
|
+
"min_manifest_version": 3,
|
|
3227
|
+
"description": "Returns details of the requested account, or <value>null</value> if it doesn't exist.",
|
|
3228
|
+
"async": "callback",
|
|
3229
|
+
"parameters": [
|
|
3230
|
+
{
|
|
3231
|
+
"name": "accountId",
|
|
3232
|
+
"$ref": "MailAccountId"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"name": "includeFolders",
|
|
3236
|
+
"optional": true,
|
|
3237
|
+
"default": false,
|
|
3238
|
+
"type": "boolean",
|
|
3239
|
+
"description": "Specifies whether the returned :ref:`accounts.MailAccount` object should included the account's folders. Defaults to <value>false</value>."
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"type": "function",
|
|
3243
|
+
"name": "callback",
|
|
3244
|
+
"optional": true,
|
|
3245
|
+
"parameters": [
|
|
3246
|
+
{
|
|
3247
|
+
"$ref": "accounts.MailAccount",
|
|
3248
|
+
"optional": true
|
|
3249
|
+
}
|
|
3250
|
+
]
|
|
3251
|
+
}
|
|
3252
|
+
]
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"name": "get",
|
|
3256
|
+
"type": "function",
|
|
3257
|
+
"max_manifest_version": 2,
|
|
3186
3258
|
"description": "Returns details of the requested account, or <value>null</value> if it doesn't exist.",
|
|
3187
3259
|
"async": "callback",
|
|
3188
3260
|
"parameters": [
|
|
@@ -3192,10 +3264,10 @@
|
|
|
3192
3264
|
},
|
|
3193
3265
|
{
|
|
3194
3266
|
"name": "includeFolders",
|
|
3195
|
-
"description": "Specifies whether the returned :ref:`accounts.MailAccount` object should included the account's folders. Defaults to <value>true</value>.",
|
|
3196
3267
|
"optional": true,
|
|
3197
3268
|
"default": true,
|
|
3198
|
-
"type": "boolean"
|
|
3269
|
+
"type": "boolean",
|
|
3270
|
+
"description": "Specifies whether the returned :ref:`accounts.MailAccount` object should included the account's folders. Defaults to <value>true</value>."
|
|
3199
3271
|
},
|
|
3200
3272
|
{
|
|
3201
3273
|
"type": "function",
|
|
@@ -3711,25 +3783,25 @@
|
|
|
3711
3783
|
"type": "boolean",
|
|
3712
3784
|
"optional": true,
|
|
3713
3785
|
"default": true,
|
|
3714
|
-
"description": "Whether to include results from local address books. Defaults to true
|
|
3786
|
+
"description": "Whether to include results from local address books. Defaults to <value>true</value>."
|
|
3715
3787
|
},
|
|
3716
3788
|
"includeRemote": {
|
|
3717
3789
|
"type": "boolean",
|
|
3718
3790
|
"optional": true,
|
|
3719
3791
|
"default": true,
|
|
3720
|
-
"description": "Whether to include results from remote address books. Defaults to true
|
|
3792
|
+
"description": "Whether to include results from remote address books. Defaults to <value>true</value>."
|
|
3721
3793
|
},
|
|
3722
3794
|
"includeReadOnly": {
|
|
3723
3795
|
"type": "boolean",
|
|
3724
3796
|
"optional": true,
|
|
3725
3797
|
"default": true,
|
|
3726
|
-
"description": "Whether to include results from read-only address books. Defaults to true
|
|
3798
|
+
"description": "Whether to include results from read-only address books. Defaults to <value>true</value>."
|
|
3727
3799
|
},
|
|
3728
3800
|
"includeReadWrite": {
|
|
3729
3801
|
"type": "boolean",
|
|
3730
3802
|
"optional": true,
|
|
3731
3803
|
"default": true,
|
|
3732
|
-
"description": "Whether to include results from read-write address books. Defaults to true
|
|
3804
|
+
"description": "Whether to include results from read-write address books. Defaults to <value>true</value>."
|
|
3733
3805
|
}
|
|
3734
3806
|
}
|
|
3735
3807
|
},
|
|
@@ -3762,7 +3834,12 @@
|
|
|
3762
3834
|
"description": "Indicates if the object came from a remote address book."
|
|
3763
3835
|
},
|
|
3764
3836
|
"properties": {
|
|
3837
|
+
"max_manifest_version": 2,
|
|
3765
3838
|
"$ref": "ContactProperties"
|
|
3839
|
+
},
|
|
3840
|
+
"vCard": {
|
|
3841
|
+
"min_manifest_version": 3,
|
|
3842
|
+
"type": "string"
|
|
3766
3843
|
}
|
|
3767
3844
|
}
|
|
3768
3845
|
},
|
|
@@ -3982,6 +4059,7 @@
|
|
|
3982
4059
|
{
|
|
3983
4060
|
"name": "create",
|
|
3984
4061
|
"type": "function",
|
|
4062
|
+
"max_manifest_version": 2,
|
|
3985
4063
|
"async": "callback",
|
|
3986
4064
|
"parameters": [
|
|
3987
4065
|
{
|
|
@@ -4013,9 +4091,40 @@
|
|
|
4013
4091
|
],
|
|
4014
4092
|
"description": "Adds a new contact to the address book with the id ``parentId``."
|
|
4015
4093
|
},
|
|
4094
|
+
{
|
|
4095
|
+
"name": "create",
|
|
4096
|
+
"type": "function",
|
|
4097
|
+
"min_manifest_version": 3,
|
|
4098
|
+
"async": "callback",
|
|
4099
|
+
"parameters": [
|
|
4100
|
+
{
|
|
4101
|
+
"name": "parentId",
|
|
4102
|
+
"type": "string"
|
|
4103
|
+
},
|
|
4104
|
+
{
|
|
4105
|
+
"name": "vCard",
|
|
4106
|
+
"min_manifest_version": 3,
|
|
4107
|
+
"type": "string",
|
|
4108
|
+
"description": "The vCard for the new contact. If it includes an (optional) id and an existing contact has this id already, an exception is thrown."
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"type": "function",
|
|
4112
|
+
"name": "callback",
|
|
4113
|
+
"optional": true,
|
|
4114
|
+
"parameters": [
|
|
4115
|
+
{
|
|
4116
|
+
"type": "string",
|
|
4117
|
+
"description": "The ID of the new contact."
|
|
4118
|
+
}
|
|
4119
|
+
]
|
|
4120
|
+
}
|
|
4121
|
+
],
|
|
4122
|
+
"description": "Adds a new contact to the address book with the id ``parentId``."
|
|
4123
|
+
},
|
|
4016
4124
|
{
|
|
4017
4125
|
"name": "update",
|
|
4018
4126
|
"type": "function",
|
|
4127
|
+
"max_manifest_version": 2,
|
|
4019
4128
|
"async": true,
|
|
4020
4129
|
"parameters": [
|
|
4021
4130
|
{
|
|
@@ -4030,6 +4139,24 @@
|
|
|
4030
4139
|
],
|
|
4031
4140
|
"description": "Updates a contact."
|
|
4032
4141
|
},
|
|
4142
|
+
{
|
|
4143
|
+
"name": "update",
|
|
4144
|
+
"type": "function",
|
|
4145
|
+
"min_manifest_version": 3,
|
|
4146
|
+
"async": true,
|
|
4147
|
+
"parameters": [
|
|
4148
|
+
{
|
|
4149
|
+
"name": "id",
|
|
4150
|
+
"type": "string"
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "vCard",
|
|
4154
|
+
"type": "string",
|
|
4155
|
+
"description": "The updated vCard for the contact."
|
|
4156
|
+
}
|
|
4157
|
+
],
|
|
4158
|
+
"description": "Updates a contact."
|
|
4159
|
+
},
|
|
4033
4160
|
{
|
|
4034
4161
|
"name": "delete",
|
|
4035
4162
|
"type": "function",
|
|
@@ -4058,6 +4185,7 @@
|
|
|
4058
4185
|
{
|
|
4059
4186
|
"name": "onUpdated",
|
|
4060
4187
|
"type": "function",
|
|
4188
|
+
"max_manifest_version": 2,
|
|
4061
4189
|
"description": "Fired when a contact is changed.",
|
|
4062
4190
|
"parameters": [
|
|
4063
4191
|
{
|
|
@@ -4070,6 +4198,22 @@
|
|
|
4070
4198
|
}
|
|
4071
4199
|
]
|
|
4072
4200
|
},
|
|
4201
|
+
{
|
|
4202
|
+
"name": "onUpdated",
|
|
4203
|
+
"type": "function",
|
|
4204
|
+
"min_manifest_version": 3,
|
|
4205
|
+
"description": "Fired when a contact is changed.",
|
|
4206
|
+
"parameters": [
|
|
4207
|
+
{
|
|
4208
|
+
"name": "node",
|
|
4209
|
+
"$ref": "ContactNode"
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"name": "oldVCard",
|
|
4213
|
+
"type": "string"
|
|
4214
|
+
}
|
|
4215
|
+
]
|
|
4216
|
+
},
|
|
4073
4217
|
{
|
|
4074
4218
|
"name": "onDeleted",
|
|
4075
4219
|
"type": "function",
|
|
@@ -4824,7 +4968,7 @@
|
|
|
4824
4968
|
"type": "integer",
|
|
4825
4969
|
"optional": true,
|
|
4826
4970
|
"minimum": 0,
|
|
4827
|
-
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global
|
|
4971
|
+
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global value is retrieved."
|
|
4828
4972
|
},
|
|
4829
4973
|
"windowId": {
|
|
4830
4974
|
"type": "integer",
|
|
@@ -5045,7 +5189,86 @@
|
|
|
5045
5189
|
"type": "integer",
|
|
5046
5190
|
"optional": true,
|
|
5047
5191
|
"minimum": 0,
|
|
5048
|
-
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global
|
|
5192
|
+
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global value is retrieved."
|
|
5193
|
+
},
|
|
5194
|
+
"windowId": {
|
|
5195
|
+
"type": "integer",
|
|
5196
|
+
"optional": true,
|
|
5197
|
+
"minimum": -2,
|
|
5198
|
+
"unsupported": true,
|
|
5199
|
+
"description": "Will throw an error if used."
|
|
5200
|
+
}
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5203
|
+
{
|
|
5204
|
+
"type": "function",
|
|
5205
|
+
"name": "callback",
|
|
5206
|
+
"optional": true,
|
|
5207
|
+
"parameters": [
|
|
5208
|
+
{
|
|
5209
|
+
"name": "result",
|
|
5210
|
+
"type": "string"
|
|
5211
|
+
}
|
|
5212
|
+
]
|
|
5213
|
+
}
|
|
5214
|
+
]
|
|
5215
|
+
},
|
|
5216
|
+
{
|
|
5217
|
+
"name": "setBadgeTextColor",
|
|
5218
|
+
"type": "function",
|
|
5219
|
+
"description": "Sets the text color for the badge.",
|
|
5220
|
+
"async": true,
|
|
5221
|
+
"parameters": [
|
|
5222
|
+
{
|
|
5223
|
+
"name": "details",
|
|
5224
|
+
"type": "object",
|
|
5225
|
+
"properties": {
|
|
5226
|
+
"color": {
|
|
5227
|
+
"choices": [
|
|
5228
|
+
{
|
|
5229
|
+
"type": "string"
|
|
5230
|
+
},
|
|
5231
|
+
{
|
|
5232
|
+
"$ref": "ColorArray"
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"type": "null"
|
|
5236
|
+
}
|
|
5237
|
+
],
|
|
5238
|
+
"description": "The color to use as text color in the badge. Cleared by setting it to <value>null</value>."
|
|
5239
|
+
},
|
|
5240
|
+
"tabId": {
|
|
5241
|
+
"type": "integer",
|
|
5242
|
+
"optional": true,
|
|
5243
|
+
"minimum": 0,
|
|
5244
|
+
"description": "Sets the text color for the badge only for the given tab."
|
|
5245
|
+
},
|
|
5246
|
+
"windowId": {
|
|
5247
|
+
"type": "integer",
|
|
5248
|
+
"optional": true,
|
|
5249
|
+
"minimum": -2,
|
|
5250
|
+
"unsupported": true,
|
|
5251
|
+
"description": "Will throw an error if used."
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
]
|
|
5256
|
+
},
|
|
5257
|
+
{
|
|
5258
|
+
"name": "getBadgeTextColor",
|
|
5259
|
+
"type": "function",
|
|
5260
|
+
"description": "Gets the text color of the badge.",
|
|
5261
|
+
"async": true,
|
|
5262
|
+
"parameters": [
|
|
5263
|
+
{
|
|
5264
|
+
"name": "details",
|
|
5265
|
+
"type": "object",
|
|
5266
|
+
"properties": {
|
|
5267
|
+
"tabId": {
|
|
5268
|
+
"type": "integer",
|
|
5269
|
+
"optional": true,
|
|
5270
|
+
"minimum": 0,
|
|
5271
|
+
"description": "Specifies for which tab the badge text color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
5049
5272
|
},
|
|
5050
5273
|
"windowId": {
|
|
5051
5274
|
"type": "integer",
|
|
@@ -5091,7 +5314,7 @@
|
|
|
5091
5314
|
"type": "null"
|
|
5092
5315
|
}
|
|
5093
5316
|
],
|
|
5094
|
-
"description": "The color to use as background in the badge. Cleared by setting it to <value>null</value
|
|
5317
|
+
"description": "The color to use as background in the badge. Cleared by setting it to <value>null</value>."
|
|
5095
5318
|
},
|
|
5096
5319
|
"tabId": {
|
|
5097
5320
|
"type": "integer",
|
|
@@ -5130,7 +5353,7 @@
|
|
|
5130
5353
|
"type": "integer",
|
|
5131
5354
|
"optional": true,
|
|
5132
5355
|
"minimum": 0,
|
|
5133
|
-
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global
|
|
5356
|
+
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
5134
5357
|
},
|
|
5135
5358
|
"windowId": {
|
|
5136
5359
|
"type": "integer",
|
|
@@ -6042,7 +6265,13 @@
|
|
|
6042
6265
|
"properties": {
|
|
6043
6266
|
"id": {
|
|
6044
6267
|
"type": "string",
|
|
6045
|
-
"
|
|
6268
|
+
"max_manifest_version": 2,
|
|
6269
|
+
"description": "The ID of a contact or mailing list from the :doc:`contacts` or :doc:`mailingLists`."
|
|
6270
|
+
},
|
|
6271
|
+
"nodeId": {
|
|
6272
|
+
"type": "string",
|
|
6273
|
+
"min_manifest_version": 3,
|
|
6274
|
+
"description": "The ID of a contact or mailing list node from the :doc:`addressBook.contacts` or :doc:`addressBook.mailingLists`."
|
|
6046
6275
|
},
|
|
6047
6276
|
"type": {
|
|
6048
6277
|
"type": "string",
|
|
@@ -6115,6 +6344,11 @@
|
|
|
6115
6344
|
"description": "An additional fcc folder which can be selected while composing the message, an empty string if not used.",
|
|
6116
6345
|
"optional": true
|
|
6117
6346
|
},
|
|
6347
|
+
"attachPublicPGPKey": {
|
|
6348
|
+
"type": "boolean",
|
|
6349
|
+
"optional": true,
|
|
6350
|
+
"description": "Whether the public OpenPGP key of the sending identity should be attached to the message."
|
|
6351
|
+
},
|
|
6118
6352
|
"attachVCard": {
|
|
6119
6353
|
"type": "boolean",
|
|
6120
6354
|
"optional": true,
|
|
@@ -6172,6 +6406,18 @@
|
|
|
6172
6406
|
"optional": true,
|
|
6173
6407
|
"description": "Let the sender know when the recipient's server received the message. Not supported by all servers."
|
|
6174
6408
|
},
|
|
6409
|
+
"selectedEncryptionTechnology": {
|
|
6410
|
+
"choices": [
|
|
6411
|
+
{
|
|
6412
|
+
"$ref": "compose.EncryptionPropertiesSMIME"
|
|
6413
|
+
},
|
|
6414
|
+
{
|
|
6415
|
+
"$ref": "compose.EncryptionPropertiesOpenPGP"
|
|
6416
|
+
}
|
|
6417
|
+
],
|
|
6418
|
+
"optional": true,
|
|
6419
|
+
"description": "The selected encryption technology (<value>OpenPGP</value> or <value>S/MIME</value>) which is to be used to sign and/or encrypt the message. If the sending identity does not support encryption at all, this will be <value>undefined</value>."
|
|
6420
|
+
},
|
|
6175
6421
|
"followupTo": {
|
|
6176
6422
|
"$ref": "ComposeRecipientList",
|
|
6177
6423
|
"optional": true
|
|
@@ -6356,6 +6602,46 @@
|
|
|
6356
6602
|
"type": "boolean"
|
|
6357
6603
|
},
|
|
6358
6604
|
"description": "A <em>dictionary object</em> with entries for all installed dictionaries, having a language identifier as <em>key</em> (for example <value>en-US</value>) and a boolean expression as <em>value</em>, indicating whether that dictionary is enabled for spellchecking or not."
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
"id": "EncryptionPropertiesOpenPGP",
|
|
6608
|
+
"type": "object",
|
|
6609
|
+
"properties": {
|
|
6610
|
+
"name": {
|
|
6611
|
+
"type": "string",
|
|
6612
|
+
"pattern": "^OpenPGP$"
|
|
6613
|
+
},
|
|
6614
|
+
"encryptBody": {
|
|
6615
|
+
"type": "boolean",
|
|
6616
|
+
"description": "Whether encryption of the message body using the OpenPGP technology is enabled. **Note:** If encryption is enabled, but the `preconditions <https://support.mozilla.org/en-US/kb/thunderbird-help-cannot-encrypt>`__ for sending an encrypted message are not met, the message cannot be sent."
|
|
6617
|
+
},
|
|
6618
|
+
"encryptSubject": {
|
|
6619
|
+
"type": "boolean",
|
|
6620
|
+
"description": "Whether encryption of the message subject using the OpenPGP technology is enabled (only supported if encryption of the body is enabled a well)."
|
|
6621
|
+
},
|
|
6622
|
+
"signMessage": {
|
|
6623
|
+
"type": "boolean",
|
|
6624
|
+
"description": "Whether the message will be signed using the OpenPGP technology."
|
|
6625
|
+
}
|
|
6626
|
+
}
|
|
6627
|
+
},
|
|
6628
|
+
{
|
|
6629
|
+
"id": "EncryptionPropertiesSMIME",
|
|
6630
|
+
"type": "object",
|
|
6631
|
+
"properties": {
|
|
6632
|
+
"name": {
|
|
6633
|
+
"type": "string",
|
|
6634
|
+
"pattern": "^S/MIME$"
|
|
6635
|
+
},
|
|
6636
|
+
"encryptBody": {
|
|
6637
|
+
"type": "boolean",
|
|
6638
|
+
"description": "Whether encryption of the message body using the S/MIME technology is enabled. **Note:** If encryption is enabled, but the `preconditions <https://support.mozilla.org/en-US/kb/thunderbird-help-cannot-encrypt>`__ for sending an encrypted message are not met, the message cannot be sent."
|
|
6639
|
+
},
|
|
6640
|
+
"signMessage": {
|
|
6641
|
+
"type": "boolean",
|
|
6642
|
+
"description": "Whether the message will be signed using the S/MIME technology"
|
|
6643
|
+
}
|
|
6644
|
+
}
|
|
6359
6645
|
}
|
|
6360
6646
|
],
|
|
6361
6647
|
"events": [
|
|
@@ -6702,7 +6988,7 @@
|
|
|
6702
6988
|
"name": "setComposeDetails",
|
|
6703
6989
|
"type": "function",
|
|
6704
6990
|
"async": true,
|
|
6705
|
-
"description": "Updates the compose window. The properties of the given :ref:`compose.ComposeDetails` object will be used to overwrite the current values of the specified compose window, so only properties that are to be changed should be included.\n\nWhen updating any of the array properties (``customHeaders`` and most address fields), make sure to first get the current values to not accidentally remove all existing entries when setting the new value.\n\n**Note:** The compose format of an existing compose window cannot be changed. Since Thunderbird 98, setting conflicting values for ``details.body``, ``details.plainTextBody`` or ``details.isPlaintext`` no longer throws an exception, instead the compose window chooses the matching ``details.body`` or ``details.plainTextBody`` value and ignores the other.",
|
|
6991
|
+
"description": "Updates the compose window. The properties of the given :ref:`compose.ComposeDetails` object will be used to overwrite the current values of the specified compose window, so only properties that are to be changed should be included. Modified settings will be treated as user initiated, and turn off further automatic changes on these settings.\n\nWhen updating any of the array properties (``customHeaders`` and most address fields), make sure to first get the current values to not accidentally remove all existing entries when setting the new value.\n\n**Note:** The compose format of an existing compose window cannot be changed. Since Thunderbird 98, setting conflicting values for ``details.body``, ``details.plainTextBody`` or ``details.isPlaintext`` no longer throws an exception, instead the compose window chooses the matching ``details.body`` or ``details.plainTextBody`` value and ignores the other.",
|
|
6706
6992
|
"permissions": [
|
|
6707
6993
|
"compose"
|
|
6708
6994
|
],
|
|
@@ -7339,7 +7625,7 @@
|
|
|
7339
7625
|
"type": "integer",
|
|
7340
7626
|
"optional": true,
|
|
7341
7627
|
"minimum": 0,
|
|
7342
|
-
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global
|
|
7628
|
+
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global value is retrieved."
|
|
7343
7629
|
},
|
|
7344
7630
|
"windowId": {
|
|
7345
7631
|
"type": "integer",
|
|
@@ -7560,7 +7846,7 @@
|
|
|
7560
7846
|
"type": "integer",
|
|
7561
7847
|
"optional": true,
|
|
7562
7848
|
"minimum": 0,
|
|
7563
|
-
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global
|
|
7849
|
+
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global value is retrieved."
|
|
7564
7850
|
},
|
|
7565
7851
|
"windowId": {
|
|
7566
7852
|
"type": "integer",
|
|
@@ -7585,10 +7871,10 @@
|
|
|
7585
7871
|
]
|
|
7586
7872
|
},
|
|
7587
7873
|
{
|
|
7588
|
-
"name": "
|
|
7874
|
+
"name": "setBadgeTextColor",
|
|
7589
7875
|
"type": "function",
|
|
7590
|
-
"description": "Sets the
|
|
7591
|
-
"async":
|
|
7876
|
+
"description": "Sets the text color for the badge.",
|
|
7877
|
+
"async": true,
|
|
7592
7878
|
"parameters": [
|
|
7593
7879
|
{
|
|
7594
7880
|
"name": "details",
|
|
@@ -7606,13 +7892,13 @@
|
|
|
7606
7892
|
"type": "null"
|
|
7607
7893
|
}
|
|
7608
7894
|
],
|
|
7609
|
-
"description": "The color to use as
|
|
7895
|
+
"description": "The color to use as text color in the badge. Cleared by setting it to <value>null</value>."
|
|
7610
7896
|
},
|
|
7611
7897
|
"tabId": {
|
|
7612
7898
|
"type": "integer",
|
|
7613
7899
|
"optional": true,
|
|
7614
7900
|
"minimum": 0,
|
|
7615
|
-
"description": "Sets the
|
|
7901
|
+
"description": "Sets the text color for the badge only for the given tab."
|
|
7616
7902
|
},
|
|
7617
7903
|
"windowId": {
|
|
7618
7904
|
"type": "integer",
|
|
@@ -7622,9 +7908,88 @@
|
|
|
7622
7908
|
"description": "Will throw an error if used."
|
|
7623
7909
|
}
|
|
7624
7910
|
}
|
|
7625
|
-
}
|
|
7626
|
-
|
|
7627
|
-
|
|
7911
|
+
}
|
|
7912
|
+
]
|
|
7913
|
+
},
|
|
7914
|
+
{
|
|
7915
|
+
"name": "getBadgeTextColor",
|
|
7916
|
+
"type": "function",
|
|
7917
|
+
"description": "Gets the text color of the badge.",
|
|
7918
|
+
"async": true,
|
|
7919
|
+
"parameters": [
|
|
7920
|
+
{
|
|
7921
|
+
"name": "details",
|
|
7922
|
+
"type": "object",
|
|
7923
|
+
"properties": {
|
|
7924
|
+
"tabId": {
|
|
7925
|
+
"type": "integer",
|
|
7926
|
+
"optional": true,
|
|
7927
|
+
"minimum": 0,
|
|
7928
|
+
"description": "Specifies for which tab the badge text color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
7929
|
+
},
|
|
7930
|
+
"windowId": {
|
|
7931
|
+
"type": "integer",
|
|
7932
|
+
"optional": true,
|
|
7933
|
+
"minimum": -2,
|
|
7934
|
+
"unsupported": true,
|
|
7935
|
+
"description": "Will throw an error if used."
|
|
7936
|
+
}
|
|
7937
|
+
}
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"type": "function",
|
|
7941
|
+
"name": "callback",
|
|
7942
|
+
"optional": true,
|
|
7943
|
+
"parameters": [
|
|
7944
|
+
{
|
|
7945
|
+
"name": "result",
|
|
7946
|
+
"type": "string"
|
|
7947
|
+
}
|
|
7948
|
+
]
|
|
7949
|
+
}
|
|
7950
|
+
]
|
|
7951
|
+
},
|
|
7952
|
+
{
|
|
7953
|
+
"name": "setBadgeBackgroundColor",
|
|
7954
|
+
"type": "function",
|
|
7955
|
+
"description": "Sets the background color for the badge.",
|
|
7956
|
+
"async": "callback",
|
|
7957
|
+
"parameters": [
|
|
7958
|
+
{
|
|
7959
|
+
"name": "details",
|
|
7960
|
+
"type": "object",
|
|
7961
|
+
"properties": {
|
|
7962
|
+
"color": {
|
|
7963
|
+
"choices": [
|
|
7964
|
+
{
|
|
7965
|
+
"type": "string"
|
|
7966
|
+
},
|
|
7967
|
+
{
|
|
7968
|
+
"$ref": "ColorArray"
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"type": "null"
|
|
7972
|
+
}
|
|
7973
|
+
],
|
|
7974
|
+
"description": "The color to use as background in the badge. Cleared by setting it to <value>null</value>."
|
|
7975
|
+
},
|
|
7976
|
+
"tabId": {
|
|
7977
|
+
"type": "integer",
|
|
7978
|
+
"optional": true,
|
|
7979
|
+
"minimum": 0,
|
|
7980
|
+
"description": "Sets the background color for the badge only for the given tab."
|
|
7981
|
+
},
|
|
7982
|
+
"windowId": {
|
|
7983
|
+
"type": "integer",
|
|
7984
|
+
"optional": true,
|
|
7985
|
+
"minimum": -2,
|
|
7986
|
+
"unsupported": true,
|
|
7987
|
+
"description": "Will throw an error if used."
|
|
7988
|
+
}
|
|
7989
|
+
}
|
|
7990
|
+
},
|
|
7991
|
+
{
|
|
7992
|
+
"type": "function",
|
|
7628
7993
|
"name": "callback",
|
|
7629
7994
|
"optional": true,
|
|
7630
7995
|
"parameters": []
|
|
@@ -7645,7 +8010,7 @@
|
|
|
7645
8010
|
"type": "integer",
|
|
7646
8011
|
"optional": true,
|
|
7647
8012
|
"minimum": 0,
|
|
7648
|
-
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global
|
|
8013
|
+
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
7649
8014
|
},
|
|
7650
8015
|
"windowId": {
|
|
7651
8016
|
"type": "integer",
|
|
@@ -8079,7 +8444,7 @@
|
|
|
8079
8444
|
"quota": {
|
|
8080
8445
|
"type": "array",
|
|
8081
8446
|
"items": {
|
|
8082
|
-
"$ref": "MailFolderQuota"
|
|
8447
|
+
"$ref": "folders.MailFolderQuota"
|
|
8083
8448
|
},
|
|
8084
8449
|
"optional": true,
|
|
8085
8450
|
"description": "Quota information, if available."
|
|
@@ -8405,19 +8770,80 @@
|
|
|
8405
8770
|
{
|
|
8406
8771
|
"name": "get",
|
|
8407
8772
|
"type": "function",
|
|
8773
|
+
"min_manifest_version": 3,
|
|
8408
8774
|
"description": "Returns the specified folder.",
|
|
8409
8775
|
"async": "callback",
|
|
8410
8776
|
"parameters": [
|
|
8411
8777
|
{
|
|
8412
|
-
"name": "
|
|
8778
|
+
"name": "folderId",
|
|
8779
|
+
"$ref": "folders.MailFolderId"
|
|
8780
|
+
},
|
|
8781
|
+
{
|
|
8782
|
+
"name": "includeSubFolders",
|
|
8783
|
+
"optional": true,
|
|
8784
|
+
"type": "boolean",
|
|
8785
|
+
"default": false,
|
|
8786
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object should include all its nested subfolders. Defaults to <value>false</value>."
|
|
8787
|
+
},
|
|
8788
|
+
{
|
|
8789
|
+
"type": "function",
|
|
8790
|
+
"name": "callback",
|
|
8791
|
+
"optional": true,
|
|
8792
|
+
"parameters": [
|
|
8793
|
+
{
|
|
8794
|
+
"$ref": "folders.MailFolder"
|
|
8795
|
+
}
|
|
8796
|
+
]
|
|
8797
|
+
}
|
|
8798
|
+
]
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"name": "get",
|
|
8802
|
+
"type": "function",
|
|
8803
|
+
"max_manifest_version": 2,
|
|
8804
|
+
"description": "Returns the specified folder.",
|
|
8805
|
+
"async": "callback",
|
|
8806
|
+
"parameters": [
|
|
8807
|
+
{
|
|
8808
|
+
"name": "folderId",
|
|
8413
8809
|
"$ref": "folders.MailFolderId"
|
|
8414
8810
|
},
|
|
8415
8811
|
{
|
|
8416
8812
|
"name": "includeSubFolders",
|
|
8417
|
-
"description": "Specifies whether the returned :ref:`folders.MailFolder` object should include all its nested subfolders . Defaults to <value>true</value>.",
|
|
8418
8813
|
"optional": true,
|
|
8814
|
+
"type": "boolean",
|
|
8419
8815
|
"default": true,
|
|
8420
|
-
"
|
|
8816
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object should include all its nested subfolders. Defaults to <value>true</value>."
|
|
8817
|
+
},
|
|
8818
|
+
{
|
|
8819
|
+
"type": "function",
|
|
8820
|
+
"name": "callback",
|
|
8821
|
+
"optional": true,
|
|
8822
|
+
"parameters": [
|
|
8823
|
+
{
|
|
8824
|
+
"$ref": "folders.MailFolder"
|
|
8825
|
+
}
|
|
8826
|
+
]
|
|
8827
|
+
}
|
|
8828
|
+
]
|
|
8829
|
+
},
|
|
8830
|
+
{
|
|
8831
|
+
"name": "create",
|
|
8832
|
+
"type": "function",
|
|
8833
|
+
"min_manifest_version": 3,
|
|
8834
|
+
"permissions": [
|
|
8835
|
+
"accountsFolders"
|
|
8836
|
+
],
|
|
8837
|
+
"description": "Creates a new subfolder in the specified folder.",
|
|
8838
|
+
"async": "callback",
|
|
8839
|
+
"parameters": [
|
|
8840
|
+
{
|
|
8841
|
+
"name": "folderId",
|
|
8842
|
+
"$ref": "folders.MailFolderId"
|
|
8843
|
+
},
|
|
8844
|
+
{
|
|
8845
|
+
"name": "childName",
|
|
8846
|
+
"type": "string"
|
|
8421
8847
|
},
|
|
8422
8848
|
{
|
|
8423
8849
|
"type": "function",
|
|
@@ -8434,10 +8860,11 @@
|
|
|
8434
8860
|
{
|
|
8435
8861
|
"name": "create",
|
|
8436
8862
|
"type": "function",
|
|
8863
|
+
"max_manifest_version": 2,
|
|
8437
8864
|
"permissions": [
|
|
8438
8865
|
"accountsFolders"
|
|
8439
8866
|
],
|
|
8440
|
-
"description": "Creates a new subfolder in the specified folder or at the root of the specified account.",
|
|
8867
|
+
"description": "Creates a new subfolder in the specified folder, or at the root of the specified account.",
|
|
8441
8868
|
"async": "callback",
|
|
8442
8869
|
"parameters": [
|
|
8443
8870
|
{
|
|
@@ -8447,12 +8874,10 @@
|
|
|
8447
8874
|
"$ref": "folders.MailFolderId"
|
|
8448
8875
|
},
|
|
8449
8876
|
{
|
|
8450
|
-
"max_manifest_version": 2,
|
|
8451
8877
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.create() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8452
8878
|
"$ref": "folders.MailFolder"
|
|
8453
8879
|
},
|
|
8454
8880
|
{
|
|
8455
|
-
"max_manifest_version": 2,
|
|
8456
8881
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.create() requires to specify the MailFolderId of the account's rootFolder, instead of a full MailAccount object.",
|
|
8457
8882
|
"$ref": "accounts.MailAccount"
|
|
8458
8883
|
}
|
|
@@ -8477,6 +8902,7 @@
|
|
|
8477
8902
|
{
|
|
8478
8903
|
"name": "rename",
|
|
8479
8904
|
"type": "function",
|
|
8905
|
+
"max_manifest_version": 2,
|
|
8480
8906
|
"permissions": [
|
|
8481
8907
|
"accountsFolders"
|
|
8482
8908
|
],
|
|
@@ -8490,7 +8916,6 @@
|
|
|
8490
8916
|
"$ref": "folders.MailFolderId"
|
|
8491
8917
|
},
|
|
8492
8918
|
{
|
|
8493
|
-
"max_manifest_version": 2,
|
|
8494
8919
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.rename() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8495
8920
|
"$ref": "folders.MailFolder"
|
|
8496
8921
|
}
|
|
@@ -8512,9 +8937,40 @@
|
|
|
8512
8937
|
}
|
|
8513
8938
|
]
|
|
8514
8939
|
},
|
|
8940
|
+
{
|
|
8941
|
+
"name": "rename",
|
|
8942
|
+
"type": "function",
|
|
8943
|
+
"min_manifest_version": 3,
|
|
8944
|
+
"permissions": [
|
|
8945
|
+
"accountsFolders"
|
|
8946
|
+
],
|
|
8947
|
+
"description": "Renames a folder.",
|
|
8948
|
+
"async": "callback",
|
|
8949
|
+
"parameters": [
|
|
8950
|
+
{
|
|
8951
|
+
"name": "folderId",
|
|
8952
|
+
"$ref": "folders.MailFolderId"
|
|
8953
|
+
},
|
|
8954
|
+
{
|
|
8955
|
+
"name": "newName",
|
|
8956
|
+
"type": "string"
|
|
8957
|
+
},
|
|
8958
|
+
{
|
|
8959
|
+
"type": "function",
|
|
8960
|
+
"name": "callback",
|
|
8961
|
+
"optional": true,
|
|
8962
|
+
"parameters": [
|
|
8963
|
+
{
|
|
8964
|
+
"$ref": "folders.MailFolder"
|
|
8965
|
+
}
|
|
8966
|
+
]
|
|
8967
|
+
}
|
|
8968
|
+
]
|
|
8969
|
+
},
|
|
8515
8970
|
{
|
|
8516
8971
|
"name": "move",
|
|
8517
8972
|
"type": "function",
|
|
8973
|
+
"max_manifest_version": 2,
|
|
8518
8974
|
"permissions": [
|
|
8519
8975
|
"accountsFolders"
|
|
8520
8976
|
],
|
|
@@ -8528,7 +8984,6 @@
|
|
|
8528
8984
|
"$ref": "folders.MailFolderId"
|
|
8529
8985
|
},
|
|
8530
8986
|
{
|
|
8531
|
-
"max_manifest_version": 2,
|
|
8532
8987
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify a MailFolderId for its source parameter, instead of a full MailFolder object.",
|
|
8533
8988
|
"$ref": "folders.MailFolder"
|
|
8534
8989
|
}
|
|
@@ -8541,12 +8996,10 @@
|
|
|
8541
8996
|
"$ref": "folders.MailFolderId"
|
|
8542
8997
|
},
|
|
8543
8998
|
{
|
|
8544
|
-
"max_manifest_version": 2,
|
|
8545
8999
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify a MailFolderId for its destination parameter, instead of a full MailFolder object.",
|
|
8546
9000
|
"$ref": "folders.MailFolder"
|
|
8547
9001
|
},
|
|
8548
9002
|
{
|
|
8549
|
-
"max_manifest_version": 2,
|
|
8550
9003
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.move() requires to specify the MailFolderId of the account's rootFolder for its destination parameter, instead of a full MailAccount object.",
|
|
8551
9004
|
"$ref": "accounts.MailAccount"
|
|
8552
9005
|
}
|
|
@@ -8564,9 +9017,40 @@
|
|
|
8564
9017
|
}
|
|
8565
9018
|
]
|
|
8566
9019
|
},
|
|
9020
|
+
{
|
|
9021
|
+
"name": "move",
|
|
9022
|
+
"type": "function",
|
|
9023
|
+
"min_manifest_version": 3,
|
|
9024
|
+
"permissions": [
|
|
9025
|
+
"accountsFolders"
|
|
9026
|
+
],
|
|
9027
|
+
"description": "Moves the given source folder into the given destination folder. Throws if the destination already contains a folder with the name of the source folder.",
|
|
9028
|
+
"async": "callback",
|
|
9029
|
+
"parameters": [
|
|
9030
|
+
{
|
|
9031
|
+
"name": "sourceFolderId",
|
|
9032
|
+
"$ref": "folders.MailFolderId"
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"name": "destinationFolderId",
|
|
9036
|
+
"$ref": "folders.MailFolderId"
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"type": "function",
|
|
9040
|
+
"name": "callback",
|
|
9041
|
+
"optional": true,
|
|
9042
|
+
"parameters": [
|
|
9043
|
+
{
|
|
9044
|
+
"$ref": "folders.MailFolder"
|
|
9045
|
+
}
|
|
9046
|
+
]
|
|
9047
|
+
}
|
|
9048
|
+
]
|
|
9049
|
+
},
|
|
8567
9050
|
{
|
|
8568
9051
|
"name": "copy",
|
|
8569
9052
|
"type": "function",
|
|
9053
|
+
"max_manifest_version": 2,
|
|
8570
9054
|
"permissions": [
|
|
8571
9055
|
"accountsFolders"
|
|
8572
9056
|
],
|
|
@@ -8580,7 +9064,6 @@
|
|
|
8580
9064
|
"$ref": "folders.MailFolderId"
|
|
8581
9065
|
},
|
|
8582
9066
|
{
|
|
8583
|
-
"max_manifest_version": 2,
|
|
8584
9067
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify a MailFolderId for its source parameter, instead of a full MailFolder object.",
|
|
8585
9068
|
"$ref": "folders.MailFolder"
|
|
8586
9069
|
}
|
|
@@ -8593,12 +9076,10 @@
|
|
|
8593
9076
|
"$ref": "folders.MailFolderId"
|
|
8594
9077
|
},
|
|
8595
9078
|
{
|
|
8596
|
-
"max_manifest_version": 2,
|
|
8597
9079
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify a MailFolderId for its destination parameter, instead of a full MailFolder object.",
|
|
8598
9080
|
"$ref": "folders.MailFolder"
|
|
8599
9081
|
},
|
|
8600
9082
|
{
|
|
8601
|
-
"max_manifest_version": 2,
|
|
8602
9083
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.copy() requires to specify the MailFolderId of the account's rootFolder for its destination parameter, instead of a full MailAccount object.",
|
|
8603
9084
|
"$ref": "accounts.MailAccount"
|
|
8604
9085
|
}
|
|
@@ -8616,6 +9097,36 @@
|
|
|
8616
9097
|
}
|
|
8617
9098
|
]
|
|
8618
9099
|
},
|
|
9100
|
+
{
|
|
9101
|
+
"name": "copy",
|
|
9102
|
+
"type": "function",
|
|
9103
|
+
"min_manifest_version": 3,
|
|
9104
|
+
"permissions": [
|
|
9105
|
+
"accountsFolders"
|
|
9106
|
+
],
|
|
9107
|
+
"description": "Copies the given source folder into the given destination folder. Throws if the destination already contains a folder with the name of the source folder.",
|
|
9108
|
+
"async": "callback",
|
|
9109
|
+
"parameters": [
|
|
9110
|
+
{
|
|
9111
|
+
"name": "sourceFolderId",
|
|
9112
|
+
"$ref": "folders.MailFolderId"
|
|
9113
|
+
},
|
|
9114
|
+
{
|
|
9115
|
+
"name": "destinationFolderId",
|
|
9116
|
+
"$ref": "folders.MailFolderId"
|
|
9117
|
+
},
|
|
9118
|
+
{
|
|
9119
|
+
"type": "function",
|
|
9120
|
+
"name": "callback",
|
|
9121
|
+
"optional": true,
|
|
9122
|
+
"parameters": [
|
|
9123
|
+
{
|
|
9124
|
+
"$ref": "folders.MailFolder"
|
|
9125
|
+
}
|
|
9126
|
+
]
|
|
9127
|
+
}
|
|
9128
|
+
]
|
|
9129
|
+
},
|
|
8619
9130
|
{
|
|
8620
9131
|
"name": "delete",
|
|
8621
9132
|
"permissions": [
|
|
@@ -8623,6 +9134,7 @@
|
|
|
8623
9134
|
"messagesDelete"
|
|
8624
9135
|
],
|
|
8625
9136
|
"type": "function",
|
|
9137
|
+
"max_manifest_version": 2,
|
|
8626
9138
|
"description": "Deletes a folder.",
|
|
8627
9139
|
"async": true,
|
|
8628
9140
|
"parameters": [
|
|
@@ -8633,7 +9145,6 @@
|
|
|
8633
9145
|
"$ref": "folders.MailFolderId"
|
|
8634
9146
|
},
|
|
8635
9147
|
{
|
|
8636
|
-
"max_manifest_version": 2,
|
|
8637
9148
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.delete() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8638
9149
|
"$ref": "folders.MailFolder"
|
|
8639
9150
|
}
|
|
@@ -8641,12 +9152,30 @@
|
|
|
8641
9152
|
}
|
|
8642
9153
|
]
|
|
8643
9154
|
},
|
|
9155
|
+
{
|
|
9156
|
+
"name": "delete",
|
|
9157
|
+
"permissions": [
|
|
9158
|
+
"accountsFolders",
|
|
9159
|
+
"messagesDelete"
|
|
9160
|
+
],
|
|
9161
|
+
"type": "function",
|
|
9162
|
+
"min_manifest_version": 3,
|
|
9163
|
+
"description": "Deletes a folder.",
|
|
9164
|
+
"async": true,
|
|
9165
|
+
"parameters": [
|
|
9166
|
+
{
|
|
9167
|
+
"name": "folderId",
|
|
9168
|
+
"$ref": "folders.MailFolderId"
|
|
9169
|
+
}
|
|
9170
|
+
]
|
|
9171
|
+
},
|
|
8644
9172
|
{
|
|
8645
9173
|
"name": "update",
|
|
8646
9174
|
"permissions": [
|
|
8647
9175
|
"accountsFolders"
|
|
8648
9176
|
],
|
|
8649
9177
|
"type": "function",
|
|
9178
|
+
"max_manifest_version": 2,
|
|
8650
9179
|
"description": "Updates properties of a folder.",
|
|
8651
9180
|
"async": true,
|
|
8652
9181
|
"parameters": [
|
|
@@ -8657,7 +9186,6 @@
|
|
|
8657
9186
|
"$ref": "folders.MailFolderId"
|
|
8658
9187
|
},
|
|
8659
9188
|
{
|
|
8660
|
-
"max_manifest_version": 2,
|
|
8661
9189
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.update() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8662
9190
|
"$ref": "folders.MailFolder"
|
|
8663
9191
|
}
|
|
@@ -8677,9 +9205,38 @@
|
|
|
8677
9205
|
}
|
|
8678
9206
|
]
|
|
8679
9207
|
},
|
|
9208
|
+
{
|
|
9209
|
+
"name": "update",
|
|
9210
|
+
"permissions": [
|
|
9211
|
+
"accountsFolders"
|
|
9212
|
+
],
|
|
9213
|
+
"type": "function",
|
|
9214
|
+
"min_manifest_version": 3,
|
|
9215
|
+
"description": "Updates properties of a folder.",
|
|
9216
|
+
"async": true,
|
|
9217
|
+
"parameters": [
|
|
9218
|
+
{
|
|
9219
|
+
"name": "folderId",
|
|
9220
|
+
"$ref": "folders.MailFolderId"
|
|
9221
|
+
},
|
|
9222
|
+
{
|
|
9223
|
+
"name": "updateProperties",
|
|
9224
|
+
"type": "object",
|
|
9225
|
+
"description": "The properties to update.",
|
|
9226
|
+
"properties": {
|
|
9227
|
+
"isFavorite": {
|
|
9228
|
+
"type": "boolean",
|
|
9229
|
+
"optional": true,
|
|
9230
|
+
"description": "Sets or clears the favorite status."
|
|
9231
|
+
}
|
|
9232
|
+
}
|
|
9233
|
+
}
|
|
9234
|
+
]
|
|
9235
|
+
},
|
|
8680
9236
|
{
|
|
8681
9237
|
"name": "getFolderInfo",
|
|
8682
9238
|
"type": "function",
|
|
9239
|
+
"max_manifest_version": 2,
|
|
8683
9240
|
"description": "Get additional information about a folder.",
|
|
8684
9241
|
"async": "callback",
|
|
8685
9242
|
"parameters": [
|
|
@@ -8690,7 +9247,6 @@
|
|
|
8690
9247
|
"$ref": "folders.MailFolderId"
|
|
8691
9248
|
},
|
|
8692
9249
|
{
|
|
8693
|
-
"max_manifest_version": 2,
|
|
8694
9250
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderInfo() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8695
9251
|
"$ref": "folders.MailFolder"
|
|
8696
9252
|
}
|
|
@@ -8702,16 +9258,94 @@
|
|
|
8702
9258
|
"optional": true,
|
|
8703
9259
|
"parameters": [
|
|
8704
9260
|
{
|
|
8705
|
-
"$ref": "folders.MailFolderInfo"
|
|
9261
|
+
"$ref": "folders.MailFolderInfo"
|
|
9262
|
+
}
|
|
9263
|
+
]
|
|
9264
|
+
}
|
|
9265
|
+
]
|
|
9266
|
+
},
|
|
9267
|
+
{
|
|
9268
|
+
"name": "getFolderInfo",
|
|
9269
|
+
"type": "function",
|
|
9270
|
+
"min_manifest_version": 3,
|
|
9271
|
+
"description": "Get additional information about a folder.",
|
|
9272
|
+
"async": "callback",
|
|
9273
|
+
"parameters": [
|
|
9274
|
+
{
|
|
9275
|
+
"name": "folderId",
|
|
9276
|
+
"$ref": "folders.MailFolderId"
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"type": "function",
|
|
9280
|
+
"name": "callback",
|
|
9281
|
+
"optional": true,
|
|
9282
|
+
"parameters": [
|
|
9283
|
+
{
|
|
9284
|
+
"$ref": "folders.MailFolderInfo"
|
|
9285
|
+
}
|
|
9286
|
+
]
|
|
9287
|
+
}
|
|
9288
|
+
]
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"name": "getFolderCapabilities",
|
|
9292
|
+
"type": "function",
|
|
9293
|
+
"max_manifest_version": 2,
|
|
9294
|
+
"description": "Get capability information about a folder.",
|
|
9295
|
+
"async": "callback",
|
|
9296
|
+
"parameters": [
|
|
9297
|
+
{
|
|
9298
|
+
"name": "folder",
|
|
9299
|
+
"choices": [
|
|
9300
|
+
{
|
|
9301
|
+
"$ref": "folders.MailFolderId"
|
|
9302
|
+
},
|
|
9303
|
+
{
|
|
9304
|
+
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderCapabilities() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9305
|
+
"$ref": "folders.MailFolder"
|
|
9306
|
+
}
|
|
9307
|
+
]
|
|
9308
|
+
},
|
|
9309
|
+
{
|
|
9310
|
+
"type": "function",
|
|
9311
|
+
"name": "callback",
|
|
9312
|
+
"optional": true,
|
|
9313
|
+
"parameters": [
|
|
9314
|
+
{
|
|
9315
|
+
"$ref": "folders.MailFolderCapabilities"
|
|
9316
|
+
}
|
|
9317
|
+
]
|
|
9318
|
+
}
|
|
9319
|
+
]
|
|
9320
|
+
},
|
|
9321
|
+
{
|
|
9322
|
+
"name": "getFolderCapabilities",
|
|
9323
|
+
"type": "function",
|
|
9324
|
+
"min_manifest_version": 3,
|
|
9325
|
+
"description": "Get capability information about a folder.",
|
|
9326
|
+
"async": "callback",
|
|
9327
|
+
"parameters": [
|
|
9328
|
+
{
|
|
9329
|
+
"name": "folderId",
|
|
9330
|
+
"$ref": "folders.MailFolderId"
|
|
9331
|
+
},
|
|
9332
|
+
{
|
|
9333
|
+
"type": "function",
|
|
9334
|
+
"name": "callback",
|
|
9335
|
+
"optional": true,
|
|
9336
|
+
"parameters": [
|
|
9337
|
+
{
|
|
9338
|
+
"$ref": "folders.MailFolderCapabilities"
|
|
8706
9339
|
}
|
|
8707
9340
|
]
|
|
8708
9341
|
}
|
|
8709
9342
|
]
|
|
8710
9343
|
},
|
|
8711
9344
|
{
|
|
8712
|
-
"name": "
|
|
9345
|
+
"name": "getParentFolders",
|
|
8713
9346
|
"type": "function",
|
|
8714
|
-
"
|
|
9347
|
+
"max_manifest_version": 2,
|
|
9348
|
+
"description": "Get all parent folders as a flat ordered array. The first array entry is the direct parent.",
|
|
8715
9349
|
"async": "callback",
|
|
8716
9350
|
"parameters": [
|
|
8717
9351
|
{
|
|
@@ -8721,19 +9355,28 @@
|
|
|
8721
9355
|
"$ref": "folders.MailFolderId"
|
|
8722
9356
|
},
|
|
8723
9357
|
{
|
|
8724
|
-
"
|
|
8725
|
-
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderCapabilities() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
9358
|
+
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getParentFolders() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8726
9359
|
"$ref": "folders.MailFolder"
|
|
8727
9360
|
}
|
|
8728
9361
|
]
|
|
8729
9362
|
},
|
|
9363
|
+
{
|
|
9364
|
+
"name": "includeSubFolders",
|
|
9365
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each parent folder should include its nested subfolders. Defaults to <value>false</value>.",
|
|
9366
|
+
"optional": true,
|
|
9367
|
+
"default": false,
|
|
9368
|
+
"type": "boolean"
|
|
9369
|
+
},
|
|
8730
9370
|
{
|
|
8731
9371
|
"type": "function",
|
|
8732
9372
|
"name": "callback",
|
|
8733
9373
|
"optional": true,
|
|
8734
9374
|
"parameters": [
|
|
8735
9375
|
{
|
|
8736
|
-
"
|
|
9376
|
+
"type": "array",
|
|
9377
|
+
"items": {
|
|
9378
|
+
"$ref": "folders.MailFolder"
|
|
9379
|
+
}
|
|
8737
9380
|
}
|
|
8738
9381
|
]
|
|
8739
9382
|
}
|
|
@@ -8742,28 +9385,53 @@
|
|
|
8742
9385
|
{
|
|
8743
9386
|
"name": "getParentFolders",
|
|
8744
9387
|
"type": "function",
|
|
9388
|
+
"min_manifest_version": 3,
|
|
8745
9389
|
"description": "Get all parent folders as a flat ordered array. The first array entry is the direct parent.",
|
|
8746
9390
|
"async": "callback",
|
|
8747
9391
|
"parameters": [
|
|
8748
9392
|
{
|
|
8749
|
-
"name": "
|
|
8750
|
-
"
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
9393
|
+
"name": "folderId",
|
|
9394
|
+
"$ref": "folders.MailFolderId"
|
|
9395
|
+
},
|
|
9396
|
+
{
|
|
9397
|
+
"name": "includeSubFolders",
|
|
9398
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each parent folder should include its nested subfolders. Defaults to <value>false</value>.",
|
|
9399
|
+
"optional": true,
|
|
9400
|
+
"default": false,
|
|
9401
|
+
"type": "boolean"
|
|
9402
|
+
},
|
|
9403
|
+
{
|
|
9404
|
+
"type": "function",
|
|
9405
|
+
"name": "callback",
|
|
9406
|
+
"optional": true,
|
|
9407
|
+
"parameters": [
|
|
8754
9408
|
{
|
|
8755
|
-
"
|
|
8756
|
-
"
|
|
8757
|
-
|
|
9409
|
+
"type": "array",
|
|
9410
|
+
"items": {
|
|
9411
|
+
"$ref": "folders.MailFolder"
|
|
9412
|
+
}
|
|
8758
9413
|
}
|
|
8759
9414
|
]
|
|
9415
|
+
}
|
|
9416
|
+
]
|
|
9417
|
+
},
|
|
9418
|
+
{
|
|
9419
|
+
"name": "getSubFolders",
|
|
9420
|
+
"type": "function",
|
|
9421
|
+
"min_manifest_version": 3,
|
|
9422
|
+
"description": "Get the subfolders of the specified folder.",
|
|
9423
|
+
"async": "callback",
|
|
9424
|
+
"parameters": [
|
|
9425
|
+
{
|
|
9426
|
+
"name": "folderId",
|
|
9427
|
+
"$ref": "folders.MailFolderId"
|
|
8760
9428
|
},
|
|
8761
9429
|
{
|
|
8762
9430
|
"name": "includeSubFolders",
|
|
8763
|
-
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each parent folder should include its nested subfolders . Defaults to <value>false</value>.",
|
|
8764
9431
|
"optional": true,
|
|
9432
|
+
"type": "boolean",
|
|
8765
9433
|
"default": false,
|
|
8766
|
-
"
|
|
9434
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each direct subfolder should also include all its nested subfolders. Defaults to <value>false</value>."
|
|
8767
9435
|
},
|
|
8768
9436
|
{
|
|
8769
9437
|
"type": "function",
|
|
@@ -8783,6 +9451,7 @@
|
|
|
8783
9451
|
{
|
|
8784
9452
|
"name": "getSubFolders",
|
|
8785
9453
|
"type": "function",
|
|
9454
|
+
"max_manifest_version": 2,
|
|
8786
9455
|
"description": "Get the subfolders of the specified folder or account.",
|
|
8787
9456
|
"async": "callback",
|
|
8788
9457
|
"parameters": [
|
|
@@ -8793,12 +9462,10 @@
|
|
|
8793
9462
|
"$ref": "folders.MailFolderId"
|
|
8794
9463
|
},
|
|
8795
9464
|
{
|
|
8796
|
-
"max_manifest_version": 2,
|
|
8797
9465
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getSubFolders() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8798
9466
|
"$ref": "folders.MailFolder"
|
|
8799
9467
|
},
|
|
8800
9468
|
{
|
|
8801
|
-
"max_manifest_version": 2,
|
|
8802
9469
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getSubFolders() requires to specify the MailFolderId of the account's rootFolder, instead of a full MailAccount object.",
|
|
8803
9470
|
"$ref": "accounts.MailAccount"
|
|
8804
9471
|
}
|
|
@@ -8806,10 +9473,10 @@
|
|
|
8806
9473
|
},
|
|
8807
9474
|
{
|
|
8808
9475
|
"name": "includeSubFolders",
|
|
8809
|
-
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each direct subfolder should also include all its nested subfolders . Defaults to <value>true</value>.",
|
|
8810
9476
|
"optional": true,
|
|
9477
|
+
"type": "boolean",
|
|
8811
9478
|
"default": true,
|
|
8812
|
-
"
|
|
9479
|
+
"description": "Specifies whether the returned :ref:`folders.MailFolder` object for each direct subfolder should also include all its nested subfolders. Defaults to <value>true</value>."
|
|
8813
9480
|
},
|
|
8814
9481
|
{
|
|
8815
9482
|
"type": "function",
|
|
@@ -8892,6 +9559,7 @@
|
|
|
8892
9559
|
"accountsFolders"
|
|
8893
9560
|
],
|
|
8894
9561
|
"type": "function",
|
|
9562
|
+
"max_manifest_version": 2,
|
|
8895
9563
|
"description": "Marks all messages in a folder as read.",
|
|
8896
9564
|
"async": false,
|
|
8897
9565
|
"parameters": [
|
|
@@ -8902,13 +9570,28 @@
|
|
|
8902
9570
|
"$ref": "folders.MailFolderId"
|
|
8903
9571
|
},
|
|
8904
9572
|
{
|
|
8905
|
-
"max_manifest_version": 2,
|
|
8906
9573
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.markAsRead() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
8907
9574
|
"$ref": "folders.MailFolder"
|
|
8908
9575
|
}
|
|
8909
9576
|
]
|
|
8910
9577
|
}
|
|
8911
9578
|
]
|
|
9579
|
+
},
|
|
9580
|
+
{
|
|
9581
|
+
"name": "markAsRead",
|
|
9582
|
+
"permissions": [
|
|
9583
|
+
"accountsFolders"
|
|
9584
|
+
],
|
|
9585
|
+
"type": "function",
|
|
9586
|
+
"min_manifest_version": 3,
|
|
9587
|
+
"description": "Marks all messages in a folder as read.",
|
|
9588
|
+
"async": false,
|
|
9589
|
+
"parameters": [
|
|
9590
|
+
{
|
|
9591
|
+
"name": "folderId",
|
|
9592
|
+
"$ref": "folders.MailFolderId"
|
|
9593
|
+
}
|
|
9594
|
+
]
|
|
8912
9595
|
}
|
|
8913
9596
|
],
|
|
8914
9597
|
"events": [
|
|
@@ -9035,6 +9718,20 @@
|
|
|
9035
9718
|
"accountsRead"
|
|
9036
9719
|
],
|
|
9037
9720
|
"types": [
|
|
9721
|
+
{
|
|
9722
|
+
"id": "EncryptionCapabilities",
|
|
9723
|
+
"type": "object",
|
|
9724
|
+
"properties": {
|
|
9725
|
+
"canEncrypt": {
|
|
9726
|
+
"type": "boolean",
|
|
9727
|
+
"description": "Whether the encryption technology is configured to support message encryption."
|
|
9728
|
+
},
|
|
9729
|
+
"canSign": {
|
|
9730
|
+
"type": "boolean",
|
|
9731
|
+
"description": "Whether the encryption technology is configured to support message signing."
|
|
9732
|
+
}
|
|
9733
|
+
}
|
|
9734
|
+
},
|
|
9038
9735
|
{
|
|
9039
9736
|
"id": "MailIdentity",
|
|
9040
9737
|
"type": "object",
|
|
@@ -9088,6 +9785,21 @@
|
|
|
9088
9785
|
"type": "boolean",
|
|
9089
9786
|
"optional": true,
|
|
9090
9787
|
"description": "If the signature should be interpreted as plain text or as HTML."
|
|
9788
|
+
},
|
|
9789
|
+
"encryptionCapabilities": {
|
|
9790
|
+
"type": "object",
|
|
9791
|
+
"optional": true,
|
|
9792
|
+
"description": "The encryption capabilities of this identity. Read only.",
|
|
9793
|
+
"properties": {
|
|
9794
|
+
"OpenPGP": {
|
|
9795
|
+
"$ref": "identities.EncryptionCapabilities",
|
|
9796
|
+
"description": "The capabilities of this identity for the OpenPGP encryption technology."
|
|
9797
|
+
},
|
|
9798
|
+
"S/MIME": {
|
|
9799
|
+
"$ref": "identities.EncryptionCapabilities",
|
|
9800
|
+
"description": "The capabilities of this identity for the S/MIME encryption technology."
|
|
9801
|
+
}
|
|
9802
|
+
}
|
|
9091
9803
|
}
|
|
9092
9804
|
}
|
|
9093
9805
|
}
|
|
@@ -9334,6 +10046,11 @@
|
|
|
9334
10046
|
"type": "object",
|
|
9335
10047
|
"properties": {
|
|
9336
10048
|
"id": {
|
|
10049
|
+
"max_manifest_version": 2,
|
|
10050
|
+
"type": "integer"
|
|
10051
|
+
},
|
|
10052
|
+
"tabId": {
|
|
10053
|
+
"min_manifest_version": 3,
|
|
9337
10054
|
"type": "integer"
|
|
9338
10055
|
},
|
|
9339
10056
|
"windowId": {
|
|
@@ -9342,6 +10059,17 @@
|
|
|
9342
10059
|
"active": {
|
|
9343
10060
|
"type": "boolean"
|
|
9344
10061
|
},
|
|
10062
|
+
"groupType": {
|
|
10063
|
+
"type": "string",
|
|
10064
|
+
"min_manifest_version": 3,
|
|
10065
|
+
"description": "Grouping type of the message list.",
|
|
10066
|
+
"optional": true,
|
|
10067
|
+
"enum": [
|
|
10068
|
+
"ungrouped",
|
|
10069
|
+
"groupedByThread",
|
|
10070
|
+
"groupedBySortType"
|
|
10071
|
+
]
|
|
10072
|
+
},
|
|
9345
10073
|
"sortType": {
|
|
9346
10074
|
"type": "string",
|
|
9347
10075
|
"description": "The primary sort column of the message list.",
|
|
@@ -9381,7 +10109,8 @@
|
|
|
9381
10109
|
},
|
|
9382
10110
|
"viewType": {
|
|
9383
10111
|
"type": "string",
|
|
9384
|
-
"
|
|
10112
|
+
"max_manifest_version": 2,
|
|
10113
|
+
"description": "Grouping type of the message list.",
|
|
9385
10114
|
"optional": true,
|
|
9386
10115
|
"enum": [
|
|
9387
10116
|
"ungrouped",
|
|
@@ -9433,6 +10162,17 @@
|
|
|
9433
10162
|
"id": "MailTabProperties",
|
|
9434
10163
|
"type": "object",
|
|
9435
10164
|
"properties": {
|
|
10165
|
+
"groupType": {
|
|
10166
|
+
"type": "string",
|
|
10167
|
+
"min_manifest_version": 3,
|
|
10168
|
+
"description": "Grouping type of the message list.",
|
|
10169
|
+
"optional": true,
|
|
10170
|
+
"enum": [
|
|
10171
|
+
"ungrouped",
|
|
10172
|
+
"groupedByThread",
|
|
10173
|
+
"groupedBySortType"
|
|
10174
|
+
]
|
|
10175
|
+
},
|
|
9436
10176
|
"sortType": {
|
|
9437
10177
|
"type": "string",
|
|
9438
10178
|
"description": "Sorts the list of messages. ``sortOrder`` must also be given.",
|
|
@@ -9472,7 +10212,8 @@
|
|
|
9472
10212
|
},
|
|
9473
10213
|
"viewType": {
|
|
9474
10214
|
"type": "string",
|
|
9475
|
-
"
|
|
10215
|
+
"max_manifest_version": 2,
|
|
10216
|
+
"description": "Sets the grouping type of displayed messages.",
|
|
9476
10217
|
"optional": true,
|
|
9477
10218
|
"enum": [
|
|
9478
10219
|
"ungrouped",
|
|
@@ -9611,7 +10352,7 @@
|
|
|
9611
10352
|
{
|
|
9612
10353
|
"type": "array",
|
|
9613
10354
|
"items": {
|
|
9614
|
-
"$ref": "MailTab"
|
|
10355
|
+
"$ref": "mailTabs.MailTab"
|
|
9615
10356
|
}
|
|
9616
10357
|
}
|
|
9617
10358
|
]
|
|
@@ -9621,13 +10362,13 @@
|
|
|
9621
10362
|
{
|
|
9622
10363
|
"name": "get",
|
|
9623
10364
|
"type": "function",
|
|
9624
|
-
"description": "Get the properties of a mail tab.",
|
|
10365
|
+
"description": "Get the :ref:`mailTabs.MailTab` properties of a mail tab.",
|
|
9625
10366
|
"async": "callback",
|
|
9626
10367
|
"parameters": [
|
|
9627
10368
|
{
|
|
9628
10369
|
"name": "tabId",
|
|
9629
10370
|
"type": "integer",
|
|
9630
|
-
"description": "ID of the requested mail tab. Throws if the requested
|
|
10371
|
+
"description": "ID of the requested mail tab. Throws if the requested <value>tabId</value> does not belong to a mail tab."
|
|
9631
10372
|
},
|
|
9632
10373
|
{
|
|
9633
10374
|
"type": "function",
|
|
@@ -9635,7 +10376,7 @@
|
|
|
9635
10376
|
"optional": true,
|
|
9636
10377
|
"parameters": [
|
|
9637
10378
|
{
|
|
9638
|
-
"$ref": "MailTab"
|
|
10379
|
+
"$ref": "mailTabs.MailTab"
|
|
9639
10380
|
}
|
|
9640
10381
|
]
|
|
9641
10382
|
}
|
|
@@ -9644,7 +10385,8 @@
|
|
|
9644
10385
|
{
|
|
9645
10386
|
"name": "getCurrent",
|
|
9646
10387
|
"type": "function",
|
|
9647
|
-
"
|
|
10388
|
+
"max_manifest_version": 2,
|
|
10389
|
+
"description": "Get the :ref:`mailTabs.MailTab` properties of the active mail tab. Returns <value>undefined</value>, if the active tab is not a mail tab.",
|
|
9648
10390
|
"async": "callback",
|
|
9649
10391
|
"parameters": [
|
|
9650
10392
|
{
|
|
@@ -9653,7 +10395,7 @@
|
|
|
9653
10395
|
"optional": true,
|
|
9654
10396
|
"parameters": [
|
|
9655
10397
|
{
|
|
9656
|
-
"$ref": "MailTab",
|
|
10398
|
+
"$ref": "mailTabs.MailTab",
|
|
9657
10399
|
"optional": true,
|
|
9658
10400
|
"description": "This may return undefined"
|
|
9659
10401
|
}
|
|
@@ -9669,7 +10411,7 @@
|
|
|
9669
10411
|
"parameters": [
|
|
9670
10412
|
{
|
|
9671
10413
|
"name": "createProperties",
|
|
9672
|
-
"$ref": "MailTabProperties",
|
|
10414
|
+
"$ref": "mailTabs.MailTabProperties",
|
|
9673
10415
|
"optional": true,
|
|
9674
10416
|
"default": {}
|
|
9675
10417
|
},
|
|
@@ -9680,7 +10422,7 @@
|
|
|
9680
10422
|
"parameters": [
|
|
9681
10423
|
{
|
|
9682
10424
|
"name": "mailTab",
|
|
9683
|
-
"$ref": "MailTab",
|
|
10425
|
+
"$ref": "mailTabs.MailTab",
|
|
9684
10426
|
"description": "Details about the created mail tab. Will contain the ID of the new tab."
|
|
9685
10427
|
}
|
|
9686
10428
|
]
|
|
@@ -9702,7 +10444,7 @@
|
|
|
9702
10444
|
},
|
|
9703
10445
|
{
|
|
9704
10446
|
"name": "updateProperties",
|
|
9705
|
-
"$ref": "MailTabProperties"
|
|
10447
|
+
"$ref": "mailTabs.MailTabProperties"
|
|
9706
10448
|
},
|
|
9707
10449
|
{
|
|
9708
10450
|
"type": "function",
|
|
@@ -9711,7 +10453,7 @@
|
|
|
9711
10453
|
"parameters": [
|
|
9712
10454
|
{
|
|
9713
10455
|
"name": "mailTab",
|
|
9714
|
-
"$ref": "MailTab",
|
|
10456
|
+
"$ref": "mailTabs.MailTab",
|
|
9715
10457
|
"description": "Details about the updated mail tab."
|
|
9716
10458
|
}
|
|
9717
10459
|
]
|
|
@@ -9746,6 +10488,37 @@
|
|
|
9746
10488
|
}
|
|
9747
10489
|
]
|
|
9748
10490
|
},
|
|
10491
|
+
{
|
|
10492
|
+
"name": "getSelectedFolders",
|
|
10493
|
+
"type": "function",
|
|
10494
|
+
"description": "Lists the selected folders in the folder pane.",
|
|
10495
|
+
"permissions": [
|
|
10496
|
+
"accountsRead"
|
|
10497
|
+
],
|
|
10498
|
+
"async": "callback",
|
|
10499
|
+
"parameters": [
|
|
10500
|
+
{
|
|
10501
|
+
"name": "tabId",
|
|
10502
|
+
"type": "integer",
|
|
10503
|
+
"description": "Defaults to the active tab of the current window.",
|
|
10504
|
+
"optional": true,
|
|
10505
|
+
"minimum": 1
|
|
10506
|
+
},
|
|
10507
|
+
{
|
|
10508
|
+
"type": "function",
|
|
10509
|
+
"name": "callback",
|
|
10510
|
+
"optional": true,
|
|
10511
|
+
"parameters": [
|
|
10512
|
+
{
|
|
10513
|
+
"type": "array",
|
|
10514
|
+
"items": {
|
|
10515
|
+
"$ref": "folders.MailFolder"
|
|
10516
|
+
}
|
|
10517
|
+
}
|
|
10518
|
+
]
|
|
10519
|
+
}
|
|
10520
|
+
]
|
|
10521
|
+
},
|
|
9749
10522
|
{
|
|
9750
10523
|
"name": "getSelectedMessages",
|
|
9751
10524
|
"type": "function",
|
|
@@ -9856,7 +10629,7 @@
|
|
|
9856
10629
|
"optional": true
|
|
9857
10630
|
},
|
|
9858
10631
|
"text": {
|
|
9859
|
-
"$ref": "QuickFilterTextDetail",
|
|
10632
|
+
"$ref": "mailTabs.QuickFilterTextDetail",
|
|
9860
10633
|
"description": "Shows only messages matching the supplied text.",
|
|
9861
10634
|
"optional": true
|
|
9862
10635
|
}
|
|
@@ -10097,22 +10870,34 @@
|
|
|
10097
10870
|
"selectedMessages": {
|
|
10098
10871
|
"$ref": "messages.MessageList",
|
|
10099
10872
|
"optional": true,
|
|
10100
|
-
"description": "The selected
|
|
10873
|
+
"description": "The selected message(s) in the message list (a.k.a. the thread pane). Only available for the `message_list` context. The <permission>messagesRead</permission> permission is required. The returned selection includes the messages which would be affected by a context action through Thunderbirds UI, which may not be the actuall selected messages. For example, if the user has multiple messages selected and opens the context menu for a message outside that selection, only the message for which the context menu was opened, is returned."
|
|
10101
10874
|
},
|
|
10102
10875
|
"displayedFolder": {
|
|
10103
10876
|
"$ref": "folders.MailFolder",
|
|
10104
10877
|
"optional": true,
|
|
10105
|
-
"description": "The displayed folder
|
|
10878
|
+
"description": "The displayed folder. Only available for the `message_list` context. The <permission>accountsRead</permission> permission is required."
|
|
10106
10879
|
},
|
|
10107
10880
|
"selectedFolder": {
|
|
10108
10881
|
"$ref": "folders.MailFolder",
|
|
10882
|
+
"max_manifest_version": 2,
|
|
10883
|
+
"optional": true,
|
|
10884
|
+
"deprecated": "Deprecated since Thunderbird 128 and removed in Manifest V3: The selectedFolder property has been replaced by the selectedFolders property.",
|
|
10885
|
+
"description": "The selected folder in the folder pane (where the context menu was opened). Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required."
|
|
10886
|
+
},
|
|
10887
|
+
"selectedFolders": {
|
|
10888
|
+
"type": "array",
|
|
10889
|
+
"items": {
|
|
10890
|
+
"$ref": "folders.MailFolder"
|
|
10891
|
+
},
|
|
10109
10892
|
"optional": true,
|
|
10110
|
-
"description": "The selected
|
|
10893
|
+
"description": "The selected folders in the folder pane. Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required. The returned selection includes the folders which would be affected by a context action through Thunderbirds UI, which may not be the actuall selected folders. For example, if the user has multiple folders selected and opens the context menu for a folder outside that selection, only the folder for which the context menu was opened, is returned."
|
|
10111
10894
|
},
|
|
10112
10895
|
"selectedAccount": {
|
|
10113
10896
|
"$ref": "accounts.MailAccount",
|
|
10897
|
+
"max_manifest_version": 2,
|
|
10114
10898
|
"optional": true,
|
|
10115
|
-
"
|
|
10899
|
+
"deprecated": "Deprecated since Thunderbird 128 and removed in Manifest V3: The selectedAccount property has been replaced by the selectedFolders property, returning the root folder of the account.",
|
|
10900
|
+
"description": "The selected account in the folder pane, if the context menu was opened on an account entry. Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required."
|
|
10116
10901
|
},
|
|
10117
10902
|
"attachments": {
|
|
10118
10903
|
"type": "array",
|
|
@@ -10259,22 +11044,34 @@
|
|
|
10259
11044
|
"selectedMessages": {
|
|
10260
11045
|
"$ref": "messages.MessageList",
|
|
10261
11046
|
"optional": true,
|
|
10262
|
-
"description": "The selected
|
|
11047
|
+
"description": "The selected message(s) in the message list (a.k.a. the thread pane). Only available for the `message_list` context. The <permission>messagesRead</permission> permission is required. The returned selection includes the messages which would be affected by a context action through Thunderbirds UI, which may not be the actuall selected messages. For example, if the user has multiple messages selected and opens the context menu for a message outside that selection, only the message for which the context menu was opened, is returned."
|
|
10263
11048
|
},
|
|
10264
11049
|
"displayedFolder": {
|
|
10265
11050
|
"$ref": "folders.MailFolder",
|
|
10266
11051
|
"optional": true,
|
|
10267
|
-
"description": "The displayed folder
|
|
11052
|
+
"description": "The displayed folder. Only available for the `message_list` context. The <permission>accountsRead</permission> permission is required."
|
|
10268
11053
|
},
|
|
10269
11054
|
"selectedFolder": {
|
|
10270
11055
|
"$ref": "folders.MailFolder",
|
|
11056
|
+
"max_manifest_version": 2,
|
|
11057
|
+
"optional": true,
|
|
11058
|
+
"deprecated": "Deprecated since Thunderbird 128 and removed in Manifest V3: The selectedFolder property has been replaced by the selectedFolders property.",
|
|
11059
|
+
"description": "The selected folder in the folder pane (where the context menu was opened). Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required."
|
|
11060
|
+
},
|
|
11061
|
+
"selectedFolders": {
|
|
11062
|
+
"type": "array",
|
|
11063
|
+
"items": {
|
|
11064
|
+
"$ref": "folders.MailFolder"
|
|
11065
|
+
},
|
|
10271
11066
|
"optional": true,
|
|
10272
|
-
"description": "The selected
|
|
11067
|
+
"description": "The selected folders in the folder pane. Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required. The returned selection includes the folders which would be affected by a context action through Thunderbirds UI, which may not be the actuall selected folders. For example, if the user has multiple folders selected and opens the context menu for a folder outside that selection, only the folder for which the context menu was opened, is returned."
|
|
10273
11068
|
},
|
|
10274
11069
|
"selectedAccount": {
|
|
10275
11070
|
"$ref": "accounts.MailAccount",
|
|
11071
|
+
"max_manifest_version": 2,
|
|
10276
11072
|
"optional": true,
|
|
10277
|
-
"
|
|
11073
|
+
"deprecated": "Deprecated since Thunderbird 128 and removed in Manifest V3: The selectedAccount property has been replaced by the selectedFolders property, returning the root folder of the account.",
|
|
11074
|
+
"description": "The selected account in the folder pane, if the context menu was opened on an account entry. Only available for the `folder_pane` context. The <permission>accountsRead</permission> permission is required."
|
|
10278
11075
|
},
|
|
10279
11076
|
"attachments": {
|
|
10280
11077
|
"type": "array",
|
|
@@ -10773,6 +11570,7 @@
|
|
|
10773
11570
|
{
|
|
10774
11571
|
"name": "onMessageDisplayed",
|
|
10775
11572
|
"type": "function",
|
|
11573
|
+
"max_manifest_version": 2,
|
|
10776
11574
|
"description": "Fired when a message is displayed, whether in a 3-pane tab, a message tab, or a message window.",
|
|
10777
11575
|
"parameters": [
|
|
10778
11576
|
{
|
|
@@ -10795,11 +11593,17 @@
|
|
|
10795
11593
|
"$ref": "tabs.Tab"
|
|
10796
11594
|
},
|
|
10797
11595
|
{
|
|
11596
|
+
"max_manifest_version": 2,
|
|
10798
11597
|
"name": "messages",
|
|
10799
11598
|
"type": "array",
|
|
10800
11599
|
"items": {
|
|
10801
11600
|
"$ref": "messages.MessageHeader"
|
|
10802
11601
|
}
|
|
11602
|
+
},
|
|
11603
|
+
{
|
|
11604
|
+
"min_manifest_version": 3,
|
|
11605
|
+
"name": "displayedMessages",
|
|
11606
|
+
"$ref": "messages.MessageList"
|
|
10803
11607
|
}
|
|
10804
11608
|
]
|
|
10805
11609
|
}
|
|
@@ -10807,6 +11611,7 @@
|
|
|
10807
11611
|
"functions": [
|
|
10808
11612
|
{
|
|
10809
11613
|
"name": "getDisplayedMessage",
|
|
11614
|
+
"max_manifest_version": 2,
|
|
10810
11615
|
"type": "function",
|
|
10811
11616
|
"description": "Gets the currently displayed message in the specified tab (even if the tab itself is currently not visible), or the currently active tab. It returns <value>null</value> if no messages are displayed, or if multiple messages are displayed.",
|
|
10812
11617
|
"async": "callback",
|
|
@@ -10854,10 +11659,19 @@
|
|
|
10854
11659
|
"optional": true,
|
|
10855
11660
|
"parameters": [
|
|
10856
11661
|
{
|
|
10857
|
-
"
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
11662
|
+
"choices": [
|
|
11663
|
+
{
|
|
11664
|
+
"max_manifest_version": 2,
|
|
11665
|
+
"type": "array",
|
|
11666
|
+
"items": {
|
|
11667
|
+
"$ref": "messages.MessageHeader"
|
|
11668
|
+
}
|
|
11669
|
+
},
|
|
11670
|
+
{
|
|
11671
|
+
"min_manifest_version": 3,
|
|
11672
|
+
"$ref": "messages.MessageList"
|
|
11673
|
+
}
|
|
11674
|
+
]
|
|
10861
11675
|
}
|
|
10862
11676
|
]
|
|
10863
11677
|
}
|
|
@@ -11210,7 +12024,7 @@
|
|
|
11210
12024
|
"type": "integer",
|
|
11211
12025
|
"optional": true,
|
|
11212
12026
|
"minimum": 0,
|
|
11213
|
-
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global
|
|
12027
|
+
"description": "Specifies for which tab the label should be retrieved. If no tab is specified, the global value is retrieved."
|
|
11214
12028
|
},
|
|
11215
12029
|
"windowId": {
|
|
11216
12030
|
"type": "integer",
|
|
@@ -11272,7 +12086,84 @@
|
|
|
11272
12086
|
"type": "integer",
|
|
11273
12087
|
"optional": true,
|
|
11274
12088
|
"minimum": 0,
|
|
11275
|
-
"description": "Sets the icon only for the given tab."
|
|
12089
|
+
"description": "Sets the icon only for the given tab."
|
|
12090
|
+
},
|
|
12091
|
+
"windowId": {
|
|
12092
|
+
"type": "integer",
|
|
12093
|
+
"optional": true,
|
|
12094
|
+
"minimum": -2,
|
|
12095
|
+
"unsupported": true,
|
|
12096
|
+
"description": "Will throw an error if used."
|
|
12097
|
+
}
|
|
12098
|
+
}
|
|
12099
|
+
},
|
|
12100
|
+
{
|
|
12101
|
+
"type": "function",
|
|
12102
|
+
"name": "callback",
|
|
12103
|
+
"optional": true,
|
|
12104
|
+
"parameters": []
|
|
12105
|
+
}
|
|
12106
|
+
]
|
|
12107
|
+
},
|
|
12108
|
+
{
|
|
12109
|
+
"name": "setPopup",
|
|
12110
|
+
"type": "function",
|
|
12111
|
+
"description": "Sets the html document to be opened as a popup when the user clicks on the messageDisplayAction button.",
|
|
12112
|
+
"async": "callback",
|
|
12113
|
+
"parameters": [
|
|
12114
|
+
{
|
|
12115
|
+
"name": "details",
|
|
12116
|
+
"type": "object",
|
|
12117
|
+
"properties": {
|
|
12118
|
+
"popup": {
|
|
12119
|
+
"choices": [
|
|
12120
|
+
{
|
|
12121
|
+
"type": "string"
|
|
12122
|
+
},
|
|
12123
|
+
{
|
|
12124
|
+
"type": "null"
|
|
12125
|
+
}
|
|
12126
|
+
],
|
|
12127
|
+
"description": "The html file to show in a popup. Can be set to an empty string to not open a popup. Cleared by setting it to <value>null</value> (action will use the popup value defined in the manifest)."
|
|
12128
|
+
},
|
|
12129
|
+
"tabId": {
|
|
12130
|
+
"type": "integer",
|
|
12131
|
+
"optional": true,
|
|
12132
|
+
"minimum": 0,
|
|
12133
|
+
"description": "Sets the popup only for the given tab."
|
|
12134
|
+
},
|
|
12135
|
+
"windowId": {
|
|
12136
|
+
"type": "integer",
|
|
12137
|
+
"optional": true,
|
|
12138
|
+
"minimum": -2,
|
|
12139
|
+
"unsupported": true,
|
|
12140
|
+
"description": "Will throw an error if used."
|
|
12141
|
+
}
|
|
12142
|
+
}
|
|
12143
|
+
},
|
|
12144
|
+
{
|
|
12145
|
+
"type": "function",
|
|
12146
|
+
"name": "callback",
|
|
12147
|
+
"optional": true,
|
|
12148
|
+
"parameters": []
|
|
12149
|
+
}
|
|
12150
|
+
]
|
|
12151
|
+
},
|
|
12152
|
+
{
|
|
12153
|
+
"name": "getPopup",
|
|
12154
|
+
"type": "function",
|
|
12155
|
+
"description": "Gets the html document set as the popup for this messageDisplayAction button.",
|
|
12156
|
+
"async": "callback",
|
|
12157
|
+
"parameters": [
|
|
12158
|
+
{
|
|
12159
|
+
"name": "details",
|
|
12160
|
+
"type": "object",
|
|
12161
|
+
"properties": {
|
|
12162
|
+
"tabId": {
|
|
12163
|
+
"type": "integer",
|
|
12164
|
+
"optional": true,
|
|
12165
|
+
"minimum": 0,
|
|
12166
|
+
"description": "Specifies for which tab the popup document should be retrieved. If no tab is specified, the global value is retrieved."
|
|
11276
12167
|
},
|
|
11277
12168
|
"windowId": {
|
|
11278
12169
|
"type": "integer",
|
|
@@ -11287,21 +12178,26 @@
|
|
|
11287
12178
|
"type": "function",
|
|
11288
12179
|
"name": "callback",
|
|
11289
12180
|
"optional": true,
|
|
11290
|
-
"parameters": [
|
|
12181
|
+
"parameters": [
|
|
12182
|
+
{
|
|
12183
|
+
"name": "result",
|
|
12184
|
+
"type": "string"
|
|
12185
|
+
}
|
|
12186
|
+
]
|
|
11291
12187
|
}
|
|
11292
12188
|
]
|
|
11293
12189
|
},
|
|
11294
12190
|
{
|
|
11295
|
-
"name": "
|
|
12191
|
+
"name": "setBadgeText",
|
|
11296
12192
|
"type": "function",
|
|
11297
|
-
"description": "Sets the
|
|
12193
|
+
"description": "Sets the badge text for the messageDisplayAction button. The badge is displayed on top of the icon.",
|
|
11298
12194
|
"async": "callback",
|
|
11299
12195
|
"parameters": [
|
|
11300
12196
|
{
|
|
11301
12197
|
"name": "details",
|
|
11302
12198
|
"type": "object",
|
|
11303
12199
|
"properties": {
|
|
11304
|
-
"
|
|
12200
|
+
"text": {
|
|
11305
12201
|
"choices": [
|
|
11306
12202
|
{
|
|
11307
12203
|
"type": "string"
|
|
@@ -11310,13 +12206,13 @@
|
|
|
11310
12206
|
"type": "null"
|
|
11311
12207
|
}
|
|
11312
12208
|
],
|
|
11313
|
-
"description": "
|
|
12209
|
+
"description": "Any number of characters can be passed, but only about four can fit in the space. Cleared by setting it to <value>null</value> or an empty string."
|
|
11314
12210
|
},
|
|
11315
12211
|
"tabId": {
|
|
11316
12212
|
"type": "integer",
|
|
11317
12213
|
"optional": true,
|
|
11318
12214
|
"minimum": 0,
|
|
11319
|
-
"description": "Sets the
|
|
12215
|
+
"description": "Sets the badge text only for the given tab."
|
|
11320
12216
|
},
|
|
11321
12217
|
"windowId": {
|
|
11322
12218
|
"type": "integer",
|
|
@@ -11336,9 +12232,9 @@
|
|
|
11336
12232
|
]
|
|
11337
12233
|
},
|
|
11338
12234
|
{
|
|
11339
|
-
"name": "
|
|
12235
|
+
"name": "getBadgeText",
|
|
11340
12236
|
"type": "function",
|
|
11341
|
-
"description": "Gets the
|
|
12237
|
+
"description": "Gets the badge text of the messageDisplayAction button.",
|
|
11342
12238
|
"async": "callback",
|
|
11343
12239
|
"parameters": [
|
|
11344
12240
|
{
|
|
@@ -11349,7 +12245,7 @@
|
|
|
11349
12245
|
"type": "integer",
|
|
11350
12246
|
"optional": true,
|
|
11351
12247
|
"minimum": 0,
|
|
11352
|
-
"description": "Specifies for which tab the
|
|
12248
|
+
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global value is retrieved."
|
|
11353
12249
|
},
|
|
11354
12250
|
"windowId": {
|
|
11355
12251
|
"type": "integer",
|
|
@@ -11374,31 +12270,34 @@
|
|
|
11374
12270
|
]
|
|
11375
12271
|
},
|
|
11376
12272
|
{
|
|
11377
|
-
"name": "
|
|
12273
|
+
"name": "setBadgeTextColor",
|
|
11378
12274
|
"type": "function",
|
|
11379
|
-
"description": "Sets the
|
|
11380
|
-
"async":
|
|
12275
|
+
"description": "Sets the text color for the badge.",
|
|
12276
|
+
"async": true,
|
|
11381
12277
|
"parameters": [
|
|
11382
12278
|
{
|
|
11383
12279
|
"name": "details",
|
|
11384
12280
|
"type": "object",
|
|
11385
12281
|
"properties": {
|
|
11386
|
-
"
|
|
12282
|
+
"color": {
|
|
11387
12283
|
"choices": [
|
|
11388
12284
|
{
|
|
11389
12285
|
"type": "string"
|
|
11390
12286
|
},
|
|
12287
|
+
{
|
|
12288
|
+
"$ref": "ColorArray"
|
|
12289
|
+
},
|
|
11391
12290
|
{
|
|
11392
12291
|
"type": "null"
|
|
11393
12292
|
}
|
|
11394
12293
|
],
|
|
11395
|
-
"description": "
|
|
12294
|
+
"description": "The color to use as text color in the badge. Cleared by setting it to <value>null</value>."
|
|
11396
12295
|
},
|
|
11397
12296
|
"tabId": {
|
|
11398
12297
|
"type": "integer",
|
|
11399
12298
|
"optional": true,
|
|
11400
12299
|
"minimum": 0,
|
|
11401
|
-
"description": "Sets the badge
|
|
12300
|
+
"description": "Sets the text color for the badge only for the given tab."
|
|
11402
12301
|
},
|
|
11403
12302
|
"windowId": {
|
|
11404
12303
|
"type": "integer",
|
|
@@ -11408,20 +12307,14 @@
|
|
|
11408
12307
|
"description": "Will throw an error if used."
|
|
11409
12308
|
}
|
|
11410
12309
|
}
|
|
11411
|
-
},
|
|
11412
|
-
{
|
|
11413
|
-
"type": "function",
|
|
11414
|
-
"name": "callback",
|
|
11415
|
-
"optional": true,
|
|
11416
|
-
"parameters": []
|
|
11417
12310
|
}
|
|
11418
12311
|
]
|
|
11419
12312
|
},
|
|
11420
12313
|
{
|
|
11421
|
-
"name": "
|
|
12314
|
+
"name": "getBadgeTextColor",
|
|
11422
12315
|
"type": "function",
|
|
11423
|
-
"description": "Gets the
|
|
11424
|
-
"async":
|
|
12316
|
+
"description": "Gets the text color of the badge.",
|
|
12317
|
+
"async": true,
|
|
11425
12318
|
"parameters": [
|
|
11426
12319
|
{
|
|
11427
12320
|
"name": "details",
|
|
@@ -11431,7 +12324,7 @@
|
|
|
11431
12324
|
"type": "integer",
|
|
11432
12325
|
"optional": true,
|
|
11433
12326
|
"minimum": 0,
|
|
11434
|
-
"description": "Specifies for which tab the badge text should be retrieved. If no tab is specified, the global
|
|
12327
|
+
"description": "Specifies for which tab the badge text color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
11435
12328
|
},
|
|
11436
12329
|
"windowId": {
|
|
11437
12330
|
"type": "integer",
|
|
@@ -11477,7 +12370,7 @@
|
|
|
11477
12370
|
"type": "null"
|
|
11478
12371
|
}
|
|
11479
12372
|
],
|
|
11480
|
-
"description": "The color to use as background in the badge. Cleared by setting it to <value>null</value
|
|
12373
|
+
"description": "The color to use as background in the badge. Cleared by setting it to <value>null</value>."
|
|
11481
12374
|
},
|
|
11482
12375
|
"tabId": {
|
|
11483
12376
|
"type": "integer",
|
|
@@ -11516,7 +12409,7 @@
|
|
|
11516
12409
|
"type": "integer",
|
|
11517
12410
|
"optional": true,
|
|
11518
12411
|
"minimum": 0,
|
|
11519
|
-
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global
|
|
12412
|
+
"description": "Specifies for which tab the badge background color should be retrieved. If no tab is specified, the global value is retrieved."
|
|
11520
12413
|
},
|
|
11521
12414
|
"windowId": {
|
|
11522
12415
|
"type": "integer",
|
|
@@ -11709,6 +12602,21 @@
|
|
|
11709
12602
|
"minimum": 1,
|
|
11710
12603
|
"description": "A unique id representing a :ref:`messages.MessageHeader` and the associated message. This id doesn’t refer to the Message-ID email header. It is an internal tracking number that does not remain after a restart. Nor does it follow an email that has been moved to a different folder."
|
|
11711
12604
|
},
|
|
12605
|
+
{
|
|
12606
|
+
"id": "InlineTextPart",
|
|
12607
|
+
"type": "object",
|
|
12608
|
+
"description": "An inline part with content type <value>text/*</value>. These parts are not returned by :ref:`listAttachments` and usually make up the readable content of the message, mostly with content type <value>text/plain</value> or <value>text/html</value>",
|
|
12609
|
+
"properties": {
|
|
12610
|
+
"contentType": {
|
|
12611
|
+
"type": "string",
|
|
12612
|
+
"description": "The content type of the part. Most common types for inline text parts are <value>text/plain</value> and <value>text/html</value>. Possible other (deprecated) types are <value>text/richtext</value> and <value>text/enriched</value>. Some calendaring services include an inline text part with type <value>text/calendar</value>."
|
|
12613
|
+
},
|
|
12614
|
+
"content": {
|
|
12615
|
+
"type": "string",
|
|
12616
|
+
"description": "The content of this inline text part."
|
|
12617
|
+
}
|
|
12618
|
+
}
|
|
12619
|
+
},
|
|
11712
12620
|
{
|
|
11713
12621
|
"id": "MessageHeader",
|
|
11714
12622
|
"type": "object",
|
|
@@ -11820,7 +12728,7 @@
|
|
|
11820
12728
|
"messages": {
|
|
11821
12729
|
"type": "array",
|
|
11822
12730
|
"items": {
|
|
11823
|
-
"$ref": "MessageHeader"
|
|
12731
|
+
"$ref": "messages.MessageHeader"
|
|
11824
12732
|
}
|
|
11825
12733
|
}
|
|
11826
12734
|
}
|
|
@@ -11874,7 +12782,7 @@
|
|
|
11874
12782
|
"parts": {
|
|
11875
12783
|
"type": "array",
|
|
11876
12784
|
"items": {
|
|
11877
|
-
"$ref": "MessagePart"
|
|
12785
|
+
"$ref": "messages.MessagePart"
|
|
11878
12786
|
},
|
|
11879
12787
|
"description": "Any sub-parts of this part.",
|
|
11880
12788
|
"optional": true
|
|
@@ -11882,7 +12790,7 @@
|
|
|
11882
12790
|
"size": {
|
|
11883
12791
|
"type": "integer",
|
|
11884
12792
|
"optional": true,
|
|
11885
|
-
"description": "The size of this part. The size of <em>message
|
|
12793
|
+
"description": "The size of this part. The size of parts with content type <em>message/rfc822</em> is not the actual message size (on disc), but the total size of its decoded body parts, excluding headers."
|
|
11886
12794
|
}
|
|
11887
12795
|
}
|
|
11888
12796
|
},
|
|
@@ -11924,7 +12832,7 @@
|
|
|
11924
12832
|
{
|
|
11925
12833
|
"id": "MessageAttachment",
|
|
11926
12834
|
"type": "object",
|
|
11927
|
-
"description": "Represents an attachment in a message.",
|
|
12835
|
+
"description": "Represents an attachment in a message. This includes all MIME parts with a <value>content-disposition</value> header set to <value>attachment</value>, but also related parts like inline images.",
|
|
11928
12836
|
"properties": {
|
|
11929
12837
|
"contentType": {
|
|
11930
12838
|
"type": "string",
|
|
@@ -11942,6 +12850,11 @@
|
|
|
11942
12850
|
"type": "integer",
|
|
11943
12851
|
"description": "The size in bytes of this attachment."
|
|
11944
12852
|
},
|
|
12853
|
+
"contentId": {
|
|
12854
|
+
"type": "string",
|
|
12855
|
+
"optional": true,
|
|
12856
|
+
"description": "The content-id of this part. Available for related parts, which are referenced from other places inside the same message (e.g. inline images)."
|
|
12857
|
+
},
|
|
11945
12858
|
"message": {
|
|
11946
12859
|
"$ref": "messages.MessageHeader",
|
|
11947
12860
|
"optional": true,
|
|
@@ -12064,6 +12977,33 @@
|
|
|
12064
12977
|
{
|
|
12065
12978
|
"name": "list",
|
|
12066
12979
|
"type": "function",
|
|
12980
|
+
"min_manifest_version": 3,
|
|
12981
|
+
"description": "Gets all messages in a folder.",
|
|
12982
|
+
"async": "callback",
|
|
12983
|
+
"permissions": [
|
|
12984
|
+
"accountsRead"
|
|
12985
|
+
],
|
|
12986
|
+
"parameters": [
|
|
12987
|
+
{
|
|
12988
|
+
"name": "folderId",
|
|
12989
|
+
"$ref": "folders.MailFolderId"
|
|
12990
|
+
},
|
|
12991
|
+
{
|
|
12992
|
+
"type": "function",
|
|
12993
|
+
"name": "callback",
|
|
12994
|
+
"optional": true,
|
|
12995
|
+
"parameters": [
|
|
12996
|
+
{
|
|
12997
|
+
"$ref": "messages.MessageList"
|
|
12998
|
+
}
|
|
12999
|
+
]
|
|
13000
|
+
}
|
|
13001
|
+
]
|
|
13002
|
+
},
|
|
13003
|
+
{
|
|
13004
|
+
"name": "list",
|
|
13005
|
+
"type": "function",
|
|
13006
|
+
"max_manifest_version": 2,
|
|
12067
13007
|
"description": "Gets all messages in a folder.",
|
|
12068
13008
|
"async": "callback",
|
|
12069
13009
|
"permissions": [
|
|
@@ -12077,7 +13017,6 @@
|
|
|
12077
13017
|
"$ref": "folders.MailFolderId"
|
|
12078
13018
|
},
|
|
12079
13019
|
{
|
|
12080
|
-
"max_manifest_version": 2,
|
|
12081
13020
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.list() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
12082
13021
|
"$ref": "folders.MailFolder"
|
|
12083
13022
|
}
|
|
@@ -12145,7 +13084,7 @@
|
|
|
12145
13084
|
"optional": true,
|
|
12146
13085
|
"parameters": [
|
|
12147
13086
|
{
|
|
12148
|
-
"$ref": "MessageHeader"
|
|
13087
|
+
"$ref": "messages.MessageHeader"
|
|
12149
13088
|
}
|
|
12150
13089
|
]
|
|
12151
13090
|
}
|
|
@@ -12179,7 +13118,7 @@
|
|
|
12179
13118
|
"optional": true,
|
|
12180
13119
|
"parameters": [
|
|
12181
13120
|
{
|
|
12182
|
-
"$ref": "MessagePart"
|
|
13121
|
+
"$ref": "messages.MessagePart"
|
|
12183
13122
|
}
|
|
12184
13123
|
]
|
|
12185
13124
|
}
|
|
@@ -12269,7 +13208,32 @@
|
|
|
12269
13208
|
{
|
|
12270
13209
|
"type": "array",
|
|
12271
13210
|
"items": {
|
|
12272
|
-
"$ref": "MessageAttachment"
|
|
13211
|
+
"$ref": "messages.MessageAttachment"
|
|
13212
|
+
}
|
|
13213
|
+
}
|
|
13214
|
+
]
|
|
13215
|
+
}
|
|
13216
|
+
]
|
|
13217
|
+
},
|
|
13218
|
+
{
|
|
13219
|
+
"name": "listInlineTextParts",
|
|
13220
|
+
"type": "function",
|
|
13221
|
+
"description": "Lists all inline text parts of a message. These parts are not returned by :ref:`listAttachments` and usually make up the readable content of the message, mostly with content type <value>text/plain</value> or <value>text/html</value>. If a message only includes a <value>text/html</value> part, the method :ref:`messengerUtilities.convertToPlainText` can be used to retreive a plain text version. \n\n**Note:** A message usually contains only one inline text part per subtype, but technically messages can contain multiple inline text parts per subtype.",
|
|
13222
|
+
"async": "callback",
|
|
13223
|
+
"parameters": [
|
|
13224
|
+
{
|
|
13225
|
+
"name": "messageId",
|
|
13226
|
+
"$ref": "messages.MessageId"
|
|
13227
|
+
},
|
|
13228
|
+
{
|
|
13229
|
+
"type": "function",
|
|
13230
|
+
"name": "callback",
|
|
13231
|
+
"optional": true,
|
|
13232
|
+
"parameters": [
|
|
13233
|
+
{
|
|
13234
|
+
"type": "array",
|
|
13235
|
+
"items": {
|
|
13236
|
+
"$ref": "messages.InlineTextPart"
|
|
12273
13237
|
}
|
|
12274
13238
|
}
|
|
12275
13239
|
]
|
|
@@ -12541,13 +13505,14 @@
|
|
|
12541
13505
|
},
|
|
12542
13506
|
{
|
|
12543
13507
|
"name": "newProperties",
|
|
12544
|
-
"$ref": "MessageProperties"
|
|
13508
|
+
"$ref": "messages.MessageProperties"
|
|
12545
13509
|
}
|
|
12546
13510
|
]
|
|
12547
13511
|
},
|
|
12548
13512
|
{
|
|
12549
13513
|
"name": "move",
|
|
12550
13514
|
"type": "function",
|
|
13515
|
+
"max_manifest_version": 2,
|
|
12551
13516
|
"description": "Moves messages to a specified folder. If the messages cannot be removed from the source folder, they will be copied instead of moved. Moving external messages will throw an <em>ExtensionError</em>.",
|
|
12552
13517
|
"async": true,
|
|
12553
13518
|
"permissions": [
|
|
@@ -12570,7 +13535,6 @@
|
|
|
12570
13535
|
"$ref": "folders.MailFolderId"
|
|
12571
13536
|
},
|
|
12572
13537
|
{
|
|
12573
|
-
"max_manifest_version": 2,
|
|
12574
13538
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.move() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
12575
13539
|
"$ref": "folders.MailFolder"
|
|
12576
13540
|
}
|
|
@@ -12579,9 +13543,36 @@
|
|
|
12579
13543
|
}
|
|
12580
13544
|
]
|
|
12581
13545
|
},
|
|
13546
|
+
{
|
|
13547
|
+
"name": "move",
|
|
13548
|
+
"type": "function",
|
|
13549
|
+
"min_manifest_version": 3,
|
|
13550
|
+
"description": "Moves messages to a specified folder. If the messages cannot be removed from the source folder, they will be copied instead of moved. Moving external messages will throw an <em>ExtensionError</em>.",
|
|
13551
|
+
"async": true,
|
|
13552
|
+
"permissions": [
|
|
13553
|
+
"accountsRead",
|
|
13554
|
+
"messagesMove"
|
|
13555
|
+
],
|
|
13556
|
+
"parameters": [
|
|
13557
|
+
{
|
|
13558
|
+
"name": "messageIds",
|
|
13559
|
+
"type": "array",
|
|
13560
|
+
"description": "The IDs of the messages to move.",
|
|
13561
|
+
"items": {
|
|
13562
|
+
"$ref": "messages.MessageId"
|
|
13563
|
+
}
|
|
13564
|
+
},
|
|
13565
|
+
{
|
|
13566
|
+
"name": "folderId",
|
|
13567
|
+
"$ref": "folders.MailFolderId",
|
|
13568
|
+
"description": "The folder to move the messages to."
|
|
13569
|
+
}
|
|
13570
|
+
]
|
|
13571
|
+
},
|
|
12582
13572
|
{
|
|
12583
13573
|
"name": "copy",
|
|
12584
13574
|
"type": "function",
|
|
13575
|
+
"max_manifest_version": 2,
|
|
12585
13576
|
"description": "Copies messages to a specified folder.",
|
|
12586
13577
|
"async": true,
|
|
12587
13578
|
"permissions": [
|
|
@@ -12604,7 +13595,6 @@
|
|
|
12604
13595
|
"$ref": "folders.MailFolderId"
|
|
12605
13596
|
},
|
|
12606
13597
|
{
|
|
12607
|
-
"max_manifest_version": 2,
|
|
12608
13598
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.copy() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
12609
13599
|
"$ref": "folders.MailFolder"
|
|
12610
13600
|
}
|
|
@@ -12613,6 +13603,32 @@
|
|
|
12613
13603
|
}
|
|
12614
13604
|
]
|
|
12615
13605
|
},
|
|
13606
|
+
{
|
|
13607
|
+
"name": "copy",
|
|
13608
|
+
"type": "function",
|
|
13609
|
+
"min_manifest_version": 3,
|
|
13610
|
+
"description": "Copies messages to a specified folder.",
|
|
13611
|
+
"async": true,
|
|
13612
|
+
"permissions": [
|
|
13613
|
+
"accountsRead",
|
|
13614
|
+
"messagesMove"
|
|
13615
|
+
],
|
|
13616
|
+
"parameters": [
|
|
13617
|
+
{
|
|
13618
|
+
"name": "messageIds",
|
|
13619
|
+
"type": "array",
|
|
13620
|
+
"description": "The IDs of the messages to copy.",
|
|
13621
|
+
"items": {
|
|
13622
|
+
"$ref": "messages.MessageId"
|
|
13623
|
+
}
|
|
13624
|
+
},
|
|
13625
|
+
{
|
|
13626
|
+
"name": "folderId",
|
|
13627
|
+
"$ref": "folders.MailFolderId",
|
|
13628
|
+
"description": "The folder to copy the messages to."
|
|
13629
|
+
}
|
|
13630
|
+
]
|
|
13631
|
+
},
|
|
12616
13632
|
{
|
|
12617
13633
|
"name": "delete",
|
|
12618
13634
|
"type": "function",
|
|
@@ -12641,6 +13657,7 @@
|
|
|
12641
13657
|
{
|
|
12642
13658
|
"name": "import",
|
|
12643
13659
|
"type": "function",
|
|
13660
|
+
"max_manifest_version": 2,
|
|
12644
13661
|
"description": "Imports a message into a local Thunderbird folder. To import a message into an IMAP folder, add it to a local folder first and then move it to the IMAP folder.",
|
|
12645
13662
|
"async": "callback",
|
|
12646
13663
|
"permissions": [
|
|
@@ -12661,7 +13678,6 @@
|
|
|
12661
13678
|
"$ref": "folders.MailFolderId"
|
|
12662
13679
|
},
|
|
12663
13680
|
{
|
|
12664
|
-
"max_manifest_version": 2,
|
|
12665
13681
|
"deprecated": "Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.import() requires to specify a MailFolderId instead of a full MailFolder object.",
|
|
12666
13682
|
"$ref": "folders.MailFolder"
|
|
12667
13683
|
}
|
|
@@ -12685,6 +13701,45 @@
|
|
|
12685
13701
|
}
|
|
12686
13702
|
]
|
|
12687
13703
|
},
|
|
13704
|
+
{
|
|
13705
|
+
"name": "import",
|
|
13706
|
+
"type": "function",
|
|
13707
|
+
"min_manifest_version": 3,
|
|
13708
|
+
"description": "Imports a message into a local Thunderbird folder. To import a message into an IMAP folder, add it to a local folder first and then move it to the IMAP folder.",
|
|
13709
|
+
"async": "callback",
|
|
13710
|
+
"permissions": [
|
|
13711
|
+
"accountsRead",
|
|
13712
|
+
"messagesImport"
|
|
13713
|
+
],
|
|
13714
|
+
"parameters": [
|
|
13715
|
+
{
|
|
13716
|
+
"name": "file",
|
|
13717
|
+
"type": "object",
|
|
13718
|
+
"isInstanceOf": "File",
|
|
13719
|
+
"additionalProperties": true
|
|
13720
|
+
},
|
|
13721
|
+
{
|
|
13722
|
+
"name": "folderId",
|
|
13723
|
+
"$ref": "folders.MailFolderId",
|
|
13724
|
+
"description": "The folder to import the messages into."
|
|
13725
|
+
},
|
|
13726
|
+
{
|
|
13727
|
+
"name": "properties",
|
|
13728
|
+
"$ref": "messages.MessageProperties",
|
|
13729
|
+
"optional": true
|
|
13730
|
+
},
|
|
13731
|
+
{
|
|
13732
|
+
"type": "function",
|
|
13733
|
+
"name": "callback",
|
|
13734
|
+
"optional": true,
|
|
13735
|
+
"parameters": [
|
|
13736
|
+
{
|
|
13737
|
+
"$ref": "messages.MessageHeader"
|
|
13738
|
+
}
|
|
13739
|
+
]
|
|
13740
|
+
}
|
|
13741
|
+
]
|
|
13742
|
+
},
|
|
12688
13743
|
{
|
|
12689
13744
|
"name": "archive",
|
|
12690
13745
|
"type": "function",
|
|
@@ -13062,7 +14117,7 @@
|
|
|
13062
14117
|
"type": "string"
|
|
13063
14118
|
},
|
|
13064
14119
|
{
|
|
13065
|
-
"$ref": "ColorArray"
|
|
14120
|
+
"$ref": "spaces.ColorArray"
|
|
13066
14121
|
}
|
|
13067
14122
|
],
|
|
13068
14123
|
"optional": true,
|
|
@@ -13110,7 +14165,7 @@
|
|
|
13110
14165
|
"type": "string"
|
|
13111
14166
|
},
|
|
13112
14167
|
{
|
|
13113
|
-
"$ref": "ColorArray"
|
|
14168
|
+
"$ref": "spaces.ColorArray"
|
|
13114
14169
|
}
|
|
13115
14170
|
],
|
|
13116
14171
|
"optional": "omit-key-if-missing",
|
|
@@ -13269,6 +14324,14 @@
|
|
|
13269
14324
|
"properties": {
|
|
13270
14325
|
"id": {
|
|
13271
14326
|
"type": "integer",
|
|
14327
|
+
"max_manifest_version": 2,
|
|
14328
|
+
"description": "The id of the space.",
|
|
14329
|
+
"optional": true,
|
|
14330
|
+
"minimum": 1
|
|
14331
|
+
},
|
|
14332
|
+
"spaceId": {
|
|
14333
|
+
"type": "integer",
|
|
14334
|
+
"min_manifest_version": 3,
|
|
13272
14335
|
"description": "The id of the space.",
|
|
13273
14336
|
"optional": true,
|
|
13274
14337
|
"minimum": 1
|
|
@@ -14625,6 +15688,41 @@
|
|
|
14625
15688
|
}
|
|
14626
15689
|
],
|
|
14627
15690
|
"functions": [
|
|
15691
|
+
{
|
|
15692
|
+
"name": "convertToPlainText",
|
|
15693
|
+
"type": "function",
|
|
15694
|
+
"description": "Converts the provided body to readable plain text, without tags and leading/trailing whitespace.",
|
|
15695
|
+
"async": "callback",
|
|
15696
|
+
"parameters": [
|
|
15697
|
+
{
|
|
15698
|
+
"name": "body",
|
|
15699
|
+
"type": "string",
|
|
15700
|
+
"description": "The to-be-converted body."
|
|
15701
|
+
},
|
|
15702
|
+
{
|
|
15703
|
+
"name": "options",
|
|
15704
|
+
"type": "object",
|
|
15705
|
+
"optional": true,
|
|
15706
|
+
"properties": {
|
|
15707
|
+
"flowed": {
|
|
15708
|
+
"type": "boolean",
|
|
15709
|
+
"optional": true,
|
|
15710
|
+
"description": "The converted plain text will be wrapped to lines not longer than 72 characters and use format flowed, as defined by RFC 2646."
|
|
15711
|
+
}
|
|
15712
|
+
}
|
|
15713
|
+
},
|
|
15714
|
+
{
|
|
15715
|
+
"type": "function",
|
|
15716
|
+
"name": "callback",
|
|
15717
|
+
"optional": true,
|
|
15718
|
+
"parameters": [
|
|
15719
|
+
{
|
|
15720
|
+
"type": "string"
|
|
15721
|
+
}
|
|
15722
|
+
]
|
|
15723
|
+
}
|
|
15724
|
+
]
|
|
15725
|
+
},
|
|
14628
15726
|
{
|
|
14629
15727
|
"name": "formatFileSize",
|
|
14630
15728
|
"type": "function",
|