@remit/api-http-client 0.0.53 → 0.0.54
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/@tanstack/react-query.gen.ts +78 -78
- package/index.ts +1 -1
- package/package.json +1 -1
- package/sdk.gen.ts +52 -52
- package/types.gen.ts +1479 -63
package/types.gen.ts
CHANGED
|
@@ -5,11 +5,26 @@ export type ClientOptions = {
|
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Every error the API answers with, whatever the status. The body is flat:
|
|
9
|
+
* `code`, `message` and `details` sit at the top level, with no envelope around
|
|
10
|
+
* them.
|
|
11
|
+
*
|
|
12
|
+
* `code` is always present and is the only field a client branches on. It is a
|
|
13
|
+
* stable snake_case token — the refusal's own where it has one
|
|
14
|
+
* (`folder_role_unresolved`, `config_not_empty`), and otherwise the status
|
|
15
|
+
* class's: `invalid_request`, `unauthorized`, `forbidden`, `not_found`,
|
|
16
|
+
* `conflict`, `precondition_failed`, `payload_too_large`,
|
|
17
|
+
* `unprocessable_entity`, `internal_error`, and `request_refused` for a 4xx no
|
|
18
|
+
* operation declares (405, 408, 415, 429).
|
|
19
|
+
*
|
|
20
|
+
* `message` is a sentence for a person and is free to change; nothing may parse
|
|
21
|
+
* it. `details` carries the strings a client words its own prompt from, and a
|
|
22
|
+
* 5xx never carries one — an internal failure answers with its status code and
|
|
23
|
+
* message and nothing else.
|
|
9
24
|
*/
|
|
10
25
|
export type ApiError = {
|
|
11
26
|
/**
|
|
12
|
-
*
|
|
27
|
+
* Stable token naming the refusal. Branch on this, never on `message`.
|
|
13
28
|
*/
|
|
14
29
|
code: string;
|
|
15
30
|
/**
|
|
@@ -2316,6 +2331,10 @@ export type RemitImapOrganizePreviewResponse = {
|
|
|
2316
2331
|
* A file the server refused, with everything the composer needs to say why
|
|
2317
2332
|
*/
|
|
2318
2333
|
export type RemitImapOutboxAttachmentRejection = {
|
|
2334
|
+
/**
|
|
2335
|
+
* `attachment_rejected`, the code every refusal here carries. `reason` says which one.
|
|
2336
|
+
*/
|
|
2337
|
+
code: string;
|
|
2319
2338
|
/**
|
|
2320
2339
|
* Machine-readable reason
|
|
2321
2340
|
*/
|
|
@@ -3560,6 +3579,24 @@ export type RemitImapWellknownFlagUpdate = RemitImapAddressFlagBaseUpdate & {
|
|
|
3560
3579
|
*/
|
|
3561
3580
|
export type RemitImapZoneCertainty = 'Local' | 'Explicit' | 'Ambiguous';
|
|
3562
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
* One reason a request was refused, as the validator read it. Named fields only — nothing here echoes the value that was submitted.
|
|
3584
|
+
*/
|
|
3585
|
+
export type RequestValidationDetail = {
|
|
3586
|
+
/**
|
|
3587
|
+
* JSON Pointer to the offending value; empty for the document itself
|
|
3588
|
+
*/
|
|
3589
|
+
path: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* The rule that refused it, e.g. `required`, `type`, `format`
|
|
3592
|
+
*/
|
|
3593
|
+
rule: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* What the validator said
|
|
3596
|
+
*/
|
|
3597
|
+
message: string;
|
|
3598
|
+
};
|
|
3599
|
+
|
|
3563
3600
|
export type String140 = string;
|
|
3564
3601
|
|
|
3565
3602
|
export type String2048 = string;
|
|
@@ -3574,6 +3611,45 @@ export type String800 = string;
|
|
|
3574
3611
|
|
|
3575
3612
|
export type Uuid = string;
|
|
3576
3613
|
|
|
3614
|
+
/**
|
|
3615
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
3616
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
3617
|
+
* token where there is one.
|
|
3618
|
+
*
|
|
3619
|
+
* The calendar surface answers with the reason it read the request by:
|
|
3620
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
3621
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
3622
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
3623
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
3624
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
3625
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
3626
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
3627
|
+
* `unknown_occurrence`.
|
|
3628
|
+
*
|
|
3629
|
+
* `errors` is present only when the request failed schema validation before any
|
|
3630
|
+
* handler ran, and names every field that was refused.
|
|
3631
|
+
*/
|
|
3632
|
+
export type ValidationError = {
|
|
3633
|
+
/**
|
|
3634
|
+
* Stable token naming the refusal. Branch on this, never on `message`.
|
|
3635
|
+
*/
|
|
3636
|
+
code: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* Human-readable error message
|
|
3639
|
+
*/
|
|
3640
|
+
message: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Additional error details
|
|
3643
|
+
*/
|
|
3644
|
+
details?: {
|
|
3645
|
+
[key: string]: string;
|
|
3646
|
+
};
|
|
3647
|
+
/**
|
|
3648
|
+
* Every field the schema refused, when the refusal came from schema validation
|
|
3649
|
+
*/
|
|
3650
|
+
errors?: Array<RequestValidationDetail>;
|
|
3651
|
+
};
|
|
3652
|
+
|
|
3577
3653
|
/**
|
|
3578
3654
|
* Account response (excluding sensitive fields). Display name, mute flag, and signatures are sourced from per-account AccountSetting rows (RFC 032), not the Account entity, but are surfaced here so the response shape is unchanged.
|
|
3579
3655
|
*/
|
|
@@ -3922,6 +3998,40 @@ export type AccountOperationsCreateAccountData = {
|
|
|
3922
3998
|
url: '/accounts';
|
|
3923
3999
|
};
|
|
3924
4000
|
|
|
4001
|
+
export type AccountOperationsCreateAccountErrors = {
|
|
4002
|
+
/**
|
|
4003
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4004
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4005
|
+
* token where there is one.
|
|
4006
|
+
*
|
|
4007
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4008
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4009
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4010
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4011
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4012
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4013
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4014
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4015
|
+
* `unknown_occurrence`.
|
|
4016
|
+
*
|
|
4017
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4018
|
+
* handler ran, and names every field that was refused.
|
|
4019
|
+
*/
|
|
4020
|
+
400: ValidationError;
|
|
4021
|
+
/**
|
|
4022
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4023
|
+
*/
|
|
4024
|
+
401: ApiError;
|
|
4025
|
+
/**
|
|
4026
|
+
* The request contradicts the state the resource is in. `code` is `conflict`
|
|
4027
|
+
* unless the refusal names its own — see `FolderRoleConflict`,
|
|
4028
|
+
* `MessagePlacementConflict` and `ConfigImportConflict`.
|
|
4029
|
+
*/
|
|
4030
|
+
409: ApiError;
|
|
4031
|
+
};
|
|
4032
|
+
|
|
4033
|
+
export type AccountOperationsCreateAccountError = AccountOperationsCreateAccountErrors[keyof AccountOperationsCreateAccountErrors];
|
|
4034
|
+
|
|
3925
4035
|
export type AccountOperationsCreateAccountResponses = {
|
|
3926
4036
|
/**
|
|
3927
4037
|
* The request has succeeded.
|
|
@@ -3949,6 +4059,15 @@ export type MicrosoftOAuthOperationsMicrosoftOAuthStartData = {
|
|
|
3949
4059
|
url: '/accounts/oauth/microsoft/start';
|
|
3950
4060
|
};
|
|
3951
4061
|
|
|
4062
|
+
export type MicrosoftOAuthOperationsMicrosoftOAuthStartErrors = {
|
|
4063
|
+
/**
|
|
4064
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4065
|
+
*/
|
|
4066
|
+
401: ApiError;
|
|
4067
|
+
};
|
|
4068
|
+
|
|
4069
|
+
export type MicrosoftOAuthOperationsMicrosoftOAuthStartError = MicrosoftOAuthOperationsMicrosoftOAuthStartErrors[keyof MicrosoftOAuthOperationsMicrosoftOAuthStartErrors];
|
|
4070
|
+
|
|
3952
4071
|
export type MicrosoftOAuthOperationsMicrosoftOAuthStartResponses = {
|
|
3953
4072
|
/**
|
|
3954
4073
|
* The request has succeeded.
|
|
@@ -3965,6 +4084,19 @@ export type AccountOperationsTestConnectionData = {
|
|
|
3965
4084
|
url: '/accounts/test-connection';
|
|
3966
4085
|
};
|
|
3967
4086
|
|
|
4087
|
+
export type AccountOperationsTestConnectionErrors = {
|
|
4088
|
+
/**
|
|
4089
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4090
|
+
*/
|
|
4091
|
+
401: ApiError;
|
|
4092
|
+
/**
|
|
4093
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4094
|
+
*/
|
|
4095
|
+
404: ApiError;
|
|
4096
|
+
};
|
|
4097
|
+
|
|
4098
|
+
export type AccountOperationsTestConnectionError = AccountOperationsTestConnectionErrors[keyof AccountOperationsTestConnectionErrors];
|
|
4099
|
+
|
|
3968
4100
|
export type AccountOperationsTestConnectionResponses = {
|
|
3969
4101
|
/**
|
|
3970
4102
|
* The request has succeeded.
|
|
@@ -3983,6 +4115,23 @@ export type AccountDetailOperationsDeleteAccountData = {
|
|
|
3983
4115
|
url: '/accounts/{accountId}';
|
|
3984
4116
|
};
|
|
3985
4117
|
|
|
4118
|
+
export type AccountDetailOperationsDeleteAccountErrors = {
|
|
4119
|
+
/**
|
|
4120
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4121
|
+
*/
|
|
4122
|
+
401: ApiError;
|
|
4123
|
+
/**
|
|
4124
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4125
|
+
*/
|
|
4126
|
+
403: ApiError;
|
|
4127
|
+
/**
|
|
4128
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4129
|
+
*/
|
|
4130
|
+
404: ApiError;
|
|
4131
|
+
};
|
|
4132
|
+
|
|
4133
|
+
export type AccountDetailOperationsDeleteAccountError = AccountDetailOperationsDeleteAccountErrors[keyof AccountDetailOperationsDeleteAccountErrors];
|
|
4134
|
+
|
|
3986
4135
|
export type AccountDetailOperationsDeleteAccountResponses = {
|
|
3987
4136
|
/**
|
|
3988
4137
|
* The request has succeeded.
|
|
@@ -4001,6 +4150,23 @@ export type AccountDetailOperationsUpdateAccountData = {
|
|
|
4001
4150
|
url: '/accounts/{accountId}';
|
|
4002
4151
|
};
|
|
4003
4152
|
|
|
4153
|
+
export type AccountDetailOperationsUpdateAccountErrors = {
|
|
4154
|
+
/**
|
|
4155
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4156
|
+
*/
|
|
4157
|
+
401: ApiError;
|
|
4158
|
+
/**
|
|
4159
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4160
|
+
*/
|
|
4161
|
+
403: ApiError;
|
|
4162
|
+
/**
|
|
4163
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4164
|
+
*/
|
|
4165
|
+
404: ApiError;
|
|
4166
|
+
};
|
|
4167
|
+
|
|
4168
|
+
export type AccountDetailOperationsUpdateAccountError = AccountDetailOperationsUpdateAccountErrors[keyof AccountDetailOperationsUpdateAccountErrors];
|
|
4169
|
+
|
|
4004
4170
|
export type AccountDetailOperationsUpdateAccountResponses = {
|
|
4005
4171
|
/**
|
|
4006
4172
|
* The request has succeeded.
|
|
@@ -4021,6 +4187,38 @@ export type FilterOperationsListFiltersData = {
|
|
|
4021
4187
|
url: '/accounts/{accountId}/filters';
|
|
4022
4188
|
};
|
|
4023
4189
|
|
|
4190
|
+
export type FilterOperationsListFiltersErrors = {
|
|
4191
|
+
/**
|
|
4192
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4193
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4194
|
+
* token where there is one.
|
|
4195
|
+
*
|
|
4196
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4197
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4198
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4199
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4200
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4201
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4202
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4203
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4204
|
+
* `unknown_occurrence`.
|
|
4205
|
+
*
|
|
4206
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4207
|
+
* handler ran, and names every field that was refused.
|
|
4208
|
+
*/
|
|
4209
|
+
400: ValidationError;
|
|
4210
|
+
/**
|
|
4211
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4212
|
+
*/
|
|
4213
|
+
401: ApiError;
|
|
4214
|
+
/**
|
|
4215
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4216
|
+
*/
|
|
4217
|
+
404: ApiError;
|
|
4218
|
+
};
|
|
4219
|
+
|
|
4220
|
+
export type FilterOperationsListFiltersError = FilterOperationsListFiltersErrors[keyof FilterOperationsListFiltersErrors];
|
|
4221
|
+
|
|
4024
4222
|
export type FilterOperationsListFiltersResponses = {
|
|
4025
4223
|
/**
|
|
4026
4224
|
* The request has succeeded.
|
|
@@ -4047,9 +4245,36 @@ export type FilterOperationsCreateFilterData = {
|
|
|
4047
4245
|
|
|
4048
4246
|
export type FilterOperationsCreateFilterErrors = {
|
|
4049
4247
|
/**
|
|
4050
|
-
*
|
|
4248
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4249
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4250
|
+
* token where there is one.
|
|
4251
|
+
*
|
|
4252
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4253
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4254
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4255
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4256
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4257
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4258
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4259
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4260
|
+
* `unknown_occurrence`.
|
|
4261
|
+
*
|
|
4262
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4263
|
+
* handler ran, and names every field that was refused.
|
|
4264
|
+
*/
|
|
4265
|
+
400: ValidationError;
|
|
4266
|
+
/**
|
|
4267
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4268
|
+
*/
|
|
4269
|
+
401: ApiError;
|
|
4270
|
+
/**
|
|
4271
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4051
4272
|
*/
|
|
4052
|
-
|
|
4273
|
+
403: ApiError;
|
|
4274
|
+
/**
|
|
4275
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4276
|
+
*/
|
|
4277
|
+
404: ApiError;
|
|
4053
4278
|
};
|
|
4054
4279
|
|
|
4055
4280
|
export type FilterOperationsCreateFilterError = FilterOperationsCreateFilterErrors[keyof FilterOperationsCreateFilterErrors];
|
|
@@ -4073,9 +4298,26 @@ export type FilterDetailOperationsDeleteFilterData = {
|
|
|
4073
4298
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4074
4299
|
};
|
|
4075
4300
|
|
|
4301
|
+
export type FilterDetailOperationsDeleteFilterErrors = {
|
|
4302
|
+
/**
|
|
4303
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4304
|
+
*/
|
|
4305
|
+
401: ApiError;
|
|
4306
|
+
/**
|
|
4307
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4308
|
+
*/
|
|
4309
|
+
403: ApiError;
|
|
4310
|
+
/**
|
|
4311
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4312
|
+
*/
|
|
4313
|
+
404: ApiError;
|
|
4314
|
+
};
|
|
4315
|
+
|
|
4316
|
+
export type FilterDetailOperationsDeleteFilterError = FilterDetailOperationsDeleteFilterErrors[keyof FilterDetailOperationsDeleteFilterErrors];
|
|
4317
|
+
|
|
4076
4318
|
export type FilterDetailOperationsDeleteFilterResponses = {
|
|
4077
4319
|
/**
|
|
4078
|
-
*
|
|
4320
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4079
4321
|
*/
|
|
4080
4322
|
204: void;
|
|
4081
4323
|
};
|
|
@@ -4092,6 +4334,19 @@ export type FilterDetailOperationsGetFilterData = {
|
|
|
4092
4334
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4093
4335
|
};
|
|
4094
4336
|
|
|
4337
|
+
export type FilterDetailOperationsGetFilterErrors = {
|
|
4338
|
+
/**
|
|
4339
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4340
|
+
*/
|
|
4341
|
+
401: ApiError;
|
|
4342
|
+
/**
|
|
4343
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4344
|
+
*/
|
|
4345
|
+
404: ApiError;
|
|
4346
|
+
};
|
|
4347
|
+
|
|
4348
|
+
export type FilterDetailOperationsGetFilterError = FilterDetailOperationsGetFilterErrors[keyof FilterDetailOperationsGetFilterErrors];
|
|
4349
|
+
|
|
4095
4350
|
export type FilterDetailOperationsGetFilterResponses = {
|
|
4096
4351
|
/**
|
|
4097
4352
|
* The request has succeeded.
|
|
@@ -4111,6 +4366,23 @@ export type FilterDetailOperationsUpdateFilterData = {
|
|
|
4111
4366
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4112
4367
|
};
|
|
4113
4368
|
|
|
4369
|
+
export type FilterDetailOperationsUpdateFilterErrors = {
|
|
4370
|
+
/**
|
|
4371
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4372
|
+
*/
|
|
4373
|
+
401: ApiError;
|
|
4374
|
+
/**
|
|
4375
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4376
|
+
*/
|
|
4377
|
+
403: ApiError;
|
|
4378
|
+
/**
|
|
4379
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4380
|
+
*/
|
|
4381
|
+
404: ApiError;
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4384
|
+
export type FilterDetailOperationsUpdateFilterError = FilterDetailOperationsUpdateFilterErrors[keyof FilterDetailOperationsUpdateFilterErrors];
|
|
4385
|
+
|
|
4114
4386
|
export type FilterDetailOperationsUpdateFilterResponses = {
|
|
4115
4387
|
/**
|
|
4116
4388
|
* The request has succeeded.
|
|
@@ -4131,6 +4403,18 @@ export type FolderRoleOperationsAppointFolderRoleData = {
|
|
|
4131
4403
|
};
|
|
4132
4404
|
|
|
4133
4405
|
export type FolderRoleOperationsAppointFolderRoleErrors = {
|
|
4406
|
+
/**
|
|
4407
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4408
|
+
*/
|
|
4409
|
+
401: ApiError;
|
|
4410
|
+
/**
|
|
4411
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4412
|
+
*/
|
|
4413
|
+
403: ApiError;
|
|
4414
|
+
/**
|
|
4415
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4416
|
+
*/
|
|
4417
|
+
404: ApiError;
|
|
4134
4418
|
/**
|
|
4135
4419
|
* The same flat 409 body as `FolderRoleConflict`, with one code only this endpoint can answer with.
|
|
4136
4420
|
*
|
|
@@ -4163,6 +4447,38 @@ export type LabelOperationsListLabelsData = {
|
|
|
4163
4447
|
url: '/accounts/{accountId}/labels';
|
|
4164
4448
|
};
|
|
4165
4449
|
|
|
4450
|
+
export type LabelOperationsListLabelsErrors = {
|
|
4451
|
+
/**
|
|
4452
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4453
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4454
|
+
* token where there is one.
|
|
4455
|
+
*
|
|
4456
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4457
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4458
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4459
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4460
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4461
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4462
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4463
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4464
|
+
* `unknown_occurrence`.
|
|
4465
|
+
*
|
|
4466
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4467
|
+
* handler ran, and names every field that was refused.
|
|
4468
|
+
*/
|
|
4469
|
+
400: ValidationError;
|
|
4470
|
+
/**
|
|
4471
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4472
|
+
*/
|
|
4473
|
+
401: ApiError;
|
|
4474
|
+
/**
|
|
4475
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4476
|
+
*/
|
|
4477
|
+
404: ApiError;
|
|
4478
|
+
};
|
|
4479
|
+
|
|
4480
|
+
export type LabelOperationsListLabelsError = LabelOperationsListLabelsErrors[keyof LabelOperationsListLabelsErrors];
|
|
4481
|
+
|
|
4166
4482
|
export type LabelOperationsListLabelsResponses = {
|
|
4167
4483
|
/**
|
|
4168
4484
|
* The request has succeeded.
|
|
@@ -4187,6 +4503,23 @@ export type LabelOperationsCreateLabelData = {
|
|
|
4187
4503
|
url: '/accounts/{accountId}/labels';
|
|
4188
4504
|
};
|
|
4189
4505
|
|
|
4506
|
+
export type LabelOperationsCreateLabelErrors = {
|
|
4507
|
+
/**
|
|
4508
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4509
|
+
*/
|
|
4510
|
+
401: ApiError;
|
|
4511
|
+
/**
|
|
4512
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4513
|
+
*/
|
|
4514
|
+
403: ApiError;
|
|
4515
|
+
/**
|
|
4516
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4517
|
+
*/
|
|
4518
|
+
404: ApiError;
|
|
4519
|
+
};
|
|
4520
|
+
|
|
4521
|
+
export type LabelOperationsCreateLabelError = LabelOperationsCreateLabelErrors[keyof LabelOperationsCreateLabelErrors];
|
|
4522
|
+
|
|
4190
4523
|
export type LabelOperationsCreateLabelResponses = {
|
|
4191
4524
|
/**
|
|
4192
4525
|
* The request has succeeded.
|
|
@@ -4206,9 +4539,26 @@ export type LabelDetailOperationsDeleteLabelData = {
|
|
|
4206
4539
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4207
4540
|
};
|
|
4208
4541
|
|
|
4542
|
+
export type LabelDetailOperationsDeleteLabelErrors = {
|
|
4543
|
+
/**
|
|
4544
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4545
|
+
*/
|
|
4546
|
+
401: ApiError;
|
|
4547
|
+
/**
|
|
4548
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4549
|
+
*/
|
|
4550
|
+
403: ApiError;
|
|
4551
|
+
/**
|
|
4552
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4553
|
+
*/
|
|
4554
|
+
404: ApiError;
|
|
4555
|
+
};
|
|
4556
|
+
|
|
4557
|
+
export type LabelDetailOperationsDeleteLabelError = LabelDetailOperationsDeleteLabelErrors[keyof LabelDetailOperationsDeleteLabelErrors];
|
|
4558
|
+
|
|
4209
4559
|
export type LabelDetailOperationsDeleteLabelResponses = {
|
|
4210
4560
|
/**
|
|
4211
|
-
*
|
|
4561
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4212
4562
|
*/
|
|
4213
4563
|
204: void;
|
|
4214
4564
|
};
|
|
@@ -4225,6 +4575,19 @@ export type LabelDetailOperationsGetLabelData = {
|
|
|
4225
4575
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4226
4576
|
};
|
|
4227
4577
|
|
|
4578
|
+
export type LabelDetailOperationsGetLabelErrors = {
|
|
4579
|
+
/**
|
|
4580
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4581
|
+
*/
|
|
4582
|
+
401: ApiError;
|
|
4583
|
+
/**
|
|
4584
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4585
|
+
*/
|
|
4586
|
+
404: ApiError;
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
export type LabelDetailOperationsGetLabelError = LabelDetailOperationsGetLabelErrors[keyof LabelDetailOperationsGetLabelErrors];
|
|
4590
|
+
|
|
4228
4591
|
export type LabelDetailOperationsGetLabelResponses = {
|
|
4229
4592
|
/**
|
|
4230
4593
|
* The request has succeeded.
|
|
@@ -4244,6 +4607,23 @@ export type LabelDetailOperationsUpdateLabelData = {
|
|
|
4244
4607
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4245
4608
|
};
|
|
4246
4609
|
|
|
4610
|
+
export type LabelDetailOperationsUpdateLabelErrors = {
|
|
4611
|
+
/**
|
|
4612
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4613
|
+
*/
|
|
4614
|
+
401: ApiError;
|
|
4615
|
+
/**
|
|
4616
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4617
|
+
*/
|
|
4618
|
+
403: ApiError;
|
|
4619
|
+
/**
|
|
4620
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4621
|
+
*/
|
|
4622
|
+
404: ApiError;
|
|
4623
|
+
};
|
|
4624
|
+
|
|
4625
|
+
export type LabelDetailOperationsUpdateLabelError = LabelDetailOperationsUpdateLabelErrors[keyof LabelDetailOperationsUpdateLabelErrors];
|
|
4626
|
+
|
|
4247
4627
|
export type LabelDetailOperationsUpdateLabelResponses = {
|
|
4248
4628
|
/**
|
|
4249
4629
|
* The request has succeeded.
|
|
@@ -4264,6 +4644,38 @@ export type MailboxOperationsListMailboxesData = {
|
|
|
4264
4644
|
url: '/accounts/{accountId}/mailboxes';
|
|
4265
4645
|
};
|
|
4266
4646
|
|
|
4647
|
+
export type MailboxOperationsListMailboxesErrors = {
|
|
4648
|
+
/**
|
|
4649
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4650
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4651
|
+
* token where there is one.
|
|
4652
|
+
*
|
|
4653
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4654
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4655
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4656
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4657
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4658
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4659
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4660
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4661
|
+
* `unknown_occurrence`.
|
|
4662
|
+
*
|
|
4663
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4664
|
+
* handler ran, and names every field that was refused.
|
|
4665
|
+
*/
|
|
4666
|
+
400: ValidationError;
|
|
4667
|
+
/**
|
|
4668
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4669
|
+
*/
|
|
4670
|
+
401: ApiError;
|
|
4671
|
+
/**
|
|
4672
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4673
|
+
*/
|
|
4674
|
+
404: ApiError;
|
|
4675
|
+
};
|
|
4676
|
+
|
|
4677
|
+
export type MailboxOperationsListMailboxesError = MailboxOperationsListMailboxesErrors[keyof MailboxOperationsListMailboxesErrors];
|
|
4678
|
+
|
|
4267
4679
|
export type MailboxOperationsListMailboxesResponses = {
|
|
4268
4680
|
/**
|
|
4269
4681
|
* The request has succeeded.
|
|
@@ -4288,6 +4700,23 @@ export type MailboxOperationsCreateMailboxData = {
|
|
|
4288
4700
|
url: '/accounts/{accountId}/mailboxes';
|
|
4289
4701
|
};
|
|
4290
4702
|
|
|
4703
|
+
export type MailboxOperationsCreateMailboxErrors = {
|
|
4704
|
+
/**
|
|
4705
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4706
|
+
*/
|
|
4707
|
+
401: ApiError;
|
|
4708
|
+
/**
|
|
4709
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4710
|
+
*/
|
|
4711
|
+
403: ApiError;
|
|
4712
|
+
/**
|
|
4713
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4714
|
+
*/
|
|
4715
|
+
404: ApiError;
|
|
4716
|
+
};
|
|
4717
|
+
|
|
4718
|
+
export type MailboxOperationsCreateMailboxError = MailboxOperationsCreateMailboxErrors[keyof MailboxOperationsCreateMailboxErrors];
|
|
4719
|
+
|
|
4291
4720
|
export type MailboxOperationsCreateMailboxResponses = {
|
|
4292
4721
|
/**
|
|
4293
4722
|
* The request has succeeded.
|
|
@@ -4307,9 +4736,26 @@ export type MailboxDetailOperationsDeleteMailboxData = {
|
|
|
4307
4736
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4308
4737
|
};
|
|
4309
4738
|
|
|
4739
|
+
export type MailboxDetailOperationsDeleteMailboxErrors = {
|
|
4740
|
+
/**
|
|
4741
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4742
|
+
*/
|
|
4743
|
+
401: ApiError;
|
|
4744
|
+
/**
|
|
4745
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4746
|
+
*/
|
|
4747
|
+
403: ApiError;
|
|
4748
|
+
/**
|
|
4749
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4750
|
+
*/
|
|
4751
|
+
404: ApiError;
|
|
4752
|
+
};
|
|
4753
|
+
|
|
4754
|
+
export type MailboxDetailOperationsDeleteMailboxError = MailboxDetailOperationsDeleteMailboxErrors[keyof MailboxDetailOperationsDeleteMailboxErrors];
|
|
4755
|
+
|
|
4310
4756
|
export type MailboxDetailOperationsDeleteMailboxResponses = {
|
|
4311
4757
|
/**
|
|
4312
|
-
*
|
|
4758
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4313
4759
|
*/
|
|
4314
4760
|
204: void;
|
|
4315
4761
|
};
|
|
@@ -4326,6 +4772,19 @@ export type MailboxDetailOperationsGetMailboxData = {
|
|
|
4326
4772
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4327
4773
|
};
|
|
4328
4774
|
|
|
4775
|
+
export type MailboxDetailOperationsGetMailboxErrors = {
|
|
4776
|
+
/**
|
|
4777
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4778
|
+
*/
|
|
4779
|
+
401: ApiError;
|
|
4780
|
+
/**
|
|
4781
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4782
|
+
*/
|
|
4783
|
+
404: ApiError;
|
|
4784
|
+
};
|
|
4785
|
+
|
|
4786
|
+
export type MailboxDetailOperationsGetMailboxError = MailboxDetailOperationsGetMailboxErrors[keyof MailboxDetailOperationsGetMailboxErrors];
|
|
4787
|
+
|
|
4329
4788
|
export type MailboxDetailOperationsGetMailboxResponses = {
|
|
4330
4789
|
/**
|
|
4331
4790
|
* The request has succeeded.
|
|
@@ -4345,6 +4804,23 @@ export type MailboxDetailOperationsRenameMailboxData = {
|
|
|
4345
4804
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4346
4805
|
};
|
|
4347
4806
|
|
|
4807
|
+
export type MailboxDetailOperationsRenameMailboxErrors = {
|
|
4808
|
+
/**
|
|
4809
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4810
|
+
*/
|
|
4811
|
+
401: ApiError;
|
|
4812
|
+
/**
|
|
4813
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4814
|
+
*/
|
|
4815
|
+
403: ApiError;
|
|
4816
|
+
/**
|
|
4817
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4818
|
+
*/
|
|
4819
|
+
404: ApiError;
|
|
4820
|
+
};
|
|
4821
|
+
|
|
4822
|
+
export type MailboxDetailOperationsRenameMailboxError = MailboxDetailOperationsRenameMailboxErrors[keyof MailboxDetailOperationsRenameMailboxErrors];
|
|
4823
|
+
|
|
4348
4824
|
export type MailboxDetailOperationsRenameMailboxResponses = {
|
|
4349
4825
|
/**
|
|
4350
4826
|
* The request has succeeded.
|
|
@@ -4365,9 +4841,36 @@ export type OrganizeOperationsCreateOrganizeJobData = {
|
|
|
4365
4841
|
|
|
4366
4842
|
export type OrganizeOperationsCreateOrganizeJobErrors = {
|
|
4367
4843
|
/**
|
|
4368
|
-
*
|
|
4844
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4845
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4846
|
+
* token where there is one.
|
|
4847
|
+
*
|
|
4848
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4849
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4850
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4851
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4852
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4853
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4854
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4855
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4856
|
+
* `unknown_occurrence`.
|
|
4857
|
+
*
|
|
4858
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4859
|
+
* handler ran, and names every field that was refused.
|
|
4860
|
+
*/
|
|
4861
|
+
400: ValidationError;
|
|
4862
|
+
/**
|
|
4863
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4864
|
+
*/
|
|
4865
|
+
401: ApiError;
|
|
4866
|
+
/**
|
|
4867
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4369
4868
|
*/
|
|
4370
|
-
|
|
4869
|
+
403: ApiError;
|
|
4870
|
+
/**
|
|
4871
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4872
|
+
*/
|
|
4873
|
+
404: ApiError;
|
|
4371
4874
|
};
|
|
4372
4875
|
|
|
4373
4876
|
export type OrganizeOperationsCreateOrganizeJobError = OrganizeOperationsCreateOrganizeJobErrors[keyof OrganizeOperationsCreateOrganizeJobErrors];
|
|
@@ -4392,9 +4895,32 @@ export type OrganizeOperationsPreviewOrganizeData = {
|
|
|
4392
4895
|
|
|
4393
4896
|
export type OrganizeOperationsPreviewOrganizeErrors = {
|
|
4394
4897
|
/**
|
|
4395
|
-
*
|
|
4898
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4899
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4900
|
+
* token where there is one.
|
|
4901
|
+
*
|
|
4902
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4903
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4904
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4905
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4906
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4907
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4908
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4909
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4910
|
+
* `unknown_occurrence`.
|
|
4911
|
+
*
|
|
4912
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4913
|
+
* handler ran, and names every field that was refused.
|
|
4914
|
+
*/
|
|
4915
|
+
400: ValidationError;
|
|
4916
|
+
/**
|
|
4917
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4918
|
+
*/
|
|
4919
|
+
401: ApiError;
|
|
4920
|
+
/**
|
|
4921
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4396
4922
|
*/
|
|
4397
|
-
|
|
4923
|
+
404: ApiError;
|
|
4398
4924
|
};
|
|
4399
4925
|
|
|
4400
4926
|
export type OrganizeOperationsPreviewOrganizeError = OrganizeOperationsPreviewOrganizeErrors[keyof OrganizeOperationsPreviewOrganizeErrors];
|
|
@@ -4418,9 +4944,22 @@ export type OrganizeJobDetailOperationsGetOrganizeJobData = {
|
|
|
4418
4944
|
url: '/accounts/{accountId}/organize/{organizeJobId}';
|
|
4419
4945
|
};
|
|
4420
4946
|
|
|
4421
|
-
export type
|
|
4947
|
+
export type OrganizeJobDetailOperationsGetOrganizeJobErrors = {
|
|
4422
4948
|
/**
|
|
4423
|
-
* The request
|
|
4949
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4950
|
+
*/
|
|
4951
|
+
401: ApiError;
|
|
4952
|
+
/**
|
|
4953
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4954
|
+
*/
|
|
4955
|
+
404: ApiError;
|
|
4956
|
+
};
|
|
4957
|
+
|
|
4958
|
+
export type OrganizeJobDetailOperationsGetOrganizeJobError = OrganizeJobDetailOperationsGetOrganizeJobErrors[keyof OrganizeJobDetailOperationsGetOrganizeJobErrors];
|
|
4959
|
+
|
|
4960
|
+
export type OrganizeJobDetailOperationsGetOrganizeJobResponses = {
|
|
4961
|
+
/**
|
|
4962
|
+
* The request has succeeded.
|
|
4424
4963
|
*/
|
|
4425
4964
|
200: RemitImapOrganizeJobResponse;
|
|
4426
4965
|
};
|
|
@@ -4436,6 +4975,23 @@ export type SyncOperationsTriggerSyncData = {
|
|
|
4436
4975
|
url: '/accounts/{accountId}/sync';
|
|
4437
4976
|
};
|
|
4438
4977
|
|
|
4978
|
+
export type SyncOperationsTriggerSyncErrors = {
|
|
4979
|
+
/**
|
|
4980
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4981
|
+
*/
|
|
4982
|
+
401: ApiError;
|
|
4983
|
+
/**
|
|
4984
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4985
|
+
*/
|
|
4986
|
+
403: ApiError;
|
|
4987
|
+
/**
|
|
4988
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4989
|
+
*/
|
|
4990
|
+
404: ApiError;
|
|
4991
|
+
};
|
|
4992
|
+
|
|
4993
|
+
export type SyncOperationsTriggerSyncError = SyncOperationsTriggerSyncErrors[keyof SyncOperationsTriggerSyncErrors];
|
|
4994
|
+
|
|
4439
4995
|
export type SyncOperationsTriggerSyncResponses = {
|
|
4440
4996
|
/**
|
|
4441
4997
|
* The request has succeeded.
|
|
@@ -4454,6 +5010,19 @@ export type SyncOperationsGetSyncStatusData = {
|
|
|
4454
5010
|
url: '/accounts/{accountId}/sync/status';
|
|
4455
5011
|
};
|
|
4456
5012
|
|
|
5013
|
+
export type SyncOperationsGetSyncStatusErrors = {
|
|
5014
|
+
/**
|
|
5015
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5016
|
+
*/
|
|
5017
|
+
401: ApiError;
|
|
5018
|
+
/**
|
|
5019
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5020
|
+
*/
|
|
5021
|
+
404: ApiError;
|
|
5022
|
+
};
|
|
5023
|
+
|
|
5024
|
+
export type SyncOperationsGetSyncStatusError = SyncOperationsGetSyncStatusErrors[keyof SyncOperationsGetSyncStatusErrors];
|
|
5025
|
+
|
|
4457
5026
|
export type SyncOperationsGetSyncStatusResponses = {
|
|
4458
5027
|
/**
|
|
4459
5028
|
* The request has succeeded.
|
|
@@ -4473,6 +5042,18 @@ export type TrashOperationsEmptyTrashData = {
|
|
|
4473
5042
|
};
|
|
4474
5043
|
|
|
4475
5044
|
export type TrashOperationsEmptyTrashErrors = {
|
|
5045
|
+
/**
|
|
5046
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5047
|
+
*/
|
|
5048
|
+
401: ApiError;
|
|
5049
|
+
/**
|
|
5050
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
5051
|
+
*/
|
|
5052
|
+
403: ApiError;
|
|
5053
|
+
/**
|
|
5054
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5055
|
+
*/
|
|
5056
|
+
404: ApiError;
|
|
4476
5057
|
/**
|
|
4477
5058
|
* An action was refused because the folder role it needs is not settled. The body is flat: `code`, `message` and `details` sit at the top level, which is what the API emits. Clients branch on `code` and word their prompt from `details`, never from `message`.
|
|
4478
5059
|
*
|
|
@@ -4502,6 +5083,15 @@ export type AddressOperationsSearchAddressesData = {
|
|
|
4502
5083
|
url: '/addresses/search';
|
|
4503
5084
|
};
|
|
4504
5085
|
|
|
5086
|
+
export type AddressOperationsSearchAddressesErrors = {
|
|
5087
|
+
/**
|
|
5088
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5089
|
+
*/
|
|
5090
|
+
401: ApiError;
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
export type AddressOperationsSearchAddressesError = AddressOperationsSearchAddressesErrors[keyof AddressOperationsSearchAddressesErrors];
|
|
5094
|
+
|
|
4505
5095
|
export type AddressOperationsSearchAddressesResponses = {
|
|
4506
5096
|
/**
|
|
4507
5097
|
* The request has succeeded.
|
|
@@ -4526,6 +5116,23 @@ export type AddressDetailOperationsUpdateAddressData = {
|
|
|
4526
5116
|
url: '/addresses/{addressId}';
|
|
4527
5117
|
};
|
|
4528
5118
|
|
|
5119
|
+
export type AddressDetailOperationsUpdateAddressErrors = {
|
|
5120
|
+
/**
|
|
5121
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5122
|
+
*/
|
|
5123
|
+
401: ApiError;
|
|
5124
|
+
/**
|
|
5125
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
5126
|
+
*/
|
|
5127
|
+
403: ApiError;
|
|
5128
|
+
/**
|
|
5129
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5130
|
+
*/
|
|
5131
|
+
404: ApiError;
|
|
5132
|
+
};
|
|
5133
|
+
|
|
5134
|
+
export type AddressDetailOperationsUpdateAddressError = AddressDetailOperationsUpdateAddressErrors[keyof AddressDetailOperationsUpdateAddressErrors];
|
|
5135
|
+
|
|
4529
5136
|
export type AddressDetailOperationsUpdateAddressResponses = {
|
|
4530
5137
|
/**
|
|
4531
5138
|
* The request has succeeded.
|
|
@@ -4557,11 +5164,30 @@ export type CalendarEventOperationsListCalendarEventsData = {
|
|
|
4557
5164
|
|
|
4558
5165
|
export type CalendarEventOperationsListCalendarEventsErrors = {
|
|
4559
5166
|
/**
|
|
4560
|
-
*
|
|
5167
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5168
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5169
|
+
* token where there is one.
|
|
5170
|
+
*
|
|
5171
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5172
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5173
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5174
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5175
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5176
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5177
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5178
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5179
|
+
* `unknown_occurrence`.
|
|
5180
|
+
*
|
|
5181
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5182
|
+
* handler ran, and names every field that was refused.
|
|
5183
|
+
*/
|
|
5184
|
+
400: ValidationError;
|
|
5185
|
+
/**
|
|
5186
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4561
5187
|
*/
|
|
4562
|
-
|
|
5188
|
+
401: ApiError;
|
|
4563
5189
|
/**
|
|
4564
|
-
*
|
|
5190
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4565
5191
|
*/
|
|
4566
5192
|
404: ApiError;
|
|
4567
5193
|
};
|
|
@@ -4586,11 +5212,30 @@ export type CalendarEventOperationsCreateCalendarEventData = {
|
|
|
4586
5212
|
|
|
4587
5213
|
export type CalendarEventOperationsCreateCalendarEventErrors = {
|
|
4588
5214
|
/**
|
|
4589
|
-
*
|
|
5215
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5216
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5217
|
+
* token where there is one.
|
|
5218
|
+
*
|
|
5219
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5220
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5221
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5222
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5223
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5224
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5225
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5226
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5227
|
+
* `unknown_occurrence`.
|
|
5228
|
+
*
|
|
5229
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5230
|
+
* handler ran, and names every field that was refused.
|
|
5231
|
+
*/
|
|
5232
|
+
400: ValidationError;
|
|
5233
|
+
/**
|
|
5234
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4590
5235
|
*/
|
|
4591
|
-
|
|
5236
|
+
401: ApiError;
|
|
4592
5237
|
/**
|
|
4593
|
-
*
|
|
5238
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4594
5239
|
*/
|
|
4595
5240
|
404: ApiError;
|
|
4596
5241
|
};
|
|
@@ -4633,11 +5278,30 @@ export type CalendarEventDetailOperationsDeleteCalendarEventData = {
|
|
|
4633
5278
|
|
|
4634
5279
|
export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
|
|
4635
5280
|
/**
|
|
4636
|
-
*
|
|
5281
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5282
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5283
|
+
* token where there is one.
|
|
5284
|
+
*
|
|
5285
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5286
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5287
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5288
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5289
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5290
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5291
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5292
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5293
|
+
* `unknown_occurrence`.
|
|
5294
|
+
*
|
|
5295
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5296
|
+
* handler ran, and names every field that was refused.
|
|
5297
|
+
*/
|
|
5298
|
+
400: ValidationError;
|
|
5299
|
+
/**
|
|
5300
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4637
5301
|
*/
|
|
4638
|
-
|
|
5302
|
+
401: ApiError;
|
|
4639
5303
|
/**
|
|
4640
|
-
*
|
|
5304
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4641
5305
|
*/
|
|
4642
5306
|
404: ApiError;
|
|
4643
5307
|
/**
|
|
@@ -4645,7 +5309,7 @@ export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
|
|
|
4645
5309
|
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
4646
5310
|
* wrote it in between, so applying this request would silently discard their
|
|
4647
5311
|
* change. The client re-reads the resource and decides what to do with the
|
|
4648
|
-
* version it now has.
|
|
5312
|
+
* version it now has. `code` is `precondition_failed`.
|
|
4649
5313
|
*/
|
|
4650
5314
|
412: ApiError;
|
|
4651
5315
|
};
|
|
@@ -4677,11 +5341,30 @@ export type CalendarEventDetailOperationsGetCalendarEventData = {
|
|
|
4677
5341
|
|
|
4678
5342
|
export type CalendarEventDetailOperationsGetCalendarEventErrors = {
|
|
4679
5343
|
/**
|
|
4680
|
-
*
|
|
5344
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5345
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5346
|
+
* token where there is one.
|
|
5347
|
+
*
|
|
5348
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5349
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5350
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5351
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5352
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5353
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5354
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5355
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5356
|
+
* `unknown_occurrence`.
|
|
5357
|
+
*
|
|
5358
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5359
|
+
* handler ran, and names every field that was refused.
|
|
5360
|
+
*/
|
|
5361
|
+
400: ValidationError;
|
|
5362
|
+
/**
|
|
5363
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4681
5364
|
*/
|
|
4682
|
-
|
|
5365
|
+
401: ApiError;
|
|
4683
5366
|
/**
|
|
4684
|
-
*
|
|
5367
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4685
5368
|
*/
|
|
4686
5369
|
404: ApiError;
|
|
4687
5370
|
};
|
|
@@ -4724,11 +5407,30 @@ export type CalendarEventDetailOperationsUpdateCalendarEventData = {
|
|
|
4724
5407
|
|
|
4725
5408
|
export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
|
|
4726
5409
|
/**
|
|
4727
|
-
*
|
|
5410
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5411
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5412
|
+
* token where there is one.
|
|
5413
|
+
*
|
|
5414
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5415
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5416
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5417
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5418
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5419
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5420
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5421
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5422
|
+
* `unknown_occurrence`.
|
|
5423
|
+
*
|
|
5424
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5425
|
+
* handler ran, and names every field that was refused.
|
|
5426
|
+
*/
|
|
5427
|
+
400: ValidationError;
|
|
5428
|
+
/**
|
|
5429
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4728
5430
|
*/
|
|
4729
|
-
|
|
5431
|
+
401: ApiError;
|
|
4730
5432
|
/**
|
|
4731
|
-
*
|
|
5433
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4732
5434
|
*/
|
|
4733
5435
|
404: ApiError;
|
|
4734
5436
|
/**
|
|
@@ -4736,7 +5438,7 @@ export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
|
|
|
4736
5438
|
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
4737
5439
|
* wrote it in between, so applying this request would silently discard their
|
|
4738
5440
|
* change. The client re-reads the resource and decides what to do with the
|
|
4739
|
-
* version it now has.
|
|
5441
|
+
* version it now has. `code` is `precondition_failed`.
|
|
4740
5442
|
*/
|
|
4741
5443
|
412: ApiError;
|
|
4742
5444
|
};
|
|
@@ -4770,9 +5472,28 @@ export type CalendarFreeBusyOperationsListCalendarFreeBusyData = {
|
|
|
4770
5472
|
|
|
4771
5473
|
export type CalendarFreeBusyOperationsListCalendarFreeBusyErrors = {
|
|
4772
5474
|
/**
|
|
4773
|
-
*
|
|
5475
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5476
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5477
|
+
* token where there is one.
|
|
5478
|
+
*
|
|
5479
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5480
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5481
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5482
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5483
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5484
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5485
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5486
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5487
|
+
* `unknown_occurrence`.
|
|
5488
|
+
*
|
|
5489
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5490
|
+
* handler ran, and names every field that was refused.
|
|
4774
5491
|
*/
|
|
4775
|
-
400:
|
|
5492
|
+
400: ValidationError;
|
|
5493
|
+
/**
|
|
5494
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5495
|
+
*/
|
|
5496
|
+
401: ApiError;
|
|
4776
5497
|
};
|
|
4777
5498
|
|
|
4778
5499
|
export type CalendarFreeBusyOperationsListCalendarFreeBusyError = CalendarFreeBusyOperationsListCalendarFreeBusyErrors[keyof CalendarFreeBusyOperationsListCalendarFreeBusyErrors];
|
|
@@ -4798,9 +5519,28 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsData = {
|
|
|
4798
5519
|
|
|
4799
5520
|
export type CalendarSuggestionOperationsListCalendarSuggestionsErrors = {
|
|
4800
5521
|
/**
|
|
4801
|
-
*
|
|
5522
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5523
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5524
|
+
* token where there is one.
|
|
5525
|
+
*
|
|
5526
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5527
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5528
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5529
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5530
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5531
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5532
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5533
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5534
|
+
* `unknown_occurrence`.
|
|
5535
|
+
*
|
|
5536
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5537
|
+
* handler ran, and names every field that was refused.
|
|
5538
|
+
*/
|
|
5539
|
+
400: ValidationError;
|
|
5540
|
+
/**
|
|
5541
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4802
5542
|
*/
|
|
4803
|
-
|
|
5543
|
+
401: ApiError;
|
|
4804
5544
|
};
|
|
4805
5545
|
|
|
4806
5546
|
export type CalendarSuggestionOperationsListCalendarSuggestionsError = CalendarSuggestionOperationsListCalendarSuggestionsErrors[keyof CalendarSuggestionOperationsListCalendarSuggestionsErrors];
|
|
@@ -4831,9 +5571,32 @@ export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionData = {
|
|
|
4831
5571
|
|
|
4832
5572
|
export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors = {
|
|
4833
5573
|
/**
|
|
4834
|
-
*
|
|
5574
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5575
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5576
|
+
* token where there is one.
|
|
5577
|
+
*
|
|
5578
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5579
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5580
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5581
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5582
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5583
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5584
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5585
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5586
|
+
* `unknown_occurrence`.
|
|
5587
|
+
*
|
|
5588
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5589
|
+
* handler ran, and names every field that was refused.
|
|
5590
|
+
*/
|
|
5591
|
+
400: ValidationError;
|
|
5592
|
+
/**
|
|
5593
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5594
|
+
*/
|
|
5595
|
+
401: ApiError;
|
|
5596
|
+
/**
|
|
5597
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4835
5598
|
*/
|
|
4836
|
-
|
|
5599
|
+
404: ApiError;
|
|
4837
5600
|
};
|
|
4838
5601
|
|
|
4839
5602
|
export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionError = CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors];
|
|
@@ -4858,9 +5621,32 @@ export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionData = {
|
|
|
4858
5621
|
|
|
4859
5622
|
export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors = {
|
|
4860
5623
|
/**
|
|
4861
|
-
*
|
|
5624
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5625
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5626
|
+
* token where there is one.
|
|
5627
|
+
*
|
|
5628
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5629
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5630
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5631
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5632
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5633
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5634
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5635
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5636
|
+
* `unknown_occurrence`.
|
|
5637
|
+
*
|
|
5638
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5639
|
+
* handler ran, and names every field that was refused.
|
|
5640
|
+
*/
|
|
5641
|
+
400: ValidationError;
|
|
5642
|
+
/**
|
|
5643
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4862
5644
|
*/
|
|
4863
|
-
|
|
5645
|
+
401: ApiError;
|
|
5646
|
+
/**
|
|
5647
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5648
|
+
*/
|
|
5649
|
+
404: ApiError;
|
|
4864
5650
|
};
|
|
4865
5651
|
|
|
4866
5652
|
export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionError = CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors];
|
|
@@ -4885,9 +5671,32 @@ export type CalendarSuggestionActionOperationsDismissCalendarSuggestionData = {
|
|
|
4885
5671
|
|
|
4886
5672
|
export type CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors = {
|
|
4887
5673
|
/**
|
|
4888
|
-
*
|
|
5674
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5675
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5676
|
+
* token where there is one.
|
|
5677
|
+
*
|
|
5678
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5679
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5680
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5681
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5682
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5683
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5684
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5685
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5686
|
+
* `unknown_occurrence`.
|
|
5687
|
+
*
|
|
5688
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5689
|
+
* handler ran, and names every field that was refused.
|
|
5690
|
+
*/
|
|
5691
|
+
400: ValidationError;
|
|
5692
|
+
/**
|
|
5693
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5694
|
+
*/
|
|
5695
|
+
401: ApiError;
|
|
5696
|
+
/**
|
|
5697
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4889
5698
|
*/
|
|
4890
|
-
|
|
5699
|
+
404: ApiError;
|
|
4891
5700
|
};
|
|
4892
5701
|
|
|
4893
5702
|
export type CalendarSuggestionActionOperationsDismissCalendarSuggestionError = CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors];
|
|
@@ -4908,6 +5717,15 @@ export type CalendarOperationsListCalendarsData = {
|
|
|
4908
5717
|
url: '/calendars';
|
|
4909
5718
|
};
|
|
4910
5719
|
|
|
5720
|
+
export type CalendarOperationsListCalendarsErrors = {
|
|
5721
|
+
/**
|
|
5722
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5723
|
+
*/
|
|
5724
|
+
401: ApiError;
|
|
5725
|
+
};
|
|
5726
|
+
|
|
5727
|
+
export type CalendarOperationsListCalendarsError = CalendarOperationsListCalendarsErrors[keyof CalendarOperationsListCalendarsErrors];
|
|
5728
|
+
|
|
4911
5729
|
export type CalendarOperationsListCalendarsResponses = {
|
|
4912
5730
|
/**
|
|
4913
5731
|
* The request has succeeded.
|
|
@@ -4926,9 +5744,28 @@ export type CalendarOperationsCreateCalendarData = {
|
|
|
4926
5744
|
|
|
4927
5745
|
export type CalendarOperationsCreateCalendarErrors = {
|
|
4928
5746
|
/**
|
|
4929
|
-
*
|
|
5747
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5748
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5749
|
+
* token where there is one.
|
|
5750
|
+
*
|
|
5751
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5752
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5753
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5754
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5755
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5756
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5757
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5758
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5759
|
+
* `unknown_occurrence`.
|
|
5760
|
+
*
|
|
5761
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5762
|
+
* handler ran, and names every field that was refused.
|
|
5763
|
+
*/
|
|
5764
|
+
400: ValidationError;
|
|
5765
|
+
/**
|
|
5766
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4930
5767
|
*/
|
|
4931
|
-
|
|
5768
|
+
401: ApiError;
|
|
4932
5769
|
};
|
|
4933
5770
|
|
|
4934
5771
|
export type CalendarOperationsCreateCalendarError = CalendarOperationsCreateCalendarErrors[keyof CalendarOperationsCreateCalendarErrors];
|
|
@@ -4953,11 +5790,30 @@ export type CalendarDetailOperationsDeleteCalendarData = {
|
|
|
4953
5790
|
|
|
4954
5791
|
export type CalendarDetailOperationsDeleteCalendarErrors = {
|
|
4955
5792
|
/**
|
|
4956
|
-
*
|
|
5793
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5794
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5795
|
+
* token where there is one.
|
|
5796
|
+
*
|
|
5797
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5798
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5799
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5800
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5801
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5802
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5803
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5804
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5805
|
+
* `unknown_occurrence`.
|
|
5806
|
+
*
|
|
5807
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5808
|
+
* handler ran, and names every field that was refused.
|
|
5809
|
+
*/
|
|
5810
|
+
400: ValidationError;
|
|
5811
|
+
/**
|
|
5812
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4957
5813
|
*/
|
|
4958
|
-
|
|
5814
|
+
401: ApiError;
|
|
4959
5815
|
/**
|
|
4960
|
-
*
|
|
5816
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4961
5817
|
*/
|
|
4962
5818
|
404: ApiError;
|
|
4963
5819
|
};
|
|
@@ -4984,7 +5840,11 @@ export type CalendarDetailOperationsGetCalendarData = {
|
|
|
4984
5840
|
|
|
4985
5841
|
export type CalendarDetailOperationsGetCalendarErrors = {
|
|
4986
5842
|
/**
|
|
4987
|
-
*
|
|
5843
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5844
|
+
*/
|
|
5845
|
+
401: ApiError;
|
|
5846
|
+
/**
|
|
5847
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4988
5848
|
*/
|
|
4989
5849
|
404: ApiError;
|
|
4990
5850
|
};
|
|
@@ -5011,11 +5871,30 @@ export type CalendarDetailOperationsUpdateCalendarData = {
|
|
|
5011
5871
|
|
|
5012
5872
|
export type CalendarDetailOperationsUpdateCalendarErrors = {
|
|
5013
5873
|
/**
|
|
5014
|
-
*
|
|
5874
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5875
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5876
|
+
* token where there is one.
|
|
5877
|
+
*
|
|
5878
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5879
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5880
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5881
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5882
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5883
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5884
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5885
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5886
|
+
* `unknown_occurrence`.
|
|
5887
|
+
*
|
|
5888
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5889
|
+
* handler ran, and names every field that was refused.
|
|
5890
|
+
*/
|
|
5891
|
+
400: ValidationError;
|
|
5892
|
+
/**
|
|
5893
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5015
5894
|
*/
|
|
5016
|
-
|
|
5895
|
+
401: ApiError;
|
|
5017
5896
|
/**
|
|
5018
|
-
*
|
|
5897
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5019
5898
|
*/
|
|
5020
5899
|
404: ApiError;
|
|
5021
5900
|
};
|
|
@@ -5042,7 +5921,11 @@ export type CalendarDetailOperationsRevokeCalendarFeedData = {
|
|
|
5042
5921
|
|
|
5043
5922
|
export type CalendarDetailOperationsRevokeCalendarFeedErrors = {
|
|
5044
5923
|
/**
|
|
5045
|
-
*
|
|
5924
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5925
|
+
*/
|
|
5926
|
+
401: ApiError;
|
|
5927
|
+
/**
|
|
5928
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5046
5929
|
*/
|
|
5047
5930
|
404: ApiError;
|
|
5048
5931
|
};
|
|
@@ -5069,7 +5952,11 @@ export type CalendarDetailOperationsGetCalendarFeedData = {
|
|
|
5069
5952
|
|
|
5070
5953
|
export type CalendarDetailOperationsGetCalendarFeedErrors = {
|
|
5071
5954
|
/**
|
|
5072
|
-
*
|
|
5955
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5956
|
+
*/
|
|
5957
|
+
401: ApiError;
|
|
5958
|
+
/**
|
|
5959
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5073
5960
|
*/
|
|
5074
5961
|
404: ApiError;
|
|
5075
5962
|
};
|
|
@@ -5096,7 +5983,11 @@ export type CalendarDetailOperationsPutCalendarFeedData = {
|
|
|
5096
5983
|
|
|
5097
5984
|
export type CalendarDetailOperationsPutCalendarFeedErrors = {
|
|
5098
5985
|
/**
|
|
5099
|
-
*
|
|
5986
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5987
|
+
*/
|
|
5988
|
+
401: ApiError;
|
|
5989
|
+
/**
|
|
5990
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5100
5991
|
*/
|
|
5101
5992
|
404: ApiError;
|
|
5102
5993
|
};
|
|
@@ -5119,6 +6010,15 @@ export type ConfigOperationsGetConfigData = {
|
|
|
5119
6010
|
url: '/config';
|
|
5120
6011
|
};
|
|
5121
6012
|
|
|
6013
|
+
export type ConfigOperationsGetConfigErrors = {
|
|
6014
|
+
/**
|
|
6015
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6016
|
+
*/
|
|
6017
|
+
401: ApiError;
|
|
6018
|
+
};
|
|
6019
|
+
|
|
6020
|
+
export type ConfigOperationsGetConfigError = ConfigOperationsGetConfigErrors[keyof ConfigOperationsGetConfigErrors];
|
|
6021
|
+
|
|
5122
6022
|
export type ConfigOperationsGetConfigResponses = {
|
|
5123
6023
|
/**
|
|
5124
6024
|
* The request has succeeded.
|
|
@@ -5135,6 +6035,15 @@ export type ConfigOperationsExportConfigData = {
|
|
|
5135
6035
|
url: '/config/export';
|
|
5136
6036
|
};
|
|
5137
6037
|
|
|
6038
|
+
export type ConfigOperationsExportConfigErrors = {
|
|
6039
|
+
/**
|
|
6040
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6041
|
+
*/
|
|
6042
|
+
401: ApiError;
|
|
6043
|
+
};
|
|
6044
|
+
|
|
6045
|
+
export type ConfigOperationsExportConfigError = ConfigOperationsExportConfigErrors[keyof ConfigOperationsExportConfigErrors];
|
|
6046
|
+
|
|
5138
6047
|
export type ConfigOperationsExportConfigResponses = {
|
|
5139
6048
|
/**
|
|
5140
6049
|
* The request has succeeded.
|
|
@@ -5153,9 +6062,28 @@ export type ConfigOperationsImportConfigData = {
|
|
|
5153
6062
|
|
|
5154
6063
|
export type ConfigOperationsImportConfigErrors = {
|
|
5155
6064
|
/**
|
|
5156
|
-
*
|
|
6065
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6066
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6067
|
+
* token where there is one.
|
|
6068
|
+
*
|
|
6069
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6070
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6071
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6072
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6073
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6074
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6075
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6076
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6077
|
+
* `unknown_occurrence`.
|
|
6078
|
+
*
|
|
6079
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6080
|
+
* handler ran, and names every field that was refused.
|
|
6081
|
+
*/
|
|
6082
|
+
400: ValidationError;
|
|
6083
|
+
/**
|
|
6084
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5157
6085
|
*/
|
|
5158
|
-
|
|
6086
|
+
401: ApiError;
|
|
5159
6087
|
/**
|
|
5160
6088
|
* The import was refused because this configuration is not empty. The body is
|
|
5161
6089
|
* flat: `code`, `message` and `details` sit at the top level.
|
|
@@ -5237,6 +6165,34 @@ export type ThreadOperationsListThreadsData = {
|
|
|
5237
6165
|
url: '/mailboxes/{mailboxId}/threads';
|
|
5238
6166
|
};
|
|
5239
6167
|
|
|
6168
|
+
export type ThreadOperationsListThreadsErrors = {
|
|
6169
|
+
/**
|
|
6170
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6171
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6172
|
+
* token where there is one.
|
|
6173
|
+
*
|
|
6174
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6175
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6176
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6177
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6178
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6179
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6180
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6181
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6182
|
+
* `unknown_occurrence`.
|
|
6183
|
+
*
|
|
6184
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6185
|
+
* handler ran, and names every field that was refused.
|
|
6186
|
+
*/
|
|
6187
|
+
400: ValidationError;
|
|
6188
|
+
/**
|
|
6189
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6190
|
+
*/
|
|
6191
|
+
401: ApiError;
|
|
6192
|
+
};
|
|
6193
|
+
|
|
6194
|
+
export type ThreadOperationsListThreadsError = ThreadOperationsListThreadsErrors[keyof ThreadOperationsListThreadsErrors];
|
|
6195
|
+
|
|
5240
6196
|
export type ThreadOperationsListThreadsResponses = {
|
|
5241
6197
|
/**
|
|
5242
6198
|
* The request has succeeded.
|
|
@@ -5303,6 +6259,34 @@ export type ThreadOperationsSearchThreadsData = {
|
|
|
5303
6259
|
url: '/mailboxes/{mailboxId}/threads/search';
|
|
5304
6260
|
};
|
|
5305
6261
|
|
|
6262
|
+
export type ThreadOperationsSearchThreadsErrors = {
|
|
6263
|
+
/**
|
|
6264
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6265
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6266
|
+
* token where there is one.
|
|
6267
|
+
*
|
|
6268
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6269
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6270
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6271
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6272
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6273
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6274
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6275
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6276
|
+
* `unknown_occurrence`.
|
|
6277
|
+
*
|
|
6278
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6279
|
+
* handler ran, and names every field that was refused.
|
|
6280
|
+
*/
|
|
6281
|
+
400: ValidationError;
|
|
6282
|
+
/**
|
|
6283
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6284
|
+
*/
|
|
6285
|
+
401: ApiError;
|
|
6286
|
+
};
|
|
6287
|
+
|
|
6288
|
+
export type ThreadOperationsSearchThreadsError = ThreadOperationsSearchThreadsErrors[keyof ThreadOperationsSearchThreadsErrors];
|
|
6289
|
+
|
|
5306
6290
|
export type ThreadOperationsSearchThreadsResponses = {
|
|
5307
6291
|
/**
|
|
5308
6292
|
* The request has succeeded.
|
|
@@ -5321,9 +6305,28 @@ export type MeOperationsDeleteMeData = {
|
|
|
5321
6305
|
|
|
5322
6306
|
export type MeOperationsDeleteMeErrors = {
|
|
5323
6307
|
/**
|
|
5324
|
-
*
|
|
6308
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6309
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6310
|
+
* token where there is one.
|
|
6311
|
+
*
|
|
6312
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6313
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6314
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6315
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6316
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6317
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6318
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6319
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6320
|
+
* `unknown_occurrence`.
|
|
6321
|
+
*
|
|
6322
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6323
|
+
* handler ran, and names every field that was refused.
|
|
6324
|
+
*/
|
|
6325
|
+
400: ValidationError;
|
|
6326
|
+
/**
|
|
6327
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5325
6328
|
*/
|
|
5326
|
-
|
|
6329
|
+
401: ApiError;
|
|
5327
6330
|
};
|
|
5328
6331
|
|
|
5329
6332
|
export type MeOperationsDeleteMeError = MeOperationsDeleteMeErrors[keyof MeOperationsDeleteMeErrors];
|
|
@@ -5344,6 +6347,15 @@ export type MeOperationsCreateExportData = {
|
|
|
5344
6347
|
url: '/me/export';
|
|
5345
6348
|
};
|
|
5346
6349
|
|
|
6350
|
+
export type MeOperationsCreateExportErrors = {
|
|
6351
|
+
/**
|
|
6352
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6353
|
+
*/
|
|
6354
|
+
401: ApiError;
|
|
6355
|
+
};
|
|
6356
|
+
|
|
6357
|
+
export type MeOperationsCreateExportError = MeOperationsCreateExportErrors[keyof MeOperationsCreateExportErrors];
|
|
6358
|
+
|
|
5347
6359
|
export type MeOperationsCreateExportResponses = {
|
|
5348
6360
|
/**
|
|
5349
6361
|
* Response body for POST /me/export
|
|
@@ -5362,6 +6374,19 @@ export type MeOperationsGetExportData = {
|
|
|
5362
6374
|
url: '/me/export/{exportId}';
|
|
5363
6375
|
};
|
|
5364
6376
|
|
|
6377
|
+
export type MeOperationsGetExportErrors = {
|
|
6378
|
+
/**
|
|
6379
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6380
|
+
*/
|
|
6381
|
+
401: ApiError;
|
|
6382
|
+
/**
|
|
6383
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6384
|
+
*/
|
|
6385
|
+
404: ApiError;
|
|
6386
|
+
};
|
|
6387
|
+
|
|
6388
|
+
export type MeOperationsGetExportError = MeOperationsGetExportErrors[keyof MeOperationsGetExportErrors];
|
|
6389
|
+
|
|
5365
6390
|
export type MeOperationsGetExportResponses = {
|
|
5366
6391
|
/**
|
|
5367
6392
|
* The request has succeeded.
|
|
@@ -5378,6 +6403,15 @@ export type MeOperationsListQuarantineData = {
|
|
|
5378
6403
|
url: '/me/quarantine';
|
|
5379
6404
|
};
|
|
5380
6405
|
|
|
6406
|
+
export type MeOperationsListQuarantineErrors = {
|
|
6407
|
+
/**
|
|
6408
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6409
|
+
*/
|
|
6410
|
+
401: ApiError;
|
|
6411
|
+
};
|
|
6412
|
+
|
|
6413
|
+
export type MeOperationsListQuarantineError = MeOperationsListQuarantineErrors[keyof MeOperationsListQuarantineErrors];
|
|
6414
|
+
|
|
5381
6415
|
export type MeOperationsListQuarantineResponses = {
|
|
5382
6416
|
/**
|
|
5383
6417
|
* The request has succeeded.
|
|
@@ -5394,6 +6428,15 @@ export type MeOperationsListVipSuggestionsData = {
|
|
|
5394
6428
|
url: '/me/vip-suggestions';
|
|
5395
6429
|
};
|
|
5396
6430
|
|
|
6431
|
+
export type MeOperationsListVipSuggestionsErrors = {
|
|
6432
|
+
/**
|
|
6433
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6434
|
+
*/
|
|
6435
|
+
401: ApiError;
|
|
6436
|
+
};
|
|
6437
|
+
|
|
6438
|
+
export type MeOperationsListVipSuggestionsError = MeOperationsListVipSuggestionsErrors[keyof MeOperationsListVipSuggestionsErrors];
|
|
6439
|
+
|
|
5397
6440
|
export type MeOperationsListVipSuggestionsResponses = {
|
|
5398
6441
|
/**
|
|
5399
6442
|
* The request has succeeded.
|
|
@@ -5411,6 +6454,18 @@ export type MessageBulkOperationsCopyMessagesData = {
|
|
|
5411
6454
|
};
|
|
5412
6455
|
|
|
5413
6456
|
export type MessageBulkOperationsCopyMessagesErrors = {
|
|
6457
|
+
/**
|
|
6458
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6459
|
+
*/
|
|
6460
|
+
401: ApiError;
|
|
6461
|
+
/**
|
|
6462
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6463
|
+
*/
|
|
6464
|
+
403: ApiError;
|
|
6465
|
+
/**
|
|
6466
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6467
|
+
*/
|
|
6468
|
+
404: ApiError;
|
|
5414
6469
|
/**
|
|
5415
6470
|
* The same flat 409 body, for a message whose folder and uid do not name the same message.
|
|
5416
6471
|
*
|
|
@@ -5438,6 +6493,18 @@ export type MessageBulkOperationsDeleteMessagesData = {
|
|
|
5438
6493
|
};
|
|
5439
6494
|
|
|
5440
6495
|
export type MessageBulkOperationsDeleteMessagesErrors = {
|
|
6496
|
+
/**
|
|
6497
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6498
|
+
*/
|
|
6499
|
+
401: ApiError;
|
|
6500
|
+
/**
|
|
6501
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6502
|
+
*/
|
|
6503
|
+
403: ApiError;
|
|
6504
|
+
/**
|
|
6505
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6506
|
+
*/
|
|
6507
|
+
404: ApiError;
|
|
5441
6508
|
/**
|
|
5442
6509
|
* The same flat 409 body, with the two codes this endpoint can answer with.
|
|
5443
6510
|
*
|
|
@@ -5466,6 +6533,23 @@ export type MessageBulkOperationsUpdateFlagsData = {
|
|
|
5466
6533
|
url: '/messages/flags';
|
|
5467
6534
|
};
|
|
5468
6535
|
|
|
6536
|
+
export type MessageBulkOperationsUpdateFlagsErrors = {
|
|
6537
|
+
/**
|
|
6538
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6539
|
+
*/
|
|
6540
|
+
401: ApiError;
|
|
6541
|
+
/**
|
|
6542
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6543
|
+
*/
|
|
6544
|
+
403: ApiError;
|
|
6545
|
+
/**
|
|
6546
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6547
|
+
*/
|
|
6548
|
+
404: ApiError;
|
|
6549
|
+
};
|
|
6550
|
+
|
|
6551
|
+
export type MessageBulkOperationsUpdateFlagsError = MessageBulkOperationsUpdateFlagsErrors[keyof MessageBulkOperationsUpdateFlagsErrors];
|
|
6552
|
+
|
|
5469
6553
|
export type MessageBulkOperationsUpdateFlagsResponses = {
|
|
5470
6554
|
/**
|
|
5471
6555
|
* The request has succeeded.
|
|
@@ -5482,6 +6566,23 @@ export type MessageBulkOperationsUpdateMessageLabelsData = {
|
|
|
5482
6566
|
url: '/messages/labels';
|
|
5483
6567
|
};
|
|
5484
6568
|
|
|
6569
|
+
export type MessageBulkOperationsUpdateMessageLabelsErrors = {
|
|
6570
|
+
/**
|
|
6571
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6572
|
+
*/
|
|
6573
|
+
401: ApiError;
|
|
6574
|
+
/**
|
|
6575
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6576
|
+
*/
|
|
6577
|
+
403: ApiError;
|
|
6578
|
+
/**
|
|
6579
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6580
|
+
*/
|
|
6581
|
+
404: ApiError;
|
|
6582
|
+
};
|
|
6583
|
+
|
|
6584
|
+
export type MessageBulkOperationsUpdateMessageLabelsError = MessageBulkOperationsUpdateMessageLabelsErrors[keyof MessageBulkOperationsUpdateMessageLabelsErrors];
|
|
6585
|
+
|
|
5485
6586
|
export type MessageBulkOperationsUpdateMessageLabelsResponses = {
|
|
5486
6587
|
/**
|
|
5487
6588
|
* The request has succeeded.
|
|
@@ -5499,6 +6600,18 @@ export type MessageBulkOperationsMoveMessagesData = {
|
|
|
5499
6600
|
};
|
|
5500
6601
|
|
|
5501
6602
|
export type MessageBulkOperationsMoveMessagesErrors = {
|
|
6603
|
+
/**
|
|
6604
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6605
|
+
*/
|
|
6606
|
+
401: ApiError;
|
|
6607
|
+
/**
|
|
6608
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6609
|
+
*/
|
|
6610
|
+
403: ApiError;
|
|
6611
|
+
/**
|
|
6612
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6613
|
+
*/
|
|
6614
|
+
404: ApiError;
|
|
5502
6615
|
/**
|
|
5503
6616
|
* The same flat 409 body, for a message whose folder and uid do not name the same message.
|
|
5504
6617
|
*
|
|
@@ -5525,6 +6638,23 @@ export type MessageBulkOperationsNotSpamData = {
|
|
|
5525
6638
|
url: '/messages/not-spam';
|
|
5526
6639
|
};
|
|
5527
6640
|
|
|
6641
|
+
export type MessageBulkOperationsNotSpamErrors = {
|
|
6642
|
+
/**
|
|
6643
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6644
|
+
*/
|
|
6645
|
+
401: ApiError;
|
|
6646
|
+
/**
|
|
6647
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6648
|
+
*/
|
|
6649
|
+
403: ApiError;
|
|
6650
|
+
/**
|
|
6651
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6652
|
+
*/
|
|
6653
|
+
404: ApiError;
|
|
6654
|
+
};
|
|
6655
|
+
|
|
6656
|
+
export type MessageBulkOperationsNotSpamError = MessageBulkOperationsNotSpamErrors[keyof MessageBulkOperationsNotSpamErrors];
|
|
6657
|
+
|
|
5528
6658
|
export type MessageBulkOperationsNotSpamResponses = {
|
|
5529
6659
|
/**
|
|
5530
6660
|
* The request has succeeded.
|
|
@@ -5541,6 +6671,23 @@ export type MessageBulkOperationsReportSpamData = {
|
|
|
5541
6671
|
url: '/messages/report-spam';
|
|
5542
6672
|
};
|
|
5543
6673
|
|
|
6674
|
+
export type MessageBulkOperationsReportSpamErrors = {
|
|
6675
|
+
/**
|
|
6676
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6677
|
+
*/
|
|
6678
|
+
401: ApiError;
|
|
6679
|
+
/**
|
|
6680
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6681
|
+
*/
|
|
6682
|
+
403: ApiError;
|
|
6683
|
+
/**
|
|
6684
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6685
|
+
*/
|
|
6686
|
+
404: ApiError;
|
|
6687
|
+
};
|
|
6688
|
+
|
|
6689
|
+
export type MessageBulkOperationsReportSpamError = MessageBulkOperationsReportSpamErrors[keyof MessageBulkOperationsReportSpamErrors];
|
|
6690
|
+
|
|
5544
6691
|
export type MessageBulkOperationsReportSpamResponses = {
|
|
5545
6692
|
/**
|
|
5546
6693
|
* The request has succeeded.
|
|
@@ -5559,6 +6706,23 @@ export type MessageOperationsDescribeMessageData = {
|
|
|
5559
6706
|
url: '/messages/{messageId}';
|
|
5560
6707
|
};
|
|
5561
6708
|
|
|
6709
|
+
export type MessageOperationsDescribeMessageErrors = {
|
|
6710
|
+
/**
|
|
6711
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6712
|
+
*/
|
|
6713
|
+
401: ApiError;
|
|
6714
|
+
/**
|
|
6715
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6716
|
+
*/
|
|
6717
|
+
404: ApiError;
|
|
6718
|
+
/**
|
|
6719
|
+
* The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
|
|
6720
|
+
*/
|
|
6721
|
+
422: ApiError;
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
export type MessageOperationsDescribeMessageError = MessageOperationsDescribeMessageErrors[keyof MessageOperationsDescribeMessageErrors];
|
|
6725
|
+
|
|
5562
6726
|
export type MessageOperationsDescribeMessageResponses = {
|
|
5563
6727
|
/**
|
|
5564
6728
|
* The request has succeeded.
|
|
@@ -5579,9 +6743,28 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsDat
|
|
|
5579
6743
|
|
|
5580
6744
|
export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors = {
|
|
5581
6745
|
/**
|
|
5582
|
-
*
|
|
6746
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6747
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6748
|
+
* token where there is one.
|
|
6749
|
+
*
|
|
6750
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6751
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6752
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6753
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6754
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6755
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6756
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6757
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6758
|
+
* `unknown_occurrence`.
|
|
6759
|
+
*
|
|
6760
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6761
|
+
* handler ran, and names every field that was refused.
|
|
6762
|
+
*/
|
|
6763
|
+
400: ValidationError;
|
|
6764
|
+
/**
|
|
6765
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5583
6766
|
*/
|
|
5584
|
-
|
|
6767
|
+
401: ApiError;
|
|
5585
6768
|
};
|
|
5586
6769
|
|
|
5587
6770
|
export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsError = MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors[keyof MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors];
|
|
@@ -5610,6 +6793,23 @@ export type MessageOperationsUpdateMessageFlagsData = {
|
|
|
5610
6793
|
url: '/messages/{messageId}/flags';
|
|
5611
6794
|
};
|
|
5612
6795
|
|
|
6796
|
+
export type MessageOperationsUpdateMessageFlagsErrors = {
|
|
6797
|
+
/**
|
|
6798
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6799
|
+
*/
|
|
6800
|
+
401: ApiError;
|
|
6801
|
+
/**
|
|
6802
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6803
|
+
*/
|
|
6804
|
+
403: ApiError;
|
|
6805
|
+
/**
|
|
6806
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6807
|
+
*/
|
|
6808
|
+
404: ApiError;
|
|
6809
|
+
};
|
|
6810
|
+
|
|
6811
|
+
export type MessageOperationsUpdateMessageFlagsError = MessageOperationsUpdateMessageFlagsErrors[keyof MessageOperationsUpdateMessageFlagsErrors];
|
|
6812
|
+
|
|
5613
6813
|
export type MessageOperationsUpdateMessageFlagsResponses = {
|
|
5614
6814
|
/**
|
|
5615
6815
|
* The request has succeeded.
|
|
@@ -5632,6 +6832,19 @@ export type MessageOperationsGetRawMessageData = {
|
|
|
5632
6832
|
url: '/messages/{messageId}/raw';
|
|
5633
6833
|
};
|
|
5634
6834
|
|
|
6835
|
+
export type MessageOperationsGetRawMessageErrors = {
|
|
6836
|
+
/**
|
|
6837
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6838
|
+
*/
|
|
6839
|
+
401: ApiError;
|
|
6840
|
+
/**
|
|
6841
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6842
|
+
*/
|
|
6843
|
+
404: ApiError;
|
|
6844
|
+
};
|
|
6845
|
+
|
|
6846
|
+
export type MessageOperationsGetRawMessageError = MessageOperationsGetRawMessageErrors[keyof MessageOperationsGetRawMessageErrors];
|
|
6847
|
+
|
|
5635
6848
|
export type MessageOperationsGetRawMessageResponses = {
|
|
5636
6849
|
/**
|
|
5637
6850
|
* The request has succeeded.
|
|
@@ -5650,6 +6863,34 @@ export type OutboxOperationsListOutboxMessagesData = {
|
|
|
5650
6863
|
url: '/outbox';
|
|
5651
6864
|
};
|
|
5652
6865
|
|
|
6866
|
+
export type OutboxOperationsListOutboxMessagesErrors = {
|
|
6867
|
+
/**
|
|
6868
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6869
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6870
|
+
* token where there is one.
|
|
6871
|
+
*
|
|
6872
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6873
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6874
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6875
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6876
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6877
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6878
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6879
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6880
|
+
* `unknown_occurrence`.
|
|
6881
|
+
*
|
|
6882
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6883
|
+
* handler ran, and names every field that was refused.
|
|
6884
|
+
*/
|
|
6885
|
+
400: ValidationError;
|
|
6886
|
+
/**
|
|
6887
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6888
|
+
*/
|
|
6889
|
+
401: ApiError;
|
|
6890
|
+
};
|
|
6891
|
+
|
|
6892
|
+
export type OutboxOperationsListOutboxMessagesError = OutboxOperationsListOutboxMessagesErrors[keyof OutboxOperationsListOutboxMessagesErrors];
|
|
6893
|
+
|
|
5653
6894
|
export type OutboxOperationsListOutboxMessagesResponses = {
|
|
5654
6895
|
/**
|
|
5655
6896
|
* The request has succeeded.
|
|
@@ -5672,6 +6913,23 @@ export type OutboxOperationsCreateOutboxMessageData = {
|
|
|
5672
6913
|
url: '/outbox';
|
|
5673
6914
|
};
|
|
5674
6915
|
|
|
6916
|
+
export type OutboxOperationsCreateOutboxMessageErrors = {
|
|
6917
|
+
/**
|
|
6918
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6919
|
+
*/
|
|
6920
|
+
401: ApiError;
|
|
6921
|
+
/**
|
|
6922
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6923
|
+
*/
|
|
6924
|
+
403: ApiError;
|
|
6925
|
+
/**
|
|
6926
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6927
|
+
*/
|
|
6928
|
+
404: ApiError;
|
|
6929
|
+
};
|
|
6930
|
+
|
|
6931
|
+
export type OutboxOperationsCreateOutboxMessageError = OutboxOperationsCreateOutboxMessageErrors[keyof OutboxOperationsCreateOutboxMessageErrors];
|
|
6932
|
+
|
|
5675
6933
|
export type OutboxOperationsCreateOutboxMessageResponses = {
|
|
5676
6934
|
/**
|
|
5677
6935
|
* The request has succeeded.
|
|
@@ -5690,9 +6948,26 @@ export type OutboxDetailOperationsDeleteOutboxMessageData = {
|
|
|
5690
6948
|
url: '/outbox/{outboxMessageId}';
|
|
5691
6949
|
};
|
|
5692
6950
|
|
|
6951
|
+
export type OutboxDetailOperationsDeleteOutboxMessageErrors = {
|
|
6952
|
+
/**
|
|
6953
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6954
|
+
*/
|
|
6955
|
+
401: ApiError;
|
|
6956
|
+
/**
|
|
6957
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6958
|
+
*/
|
|
6959
|
+
403: ApiError;
|
|
6960
|
+
/**
|
|
6961
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6962
|
+
*/
|
|
6963
|
+
404: ApiError;
|
|
6964
|
+
};
|
|
6965
|
+
|
|
6966
|
+
export type OutboxDetailOperationsDeleteOutboxMessageError = OutboxDetailOperationsDeleteOutboxMessageErrors[keyof OutboxDetailOperationsDeleteOutboxMessageErrors];
|
|
6967
|
+
|
|
5693
6968
|
export type OutboxDetailOperationsDeleteOutboxMessageResponses = {
|
|
5694
6969
|
/**
|
|
5695
|
-
*
|
|
6970
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
5696
6971
|
*/
|
|
5697
6972
|
204: void;
|
|
5698
6973
|
};
|
|
@@ -5708,6 +6983,19 @@ export type OutboxDetailOperationsGetOutboxMessageData = {
|
|
|
5708
6983
|
url: '/outbox/{outboxMessageId}';
|
|
5709
6984
|
};
|
|
5710
6985
|
|
|
6986
|
+
export type OutboxDetailOperationsGetOutboxMessageErrors = {
|
|
6987
|
+
/**
|
|
6988
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6989
|
+
*/
|
|
6990
|
+
401: ApiError;
|
|
6991
|
+
/**
|
|
6992
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6993
|
+
*/
|
|
6994
|
+
404: ApiError;
|
|
6995
|
+
};
|
|
6996
|
+
|
|
6997
|
+
export type OutboxDetailOperationsGetOutboxMessageError = OutboxDetailOperationsGetOutboxMessageErrors[keyof OutboxDetailOperationsGetOutboxMessageErrors];
|
|
6998
|
+
|
|
5711
6999
|
export type OutboxDetailOperationsGetOutboxMessageResponses = {
|
|
5712
7000
|
/**
|
|
5713
7001
|
* The request has succeeded.
|
|
@@ -5726,6 +7014,23 @@ export type OutboxDetailOperationsUpdateOutboxMessageData = {
|
|
|
5726
7014
|
url: '/outbox/{outboxMessageId}';
|
|
5727
7015
|
};
|
|
5728
7016
|
|
|
7017
|
+
export type OutboxDetailOperationsUpdateOutboxMessageErrors = {
|
|
7018
|
+
/**
|
|
7019
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7020
|
+
*/
|
|
7021
|
+
401: ApiError;
|
|
7022
|
+
/**
|
|
7023
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
7024
|
+
*/
|
|
7025
|
+
403: ApiError;
|
|
7026
|
+
/**
|
|
7027
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7028
|
+
*/
|
|
7029
|
+
404: ApiError;
|
|
7030
|
+
};
|
|
7031
|
+
|
|
7032
|
+
export type OutboxDetailOperationsUpdateOutboxMessageError = OutboxDetailOperationsUpdateOutboxMessageErrors[keyof OutboxDetailOperationsUpdateOutboxMessageErrors];
|
|
7033
|
+
|
|
5729
7034
|
export type OutboxDetailOperationsUpdateOutboxMessageResponses = {
|
|
5730
7035
|
/**
|
|
5731
7036
|
* The request has succeeded.
|
|
@@ -5746,11 +7051,15 @@ export type OutboxDetailOperationsMintOutboxAttachmentData = {
|
|
|
5746
7051
|
|
|
5747
7052
|
export type OutboxDetailOperationsMintOutboxAttachmentErrors = {
|
|
5748
7053
|
/**
|
|
5749
|
-
* Refusal response for an attachment
|
|
7054
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5750
7055
|
*/
|
|
5751
7056
|
400: RemitImapOutboxAttachmentRejection;
|
|
5752
7057
|
/**
|
|
5753
|
-
*
|
|
7058
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7059
|
+
*/
|
|
7060
|
+
401: ApiError;
|
|
7061
|
+
/**
|
|
7062
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5754
7063
|
*/
|
|
5755
7064
|
413: RemitImapOutboxAttachmentRejection;
|
|
5756
7065
|
};
|
|
@@ -5778,11 +7087,15 @@ export type OutboxAttachmentOperationsCompleteOutboxAttachmentData = {
|
|
|
5778
7087
|
|
|
5779
7088
|
export type OutboxAttachmentOperationsCompleteOutboxAttachmentErrors = {
|
|
5780
7089
|
/**
|
|
5781
|
-
* Refusal response for an attachment
|
|
7090
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5782
7091
|
*/
|
|
5783
7092
|
400: RemitImapOutboxAttachmentRejection;
|
|
5784
7093
|
/**
|
|
5785
|
-
*
|
|
7094
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7095
|
+
*/
|
|
7096
|
+
401: ApiError;
|
|
7097
|
+
/**
|
|
7098
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5786
7099
|
*/
|
|
5787
7100
|
413: RemitImapOutboxAttachmentRejection;
|
|
5788
7101
|
};
|
|
@@ -5807,6 +7120,23 @@ export type OutboxDetailOperationsSendOutboxMessageData = {
|
|
|
5807
7120
|
url: '/outbox/{outboxMessageId}/send';
|
|
5808
7121
|
};
|
|
5809
7122
|
|
|
7123
|
+
export type OutboxDetailOperationsSendOutboxMessageErrors = {
|
|
7124
|
+
/**
|
|
7125
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7126
|
+
*/
|
|
7127
|
+
401: ApiError;
|
|
7128
|
+
/**
|
|
7129
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
7130
|
+
*/
|
|
7131
|
+
403: ApiError;
|
|
7132
|
+
/**
|
|
7133
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7134
|
+
*/
|
|
7135
|
+
404: ApiError;
|
|
7136
|
+
};
|
|
7137
|
+
|
|
7138
|
+
export type OutboxDetailOperationsSendOutboxMessageError = OutboxDetailOperationsSendOutboxMessageErrors[keyof OutboxDetailOperationsSendOutboxMessageErrors];
|
|
7139
|
+
|
|
5810
7140
|
export type OutboxDetailOperationsSendOutboxMessageResponses = {
|
|
5811
7141
|
/**
|
|
5812
7142
|
* The request has succeeded.
|
|
@@ -5860,6 +7190,15 @@ export type SemanticSearchOperationsSemanticSearchData = {
|
|
|
5860
7190
|
url: '/search/semantic';
|
|
5861
7191
|
};
|
|
5862
7192
|
|
|
7193
|
+
export type SemanticSearchOperationsSemanticSearchErrors = {
|
|
7194
|
+
/**
|
|
7195
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7196
|
+
*/
|
|
7197
|
+
401: ApiError;
|
|
7198
|
+
};
|
|
7199
|
+
|
|
7200
|
+
export type SemanticSearchOperationsSemanticSearchError = SemanticSearchOperationsSemanticSearchErrors[keyof SemanticSearchOperationsSemanticSearchErrors];
|
|
7201
|
+
|
|
5863
7202
|
export type SemanticSearchOperationsSemanticSearchResponses = {
|
|
5864
7203
|
/**
|
|
5865
7204
|
* The request has succeeded.
|
|
@@ -5880,6 +7219,19 @@ export type SystemOperationsGetSystemUpdateData = {
|
|
|
5880
7219
|
url: '/system/update';
|
|
5881
7220
|
};
|
|
5882
7221
|
|
|
7222
|
+
export type SystemOperationsGetSystemUpdateErrors = {
|
|
7223
|
+
/**
|
|
7224
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7225
|
+
*/
|
|
7226
|
+
401: ApiError;
|
|
7227
|
+
/**
|
|
7228
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7229
|
+
*/
|
|
7230
|
+
404: ApiError;
|
|
7231
|
+
};
|
|
7232
|
+
|
|
7233
|
+
export type SystemOperationsGetSystemUpdateError = SystemOperationsGetSystemUpdateErrors[keyof SystemOperationsGetSystemUpdateErrors];
|
|
7234
|
+
|
|
5883
7235
|
export type SystemOperationsGetSystemUpdateResponses = {
|
|
5884
7236
|
/**
|
|
5885
7237
|
* The request has succeeded.
|
|
@@ -5896,6 +7248,29 @@ export type SystemOperationsApplySystemUpdateData = {
|
|
|
5896
7248
|
url: '/system/update';
|
|
5897
7249
|
};
|
|
5898
7250
|
|
|
7251
|
+
export type SystemOperationsApplySystemUpdateErrors = {
|
|
7252
|
+
/**
|
|
7253
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7254
|
+
*/
|
|
7255
|
+
401: ApiError;
|
|
7256
|
+
/**
|
|
7257
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7258
|
+
*/
|
|
7259
|
+
404: ApiError;
|
|
7260
|
+
/**
|
|
7261
|
+
* The request contradicts the state the resource is in. `code` is `conflict`
|
|
7262
|
+
* unless the refusal names its own — see `FolderRoleConflict`,
|
|
7263
|
+
* `MessagePlacementConflict` and `ConfigImportConflict`.
|
|
7264
|
+
*/
|
|
7265
|
+
409: ApiError;
|
|
7266
|
+
/**
|
|
7267
|
+
* The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
|
|
7268
|
+
*/
|
|
7269
|
+
422: ApiError;
|
|
7270
|
+
};
|
|
7271
|
+
|
|
7272
|
+
export type SystemOperationsApplySystemUpdateError = SystemOperationsApplySystemUpdateErrors[keyof SystemOperationsApplySystemUpdateErrors];
|
|
7273
|
+
|
|
5899
7274
|
export type SystemOperationsApplySystemUpdateResponses = {
|
|
5900
7275
|
/**
|
|
5901
7276
|
* The request has succeeded.
|
|
@@ -5964,6 +7339,34 @@ export type UnifiedThreadOperationsListAllThreadsData = {
|
|
|
5964
7339
|
url: '/threads';
|
|
5965
7340
|
};
|
|
5966
7341
|
|
|
7342
|
+
export type UnifiedThreadOperationsListAllThreadsErrors = {
|
|
7343
|
+
/**
|
|
7344
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
7345
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
7346
|
+
* token where there is one.
|
|
7347
|
+
*
|
|
7348
|
+
* The calendar surface answers with the reason it read the request by:
|
|
7349
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
7350
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
7351
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
7352
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
7353
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
7354
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
7355
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
7356
|
+
* `unknown_occurrence`.
|
|
7357
|
+
*
|
|
7358
|
+
* `errors` is present only when the request failed schema validation before any
|
|
7359
|
+
* handler ran, and names every field that was refused.
|
|
7360
|
+
*/
|
|
7361
|
+
400: ValidationError;
|
|
7362
|
+
/**
|
|
7363
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7364
|
+
*/
|
|
7365
|
+
401: ApiError;
|
|
7366
|
+
};
|
|
7367
|
+
|
|
7368
|
+
export type UnifiedThreadOperationsListAllThreadsError = UnifiedThreadOperationsListAllThreadsErrors[keyof UnifiedThreadOperationsListAllThreadsErrors];
|
|
7369
|
+
|
|
5967
7370
|
export type UnifiedThreadOperationsListAllThreadsResponses = {
|
|
5968
7371
|
/**
|
|
5969
7372
|
* The request has succeeded.
|
|
@@ -5984,6 +7387,19 @@ export type ThreadDetailOperationsListThreadMessagesData = {
|
|
|
5984
7387
|
url: '/threads/{threadId}/messages';
|
|
5985
7388
|
};
|
|
5986
7389
|
|
|
7390
|
+
export type ThreadDetailOperationsListThreadMessagesErrors = {
|
|
7391
|
+
/**
|
|
7392
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7393
|
+
*/
|
|
7394
|
+
401: ApiError;
|
|
7395
|
+
/**
|
|
7396
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7397
|
+
*/
|
|
7398
|
+
404: ApiError;
|
|
7399
|
+
};
|
|
7400
|
+
|
|
7401
|
+
export type ThreadDetailOperationsListThreadMessagesError = ThreadDetailOperationsListThreadMessagesErrors[keyof ThreadDetailOperationsListThreadMessagesErrors];
|
|
7402
|
+
|
|
5987
7403
|
export type ThreadDetailOperationsListThreadMessagesResponses = {
|
|
5988
7404
|
/**
|
|
5989
7405
|
* The request has succeeded.
|