@remit/api-http-client 0.0.45 → 0.0.46

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.gen.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/types.gen.ts CHANGED
@@ -1573,7 +1573,7 @@ export type RemitImapEnvelopeResponse = {
1573
1573
  */
1574
1574
  replyTo: Array<RemitImapEnvelopeAddressResponse>;
1575
1575
  /**
1576
- * Header-derived category for the message. Always present: `Message.category` is NOT NULL with an `uncategorized` default, and `uncategorized` names the not-yet-classified state rather than standing for absence (issue #45).
1576
+ * Header-derived category for the message. Always present: `Message.category` is NOT NULL with an `uncategorized` default, and `uncategorized` is a named value — no category — rather than a stand-in for absence or for `personal` (issue #45).
1577
1577
  */
1578
1578
  category: RemitImapMessageCategory;
1579
1579
  /**
@@ -1966,7 +1966,7 @@ export type RemitImapMessageBulkOperationResult = {
1966
1966
  };
1967
1967
 
1968
1968
  /**
1969
- * Header-derived message category. Set by classifyByHeaders during body-sync. Defaults to `uncategorized` until the message is body-classified.
1969
+ * Header-derived message category. Set by classifyByHeaders during body-sync. Defaults to `uncategorized`, which covers both a message that has not been classified yet and one the classifier declined to categorize; `Message.classificationState` is what tells those apart.
1970
1970
  */
1971
1971
  export type RemitImapMessageCategory = 'uncategorized' | 'personal' | 'newsletter' | 'marketing' | 'automated' | 'transactional' | 'social';
1972
1972
 
@@ -3033,7 +3033,7 @@ export type RemitImapThreadMessageResponse = {
3033
3033
  readonly createdAt: number;
3034
3034
  readonly updatedAt: number;
3035
3035
  /**
3036
- * Header-derived category for the message, served from the ThreadMessage row. Always present: the column is NOT NULL with an `uncategorized` default, and `uncategorized` is a named value for the not-yet-classified state, never a stand-in for `personal` (issue #45).
3036
+ * Header-derived category for the message, served from the ThreadMessage row. Always present: the column is NOT NULL with an `uncategorized` default, and `uncategorized` is a named value — no category — never a stand-in for `personal` (issue #45).
3037
3037
  */
3038
3038
  category: RemitImapMessageCategory;
3039
3039
  /**
@@ -3784,7 +3784,7 @@ export type RemitImapQuarantineResponseWritable = {
3784
3784
  */
3785
3785
  export type RemitImapThreadMessageResponseWritable = {
3786
3786
  /**
3787
- * Header-derived category for the message, served from the ThreadMessage row. Always present: the column is NOT NULL with an `uncategorized` default, and `uncategorized` is a named value for the not-yet-classified state, never a stand-in for `personal` (issue #45).
3787
+ * Header-derived category for the message, served from the ThreadMessage row. Always present: the column is NOT NULL with an `uncategorized` default, and `uncategorized` is a named value — no category — never a stand-in for `personal` (issue #45).
3788
3788
  */
3789
3789
  category: RemitImapMessageCategory;
3790
3790
  /**