@remit/api-http-client 0.0.53 → 0.0.55
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 +1481 -61
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
|
/**
|
|
@@ -2310,12 +2325,20 @@ export type RemitImapOrganizePreviewResponse = {
|
|
|
2310
2325
|
* True when the semantic widen could not run because this deployment ships no vector pipeline (self-host without sqlite-vec / the embedding model). The matched set is then the literal matches only, or empty for an anchor-only predicate; literal search is unaffected. Absent on deployments where the widen ran.
|
|
2311
2326
|
*/
|
|
2312
2327
|
semanticUnavailable?: boolean;
|
|
2328
|
+
/**
|
|
2329
|
+
* True when the widen ran but this account's semantic index held nothing to answer with — no vectors at all, or none yet for the anchor message. A zero count is then a fact about the index, which is still filling, rather than about the rule. Absent when the index answered.
|
|
2330
|
+
*/
|
|
2331
|
+
semanticIndexEmpty?: boolean;
|
|
2313
2332
|
};
|
|
2314
2333
|
|
|
2315
2334
|
/**
|
|
2316
2335
|
* A file the server refused, with everything the composer needs to say why
|
|
2317
2336
|
*/
|
|
2318
2337
|
export type RemitImapOutboxAttachmentRejection = {
|
|
2338
|
+
/**
|
|
2339
|
+
* `attachment_rejected`, the code every refusal here carries. `reason` says which one.
|
|
2340
|
+
*/
|
|
2341
|
+
code: string;
|
|
2319
2342
|
/**
|
|
2320
2343
|
* Machine-readable reason
|
|
2321
2344
|
*/
|
|
@@ -3560,6 +3583,24 @@ export type RemitImapWellknownFlagUpdate = RemitImapAddressFlagBaseUpdate & {
|
|
|
3560
3583
|
*/
|
|
3561
3584
|
export type RemitImapZoneCertainty = 'Local' | 'Explicit' | 'Ambiguous';
|
|
3562
3585
|
|
|
3586
|
+
/**
|
|
3587
|
+
* One reason a request was refused, as the validator read it. Named fields only — nothing here echoes the value that was submitted.
|
|
3588
|
+
*/
|
|
3589
|
+
export type RequestValidationDetail = {
|
|
3590
|
+
/**
|
|
3591
|
+
* JSON Pointer to the offending value; empty for the document itself
|
|
3592
|
+
*/
|
|
3593
|
+
path: string;
|
|
3594
|
+
/**
|
|
3595
|
+
* The rule that refused it, e.g. `required`, `type`, `format`
|
|
3596
|
+
*/
|
|
3597
|
+
rule: string;
|
|
3598
|
+
/**
|
|
3599
|
+
* What the validator said
|
|
3600
|
+
*/
|
|
3601
|
+
message: string;
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3563
3604
|
export type String140 = string;
|
|
3564
3605
|
|
|
3565
3606
|
export type String2048 = string;
|
|
@@ -3574,6 +3615,45 @@ export type String800 = string;
|
|
|
3574
3615
|
|
|
3575
3616
|
export type Uuid = string;
|
|
3576
3617
|
|
|
3618
|
+
/**
|
|
3619
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
3620
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
3621
|
+
* token where there is one.
|
|
3622
|
+
*
|
|
3623
|
+
* The calendar surface answers with the reason it read the request by:
|
|
3624
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
3625
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
3626
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
3627
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
3628
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
3629
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
3630
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
3631
|
+
* `unknown_occurrence`.
|
|
3632
|
+
*
|
|
3633
|
+
* `errors` is present only when the request failed schema validation before any
|
|
3634
|
+
* handler ran, and names every field that was refused.
|
|
3635
|
+
*/
|
|
3636
|
+
export type ValidationError = {
|
|
3637
|
+
/**
|
|
3638
|
+
* Stable token naming the refusal. Branch on this, never on `message`.
|
|
3639
|
+
*/
|
|
3640
|
+
code: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Human-readable error message
|
|
3643
|
+
*/
|
|
3644
|
+
message: string;
|
|
3645
|
+
/**
|
|
3646
|
+
* Additional error details
|
|
3647
|
+
*/
|
|
3648
|
+
details?: {
|
|
3649
|
+
[key: string]: string;
|
|
3650
|
+
};
|
|
3651
|
+
/**
|
|
3652
|
+
* Every field the schema refused, when the refusal came from schema validation
|
|
3653
|
+
*/
|
|
3654
|
+
errors?: Array<RequestValidationDetail>;
|
|
3655
|
+
};
|
|
3656
|
+
|
|
3577
3657
|
/**
|
|
3578
3658
|
* 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
3659
|
*/
|
|
@@ -3922,6 +4002,40 @@ export type AccountOperationsCreateAccountData = {
|
|
|
3922
4002
|
url: '/accounts';
|
|
3923
4003
|
};
|
|
3924
4004
|
|
|
4005
|
+
export type AccountOperationsCreateAccountErrors = {
|
|
4006
|
+
/**
|
|
4007
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4008
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4009
|
+
* token where there is one.
|
|
4010
|
+
*
|
|
4011
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4012
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4013
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4014
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4015
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4016
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4017
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4018
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4019
|
+
* `unknown_occurrence`.
|
|
4020
|
+
*
|
|
4021
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4022
|
+
* handler ran, and names every field that was refused.
|
|
4023
|
+
*/
|
|
4024
|
+
400: ValidationError;
|
|
4025
|
+
/**
|
|
4026
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4027
|
+
*/
|
|
4028
|
+
401: ApiError;
|
|
4029
|
+
/**
|
|
4030
|
+
* The request contradicts the state the resource is in. `code` is `conflict`
|
|
4031
|
+
* unless the refusal names its own — see `FolderRoleConflict`,
|
|
4032
|
+
* `MessagePlacementConflict` and `ConfigImportConflict`.
|
|
4033
|
+
*/
|
|
4034
|
+
409: ApiError;
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
export type AccountOperationsCreateAccountError = AccountOperationsCreateAccountErrors[keyof AccountOperationsCreateAccountErrors];
|
|
4038
|
+
|
|
3925
4039
|
export type AccountOperationsCreateAccountResponses = {
|
|
3926
4040
|
/**
|
|
3927
4041
|
* The request has succeeded.
|
|
@@ -3949,6 +4063,15 @@ export type MicrosoftOAuthOperationsMicrosoftOAuthStartData = {
|
|
|
3949
4063
|
url: '/accounts/oauth/microsoft/start';
|
|
3950
4064
|
};
|
|
3951
4065
|
|
|
4066
|
+
export type MicrosoftOAuthOperationsMicrosoftOAuthStartErrors = {
|
|
4067
|
+
/**
|
|
4068
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4069
|
+
*/
|
|
4070
|
+
401: ApiError;
|
|
4071
|
+
};
|
|
4072
|
+
|
|
4073
|
+
export type MicrosoftOAuthOperationsMicrosoftOAuthStartError = MicrosoftOAuthOperationsMicrosoftOAuthStartErrors[keyof MicrosoftOAuthOperationsMicrosoftOAuthStartErrors];
|
|
4074
|
+
|
|
3952
4075
|
export type MicrosoftOAuthOperationsMicrosoftOAuthStartResponses = {
|
|
3953
4076
|
/**
|
|
3954
4077
|
* The request has succeeded.
|
|
@@ -3965,6 +4088,19 @@ export type AccountOperationsTestConnectionData = {
|
|
|
3965
4088
|
url: '/accounts/test-connection';
|
|
3966
4089
|
};
|
|
3967
4090
|
|
|
4091
|
+
export type AccountOperationsTestConnectionErrors = {
|
|
4092
|
+
/**
|
|
4093
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4094
|
+
*/
|
|
4095
|
+
401: ApiError;
|
|
4096
|
+
/**
|
|
4097
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4098
|
+
*/
|
|
4099
|
+
404: ApiError;
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
export type AccountOperationsTestConnectionError = AccountOperationsTestConnectionErrors[keyof AccountOperationsTestConnectionErrors];
|
|
4103
|
+
|
|
3968
4104
|
export type AccountOperationsTestConnectionResponses = {
|
|
3969
4105
|
/**
|
|
3970
4106
|
* The request has succeeded.
|
|
@@ -3983,6 +4119,23 @@ export type AccountDetailOperationsDeleteAccountData = {
|
|
|
3983
4119
|
url: '/accounts/{accountId}';
|
|
3984
4120
|
};
|
|
3985
4121
|
|
|
4122
|
+
export type AccountDetailOperationsDeleteAccountErrors = {
|
|
4123
|
+
/**
|
|
4124
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4125
|
+
*/
|
|
4126
|
+
401: ApiError;
|
|
4127
|
+
/**
|
|
4128
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4129
|
+
*/
|
|
4130
|
+
403: ApiError;
|
|
4131
|
+
/**
|
|
4132
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4133
|
+
*/
|
|
4134
|
+
404: ApiError;
|
|
4135
|
+
};
|
|
4136
|
+
|
|
4137
|
+
export type AccountDetailOperationsDeleteAccountError = AccountDetailOperationsDeleteAccountErrors[keyof AccountDetailOperationsDeleteAccountErrors];
|
|
4138
|
+
|
|
3986
4139
|
export type AccountDetailOperationsDeleteAccountResponses = {
|
|
3987
4140
|
/**
|
|
3988
4141
|
* The request has succeeded.
|
|
@@ -4001,6 +4154,23 @@ export type AccountDetailOperationsUpdateAccountData = {
|
|
|
4001
4154
|
url: '/accounts/{accountId}';
|
|
4002
4155
|
};
|
|
4003
4156
|
|
|
4157
|
+
export type AccountDetailOperationsUpdateAccountErrors = {
|
|
4158
|
+
/**
|
|
4159
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4160
|
+
*/
|
|
4161
|
+
401: ApiError;
|
|
4162
|
+
/**
|
|
4163
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4164
|
+
*/
|
|
4165
|
+
403: ApiError;
|
|
4166
|
+
/**
|
|
4167
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4168
|
+
*/
|
|
4169
|
+
404: ApiError;
|
|
4170
|
+
};
|
|
4171
|
+
|
|
4172
|
+
export type AccountDetailOperationsUpdateAccountError = AccountDetailOperationsUpdateAccountErrors[keyof AccountDetailOperationsUpdateAccountErrors];
|
|
4173
|
+
|
|
4004
4174
|
export type AccountDetailOperationsUpdateAccountResponses = {
|
|
4005
4175
|
/**
|
|
4006
4176
|
* The request has succeeded.
|
|
@@ -4021,6 +4191,38 @@ export type FilterOperationsListFiltersData = {
|
|
|
4021
4191
|
url: '/accounts/{accountId}/filters';
|
|
4022
4192
|
};
|
|
4023
4193
|
|
|
4194
|
+
export type FilterOperationsListFiltersErrors = {
|
|
4195
|
+
/**
|
|
4196
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4197
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4198
|
+
* token where there is one.
|
|
4199
|
+
*
|
|
4200
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4201
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4202
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4203
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4204
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4205
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4206
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4207
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4208
|
+
* `unknown_occurrence`.
|
|
4209
|
+
*
|
|
4210
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4211
|
+
* handler ran, and names every field that was refused.
|
|
4212
|
+
*/
|
|
4213
|
+
400: ValidationError;
|
|
4214
|
+
/**
|
|
4215
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4216
|
+
*/
|
|
4217
|
+
401: ApiError;
|
|
4218
|
+
/**
|
|
4219
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4220
|
+
*/
|
|
4221
|
+
404: ApiError;
|
|
4222
|
+
};
|
|
4223
|
+
|
|
4224
|
+
export type FilterOperationsListFiltersError = FilterOperationsListFiltersErrors[keyof FilterOperationsListFiltersErrors];
|
|
4225
|
+
|
|
4024
4226
|
export type FilterOperationsListFiltersResponses = {
|
|
4025
4227
|
/**
|
|
4026
4228
|
* The request has succeeded.
|
|
@@ -4047,9 +4249,36 @@ export type FilterOperationsCreateFilterData = {
|
|
|
4047
4249
|
|
|
4048
4250
|
export type FilterOperationsCreateFilterErrors = {
|
|
4049
4251
|
/**
|
|
4050
|
-
*
|
|
4252
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4253
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4254
|
+
* token where there is one.
|
|
4255
|
+
*
|
|
4256
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4257
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4258
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4259
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4260
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4261
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4262
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4263
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4264
|
+
* `unknown_occurrence`.
|
|
4265
|
+
*
|
|
4266
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4267
|
+
* handler ran, and names every field that was refused.
|
|
4268
|
+
*/
|
|
4269
|
+
400: ValidationError;
|
|
4270
|
+
/**
|
|
4271
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4272
|
+
*/
|
|
4273
|
+
401: ApiError;
|
|
4274
|
+
/**
|
|
4275
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4276
|
+
*/
|
|
4277
|
+
403: ApiError;
|
|
4278
|
+
/**
|
|
4279
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4051
4280
|
*/
|
|
4052
|
-
|
|
4281
|
+
404: ApiError;
|
|
4053
4282
|
};
|
|
4054
4283
|
|
|
4055
4284
|
export type FilterOperationsCreateFilterError = FilterOperationsCreateFilterErrors[keyof FilterOperationsCreateFilterErrors];
|
|
@@ -4073,9 +4302,26 @@ export type FilterDetailOperationsDeleteFilterData = {
|
|
|
4073
4302
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4074
4303
|
};
|
|
4075
4304
|
|
|
4305
|
+
export type FilterDetailOperationsDeleteFilterErrors = {
|
|
4306
|
+
/**
|
|
4307
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4308
|
+
*/
|
|
4309
|
+
401: ApiError;
|
|
4310
|
+
/**
|
|
4311
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4312
|
+
*/
|
|
4313
|
+
403: ApiError;
|
|
4314
|
+
/**
|
|
4315
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4316
|
+
*/
|
|
4317
|
+
404: ApiError;
|
|
4318
|
+
};
|
|
4319
|
+
|
|
4320
|
+
export type FilterDetailOperationsDeleteFilterError = FilterDetailOperationsDeleteFilterErrors[keyof FilterDetailOperationsDeleteFilterErrors];
|
|
4321
|
+
|
|
4076
4322
|
export type FilterDetailOperationsDeleteFilterResponses = {
|
|
4077
4323
|
/**
|
|
4078
|
-
*
|
|
4324
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4079
4325
|
*/
|
|
4080
4326
|
204: void;
|
|
4081
4327
|
};
|
|
@@ -4092,6 +4338,19 @@ export type FilterDetailOperationsGetFilterData = {
|
|
|
4092
4338
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4093
4339
|
};
|
|
4094
4340
|
|
|
4341
|
+
export type FilterDetailOperationsGetFilterErrors = {
|
|
4342
|
+
/**
|
|
4343
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4344
|
+
*/
|
|
4345
|
+
401: ApiError;
|
|
4346
|
+
/**
|
|
4347
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4348
|
+
*/
|
|
4349
|
+
404: ApiError;
|
|
4350
|
+
};
|
|
4351
|
+
|
|
4352
|
+
export type FilterDetailOperationsGetFilterError = FilterDetailOperationsGetFilterErrors[keyof FilterDetailOperationsGetFilterErrors];
|
|
4353
|
+
|
|
4095
4354
|
export type FilterDetailOperationsGetFilterResponses = {
|
|
4096
4355
|
/**
|
|
4097
4356
|
* The request has succeeded.
|
|
@@ -4111,6 +4370,23 @@ export type FilterDetailOperationsUpdateFilterData = {
|
|
|
4111
4370
|
url: '/accounts/{accountId}/filters/{filterId}';
|
|
4112
4371
|
};
|
|
4113
4372
|
|
|
4373
|
+
export type FilterDetailOperationsUpdateFilterErrors = {
|
|
4374
|
+
/**
|
|
4375
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4376
|
+
*/
|
|
4377
|
+
401: ApiError;
|
|
4378
|
+
/**
|
|
4379
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4380
|
+
*/
|
|
4381
|
+
403: ApiError;
|
|
4382
|
+
/**
|
|
4383
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4384
|
+
*/
|
|
4385
|
+
404: ApiError;
|
|
4386
|
+
};
|
|
4387
|
+
|
|
4388
|
+
export type FilterDetailOperationsUpdateFilterError = FilterDetailOperationsUpdateFilterErrors[keyof FilterDetailOperationsUpdateFilterErrors];
|
|
4389
|
+
|
|
4114
4390
|
export type FilterDetailOperationsUpdateFilterResponses = {
|
|
4115
4391
|
/**
|
|
4116
4392
|
* The request has succeeded.
|
|
@@ -4131,6 +4407,18 @@ export type FolderRoleOperationsAppointFolderRoleData = {
|
|
|
4131
4407
|
};
|
|
4132
4408
|
|
|
4133
4409
|
export type FolderRoleOperationsAppointFolderRoleErrors = {
|
|
4410
|
+
/**
|
|
4411
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4412
|
+
*/
|
|
4413
|
+
401: ApiError;
|
|
4414
|
+
/**
|
|
4415
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4416
|
+
*/
|
|
4417
|
+
403: ApiError;
|
|
4418
|
+
/**
|
|
4419
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4420
|
+
*/
|
|
4421
|
+
404: ApiError;
|
|
4134
4422
|
/**
|
|
4135
4423
|
* The same flat 409 body as `FolderRoleConflict`, with one code only this endpoint can answer with.
|
|
4136
4424
|
*
|
|
@@ -4163,6 +4451,38 @@ export type LabelOperationsListLabelsData = {
|
|
|
4163
4451
|
url: '/accounts/{accountId}/labels';
|
|
4164
4452
|
};
|
|
4165
4453
|
|
|
4454
|
+
export type LabelOperationsListLabelsErrors = {
|
|
4455
|
+
/**
|
|
4456
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4457
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4458
|
+
* token where there is one.
|
|
4459
|
+
*
|
|
4460
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4461
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4462
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4463
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4464
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4465
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4466
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4467
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4468
|
+
* `unknown_occurrence`.
|
|
4469
|
+
*
|
|
4470
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4471
|
+
* handler ran, and names every field that was refused.
|
|
4472
|
+
*/
|
|
4473
|
+
400: ValidationError;
|
|
4474
|
+
/**
|
|
4475
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4476
|
+
*/
|
|
4477
|
+
401: ApiError;
|
|
4478
|
+
/**
|
|
4479
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4480
|
+
*/
|
|
4481
|
+
404: ApiError;
|
|
4482
|
+
};
|
|
4483
|
+
|
|
4484
|
+
export type LabelOperationsListLabelsError = LabelOperationsListLabelsErrors[keyof LabelOperationsListLabelsErrors];
|
|
4485
|
+
|
|
4166
4486
|
export type LabelOperationsListLabelsResponses = {
|
|
4167
4487
|
/**
|
|
4168
4488
|
* The request has succeeded.
|
|
@@ -4187,6 +4507,23 @@ export type LabelOperationsCreateLabelData = {
|
|
|
4187
4507
|
url: '/accounts/{accountId}/labels';
|
|
4188
4508
|
};
|
|
4189
4509
|
|
|
4510
|
+
export type LabelOperationsCreateLabelErrors = {
|
|
4511
|
+
/**
|
|
4512
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4513
|
+
*/
|
|
4514
|
+
401: ApiError;
|
|
4515
|
+
/**
|
|
4516
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4517
|
+
*/
|
|
4518
|
+
403: ApiError;
|
|
4519
|
+
/**
|
|
4520
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4521
|
+
*/
|
|
4522
|
+
404: ApiError;
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
export type LabelOperationsCreateLabelError = LabelOperationsCreateLabelErrors[keyof LabelOperationsCreateLabelErrors];
|
|
4526
|
+
|
|
4190
4527
|
export type LabelOperationsCreateLabelResponses = {
|
|
4191
4528
|
/**
|
|
4192
4529
|
* The request has succeeded.
|
|
@@ -4206,9 +4543,26 @@ export type LabelDetailOperationsDeleteLabelData = {
|
|
|
4206
4543
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4207
4544
|
};
|
|
4208
4545
|
|
|
4546
|
+
export type LabelDetailOperationsDeleteLabelErrors = {
|
|
4547
|
+
/**
|
|
4548
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4549
|
+
*/
|
|
4550
|
+
401: ApiError;
|
|
4551
|
+
/**
|
|
4552
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4553
|
+
*/
|
|
4554
|
+
403: ApiError;
|
|
4555
|
+
/**
|
|
4556
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4557
|
+
*/
|
|
4558
|
+
404: ApiError;
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
export type LabelDetailOperationsDeleteLabelError = LabelDetailOperationsDeleteLabelErrors[keyof LabelDetailOperationsDeleteLabelErrors];
|
|
4562
|
+
|
|
4209
4563
|
export type LabelDetailOperationsDeleteLabelResponses = {
|
|
4210
4564
|
/**
|
|
4211
|
-
*
|
|
4565
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4212
4566
|
*/
|
|
4213
4567
|
204: void;
|
|
4214
4568
|
};
|
|
@@ -4225,6 +4579,19 @@ export type LabelDetailOperationsGetLabelData = {
|
|
|
4225
4579
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4226
4580
|
};
|
|
4227
4581
|
|
|
4582
|
+
export type LabelDetailOperationsGetLabelErrors = {
|
|
4583
|
+
/**
|
|
4584
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4585
|
+
*/
|
|
4586
|
+
401: ApiError;
|
|
4587
|
+
/**
|
|
4588
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4589
|
+
*/
|
|
4590
|
+
404: ApiError;
|
|
4591
|
+
};
|
|
4592
|
+
|
|
4593
|
+
export type LabelDetailOperationsGetLabelError = LabelDetailOperationsGetLabelErrors[keyof LabelDetailOperationsGetLabelErrors];
|
|
4594
|
+
|
|
4228
4595
|
export type LabelDetailOperationsGetLabelResponses = {
|
|
4229
4596
|
/**
|
|
4230
4597
|
* The request has succeeded.
|
|
@@ -4244,6 +4611,23 @@ export type LabelDetailOperationsUpdateLabelData = {
|
|
|
4244
4611
|
url: '/accounts/{accountId}/labels/{labelId}';
|
|
4245
4612
|
};
|
|
4246
4613
|
|
|
4614
|
+
export type LabelDetailOperationsUpdateLabelErrors = {
|
|
4615
|
+
/**
|
|
4616
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4617
|
+
*/
|
|
4618
|
+
401: ApiError;
|
|
4619
|
+
/**
|
|
4620
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4621
|
+
*/
|
|
4622
|
+
403: ApiError;
|
|
4623
|
+
/**
|
|
4624
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4625
|
+
*/
|
|
4626
|
+
404: ApiError;
|
|
4627
|
+
};
|
|
4628
|
+
|
|
4629
|
+
export type LabelDetailOperationsUpdateLabelError = LabelDetailOperationsUpdateLabelErrors[keyof LabelDetailOperationsUpdateLabelErrors];
|
|
4630
|
+
|
|
4247
4631
|
export type LabelDetailOperationsUpdateLabelResponses = {
|
|
4248
4632
|
/**
|
|
4249
4633
|
* The request has succeeded.
|
|
@@ -4264,6 +4648,38 @@ export type MailboxOperationsListMailboxesData = {
|
|
|
4264
4648
|
url: '/accounts/{accountId}/mailboxes';
|
|
4265
4649
|
};
|
|
4266
4650
|
|
|
4651
|
+
export type MailboxOperationsListMailboxesErrors = {
|
|
4652
|
+
/**
|
|
4653
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4654
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4655
|
+
* token where there is one.
|
|
4656
|
+
*
|
|
4657
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4658
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4659
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4660
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4661
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4662
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4663
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4664
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4665
|
+
* `unknown_occurrence`.
|
|
4666
|
+
*
|
|
4667
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4668
|
+
* handler ran, and names every field that was refused.
|
|
4669
|
+
*/
|
|
4670
|
+
400: ValidationError;
|
|
4671
|
+
/**
|
|
4672
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4673
|
+
*/
|
|
4674
|
+
401: ApiError;
|
|
4675
|
+
/**
|
|
4676
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4677
|
+
*/
|
|
4678
|
+
404: ApiError;
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4681
|
+
export type MailboxOperationsListMailboxesError = MailboxOperationsListMailboxesErrors[keyof MailboxOperationsListMailboxesErrors];
|
|
4682
|
+
|
|
4267
4683
|
export type MailboxOperationsListMailboxesResponses = {
|
|
4268
4684
|
/**
|
|
4269
4685
|
* The request has succeeded.
|
|
@@ -4288,6 +4704,23 @@ export type MailboxOperationsCreateMailboxData = {
|
|
|
4288
4704
|
url: '/accounts/{accountId}/mailboxes';
|
|
4289
4705
|
};
|
|
4290
4706
|
|
|
4707
|
+
export type MailboxOperationsCreateMailboxErrors = {
|
|
4708
|
+
/**
|
|
4709
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4710
|
+
*/
|
|
4711
|
+
401: ApiError;
|
|
4712
|
+
/**
|
|
4713
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4714
|
+
*/
|
|
4715
|
+
403: ApiError;
|
|
4716
|
+
/**
|
|
4717
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4718
|
+
*/
|
|
4719
|
+
404: ApiError;
|
|
4720
|
+
};
|
|
4721
|
+
|
|
4722
|
+
export type MailboxOperationsCreateMailboxError = MailboxOperationsCreateMailboxErrors[keyof MailboxOperationsCreateMailboxErrors];
|
|
4723
|
+
|
|
4291
4724
|
export type MailboxOperationsCreateMailboxResponses = {
|
|
4292
4725
|
/**
|
|
4293
4726
|
* The request has succeeded.
|
|
@@ -4307,9 +4740,26 @@ export type MailboxDetailOperationsDeleteMailboxData = {
|
|
|
4307
4740
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4308
4741
|
};
|
|
4309
4742
|
|
|
4743
|
+
export type MailboxDetailOperationsDeleteMailboxErrors = {
|
|
4744
|
+
/**
|
|
4745
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4746
|
+
*/
|
|
4747
|
+
401: ApiError;
|
|
4748
|
+
/**
|
|
4749
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4750
|
+
*/
|
|
4751
|
+
403: ApiError;
|
|
4752
|
+
/**
|
|
4753
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4754
|
+
*/
|
|
4755
|
+
404: ApiError;
|
|
4756
|
+
};
|
|
4757
|
+
|
|
4758
|
+
export type MailboxDetailOperationsDeleteMailboxError = MailboxDetailOperationsDeleteMailboxErrors[keyof MailboxDetailOperationsDeleteMailboxErrors];
|
|
4759
|
+
|
|
4310
4760
|
export type MailboxDetailOperationsDeleteMailboxResponses = {
|
|
4311
4761
|
/**
|
|
4312
|
-
*
|
|
4762
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
4313
4763
|
*/
|
|
4314
4764
|
204: void;
|
|
4315
4765
|
};
|
|
@@ -4326,6 +4776,19 @@ export type MailboxDetailOperationsGetMailboxData = {
|
|
|
4326
4776
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4327
4777
|
};
|
|
4328
4778
|
|
|
4779
|
+
export type MailboxDetailOperationsGetMailboxErrors = {
|
|
4780
|
+
/**
|
|
4781
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4782
|
+
*/
|
|
4783
|
+
401: ApiError;
|
|
4784
|
+
/**
|
|
4785
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4786
|
+
*/
|
|
4787
|
+
404: ApiError;
|
|
4788
|
+
};
|
|
4789
|
+
|
|
4790
|
+
export type MailboxDetailOperationsGetMailboxError = MailboxDetailOperationsGetMailboxErrors[keyof MailboxDetailOperationsGetMailboxErrors];
|
|
4791
|
+
|
|
4329
4792
|
export type MailboxDetailOperationsGetMailboxResponses = {
|
|
4330
4793
|
/**
|
|
4331
4794
|
* The request has succeeded.
|
|
@@ -4345,6 +4808,23 @@ export type MailboxDetailOperationsRenameMailboxData = {
|
|
|
4345
4808
|
url: '/accounts/{accountId}/mailboxes/{mailboxId}';
|
|
4346
4809
|
};
|
|
4347
4810
|
|
|
4811
|
+
export type MailboxDetailOperationsRenameMailboxErrors = {
|
|
4812
|
+
/**
|
|
4813
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4814
|
+
*/
|
|
4815
|
+
401: ApiError;
|
|
4816
|
+
/**
|
|
4817
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4818
|
+
*/
|
|
4819
|
+
403: ApiError;
|
|
4820
|
+
/**
|
|
4821
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4822
|
+
*/
|
|
4823
|
+
404: ApiError;
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
export type MailboxDetailOperationsRenameMailboxError = MailboxDetailOperationsRenameMailboxErrors[keyof MailboxDetailOperationsRenameMailboxErrors];
|
|
4827
|
+
|
|
4348
4828
|
export type MailboxDetailOperationsRenameMailboxResponses = {
|
|
4349
4829
|
/**
|
|
4350
4830
|
* The request has succeeded.
|
|
@@ -4365,9 +4845,36 @@ export type OrganizeOperationsCreateOrganizeJobData = {
|
|
|
4365
4845
|
|
|
4366
4846
|
export type OrganizeOperationsCreateOrganizeJobErrors = {
|
|
4367
4847
|
/**
|
|
4368
|
-
*
|
|
4848
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4849
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4850
|
+
* token where there is one.
|
|
4851
|
+
*
|
|
4852
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4853
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4854
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4855
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4856
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4857
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4858
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4859
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4860
|
+
* `unknown_occurrence`.
|
|
4861
|
+
*
|
|
4862
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4863
|
+
* handler ran, and names every field that was refused.
|
|
4864
|
+
*/
|
|
4865
|
+
400: ValidationError;
|
|
4866
|
+
/**
|
|
4867
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4868
|
+
*/
|
|
4869
|
+
401: ApiError;
|
|
4870
|
+
/**
|
|
4871
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4872
|
+
*/
|
|
4873
|
+
403: ApiError;
|
|
4874
|
+
/**
|
|
4875
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4369
4876
|
*/
|
|
4370
|
-
|
|
4877
|
+
404: ApiError;
|
|
4371
4878
|
};
|
|
4372
4879
|
|
|
4373
4880
|
export type OrganizeOperationsCreateOrganizeJobError = OrganizeOperationsCreateOrganizeJobErrors[keyof OrganizeOperationsCreateOrganizeJobErrors];
|
|
@@ -4392,9 +4899,32 @@ export type OrganizeOperationsPreviewOrganizeData = {
|
|
|
4392
4899
|
|
|
4393
4900
|
export type OrganizeOperationsPreviewOrganizeErrors = {
|
|
4394
4901
|
/**
|
|
4395
|
-
*
|
|
4902
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
4903
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
4904
|
+
* token where there is one.
|
|
4905
|
+
*
|
|
4906
|
+
* The calendar surface answers with the reason it read the request by:
|
|
4907
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
4908
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
4909
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
4910
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
4911
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
4912
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
4913
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
4914
|
+
* `unknown_occurrence`.
|
|
4915
|
+
*
|
|
4916
|
+
* `errors` is present only when the request failed schema validation before any
|
|
4917
|
+
* handler ran, and names every field that was refused.
|
|
4918
|
+
*/
|
|
4919
|
+
400: ValidationError;
|
|
4920
|
+
/**
|
|
4921
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4922
|
+
*/
|
|
4923
|
+
401: ApiError;
|
|
4924
|
+
/**
|
|
4925
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4396
4926
|
*/
|
|
4397
|
-
|
|
4927
|
+
404: ApiError;
|
|
4398
4928
|
};
|
|
4399
4929
|
|
|
4400
4930
|
export type OrganizeOperationsPreviewOrganizeError = OrganizeOperationsPreviewOrganizeErrors[keyof OrganizeOperationsPreviewOrganizeErrors];
|
|
@@ -4418,6 +4948,19 @@ export type OrganizeJobDetailOperationsGetOrganizeJobData = {
|
|
|
4418
4948
|
url: '/accounts/{accountId}/organize/{organizeJobId}';
|
|
4419
4949
|
};
|
|
4420
4950
|
|
|
4951
|
+
export type OrganizeJobDetailOperationsGetOrganizeJobErrors = {
|
|
4952
|
+
/**
|
|
4953
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4954
|
+
*/
|
|
4955
|
+
401: ApiError;
|
|
4956
|
+
/**
|
|
4957
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4958
|
+
*/
|
|
4959
|
+
404: ApiError;
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
export type OrganizeJobDetailOperationsGetOrganizeJobError = OrganizeJobDetailOperationsGetOrganizeJobErrors[keyof OrganizeJobDetailOperationsGetOrganizeJobErrors];
|
|
4963
|
+
|
|
4421
4964
|
export type OrganizeJobDetailOperationsGetOrganizeJobResponses = {
|
|
4422
4965
|
/**
|
|
4423
4966
|
* The request has succeeded.
|
|
@@ -4436,6 +4979,23 @@ export type SyncOperationsTriggerSyncData = {
|
|
|
4436
4979
|
url: '/accounts/{accountId}/sync';
|
|
4437
4980
|
};
|
|
4438
4981
|
|
|
4982
|
+
export type SyncOperationsTriggerSyncErrors = {
|
|
4983
|
+
/**
|
|
4984
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4985
|
+
*/
|
|
4986
|
+
401: ApiError;
|
|
4987
|
+
/**
|
|
4988
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
4989
|
+
*/
|
|
4990
|
+
403: ApiError;
|
|
4991
|
+
/**
|
|
4992
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4993
|
+
*/
|
|
4994
|
+
404: ApiError;
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
export type SyncOperationsTriggerSyncError = SyncOperationsTriggerSyncErrors[keyof SyncOperationsTriggerSyncErrors];
|
|
4998
|
+
|
|
4439
4999
|
export type SyncOperationsTriggerSyncResponses = {
|
|
4440
5000
|
/**
|
|
4441
5001
|
* The request has succeeded.
|
|
@@ -4454,6 +5014,19 @@ export type SyncOperationsGetSyncStatusData = {
|
|
|
4454
5014
|
url: '/accounts/{accountId}/sync/status';
|
|
4455
5015
|
};
|
|
4456
5016
|
|
|
5017
|
+
export type SyncOperationsGetSyncStatusErrors = {
|
|
5018
|
+
/**
|
|
5019
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5020
|
+
*/
|
|
5021
|
+
401: ApiError;
|
|
5022
|
+
/**
|
|
5023
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5024
|
+
*/
|
|
5025
|
+
404: ApiError;
|
|
5026
|
+
};
|
|
5027
|
+
|
|
5028
|
+
export type SyncOperationsGetSyncStatusError = SyncOperationsGetSyncStatusErrors[keyof SyncOperationsGetSyncStatusErrors];
|
|
5029
|
+
|
|
4457
5030
|
export type SyncOperationsGetSyncStatusResponses = {
|
|
4458
5031
|
/**
|
|
4459
5032
|
* The request has succeeded.
|
|
@@ -4473,6 +5046,18 @@ export type TrashOperationsEmptyTrashData = {
|
|
|
4473
5046
|
};
|
|
4474
5047
|
|
|
4475
5048
|
export type TrashOperationsEmptyTrashErrors = {
|
|
5049
|
+
/**
|
|
5050
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5051
|
+
*/
|
|
5052
|
+
401: ApiError;
|
|
5053
|
+
/**
|
|
5054
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
5055
|
+
*/
|
|
5056
|
+
403: ApiError;
|
|
5057
|
+
/**
|
|
5058
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5059
|
+
*/
|
|
5060
|
+
404: ApiError;
|
|
4476
5061
|
/**
|
|
4477
5062
|
* 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
5063
|
*
|
|
@@ -4502,6 +5087,15 @@ export type AddressOperationsSearchAddressesData = {
|
|
|
4502
5087
|
url: '/addresses/search';
|
|
4503
5088
|
};
|
|
4504
5089
|
|
|
5090
|
+
export type AddressOperationsSearchAddressesErrors = {
|
|
5091
|
+
/**
|
|
5092
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5093
|
+
*/
|
|
5094
|
+
401: ApiError;
|
|
5095
|
+
};
|
|
5096
|
+
|
|
5097
|
+
export type AddressOperationsSearchAddressesError = AddressOperationsSearchAddressesErrors[keyof AddressOperationsSearchAddressesErrors];
|
|
5098
|
+
|
|
4505
5099
|
export type AddressOperationsSearchAddressesResponses = {
|
|
4506
5100
|
/**
|
|
4507
5101
|
* The request has succeeded.
|
|
@@ -4526,6 +5120,23 @@ export type AddressDetailOperationsUpdateAddressData = {
|
|
|
4526
5120
|
url: '/addresses/{addressId}';
|
|
4527
5121
|
};
|
|
4528
5122
|
|
|
5123
|
+
export type AddressDetailOperationsUpdateAddressErrors = {
|
|
5124
|
+
/**
|
|
5125
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5126
|
+
*/
|
|
5127
|
+
401: ApiError;
|
|
5128
|
+
/**
|
|
5129
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
5130
|
+
*/
|
|
5131
|
+
403: ApiError;
|
|
5132
|
+
/**
|
|
5133
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5134
|
+
*/
|
|
5135
|
+
404: ApiError;
|
|
5136
|
+
};
|
|
5137
|
+
|
|
5138
|
+
export type AddressDetailOperationsUpdateAddressError = AddressDetailOperationsUpdateAddressErrors[keyof AddressDetailOperationsUpdateAddressErrors];
|
|
5139
|
+
|
|
4529
5140
|
export type AddressDetailOperationsUpdateAddressResponses = {
|
|
4530
5141
|
/**
|
|
4531
5142
|
* The request has succeeded.
|
|
@@ -4557,11 +5168,30 @@ export type CalendarEventOperationsListCalendarEventsData = {
|
|
|
4557
5168
|
|
|
4558
5169
|
export type CalendarEventOperationsListCalendarEventsErrors = {
|
|
4559
5170
|
/**
|
|
4560
|
-
*
|
|
5171
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5172
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5173
|
+
* token where there is one.
|
|
5174
|
+
*
|
|
5175
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5176
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5177
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5178
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5179
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5180
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5181
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5182
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5183
|
+
* `unknown_occurrence`.
|
|
5184
|
+
*
|
|
5185
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5186
|
+
* handler ran, and names every field that was refused.
|
|
5187
|
+
*/
|
|
5188
|
+
400: ValidationError;
|
|
5189
|
+
/**
|
|
5190
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4561
5191
|
*/
|
|
4562
|
-
|
|
5192
|
+
401: ApiError;
|
|
4563
5193
|
/**
|
|
4564
|
-
*
|
|
5194
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4565
5195
|
*/
|
|
4566
5196
|
404: ApiError;
|
|
4567
5197
|
};
|
|
@@ -4586,11 +5216,30 @@ export type CalendarEventOperationsCreateCalendarEventData = {
|
|
|
4586
5216
|
|
|
4587
5217
|
export type CalendarEventOperationsCreateCalendarEventErrors = {
|
|
4588
5218
|
/**
|
|
4589
|
-
*
|
|
5219
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5220
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5221
|
+
* token where there is one.
|
|
5222
|
+
*
|
|
5223
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5224
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5225
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5226
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5227
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5228
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5229
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5230
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5231
|
+
* `unknown_occurrence`.
|
|
5232
|
+
*
|
|
5233
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5234
|
+
* handler ran, and names every field that was refused.
|
|
5235
|
+
*/
|
|
5236
|
+
400: ValidationError;
|
|
5237
|
+
/**
|
|
5238
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4590
5239
|
*/
|
|
4591
|
-
|
|
5240
|
+
401: ApiError;
|
|
4592
5241
|
/**
|
|
4593
|
-
*
|
|
5242
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4594
5243
|
*/
|
|
4595
5244
|
404: ApiError;
|
|
4596
5245
|
};
|
|
@@ -4633,11 +5282,30 @@ export type CalendarEventDetailOperationsDeleteCalendarEventData = {
|
|
|
4633
5282
|
|
|
4634
5283
|
export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
|
|
4635
5284
|
/**
|
|
4636
|
-
*
|
|
5285
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5286
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5287
|
+
* token where there is one.
|
|
5288
|
+
*
|
|
5289
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5290
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5291
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5292
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5293
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5294
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5295
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5296
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5297
|
+
* `unknown_occurrence`.
|
|
5298
|
+
*
|
|
5299
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5300
|
+
* handler ran, and names every field that was refused.
|
|
5301
|
+
*/
|
|
5302
|
+
400: ValidationError;
|
|
5303
|
+
/**
|
|
5304
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4637
5305
|
*/
|
|
4638
|
-
|
|
5306
|
+
401: ApiError;
|
|
4639
5307
|
/**
|
|
4640
|
-
*
|
|
5308
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4641
5309
|
*/
|
|
4642
5310
|
404: ApiError;
|
|
4643
5311
|
/**
|
|
@@ -4645,7 +5313,7 @@ export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
|
|
|
4645
5313
|
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
4646
5314
|
* wrote it in between, so applying this request would silently discard their
|
|
4647
5315
|
* change. The client re-reads the resource and decides what to do with the
|
|
4648
|
-
* version it now has.
|
|
5316
|
+
* version it now has. `code` is `precondition_failed`.
|
|
4649
5317
|
*/
|
|
4650
5318
|
412: ApiError;
|
|
4651
5319
|
};
|
|
@@ -4677,11 +5345,30 @@ export type CalendarEventDetailOperationsGetCalendarEventData = {
|
|
|
4677
5345
|
|
|
4678
5346
|
export type CalendarEventDetailOperationsGetCalendarEventErrors = {
|
|
4679
5347
|
/**
|
|
4680
|
-
*
|
|
5348
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5349
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5350
|
+
* token where there is one.
|
|
5351
|
+
*
|
|
5352
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5353
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5354
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5355
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5356
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5357
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5358
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5359
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5360
|
+
* `unknown_occurrence`.
|
|
5361
|
+
*
|
|
5362
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5363
|
+
* handler ran, and names every field that was refused.
|
|
5364
|
+
*/
|
|
5365
|
+
400: ValidationError;
|
|
5366
|
+
/**
|
|
5367
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4681
5368
|
*/
|
|
4682
|
-
|
|
5369
|
+
401: ApiError;
|
|
4683
5370
|
/**
|
|
4684
|
-
*
|
|
5371
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4685
5372
|
*/
|
|
4686
5373
|
404: ApiError;
|
|
4687
5374
|
};
|
|
@@ -4724,11 +5411,30 @@ export type CalendarEventDetailOperationsUpdateCalendarEventData = {
|
|
|
4724
5411
|
|
|
4725
5412
|
export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
|
|
4726
5413
|
/**
|
|
4727
|
-
*
|
|
5414
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5415
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5416
|
+
* token where there is one.
|
|
5417
|
+
*
|
|
5418
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5419
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5420
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5421
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5422
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5423
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5424
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5425
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5426
|
+
* `unknown_occurrence`.
|
|
5427
|
+
*
|
|
5428
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5429
|
+
* handler ran, and names every field that was refused.
|
|
5430
|
+
*/
|
|
5431
|
+
400: ValidationError;
|
|
5432
|
+
/**
|
|
5433
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4728
5434
|
*/
|
|
4729
|
-
|
|
5435
|
+
401: ApiError;
|
|
4730
5436
|
/**
|
|
4731
|
-
*
|
|
5437
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4732
5438
|
*/
|
|
4733
5439
|
404: ApiError;
|
|
4734
5440
|
/**
|
|
@@ -4736,7 +5442,7 @@ export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
|
|
|
4736
5442
|
* `If-Match` names an etag the stored resource no longer carries: somebody else
|
|
4737
5443
|
* wrote it in between, so applying this request would silently discard their
|
|
4738
5444
|
* change. The client re-reads the resource and decides what to do with the
|
|
4739
|
-
* version it now has.
|
|
5445
|
+
* version it now has. `code` is `precondition_failed`.
|
|
4740
5446
|
*/
|
|
4741
5447
|
412: ApiError;
|
|
4742
5448
|
};
|
|
@@ -4770,9 +5476,28 @@ export type CalendarFreeBusyOperationsListCalendarFreeBusyData = {
|
|
|
4770
5476
|
|
|
4771
5477
|
export type CalendarFreeBusyOperationsListCalendarFreeBusyErrors = {
|
|
4772
5478
|
/**
|
|
4773
|
-
*
|
|
5479
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5480
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5481
|
+
* token where there is one.
|
|
5482
|
+
*
|
|
5483
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5484
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5485
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5486
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5487
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5488
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5489
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5490
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5491
|
+
* `unknown_occurrence`.
|
|
5492
|
+
*
|
|
5493
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5494
|
+
* handler ran, and names every field that was refused.
|
|
5495
|
+
*/
|
|
5496
|
+
400: ValidationError;
|
|
5497
|
+
/**
|
|
5498
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4774
5499
|
*/
|
|
4775
|
-
|
|
5500
|
+
401: ApiError;
|
|
4776
5501
|
};
|
|
4777
5502
|
|
|
4778
5503
|
export type CalendarFreeBusyOperationsListCalendarFreeBusyError = CalendarFreeBusyOperationsListCalendarFreeBusyErrors[keyof CalendarFreeBusyOperationsListCalendarFreeBusyErrors];
|
|
@@ -4798,9 +5523,28 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsData = {
|
|
|
4798
5523
|
|
|
4799
5524
|
export type CalendarSuggestionOperationsListCalendarSuggestionsErrors = {
|
|
4800
5525
|
/**
|
|
4801
|
-
*
|
|
5526
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5527
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5528
|
+
* token where there is one.
|
|
5529
|
+
*
|
|
5530
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5531
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5532
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5533
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5534
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5535
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5536
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5537
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5538
|
+
* `unknown_occurrence`.
|
|
5539
|
+
*
|
|
5540
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5541
|
+
* handler ran, and names every field that was refused.
|
|
5542
|
+
*/
|
|
5543
|
+
400: ValidationError;
|
|
5544
|
+
/**
|
|
5545
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4802
5546
|
*/
|
|
4803
|
-
|
|
5547
|
+
401: ApiError;
|
|
4804
5548
|
};
|
|
4805
5549
|
|
|
4806
5550
|
export type CalendarSuggestionOperationsListCalendarSuggestionsError = CalendarSuggestionOperationsListCalendarSuggestionsErrors[keyof CalendarSuggestionOperationsListCalendarSuggestionsErrors];
|
|
@@ -4831,9 +5575,32 @@ export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionData = {
|
|
|
4831
5575
|
|
|
4832
5576
|
export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors = {
|
|
4833
5577
|
/**
|
|
4834
|
-
*
|
|
5578
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5579
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5580
|
+
* token where there is one.
|
|
5581
|
+
*
|
|
5582
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5583
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5584
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5585
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5586
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5587
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5588
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5589
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5590
|
+
* `unknown_occurrence`.
|
|
5591
|
+
*
|
|
5592
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5593
|
+
* handler ran, and names every field that was refused.
|
|
5594
|
+
*/
|
|
5595
|
+
400: ValidationError;
|
|
5596
|
+
/**
|
|
5597
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5598
|
+
*/
|
|
5599
|
+
401: ApiError;
|
|
5600
|
+
/**
|
|
5601
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4835
5602
|
*/
|
|
4836
|
-
|
|
5603
|
+
404: ApiError;
|
|
4837
5604
|
};
|
|
4838
5605
|
|
|
4839
5606
|
export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionError = CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors];
|
|
@@ -4858,9 +5625,32 @@ export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionData = {
|
|
|
4858
5625
|
|
|
4859
5626
|
export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors = {
|
|
4860
5627
|
/**
|
|
4861
|
-
*
|
|
5628
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5629
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5630
|
+
* token where there is one.
|
|
5631
|
+
*
|
|
5632
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5633
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5634
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5635
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5636
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5637
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5638
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5639
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5640
|
+
* `unknown_occurrence`.
|
|
5641
|
+
*
|
|
5642
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5643
|
+
* handler ran, and names every field that was refused.
|
|
5644
|
+
*/
|
|
5645
|
+
400: ValidationError;
|
|
5646
|
+
/**
|
|
5647
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4862
5648
|
*/
|
|
4863
|
-
|
|
5649
|
+
401: ApiError;
|
|
5650
|
+
/**
|
|
5651
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5652
|
+
*/
|
|
5653
|
+
404: ApiError;
|
|
4864
5654
|
};
|
|
4865
5655
|
|
|
4866
5656
|
export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionError = CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors];
|
|
@@ -4885,9 +5675,32 @@ export type CalendarSuggestionActionOperationsDismissCalendarSuggestionData = {
|
|
|
4885
5675
|
|
|
4886
5676
|
export type CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors = {
|
|
4887
5677
|
/**
|
|
4888
|
-
*
|
|
5678
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5679
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5680
|
+
* token where there is one.
|
|
5681
|
+
*
|
|
5682
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5683
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5684
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5685
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5686
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5687
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5688
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5689
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5690
|
+
* `unknown_occurrence`.
|
|
5691
|
+
*
|
|
5692
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5693
|
+
* handler ran, and names every field that was refused.
|
|
4889
5694
|
*/
|
|
4890
|
-
400:
|
|
5695
|
+
400: ValidationError;
|
|
5696
|
+
/**
|
|
5697
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5698
|
+
*/
|
|
5699
|
+
401: ApiError;
|
|
5700
|
+
/**
|
|
5701
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5702
|
+
*/
|
|
5703
|
+
404: ApiError;
|
|
4891
5704
|
};
|
|
4892
5705
|
|
|
4893
5706
|
export type CalendarSuggestionActionOperationsDismissCalendarSuggestionError = CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors[keyof CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors];
|
|
@@ -4908,6 +5721,15 @@ export type CalendarOperationsListCalendarsData = {
|
|
|
4908
5721
|
url: '/calendars';
|
|
4909
5722
|
};
|
|
4910
5723
|
|
|
5724
|
+
export type CalendarOperationsListCalendarsErrors = {
|
|
5725
|
+
/**
|
|
5726
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5727
|
+
*/
|
|
5728
|
+
401: ApiError;
|
|
5729
|
+
};
|
|
5730
|
+
|
|
5731
|
+
export type CalendarOperationsListCalendarsError = CalendarOperationsListCalendarsErrors[keyof CalendarOperationsListCalendarsErrors];
|
|
5732
|
+
|
|
4911
5733
|
export type CalendarOperationsListCalendarsResponses = {
|
|
4912
5734
|
/**
|
|
4913
5735
|
* The request has succeeded.
|
|
@@ -4926,9 +5748,28 @@ export type CalendarOperationsCreateCalendarData = {
|
|
|
4926
5748
|
|
|
4927
5749
|
export type CalendarOperationsCreateCalendarErrors = {
|
|
4928
5750
|
/**
|
|
4929
|
-
*
|
|
5751
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5752
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5753
|
+
* token where there is one.
|
|
5754
|
+
*
|
|
5755
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5756
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5757
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5758
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5759
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5760
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5761
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5762
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5763
|
+
* `unknown_occurrence`.
|
|
5764
|
+
*
|
|
5765
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5766
|
+
* handler ran, and names every field that was refused.
|
|
5767
|
+
*/
|
|
5768
|
+
400: ValidationError;
|
|
5769
|
+
/**
|
|
5770
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4930
5771
|
*/
|
|
4931
|
-
|
|
5772
|
+
401: ApiError;
|
|
4932
5773
|
};
|
|
4933
5774
|
|
|
4934
5775
|
export type CalendarOperationsCreateCalendarError = CalendarOperationsCreateCalendarErrors[keyof CalendarOperationsCreateCalendarErrors];
|
|
@@ -4953,11 +5794,30 @@ export type CalendarDetailOperationsDeleteCalendarData = {
|
|
|
4953
5794
|
|
|
4954
5795
|
export type CalendarDetailOperationsDeleteCalendarErrors = {
|
|
4955
5796
|
/**
|
|
4956
|
-
*
|
|
5797
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5798
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5799
|
+
* token where there is one.
|
|
5800
|
+
*
|
|
5801
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5802
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5803
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5804
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5805
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5806
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5807
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5808
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5809
|
+
* `unknown_occurrence`.
|
|
5810
|
+
*
|
|
5811
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5812
|
+
* handler ran, and names every field that was refused.
|
|
5813
|
+
*/
|
|
5814
|
+
400: ValidationError;
|
|
5815
|
+
/**
|
|
5816
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
4957
5817
|
*/
|
|
4958
|
-
|
|
5818
|
+
401: ApiError;
|
|
4959
5819
|
/**
|
|
4960
|
-
*
|
|
5820
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4961
5821
|
*/
|
|
4962
5822
|
404: ApiError;
|
|
4963
5823
|
};
|
|
@@ -4984,7 +5844,11 @@ export type CalendarDetailOperationsGetCalendarData = {
|
|
|
4984
5844
|
|
|
4985
5845
|
export type CalendarDetailOperationsGetCalendarErrors = {
|
|
4986
5846
|
/**
|
|
4987
|
-
*
|
|
5847
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5848
|
+
*/
|
|
5849
|
+
401: ApiError;
|
|
5850
|
+
/**
|
|
5851
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
4988
5852
|
*/
|
|
4989
5853
|
404: ApiError;
|
|
4990
5854
|
};
|
|
@@ -5011,11 +5875,30 @@ export type CalendarDetailOperationsUpdateCalendarData = {
|
|
|
5011
5875
|
|
|
5012
5876
|
export type CalendarDetailOperationsUpdateCalendarErrors = {
|
|
5013
5877
|
/**
|
|
5014
|
-
*
|
|
5878
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
5879
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
5880
|
+
* token where there is one.
|
|
5881
|
+
*
|
|
5882
|
+
* The calendar surface answers with the reason it read the request by:
|
|
5883
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
5884
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
5885
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
5886
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
5887
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
5888
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
5889
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
5890
|
+
* `unknown_occurrence`.
|
|
5891
|
+
*
|
|
5892
|
+
* `errors` is present only when the request failed schema validation before any
|
|
5893
|
+
* handler ran, and names every field that was refused.
|
|
5894
|
+
*/
|
|
5895
|
+
400: ValidationError;
|
|
5896
|
+
/**
|
|
5897
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5015
5898
|
*/
|
|
5016
|
-
|
|
5899
|
+
401: ApiError;
|
|
5017
5900
|
/**
|
|
5018
|
-
*
|
|
5901
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5019
5902
|
*/
|
|
5020
5903
|
404: ApiError;
|
|
5021
5904
|
};
|
|
@@ -5042,7 +5925,11 @@ export type CalendarDetailOperationsRevokeCalendarFeedData = {
|
|
|
5042
5925
|
|
|
5043
5926
|
export type CalendarDetailOperationsRevokeCalendarFeedErrors = {
|
|
5044
5927
|
/**
|
|
5045
|
-
*
|
|
5928
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5929
|
+
*/
|
|
5930
|
+
401: ApiError;
|
|
5931
|
+
/**
|
|
5932
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5046
5933
|
*/
|
|
5047
5934
|
404: ApiError;
|
|
5048
5935
|
};
|
|
@@ -5069,7 +5956,11 @@ export type CalendarDetailOperationsGetCalendarFeedData = {
|
|
|
5069
5956
|
|
|
5070
5957
|
export type CalendarDetailOperationsGetCalendarFeedErrors = {
|
|
5071
5958
|
/**
|
|
5072
|
-
*
|
|
5959
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5960
|
+
*/
|
|
5961
|
+
401: ApiError;
|
|
5962
|
+
/**
|
|
5963
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5073
5964
|
*/
|
|
5074
5965
|
404: ApiError;
|
|
5075
5966
|
};
|
|
@@ -5096,7 +5987,11 @@ export type CalendarDetailOperationsPutCalendarFeedData = {
|
|
|
5096
5987
|
|
|
5097
5988
|
export type CalendarDetailOperationsPutCalendarFeedErrors = {
|
|
5098
5989
|
/**
|
|
5099
|
-
*
|
|
5990
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5991
|
+
*/
|
|
5992
|
+
401: ApiError;
|
|
5993
|
+
/**
|
|
5994
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
5100
5995
|
*/
|
|
5101
5996
|
404: ApiError;
|
|
5102
5997
|
};
|
|
@@ -5119,6 +6014,15 @@ export type ConfigOperationsGetConfigData = {
|
|
|
5119
6014
|
url: '/config';
|
|
5120
6015
|
};
|
|
5121
6016
|
|
|
6017
|
+
export type ConfigOperationsGetConfigErrors = {
|
|
6018
|
+
/**
|
|
6019
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6020
|
+
*/
|
|
6021
|
+
401: ApiError;
|
|
6022
|
+
};
|
|
6023
|
+
|
|
6024
|
+
export type ConfigOperationsGetConfigError = ConfigOperationsGetConfigErrors[keyof ConfigOperationsGetConfigErrors];
|
|
6025
|
+
|
|
5122
6026
|
export type ConfigOperationsGetConfigResponses = {
|
|
5123
6027
|
/**
|
|
5124
6028
|
* The request has succeeded.
|
|
@@ -5135,6 +6039,15 @@ export type ConfigOperationsExportConfigData = {
|
|
|
5135
6039
|
url: '/config/export';
|
|
5136
6040
|
};
|
|
5137
6041
|
|
|
6042
|
+
export type ConfigOperationsExportConfigErrors = {
|
|
6043
|
+
/**
|
|
6044
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6045
|
+
*/
|
|
6046
|
+
401: ApiError;
|
|
6047
|
+
};
|
|
6048
|
+
|
|
6049
|
+
export type ConfigOperationsExportConfigError = ConfigOperationsExportConfigErrors[keyof ConfigOperationsExportConfigErrors];
|
|
6050
|
+
|
|
5138
6051
|
export type ConfigOperationsExportConfigResponses = {
|
|
5139
6052
|
/**
|
|
5140
6053
|
* The request has succeeded.
|
|
@@ -5153,9 +6066,28 @@ export type ConfigOperationsImportConfigData = {
|
|
|
5153
6066
|
|
|
5154
6067
|
export type ConfigOperationsImportConfigErrors = {
|
|
5155
6068
|
/**
|
|
5156
|
-
*
|
|
6069
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6070
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6071
|
+
* token where there is one.
|
|
6072
|
+
*
|
|
6073
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6074
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6075
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6076
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6077
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6078
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6079
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6080
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6081
|
+
* `unknown_occurrence`.
|
|
6082
|
+
*
|
|
6083
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6084
|
+
* handler ran, and names every field that was refused.
|
|
6085
|
+
*/
|
|
6086
|
+
400: ValidationError;
|
|
6087
|
+
/**
|
|
6088
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5157
6089
|
*/
|
|
5158
|
-
|
|
6090
|
+
401: ApiError;
|
|
5159
6091
|
/**
|
|
5160
6092
|
* The import was refused because this configuration is not empty. The body is
|
|
5161
6093
|
* flat: `code`, `message` and `details` sit at the top level.
|
|
@@ -5237,6 +6169,34 @@ export type ThreadOperationsListThreadsData = {
|
|
|
5237
6169
|
url: '/mailboxes/{mailboxId}/threads';
|
|
5238
6170
|
};
|
|
5239
6171
|
|
|
6172
|
+
export type ThreadOperationsListThreadsErrors = {
|
|
6173
|
+
/**
|
|
6174
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6175
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6176
|
+
* token where there is one.
|
|
6177
|
+
*
|
|
6178
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6179
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6180
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6181
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6182
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6183
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6184
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6185
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6186
|
+
* `unknown_occurrence`.
|
|
6187
|
+
*
|
|
6188
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6189
|
+
* handler ran, and names every field that was refused.
|
|
6190
|
+
*/
|
|
6191
|
+
400: ValidationError;
|
|
6192
|
+
/**
|
|
6193
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6194
|
+
*/
|
|
6195
|
+
401: ApiError;
|
|
6196
|
+
};
|
|
6197
|
+
|
|
6198
|
+
export type ThreadOperationsListThreadsError = ThreadOperationsListThreadsErrors[keyof ThreadOperationsListThreadsErrors];
|
|
6199
|
+
|
|
5240
6200
|
export type ThreadOperationsListThreadsResponses = {
|
|
5241
6201
|
/**
|
|
5242
6202
|
* The request has succeeded.
|
|
@@ -5303,6 +6263,34 @@ export type ThreadOperationsSearchThreadsData = {
|
|
|
5303
6263
|
url: '/mailboxes/{mailboxId}/threads/search';
|
|
5304
6264
|
};
|
|
5305
6265
|
|
|
6266
|
+
export type ThreadOperationsSearchThreadsErrors = {
|
|
6267
|
+
/**
|
|
6268
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6269
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6270
|
+
* token where there is one.
|
|
6271
|
+
*
|
|
6272
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6273
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6274
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6275
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6276
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6277
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6278
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6279
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6280
|
+
* `unknown_occurrence`.
|
|
6281
|
+
*
|
|
6282
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6283
|
+
* handler ran, and names every field that was refused.
|
|
6284
|
+
*/
|
|
6285
|
+
400: ValidationError;
|
|
6286
|
+
/**
|
|
6287
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6288
|
+
*/
|
|
6289
|
+
401: ApiError;
|
|
6290
|
+
};
|
|
6291
|
+
|
|
6292
|
+
export type ThreadOperationsSearchThreadsError = ThreadOperationsSearchThreadsErrors[keyof ThreadOperationsSearchThreadsErrors];
|
|
6293
|
+
|
|
5306
6294
|
export type ThreadOperationsSearchThreadsResponses = {
|
|
5307
6295
|
/**
|
|
5308
6296
|
* The request has succeeded.
|
|
@@ -5321,9 +6309,28 @@ export type MeOperationsDeleteMeData = {
|
|
|
5321
6309
|
|
|
5322
6310
|
export type MeOperationsDeleteMeErrors = {
|
|
5323
6311
|
/**
|
|
5324
|
-
*
|
|
6312
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6313
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6314
|
+
* token where there is one.
|
|
6315
|
+
*
|
|
6316
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6317
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6318
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6319
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6320
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6321
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6322
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6323
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6324
|
+
* `unknown_occurrence`.
|
|
6325
|
+
*
|
|
6326
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6327
|
+
* handler ran, and names every field that was refused.
|
|
6328
|
+
*/
|
|
6329
|
+
400: ValidationError;
|
|
6330
|
+
/**
|
|
6331
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5325
6332
|
*/
|
|
5326
|
-
|
|
6333
|
+
401: ApiError;
|
|
5327
6334
|
};
|
|
5328
6335
|
|
|
5329
6336
|
export type MeOperationsDeleteMeError = MeOperationsDeleteMeErrors[keyof MeOperationsDeleteMeErrors];
|
|
@@ -5344,6 +6351,15 @@ export type MeOperationsCreateExportData = {
|
|
|
5344
6351
|
url: '/me/export';
|
|
5345
6352
|
};
|
|
5346
6353
|
|
|
6354
|
+
export type MeOperationsCreateExportErrors = {
|
|
6355
|
+
/**
|
|
6356
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6357
|
+
*/
|
|
6358
|
+
401: ApiError;
|
|
6359
|
+
};
|
|
6360
|
+
|
|
6361
|
+
export type MeOperationsCreateExportError = MeOperationsCreateExportErrors[keyof MeOperationsCreateExportErrors];
|
|
6362
|
+
|
|
5347
6363
|
export type MeOperationsCreateExportResponses = {
|
|
5348
6364
|
/**
|
|
5349
6365
|
* Response body for POST /me/export
|
|
@@ -5362,6 +6378,19 @@ export type MeOperationsGetExportData = {
|
|
|
5362
6378
|
url: '/me/export/{exportId}';
|
|
5363
6379
|
};
|
|
5364
6380
|
|
|
6381
|
+
export type MeOperationsGetExportErrors = {
|
|
6382
|
+
/**
|
|
6383
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6384
|
+
*/
|
|
6385
|
+
401: ApiError;
|
|
6386
|
+
/**
|
|
6387
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6388
|
+
*/
|
|
6389
|
+
404: ApiError;
|
|
6390
|
+
};
|
|
6391
|
+
|
|
6392
|
+
export type MeOperationsGetExportError = MeOperationsGetExportErrors[keyof MeOperationsGetExportErrors];
|
|
6393
|
+
|
|
5365
6394
|
export type MeOperationsGetExportResponses = {
|
|
5366
6395
|
/**
|
|
5367
6396
|
* The request has succeeded.
|
|
@@ -5378,6 +6407,15 @@ export type MeOperationsListQuarantineData = {
|
|
|
5378
6407
|
url: '/me/quarantine';
|
|
5379
6408
|
};
|
|
5380
6409
|
|
|
6410
|
+
export type MeOperationsListQuarantineErrors = {
|
|
6411
|
+
/**
|
|
6412
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6413
|
+
*/
|
|
6414
|
+
401: ApiError;
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6417
|
+
export type MeOperationsListQuarantineError = MeOperationsListQuarantineErrors[keyof MeOperationsListQuarantineErrors];
|
|
6418
|
+
|
|
5381
6419
|
export type MeOperationsListQuarantineResponses = {
|
|
5382
6420
|
/**
|
|
5383
6421
|
* The request has succeeded.
|
|
@@ -5394,6 +6432,15 @@ export type MeOperationsListVipSuggestionsData = {
|
|
|
5394
6432
|
url: '/me/vip-suggestions';
|
|
5395
6433
|
};
|
|
5396
6434
|
|
|
6435
|
+
export type MeOperationsListVipSuggestionsErrors = {
|
|
6436
|
+
/**
|
|
6437
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6438
|
+
*/
|
|
6439
|
+
401: ApiError;
|
|
6440
|
+
};
|
|
6441
|
+
|
|
6442
|
+
export type MeOperationsListVipSuggestionsError = MeOperationsListVipSuggestionsErrors[keyof MeOperationsListVipSuggestionsErrors];
|
|
6443
|
+
|
|
5397
6444
|
export type MeOperationsListVipSuggestionsResponses = {
|
|
5398
6445
|
/**
|
|
5399
6446
|
* The request has succeeded.
|
|
@@ -5411,6 +6458,18 @@ export type MessageBulkOperationsCopyMessagesData = {
|
|
|
5411
6458
|
};
|
|
5412
6459
|
|
|
5413
6460
|
export type MessageBulkOperationsCopyMessagesErrors = {
|
|
6461
|
+
/**
|
|
6462
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6463
|
+
*/
|
|
6464
|
+
401: ApiError;
|
|
6465
|
+
/**
|
|
6466
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6467
|
+
*/
|
|
6468
|
+
403: ApiError;
|
|
6469
|
+
/**
|
|
6470
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6471
|
+
*/
|
|
6472
|
+
404: ApiError;
|
|
5414
6473
|
/**
|
|
5415
6474
|
* The same flat 409 body, for a message whose folder and uid do not name the same message.
|
|
5416
6475
|
*
|
|
@@ -5438,6 +6497,18 @@ export type MessageBulkOperationsDeleteMessagesData = {
|
|
|
5438
6497
|
};
|
|
5439
6498
|
|
|
5440
6499
|
export type MessageBulkOperationsDeleteMessagesErrors = {
|
|
6500
|
+
/**
|
|
6501
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6502
|
+
*/
|
|
6503
|
+
401: ApiError;
|
|
6504
|
+
/**
|
|
6505
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6506
|
+
*/
|
|
6507
|
+
403: ApiError;
|
|
6508
|
+
/**
|
|
6509
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6510
|
+
*/
|
|
6511
|
+
404: ApiError;
|
|
5441
6512
|
/**
|
|
5442
6513
|
* The same flat 409 body, with the two codes this endpoint can answer with.
|
|
5443
6514
|
*
|
|
@@ -5466,6 +6537,23 @@ export type MessageBulkOperationsUpdateFlagsData = {
|
|
|
5466
6537
|
url: '/messages/flags';
|
|
5467
6538
|
};
|
|
5468
6539
|
|
|
6540
|
+
export type MessageBulkOperationsUpdateFlagsErrors = {
|
|
6541
|
+
/**
|
|
6542
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6543
|
+
*/
|
|
6544
|
+
401: ApiError;
|
|
6545
|
+
/**
|
|
6546
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6547
|
+
*/
|
|
6548
|
+
403: ApiError;
|
|
6549
|
+
/**
|
|
6550
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6551
|
+
*/
|
|
6552
|
+
404: ApiError;
|
|
6553
|
+
};
|
|
6554
|
+
|
|
6555
|
+
export type MessageBulkOperationsUpdateFlagsError = MessageBulkOperationsUpdateFlagsErrors[keyof MessageBulkOperationsUpdateFlagsErrors];
|
|
6556
|
+
|
|
5469
6557
|
export type MessageBulkOperationsUpdateFlagsResponses = {
|
|
5470
6558
|
/**
|
|
5471
6559
|
* The request has succeeded.
|
|
@@ -5482,6 +6570,23 @@ export type MessageBulkOperationsUpdateMessageLabelsData = {
|
|
|
5482
6570
|
url: '/messages/labels';
|
|
5483
6571
|
};
|
|
5484
6572
|
|
|
6573
|
+
export type MessageBulkOperationsUpdateMessageLabelsErrors = {
|
|
6574
|
+
/**
|
|
6575
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6576
|
+
*/
|
|
6577
|
+
401: ApiError;
|
|
6578
|
+
/**
|
|
6579
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6580
|
+
*/
|
|
6581
|
+
403: ApiError;
|
|
6582
|
+
/**
|
|
6583
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6584
|
+
*/
|
|
6585
|
+
404: ApiError;
|
|
6586
|
+
};
|
|
6587
|
+
|
|
6588
|
+
export type MessageBulkOperationsUpdateMessageLabelsError = MessageBulkOperationsUpdateMessageLabelsErrors[keyof MessageBulkOperationsUpdateMessageLabelsErrors];
|
|
6589
|
+
|
|
5485
6590
|
export type MessageBulkOperationsUpdateMessageLabelsResponses = {
|
|
5486
6591
|
/**
|
|
5487
6592
|
* The request has succeeded.
|
|
@@ -5499,6 +6604,18 @@ export type MessageBulkOperationsMoveMessagesData = {
|
|
|
5499
6604
|
};
|
|
5500
6605
|
|
|
5501
6606
|
export type MessageBulkOperationsMoveMessagesErrors = {
|
|
6607
|
+
/**
|
|
6608
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6609
|
+
*/
|
|
6610
|
+
401: ApiError;
|
|
6611
|
+
/**
|
|
6612
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6613
|
+
*/
|
|
6614
|
+
403: ApiError;
|
|
6615
|
+
/**
|
|
6616
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6617
|
+
*/
|
|
6618
|
+
404: ApiError;
|
|
5502
6619
|
/**
|
|
5503
6620
|
* The same flat 409 body, for a message whose folder and uid do not name the same message.
|
|
5504
6621
|
*
|
|
@@ -5525,6 +6642,23 @@ export type MessageBulkOperationsNotSpamData = {
|
|
|
5525
6642
|
url: '/messages/not-spam';
|
|
5526
6643
|
};
|
|
5527
6644
|
|
|
6645
|
+
export type MessageBulkOperationsNotSpamErrors = {
|
|
6646
|
+
/**
|
|
6647
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6648
|
+
*/
|
|
6649
|
+
401: ApiError;
|
|
6650
|
+
/**
|
|
6651
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6652
|
+
*/
|
|
6653
|
+
403: ApiError;
|
|
6654
|
+
/**
|
|
6655
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6656
|
+
*/
|
|
6657
|
+
404: ApiError;
|
|
6658
|
+
};
|
|
6659
|
+
|
|
6660
|
+
export type MessageBulkOperationsNotSpamError = MessageBulkOperationsNotSpamErrors[keyof MessageBulkOperationsNotSpamErrors];
|
|
6661
|
+
|
|
5528
6662
|
export type MessageBulkOperationsNotSpamResponses = {
|
|
5529
6663
|
/**
|
|
5530
6664
|
* The request has succeeded.
|
|
@@ -5541,6 +6675,23 @@ export type MessageBulkOperationsReportSpamData = {
|
|
|
5541
6675
|
url: '/messages/report-spam';
|
|
5542
6676
|
};
|
|
5543
6677
|
|
|
6678
|
+
export type MessageBulkOperationsReportSpamErrors = {
|
|
6679
|
+
/**
|
|
6680
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6681
|
+
*/
|
|
6682
|
+
401: ApiError;
|
|
6683
|
+
/**
|
|
6684
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6685
|
+
*/
|
|
6686
|
+
403: ApiError;
|
|
6687
|
+
/**
|
|
6688
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6689
|
+
*/
|
|
6690
|
+
404: ApiError;
|
|
6691
|
+
};
|
|
6692
|
+
|
|
6693
|
+
export type MessageBulkOperationsReportSpamError = MessageBulkOperationsReportSpamErrors[keyof MessageBulkOperationsReportSpamErrors];
|
|
6694
|
+
|
|
5544
6695
|
export type MessageBulkOperationsReportSpamResponses = {
|
|
5545
6696
|
/**
|
|
5546
6697
|
* The request has succeeded.
|
|
@@ -5559,6 +6710,23 @@ export type MessageOperationsDescribeMessageData = {
|
|
|
5559
6710
|
url: '/messages/{messageId}';
|
|
5560
6711
|
};
|
|
5561
6712
|
|
|
6713
|
+
export type MessageOperationsDescribeMessageErrors = {
|
|
6714
|
+
/**
|
|
6715
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6716
|
+
*/
|
|
6717
|
+
401: ApiError;
|
|
6718
|
+
/**
|
|
6719
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6720
|
+
*/
|
|
6721
|
+
404: ApiError;
|
|
6722
|
+
/**
|
|
6723
|
+
* The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
|
|
6724
|
+
*/
|
|
6725
|
+
422: ApiError;
|
|
6726
|
+
};
|
|
6727
|
+
|
|
6728
|
+
export type MessageOperationsDescribeMessageError = MessageOperationsDescribeMessageErrors[keyof MessageOperationsDescribeMessageErrors];
|
|
6729
|
+
|
|
5562
6730
|
export type MessageOperationsDescribeMessageResponses = {
|
|
5563
6731
|
/**
|
|
5564
6732
|
* The request has succeeded.
|
|
@@ -5579,9 +6747,28 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsDat
|
|
|
5579
6747
|
|
|
5580
6748
|
export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors = {
|
|
5581
6749
|
/**
|
|
5582
|
-
*
|
|
6750
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6751
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6752
|
+
* token where there is one.
|
|
6753
|
+
*
|
|
6754
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6755
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6756
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6757
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6758
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6759
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6760
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6761
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6762
|
+
* `unknown_occurrence`.
|
|
6763
|
+
*
|
|
6764
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6765
|
+
* handler ran, and names every field that was refused.
|
|
6766
|
+
*/
|
|
6767
|
+
400: ValidationError;
|
|
6768
|
+
/**
|
|
6769
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
5583
6770
|
*/
|
|
5584
|
-
|
|
6771
|
+
401: ApiError;
|
|
5585
6772
|
};
|
|
5586
6773
|
|
|
5587
6774
|
export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsError = MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors[keyof MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErrors];
|
|
@@ -5610,6 +6797,23 @@ export type MessageOperationsUpdateMessageFlagsData = {
|
|
|
5610
6797
|
url: '/messages/{messageId}/flags';
|
|
5611
6798
|
};
|
|
5612
6799
|
|
|
6800
|
+
export type MessageOperationsUpdateMessageFlagsErrors = {
|
|
6801
|
+
/**
|
|
6802
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6803
|
+
*/
|
|
6804
|
+
401: ApiError;
|
|
6805
|
+
/**
|
|
6806
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6807
|
+
*/
|
|
6808
|
+
403: ApiError;
|
|
6809
|
+
/**
|
|
6810
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6811
|
+
*/
|
|
6812
|
+
404: ApiError;
|
|
6813
|
+
};
|
|
6814
|
+
|
|
6815
|
+
export type MessageOperationsUpdateMessageFlagsError = MessageOperationsUpdateMessageFlagsErrors[keyof MessageOperationsUpdateMessageFlagsErrors];
|
|
6816
|
+
|
|
5613
6817
|
export type MessageOperationsUpdateMessageFlagsResponses = {
|
|
5614
6818
|
/**
|
|
5615
6819
|
* The request has succeeded.
|
|
@@ -5632,6 +6836,19 @@ export type MessageOperationsGetRawMessageData = {
|
|
|
5632
6836
|
url: '/messages/{messageId}/raw';
|
|
5633
6837
|
};
|
|
5634
6838
|
|
|
6839
|
+
export type MessageOperationsGetRawMessageErrors = {
|
|
6840
|
+
/**
|
|
6841
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6842
|
+
*/
|
|
6843
|
+
401: ApiError;
|
|
6844
|
+
/**
|
|
6845
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6846
|
+
*/
|
|
6847
|
+
404: ApiError;
|
|
6848
|
+
};
|
|
6849
|
+
|
|
6850
|
+
export type MessageOperationsGetRawMessageError = MessageOperationsGetRawMessageErrors[keyof MessageOperationsGetRawMessageErrors];
|
|
6851
|
+
|
|
5635
6852
|
export type MessageOperationsGetRawMessageResponses = {
|
|
5636
6853
|
/**
|
|
5637
6854
|
* The request has succeeded.
|
|
@@ -5650,6 +6867,34 @@ export type OutboxOperationsListOutboxMessagesData = {
|
|
|
5650
6867
|
url: '/outbox';
|
|
5651
6868
|
};
|
|
5652
6869
|
|
|
6870
|
+
export type OutboxOperationsListOutboxMessagesErrors = {
|
|
6871
|
+
/**
|
|
6872
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
6873
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
6874
|
+
* token where there is one.
|
|
6875
|
+
*
|
|
6876
|
+
* The calendar surface answers with the reason it read the request by:
|
|
6877
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
6878
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
6879
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
6880
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
6881
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
6882
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
6883
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
6884
|
+
* `unknown_occurrence`.
|
|
6885
|
+
*
|
|
6886
|
+
* `errors` is present only when the request failed schema validation before any
|
|
6887
|
+
* handler ran, and names every field that was refused.
|
|
6888
|
+
*/
|
|
6889
|
+
400: ValidationError;
|
|
6890
|
+
/**
|
|
6891
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6892
|
+
*/
|
|
6893
|
+
401: ApiError;
|
|
6894
|
+
};
|
|
6895
|
+
|
|
6896
|
+
export type OutboxOperationsListOutboxMessagesError = OutboxOperationsListOutboxMessagesErrors[keyof OutboxOperationsListOutboxMessagesErrors];
|
|
6897
|
+
|
|
5653
6898
|
export type OutboxOperationsListOutboxMessagesResponses = {
|
|
5654
6899
|
/**
|
|
5655
6900
|
* The request has succeeded.
|
|
@@ -5672,6 +6917,23 @@ export type OutboxOperationsCreateOutboxMessageData = {
|
|
|
5672
6917
|
url: '/outbox';
|
|
5673
6918
|
};
|
|
5674
6919
|
|
|
6920
|
+
export type OutboxOperationsCreateOutboxMessageErrors = {
|
|
6921
|
+
/**
|
|
6922
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6923
|
+
*/
|
|
6924
|
+
401: ApiError;
|
|
6925
|
+
/**
|
|
6926
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6927
|
+
*/
|
|
6928
|
+
403: ApiError;
|
|
6929
|
+
/**
|
|
6930
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6931
|
+
*/
|
|
6932
|
+
404: ApiError;
|
|
6933
|
+
};
|
|
6934
|
+
|
|
6935
|
+
export type OutboxOperationsCreateOutboxMessageError = OutboxOperationsCreateOutboxMessageErrors[keyof OutboxOperationsCreateOutboxMessageErrors];
|
|
6936
|
+
|
|
5675
6937
|
export type OutboxOperationsCreateOutboxMessageResponses = {
|
|
5676
6938
|
/**
|
|
5677
6939
|
* The request has succeeded.
|
|
@@ -5690,9 +6952,26 @@ export type OutboxDetailOperationsDeleteOutboxMessageData = {
|
|
|
5690
6952
|
url: '/outbox/{outboxMessageId}';
|
|
5691
6953
|
};
|
|
5692
6954
|
|
|
6955
|
+
export type OutboxDetailOperationsDeleteOutboxMessageErrors = {
|
|
6956
|
+
/**
|
|
6957
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6958
|
+
*/
|
|
6959
|
+
401: ApiError;
|
|
6960
|
+
/**
|
|
6961
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
6962
|
+
*/
|
|
6963
|
+
403: ApiError;
|
|
6964
|
+
/**
|
|
6965
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6966
|
+
*/
|
|
6967
|
+
404: ApiError;
|
|
6968
|
+
};
|
|
6969
|
+
|
|
6970
|
+
export type OutboxDetailOperationsDeleteOutboxMessageError = OutboxDetailOperationsDeleteOutboxMessageErrors[keyof OutboxDetailOperationsDeleteOutboxMessageErrors];
|
|
6971
|
+
|
|
5693
6972
|
export type OutboxDetailOperationsDeleteOutboxMessageResponses = {
|
|
5694
6973
|
/**
|
|
5695
|
-
*
|
|
6974
|
+
* Nothing to return. The request succeeded and the response carries no body.
|
|
5696
6975
|
*/
|
|
5697
6976
|
204: void;
|
|
5698
6977
|
};
|
|
@@ -5708,6 +6987,19 @@ export type OutboxDetailOperationsGetOutboxMessageData = {
|
|
|
5708
6987
|
url: '/outbox/{outboxMessageId}';
|
|
5709
6988
|
};
|
|
5710
6989
|
|
|
6990
|
+
export type OutboxDetailOperationsGetOutboxMessageErrors = {
|
|
6991
|
+
/**
|
|
6992
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
6993
|
+
*/
|
|
6994
|
+
401: ApiError;
|
|
6995
|
+
/**
|
|
6996
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
6997
|
+
*/
|
|
6998
|
+
404: ApiError;
|
|
6999
|
+
};
|
|
7000
|
+
|
|
7001
|
+
export type OutboxDetailOperationsGetOutboxMessageError = OutboxDetailOperationsGetOutboxMessageErrors[keyof OutboxDetailOperationsGetOutboxMessageErrors];
|
|
7002
|
+
|
|
5711
7003
|
export type OutboxDetailOperationsGetOutboxMessageResponses = {
|
|
5712
7004
|
/**
|
|
5713
7005
|
* The request has succeeded.
|
|
@@ -5726,6 +7018,23 @@ export type OutboxDetailOperationsUpdateOutboxMessageData = {
|
|
|
5726
7018
|
url: '/outbox/{outboxMessageId}';
|
|
5727
7019
|
};
|
|
5728
7020
|
|
|
7021
|
+
export type OutboxDetailOperationsUpdateOutboxMessageErrors = {
|
|
7022
|
+
/**
|
|
7023
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7024
|
+
*/
|
|
7025
|
+
401: ApiError;
|
|
7026
|
+
/**
|
|
7027
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
7028
|
+
*/
|
|
7029
|
+
403: ApiError;
|
|
7030
|
+
/**
|
|
7031
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7032
|
+
*/
|
|
7033
|
+
404: ApiError;
|
|
7034
|
+
};
|
|
7035
|
+
|
|
7036
|
+
export type OutboxDetailOperationsUpdateOutboxMessageError = OutboxDetailOperationsUpdateOutboxMessageErrors[keyof OutboxDetailOperationsUpdateOutboxMessageErrors];
|
|
7037
|
+
|
|
5729
7038
|
export type OutboxDetailOperationsUpdateOutboxMessageResponses = {
|
|
5730
7039
|
/**
|
|
5731
7040
|
* The request has succeeded.
|
|
@@ -5746,11 +7055,15 @@ export type OutboxDetailOperationsMintOutboxAttachmentData = {
|
|
|
5746
7055
|
|
|
5747
7056
|
export type OutboxDetailOperationsMintOutboxAttachmentErrors = {
|
|
5748
7057
|
/**
|
|
5749
|
-
* Refusal response for an attachment
|
|
7058
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5750
7059
|
*/
|
|
5751
7060
|
400: RemitImapOutboxAttachmentRejection;
|
|
5752
7061
|
/**
|
|
5753
|
-
*
|
|
7062
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7063
|
+
*/
|
|
7064
|
+
401: ApiError;
|
|
7065
|
+
/**
|
|
7066
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5754
7067
|
*/
|
|
5755
7068
|
413: RemitImapOutboxAttachmentRejection;
|
|
5756
7069
|
};
|
|
@@ -5778,11 +7091,15 @@ export type OutboxAttachmentOperationsCompleteOutboxAttachmentData = {
|
|
|
5778
7091
|
|
|
5779
7092
|
export type OutboxAttachmentOperationsCompleteOutboxAttachmentErrors = {
|
|
5780
7093
|
/**
|
|
5781
|
-
* Refusal response for an attachment
|
|
7094
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5782
7095
|
*/
|
|
5783
7096
|
400: RemitImapOutboxAttachmentRejection;
|
|
5784
7097
|
/**
|
|
5785
|
-
*
|
|
7098
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7099
|
+
*/
|
|
7100
|
+
401: ApiError;
|
|
7101
|
+
/**
|
|
7102
|
+
* Refusal response for an attachment. Flat, like every other error body.
|
|
5786
7103
|
*/
|
|
5787
7104
|
413: RemitImapOutboxAttachmentRejection;
|
|
5788
7105
|
};
|
|
@@ -5807,6 +7124,23 @@ export type OutboxDetailOperationsSendOutboxMessageData = {
|
|
|
5807
7124
|
url: '/outbox/{outboxMessageId}/send';
|
|
5808
7125
|
};
|
|
5809
7126
|
|
|
7127
|
+
export type OutboxDetailOperationsSendOutboxMessageErrors = {
|
|
7128
|
+
/**
|
|
7129
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7130
|
+
*/
|
|
7131
|
+
401: ApiError;
|
|
7132
|
+
/**
|
|
7133
|
+
* The caller is known and may not do this. `code` is `forbidden`.
|
|
7134
|
+
*/
|
|
7135
|
+
403: ApiError;
|
|
7136
|
+
/**
|
|
7137
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7138
|
+
*/
|
|
7139
|
+
404: ApiError;
|
|
7140
|
+
};
|
|
7141
|
+
|
|
7142
|
+
export type OutboxDetailOperationsSendOutboxMessageError = OutboxDetailOperationsSendOutboxMessageErrors[keyof OutboxDetailOperationsSendOutboxMessageErrors];
|
|
7143
|
+
|
|
5810
7144
|
export type OutboxDetailOperationsSendOutboxMessageResponses = {
|
|
5811
7145
|
/**
|
|
5812
7146
|
* The request has succeeded.
|
|
@@ -5860,6 +7194,15 @@ export type SemanticSearchOperationsSemanticSearchData = {
|
|
|
5860
7194
|
url: '/search/semantic';
|
|
5861
7195
|
};
|
|
5862
7196
|
|
|
7197
|
+
export type SemanticSearchOperationsSemanticSearchErrors = {
|
|
7198
|
+
/**
|
|
7199
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7200
|
+
*/
|
|
7201
|
+
401: ApiError;
|
|
7202
|
+
};
|
|
7203
|
+
|
|
7204
|
+
export type SemanticSearchOperationsSemanticSearchError = SemanticSearchOperationsSemanticSearchErrors[keyof SemanticSearchOperationsSemanticSearchErrors];
|
|
7205
|
+
|
|
5863
7206
|
export type SemanticSearchOperationsSemanticSearchResponses = {
|
|
5864
7207
|
/**
|
|
5865
7208
|
* The request has succeeded.
|
|
@@ -5880,6 +7223,19 @@ export type SystemOperationsGetSystemUpdateData = {
|
|
|
5880
7223
|
url: '/system/update';
|
|
5881
7224
|
};
|
|
5882
7225
|
|
|
7226
|
+
export type SystemOperationsGetSystemUpdateErrors = {
|
|
7227
|
+
/**
|
|
7228
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7229
|
+
*/
|
|
7230
|
+
401: ApiError;
|
|
7231
|
+
/**
|
|
7232
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7233
|
+
*/
|
|
7234
|
+
404: ApiError;
|
|
7235
|
+
};
|
|
7236
|
+
|
|
7237
|
+
export type SystemOperationsGetSystemUpdateError = SystemOperationsGetSystemUpdateErrors[keyof SystemOperationsGetSystemUpdateErrors];
|
|
7238
|
+
|
|
5883
7239
|
export type SystemOperationsGetSystemUpdateResponses = {
|
|
5884
7240
|
/**
|
|
5885
7241
|
* The request has succeeded.
|
|
@@ -5896,6 +7252,29 @@ export type SystemOperationsApplySystemUpdateData = {
|
|
|
5896
7252
|
url: '/system/update';
|
|
5897
7253
|
};
|
|
5898
7254
|
|
|
7255
|
+
export type SystemOperationsApplySystemUpdateErrors = {
|
|
7256
|
+
/**
|
|
7257
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7258
|
+
*/
|
|
7259
|
+
401: ApiError;
|
|
7260
|
+
/**
|
|
7261
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7262
|
+
*/
|
|
7263
|
+
404: ApiError;
|
|
7264
|
+
/**
|
|
7265
|
+
* The request contradicts the state the resource is in. `code` is `conflict`
|
|
7266
|
+
* unless the refusal names its own — see `FolderRoleConflict`,
|
|
7267
|
+
* `MessagePlacementConflict` and `ConfigImportConflict`.
|
|
7268
|
+
*/
|
|
7269
|
+
409: ApiError;
|
|
7270
|
+
/**
|
|
7271
|
+
* The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
|
|
7272
|
+
*/
|
|
7273
|
+
422: ApiError;
|
|
7274
|
+
};
|
|
7275
|
+
|
|
7276
|
+
export type SystemOperationsApplySystemUpdateError = SystemOperationsApplySystemUpdateErrors[keyof SystemOperationsApplySystemUpdateErrors];
|
|
7277
|
+
|
|
5899
7278
|
export type SystemOperationsApplySystemUpdateResponses = {
|
|
5900
7279
|
/**
|
|
5901
7280
|
* The request has succeeded.
|
|
@@ -5964,6 +7343,34 @@ export type UnifiedThreadOperationsListAllThreadsData = {
|
|
|
5964
7343
|
url: '/threads';
|
|
5965
7344
|
};
|
|
5966
7345
|
|
|
7346
|
+
export type UnifiedThreadOperationsListAllThreadsErrors = {
|
|
7347
|
+
/**
|
|
7348
|
+
* The request was refused as malformed or contradictory. `code` is
|
|
7349
|
+
* `invalid_request` where nothing more specific is known, and the refusal's own
|
|
7350
|
+
* token where there is one.
|
|
7351
|
+
*
|
|
7352
|
+
* The calendar surface answers with the reason it read the request by:
|
|
7353
|
+
* `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
|
|
7354
|
+
* `unknown_time_zone` and `default_calendar_undeletable` on the collection and
|
|
7355
|
+
* the query, and, for a VCALENDAR it could not accept,
|
|
7356
|
+
* `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
|
|
7357
|
+
* `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
|
|
7358
|
+
* `missing_dt_start`, `backwards_end`, `invalid_date_time`,
|
|
7359
|
+
* `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring` and
|
|
7360
|
+
* `unknown_occurrence`.
|
|
7361
|
+
*
|
|
7362
|
+
* `errors` is present only when the request failed schema validation before any
|
|
7363
|
+
* handler ran, and names every field that was refused.
|
|
7364
|
+
*/
|
|
7365
|
+
400: ValidationError;
|
|
7366
|
+
/**
|
|
7367
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7368
|
+
*/
|
|
7369
|
+
401: ApiError;
|
|
7370
|
+
};
|
|
7371
|
+
|
|
7372
|
+
export type UnifiedThreadOperationsListAllThreadsError = UnifiedThreadOperationsListAllThreadsErrors[keyof UnifiedThreadOperationsListAllThreadsErrors];
|
|
7373
|
+
|
|
5967
7374
|
export type UnifiedThreadOperationsListAllThreadsResponses = {
|
|
5968
7375
|
/**
|
|
5969
7376
|
* The request has succeeded.
|
|
@@ -5984,6 +7391,19 @@ export type ThreadDetailOperationsListThreadMessagesData = {
|
|
|
5984
7391
|
url: '/threads/{threadId}/messages';
|
|
5985
7392
|
};
|
|
5986
7393
|
|
|
7394
|
+
export type ThreadDetailOperationsListThreadMessagesErrors = {
|
|
7395
|
+
/**
|
|
7396
|
+
* The request carried no usable credential. `code` is `unauthorized`.
|
|
7397
|
+
*/
|
|
7398
|
+
401: ApiError;
|
|
7399
|
+
/**
|
|
7400
|
+
* Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
|
|
7401
|
+
*/
|
|
7402
|
+
404: ApiError;
|
|
7403
|
+
};
|
|
7404
|
+
|
|
7405
|
+
export type ThreadDetailOperationsListThreadMessagesError = ThreadDetailOperationsListThreadMessagesErrors[keyof ThreadDetailOperationsListThreadMessagesErrors];
|
|
7406
|
+
|
|
5987
7407
|
export type ThreadDetailOperationsListThreadMessagesResponses = {
|
|
5988
7408
|
/**
|
|
5989
7409
|
* The request has succeeded.
|