@remit/api-http-client 0.0.65 → 0.0.66

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.
@@ -1279,7 +1279,7 @@ export const outboxOperationsListOutboxMessagesOptions = (options?: Options<Outb
1279
1279
  });
1280
1280
 
1281
1281
  /**
1282
- * Create a new outbox message (draft or send immediately)
1282
+ * Create a new outbox message (draft or send immediately). A send-immediately create from an account whose syncedServices leave out Mail is refused with 400 `mail_sync_off`.
1283
1283
  */
1284
1284
  export const outboxOperationsCreateOutboxMessageMutation = (options?: Partial<Options<OutboxOperationsCreateOutboxMessageData>>): UseMutationOptions<OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageError, Options<OutboxOperationsCreateOutboxMessageData>> => {
1285
1285
  const mutationOptions: UseMutationOptions<OutboxOperationsCreateOutboxMessageResponse, OutboxOperationsCreateOutboxMessageError, Options<OutboxOperationsCreateOutboxMessageData>> = {
@@ -1382,7 +1382,7 @@ export const outboxAttachmentOperationsCompleteOutboxAttachmentMutation = (optio
1382
1382
  };
1383
1383
 
1384
1384
  /**
1385
- * Queue a draft message for sending
1385
+ * Queue a draft message for sending. A draft on an account whose syncedServices leave out Mail is refused with 400 `mail_sync_off`, and stays a draft.
1386
1386
  */
1387
1387
  export const outboxDetailOperationsSendOutboxMessageMutation = (options?: Partial<Options<OutboxDetailOperationsSendOutboxMessageData>>): UseMutationOptions<OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageError, Options<OutboxDetailOperationsSendOutboxMessageData>> => {
1388
1388
  const mutationOptions: UseMutationOptions<OutboxDetailOperationsSendOutboxMessageResponse, OutboxDetailOperationsSendOutboxMessageError, Options<OutboxDetailOperationsSendOutboxMessageData>> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/sdk.gen.ts CHANGED
@@ -773,7 +773,7 @@ export const outboxOperationsListOutboxMessages = <ThrowOnError extends boolean
773
773
  });
774
774
 
775
775
  /**
776
- * Create a new outbox message (draft or send immediately)
776
+ * Create a new outbox message (draft or send immediately). A send-immediately create from an account whose syncedServices leave out Mail is refused with 400 `mail_sync_off`.
777
777
  */
778
778
  export const outboxOperationsCreateOutboxMessage = <ThrowOnError extends boolean = false>(options: Options<OutboxOperationsCreateOutboxMessageData, ThrowOnError>): RequestResult<OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageErrors, ThrowOnError> => (options.client ?? client).post<OutboxOperationsCreateOutboxMessageResponses, OutboxOperationsCreateOutboxMessageErrors, ThrowOnError>({
779
779
  security: [{ name: 'Authorization', type: 'apiKey' }],
@@ -839,7 +839,7 @@ export const outboxAttachmentOperationsCompleteOutboxAttachment = <ThrowOnError
839
839
  });
840
840
 
841
841
  /**
842
- * Queue a draft message for sending
842
+ * Queue a draft message for sending. A draft on an account whose syncedServices leave out Mail is refused with 400 `mail_sync_off`, and stays a draft.
843
843
  */
844
844
  export const outboxDetailOperationsSendOutboxMessage = <ThrowOnError extends boolean = false>(options: Options<OutboxDetailOperationsSendOutboxMessageData, ThrowOnError>): RequestResult<OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageErrors, ThrowOnError> => (options.client ?? client).post<OutboxDetailOperationsSendOutboxMessageResponses, OutboxDetailOperationsSendOutboxMessageErrors, ThrowOnError>({
845
845
  security: [{ name: 'Authorization', type: 'apiKey' }],
package/types.gen.ts CHANGED
@@ -3676,7 +3676,9 @@ export type Uuid = string;
3676
3676
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
3677
3677
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
3678
3678
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
3679
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
3679
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
3680
+ * send from an account whose `syncedServices` leave out `Mail`, with the
3681
+ * account in `details.accountId`.
3680
3682
  *
3681
3683
  * `errors` is present only when the request failed schema validation before any
3682
3684
  * handler ran, and names every field that was refused.
@@ -4064,7 +4066,9 @@ export type AccountOperationsCreateAccountErrors = {
4064
4066
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4065
4067
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4066
4068
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4067
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4069
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4070
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4071
+ * account in `details.accountId`.
4068
4072
  *
4069
4073
  * `errors` is present only when the request failed schema validation before any
4070
4074
  * handler ran, and names every field that was refused.
@@ -4125,7 +4129,9 @@ export type MicrosoftOAuthOperationsMicrosoftOAuthStartErrors = {
4125
4129
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4126
4130
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4127
4131
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4128
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4132
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4133
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4134
+ * account in `details.accountId`.
4129
4135
  *
4130
4136
  * `errors` is present only when the request failed schema validation before any
4131
4137
  * handler ran, and names every field that was refused.
@@ -4272,7 +4278,9 @@ export type FilterOperationsListFiltersErrors = {
4272
4278
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4273
4279
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4274
4280
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4275
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4281
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4282
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4283
+ * account in `details.accountId`.
4276
4284
  *
4277
4285
  * `errors` is present only when the request failed schema validation before any
4278
4286
  * handler ran, and names every field that was refused.
@@ -4328,7 +4336,9 @@ export type FilterOperationsCreateFilterErrors = {
4328
4336
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4329
4337
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4330
4338
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4331
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4339
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4340
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4341
+ * account in `details.accountId`.
4332
4342
  *
4333
4343
  * `errors` is present only when the request failed schema validation before any
4334
4344
  * handler ran, and names every field that was refused.
@@ -4554,7 +4564,9 @@ export type LabelOperationsListLabelsErrors = {
4554
4564
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4555
4565
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4556
4566
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4557
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4567
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4568
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4569
+ * account in `details.accountId`.
4558
4570
  *
4559
4571
  * `errors` is present only when the request failed schema validation before any
4560
4572
  * handler ran, and names every field that was refused.
@@ -4751,7 +4763,9 @@ export type MailboxOperationsListMailboxesErrors = {
4751
4763
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4752
4764
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4753
4765
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4754
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4766
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4767
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4768
+ * account in `details.accountId`.
4755
4769
  *
4756
4770
  * `errors` is present only when the request failed schema validation before any
4757
4771
  * handler ran, and names every field that was refused.
@@ -4807,7 +4821,9 @@ export type MailboxOperationsCreateMailboxErrors = {
4807
4821
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4808
4822
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4809
4823
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4810
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4824
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4825
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4826
+ * account in `details.accountId`.
4811
4827
  *
4812
4828
  * `errors` is present only when the request failed schema validation before any
4813
4829
  * handler ran, and names every field that was refused.
@@ -4862,7 +4878,9 @@ export type MailboxDetailOperationsDeleteMailboxErrors = {
4862
4878
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4863
4879
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4864
4880
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4865
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4881
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4882
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4883
+ * account in `details.accountId`.
4866
4884
  *
4867
4885
  * `errors` is present only when the request failed schema validation before any
4868
4886
  * handler ran, and names every field that was refused.
@@ -4955,7 +4973,9 @@ export type MailboxDetailOperationsRenameMailboxErrors = {
4955
4973
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
4956
4974
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
4957
4975
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
4958
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
4976
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
4977
+ * send from an account whose `syncedServices` leave out `Mail`, with the
4978
+ * account in `details.accountId`.
4959
4979
  *
4960
4980
  * `errors` is present only when the request failed schema validation before any
4961
4981
  * handler ran, and names every field that was refused.
@@ -5015,7 +5035,9 @@ export type OrganizeOperationsCreateOrganizeJobErrors = {
5015
5035
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5016
5036
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5017
5037
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5018
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5038
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5039
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5040
+ * account in `details.accountId`.
5019
5041
  *
5020
5042
  * `errors` is present only when the request failed schema validation before any
5021
5043
  * handler ran, and names every field that was refused.
@@ -5069,7 +5091,9 @@ export type OrganizeOperationsPreviewOrganizeErrors = {
5069
5091
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5070
5092
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5071
5093
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5072
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5094
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5095
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5096
+ * account in `details.accountId`.
5073
5097
  *
5074
5098
  * `errors` is present only when the request failed schema validation before any
5075
5099
  * handler ran, and names every field that was refused.
@@ -5338,7 +5362,9 @@ export type CalendarEventOperationsListCalendarEventsErrors = {
5338
5362
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5339
5363
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5340
5364
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5341
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5365
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5366
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5367
+ * account in `details.accountId`.
5342
5368
  *
5343
5369
  * `errors` is present only when the request failed schema validation before any
5344
5370
  * handler ran, and names every field that was refused.
@@ -5386,7 +5412,9 @@ export type CalendarEventOperationsCreateCalendarEventErrors = {
5386
5412
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5387
5413
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5388
5414
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5389
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5415
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5416
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5417
+ * account in `details.accountId`.
5390
5418
  *
5391
5419
  * `errors` is present only when the request failed schema validation before any
5392
5420
  * handler ran, and names every field that was refused.
@@ -5452,7 +5480,9 @@ export type CalendarEventDetailOperationsDeleteCalendarEventErrors = {
5452
5480
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5453
5481
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5454
5482
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5455
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5483
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5484
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5485
+ * account in `details.accountId`.
5456
5486
  *
5457
5487
  * `errors` is present only when the request failed schema validation before any
5458
5488
  * handler ran, and names every field that was refused.
@@ -5515,7 +5545,9 @@ export type CalendarEventDetailOperationsGetCalendarEventErrors = {
5515
5545
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5516
5546
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5517
5547
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5518
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5548
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5549
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5550
+ * account in `details.accountId`.
5519
5551
  *
5520
5552
  * `errors` is present only when the request failed schema validation before any
5521
5553
  * handler ran, and names every field that was refused.
@@ -5581,7 +5613,9 @@ export type CalendarEventDetailOperationsUpdateCalendarEventErrors = {
5581
5613
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5582
5614
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5583
5615
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5584
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5616
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5617
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5618
+ * account in `details.accountId`.
5585
5619
  *
5586
5620
  * `errors` is present only when the request failed schema validation before any
5587
5621
  * handler ran, and names every field that was refused.
@@ -5646,7 +5680,9 @@ export type CalendarFreeBusyOperationsListCalendarFreeBusyErrors = {
5646
5680
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5647
5681
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5648
5682
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5649
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5683
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5684
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5685
+ * account in `details.accountId`.
5650
5686
  *
5651
5687
  * `errors` is present only when the request failed schema validation before any
5652
5688
  * handler ran, and names every field that was refused.
@@ -5693,7 +5729,9 @@ export type CalendarSuggestionOperationsListCalendarSuggestionsErrors = {
5693
5729
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5694
5730
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5695
5731
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5696
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5732
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5733
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5734
+ * account in `details.accountId`.
5697
5735
  *
5698
5736
  * `errors` is present only when the request failed schema validation before any
5699
5737
  * handler ran, and names every field that was refused.
@@ -5745,7 +5783,9 @@ export type CalendarSuggestionActionOperationsAcceptCalendarSuggestionErrors = {
5745
5783
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5746
5784
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5747
5785
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5748
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5786
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5787
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5788
+ * account in `details.accountId`.
5749
5789
  *
5750
5790
  * `errors` is present only when the request failed schema validation before any
5751
5791
  * handler ran, and names every field that was refused.
@@ -5795,7 +5835,9 @@ export type CalendarSuggestionActionOperationsDeclineCalendarSuggestionErrors =
5795
5835
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5796
5836
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5797
5837
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5798
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5838
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5839
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5840
+ * account in `details.accountId`.
5799
5841
  *
5800
5842
  * `errors` is present only when the request failed schema validation before any
5801
5843
  * handler ran, and names every field that was refused.
@@ -5845,7 +5887,9 @@ export type CalendarSuggestionActionOperationsDismissCalendarSuggestionErrors =
5845
5887
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5846
5888
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5847
5889
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5848
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5890
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5891
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5892
+ * account in `details.accountId`.
5849
5893
  *
5850
5894
  * `errors` is present only when the request failed schema validation before any
5851
5895
  * handler ran, and names every field that was refused.
@@ -5918,7 +5962,9 @@ export type CalendarOperationsCreateCalendarErrors = {
5918
5962
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5919
5963
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5920
5964
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5921
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
5965
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
5966
+ * send from an account whose `syncedServices` leave out `Mail`, with the
5967
+ * account in `details.accountId`.
5922
5968
  *
5923
5969
  * `errors` is present only when the request failed schema validation before any
5924
5970
  * handler ran, and names every field that was refused.
@@ -5964,7 +6010,9 @@ export type CalendarDetailOperationsDeleteCalendarErrors = {
5964
6010
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
5965
6011
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
5966
6012
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
5967
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6013
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6014
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6015
+ * account in `details.accountId`.
5968
6016
  *
5969
6017
  * `errors` is present only when the request failed schema validation before any
5970
6018
  * handler ran, and names every field that was refused.
@@ -6045,7 +6093,9 @@ export type CalendarDetailOperationsUpdateCalendarErrors = {
6045
6093
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6046
6094
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6047
6095
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6048
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6096
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6097
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6098
+ * account in `details.accountId`.
6049
6099
  *
6050
6100
  * `errors` is present only when the request failed schema validation before any
6051
6101
  * handler ran, and names every field that was refused.
@@ -6236,7 +6286,9 @@ export type ConfigOperationsImportConfigErrors = {
6236
6286
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6237
6287
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6238
6288
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6239
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6289
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6290
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6291
+ * account in `details.accountId`.
6240
6292
  *
6241
6293
  * `errors` is present only when the request failed schema validation before any
6242
6294
  * handler ran, and names every field that was refused.
@@ -6341,7 +6393,9 @@ export type ThreadOperationsListThreadsErrors = {
6341
6393
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6342
6394
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6343
6395
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6344
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6396
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6397
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6398
+ * account in `details.accountId`.
6345
6399
  *
6346
6400
  * `errors` is present only when the request failed schema validation before any
6347
6401
  * handler ran, and names every field that was refused.
@@ -6435,7 +6489,9 @@ export type ThreadOperationsSearchThreadsErrors = {
6435
6489
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6436
6490
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6437
6491
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6438
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6492
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6493
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6494
+ * account in `details.accountId`.
6439
6495
  *
6440
6496
  * `errors` is present only when the request failed schema validation before any
6441
6497
  * handler ran, and names every field that was refused.
@@ -6479,7 +6535,9 @@ export type MeOperationsDeleteMeErrors = {
6479
6535
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6480
6536
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6481
6537
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6482
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6538
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6539
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6540
+ * account in `details.accountId`.
6483
6541
  *
6484
6542
  * `errors` is present only when the request failed schema validation before any
6485
6543
  * handler ran, and names every field that was refused.
@@ -6933,7 +6991,9 @@ export type MessageCalendarSuggestionOperationsListMessageCalendarSuggestionsErr
6933
6991
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
6934
6992
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
6935
6993
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
6936
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
6994
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
6995
+ * send from an account whose `syncedServices` leave out `Mail`, with the
6996
+ * account in `details.accountId`.
6937
6997
  *
6938
6998
  * `errors` is present only when the request failed schema validation before any
6939
6999
  * handler ran, and names every field that was refused.
@@ -7055,7 +7115,9 @@ export type OutboxOperationsListOutboxMessagesErrors = {
7055
7115
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
7056
7116
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
7057
7117
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
7058
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
7118
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
7119
+ * send from an account whose `syncedServices` leave out `Mail`, with the
7120
+ * account in `details.accountId`.
7059
7121
  *
7060
7122
  * `errors` is present only when the request failed schema validation before any
7061
7123
  * handler ran, and names every field that was refused.
@@ -7092,6 +7154,27 @@ export type OutboxOperationsCreateOutboxMessageData = {
7092
7154
  };
7093
7155
 
7094
7156
  export type OutboxOperationsCreateOutboxMessageErrors = {
7157
+ /**
7158
+ * The request was refused as malformed or contradictory. `code` is
7159
+ * `invalid_request` where nothing more specific is known, and the refusal's own
7160
+ * token where there is one.
7161
+ *
7162
+ * The calendar surface answers with the reason it read the request by:
7163
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
7164
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
7165
+ * the query, and, for a VCALENDAR it could not accept,
7166
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
7167
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
7168
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
7169
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
7170
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
7171
+ * send from an account whose `syncedServices` leave out `Mail`, with the
7172
+ * account in `details.accountId`.
7173
+ *
7174
+ * `errors` is present only when the request failed schema validation before any
7175
+ * handler ran, and names every field that was refused.
7176
+ */
7177
+ 400: ValidationError;
7095
7178
  /**
7096
7179
  * The request carried no usable credential. `code` is `unauthorized`.
7097
7180
  */
@@ -7299,6 +7382,27 @@ export type OutboxDetailOperationsSendOutboxMessageData = {
7299
7382
  };
7300
7383
 
7301
7384
  export type OutboxDetailOperationsSendOutboxMessageErrors = {
7385
+ /**
7386
+ * The request was refused as malformed or contradictory. `code` is
7387
+ * `invalid_request` where nothing more specific is known, and the refusal's own
7388
+ * token where there is one.
7389
+ *
7390
+ * The calendar surface answers with the reason it read the request by:
7391
+ * `invalid_window`, `invalid_scope`, `invalid_url_segment`, `url_segment_taken`,
7392
+ * `unknown_time_zone` and `default_calendar_undeletable` on the collection and
7393
+ * the query, and, for a VCALENDAR it could not accept,
7394
+ * `malformed_icalendar`, `not_a_calendar`, `unsupported_component`, `no_event`,
7395
+ * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
7396
+ * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
7397
+ * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
7398
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
7399
+ * send from an account whose `syncedServices` leave out `Mail`, with the
7400
+ * account in `details.accountId`.
7401
+ *
7402
+ * `errors` is present only when the request failed schema validation before any
7403
+ * handler ran, and names every field that was refused.
7404
+ */
7405
+ 400: ValidationError;
7302
7406
  /**
7303
7407
  * The request carried no usable credential. `code` is `unauthorized`.
7304
7408
  */
@@ -7531,7 +7635,9 @@ export type UnifiedThreadOperationsListAllThreadsErrors = {
7531
7635
  * `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
7532
7636
  * `missing_dt_start`, `backwards_end`, `invalid_date_time`,
7533
7637
  * `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
7534
- * `unknown_occurrence` and `unmovable_recurrence_rule`.
7638
+ * `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
7639
+ * send from an account whose `syncedServices` leave out `Mail`, with the
7640
+ * account in `details.accountId`.
7535
7641
  *
7536
7642
  * `errors` is present only when the request failed schema validation before any
7537
7643
  * handler ran, and names every field that was refused.