@remit/api-openapi-types 0.0.67 → 0.0.69

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +17 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -429,7 +429,9 @@ the query, and, for a VCALENDAR it could not accept,
429
429
  `no_master_event`, `multiple_master_events`, `missing_uid`, `mismatched_uid`,
430
430
  `missing_dt_start`, `backwards_end`, `invalid_date_time`,
431
431
  `invalid_recurrence_rule`, `missing_recurrence_id`, `not_recurring`,
432
- `unknown_occurrence` and `unmovable_recurrence_rule`.
432
+ `unknown_occurrence` and `unmovable_recurrence_rule`. The outbox answers `mail_sync_off` to a
433
+ send from an account whose `syncedServices` leave out `Mail`, with the
434
+ account in `details.accountId`.
433
435
 
434
436
  `errors` is present only when the request failed schema validation before any
435
437
  handler ran, and names every field that was refused.
@@ -1860,6 +1862,10 @@ with `onExisting: merge` to upsert instead.
1860
1862
  * The path a recorded rename is moving this folder to. Absent unless a rename is in flight or has just failed, which is what tells a create in flight from a rename in flight (D2, D3). `fullPath` stays the path the server holds throughout, so a failed rename is this field cleared rather than a subtree of paths restored. Invariant: non-null only while `syncStatus` is `pending` or `failed`.
1861
1863
  */
1862
1864
  pendingPath?: String512;
1865
+ /**
1866
+ * What the mail server said when it refused the last folder mutation, verbatim, so a folder in `failed` can say why. Total: the empty string whenever `syncStatus` is not `failed`, and on a failure the server gave no text for.
1867
+ */
1868
+ syncFailureReason: string;
1863
1869
  /**
1864
1870
  * Cursor integrity state machine for stored UIDs (epic #1281 invariant 5, issue #1272). Total per RFC 032: defaults to `normal` rather than being absent. A row written before this field existed reads back as `normal` (unset DynamoDB/Postgres attribute deserializes to the schema default).
1865
1871
  */
@@ -1931,6 +1937,10 @@ with `onExisting: merge` to upsert instead.
1931
1937
  * The path a recorded rename is moving this folder to. Absent unless a rename is in flight or has just failed, which is what tells a create in flight from a rename in flight (D2, D3). `fullPath` stays the path the server holds throughout, so a failed rename is this field cleared rather than a subtree of paths restored. Invariant: non-null only while `syncStatus` is `pending` or `failed`.
1932
1938
  */
1933
1939
  pendingPath?: String512;
1940
+ /**
1941
+ * What the mail server said when it refused the last folder mutation, verbatim, so a folder in `failed` can say why. Total: the empty string whenever `syncStatus` is not `failed`, and on a failure the server gave no text for.
1942
+ */
1943
+ syncFailureReason: string;
1934
1944
  /**
1935
1945
  * Denormalized list of IMAP SPECIAL-USE designations (RFC 6154). Populated from the same `\Sent`, `\Drafts`, etc. attributes the server reports during LIST. Stored on the row to avoid an N+1 join when listing mailboxes.
1936
1946
  */
@@ -7005,6 +7015,7 @@ declare namespace Paths {
7005
7015
  export type RequestBody = Components.Schemas.CreateOutboxMessageInput;
7006
7016
  namespace Responses {
7007
7017
  export type $200 = void;
7018
+ export type $400 = void;
7008
7019
  export type $404 = void;
7009
7020
  export type $403 = void;
7010
7021
  export type $401 = void;
@@ -7059,6 +7070,7 @@ declare namespace Paths {
7059
7070
  }
7060
7071
  namespace Responses {
7061
7072
  export type $200 = void;
7073
+ export type $400 = void;
7062
7074
  export type $404 = void;
7063
7075
  export type $403 = void;
7064
7076
  export type $401 = void;
@@ -7816,7 +7828,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
7816
7828
  config?: AxiosRequestConfig
7817
7829
  ): OperationResponse<Paths.SemanticSearch.Responses.$200>;
7818
7830
  /**
7819
- * createOutboxMessage - Create a new outbox message (draft or send immediately)
7831
+ * createOutboxMessage - 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`.
7820
7832
  */
7821
7833
  'createOutboxMessage'(
7822
7834
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -7856,7 +7868,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
7856
7868
  config?: AxiosRequestConfig
7857
7869
  ): OperationResponse<Paths.DeleteOutboxMessage.Responses.$204>;
7858
7870
  /**
7859
- * sendOutboxMessage - Queue a draft message for sending
7871
+ * sendOutboxMessage - 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.
7860
7872
  */
7861
7873
  'sendOutboxMessage'(
7862
7874
  parameters?: Parameters<Paths.SendOutboxMessage.PathParameters> | null,
@@ -8660,7 +8672,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
8660
8672
  };
8661
8673
  ['/outbox']: {
8662
8674
  /**
8663
- * createOutboxMessage - Create a new outbox message (draft or send immediately)
8675
+ * createOutboxMessage - 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`.
8664
8676
  */
8665
8677
  'post'(
8666
8678
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -8704,7 +8716,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
8704
8716
  };
8705
8717
  ['/outbox/{outboxMessageId}/send']: {
8706
8718
  /**
8707
- * sendOutboxMessage - Queue a draft message for sending
8719
+ * sendOutboxMessage - 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.
8708
8720
  */
8709
8721
  'post'(
8710
8722
  parameters?: Parameters<Paths.SendOutboxMessage.PathParameters> | null,