@remit/api-openapi-types 0.0.101 → 0.0.103

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 +1688 -732
package/types.d.ts CHANGED
@@ -248,7 +248,7 @@ current enum emitter anyway, so the wire contract uses the bare form.
248
248
  /**
249
249
  * A label a classification provider picks for a message: the junk verdicts, priority, and the message categories.
250
250
  */
251
- export type ClassificationLabel = "Spam" | "Phishing" | "Priority" | "Personal" | "Newsletter" | "Marketing" | "Automated" | "Transactional" | "Social";
251
+ export type ClassificationLabel = "Spam" | "Phishing" | "Priority" | "Personal" | "Newsletter" | "Marketing" | "Automated" | "Transactional" | "Social" | "ColdOutreach";
252
252
  /**
253
253
  * Why a classification provider call gave no usable answer.
254
254
  */
@@ -257,6 +257,10 @@ current enum emitter anyway, so the wire contract uses the bare form.
257
257
  * The classification provider form field a failure points at.
258
258
  */
259
259
  export type ClassificationField = "ApiKey" | "Model" | "BaseUrl";
260
+ /**
261
+ * 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.
262
+ */
263
+ export type MessageCategory = "uncategorized" | "personal" | "newsletter" | "marketing" | "automated" | "transactional" | "social" | "coldOutreach";
260
264
  /**
261
265
  * Sort order for list operations
262
266
  */
@@ -265,10 +269,6 @@ current enum emitter anyway, so the wire contract uses the bare form.
265
269
  * Gmail-style star colors for message/thread marking
266
270
  */
267
271
  export type StarColor = "none" | "yellow" | "orange" | "red" | "purple" | "blue" | "teal" | "green" | "yellow_bang" | "red_bang" | "purple_question" | "blue_info" | "orange_guillemet" | "green_check" | "yellow_check" | "blue_star";
268
- /**
269
- * 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.
270
- */
271
- export type MessageCategory = "uncategorized" | "personal" | "newsletter" | "marketing" | "automated" | "transactional" | "social";
272
272
  /**
273
273
  * Trust level for the From address, derived at read time from AddressFlags + counters.
274
274
  */
@@ -498,7 +498,7 @@ message and nothing else.
498
498
  /**
499
499
  * Additional error details
500
500
  */
501
- details?: Record;
501
+ details?: Record<string, string>;
502
502
  }
503
503
  /**
504
504
  * The request was refused as malformed or contradictory. `code` is
@@ -533,7 +533,7 @@ handler ran, and names every field that was refused.
533
533
  /**
534
534
  * Additional error details
535
535
  */
536
- details?: Record;
536
+ details?: Record<string, string>;
537
537
  /**
538
538
  * Every field the schema refused, when the refusal came from schema validation
539
539
  */
@@ -572,15 +572,15 @@ handler ran, and names every field that was refused.
572
572
  /**
573
573
  * Additional error details
574
574
  */
575
- details?: Record;
575
+ details?: Record<string, string>;
576
576
  }
577
577
  export interface AccessPattern {
578
578
  index?: string;
579
579
  collection?: string | string[];
580
580
  scope?: string;
581
581
  type?: IndexType;
582
- pk?: ModelProperty[] | any;
583
- sk?: ModelProperty[] | any;
582
+ pk?: unknown[] | { field?: string; composite: unknown[] };
583
+ sk?: unknown[] | { field?: string; composite: unknown[] };
584
584
  }
585
585
  /**
586
586
  * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
@@ -598,7 +598,7 @@ handler ran, and names every field that was refused.
598
598
  /**
599
599
  * Additional error details
600
600
  */
601
- details?: Record;
601
+ details?: Record<string, string>;
602
602
  }
603
603
  /**
604
604
  * The request contradicts the state the resource is in. `code` is `conflict`
@@ -618,7 +618,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
618
618
  /**
619
619
  * Additional error details
620
620
  */
621
- details?: Record;
621
+ details?: Record<string, string>;
622
622
  }
623
623
  /**
624
624
  * The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
@@ -636,11 +636,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
636
636
  /**
637
637
  * Additional error details
638
638
  */
639
- details?: Record;
640
- }
641
- export interface ResultList {
642
- continuationToken?: String800;
643
- items: any[];
639
+ details?: Record<string, string>;
644
640
  }
645
641
  /**
646
642
  * The caller is known and may not do this. `code` is `forbidden`.
@@ -658,7 +654,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
658
654
  /**
659
655
  * Additional error details
660
656
  */
661
- details?: Record;
657
+ details?: Record<string, string>;
662
658
  }
663
659
  /**
664
660
  * Nothing to return. The request succeeded and the response carries no body.
@@ -684,7 +680,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
684
680
  /**
685
681
  * Additional error details
686
682
  */
687
- details?: Record;
683
+ details?: Record<string, string>;
688
684
  }
689
685
  /**
690
686
  * The same flat 409 body as `FolderRoleConflict`, with the codes only this endpoint can answer with.
@@ -704,7 +700,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
704
700
  /**
705
701
  * Additional error details
706
702
  */
707
- details?: Record;
703
+ details?: Record<string, string>;
708
704
  }
709
705
  /**
710
706
  * The write binds a durable reference — a role appointment, a filter's move target, a message's destination — to a folder whose own mutation has not settled, so the reference would point at something that may never exist.
@@ -726,7 +722,7 @@ unless the refusal names its own — see `FolderRoleConflict`,
726
722
  /**
727
723
  * Additional error details
728
724
  */
729
- details?: Record;
725
+ details?: Record<string, string>;
730
726
  }
731
727
  /**
732
728
  * The condition the request stated is no longer true. Answered when an
@@ -748,7 +744,7 @@ version it now has. `code` is `precondition_failed`.
748
744
  /**
749
745
  * Additional error details
750
746
  */
751
- details?: Record;
747
+ details?: Record<string, string>;
752
748
  }
753
749
  /**
754
750
  * No message answers to this id, or the caller may not learn that one does.
@@ -769,7 +765,7 @@ away before its body was stored. That answer carries `details.messageId`.
769
765
  /**
770
766
  * Additional error details
771
767
  */
772
- details?: Record;
768
+ details?: Record<string, string>;
773
769
  }
774
770
  /**
775
771
  * The same flat 409 body, for a message whose folder and uid do not name the same message.
@@ -789,7 +785,7 @@ away before its body was stored. That answer carries `details.messageId`.
789
785
  /**
790
786
  * Additional error details
791
787
  */
792
- details?: Record;
788
+ details?: Record<string, string>;
793
789
  }
794
790
  /**
795
791
  * The same flat 409 body, with the two codes this endpoint can answer with.
@@ -811,13 +807,13 @@ away before its body was stored. That answer carries `details.messageId`.
811
807
  /**
812
808
  * Additional error details
813
809
  */
814
- details?: Record;
810
+ details?: Record<string, string>;
815
811
  }
816
812
  export interface AmazonApiGatewayIntegration {
817
813
  type: "aws_proxy";
818
814
  httpMethod: "POST";
819
815
  passthroughBehavior: "when_no_match";
820
- uri: any;
816
+ uri: { "Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:{{HandlerFunctionName}}/invocations" };
821
817
  }
822
818
  /**
823
819
  * The server failed. `code` is `internal_error` and `details` is never present — nothing about the failure leaves the process beyond its message.
@@ -835,7 +831,7 @@ away before its body was stored. That answer carries `details.messageId`.
835
831
  /**
836
832
  * Additional error details
837
833
  */
838
- details?: Record;
834
+ details?: Record<string, string>;
839
835
  }
840
836
  /**
841
837
  * Input for DELETE /me — requires the caller to confirm their email address
@@ -1766,7 +1762,7 @@ finds it.
1766
1762
  /**
1767
1763
  * The config document. Opaque here; the JSON Schema for `schemaVersion` is its contract.
1768
1764
  */
1769
- document: Record;
1765
+ document: Record<string, unknown>;
1770
1766
  }
1771
1767
  /**
1772
1768
  * Request body for POST /config/import
@@ -1783,7 +1779,7 @@ finds it.
1783
1779
  /**
1784
1780
  * The config document, as exported.
1785
1781
  */
1786
- document: Record;
1782
+ document: Record<string, unknown>;
1787
1783
  }
1788
1784
  /**
1789
1785
  * The outcome of a validate or an apply. A rejected document is an answer, not a failure: `valid` is false and `errors` says why.
@@ -1864,7 +1860,7 @@ with `onExisting: merge` to upsert instead.
1864
1860
  /**
1865
1861
  * Additional error details
1866
1862
  */
1867
- details?: Record;
1863
+ details?: Record<string, string>;
1868
1864
  }
1869
1865
  /**
1870
1866
  * The self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. One read serves every interface state. The check block and the run block are independent by construction (RFC 037 D7).
@@ -1885,7 +1881,7 @@ with `onExisting: merge` to upsert instead.
1885
1881
  /**
1886
1882
  * The current or last update run, or `null` when no run has ever started
1887
1883
  */
1888
- run: SystemUpdateRun | any;
1884
+ run: SystemUpdateRun | null;
1889
1885
  }
1890
1886
  /**
1891
1887
  * The most recent manifest check. The check block is independent of the run block: a failed check never renders as a failed update. On `failed` the version fields are absent and an `error` sentence explains why; on `disabled` only the status is present.
@@ -1951,7 +1947,7 @@ with `onExisting: merge` to upsert instead.
1951
1947
  /**
1952
1948
  * Terminal outcome, or `null` while the run is in flight
1953
1949
  */
1954
- outcome: SystemUpdateOutcome | any;
1950
+ outcome: SystemUpdateOutcome | null;
1955
1951
  /**
1956
1952
  * When the run started, ISO 8601
1957
1953
  */
@@ -2029,7 +2025,7 @@ with `onExisting: merge` to upsert instead.
2029
2025
  /**
2030
2026
  * Additional error details
2031
2027
  */
2032
- details?: Record;
2028
+ details?: Record<string, string>;
2033
2029
  code: any | any | any | any | any;
2034
2030
  }
2035
2031
  /**
@@ -2068,7 +2064,7 @@ with `onExisting: merge` to upsert instead.
2068
2064
  /**
2069
2065
  * Additional error details
2070
2066
  */
2071
- details?: Record;
2067
+ details?: Record<string, string>;
2072
2068
  code: any;
2073
2069
  }
2074
2070
  /**
@@ -2096,7 +2092,7 @@ with `onExisting: merge` to upsert instead.
2096
2092
  /**
2097
2093
  * Additional error details
2098
2094
  */
2099
- details?: Record;
2095
+ details?: Record<string, string>;
2100
2096
  code: any;
2101
2097
  }
2102
2098
  /**
@@ -2331,11 +2327,11 @@ with `onExisting: merge` to upsert instead.
2331
2327
  /**
2332
2328
  * Mute flag. Pass a MutedFlag object to mute; pass `null` to clear the mute.
2333
2329
  */
2334
- muted?: MutedFlag | any;
2330
+ muted?: MutedFlag | null;
2335
2331
  /**
2336
2332
  * Sidebar display-name override. Pass a string to set; pass `null` to clear (UI falls back to the canonical/derived label). Typed as an inline nullable string with `@maxLength(256)` rather than `String256 | null`: a named scalar union renders as allOf + nullable with no sibling type, which openapi-backend's AJV rejects for a `null` value (the `$ref` re-imposes the string type), 400ing the clear path. An inline string attaches `type:string`, AJV compiles, and `null` stays valid at the wire while the 256-length cap is preserved.
2337
2333
  */
2338
- displayNameOverride?: string | any;
2334
+ displayNameOverride?: string | null;
2339
2335
  }
2340
2336
  /**
2341
2337
  * Input for PUT /accounts/{accountId}/folder-roles/{role}. Appoints the mailbox to the role, replacing whichever mailbox previously held it (exclusive by construction — the map has one slot per role). Pass `mailboxId: null` to clear the role back to unfilled.
@@ -2344,7 +2340,7 @@ with `onExisting: merge` to upsert instead.
2344
2340
  /**
2345
2341
  * Mailbox to appoint to the role, or `null` to clear the appointment. Typed as an inline nullable string rather than `UUID | null`: a named scalar union renders as allOf + nullable with no sibling type, which openapi-backend's AJV rejects for a `null` value — the same gotcha documented on RenameMailboxInput.displayNameOverride. An inline string keeps `null` valid at the wire; the handler validates the value as a UUID.
2346
2342
  */
2347
- mailboxId: string | any;
2343
+ mailboxId: string | null;
2348
2344
  }
2349
2345
  /**
2350
2346
  * A standing user rule that matches messages by literal clauses (RFC 031,
@@ -2398,13 +2394,21 @@ create one (RFC 034 recap).
2398
2394
  */
2399
2395
  matchOperator: FilterMatchOperator;
2400
2396
  /**
2401
- * Literal from/subject/has-words predicate clauses (RFC 031). A filter carries at least one.
2397
+ * Literal from/subject/has-words predicate clauses (RFC 031). Empty when the rule is not leaves under one allof or anyof.
2402
2398
  */
2403
2399
  literalClauses: FilterClause[];
2404
2400
  /**
2405
- * The stored rule. A version 0 row predates rules and its literalClauses are the truth. Not surfaced on the API yet.
2401
+ * The stored rule. A version 0 row predates rules and its literalClauses are the truth.
2406
2402
  */
2407
2403
  rule: FilterRuleV0 | FilterRuleV1;
2404
+ /**
2405
+ * Evaluation order (RFC 040). Lower runs first; ties go to the newest actionChangedAt, then to filterId. The first move a message reaches wins.
2406
+ */
2407
+ priority: number;
2408
+ /**
2409
+ * When set, a match ends evaluation for that message after this filter's own actions (RFC 040, Sieve `stop`).
2410
+ */
2411
+ stop: boolean;
2408
2412
  /**
2409
2413
  * Label applied when this filter matches — additive action, any number of filters can independently apply their own label (RFC 034 Decision 3.1). The named sentinel `"None"` means no label action; never an empty/optional field.
2410
2414
  */
@@ -2447,14 +2451,14 @@ create one (RFC 034 recap).
2447
2451
  */
2448
2452
  export interface FilterAllOfTest {
2449
2453
  test: "allof";
2450
- tests: FilterAllOfTest | FilterAnyOfTest | FilterNotTest | FilterHeaderTest | FilterAddressTest | FilterHasWordsTest[];
2454
+ tests: (FilterAllOfTest | FilterAnyOfTest | FilterNotTest | FilterHeaderTest | FilterAddressTest | FilterHasWordsTest)[];
2451
2455
  }
2452
2456
  /**
2453
2457
  * Matches when any test in `tests` matches (Sieve `anyof`).
2454
2458
  */
2455
2459
  export interface FilterAnyOfTest {
2456
2460
  test: "anyof";
2457
- tests: FilterAllOfTest | FilterAnyOfTest | FilterNotTest | FilterHeaderTest | FilterAddressTest | FilterHasWordsTest[];
2461
+ tests: (FilterAllOfTest | FilterAnyOfTest | FilterNotTest | FilterHeaderTest | FilterAddressTest | FilterHasWordsTest)[];
2458
2462
  }
2459
2463
  /**
2460
2464
  * Matches when `operand` does not (Sieve `not`).
@@ -2533,9 +2537,17 @@ create one (RFC 034 recap).
2533
2537
  */
2534
2538
  matchOperator: FilterMatchOperator;
2535
2539
  /**
2536
- * Literal from/subject/has-words predicate clauses (RFC 031). A filter carries at least one.
2540
+ * Literal from/subject/has-words predicate clauses (RFC 031). Empty when the rule is not leaves under one allof or anyof.
2537
2541
  */
2538
2542
  literalClauses: FilterClause[];
2543
+ /**
2544
+ * Evaluation order (RFC 040). Lower runs first; ties go to the newest actionChangedAt, then to filterId. The first move a message reaches wins.
2545
+ */
2546
+ priority: number;
2547
+ /**
2548
+ * When set, a match ends evaluation for that message after this filter's own actions (RFC 040, Sieve `stop`).
2549
+ */
2550
+ stop: boolean;
2539
2551
  /**
2540
2552
  * Label applied when this filter matches — additive action, any number of filters can independently apply their own label (RFC 034 Decision 3.1). The named sentinel `"None"` means no label action; never an empty/optional field.
2541
2553
  */
@@ -2546,6 +2558,10 @@ create one (RFC 034 recap).
2546
2558
  actionMailboxId: string;
2547
2559
  createdAt: number;
2548
2560
  updatedAt: number;
2561
+ /**
2562
+ * The rule as a test tree (RFC 040). literalClauses mirrors it when it is leaves under one allof or anyof, and is empty otherwise.
2563
+ */
2564
+ rule: FilterRuleV1;
2549
2565
  }
2550
2566
  /**
2551
2567
  * Input for creating a filter (RFC 034). `ttl` is omitted — it is derived
@@ -2570,10 +2586,6 @@ all server-derived and excluded by their Read-only visibility.
2570
2586
  * How literalClauses combine.
2571
2587
  */
2572
2588
  matchOperator: FilterMatchOperator;
2573
- /**
2574
- * Literal from/subject/has-words predicate clauses (RFC 031). A filter carries at least one.
2575
- */
2576
- literalClauses: FilterClause[];
2577
2589
  /**
2578
2590
  * Label applied when this filter matches — additive action, any number of filters can independently apply their own label (RFC 034 Decision 3.1). The named sentinel `"None"` means no label action; never an empty/optional field.
2579
2591
  */
@@ -2582,6 +2594,22 @@ all server-derived and excluded by their Read-only visibility.
2582
2594
  * Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
2583
2595
  */
2584
2596
  actionMailboxId: string;
2597
+ /**
2598
+ * Evaluation order (RFC 040). Lower runs first. Defaults to 0.
2599
+ */
2600
+ priority?: number;
2601
+ /**
2602
+ * When set, a match ends evaluation for that message after this filter's own actions (RFC 040, Sieve `stop`). Defaults to false.
2603
+ */
2604
+ stop?: boolean;
2605
+ /**
2606
+ * Literal clauses combined by matchOperator. Send these or rule, never both.
2607
+ */
2608
+ literalClauses?: FilterClause[];
2609
+ /**
2610
+ * The rule as a test tree (RFC 040). Send this or literalClauses, never both. The server caps a rule at 50 leaves and 5 levels.
2611
+ */
2612
+ rule?: FilterRuleV1;
2585
2613
  }
2586
2614
  /**
2587
2615
  * Response body for POST /accounts/{accountId}/filters: the created filter, plus the back-apply job that runs it over the inbox.
@@ -2628,9 +2656,17 @@ all server-derived and excluded by their Read-only visibility.
2628
2656
  */
2629
2657
  matchOperator: FilterMatchOperator;
2630
2658
  /**
2631
- * Literal from/subject/has-words predicate clauses (RFC 031). A filter carries at least one.
2659
+ * Literal from/subject/has-words predicate clauses (RFC 031). Empty when the rule is not leaves under one allof or anyof.
2632
2660
  */
2633
2661
  literalClauses: FilterClause[];
2662
+ /**
2663
+ * Evaluation order (RFC 040). Lower runs first; ties go to the newest actionChangedAt, then to filterId. The first move a message reaches wins.
2664
+ */
2665
+ priority: number;
2666
+ /**
2667
+ * When set, a match ends evaluation for that message after this filter's own actions (RFC 040, Sieve `stop`).
2668
+ */
2669
+ stop: boolean;
2634
2670
  /**
2635
2671
  * Label applied when this filter matches — additive action, any number of filters can independently apply their own label (RFC 034 Decision 3.1). The named sentinel `"None"` means no label action; never an empty/optional field.
2636
2672
  */
@@ -2641,6 +2677,10 @@ all server-derived and excluded by their Read-only visibility.
2641
2677
  actionMailboxId: string;
2642
2678
  createdAt: number;
2643
2679
  updatedAt: number;
2680
+ /**
2681
+ * The rule as a test tree (RFC 040). literalClauses mirrors it when it is leaves under one allof or anyof, and is empty otherwise.
2682
+ */
2683
+ rule: FilterRuleV1;
2644
2684
  /**
2645
2685
  * The organize job queued to run the new filter over the inbox. Poll GET /accounts/{accountId}/organize/{organizeJobId}; a filter with nothing to run reports Failed with the reason.
2646
2686
  */
@@ -2664,11 +2704,11 @@ untouched.
2664
2704
  /**
2665
2705
  * Plain-language name or editable label for this filter
2666
2706
  */
2667
- name: String256;
2707
+ name?: String256;
2668
2708
  /**
2669
2709
  * Standing (permanent) or Temporary (expires). Governs whether expiresAt/ttl are present (RFC 034 Decision 1). Mutable on update (reader #266): switching scope re-derives ttl and re-evaluates state from expiresAt, and bumps ruleChangedAt so a lapsed filter's back-application can be offered again.
2670
2710
  */
2671
- scope: FilterScope;
2711
+ scope?: FilterScope;
2672
2712
  /**
2673
2713
  * ISO 8601 date-time with zone offset, present only when scope is Temporary (RFC 034 Decision 1.1) — a business date, not an epoch instant. Every evaluation compares `now` against this value directly; it is the source of truth for whether a Temporary filter is still active, independent of `state` or row existence. Mutable on update (reader #266), alongside scope — moving the date bumps ruleChangedAt the same way a scope change does.
2674
2714
  */
@@ -2676,23 +2716,35 @@ untouched.
2676
2716
  /**
2677
2717
  * Whether this filter runs, backing byAccountAndState (RFC 034 Decision 1.2). Starts Active. The user sets Active or Disabled on update; the system sets Disabled when the filter cannot work as designed, and records why in disabledReason. Expired is lazily patched the first time something reads a Temporary filter past its expiresAt, which stays the correctness source for expiry.
2678
2718
  */
2679
- state: FilterState;
2719
+ state?: FilterState;
2680
2720
  /**
2681
2721
  * How literalClauses combine.
2682
2722
  */
2683
- matchOperator: FilterMatchOperator;
2723
+ matchOperator?: FilterMatchOperator;
2684
2724
  /**
2685
- * Literal from/subject/has-words predicate clauses (RFC 031). A filter carries at least one.
2725
+ * Literal from/subject/has-words predicate clauses (RFC 031). Empty when the rule is not leaves under one allof or anyof.
2686
2726
  */
2687
- literalClauses: FilterClause[];
2727
+ literalClauses?: FilterClause[];
2728
+ /**
2729
+ * Evaluation order (RFC 040). Lower runs first; ties go to the newest actionChangedAt, then to filterId. The first move a message reaches wins.
2730
+ */
2731
+ priority?: number;
2732
+ /**
2733
+ * When set, a match ends evaluation for that message after this filter's own actions (RFC 040, Sieve `stop`).
2734
+ */
2735
+ stop?: boolean;
2688
2736
  /**
2689
2737
  * Label applied when this filter matches — additive action, any number of filters can independently apply their own label (RFC 034 Decision 3.1). The named sentinel `"None"` means no label action; never an empty/optional field.
2690
2738
  */
2691
- actionLabelId: string;
2739
+ actionLabelId?: string;
2692
2740
  /**
2693
2741
  * Mailbox matched messages are moved into — exclusive action, since a message lives in exactly one mailbox (RFC 034 Decision 3.1). On conflict between filters, the one with the latest actionChangedAt wins. `"None"` means no move action.
2694
2742
  */
2695
- actionMailboxId: string;
2743
+ actionMailboxId?: string;
2744
+ /**
2745
+ * Replaces the rule (RFC 040). Never sent with matchOperator or literalClauses. The server caps a rule at 50 leaves and 5 levels.
2746
+ */
2747
+ rule?: FilterRuleV1;
2696
2748
  }
2697
2749
  /**
2698
2750
  * A user-defined label definition, scoped to an account (RFC 030). labelId is a stable id; name is a separate mutable overlay, never the key.
@@ -3952,6 +4004,55 @@ field on this resource rather than one more operation.
3952
4004
  */
3953
4005
  fix: string;
3954
4006
  }
4007
+ /**
4008
+ * The classifier's distribution and corrections over mail that arrived on or after `since`, across every account the caller holds.
4009
+ */
4010
+ export interface ClassifierStats {
4011
+ /**
4012
+ * The start of the window, as the request gave it: an ISO 8601 date-time with zone offset.
4013
+ */
4014
+ since: string;
4015
+ /**
4016
+ * Messages that arrived on or after `since` whose body sync classified them.
4017
+ */
4018
+ examined: number;
4019
+ /**
4020
+ * Examined messages per category; a category with none is absent.
4021
+ */
4022
+ byCategory: ClassifierCategoryCount[];
4023
+ /**
4024
+ * Confident scores per label, over the examined messages; a label with none is absent.
4025
+ */
4026
+ byLabel: ClassifierLabelCount[];
4027
+ corrections: ClassifierCorrections;
4028
+ }
4029
+ /**
4030
+ * Examined messages in one category.
4031
+ */
4032
+ export interface ClassifierCategoryCount {
4033
+ category: MessageCategory;
4034
+ count: number;
4035
+ }
4036
+ /**
4037
+ * Confident scores for one label.
4038
+ */
4039
+ export interface ClassifierLabelCount {
4040
+ label: ClassificationLabel;
4041
+ count: number;
4042
+ }
4043
+ /**
4044
+ * Times the reader disagreed with the classifier since `since`.
4045
+ */
4046
+ export interface ClassifierCorrections {
4047
+ /**
4048
+ * Messages the reader reported as spam whose stored scores held no confident `Spam` or `Phishing` score.
4049
+ */
4050
+ spamReportedNotJunk: number;
4051
+ /**
4052
+ * Senders whose `Address.flags.category` override was set on or after `since`.
4053
+ */
4054
+ categoryOverridden: number;
4055
+ }
3955
4056
  /**
3956
4057
  * Tasks due in the requested window, in due order. Unpaginated: the window is the bound.
3957
4058
  */
@@ -4434,7 +4535,7 @@ every reader of either would otherwise narrow on the kind first.
4434
4535
  /**
4435
4536
  * Account-level mute flag. Pass a MutedFlag object to mute; pass `null` to clear the mute.
4436
4537
  */
4437
- muted?: MutedFlag | any;
4538
+ muted?: MutedFlag | null;
4438
4539
  }
4439
4540
  /**
4440
4541
  * Delete account response (tombstone)
@@ -5643,22 +5744,22 @@ either way and cannot tell which it received.
5643
5744
  * Patch payload for AddressFlags entries. Sets the flags named here and leaves the others untouched. Removal travels in `UpdateAddressInput.clearFlags`, not here: the `null` alternative below is unreachable over OAS 3.0, where a nullable `$ref` emits as `allOf` and the request validator drops the `nullable` — and no `null` form exists at all for `category`, whose value is an enum with no false-equivalent member.
5644
5745
  */
5645
5746
  export interface UpdateAddressFlagsInput {
5646
- trusted?: TrustedFlag | any;
5647
- blocked?: BlockedFlag | any;
5747
+ trusted?: TrustedFlag | null;
5748
+ blocked?: BlockedFlag | null;
5648
5749
  /**
5649
5750
  * Setting this to `value: true` removes `blocked`, and setting `blocked` removes this one; the two cannot both stand
5650
5751
  */
5651
- neverSpam?: NeverSpamFlag | any;
5652
- muted?: MutedFlag | any;
5653
- vip?: VipFlag | any;
5654
- wellknown?: WellknownFlag | any;
5752
+ neverSpam?: NeverSpamFlag | null;
5753
+ muted?: MutedFlag | null;
5754
+ vip?: VipFlag | null;
5755
+ wellknown?: WellknownFlag | null;
5655
5756
  /**
5656
5757
  * Name this key in `clearFlags` to offer the address in autocomplete again
5657
5758
  */
5658
- junkOnly?: JunkOnlyFlag | any;
5659
- category?: CategoryFlag | any;
5660
- autoArchive?: AutoArchiveFlag | any;
5661
- unsubscribed?: UnsubscribedFlag | any;
5759
+ junkOnly?: JunkOnlyFlag | null;
5760
+ category?: CategoryFlag | null;
5761
+ autoArchive?: AutoArchiveFlag | null;
5762
+ unsubscribed?: UnsubscribedFlag | null;
5662
5763
  }
5663
5764
  /**
5664
5765
  * Complete message description including all related data. Body content is delivered via the per-part `BodyPartResponse.contentUrl` (CloudFront, JWT-authorized at the edge); the legacy `bodyText`/`bodyHtml` fields were removed once content delivery cut over end-to-end (#224).
@@ -5789,6 +5890,10 @@ either way and cannot tell which it received.
5789
5890
  * Body-sync timestamp (epoch millis) the classifier's placement verdict was first decided, whether the verdict was to move the message or to leave it in place. Absent means placement has never been evaluated for this message. Guards `computePlacement` against a re-entrant body-sync pass (`fetchAndGetBody`'s `NoSuchKey` fallback, `syncBodies(..., force: true)`) re-deciding — and possibly reversing — a placement a user has since overridden by hand. `movedByRemit` remains the guard for a message that was placement-decided before this field existed.
5790
5891
  */
5791
5892
  placementDecidedAt?: number;
5893
+ /**
5894
+ * Every score the classification provider gave this message at body sync. Empty when the provider was not asked or gave no answer, and for every message synced before scores were stored. Persistence-only: no response model exposes it.
5895
+ */
5896
+ classifierScores: ClassifierScore[];
5792
5897
  /**
5793
5898
  * Recorded when the user reported this message as spam. Absent means never reported, or reported and then undone (`POST /messages/not-spam` clears it). Independent of the message's current folder — deliberately not derived from "sits in Junk", which is also true of a message Remit moved on its own.
5794
5899
  */
@@ -5851,6 +5956,23 @@ either way and cannot tell which it received.
5851
5956
  */
5852
5957
  decidedAt: number;
5853
5958
  }
5959
+ /**
5960
+ * One label the classification provider scored for a message, as body sync stored it.
5961
+ */
5962
+ export interface ClassifierScore {
5963
+ /**
5964
+ * The label the provider scored.
5965
+ */
5966
+ label: ClassificationLabel;
5967
+ /**
5968
+ * The provider's confidence in `label`, between 0 and 1.
5969
+ */
5970
+ confidence: number;
5971
+ /**
5972
+ * True when `confidence` reached the threshold for the provider's kind of confidence when body sync stored it: 0.7 for a calibrated provider, 0.8 for an advisory one.
5973
+ */
5974
+ confident: boolean;
5975
+ }
5854
5976
  /**
5855
5977
  * Core message entity as the API carries it: the stored row plus the Message-ID header, which is stored on the message's thread row.
5856
5978
  */
@@ -5955,6 +6077,10 @@ either way and cannot tell which it received.
5955
6077
  * Body-sync timestamp (epoch millis) the classifier's placement verdict was first decided, whether the verdict was to move the message or to leave it in place. Absent means placement has never been evaluated for this message. Guards `computePlacement` against a re-entrant body-sync pass (`fetchAndGetBody`'s `NoSuchKey` fallback, `syncBodies(..., force: true)`) re-deciding — and possibly reversing — a placement a user has since overridden by hand. `movedByRemit` remains the guard for a message that was placement-decided before this field existed.
5956
6078
  */
5957
6079
  placementDecidedAt?: number;
6080
+ /**
6081
+ * Every score the classification provider gave this message at body sync. Empty when the provider was not asked or gave no answer, and for every message synced before scores were stored. Persistence-only: no response model exposes it.
6082
+ */
6083
+ classifierScores: ClassifierScore[];
5958
6084
  /**
5959
6085
  * Recorded when the user reported this message as spam. Absent means never reported, or reported and then undone (`POST /messages/not-spam` clears it). Independent of the message's current folder — deliberately not derived from "sits in Junk", which is also true of a message Remit moved on its own.
5960
6086
  */
@@ -6745,7 +6871,7 @@ of copying it, and so a person can see what was imported after the fact.
6745
6871
  /**
6746
6872
  * The document as applied. Carries no credential, for the same reason the file does not.
6747
6873
  */
6748
- document: Record;
6874
+ document: Record<string, unknown>;
6749
6875
  /**
6750
6876
  * Folder references still waiting for a mailbox. Emptied by the binder as discovery resolves each path; an empty list is what makes the import Complete.
6751
6877
  */
@@ -6802,7 +6928,7 @@ of copying it, and so a person can see what was imported after the fact.
6802
6928
  */
6803
6929
  export interface MapSetting {
6804
6930
  kind: "Map";
6805
- value: Record;
6931
+ value: Record<string, string>;
6806
6932
  }
6807
6933
  /**
6808
6934
  * MutedFlag-valued setting (a rich mute object: value + audit metadata). Carries the same shape as a sender/account/mailbox MutedFlag so a relocated mute flag survives unchanged.
@@ -7446,21 +7572,21 @@ declare namespace Paths {
7446
7572
  namespace DeleteMe {
7447
7573
  export type RequestBody = Components.Schemas.DeleteMeInput;
7448
7574
  namespace Responses {
7449
- export type $202 = void;
7450
- export type $400 = void;
7451
- export type $401 = void;
7575
+ export type $202 = Components.Schemas.DeleteAccountConfigResponse;
7576
+ export type $400 = Components.Schemas.ValidationError;
7577
+ export type $401 = Components.Schemas.ApiError;
7452
7578
  }
7453
7579
  }
7454
7580
  namespace ListVipSuggestions {
7455
7581
  namespace Responses {
7456
- export type $200 = void;
7457
- export type $401 = void;
7582
+ export type $200 = Components.Schemas.VipSuggestionsResponse;
7583
+ export type $401 = Components.Schemas.ApiError;
7458
7584
  }
7459
7585
  }
7460
7586
  namespace CreateExport {
7461
7587
  namespace Responses {
7462
- export type $202 = void;
7463
- export type $401 = void;
7588
+ export type $202 = Components.Schemas.CreateExportResponse;
7589
+ export type $401 = Components.Schemas.ApiError;
7464
7590
  }
7465
7591
  }
7466
7592
  namespace GetExport {
@@ -7468,36 +7594,36 @@ declare namespace Paths {
7468
7594
  exportId: string;
7469
7595
  }
7470
7596
  namespace Responses {
7471
- export type $200 = void;
7472
- export type $404 = void;
7473
- export type $401 = void;
7597
+ export type $200 = Components.Schemas.AccountExportRequestResponse;
7598
+ export type $404 = Components.Schemas.ApiError;
7599
+ export type $401 = Components.Schemas.ApiError;
7474
7600
  }
7475
7601
  }
7476
7602
  namespace ListQuarantine {
7477
7603
  namespace Responses {
7478
- export type $200 = void;
7479
- export type $401 = void;
7604
+ export type $200 = Components.Schemas.QuarantineListResponse;
7605
+ export type $401 = Components.Schemas.ApiError;
7480
7606
  }
7481
7607
  }
7482
7608
  namespace GetConfig {
7483
7609
  namespace Responses {
7484
- export type $200 = void;
7485
- export type $401 = void;
7610
+ export type $200 = Components.Schemas.ConfigDescriptionResponse;
7611
+ export type $401 = Components.Schemas.ApiError;
7486
7612
  }
7487
7613
  }
7488
7614
  namespace ExportConfig {
7489
7615
  namespace Responses {
7490
- export type $200 = void;
7491
- export type $401 = void;
7616
+ export type $200 = Components.Schemas.ConfigExportResponse;
7617
+ export type $401 = Components.Schemas.ApiError;
7492
7618
  }
7493
7619
  }
7494
7620
  namespace ImportConfig {
7495
7621
  export type RequestBody = Components.Schemas.ImportConfigInput;
7496
7622
  namespace Responses {
7497
- export type $200 = void;
7498
- export type $400 = void;
7499
- export type $409 = void;
7500
- export type $401 = void;
7623
+ export type $200 = Components.Schemas.ConfigImportReport;
7624
+ export type $400 = Components.Schemas.ValidationError;
7625
+ export type $409 = Components.Schemas.ApiError;
7626
+ export type $401 = Components.Schemas.ApiError;
7501
7627
  }
7502
7628
  }
7503
7629
  namespace GetSystemUpdate {
@@ -7505,37 +7631,37 @@ declare namespace Paths {
7505
7631
  refresh?: boolean;
7506
7632
  }
7507
7633
  namespace Responses {
7508
- export type $200 = void;
7509
- export type $401 = void;
7510
- export type $404 = void;
7634
+ export type $200 = Components.Schemas.SystemUpdateResponse;
7635
+ export type $401 = Components.Schemas.ApiError;
7636
+ export type $404 = Components.Schemas.ApiError;
7511
7637
  }
7512
7638
  }
7513
7639
  namespace ApplySystemUpdate {
7514
7640
  export type RequestBody = Components.Schemas.ApplyUpdateInput;
7515
7641
  namespace Responses {
7516
- export type $200 = void;
7517
- export type $401 = void;
7518
- export type $404 = void;
7519
- export type $409 = void;
7520
- export type $422 = void;
7642
+ export type $200 = Components.Schemas.SystemUpdateResponse;
7643
+ export type $401 = Components.Schemas.ApiError;
7644
+ export type $404 = Components.Schemas.ApiError;
7645
+ export type $409 = Components.Schemas.ApiError;
7646
+ export type $422 = Components.Schemas.ApiError;
7521
7647
  }
7522
7648
  }
7523
7649
  namespace ListPeople {
7524
7650
  namespace Responses {
7525
- export type $200 = void;
7526
- export type $401 = void;
7527
- export type $403 = void;
7528
- export type $404 = void;
7651
+ export type $200 = Components.Schemas.PeopleListResponse;
7652
+ export type $401 = Components.Schemas.ApiError;
7653
+ export type $403 = Components.Schemas.PeopleForbiddenError;
7654
+ export type $404 = Components.Schemas.ApiError;
7529
7655
  }
7530
7656
  }
7531
7657
  namespace CreateStepUp {
7532
7658
  export type RequestBody = Components.Schemas.StepUpInput;
7533
7659
  namespace Responses {
7534
- export type $200 = void;
7535
- export type $401 = void;
7536
- export type $403 = void;
7537
- export type $404 = void;
7538
- export type $429 = void;
7660
+ export type $200 = Components.Schemas.StepUpResponse;
7661
+ export type $401 = Components.Schemas.ApiError;
7662
+ export type $403 = Components.Schemas.PeopleForbiddenError;
7663
+ export type $404 = Components.Schemas.ApiError;
7664
+ export type $429 = Components.Schemas.StepUpLockedError;
7539
7665
  }
7540
7666
  }
7541
7667
  namespace SignOutPerson {
@@ -7544,10 +7670,10 @@ declare namespace Paths {
7544
7670
  }
7545
7671
  export type RequestBody = Components.Schemas.SignOutPersonInput;
7546
7672
  namespace Responses {
7547
- export type $200 = void;
7548
- export type $401 = void;
7549
- export type $403 = void;
7550
- export type $404 = void;
7673
+ export type $200 = Components.Schemas.Person;
7674
+ export type $401 = Components.Schemas.ApiError;
7675
+ export type $403 = Components.Schemas.PeopleForbiddenError;
7676
+ export type $404 = Components.Schemas.ApiError;
7551
7677
  }
7552
7678
  }
7553
7679
  namespace UpdatePerson {
@@ -7556,11 +7682,11 @@ declare namespace Paths {
7556
7682
  }
7557
7683
  export type RequestBody = Components.Schemas.UpdatePersonInput;
7558
7684
  namespace Responses {
7559
- export type $200 = void;
7560
- export type $401 = void;
7561
- export type $403 = void;
7562
- export type $404 = void;
7563
- export type $409 = void;
7685
+ export type $200 = Components.Schemas.Person;
7686
+ export type $401 = Components.Schemas.ApiError;
7687
+ export type $403 = Components.Schemas.PeopleForbiddenError;
7688
+ export type $404 = Components.Schemas.ApiError;
7689
+ export type $409 = Components.Schemas.CannotDisableSelfError;
7564
7690
  }
7565
7691
  }
7566
7692
  namespace CreatePasswordReset {
@@ -7569,10 +7695,10 @@ declare namespace Paths {
7569
7695
  }
7570
7696
  export type RequestBody = Components.Schemas.CreatePasswordResetInput;
7571
7697
  namespace Responses {
7572
- export type $200 = void;
7573
- export type $401 = void;
7574
- export type $403 = void;
7575
- export type $404 = void;
7698
+ export type $200 = Components.Schemas.PasswordResetResponse;
7699
+ export type $401 = Components.Schemas.ApiError;
7700
+ export type $403 = Components.Schemas.PeopleForbiddenError;
7701
+ export type $404 = Components.Schemas.ApiError;
7576
7702
  }
7577
7703
  }
7578
7704
  namespace ListMailboxes {
@@ -7583,10 +7709,10 @@ declare namespace Paths {
7583
7709
  continuationToken?: string;
7584
7710
  }
7585
7711
  namespace Responses {
7586
- export type $200 = void;
7587
- export type $400 = void;
7588
- export type $404 = void;
7589
- export type $401 = void;
7712
+ export type $200 = Components.Schemas.MailboxListResponse;
7713
+ export type $400 = Components.Schemas.ValidationError;
7714
+ export type $404 = Components.Schemas.ApiError;
7715
+ export type $401 = Components.Schemas.ApiError;
7590
7716
  }
7591
7717
  }
7592
7718
  namespace CreateMailbox {
@@ -7595,11 +7721,11 @@ declare namespace Paths {
7595
7721
  }
7596
7722
  export type RequestBody = Components.Schemas.CreateMailboxInput;
7597
7723
  namespace Responses {
7598
- export type $200 = void;
7599
- export type $400 = void;
7600
- export type $404 = void;
7601
- export type $403 = void;
7602
- export type $401 = void;
7724
+ export type $200 = Components.Schemas.MailboxResponse;
7725
+ export type $400 = Components.Schemas.ValidationError;
7726
+ export type $404 = Components.Schemas.ApiError;
7727
+ export type $403 = Components.Schemas.ApiError;
7728
+ export type $401 = Components.Schemas.ApiError;
7603
7729
  }
7604
7730
  }
7605
7731
  namespace GetMailbox {
@@ -7608,9 +7734,9 @@ declare namespace Paths {
7608
7734
  mailboxId: Components.Schemas.UUID;
7609
7735
  }
7610
7736
  namespace Responses {
7611
- export type $200 = void;
7612
- export type $404 = void;
7613
- export type $401 = void;
7737
+ export type $200 = Components.Schemas.MailboxResponse;
7738
+ export type $404 = Components.Schemas.ApiError;
7739
+ export type $401 = Components.Schemas.ApiError;
7614
7740
  }
7615
7741
  }
7616
7742
  namespace RenameMailbox {
@@ -7620,12 +7746,12 @@ declare namespace Paths {
7620
7746
  }
7621
7747
  export type RequestBody = Components.Schemas.RenameMailboxInput;
7622
7748
  namespace Responses {
7623
- export type $200 = void;
7624
- export type $400 = void;
7625
- export type $409 = void;
7626
- export type $404 = void;
7627
- export type $403 = void;
7628
- export type $401 = void;
7749
+ export type $200 = Components.Schemas.MailboxResponse;
7750
+ export type $400 = Components.Schemas.ValidationError;
7751
+ export type $409 = Components.Schemas.ApiError;
7752
+ export type $404 = Components.Schemas.ApiError;
7753
+ export type $403 = Components.Schemas.ApiError;
7754
+ export type $401 = Components.Schemas.ApiError;
7629
7755
  }
7630
7756
  }
7631
7757
  namespace DeleteMailbox {
@@ -7635,11 +7761,11 @@ declare namespace Paths {
7635
7761
  }
7636
7762
  namespace Responses {
7637
7763
  export type $204 = void;
7638
- export type $400 = void;
7639
- export type $409 = void;
7640
- export type $404 = void;
7641
- export type $403 = void;
7642
- export type $401 = void;
7764
+ export type $400 = Components.Schemas.ValidationError;
7765
+ export type $409 = Components.Schemas.ApiError;
7766
+ export type $404 = Components.Schemas.ApiError;
7767
+ export type $403 = Components.Schemas.ApiError;
7768
+ export type $401 = Components.Schemas.ApiError;
7643
7769
  }
7644
7770
  }
7645
7771
  namespace AppointFolderRole {
@@ -7649,12 +7775,12 @@ declare namespace Paths {
7649
7775
  }
7650
7776
  export type RequestBody = Components.Schemas.AppointFolderRoleInput;
7651
7777
  namespace Responses {
7652
- export type $200 = void;
7653
- export type $409 = void;
7654
- export type $422 = void;
7655
- export type $404 = void;
7656
- export type $403 = void;
7657
- export type $401 = void;
7778
+ export type $200 = Components.Schemas.AccountResponse;
7779
+ export type $409 = Components.Schemas.ApiError;
7780
+ export type $422 = Components.Schemas.ApiError;
7781
+ export type $404 = Components.Schemas.ApiError;
7782
+ export type $403 = Components.Schemas.ApiError;
7783
+ export type $401 = Components.Schemas.ApiError;
7658
7784
  }
7659
7785
  }
7660
7786
  namespace ListFilters {
@@ -7665,10 +7791,10 @@ declare namespace Paths {
7665
7791
  continuationToken?: string;
7666
7792
  }
7667
7793
  namespace Responses {
7668
- export type $200 = void;
7669
- export type $400 = void;
7670
- export type $404 = void;
7671
- export type $401 = void;
7794
+ export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.FilterResponse[] };
7795
+ export type $400 = Components.Schemas.ValidationError;
7796
+ export type $404 = Components.Schemas.ApiError;
7797
+ export type $401 = Components.Schemas.ApiError;
7672
7798
  }
7673
7799
  }
7674
7800
  namespace CreateFilter {
@@ -7677,12 +7803,12 @@ declare namespace Paths {
7677
7803
  }
7678
7804
  export type RequestBody = Components.Schemas.CreateFilterInput;
7679
7805
  namespace Responses {
7680
- export type $200 = void;
7681
- export type $400 = void;
7682
- export type $422 = void;
7683
- export type $404 = void;
7684
- export type $403 = void;
7685
- export type $401 = void;
7806
+ export type $200 = Components.Schemas.CreateFilterResponse;
7807
+ export type $400 = Components.Schemas.ValidationError;
7808
+ export type $422 = Components.Schemas.ApiError;
7809
+ export type $404 = Components.Schemas.ApiError;
7810
+ export type $403 = Components.Schemas.ApiError;
7811
+ export type $401 = Components.Schemas.ApiError;
7686
7812
  }
7687
7813
  }
7688
7814
  namespace GetFilter {
@@ -7691,9 +7817,9 @@ declare namespace Paths {
7691
7817
  filterId: Components.Schemas.UUID;
7692
7818
  }
7693
7819
  namespace Responses {
7694
- export type $200 = void;
7695
- export type $404 = void;
7696
- export type $401 = void;
7820
+ export type $200 = Components.Schemas.FilterResponse;
7821
+ export type $404 = Components.Schemas.ApiError;
7822
+ export type $401 = Components.Schemas.ApiError;
7697
7823
  }
7698
7824
  }
7699
7825
  namespace UpdateFilter {
@@ -7703,11 +7829,11 @@ declare namespace Paths {
7703
7829
  }
7704
7830
  export type RequestBody = Components.Schemas.UpdateFilterInput;
7705
7831
  namespace Responses {
7706
- export type $200 = void;
7707
- export type $422 = void;
7708
- export type $404 = void;
7709
- export type $403 = void;
7710
- export type $401 = void;
7832
+ export type $200 = Components.Schemas.FilterResponse;
7833
+ export type $422 = Components.Schemas.ApiError;
7834
+ export type $404 = Components.Schemas.ApiError;
7835
+ export type $403 = Components.Schemas.ApiError;
7836
+ export type $401 = Components.Schemas.ApiError;
7711
7837
  }
7712
7838
  }
7713
7839
  namespace DeleteFilter {
@@ -7717,9 +7843,9 @@ declare namespace Paths {
7717
7843
  }
7718
7844
  namespace Responses {
7719
7845
  export type $204 = void;
7720
- export type $404 = void;
7721
- export type $403 = void;
7722
- export type $401 = void;
7846
+ export type $404 = Components.Schemas.ApiError;
7847
+ export type $403 = Components.Schemas.ApiError;
7848
+ export type $401 = Components.Schemas.ApiError;
7723
7849
  }
7724
7850
  }
7725
7851
  namespace ListLabels {
@@ -7730,10 +7856,10 @@ declare namespace Paths {
7730
7856
  continuationToken?: string;
7731
7857
  }
7732
7858
  namespace Responses {
7733
- export type $200 = void;
7734
- export type $400 = void;
7735
- export type $404 = void;
7736
- export type $401 = void;
7859
+ export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.LabelResponse[] };
7860
+ export type $400 = Components.Schemas.ValidationError;
7861
+ export type $404 = Components.Schemas.ApiError;
7862
+ export type $401 = Components.Schemas.ApiError;
7737
7863
  }
7738
7864
  }
7739
7865
  namespace CreateLabel {
@@ -7742,10 +7868,10 @@ declare namespace Paths {
7742
7868
  }
7743
7869
  export type RequestBody = Components.Schemas.CreateLabelInput;
7744
7870
  namespace Responses {
7745
- export type $200 = void;
7746
- export type $404 = void;
7747
- export type $403 = void;
7748
- export type $401 = void;
7871
+ export type $200 = Components.Schemas.LabelResponse;
7872
+ export type $404 = Components.Schemas.ApiError;
7873
+ export type $403 = Components.Schemas.ApiError;
7874
+ export type $401 = Components.Schemas.ApiError;
7749
7875
  }
7750
7876
  }
7751
7877
  namespace GetLabel {
@@ -7754,9 +7880,9 @@ declare namespace Paths {
7754
7880
  labelId: Components.Schemas.UUID;
7755
7881
  }
7756
7882
  namespace Responses {
7757
- export type $200 = void;
7758
- export type $404 = void;
7759
- export type $401 = void;
7883
+ export type $200 = Components.Schemas.LabelResponse;
7884
+ export type $404 = Components.Schemas.ApiError;
7885
+ export type $401 = Components.Schemas.ApiError;
7760
7886
  }
7761
7887
  }
7762
7888
  namespace UpdateLabel {
@@ -7766,10 +7892,10 @@ declare namespace Paths {
7766
7892
  }
7767
7893
  export type RequestBody = Components.Schemas.UpdateLabelInput;
7768
7894
  namespace Responses {
7769
- export type $200 = void;
7770
- export type $404 = void;
7771
- export type $403 = void;
7772
- export type $401 = void;
7895
+ export type $200 = Components.Schemas.LabelResponse;
7896
+ export type $404 = Components.Schemas.ApiError;
7897
+ export type $403 = Components.Schemas.ApiError;
7898
+ export type $401 = Components.Schemas.ApiError;
7773
7899
  }
7774
7900
  }
7775
7901
  namespace DeleteLabel {
@@ -7779,9 +7905,9 @@ declare namespace Paths {
7779
7905
  }
7780
7906
  namespace Responses {
7781
7907
  export type $204 = void;
7782
- export type $404 = void;
7783
- export type $403 = void;
7784
- export type $401 = void;
7908
+ export type $404 = Components.Schemas.ApiError;
7909
+ export type $403 = Components.Schemas.ApiError;
7910
+ export type $401 = Components.Schemas.ApiError;
7785
7911
  }
7786
7912
  }
7787
7913
  namespace CreateOrganizeJob {
@@ -7790,11 +7916,11 @@ declare namespace Paths {
7790
7916
  }
7791
7917
  export type RequestBody = Components.Schemas.OrganizeInput;
7792
7918
  namespace Responses {
7793
- export type $202 = void;
7794
- export type $400 = void;
7795
- export type $404 = void;
7796
- export type $403 = void;
7797
- export type $401 = void;
7919
+ export type $202 = Components.Schemas.CreateOrganizeJobResponse;
7920
+ export type $400 = Components.Schemas.ValidationError;
7921
+ export type $404 = Components.Schemas.ApiError;
7922
+ export type $403 = Components.Schemas.ApiError;
7923
+ export type $401 = Components.Schemas.ApiError;
7798
7924
  }
7799
7925
  }
7800
7926
  namespace PreviewOrganize {
@@ -7803,10 +7929,10 @@ declare namespace Paths {
7803
7929
  }
7804
7930
  export type RequestBody = Components.Schemas.OrganizeInput;
7805
7931
  namespace Responses {
7806
- export type $200 = void;
7807
- export type $400 = void;
7808
- export type $404 = void;
7809
- export type $401 = void;
7932
+ export type $200 = Components.Schemas.OrganizePreviewResponse;
7933
+ export type $400 = Components.Schemas.ValidationError;
7934
+ export type $404 = Components.Schemas.ApiError;
7935
+ export type $401 = Components.Schemas.ApiError;
7810
7936
  }
7811
7937
  }
7812
7938
  namespace GetOrganizeJob {
@@ -7815,23 +7941,23 @@ declare namespace Paths {
7815
7941
  organizeJobId: Components.Schemas.UUID;
7816
7942
  }
7817
7943
  namespace Responses {
7818
- export type $200 = void;
7819
- export type $404 = void;
7820
- export type $401 = void;
7944
+ export type $200 = Components.Schemas.OrganizeJobResponse;
7945
+ export type $404 = Components.Schemas.ApiError;
7946
+ export type $401 = Components.Schemas.ApiError;
7821
7947
  }
7822
7948
  }
7823
7949
  namespace ListCalendars {
7824
7950
  namespace Responses {
7825
- export type $200 = void;
7826
- export type $401 = void;
7951
+ export type $200 = Components.Schemas.CalendarListResponse;
7952
+ export type $401 = Components.Schemas.ApiError;
7827
7953
  }
7828
7954
  }
7829
7955
  namespace CreateCalendar {
7830
7956
  export type RequestBody = Components.Schemas.CreateCalendarInput;
7831
7957
  namespace Responses {
7832
- export type $200 = void;
7833
- export type $400 = void;
7834
- export type $401 = void;
7958
+ export type $200 = Components.Schemas.CalendarResponse;
7959
+ export type $400 = Components.Schemas.ValidationError;
7960
+ export type $401 = Components.Schemas.ApiError;
7835
7961
  }
7836
7962
  }
7837
7963
  namespace GetCalendar {
@@ -7839,9 +7965,9 @@ declare namespace Paths {
7839
7965
  calendarId: Components.Schemas.UUID;
7840
7966
  }
7841
7967
  namespace Responses {
7842
- export type $200 = void;
7843
- export type $404 = void;
7844
- export type $401 = void;
7968
+ export type $200 = Components.Schemas.CalendarResponse;
7969
+ export type $404 = Components.Schemas.ApiError;
7970
+ export type $401 = Components.Schemas.ApiError;
7845
7971
  }
7846
7972
  }
7847
7973
  namespace UpdateCalendar {
@@ -7850,10 +7976,10 @@ declare namespace Paths {
7850
7976
  }
7851
7977
  export type RequestBody = Components.Schemas.UpdateCalendarInput;
7852
7978
  namespace Responses {
7853
- export type $200 = void;
7854
- export type $400 = void;
7855
- export type $404 = void;
7856
- export type $401 = void;
7979
+ export type $200 = Components.Schemas.CalendarResponse;
7980
+ export type $400 = Components.Schemas.ValidationError;
7981
+ export type $404 = Components.Schemas.ApiError;
7982
+ export type $401 = Components.Schemas.ApiError;
7857
7983
  }
7858
7984
  }
7859
7985
  namespace DeleteCalendar {
@@ -7862,9 +7988,9 @@ declare namespace Paths {
7862
7988
  }
7863
7989
  namespace Responses {
7864
7990
  export type $204 = void;
7865
- export type $400 = void;
7866
- export type $404 = void;
7867
- export type $401 = void;
7991
+ export type $400 = Components.Schemas.ValidationError;
7992
+ export type $404 = Components.Schemas.ApiError;
7993
+ export type $401 = Components.Schemas.ApiError;
7868
7994
  }
7869
7995
  }
7870
7996
  namespace GetCalendarFeed {
@@ -7872,9 +7998,9 @@ declare namespace Paths {
7872
7998
  calendarId: Components.Schemas.UUID;
7873
7999
  }
7874
8000
  namespace Responses {
7875
- export type $200 = void;
7876
- export type $404 = void;
7877
- export type $401 = void;
8001
+ export type $200 = Components.Schemas.CalendarFeedStateResponse;
8002
+ export type $404 = Components.Schemas.ApiError;
8003
+ export type $401 = Components.Schemas.ApiError;
7878
8004
  }
7879
8005
  }
7880
8006
  namespace PutCalendarFeed {
@@ -7882,9 +8008,9 @@ declare namespace Paths {
7882
8008
  calendarId: Components.Schemas.UUID;
7883
8009
  }
7884
8010
  namespace Responses {
7885
- export type $200 = void;
7886
- export type $404 = void;
7887
- export type $401 = void;
8011
+ export type $200 = Components.Schemas.CalendarFeedResponse;
8012
+ export type $404 = Components.Schemas.ApiError;
8013
+ export type $401 = Components.Schemas.ApiError;
7888
8014
  }
7889
8015
  }
7890
8016
  namespace RevokeCalendarFeed {
@@ -7893,8 +8019,8 @@ declare namespace Paths {
7893
8019
  }
7894
8020
  namespace Responses {
7895
8021
  export type $204 = void;
7896
- export type $404 = void;
7897
- export type $401 = void;
8022
+ export type $404 = Components.Schemas.ApiError;
8023
+ export type $401 = Components.Schemas.ApiError;
7898
8024
  }
7899
8025
  }
7900
8026
  namespace GetCalendarFeedIcal {
@@ -7902,13 +8028,13 @@ declare namespace Paths {
7902
8028
  feedToken: string;
7903
8029
  }
7904
8030
  export interface HeaderParameters {
7905
- ifNoneMatch?: string;
7906
- ifModifiedSince?: string;
8031
+ "If-None-Match"?: string;
8032
+ "If-Modified-Since"?: string;
7907
8033
  }
7908
8034
  namespace Responses {
7909
- export type $200 = void;
8035
+ export type $200 = string;
7910
8036
  export type $304 = void;
7911
- export type $404 = void;
8037
+ export type $404 = string;
7912
8038
  }
7913
8039
  }
7914
8040
  namespace ListCalendarEvents {
@@ -7919,19 +8045,19 @@ declare namespace Paths {
7919
8045
  calendarObjectId?: Components.Schemas.UUID;
7920
8046
  }
7921
8047
  namespace Responses {
7922
- export type $200 = void;
7923
- export type $400 = void;
7924
- export type $404 = void;
7925
- export type $401 = void;
8048
+ export type $200 = Components.Schemas.CalendarEventListResponse;
8049
+ export type $400 = Components.Schemas.ValidationError;
8050
+ export type $404 = Components.Schemas.ApiError;
8051
+ export type $401 = Components.Schemas.ApiError;
7926
8052
  }
7927
8053
  }
7928
8054
  namespace CreateCalendarEvent {
7929
8055
  export type RequestBody = Components.Schemas.CreateCalendarEventInput;
7930
8056
  namespace Responses {
7931
- export type $200 = void;
7932
- export type $400 = void;
7933
- export type $404 = void;
7934
- export type $401 = void;
8057
+ export type $200 = Components.Schemas.CalendarEventResponse;
8058
+ export type $400 = Components.Schemas.ValidationError;
8059
+ export type $404 = Components.Schemas.ApiError;
8060
+ export type $401 = Components.Schemas.ApiError;
7935
8061
  }
7936
8062
  }
7937
8063
  namespace GetCalendarEvent {
@@ -7942,10 +8068,10 @@ declare namespace Paths {
7942
8068
  calendarId?: Components.Schemas.UUID;
7943
8069
  }
7944
8070
  namespace Responses {
7945
- export type $200 = void;
7946
- export type $400 = void;
7947
- export type $404 = void;
7948
- export type $401 = void;
8071
+ export type $200 = Components.Schemas.CalendarEventResponse;
8072
+ export type $400 = Components.Schemas.ValidationError;
8073
+ export type $404 = Components.Schemas.ApiError;
8074
+ export type $401 = Components.Schemas.ApiError;
7949
8075
  }
7950
8076
  }
7951
8077
  namespace UpdateCalendarEvent {
@@ -7958,15 +8084,15 @@ declare namespace Paths {
7958
8084
  recurrenceId?: string;
7959
8085
  }
7960
8086
  export interface HeaderParameters {
7961
- ifMatch?: string;
8087
+ "If-Match"?: string;
7962
8088
  }
7963
8089
  export type RequestBody = Components.Schemas.UpdateCalendarEventInput;
7964
8090
  namespace Responses {
7965
- export type $200 = void;
7966
- export type $400 = void;
7967
- export type $404 = void;
7968
- export type $412 = void;
7969
- export type $401 = void;
8091
+ export type $200 = Components.Schemas.CalendarEventResponse;
8092
+ export type $400 = Components.Schemas.ValidationError;
8093
+ export type $404 = Components.Schemas.ApiError;
8094
+ export type $412 = Components.Schemas.ApiError;
8095
+ export type $401 = Components.Schemas.ApiError;
7970
8096
  }
7971
8097
  }
7972
8098
  namespace DeleteCalendarEvent {
@@ -7979,14 +8105,14 @@ declare namespace Paths {
7979
8105
  recurrenceId?: string;
7980
8106
  }
7981
8107
  export interface HeaderParameters {
7982
- ifMatch?: string;
8108
+ "If-Match"?: string;
7983
8109
  }
7984
8110
  namespace Responses {
7985
- export type $200 = void;
7986
- export type $400 = void;
7987
- export type $404 = void;
7988
- export type $412 = void;
7989
- export type $401 = void;
8111
+ export type $200 = Components.Schemas.CalendarEventDeleteResponse;
8112
+ export type $400 = Components.Schemas.ValidationError;
8113
+ export type $404 = Components.Schemas.ApiError;
8114
+ export type $412 = Components.Schemas.ApiError;
8115
+ export type $401 = Components.Schemas.ApiError;
7990
8116
  }
7991
8117
  }
7992
8118
  namespace ListCalendarFreeBusy {
@@ -7995,42 +8121,53 @@ declare namespace Paths {
7995
8121
  to: string;
7996
8122
  }
7997
8123
  namespace Responses {
7998
- export type $200 = void;
7999
- export type $400 = void;
8000
- export type $401 = void;
8124
+ export type $200 = Components.Schemas.CalendarFreeBusyResponse;
8125
+ export type $400 = Components.Schemas.ValidationError;
8126
+ export type $401 = Components.Schemas.ApiError;
8001
8127
  }
8002
8128
  }
8003
8129
  namespace GetUserSettings {
8004
8130
  namespace Responses {
8005
- export type $200 = void;
8006
- export type $401 = void;
8131
+ export type $200 = Components.Schemas.UserSettingsResponse;
8132
+ export type $401 = Components.Schemas.ApiError;
8007
8133
  }
8008
8134
  }
8009
8135
  namespace UpdateUserSettings {
8010
8136
  export type RequestBody = Components.Schemas.UpdateUserSettingsInput;
8011
8137
  namespace Responses {
8012
- export type $200 = void;
8013
- export type $400 = void;
8014
- export type $401 = void;
8138
+ export type $200 = Components.Schemas.UserSettingsResponse;
8139
+ export type $400 = Components.Schemas.ValidationError;
8140
+ export type $401 = Components.Schemas.ApiError;
8015
8141
  }
8016
8142
  }
8017
8143
  namespace ClearDefaultInvitationSender {
8018
8144
  namespace Responses {
8019
- export type $200 = void;
8020
- export type $401 = void;
8145
+ export type $200 = Components.Schemas.UserSettingsResponse;
8146
+ export type $401 = Components.Schemas.ApiError;
8021
8147
  }
8022
8148
  }
8023
8149
  namespace ClearClassificationProvider {
8024
8150
  namespace Responses {
8025
- export type $200 = void;
8026
- export type $401 = void;
8151
+ export type $200 = Components.Schemas.UserSettingsResponse;
8152
+ export type $401 = Components.Schemas.ApiError;
8027
8153
  }
8028
8154
  }
8029
8155
  namespace TestClassificationProvider {
8030
8156
  export type RequestBody = Components.Schemas.ClassificationTestInput;
8031
8157
  namespace Responses {
8032
- export type $400 = void;
8033
- export type $401 = void;
8158
+ export type $200 = Components.Schemas.ClassificationTestPassed | Components.Schemas.ClassificationTestFailed;
8159
+ export type $400 = Components.Schemas.ValidationError;
8160
+ export type $401 = Components.Schemas.ApiError;
8161
+ }
8162
+ }
8163
+ namespace GetClassificationStats {
8164
+ export interface QueryParameters {
8165
+ since: string;
8166
+ }
8167
+ namespace Responses {
8168
+ export type $200 = Components.Schemas.ClassifierStats;
8169
+ export type $400 = Components.Schemas.ValidationError;
8170
+ export type $401 = Components.Schemas.ApiError;
8034
8171
  }
8035
8172
  }
8036
8173
  namespace ListCalendarTasks {
@@ -8040,19 +8177,19 @@ declare namespace Paths {
8040
8177
  calendarId?: Components.Schemas.UUID[];
8041
8178
  }
8042
8179
  namespace Responses {
8043
- export type $200 = void;
8044
- export type $400 = void;
8045
- export type $404 = void;
8046
- export type $401 = void;
8180
+ export type $200 = Components.Schemas.CalendarTaskListResponse;
8181
+ export type $400 = Components.Schemas.ValidationError;
8182
+ export type $404 = Components.Schemas.ApiError;
8183
+ export type $401 = Components.Schemas.ApiError;
8047
8184
  }
8048
8185
  }
8049
8186
  namespace CreateCalendarTask {
8050
8187
  export type RequestBody = Components.Schemas.CreateCalendarTaskInput;
8051
8188
  namespace Responses {
8052
- export type $200 = void;
8053
- export type $400 = void;
8054
- export type $404 = void;
8055
- export type $401 = void;
8189
+ export type $200 = Components.Schemas.CalendarTaskResponse;
8190
+ export type $400 = Components.Schemas.ValidationError;
8191
+ export type $404 = Components.Schemas.ApiError;
8192
+ export type $401 = Components.Schemas.ApiError;
8056
8193
  }
8057
8194
  }
8058
8195
  namespace GetCalendarTask {
@@ -8063,9 +8200,9 @@ declare namespace Paths {
8063
8200
  calendarId?: Components.Schemas.UUID;
8064
8201
  }
8065
8202
  namespace Responses {
8066
- export type $200 = void;
8067
- export type $404 = void;
8068
- export type $401 = void;
8203
+ export type $200 = Components.Schemas.CalendarTaskResponse;
8204
+ export type $404 = Components.Schemas.ApiError;
8205
+ export type $401 = Components.Schemas.ApiError;
8069
8206
  }
8070
8207
  }
8071
8208
  namespace UpdateCalendarTask {
@@ -8076,15 +8213,15 @@ declare namespace Paths {
8076
8213
  calendarId: Components.Schemas.UUID;
8077
8214
  }
8078
8215
  export interface HeaderParameters {
8079
- ifMatch?: string;
8216
+ "If-Match"?: string;
8080
8217
  }
8081
8218
  export type RequestBody = Components.Schemas.UpdateCalendarTaskInput;
8082
8219
  namespace Responses {
8083
- export type $200 = void;
8084
- export type $400 = void;
8085
- export type $404 = void;
8086
- export type $412 = void;
8087
- export type $401 = void;
8220
+ export type $200 = Components.Schemas.CalendarTaskResponse;
8221
+ export type $400 = Components.Schemas.ValidationError;
8222
+ export type $404 = Components.Schemas.ApiError;
8223
+ export type $412 = Components.Schemas.ApiError;
8224
+ export type $401 = Components.Schemas.ApiError;
8088
8225
  }
8089
8226
  }
8090
8227
  namespace DeleteCalendarTask {
@@ -8095,13 +8232,13 @@ declare namespace Paths {
8095
8232
  calendarId: Components.Schemas.UUID;
8096
8233
  }
8097
8234
  export interface HeaderParameters {
8098
- ifMatch?: string;
8235
+ "If-Match"?: string;
8099
8236
  }
8100
8237
  namespace Responses {
8101
8238
  export type $204 = void;
8102
- export type $404 = void;
8103
- export type $412 = void;
8104
- export type $401 = void;
8239
+ export type $404 = Components.Schemas.ApiError;
8240
+ export type $412 = Components.Schemas.ApiError;
8241
+ export type $401 = Components.Schemas.ApiError;
8105
8242
  }
8106
8243
  }
8107
8244
  namespace EmptyTrash {
@@ -8109,11 +8246,11 @@ declare namespace Paths {
8109
8246
  accountId: Components.Schemas.UUID;
8110
8247
  }
8111
8248
  namespace Responses {
8112
- export type $200 = void;
8113
- export type $409 = void;
8114
- export type $404 = void;
8115
- export type $403 = void;
8116
- export type $401 = void;
8249
+ export type $200 = Components.Schemas.EmptyTrashResponse;
8250
+ export type $409 = Components.Schemas.ApiError;
8251
+ export type $404 = Components.Schemas.ApiError;
8252
+ export type $403 = Components.Schemas.ApiError;
8253
+ export type $401 = Components.Schemas.ApiError;
8117
8254
  }
8118
8255
  }
8119
8256
  namespace TriggerSync {
@@ -8121,10 +8258,10 @@ declare namespace Paths {
8121
8258
  accountId: Components.Schemas.UUID;
8122
8259
  }
8123
8260
  namespace Responses {
8124
- export type $200 = void;
8125
- export type $404 = void;
8126
- export type $403 = void;
8127
- export type $401 = void;
8261
+ export type $200 = Components.Schemas.SyncTriggerResponse;
8262
+ export type $404 = Components.Schemas.ApiError;
8263
+ export type $403 = Components.Schemas.ApiError;
8264
+ export type $401 = Components.Schemas.ApiError;
8128
8265
  }
8129
8266
  }
8130
8267
  namespace GetSyncStatus {
@@ -8132,34 +8269,34 @@ declare namespace Paths {
8132
8269
  accountId: Components.Schemas.UUID;
8133
8270
  }
8134
8271
  namespace Responses {
8135
- export type $200 = void;
8136
- export type $404 = void;
8137
- export type $401 = void;
8272
+ export type $200 = Components.Schemas.AccountSyncStatusResponse;
8273
+ export type $404 = Components.Schemas.ApiError;
8274
+ export type $401 = Components.Schemas.ApiError;
8138
8275
  }
8139
8276
  }
8140
8277
  namespace CreateAccount {
8141
8278
  export type RequestBody = Components.Schemas.CreateAccountInput;
8142
8279
  namespace Responses {
8143
- export type $200 = void;
8144
- export type $400 = void;
8145
- export type $409 = void;
8146
- export type $401 = void;
8280
+ export type $200 = Components.Schemas.AccountResponse;
8281
+ export type $400 = Components.Schemas.ValidationError;
8282
+ export type $409 = Components.Schemas.ApiError;
8283
+ export type $401 = Components.Schemas.ApiError;
8147
8284
  }
8148
8285
  }
8149
8286
  namespace TestConnection {
8150
8287
  export type RequestBody = Components.Schemas.TestConnectionInput;
8151
8288
  namespace Responses {
8152
- export type $200 = void;
8153
- export type $404 = void;
8154
- export type $401 = void;
8289
+ export type $200 = Components.Schemas.TestConnectionResponse;
8290
+ export type $404 = Components.Schemas.ApiError;
8291
+ export type $401 = Components.Schemas.ApiError;
8155
8292
  }
8156
8293
  }
8157
8294
  namespace MicrosoftOAuthStart {
8158
8295
  export type RequestBody = Components.Schemas.MicrosoftOAuthStartRequest;
8159
8296
  namespace Responses {
8160
- export type $200 = void;
8161
- export type $400 = void;
8162
- export type $401 = void;
8297
+ export type $200 = Components.Schemas.MicrosoftOAuthStartResponse;
8298
+ export type $400 = Components.Schemas.ValidationError;
8299
+ export type $401 = Components.Schemas.ApiError;
8163
8300
  }
8164
8301
  }
8165
8302
  namespace MicrosoftOAuthCallback {
@@ -8178,10 +8315,10 @@ declare namespace Paths {
8178
8315
  }
8179
8316
  export type RequestBody = Components.Schemas.UpdateAccountInput;
8180
8317
  namespace Responses {
8181
- export type $200 = void;
8182
- export type $404 = void;
8183
- export type $403 = void;
8184
- export type $401 = void;
8318
+ export type $200 = Components.Schemas.AccountResponse;
8319
+ export type $404 = Components.Schemas.ApiError;
8320
+ export type $403 = Components.Schemas.ApiError;
8321
+ export type $401 = Components.Schemas.ApiError;
8185
8322
  }
8186
8323
  }
8187
8324
  namespace DeleteAccount {
@@ -8189,10 +8326,10 @@ declare namespace Paths {
8189
8326
  accountId: Components.Schemas.UUID;
8190
8327
  }
8191
8328
  namespace Responses {
8192
- export type $200 = void;
8193
- export type $404 = void;
8194
- export type $403 = void;
8195
- export type $401 = void;
8329
+ export type $200 = Components.Schemas.DeleteAccountResponse;
8330
+ export type $404 = Components.Schemas.ApiError;
8331
+ export type $403 = Components.Schemas.ApiError;
8332
+ export type $401 = Components.Schemas.ApiError;
8196
8333
  }
8197
8334
  }
8198
8335
  namespace ListThreadMessages {
@@ -8203,9 +8340,9 @@ declare namespace Paths {
8203
8340
  order?: Components.Schemas.SortOrder;
8204
8341
  }
8205
8342
  namespace Responses {
8206
- export type $200 = void;
8207
- export type $404 = void;
8208
- export type $401 = void;
8343
+ export type $200 = Components.Schemas.ThreadMessageListResponse;
8344
+ export type $404 = Components.Schemas.ApiError;
8345
+ export type $401 = Components.Schemas.ApiError;
8209
8346
  }
8210
8347
  }
8211
8348
  namespace ListAllThreads {
@@ -8227,9 +8364,9 @@ declare namespace Paths {
8227
8364
  results?: boolean;
8228
8365
  }
8229
8366
  namespace Responses {
8230
- export type $200 = void;
8231
- export type $400 = void;
8232
- export type $401 = void;
8367
+ export type $200 = Components.Schemas.ThreadSearchResponse;
8368
+ export type $400 = Components.Schemas.ValidationError;
8369
+ export type $401 = Components.Schemas.ApiError;
8233
8370
  }
8234
8371
  }
8235
8372
  namespace ListThreads {
@@ -8241,9 +8378,9 @@ declare namespace Paths {
8241
8378
  order?: Components.Schemas.SortOrder;
8242
8379
  }
8243
8380
  namespace Responses {
8244
- export type $200 = void;
8245
- export type $400 = void;
8246
- export type $401 = void;
8381
+ export type $200 = Components.Schemas.ThreadMessageListResponse;
8382
+ export type $400 = Components.Schemas.ValidationError;
8383
+ export type $401 = Components.Schemas.ApiError;
8247
8384
  }
8248
8385
  }
8249
8386
  namespace SearchThreads {
@@ -8267,19 +8404,19 @@ declare namespace Paths {
8267
8404
  limit?: number;
8268
8405
  }
8269
8406
  namespace Responses {
8270
- export type $200 = void;
8271
- export type $400 = void;
8272
- export type $401 = void;
8407
+ export type $200 = Components.Schemas.ThreadSearchResponse;
8408
+ export type $400 = Components.Schemas.ValidationError;
8409
+ export type $401 = Components.Schemas.ApiError;
8273
8410
  }
8274
8411
  }
8275
8412
  namespace CreateOutboxMessage {
8276
8413
  export type RequestBody = Components.Schemas.CreateOutboxMessageInput;
8277
8414
  namespace Responses {
8278
- export type $200 = void;
8279
- export type $400 = void;
8280
- export type $404 = void;
8281
- export type $403 = void;
8282
- export type $401 = void;
8415
+ export type $200 = Components.Schemas.OutboxMessageResponse;
8416
+ export type $400 = Components.Schemas.ValidationError;
8417
+ export type $404 = Components.Schemas.ApiError;
8418
+ export type $403 = Components.Schemas.ApiError;
8419
+ export type $401 = Components.Schemas.ApiError;
8283
8420
  }
8284
8421
  }
8285
8422
  namespace ListOutboxMessages {
@@ -8287,9 +8424,9 @@ declare namespace Paths {
8287
8424
  continuationToken?: string;
8288
8425
  }
8289
8426
  namespace Responses {
8290
- export type $200 = void;
8291
- export type $400 = void;
8292
- export type $401 = void;
8427
+ export type $200 = Components.Schemas.OutboxMessageListResponse;
8428
+ export type $400 = Components.Schemas.ValidationError;
8429
+ export type $401 = Components.Schemas.ApiError;
8293
8430
  }
8294
8431
  }
8295
8432
  namespace GetOutboxMessage {
@@ -8297,9 +8434,9 @@ declare namespace Paths {
8297
8434
  outboxMessageId: Components.Schemas.UUID;
8298
8435
  }
8299
8436
  namespace Responses {
8300
- export type $200 = void;
8301
- export type $404 = void;
8302
- export type $401 = void;
8437
+ export type $200 = Components.Schemas.OutboxMessageResponse;
8438
+ export type $404 = Components.Schemas.ApiError;
8439
+ export type $401 = Components.Schemas.ApiError;
8303
8440
  }
8304
8441
  }
8305
8442
  namespace UpdateOutboxMessage {
@@ -8308,10 +8445,10 @@ declare namespace Paths {
8308
8445
  }
8309
8446
  export type RequestBody = Components.Schemas.UpdateOutboxMessageInput;
8310
8447
  namespace Responses {
8311
- export type $200 = void;
8312
- export type $404 = void;
8313
- export type $403 = void;
8314
- export type $401 = void;
8448
+ export type $200 = Components.Schemas.OutboxMessageResponse;
8449
+ export type $404 = Components.Schemas.ApiError;
8450
+ export type $403 = Components.Schemas.ApiError;
8451
+ export type $401 = Components.Schemas.ApiError;
8315
8452
  }
8316
8453
  }
8317
8454
  namespace DeleteOutboxMessage {
@@ -8320,9 +8457,9 @@ declare namespace Paths {
8320
8457
  }
8321
8458
  namespace Responses {
8322
8459
  export type $204 = void;
8323
- export type $404 = void;
8324
- export type $403 = void;
8325
- export type $401 = void;
8460
+ export type $404 = Components.Schemas.ApiError;
8461
+ export type $403 = Components.Schemas.ApiError;
8462
+ export type $401 = Components.Schemas.ApiError;
8326
8463
  }
8327
8464
  }
8328
8465
  namespace SendOutboxMessage {
@@ -8330,11 +8467,11 @@ declare namespace Paths {
8330
8467
  outboxMessageId: Components.Schemas.UUID;
8331
8468
  }
8332
8469
  namespace Responses {
8333
- export type $200 = void;
8334
- export type $400 = void;
8335
- export type $404 = void;
8336
- export type $403 = void;
8337
- export type $401 = void;
8470
+ export type $200 = Components.Schemas.OutboxMessageResponse;
8471
+ export type $400 = Components.Schemas.ValidationError;
8472
+ export type $404 = Components.Schemas.ApiError;
8473
+ export type $403 = Components.Schemas.ApiError;
8474
+ export type $401 = Components.Schemas.ApiError;
8338
8475
  }
8339
8476
  }
8340
8477
  namespace MintOutboxAttachment {
@@ -8343,9 +8480,10 @@ declare namespace Paths {
8343
8480
  }
8344
8481
  export type RequestBody = Components.Schemas.MintOutboxAttachmentInput;
8345
8482
  namespace Responses {
8346
- export type $200 = void;
8347
- export type $200 = void;
8348
- export type $401 = void;
8483
+ export type $200 = Components.Schemas.MintOutboxAttachmentResponse;
8484
+ export type $400 = Components.Schemas.OutboxAttachmentRejection;
8485
+ export type $413 = Components.Schemas.OutboxAttachmentRejection;
8486
+ export type $401 = Components.Schemas.ApiError;
8349
8487
  }
8350
8488
  }
8351
8489
  namespace CompleteOutboxAttachment {
@@ -8354,9 +8492,10 @@ declare namespace Paths {
8354
8492
  outboxAttachmentId: Components.Schemas.UUID;
8355
8493
  }
8356
8494
  namespace Responses {
8357
- export type $200 = void;
8358
- export type $200 = void;
8359
- export type $401 = void;
8495
+ export type $200 = Components.Schemas.OutboxAttachmentResponse;
8496
+ export type $400 = Components.Schemas.OutboxAttachmentRejection;
8497
+ export type $413 = Components.Schemas.OutboxAttachmentRejection;
8498
+ export type $401 = Components.Schemas.ApiError;
8360
8499
  }
8361
8500
  }
8362
8501
  namespace SearchAddresses {
@@ -8365,8 +8504,8 @@ declare namespace Paths {
8365
8504
  limit?: number;
8366
8505
  }
8367
8506
  namespace Responses {
8368
- export type $200 = void;
8369
- export type $401 = void;
8507
+ export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.AddressResponse[] };
8508
+ export type $401 = Components.Schemas.ApiError;
8370
8509
  }
8371
8510
  }
8372
8511
  namespace UpdateAddress {
@@ -8375,10 +8514,10 @@ declare namespace Paths {
8375
8514
  }
8376
8515
  export type RequestBody = Components.Schemas.UpdateAddressInput;
8377
8516
  namespace Responses {
8378
- export type $200 = void;
8379
- export type $404 = void;
8380
- export type $403 = void;
8381
- export type $401 = void;
8517
+ export type $200 = Components.Schemas.AddressResponse;
8518
+ export type $404 = Components.Schemas.ApiError;
8519
+ export type $403 = Components.Schemas.ApiError;
8520
+ export type $401 = Components.Schemas.ApiError;
8382
8521
  }
8383
8522
  }
8384
8523
  namespace DescribeMessage {
@@ -8386,11 +8525,11 @@ declare namespace Paths {
8386
8525
  messageId: Components.Schemas.UUID;
8387
8526
  }
8388
8527
  namespace Responses {
8389
- export type $200 = void;
8390
- export type $404 = void;
8391
- export type $409 = void;
8392
- export type $422 = void;
8393
- export type $401 = void;
8528
+ export type $200 = Components.Schemas.DescribeMessageResponse;
8529
+ export type $404 = Components.Schemas.ApiError;
8530
+ export type $409 = Components.Schemas.ApiError;
8531
+ export type $422 = Components.Schemas.ApiError;
8532
+ export type $401 = Components.Schemas.ApiError;
8394
8533
  }
8395
8534
  }
8396
8535
  namespace GetRawMessage {
@@ -8398,10 +8537,10 @@ declare namespace Paths {
8398
8537
  messageId: Components.Schemas.UUID;
8399
8538
  }
8400
8539
  namespace Responses {
8401
- export type $200 = void;
8402
- export type $404 = void;
8403
- export type $409 = void;
8404
- export type $401 = void;
8540
+ export type $200 = Components.Schemas.RawMessageResponse;
8541
+ export type $404 = Components.Schemas.ApiError;
8542
+ export type $409 = Components.Schemas.ApiError;
8543
+ export type $401 = Components.Schemas.ApiError;
8405
8544
  }
8406
8545
  }
8407
8546
  namespace UpdateMessageFlags {
@@ -8410,78 +8549,78 @@ declare namespace Paths {
8410
8549
  }
8411
8550
  export type RequestBody = Components.Schemas.UpdateFlagsInput;
8412
8551
  namespace Responses {
8413
- export type $200 = void;
8414
- export type $404 = void;
8415
- export type $403 = void;
8416
- export type $401 = void;
8552
+ export type $200 = { messageId: Components.Schemas.UUID; isRead: boolean; isStarred: boolean };
8553
+ export type $404 = Components.Schemas.ApiError;
8554
+ export type $403 = Components.Schemas.ApiError;
8555
+ export type $401 = Components.Schemas.ApiError;
8417
8556
  }
8418
8557
  }
8419
8558
  namespace UpdateFlags {
8420
8559
  export type RequestBody = Components.Schemas.BulkUpdateFlagsInput;
8421
8560
  namespace Responses {
8422
- export type $200 = void;
8423
- export type $404 = void;
8424
- export type $403 = void;
8425
- export type $401 = void;
8561
+ export type $200 = Components.Schemas.MessageBulkOperationResult;
8562
+ export type $404 = Components.Schemas.ApiError;
8563
+ export type $403 = Components.Schemas.ApiError;
8564
+ export type $401 = Components.Schemas.ApiError;
8426
8565
  }
8427
8566
  }
8428
8567
  namespace DeleteMessages {
8429
8568
  export type RequestBody = Components.Schemas.DeleteMessagesInput;
8430
8569
  namespace Responses {
8431
- export type $200 = void;
8432
- export type $409 = void;
8433
- export type $404 = void;
8434
- export type $403 = void;
8435
- export type $401 = void;
8570
+ export type $200 = Components.Schemas.MessageBulkOperationResult;
8571
+ export type $409 = Components.Schemas.ApiError;
8572
+ export type $404 = Components.Schemas.ApiError;
8573
+ export type $403 = Components.Schemas.ApiError;
8574
+ export type $401 = Components.Schemas.ApiError;
8436
8575
  }
8437
8576
  }
8438
8577
  namespace MoveMessages {
8439
8578
  export type RequestBody = Components.Schemas.MoveMessagesInput;
8440
8579
  namespace Responses {
8441
- export type $200 = void;
8442
- export type $409 = void;
8443
- export type $422 = void;
8444
- export type $404 = void;
8445
- export type $403 = void;
8446
- export type $401 = void;
8580
+ export type $200 = Components.Schemas.MessageBulkOperationResult;
8581
+ export type $409 = Components.Schemas.ApiError;
8582
+ export type $422 = Components.Schemas.ApiError;
8583
+ export type $404 = Components.Schemas.ApiError;
8584
+ export type $403 = Components.Schemas.ApiError;
8585
+ export type $401 = Components.Schemas.ApiError;
8447
8586
  }
8448
8587
  }
8449
8588
  namespace CopyMessages {
8450
8589
  export type RequestBody = Components.Schemas.CopyMessagesInput;
8451
8590
  namespace Responses {
8452
- export type $200 = void;
8453
- export type $409 = void;
8454
- export type $422 = void;
8455
- export type $404 = void;
8456
- export type $403 = void;
8457
- export type $401 = void;
8591
+ export type $200 = Components.Schemas.MessageBulkOperationResult;
8592
+ export type $409 = Components.Schemas.ApiError;
8593
+ export type $422 = Components.Schemas.ApiError;
8594
+ export type $404 = Components.Schemas.ApiError;
8595
+ export type $403 = Components.Schemas.ApiError;
8596
+ export type $401 = Components.Schemas.ApiError;
8458
8597
  }
8459
8598
  }
8460
8599
  namespace UpdateMessageLabels {
8461
8600
  export type RequestBody = Components.Schemas.UpdateMessageLabelsInput;
8462
8601
  namespace Responses {
8463
- export type $200 = void;
8464
- export type $404 = void;
8465
- export type $403 = void;
8466
- export type $401 = void;
8602
+ export type $200 = Components.Schemas.MessageBulkOperationResult;
8603
+ export type $404 = Components.Schemas.ApiError;
8604
+ export type $403 = Components.Schemas.ApiError;
8605
+ export type $401 = Components.Schemas.ApiError;
8467
8606
  }
8468
8607
  }
8469
8608
  namespace ReportSpam {
8470
8609
  export type RequestBody = Components.Schemas.BulkMessageInput;
8471
8610
  namespace Responses {
8472
- export type $200 = void;
8473
- export type $404 = void;
8474
- export type $403 = void;
8475
- export type $401 = void;
8611
+ export type $200 = Components.Schemas.SpamReportBulkResult;
8612
+ export type $404 = Components.Schemas.ApiError;
8613
+ export type $403 = Components.Schemas.ApiError;
8614
+ export type $401 = Components.Schemas.ApiError;
8476
8615
  }
8477
8616
  }
8478
8617
  namespace NotSpam {
8479
8618
  export type RequestBody = Components.Schemas.BulkMessageInput;
8480
8619
  namespace Responses {
8481
- export type $200 = void;
8482
- export type $404 = void;
8483
- export type $403 = void;
8484
- export type $401 = void;
8620
+ export type $200 = Components.Schemas.SpamReportBulkResult;
8621
+ export type $404 = Components.Schemas.ApiError;
8622
+ export type $403 = Components.Schemas.ApiError;
8623
+ export type $401 = Components.Schemas.ApiError;
8485
8624
  }
8486
8625
  }
8487
8626
  namespace ListCalendarSuggestions {
@@ -8490,9 +8629,9 @@ declare namespace Paths {
8490
8629
  continuationToken?: string;
8491
8630
  }
8492
8631
  namespace Responses {
8493
- export type $200 = void;
8494
- export type $400 = void;
8495
- export type $401 = void;
8632
+ export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.CalendarSuggestionResponse[] };
8633
+ export type $400 = Components.Schemas.ValidationError;
8634
+ export type $401 = Components.Schemas.ApiError;
8496
8635
  }
8497
8636
  }
8498
8637
  namespace ListMessageCalendarSuggestions {
@@ -8500,9 +8639,9 @@ declare namespace Paths {
8500
8639
  messageId: Components.Schemas.UUID;
8501
8640
  }
8502
8641
  namespace Responses {
8503
- export type $200 = void;
8504
- export type $400 = void;
8505
- export type $401 = void;
8642
+ export type $200 = { continuationToken?: Components.Schemas.String800; items: Components.Schemas.CalendarSuggestionResponse[] };
8643
+ export type $400 = Components.Schemas.ValidationError;
8644
+ export type $401 = Components.Schemas.ApiError;
8506
8645
  }
8507
8646
  }
8508
8647
  namespace AcceptCalendarSuggestion {
@@ -8511,10 +8650,10 @@ declare namespace Paths {
8511
8650
  }
8512
8651
  export type RequestBody = Components.Schemas.AcceptCalendarSuggestionInput;
8513
8652
  namespace Responses {
8514
- export type $200 = void;
8515
- export type $400 = void;
8516
- export type $404 = void;
8517
- export type $401 = void;
8653
+ export type $200 = Components.Schemas.CalendarSuggestionResponse;
8654
+ export type $400 = Components.Schemas.ValidationError;
8655
+ export type $404 = Components.Schemas.ApiError;
8656
+ export type $401 = Components.Schemas.ApiError;
8518
8657
  }
8519
8658
  }
8520
8659
  namespace DeclineCalendarSuggestion {
@@ -8522,10 +8661,10 @@ declare namespace Paths {
8522
8661
  suggestionId: Components.Schemas.UUID;
8523
8662
  }
8524
8663
  namespace Responses {
8525
- export type $200 = void;
8526
- export type $400 = void;
8527
- export type $404 = void;
8528
- export type $401 = void;
8664
+ export type $200 = Components.Schemas.CalendarSuggestionResponse;
8665
+ export type $400 = Components.Schemas.ValidationError;
8666
+ export type $404 = Components.Schemas.ApiError;
8667
+ export type $401 = Components.Schemas.ApiError;
8529
8668
  }
8530
8669
  }
8531
8670
  namespace DismissCalendarSuggestion {
@@ -8534,10 +8673,10 @@ declare namespace Paths {
8534
8673
  }
8535
8674
  export type RequestBody = Components.Schemas.DismissCalendarSuggestionInput;
8536
8675
  namespace Responses {
8537
- export type $200 = void;
8538
- export type $400 = void;
8539
- export type $404 = void;
8540
- export type $401 = void;
8676
+ export type $200 = Components.Schemas.CalendarSuggestionResponse;
8677
+ export type $400 = Components.Schemas.ValidationError;
8678
+ export type $404 = Components.Schemas.ApiError;
8679
+ export type $401 = Components.Schemas.ApiError;
8541
8680
  }
8542
8681
  }
8543
8682
  namespace ReopenCalendarSuggestion {
@@ -8545,339 +8684,339 @@ declare namespace Paths {
8545
8684
  suggestionId: Components.Schemas.UUID;
8546
8685
  }
8547
8686
  namespace Responses {
8548
- export type $200 = void;
8549
- export type $400 = void;
8550
- export type $404 = void;
8551
- export type $401 = void;
8687
+ export type $200 = Components.Schemas.CalendarSuggestionResponse;
8688
+ export type $400 = Components.Schemas.ValidationError;
8689
+ export type $404 = Components.Schemas.ApiError;
8690
+ export type $401 = Components.Schemas.ApiError;
8552
8691
  }
8553
8692
  }
8554
8693
  }
8555
8694
 
8556
8695
  export interface OperationMethods {
8557
8696
  /**
8558
- * deleteMe - Request full erasure of the current user's account and all associated data
8697
+ * MeOperations_deleteMe - Request full erasure of the current user's account and all associated data
8559
8698
  */
8560
- 'deleteMe'(
8699
+ 'MeOperations_deleteMe'(
8561
8700
  parameters?: Parameters<UnknownParamsObject> | null,
8562
8701
  data?: Paths.DeleteMe.RequestBody,
8563
8702
  config?: AxiosRequestConfig
8564
8703
  ): OperationResponse<Paths.DeleteMe.Responses.$202>;
8565
8704
  /**
8566
- * listVipSuggestions - List wellknown senders the user has not yet promoted to VIP. Ranked by `replyCount + inboundCount` desc with `lastInboundAt` desc as the tie-breaker. Capped at 10.
8705
+ * MeOperations_listVipSuggestions - List wellknown senders the user has not yet promoted to VIP. Ranked by `replyCount + inboundCount` desc with `lastInboundAt` desc as the tie-breaker. Capped at 10.
8567
8706
  */
8568
- 'listVipSuggestions'(
8707
+ 'MeOperations_listVipSuggestions'(
8569
8708
  parameters?: Parameters<UnknownParamsObject> | null,
8570
8709
  data?: any,
8571
8710
  config?: AxiosRequestConfig
8572
8711
  ): OperationResponse<Paths.ListVipSuggestions.Responses.$200>;
8573
8712
  /**
8574
- * createExport - Request an export of all account data as a ZIP archive of .eml files. Returns immediately with an exportId; check GET /me/export/{exportId} for status and downloadUrl.
8713
+ * MeOperations_createExport - Request an export of all account data as a ZIP archive of .eml files. Returns immediately with an exportId; check GET /me/export/{exportId} for status and downloadUrl.
8575
8714
  */
8576
- 'createExport'(
8715
+ 'MeOperations_createExport'(
8577
8716
  parameters?: Parameters<UnknownParamsObject> | null,
8578
8717
  data?: any,
8579
8718
  config?: AxiosRequestConfig
8580
8719
  ): OperationResponse<Paths.CreateExport.Responses.$202>;
8581
8720
  /**
8582
- * getExport - Get the status of a previously requested data export. When state is Ready, downloadUrl holds a 30-day presigned S3 URL.
8721
+ * MeOperations_getExport - Get the status of a previously requested data export. When state is Ready, downloadUrl holds a 30-day presigned S3 URL.
8583
8722
  */
8584
- 'getExport'(
8723
+ 'MeOperations_getExport'(
8585
8724
  parameters?: Parameters<Paths.GetExport.PathParameters> | null,
8586
8725
  data?: any,
8587
8726
  config?: AxiosRequestConfig
8588
8727
  ): OperationResponse<Paths.GetExport.Responses.$200>;
8589
8728
  /**
8590
- * listQuarantine - List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
8729
+ * MeOperations_listQuarantine - List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
8591
8730
  */
8592
- 'listQuarantine'(
8731
+ 'MeOperations_listQuarantine'(
8593
8732
  parameters?: Parameters<UnknownParamsObject> | null,
8594
8733
  data?: any,
8595
8734
  config?: AxiosRequestConfig
8596
8735
  ): OperationResponse<Paths.ListQuarantine.Responses.$200>;
8597
8736
  /**
8598
- * getConfig - Get the current user's configuration including accounts and addresses
8737
+ * ConfigOperations_getConfig - Get the current user's configuration including accounts and addresses
8599
8738
  */
8600
- 'getConfig'(
8739
+ 'ConfigOperations_getConfig'(
8601
8740
  parameters?: Parameters<UnknownParamsObject> | null,
8602
8741
  data?: any,
8603
8742
  config?: AxiosRequestConfig
8604
8743
  ): OperationResponse<Paths.GetConfig.Responses.$200>;
8605
8744
  /**
8606
- * exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
8745
+ * ConfigOperations_exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
8607
8746
  */
8608
- 'exportConfig'(
8747
+ 'ConfigOperations_exportConfig'(
8609
8748
  parameters?: Parameters<UnknownParamsObject> | null,
8610
8749
  data?: any,
8611
8750
  config?: AxiosRequestConfig
8612
8751
  ): OperationResponse<Paths.ExportConfig.Responses.$200>;
8613
8752
  /**
8614
- * importConfig - Validate, or validate and apply, a config document. `mode: validate` (the default) writes nothing and returns the same report an apply would. `onExisting: abort` (the default) refuses with 409 when this configuration already holds accounts, labels, filters or address flags. Nothing is written until the whole document has validated; a write failure after that aborts the remainder and the report names exactly what landed. Imported accounts arrive inactive with `connectionState: credentials_missing` (or `reauth_required` for OAuth) - the credentials the file deliberately omits are re-entered per account afterwards.
8753
+ * ConfigOperations_importConfig - Validate, or validate and apply, a config document. `mode: validate` (the default) writes nothing and returns the same report an apply would. `onExisting: abort` (the default) refuses with 409 when this configuration already holds accounts, labels, filters or address flags. Nothing is written until the whole document has validated; a write failure after that aborts the remainder and the report names exactly what landed. Imported accounts arrive inactive with `connectionState: credentials_missing` (or `reauth_required` for OAuth) - the credentials the file deliberately omits are re-entered per account afterwards.
8615
8754
  */
8616
- 'importConfig'(
8755
+ 'ConfigOperations_importConfig'(
8617
8756
  parameters?: Parameters<UnknownParamsObject> | null,
8618
8757
  data?: Paths.ImportConfig.RequestBody,
8619
8758
  config?: AxiosRequestConfig
8620
8759
  ): OperationResponse<Paths.ImportConfig.Responses.$200>;
8621
8760
  /**
8622
- * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
8761
+ * SystemOperations_getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
8623
8762
  */
8624
- 'getSystemUpdate'(
8763
+ 'SystemOperations_getSystemUpdate'(
8625
8764
  parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
8626
8765
  data?: any,
8627
8766
  config?: AxiosRequestConfig
8628
8767
  ): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;
8629
8768
  /**
8630
- * applySystemUpdate - Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
8769
+ * SystemOperations_applySystemUpdate - Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
8631
8770
  */
8632
- 'applySystemUpdate'(
8771
+ 'SystemOperations_applySystemUpdate'(
8633
8772
  parameters?: Parameters<UnknownParamsObject> | null,
8634
8773
  data?: Paths.ApplySystemUpdate.RequestBody,
8635
8774
  config?: AxiosRequestConfig
8636
8775
  ): OperationResponse<Paths.ApplySystemUpdate.Responses.$200>;
8637
8776
  /**
8638
- * listPeople - List everyone who signs in to this instance, ordered by email. Self-host only, and absent (404) while self sign-up is open.
8777
+ * PeopleOperations_listPeople - List everyone who signs in to this instance, ordered by email. Self-host only, and absent (404) while self sign-up is open.
8639
8778
  */
8640
- 'listPeople'(
8779
+ 'PeopleOperations_listPeople'(
8641
8780
  parameters?: Parameters<UnknownParamsObject> | null,
8642
8781
  data?: any,
8643
8782
  config?: AxiosRequestConfig
8644
8783
  ): OperationResponse<Paths.ListPeople.Responses.$200>;
8645
8784
  /**
8646
- * createStepUp - Trade the caller's current password for a single-use token that allows one action on one person for five minutes. Five wrong passwords in 15 minutes refuse further step-ups with 429. Absent (404) while self sign-up is open, or when the person does not exist.
8785
+ * PeopleOperations_createStepUp - Trade the caller's current password for a single-use token that allows one action on one person for five minutes. Five wrong passwords in 15 minutes refuse further step-ups with 429. Absent (404) while self sign-up is open, or when the person does not exist.
8647
8786
  */
8648
- 'createStepUp'(
8787
+ 'PeopleOperations_createStepUp'(
8649
8788
  parameters?: Parameters<UnknownParamsObject> | null,
8650
8789
  data?: Paths.CreateStepUp.RequestBody,
8651
8790
  config?: AxiosRequestConfig
8652
8791
  ): OperationResponse<Paths.CreateStepUp.Responses.$200>;
8653
8792
  /**
8654
- * signOutPerson - Sign the person out of every browser session and MCP connection. Needs a `SignOut` step-up for this person. A JWT already minted works until it expires, at most 15 minutes.
8793
+ * PeopleOperations_signOutPerson - Sign the person out of every browser session and MCP connection. Needs a `SignOut` step-up for this person. A JWT already minted works until it expires, at most 15 minutes.
8655
8794
  */
8656
- 'signOutPerson'(
8795
+ 'PeopleOperations_signOutPerson'(
8657
8796
  parameters?: Parameters<Paths.SignOutPerson.PathParameters> | null,
8658
8797
  data?: Paths.SignOutPerson.RequestBody,
8659
8798
  config?: AxiosRequestConfig
8660
8799
  ): OperationResponse<Paths.SignOutPerson.Responses.$200>;
8661
8800
  /**
8662
- * updatePerson - Disable or enable the person. Needs a `Disable` or `Enable` step-up for this person. Refused with 409 `cannot_disable_self` when the caller disables themselves.
8801
+ * PeopleOperations_updatePerson - Disable or enable the person. Needs a `Disable` or `Enable` step-up for this person. Refused with 409 `cannot_disable_self` when the caller disables themselves.
8663
8802
  */
8664
- 'updatePerson'(
8803
+ 'PeopleOperations_updatePerson'(
8665
8804
  parameters?: Parameters<Paths.UpdatePerson.PathParameters> | null,
8666
8805
  data?: Paths.UpdatePerson.RequestBody,
8667
8806
  config?: AxiosRequestConfig
8668
8807
  ): OperationResponse<Paths.UpdatePerson.Responses.$200>;
8669
8808
  /**
8670
- * createPasswordReset - Issue a single-use password reset link for the person, valid 24 hours. Needs a `ResetPassword` step-up for this person. The person's old password stops working and their sessions are revoked.
8809
+ * PeopleOperations_createPasswordReset - Issue a single-use password reset link for the person, valid 24 hours. Needs a `ResetPassword` step-up for this person. The person's old password stops working and their sessions are revoked.
8671
8810
  */
8672
- 'createPasswordReset'(
8811
+ 'PeopleOperations_createPasswordReset'(
8673
8812
  parameters?: Parameters<Paths.CreatePasswordReset.PathParameters> | null,
8674
8813
  data?: Paths.CreatePasswordReset.RequestBody,
8675
8814
  config?: AxiosRequestConfig
8676
8815
  ): OperationResponse<Paths.CreatePasswordReset.Responses.$200>;
8677
8816
  /**
8678
- * listMailboxes
8817
+ * MailboxOperations_listMailboxes
8679
8818
  */
8680
- 'listMailboxes'(
8819
+ 'MailboxOperations_listMailboxes'(
8681
8820
  parameters?: Parameters<Paths.ListMailboxes.PathParameters & Paths.ListMailboxes.QueryParameters> | null,
8682
8821
  data?: any,
8683
8822
  config?: AxiosRequestConfig
8684
8823
  ): OperationResponse<Paths.ListMailboxes.Responses.$200>;
8685
8824
  /**
8686
- * createMailbox - Create a folder. Refused with 400 when the account already has a folder at that path.
8825
+ * MailboxOperations_createMailbox - Create a folder. Refused with 400 when the account already has a folder at that path.
8687
8826
  */
8688
- 'createMailbox'(
8827
+ 'MailboxOperations_createMailbox'(
8689
8828
  parameters?: Parameters<Paths.CreateMailbox.PathParameters> | null,
8690
8829
  data?: Paths.CreateMailbox.RequestBody,
8691
8830
  config?: AxiosRequestConfig
8692
8831
  ): OperationResponse<Paths.CreateMailbox.Responses.$200>;
8693
8832
  /**
8694
- * getMailbox
8833
+ * MailboxDetailOperations_getMailbox
8695
8834
  */
8696
- 'getMailbox'(
8835
+ 'MailboxDetailOperations_getMailbox'(
8697
8836
  parameters?: Parameters<Paths.GetMailbox.PathParameters> | null,
8698
8837
  data?: any,
8699
8838
  config?: AxiosRequestConfig
8700
8839
  ): OperationResponse<Paths.GetMailbox.Responses.$200>;
8701
8840
  /**
8702
- * renameMailbox - Rename a folder, or dismiss a folder mutation that failed. `fullPath` records the rename target over the folder and everything under it; the folder keeps the path the mail server holds until the rename lands. A `fullPath` equal to the folder's current one is a dismissal: it clears a failed rename or delete and enqueues nothing. Refused with 400 for INBOX at either end, a name reserved for a system folder, and a name another folder already has; with 409 when a mutation is already in flight on the folder or on anything inside it.
8841
+ * MailboxDetailOperations_renameMailbox - Rename a folder, or dismiss a folder mutation that failed. `fullPath` records the rename target over the folder and everything under it; the folder keeps the path the mail server holds until the rename lands. A `fullPath` equal to the folder's current one is a dismissal: it clears a failed rename or delete and enqueues nothing. Refused with 400 for INBOX at either end, a name reserved for a system folder, and a name another folder already has; with 409 when a mutation is already in flight on the folder or on anything inside it.
8703
8842
  */
8704
- 'renameMailbox'(
8843
+ 'MailboxDetailOperations_renameMailbox'(
8705
8844
  parameters?: Parameters<Paths.RenameMailbox.PathParameters> | null,
8706
8845
  data?: Paths.RenameMailbox.RequestBody,
8707
8846
  config?: AxiosRequestConfig
8708
8847
  ): OperationResponse<Paths.RenameMailbox.Responses.$200>;
8709
8848
  /**
8710
- * deleteMailbox - Record a delete intent for a folder. The folder stays listed, marked as being deleted, until the mail server confirms it and its mail goes with it. Refused with 400 for INBOX, for a folder with folders inside it, and for a folder a filter or a canonical role is bound to — the message names each binding; with 409 when a mutation is already in flight on it.
8849
+ * MailboxDetailOperations_deleteMailbox - Record a delete intent for a folder. The folder stays listed, marked as being deleted, until the mail server confirms it and its mail goes with it. Refused with 400 for INBOX, for a folder with folders inside it, and for a folder a filter or a canonical role is bound to — the message names each binding; with 409 when a mutation is already in flight on it.
8711
8850
  */
8712
- 'deleteMailbox'(
8851
+ 'MailboxDetailOperations_deleteMailbox'(
8713
8852
  parameters?: Parameters<Paths.DeleteMailbox.PathParameters> | null,
8714
8853
  data?: any,
8715
8854
  config?: AxiosRequestConfig
8716
8855
  ): OperationResponse<Paths.DeleteMailbox.Responses.$204>;
8717
8856
  /**
8718
- * appointFolderRole - Appoint a canonical role to a mailbox, or clear it. Exclusive by construction: the role always resolves to exactly one mailbox, so appointing a new one silently replaces whichever mailbox previously held it — there is no second place a duplicate appointment could live. Returns the account with its refreshed folderAppointments.
8857
+ * FolderRoleOperations_appointFolderRole - Appoint a canonical role to a mailbox, or clear it. Exclusive by construction: the role always resolves to exactly one mailbox, so appointing a new one silently replaces whichever mailbox previously held it — there is no second place a duplicate appointment could live. Returns the account with its refreshed folderAppointments.
8719
8858
  */
8720
- 'appointFolderRole'(
8859
+ 'FolderRoleOperations_appointFolderRole'(
8721
8860
  parameters?: Parameters<Paths.AppointFolderRole.PathParameters> | null,
8722
8861
  data?: Paths.AppointFolderRole.RequestBody,
8723
8862
  config?: AxiosRequestConfig
8724
8863
  ): OperationResponse<Paths.AppointFolderRole.Responses.$200>;
8725
8864
  /**
8726
- * listFilters
8865
+ * FilterOperations_listFilters
8727
8866
  */
8728
- 'listFilters'(
8867
+ 'FilterOperations_listFilters'(
8729
8868
  parameters?: Parameters<Paths.ListFilters.PathParameters & Paths.ListFilters.QueryParameters> | null,
8730
8869
  data?: any,
8731
8870
  config?: AxiosRequestConfig
8732
8871
  ): OperationResponse<Paths.ListFilters.Responses.$200>;
8733
8872
  /**
8734
- * createFilter
8873
+ * FilterOperations_createFilter
8735
8874
  */
8736
- 'createFilter'(
8875
+ 'FilterOperations_createFilter'(
8737
8876
  parameters?: Parameters<Paths.CreateFilter.PathParameters> | null,
8738
8877
  data?: Paths.CreateFilter.RequestBody,
8739
8878
  config?: AxiosRequestConfig
8740
8879
  ): OperationResponse<Paths.CreateFilter.Responses.$200>;
8741
8880
  /**
8742
- * getFilter
8881
+ * FilterDetailOperations_getFilter
8743
8882
  */
8744
- 'getFilter'(
8883
+ 'FilterDetailOperations_getFilter'(
8745
8884
  parameters?: Parameters<Paths.GetFilter.PathParameters> | null,
8746
8885
  data?: any,
8747
8886
  config?: AxiosRequestConfig
8748
8887
  ): OperationResponse<Paths.GetFilter.Responses.$200>;
8749
8888
  /**
8750
- * updateFilter
8889
+ * FilterDetailOperations_updateFilter
8751
8890
  */
8752
- 'updateFilter'(
8891
+ 'FilterDetailOperations_updateFilter'(
8753
8892
  parameters?: Parameters<Paths.UpdateFilter.PathParameters> | null,
8754
8893
  data?: Paths.UpdateFilter.RequestBody,
8755
8894
  config?: AxiosRequestConfig
8756
8895
  ): OperationResponse<Paths.UpdateFilter.Responses.$200>;
8757
8896
  /**
8758
- * deleteFilter
8897
+ * FilterDetailOperations_deleteFilter
8759
8898
  */
8760
- 'deleteFilter'(
8899
+ 'FilterDetailOperations_deleteFilter'(
8761
8900
  parameters?: Parameters<Paths.DeleteFilter.PathParameters> | null,
8762
8901
  data?: any,
8763
8902
  config?: AxiosRequestConfig
8764
8903
  ): OperationResponse<Paths.DeleteFilter.Responses.$204>;
8765
8904
  /**
8766
- * listLabels
8905
+ * LabelOperations_listLabels
8767
8906
  */
8768
- 'listLabels'(
8907
+ 'LabelOperations_listLabels'(
8769
8908
  parameters?: Parameters<Paths.ListLabels.PathParameters & Paths.ListLabels.QueryParameters> | null,
8770
8909
  data?: any,
8771
8910
  config?: AxiosRequestConfig
8772
8911
  ): OperationResponse<Paths.ListLabels.Responses.$200>;
8773
8912
  /**
8774
- * createLabel
8913
+ * LabelOperations_createLabel
8775
8914
  */
8776
- 'createLabel'(
8915
+ 'LabelOperations_createLabel'(
8777
8916
  parameters?: Parameters<Paths.CreateLabel.PathParameters> | null,
8778
8917
  data?: Paths.CreateLabel.RequestBody,
8779
8918
  config?: AxiosRequestConfig
8780
8919
  ): OperationResponse<Paths.CreateLabel.Responses.$200>;
8781
8920
  /**
8782
- * getLabel
8921
+ * LabelDetailOperations_getLabel
8783
8922
  */
8784
- 'getLabel'(
8923
+ 'LabelDetailOperations_getLabel'(
8785
8924
  parameters?: Parameters<Paths.GetLabel.PathParameters> | null,
8786
8925
  data?: any,
8787
8926
  config?: AxiosRequestConfig
8788
8927
  ): OperationResponse<Paths.GetLabel.Responses.$200>;
8789
8928
  /**
8790
- * updateLabel
8929
+ * LabelDetailOperations_updateLabel
8791
8930
  */
8792
- 'updateLabel'(
8931
+ 'LabelDetailOperations_updateLabel'(
8793
8932
  parameters?: Parameters<Paths.UpdateLabel.PathParameters> | null,
8794
8933
  data?: Paths.UpdateLabel.RequestBody,
8795
8934
  config?: AxiosRequestConfig
8796
8935
  ): OperationResponse<Paths.UpdateLabel.Responses.$200>;
8797
8936
  /**
8798
- * deleteLabel - Delete a label. Cascades in both directions (issue #26): every `MessageLabel` row for it is removed, and every filter whose `actionLabelId` is this label is deleted outright — never left dangling, never blocking the delete. The client is expected to confirm first, naming `LabelResponse.filterCount` as the number of filters that will go with it.
8937
+ * LabelDetailOperations_deleteLabel - Delete a label. Cascades in both directions (issue #26): every `MessageLabel` row for it is removed, and every filter whose `actionLabelId` is this label is deleted outright — never left dangling, never blocking the delete. The client is expected to confirm first, naming `LabelResponse.filterCount` as the number of filters that will go with it.
8799
8938
  */
8800
- 'deleteLabel'(
8939
+ 'LabelDetailOperations_deleteLabel'(
8801
8940
  parameters?: Parameters<Paths.DeleteLabel.PathParameters> | null,
8802
8941
  data?: any,
8803
8942
  config?: AxiosRequestConfig
8804
8943
  ): OperationResponse<Paths.DeleteLabel.Responses.$204>;
8805
8944
  /**
8806
- * createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
8945
+ * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
8807
8946
  */
8808
- 'createOrganizeJob'(
8947
+ 'OrganizeOperations_createOrganizeJob'(
8809
8948
  parameters?: Parameters<Paths.CreateOrganizeJob.PathParameters> | null,
8810
8949
  data?: Paths.CreateOrganizeJob.RequestBody,
8811
8950
  config?: AxiosRequestConfig
8812
8951
  ): OperationResponse<Paths.CreateOrganizeJob.Responses.$202>;
8813
8952
  /**
8814
- * previewOrganize - Preview an "all like these" back-apply: run the exact same matcher read-only and return the messages the action would be applied to, without applying it. The previewed set equals the set a job with the same input would apply to.
8953
+ * OrganizeOperations_previewOrganize - Preview an "all like these" back-apply: run the exact same matcher read-only and return the messages the action would be applied to, without applying it. The previewed set equals the set a job with the same input would apply to.
8815
8954
  */
8816
- 'previewOrganize'(
8955
+ 'OrganizeOperations_previewOrganize'(
8817
8956
  parameters?: Parameters<Paths.PreviewOrganize.PathParameters> | null,
8818
8957
  data?: Paths.PreviewOrganize.RequestBody,
8819
8958
  config?: AxiosRequestConfig
8820
8959
  ): OperationResponse<Paths.PreviewOrganize.Responses.$200>;
8821
8960
  /**
8822
- * getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
8961
+ * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
8823
8962
  */
8824
- 'getOrganizeJob'(
8963
+ 'OrganizeJobDetailOperations_getOrganizeJob'(
8825
8964
  parameters?: Parameters<Paths.GetOrganizeJob.PathParameters> | null,
8826
8965
  data?: any,
8827
8966
  config?: AxiosRequestConfig
8828
8967
  ): OperationResponse<Paths.GetOrganizeJob.Responses.$200>;
8829
8968
  /**
8830
- * listCalendars - List the caller's calendar collections. Provisions the account config's default collection when it has none, so a first read never comes back empty and no client has to know how a calendar gets made.
8969
+ * CalendarOperations_listCalendars - List the caller's calendar collections. Provisions the account config's default collection when it has none, so a first read never comes back empty and no client has to know how a calendar gets made.
8831
8970
  */
8832
- 'listCalendars'(
8971
+ 'CalendarOperations_listCalendars'(
8833
8972
  parameters?: Parameters<UnknownParamsObject> | null,
8834
8973
  data?: any,
8835
8974
  config?: AxiosRequestConfig
8836
8975
  ): OperationResponse<Paths.ListCalendars.Responses.$200>;
8837
8976
  /**
8838
- * createCalendar - Create a calendar collection. Refused with 400 when `urlSegment` is empty or already taken in this account config — the segment is the collection's identity, so a second create under the same one would otherwise silently return the collection that already exists. With `subscriptionUrl` the feed is fetched first and a fetch that fails is refused with 400 `subscription_unreachable`, naming why and never the URL.
8977
+ * CalendarOperations_createCalendar - Create a calendar collection. Refused with 400 when `urlSegment` is empty or already taken in this account config — the segment is the collection's identity, so a second create under the same one would otherwise silently return the collection that already exists. With `subscriptionUrl` the feed is fetched first and a fetch that fails is refused with 400 `subscription_unreachable`, naming why and never the URL.
8839
8978
  */
8840
- 'createCalendar'(
8979
+ 'CalendarOperations_createCalendar'(
8841
8980
  parameters?: Parameters<UnknownParamsObject> | null,
8842
8981
  data?: Paths.CreateCalendar.RequestBody,
8843
8982
  config?: AxiosRequestConfig
8844
8983
  ): OperationResponse<Paths.CreateCalendar.Responses.$200>;
8845
8984
  /**
8846
- * getCalendar
8985
+ * CalendarDetailOperations_getCalendar
8847
8986
  */
8848
- 'getCalendar'(
8987
+ 'CalendarDetailOperations_getCalendar'(
8849
8988
  parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
8850
8989
  data?: any,
8851
8990
  config?: AxiosRequestConfig
8852
8991
  ): OperationResponse<Paths.GetCalendar.Responses.$200>;
8853
8992
  /**
8854
- * updateCalendar - Update a calendar collection. `subscriptionEnabled` is refused with 400 `not_subscribed` on a collection that is not `Subscribed`. Turning it off stops the refresh and removes nothing.
8993
+ * CalendarDetailOperations_updateCalendar - Update a calendar collection. `subscriptionEnabled` is refused with 400 `not_subscribed` on a collection that is not `Subscribed`. Turning it off stops the refresh and removes nothing.
8855
8994
  */
8856
- 'updateCalendar'(
8995
+ 'CalendarDetailOperations_updateCalendar'(
8857
8996
  parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
8858
8997
  data?: Paths.UpdateCalendar.RequestBody,
8859
8998
  config?: AxiosRequestConfig
8860
8999
  ): OperationResponse<Paths.UpdateCalendar.Responses.$200>;
8861
9000
  /**
8862
- * deleteCalendar - Delete a calendar collection and every event in it. Refused with 400 for the account's default collection: it is the one place an accepted invitation or a first event can land, and an account with no calendar has nowhere to put an event.
9001
+ * CalendarDetailOperations_deleteCalendar - Delete a calendar collection and every event in it. Refused with 400 for the account's default collection: it is the one place an accepted invitation or a first event can land, and an account with no calendar has nowhere to put an event.
8863
9002
  */
8864
- 'deleteCalendar'(
9003
+ 'CalendarDetailOperations_deleteCalendar'(
8865
9004
  parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
8866
9005
  data?: any,
8867
9006
  config?: AxiosRequestConfig
8868
9007
  ): OperationResponse<Paths.DeleteCalendar.Responses.$204>;
8869
9008
  /**
8870
- * getCalendarFeed - Read whether this calendar has a feed address. Absent (404) until one is
9009
+ * CalendarDetailOperations_getCalendarFeed - Read whether this calendar has a feed address. Absent (404) until one is
8871
9010
  minted. The token is not here: it is stored as a hash, so the only
8872
9011
  moment it exists in the clear is the answer to the write below.
8873
9012
  */
8874
- 'getCalendarFeed'(
9013
+ 'CalendarDetailOperations_getCalendarFeed'(
8875
9014
  parameters?: Parameters<Paths.GetCalendarFeed.PathParameters> | null,
8876
9015
  data?: any,
8877
9016
  config?: AxiosRequestConfig
8878
9017
  ): OperationResponse<Paths.GetCalendarFeed.Responses.$200>;
8879
9018
  /**
8880
- * putCalendarFeed - Mint the calendar's feed address, or replace the one it has, and answer
9019
+ * CalendarDetailOperations_putCalendarFeed - Mint the calendar's feed address, or replace the one it has, and answer
8881
9020
  with the token in the clear. Idempotent in address rather than in value:
8882
9021
  one calendar holds one token, so a second call rotates — the previous
8883
9022
  URL stops resolving, which is how a subscription handed to the wrong
@@ -8886,21 +9025,21 @@ person is taken back.
8886
9025
  This is the only response that ever carries the plaintext. A client that
8887
9026
  does not keep it rotates again.
8888
9027
  */
8889
- 'putCalendarFeed'(
9028
+ 'CalendarDetailOperations_putCalendarFeed'(
8890
9029
  parameters?: Parameters<Paths.PutCalendarFeed.PathParameters> | null,
8891
9030
  data?: any,
8892
9031
  config?: AxiosRequestConfig
8893
9032
  ): OperationResponse<Paths.PutCalendarFeed.Responses.$200>;
8894
9033
  /**
8895
- * revokeCalendarFeed - Revoke the calendar's feed address. Every subscribed client starts getting 404 on its next poll. Answered 404 when the calendar has no feed, so a revoke is never reported as having taken something away that was not there.
9034
+ * CalendarDetailOperations_revokeCalendarFeed - Revoke the calendar's feed address. Every subscribed client starts getting 404 on its next poll. Answered 404 when the calendar has no feed, so a revoke is never reported as having taken something away that was not there.
8896
9035
  */
8897
- 'revokeCalendarFeed'(
9036
+ 'CalendarDetailOperations_revokeCalendarFeed'(
8898
9037
  parameters?: Parameters<Paths.RevokeCalendarFeed.PathParameters> | null,
8899
9038
  data?: any,
8900
9039
  config?: AxiosRequestConfig
8901
9040
  ): OperationResponse<Paths.RevokeCalendarFeed.Responses.$204>;
8902
9041
  /**
8903
- * getCalendarFeedIcal - Serve a calendar as iCalendar text to whoever holds its secret address
9042
+ * CalendarFeedOperations_getCalendarFeedIcal - Serve a calendar as iCalendar text to whoever holds its secret address
8904
9043
  (issue #1067).
8905
9044
 
8906
9045
  Outside the session-auth surface on purpose: Apple Calendar, Google
@@ -8910,13 +9049,13 @@ compared against the stored hash rather than looked up in the clear, and
8910
9049
  an unknown, revoked or malformed token is the same 404 with the same body
8911
9050
  — a subscriber learns whether it still has access, and nothing else.
8912
9051
  */
8913
- 'getCalendarFeedIcal'(
9052
+ 'CalendarFeedOperations_getCalendarFeedIcal'(
8914
9053
  parameters?: Parameters<Paths.GetCalendarFeedIcal.PathParameters & Paths.GetCalendarFeedIcal.HeaderParameters> | null,
8915
9054
  data?: any,
8916
9055
  config?: AxiosRequestConfig
8917
9056
  ): OperationResponse<Paths.GetCalendarFeedIcal.Responses.$200>;
8918
9057
  /**
8919
- * listCalendarEvents - Expanded event occurrences in a window. The server does the recurrence
9058
+ * CalendarEventOperations_listCalendarEvents - Expanded event occurrences in a window. The server does the recurrence
8920
9059
  expansion and the client renders instances — no RRULE is ever evaluated
8921
9060
  in a browser, so a week grid and a day strip agree with each other and
8922
9061
  with what a native client will later read over CalDAV.
@@ -8929,29 +9068,29 @@ unbounded is written to serve a read.
8929
9068
  Refused with 400 when `from` and `to` are not ISO 8601 date-times, when
8930
9069
  `to` is not after `from`, or when the window is wider than a year.
8931
9070
  */
8932
- 'listCalendarEvents'(
9071
+ 'CalendarEventOperations_listCalendarEvents'(
8933
9072
  parameters?: Parameters<Paths.ListCalendarEvents.QueryParameters> | null,
8934
9073
  data?: any,
8935
9074
  config?: AxiosRequestConfig
8936
9075
  ): OperationResponse<Paths.ListCalendarEvents.Responses.$200>;
8937
9076
  /**
8938
- * createCalendarEvent - Create an event. The server builds the VEVENT and writes it through the single calendar write path — the same one an accepted invitation and a later CalDAV PUT go through — so the object, its expanded occurrences and the collection's sync sequence land together or not at all. Refused with 400 `read_only_calendar` for a `Subscribed` collection, whose events belong to the feed.
9077
+ * CalendarEventOperations_createCalendarEvent - Create an event. The server builds the VEVENT and writes it through the single calendar write path — the same one an accepted invitation and a later CalDAV PUT go through — so the object, its expanded occurrences and the collection's sync sequence land together or not at all. Refused with 400 `read_only_calendar` for a `Subscribed` collection, whose events belong to the feed.
8939
9078
  */
8940
- 'createCalendarEvent'(
9079
+ 'CalendarEventOperations_createCalendarEvent'(
8941
9080
  parameters?: Parameters<UnknownParamsObject> | null,
8942
9081
  data?: Paths.CreateCalendarEvent.RequestBody,
8943
9082
  config?: AxiosRequestConfig
8944
9083
  ): OperationResponse<Paths.CreateCalendarEvent.Responses.$200>;
8945
9084
  /**
8946
- * getCalendarEvent - Get one stored event, including its canonical iCalendar text and its etag.
9085
+ * CalendarEventDetailOperations_getCalendarEvent - Get one stored event, including its canonical iCalendar text and its etag.
8947
9086
  */
8948
- 'getCalendarEvent'(
9087
+ 'CalendarEventDetailOperations_getCalendarEvent'(
8949
9088
  parameters?: Parameters<Paths.GetCalendarEvent.PathParameters & Paths.GetCalendarEvent.QueryParameters> | null,
8950
9089
  data?: any,
8951
9090
  config?: AxiosRequestConfig
8952
9091
  ): OperationResponse<Paths.GetCalendarEvent.Responses.$200>;
8953
9092
  /**
8954
- * updateCalendarEvent - Update an event. `scope` says what the caller meant by editing one
9093
+ * CalendarEventDetailOperations_updateCalendarEvent - Update an event. `scope` says what the caller meant by editing one
8955
9094
  drawing of a series: `All` rewrites the master, `This` writes a
8956
9095
  RECURRENCE-ID override for the named occurrence, and `Following` splits
8957
9096
  the series — the master's rule is truncated and a second resource carries
@@ -8965,13 +9104,13 @@ not recur, and a `recurrenceId` naming no occurrence of the series.
8965
9104
  mismatch is 412: somebody replaced the resource in between, and applying
8966
9105
  this patch would discard their change without either of them seeing it.
8967
9106
  */
8968
- 'updateCalendarEvent'(
9107
+ 'CalendarEventDetailOperations_updateCalendarEvent'(
8969
9108
  parameters?: Parameters<Paths.UpdateCalendarEvent.PathParameters & Paths.UpdateCalendarEvent.QueryParameters & Paths.UpdateCalendarEvent.HeaderParameters> | null,
8970
9109
  data?: Paths.UpdateCalendarEvent.RequestBody,
8971
9110
  config?: AxiosRequestConfig
8972
9111
  ): OperationResponse<Paths.UpdateCalendarEvent.Responses.$200>;
8973
9112
  /**
8974
- * deleteCalendarEvent - Delete an event. `All` removes the resource and every occurrence it
9113
+ * CalendarEventDetailOperations_deleteCalendarEvent - Delete an event. `All` removes the resource and every occurrence it
8975
9114
  produced; `This` writes an EXDATE for the named occurrence and keeps the
8976
9115
  rest of the series; `Following` truncates the series to end just before
8977
9116
  it.
@@ -8983,185 +9122,193 @@ An event in a `Subscribed` collection is refused with 400
8983
9122
  Answers 200 with the cancellations it queued: one per guest when the
8984
9123
  reader organizes the event, none otherwise.
8985
9124
  */
8986
- 'deleteCalendarEvent'(
9125
+ 'CalendarEventDetailOperations_deleteCalendarEvent'(
8987
9126
  parameters?: Parameters<Paths.DeleteCalendarEvent.PathParameters & Paths.DeleteCalendarEvent.QueryParameters & Paths.DeleteCalendarEvent.HeaderParameters> | null,
8988
9127
  data?: any,
8989
9128
  config?: AxiosRequestConfig
8990
9129
  ): OperationResponse<Paths.DeleteCalendarEvent.Responses.$200>;
8991
9130
  /**
8992
- * listCalendarFreeBusy - Busy spans over a window, merged across every calendar the caller holds. Backs the clash check beside a mail invitation and the free-stretch maths in the day strip, neither of which should have to fetch every event and merge them itself. Refused with 400 on the same window rules as the event listing.
9131
+ * CalendarFreeBusyOperations_listCalendarFreeBusy - Busy spans over a window, merged across every calendar the caller holds. Backs the clash check beside a mail invitation and the free-stretch maths in the day strip, neither of which should have to fetch every event and merge them itself. Refused with 400 on the same window rules as the event listing.
8993
9132
  */
8994
- 'listCalendarFreeBusy'(
9133
+ 'CalendarFreeBusyOperations_listCalendarFreeBusy'(
8995
9134
  parameters?: Parameters<Paths.ListCalendarFreeBusy.QueryParameters> | null,
8996
9135
  data?: any,
8997
9136
  config?: AxiosRequestConfig
8998
9137
  ): OperationResponse<Paths.ListCalendarFreeBusy.Responses.$200>;
8999
9138
  /**
9000
- * getUserSettings - Read the caller's settings.
9139
+ * UserSettingsOperations_getUserSettings - Read the caller's settings.
9001
9140
  */
9002
- 'getUserSettings'(
9141
+ 'UserSettingsOperations_getUserSettings'(
9003
9142
  parameters?: Parameters<UnknownParamsObject> | null,
9004
9143
  data?: any,
9005
9144
  config?: AxiosRequestConfig
9006
9145
  ): OperationResponse<Paths.GetUserSettings.Responses.$200>;
9007
9146
  /**
9008
- * updateUserSettings - Change the caller's settings. Answers with every setting as it now stands.
9147
+ * UserSettingsOperations_updateUserSettings - Change the caller's settings. Answers with every setting as it now stands.
9009
9148
  */
9010
- 'updateUserSettings'(
9149
+ 'UserSettingsOperations_updateUserSettings'(
9011
9150
  parameters?: Parameters<UnknownParamsObject> | null,
9012
9151
  data?: Paths.UpdateUserSettings.RequestBody,
9013
9152
  config?: AxiosRequestConfig
9014
9153
  ): OperationResponse<Paths.UpdateUserSettings.Responses.$200>;
9015
9154
  /**
9016
- * clearDefaultInvitationSender - Clear the chosen default invitation sender. Invitations then go out from the account an event is on. Answers with every setting as it now stands.
9155
+ * UserSettingsOperations_clearDefaultInvitationSender - Clear the chosen default invitation sender. Invitations then go out from the account an event is on. Answers with every setting as it now stands.
9017
9156
  */
9018
- 'clearDefaultInvitationSender'(
9157
+ 'UserSettingsOperations_clearDefaultInvitationSender'(
9019
9158
  parameters?: Parameters<UnknownParamsObject> | null,
9020
9159
  data?: any,
9021
9160
  config?: AxiosRequestConfig
9022
9161
  ): OperationResponse<Paths.ClearDefaultInvitationSender.Responses.$200>;
9023
9162
  /**
9024
- * clearClassificationProvider - Delete the saved classification provider, its key and every classification setting. Classification is then off. Answers with every setting as it now stands.
9163
+ * UserSettingsOperations_clearClassificationProvider - Delete the saved classification provider, its key and every classification setting. Classification is then off. Answers with every setting as it now stands.
9025
9164
  */
9026
- 'clearClassificationProvider'(
9165
+ 'UserSettingsOperations_clearClassificationProvider'(
9027
9166
  parameters?: Parameters<UnknownParamsObject> | null,
9028
9167
  data?: any,
9029
9168
  config?: AxiosRequestConfig
9030
9169
  ): OperationResponse<Paths.ClearClassificationProvider.Responses.$200>;
9031
9170
  /**
9032
- * testClassificationProvider - Classify one built-in sample message with the form values, saved or not, and answer with the label or the failure. An empty key uses the saved key. Saved settings stay as they were, and the call counts toward no daily limit.
9171
+ * UserSettingsOperations_testClassificationProvider - Classify one built-in sample message with the form values, saved or not, and answer with the label or the failure. An empty key uses the saved key. Saved settings stay as they were, and the call counts toward no daily limit.
9033
9172
  */
9034
- 'testClassificationProvider'(
9173
+ 'UserSettingsOperations_testClassificationProvider'(
9035
9174
  parameters?: Parameters<UnknownParamsObject> | null,
9036
9175
  data?: Paths.TestClassificationProvider.RequestBody,
9037
9176
  config?: AxiosRequestConfig
9038
- ): OperationResponse<any>;
9177
+ ): OperationResponse<Paths.TestClassificationProvider.Responses.$200>;
9039
9178
  /**
9040
- * listCalendarTasks - Tasks due in a window, across every task collection the caller holds, in due order. Refused with 400 on the same window rules as the event listing.
9179
+ * ClassificationStatsOperations_getClassificationStats - Count what the classifier decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
9041
9180
  */
9042
- 'listCalendarTasks'(
9181
+ 'ClassificationStatsOperations_getClassificationStats'(
9182
+ parameters?: Parameters<Paths.GetClassificationStats.QueryParameters> | null,
9183
+ data?: any,
9184
+ config?: AxiosRequestConfig
9185
+ ): OperationResponse<Paths.GetClassificationStats.Responses.$200>;
9186
+ /**
9187
+ * CalendarTaskOperations_listCalendarTasks - Tasks due in a window, across every task collection the caller holds, in due order. Refused with 400 on the same window rules as the event listing.
9188
+ */
9189
+ 'CalendarTaskOperations_listCalendarTasks'(
9043
9190
  parameters?: Parameters<Paths.ListCalendarTasks.QueryParameters> | null,
9044
9191
  data?: any,
9045
9192
  config?: AxiosRequestConfig
9046
9193
  ): OperationResponse<Paths.ListCalendarTasks.Responses.$200>;
9047
9194
  /**
9048
- * createCalendarTask - Create a task. Refused with 400 `not_a_task_calendar` when `calendarId` names an event collection.
9195
+ * CalendarTaskOperations_createCalendarTask - Create a task. Refused with 400 `not_a_task_calendar` when `calendarId` names an event collection.
9049
9196
  */
9050
- 'createCalendarTask'(
9197
+ 'CalendarTaskOperations_createCalendarTask'(
9051
9198
  parameters?: Parameters<UnknownParamsObject> | null,
9052
9199
  data?: Paths.CreateCalendarTask.RequestBody,
9053
9200
  config?: AxiosRequestConfig
9054
9201
  ): OperationResponse<Paths.CreateCalendarTask.Responses.$200>;
9055
9202
  /**
9056
- * getCalendarTask
9203
+ * CalendarTaskDetailOperations_getCalendarTask
9057
9204
  */
9058
- 'getCalendarTask'(
9205
+ 'CalendarTaskDetailOperations_getCalendarTask'(
9059
9206
  parameters?: Parameters<Paths.GetCalendarTask.PathParameters & Paths.GetCalendarTask.QueryParameters> | null,
9060
9207
  data?: any,
9061
9208
  config?: AxiosRequestConfig
9062
9209
  ): OperationResponse<Paths.GetCalendarTask.Responses.$200>;
9063
9210
  /**
9064
- * updateCalendarTask - Update a task. `If-Match` makes the write conditional on the etag the caller read; a mismatch is 412.
9211
+ * CalendarTaskDetailOperations_updateCalendarTask - Update a task. `If-Match` makes the write conditional on the etag the caller read; a mismatch is 412.
9065
9212
  */
9066
- 'updateCalendarTask'(
9213
+ 'CalendarTaskDetailOperations_updateCalendarTask'(
9067
9214
  parameters?: Parameters<Paths.UpdateCalendarTask.PathParameters & Paths.UpdateCalendarTask.QueryParameters & Paths.UpdateCalendarTask.HeaderParameters> | null,
9068
9215
  data?: Paths.UpdateCalendarTask.RequestBody,
9069
9216
  config?: AxiosRequestConfig
9070
9217
  ): OperationResponse<Paths.UpdateCalendarTask.Responses.$200>;
9071
9218
  /**
9072
- * deleteCalendarTask - Delete a task. Same `If-Match` precondition as the update.
9219
+ * CalendarTaskDetailOperations_deleteCalendarTask - Delete a task. Same `If-Match` precondition as the update.
9073
9220
  */
9074
- 'deleteCalendarTask'(
9221
+ 'CalendarTaskDetailOperations_deleteCalendarTask'(
9075
9222
  parameters?: Parameters<Paths.DeleteCalendarTask.PathParameters & Paths.DeleteCalendarTask.QueryParameters & Paths.DeleteCalendarTask.HeaderParameters> | null,
9076
9223
  data?: any,
9077
9224
  config?: AxiosRequestConfig
9078
9225
  ): OperationResponse<Paths.DeleteCalendarTask.Responses.$204>;
9079
9226
  /**
9080
- * emptyTrash - Permanently delete all messages in the Trash mailbox
9227
+ * TrashOperations_emptyTrash - Permanently delete all messages in the Trash mailbox
9081
9228
  */
9082
- 'emptyTrash'(
9229
+ 'TrashOperations_emptyTrash'(
9083
9230
  parameters?: Parameters<Paths.EmptyTrash.PathParameters> | null,
9084
9231
  data?: any,
9085
9232
  config?: AxiosRequestConfig
9086
9233
  ): OperationResponse<Paths.EmptyTrash.Responses.$200>;
9087
9234
  /**
9088
- * triggerSync
9235
+ * SyncOperations_triggerSync
9089
9236
  */
9090
- 'triggerSync'(
9237
+ 'SyncOperations_triggerSync'(
9091
9238
  parameters?: Parameters<Paths.TriggerSync.PathParameters> | null,
9092
9239
  data?: any,
9093
9240
  config?: AxiosRequestConfig
9094
9241
  ): OperationResponse<Paths.TriggerSync.Responses.$200>;
9095
9242
  /**
9096
- * getSyncStatus - Get the current sync status for an account, including per-mailbox progress computed from watermarks. Read-only — does not write or contend with the mailbox sync lock (RFC 023).
9243
+ * SyncOperations_getSyncStatus - Get the current sync status for an account, including per-mailbox progress computed from watermarks. Read-only — does not write or contend with the mailbox sync lock (RFC 023).
9097
9244
  */
9098
- 'getSyncStatus'(
9245
+ 'SyncOperations_getSyncStatus'(
9099
9246
  parameters?: Parameters<Paths.GetSyncStatus.PathParameters> | null,
9100
9247
  data?: any,
9101
9248
  config?: AxiosRequestConfig
9102
9249
  ): OperationResponse<Paths.GetSyncStatus.Responses.$200>;
9103
9250
  /**
9104
- * createAccount - Create a new email account
9251
+ * AccountOperations_createAccount - Create a new email account
9105
9252
  */
9106
- 'createAccount'(
9253
+ 'AccountOperations_createAccount'(
9107
9254
  parameters?: Parameters<UnknownParamsObject> | null,
9108
9255
  data?: Paths.CreateAccount.RequestBody,
9109
9256
  config?: AxiosRequestConfig
9110
9257
  ): OperationResponse<Paths.CreateAccount.Responses.$200>;
9111
9258
  /**
9112
- * testConnection - Test IMAP/SMTP connection without saving
9259
+ * AccountOperations_testConnection - Test IMAP/SMTP connection without saving
9113
9260
  */
9114
- 'testConnection'(
9261
+ 'AccountOperations_testConnection'(
9115
9262
  parameters?: Parameters<UnknownParamsObject> | null,
9116
9263
  data?: Paths.TestConnection.RequestBody,
9117
9264
  config?: AxiosRequestConfig
9118
9265
  ): OperationResponse<Paths.TestConnection.Responses.$200>;
9119
9266
  /**
9120
- * microsoftOAuthStart - Start Microsoft OAuth2 authorization flow
9267
+ * MicrosoftOAuthOperations_microsoftOAuthStart - Start Microsoft OAuth2 authorization flow
9121
9268
  */
9122
- 'microsoftOAuthStart'(
9269
+ 'MicrosoftOAuthOperations_microsoftOAuthStart'(
9123
9270
  parameters?: Parameters<UnknownParamsObject> | null,
9124
9271
  data?: Paths.MicrosoftOAuthStart.RequestBody,
9125
9272
  config?: AxiosRequestConfig
9126
9273
  ): OperationResponse<Paths.MicrosoftOAuthStart.Responses.$200>;
9127
9274
  /**
9128
- * microsoftOAuthCallback - Microsoft OAuth2 callback endpoint — receives the authorization code from Microsoft and exchanges it for tokens. This endpoint is intentionally unauthenticated: the browser is redirected here by Microsoft after the user grants consent, before any Cognito session is available. CSRF is prevented by an HMAC-signed state parameter.
9275
+ * MicrosoftOAuthOperations_microsoftOAuthCallback - Microsoft OAuth2 callback endpoint — receives the authorization code from Microsoft and exchanges it for tokens. This endpoint is intentionally unauthenticated: the browser is redirected here by Microsoft after the user grants consent, before any Cognito session is available. CSRF is prevented by an HMAC-signed state parameter.
9129
9276
  */
9130
- 'microsoftOAuthCallback'(
9277
+ 'MicrosoftOAuthOperations_microsoftOAuthCallback'(
9131
9278
  parameters?: Parameters<Paths.MicrosoftOAuthCallback.QueryParameters> | null,
9132
9279
  data?: any,
9133
9280
  config?: AxiosRequestConfig
9134
9281
  ): OperationResponse<any>;
9135
9282
  /**
9136
- * updateAccount - Update an existing account
9283
+ * AccountDetailOperations_updateAccount - Update an existing account
9137
9284
  */
9138
- 'updateAccount'(
9285
+ 'AccountDetailOperations_updateAccount'(
9139
9286
  parameters?: Parameters<Paths.UpdateAccount.PathParameters> | null,
9140
9287
  data?: Paths.UpdateAccount.RequestBody,
9141
9288
  config?: AxiosRequestConfig
9142
9289
  ): OperationResponse<Paths.UpdateAccount.Responses.$200>;
9143
9290
  /**
9144
- * deleteAccount - Delete an account and all associated data
9291
+ * AccountDetailOperations_deleteAccount - Delete an account and all associated data
9145
9292
  */
9146
- 'deleteAccount'(
9293
+ 'AccountDetailOperations_deleteAccount'(
9147
9294
  parameters?: Parameters<Paths.DeleteAccount.PathParameters> | null,
9148
9295
  data?: any,
9149
9296
  config?: AxiosRequestConfig
9150
9297
  ): OperationResponse<Paths.DeleteAccount.Responses.$200>;
9151
9298
  /**
9152
- * listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
9299
+ * ThreadDetailOperations_listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
9153
9300
 
9154
9301
  One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
9155
9302
 
9156
9303
  Ordering: oldest first, by the date the message was sent, with `threadMessageId` breaking ties. A conversation is read in the order it happened, so a reply always follows the message it answers. Pass `order=desc` for the reverse.
9157
9304
  */
9158
- 'listThreadMessages'(
9305
+ 'ThreadDetailOperations_listThreadMessages'(
9159
9306
  parameters?: Parameters<Paths.ListThreadMessages.PathParameters & Paths.ListThreadMessages.QueryParameters> | null,
9160
9307
  data?: any,
9161
9308
  config?: AxiosRequestConfig
9162
9309
  ): OperationResponse<Paths.ListThreadMessages.Responses.$200>;
9163
9310
  /**
9164
- * listAllThreads - List threads across all non-muted accounts of the caller, ordered by sentDate desc (search mode ranks sender matches first, see below). Each row carries an attached `accountId` (derived from a mailboxId→accountId map at read time) plus the usual `senderTrust` enrichment; `category` is served from the ThreadMessage row. Served by the `byDate` LSI1 (pk = the caller's account config), so the caller can never see another account config's threads.
9311
+ * UnifiedThreadOperations_listAllThreads - List threads across all non-muted accounts of the caller, ordered by sentDate desc (search mode ranks sender matches first, see below). Each row carries an attached `accountId` (derived from a mailboxId→accountId map at read time) plus the usual `senderTrust` enrichment; `category` is served from the ThreadMessage row. Served by the `byDate` LSI1 (pk = the caller's account config), so the caller can never see another account config's threads.
9165
9312
 
9166
9313
  INBOX scope: results are filtered to each account's top-level INBOX, matched by exact path `fullPath === "INBOX"` (RFC 6154 defines no Inbox special-use). By design this excludes namespaced sub-paths like `INBOX/Receipts` and non-English server primaries — the unified inbox is each account's primary INBOX, not its sub-folders. Soft-deleted rows are also excluded.
9167
9314
 
@@ -9197,205 +9344,205 @@ Muted senders: `muted=false` excludes rows whose From address is muted, `muted=t
9197
9344
 
9198
9345
  Counting: `count=true` answers how many CONVERSATIONS match, over the whole scope and independent of `limit`. `results=false` omits the rows, which is how a header total is read without also paying for a page of mail. Conversations rather than rows because that is what this listing renders: a row is per mailbox, so the same mail filed in two folders is two rows sharing a `threadId`, and clients collapse by it. Counting rows would put a third number beside a list that shows a second one.
9199
9346
  */
9200
- 'listAllThreads'(
9347
+ 'UnifiedThreadOperations_listAllThreads'(
9201
9348
  parameters?: Parameters<Paths.ListAllThreads.QueryParameters> | null,
9202
9349
  data?: any,
9203
9350
  config?: AxiosRequestConfig
9204
9351
  ): OperationResponse<Paths.ListAllThreads.Responses.$200>;
9205
9352
  /**
9206
- * listThreads
9353
+ * ThreadOperations_listThreads
9207
9354
  */
9208
- 'listThreads'(
9355
+ 'ThreadOperations_listThreads'(
9209
9356
  parameters?: Parameters<Paths.ListThreads.PathParameters & Paths.ListThreads.QueryParameters> | null,
9210
9357
  data?: any,
9211
9358
  config?: AxiosRequestConfig
9212
9359
  ): OperationResponse<Paths.ListThreads.Responses.$200>;
9213
9360
  /**
9214
- * searchThreads
9361
+ * ThreadOperations_searchThreads
9215
9362
  */
9216
- 'searchThreads'(
9363
+ 'ThreadOperations_searchThreads'(
9217
9364
  parameters?: Parameters<Paths.SearchThreads.PathParameters & Paths.SearchThreads.QueryParameters> | null,
9218
9365
  data?: any,
9219
9366
  config?: AxiosRequestConfig
9220
9367
  ): OperationResponse<Paths.SearchThreads.Responses.$200>;
9221
9368
  /**
9222
- * 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`.
9369
+ * OutboxOperations_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`.
9223
9370
  */
9224
- 'createOutboxMessage'(
9371
+ 'OutboxOperations_createOutboxMessage'(
9225
9372
  parameters?: Parameters<UnknownParamsObject> | null,
9226
9373
  data?: Paths.CreateOutboxMessage.RequestBody,
9227
9374
  config?: AxiosRequestConfig
9228
9375
  ): OperationResponse<Paths.CreateOutboxMessage.Responses.$200>;
9229
9376
  /**
9230
- * listOutboxMessages - List outbox messages for the current account
9377
+ * OutboxOperations_listOutboxMessages - List outbox messages for the current account
9231
9378
  */
9232
- 'listOutboxMessages'(
9379
+ 'OutboxOperations_listOutboxMessages'(
9233
9380
  parameters?: Parameters<Paths.ListOutboxMessages.QueryParameters> | null,
9234
9381
  data?: any,
9235
9382
  config?: AxiosRequestConfig
9236
9383
  ): OperationResponse<Paths.ListOutboxMessages.Responses.$200>;
9237
9384
  /**
9238
- * getOutboxMessage - Get an outbox message by ID
9385
+ * OutboxDetailOperations_getOutboxMessage - Get an outbox message by ID
9239
9386
  */
9240
- 'getOutboxMessage'(
9387
+ 'OutboxDetailOperations_getOutboxMessage'(
9241
9388
  parameters?: Parameters<Paths.GetOutboxMessage.PathParameters> | null,
9242
9389
  data?: any,
9243
9390
  config?: AxiosRequestConfig
9244
9391
  ): OperationResponse<Paths.GetOutboxMessage.Responses.$200>;
9245
9392
  /**
9246
- * updateOutboxMessage - Update a draft outbox message
9393
+ * OutboxDetailOperations_updateOutboxMessage - Update a draft outbox message
9247
9394
  */
9248
- 'updateOutboxMessage'(
9395
+ 'OutboxDetailOperations_updateOutboxMessage'(
9249
9396
  parameters?: Parameters<Paths.UpdateOutboxMessage.PathParameters> | null,
9250
9397
  data?: Paths.UpdateOutboxMessage.RequestBody,
9251
9398
  config?: AxiosRequestConfig
9252
9399
  ): OperationResponse<Paths.UpdateOutboxMessage.Responses.$200>;
9253
9400
  /**
9254
- * deleteOutboxMessage - Delete a draft or failed outbox message
9401
+ * OutboxDetailOperations_deleteOutboxMessage - Delete a draft or failed outbox message
9255
9402
  */
9256
- 'deleteOutboxMessage'(
9403
+ 'OutboxDetailOperations_deleteOutboxMessage'(
9257
9404
  parameters?: Parameters<Paths.DeleteOutboxMessage.PathParameters> | null,
9258
9405
  data?: any,
9259
9406
  config?: AxiosRequestConfig
9260
9407
  ): OperationResponse<Paths.DeleteOutboxMessage.Responses.$204>;
9261
9408
  /**
9262
- * 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.
9409
+ * OutboxDetailOperations_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.
9263
9410
  */
9264
- 'sendOutboxMessage'(
9411
+ 'OutboxDetailOperations_sendOutboxMessage'(
9265
9412
  parameters?: Parameters<Paths.SendOutboxMessage.PathParameters> | null,
9266
9413
  data?: any,
9267
9414
  config?: AxiosRequestConfig
9268
9415
  ): OperationResponse<Paths.SendOutboxMessage.Responses.$200>;
9269
9416
  /**
9270
- * mintOutboxAttachment - Reserve room on a draft for a file, and get somewhere to put it
9417
+ * OutboxDetailOperations_mintOutboxAttachment - Reserve room on a draft for a file, and get somewhere to put it
9271
9418
  */
9272
- 'mintOutboxAttachment'(
9419
+ 'OutboxDetailOperations_mintOutboxAttachment'(
9273
9420
  parameters?: Parameters<Paths.MintOutboxAttachment.PathParameters> | null,
9274
9421
  data?: Paths.MintOutboxAttachment.RequestBody,
9275
9422
  config?: AxiosRequestConfig
9276
- ): OperationResponse<Paths.MintOutboxAttachment.Responses.$200 | Paths.MintOutboxAttachment.Responses.$200>;
9423
+ ): OperationResponse<Paths.MintOutboxAttachment.Responses.$200>;
9277
9424
  /**
9278
- * completeOutboxAttachment - Confirm an uploaded file against the object storage now holds
9425
+ * OutboxAttachmentOperations_completeOutboxAttachment - Confirm an uploaded file against the object storage now holds
9279
9426
  */
9280
- 'completeOutboxAttachment'(
9427
+ 'OutboxAttachmentOperations_completeOutboxAttachment'(
9281
9428
  parameters?: Parameters<Paths.CompleteOutboxAttachment.PathParameters> | null,
9282
9429
  data?: any,
9283
9430
  config?: AxiosRequestConfig
9284
- ): OperationResponse<Paths.CompleteOutboxAttachment.Responses.$200 | Paths.CompleteOutboxAttachment.Responses.$200>;
9431
+ ): OperationResponse<Paths.CompleteOutboxAttachment.Responses.$200>;
9285
9432
  /**
9286
- * searchAddresses - Search addresses for autocomplete
9433
+ * AddressOperations_searchAddresses - Search addresses for autocomplete
9287
9434
  */
9288
- 'searchAddresses'(
9435
+ 'AddressOperations_searchAddresses'(
9289
9436
  parameters?: Parameters<Paths.SearchAddresses.QueryParameters> | null,
9290
9437
  data?: any,
9291
9438
  config?: AxiosRequestConfig
9292
9439
  ): OperationResponse<Paths.SearchAddresses.Responses.$200>;
9293
9440
  /**
9294
- * updateAddress - Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
9441
+ * AddressDetailOperations_updateAddress - Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
9295
9442
  */
9296
- 'updateAddress'(
9443
+ 'AddressDetailOperations_updateAddress'(
9297
9444
  parameters?: Parameters<Paths.UpdateAddress.PathParameters> | null,
9298
9445
  data?: Paths.UpdateAddress.RequestBody,
9299
9446
  config?: AxiosRequestConfig
9300
9447
  ): OperationResponse<Paths.UpdateAddress.Responses.$200>;
9301
9448
  /**
9302
- * describeMessage
9449
+ * MessageOperations_describeMessage
9303
9450
  */
9304
- 'describeMessage'(
9451
+ 'MessageOperations_describeMessage'(
9305
9452
  parameters?: Parameters<Paths.DescribeMessage.PathParameters> | null,
9306
9453
  data?: any,
9307
9454
  config?: AxiosRequestConfig
9308
9455
  ): OperationResponse<Paths.DescribeMessage.Responses.$200>;
9309
9456
  /**
9310
- * getRawMessage - Get the raw RFC822/MIME source of a message (headers and body) for inspection.
9457
+ * MessageOperations_getRawMessage - Get the raw RFC822/MIME source of a message (headers and body) for inspection.
9311
9458
  */
9312
- 'getRawMessage'(
9459
+ 'MessageOperations_getRawMessage'(
9313
9460
  parameters?: Parameters<Paths.GetRawMessage.PathParameters> | null,
9314
9461
  data?: any,
9315
9462
  config?: AxiosRequestConfig
9316
9463
  ): OperationResponse<Paths.GetRawMessage.Responses.$200>;
9317
9464
  /**
9318
- * updateMessageFlags
9465
+ * MessageOperations_updateMessageFlags
9319
9466
  */
9320
- 'updateMessageFlags'(
9467
+ 'MessageOperations_updateMessageFlags'(
9321
9468
  parameters?: Parameters<Paths.UpdateMessageFlags.PathParameters> | null,
9322
9469
  data?: Paths.UpdateMessageFlags.RequestBody,
9323
9470
  config?: AxiosRequestConfig
9324
9471
  ): OperationResponse<Paths.UpdateMessageFlags.Responses.$200>;
9325
9472
  /**
9326
- * updateFlags - Update flags on multiple messages
9473
+ * MessageBulkOperations_updateFlags - Update flags on multiple messages
9327
9474
  */
9328
- 'updateFlags'(
9475
+ 'MessageBulkOperations_updateFlags'(
9329
9476
  parameters?: Parameters<UnknownParamsObject> | null,
9330
9477
  data?: Paths.UpdateFlags.RequestBody,
9331
9478
  config?: AxiosRequestConfig
9332
9479
  ): OperationResponse<Paths.UpdateFlags.Responses.$200>;
9333
9480
  /**
9334
- * deleteMessages - Delete messages (move to Trash or permanent delete)
9481
+ * MessageBulkOperations_deleteMessages - Delete messages (move to Trash or permanent delete)
9335
9482
  */
9336
- 'deleteMessages'(
9483
+ 'MessageBulkOperations_deleteMessages'(
9337
9484
  parameters?: Parameters<UnknownParamsObject> | null,
9338
9485
  data?: Paths.DeleteMessages.RequestBody,
9339
9486
  config?: AxiosRequestConfig
9340
9487
  ): OperationResponse<Paths.DeleteMessages.Responses.$200>;
9341
9488
  /**
9342
- * moveMessages
9489
+ * MessageBulkOperations_moveMessages
9343
9490
  */
9344
- 'moveMessages'(
9491
+ 'MessageBulkOperations_moveMessages'(
9345
9492
  parameters?: Parameters<UnknownParamsObject> | null,
9346
9493
  data?: Paths.MoveMessages.RequestBody,
9347
9494
  config?: AxiosRequestConfig
9348
9495
  ): OperationResponse<Paths.MoveMessages.Responses.$200>;
9349
9496
  /**
9350
- * copyMessages - Copy messages to a destination mailbox
9497
+ * MessageBulkOperations_copyMessages - Copy messages to a destination mailbox
9351
9498
  */
9352
- 'copyMessages'(
9499
+ 'MessageBulkOperations_copyMessages'(
9353
9500
  parameters?: Parameters<UnknownParamsObject> | null,
9354
9501
  data?: Paths.CopyMessages.RequestBody,
9355
9502
  config?: AxiosRequestConfig
9356
9503
  ): OperationResponse<Paths.CopyMessages.Responses.$200>;
9357
9504
  /**
9358
- * updateMessageLabels - Apply or remove a label on multiple messages — the manual "just these" scope (RFC 034 recap, issue #26). `appliedByFilterId` stays absent on the resulting `MessageLabel` rows; that provenance is reserved for filter/organize applies.
9505
+ * MessageBulkOperations_updateMessageLabels - Apply or remove a label on multiple messages — the manual "just these" scope (RFC 034 recap, issue #26). `appliedByFilterId` stays absent on the resulting `MessageLabel` rows; that provenance is reserved for filter/organize applies.
9359
9506
  */
9360
- 'updateMessageLabels'(
9507
+ 'MessageBulkOperations_updateMessageLabels'(
9361
9508
  parameters?: Parameters<UnknownParamsObject> | null,
9362
9509
  data?: Paths.UpdateMessageLabels.RequestBody,
9363
9510
  config?: AxiosRequestConfig
9364
9511
  ): OperationResponse<Paths.UpdateMessageLabels.Responses.$200>;
9365
9512
  /**
9366
- * reportSpam - Report messages as spam: block the sender (Address.flags.blocked) and move each message to the account's Junk folder. Skips the block (but still moves the message) when the sender is the account's own address. One call replaces composing the old separate `Block` and `Mark spam` actions — a single user intent, a single failure story. The sender block is written first and does not wait on the move; a failed move never rolls it back. Idempotent under a repeated call.
9513
+ * MessageBulkOperations_reportSpam - Report messages as spam: block the sender (Address.flags.blocked) and move each message to the account's Junk folder. Skips the block (but still moves the message) when the sender is the account's own address. One call replaces composing the old separate `Block` and `Mark spam` actions — a single user intent, a single failure story. The sender block is written first and does not wait on the move; a failed move never rolls it back. Idempotent under a repeated call.
9367
9514
  */
9368
- 'reportSpam'(
9515
+ 'MessageBulkOperations_reportSpam'(
9369
9516
  parameters?: Parameters<UnknownParamsObject> | null,
9370
9517
  data?: Paths.ReportSpam.RequestBody,
9371
9518
  config?: AxiosRequestConfig
9372
9519
  ): OperationResponse<Paths.ReportSpam.Responses.$200>;
9373
9520
  /**
9374
- * notSpam - Undo a spam report: clear the sender's `blocked` flag (never promotes to trusted/wellknown) and move each message back to `Message.originalMailboxId`. A message in Junk with no `spamReport` and no `originalMailboxId` is Remit's own Junk verdict: it moves to the Inbox and the sender gets `neverSpam`. A message whose move is still in flight waits for it to settle, then fails with "has not settled yet". Idempotent under a repeated call. Each message is processed independently and concurrently, so the request's total wait is bounded by one message's settle timeout rather than accumulating across the batch.
9521
+ * MessageBulkOperations_notSpam - Undo a spam report: clear the sender's `blocked` flag (never promotes to trusted/wellknown) and move each message back to `Message.originalMailboxId`. A message in Junk with no `spamReport` and no `originalMailboxId` is Remit's own Junk verdict: it moves to the Inbox and the sender gets `neverSpam`. A message whose move is still in flight waits for it to settle, then fails with "has not settled yet". Idempotent under a repeated call. Each message is processed independently and concurrently, so the request's total wait is bounded by one message's settle timeout rather than accumulating across the batch.
9375
9522
  */
9376
- 'notSpam'(
9523
+ 'MessageBulkOperations_notSpam'(
9377
9524
  parameters?: Parameters<UnknownParamsObject> | null,
9378
9525
  data?: Paths.NotSpam.RequestBody,
9379
9526
  config?: AxiosRequestConfig
9380
9527
  ): OperationResponse<Paths.NotSpam.Responses.$200>;
9381
9528
  /**
9382
- * listCalendarSuggestions - List the caller's suggestions in one state, newest first. `Pending` is the set that is waiting on a person and the one a client normally asks for.
9529
+ * CalendarSuggestionOperations_listCalendarSuggestions - List the caller's suggestions in one state, newest first. `Pending` is the set that is waiting on a person and the one a client normally asks for.
9383
9530
  */
9384
- 'listCalendarSuggestions'(
9531
+ 'CalendarSuggestionOperations_listCalendarSuggestions'(
9385
9532
  parameters?: Parameters<Paths.ListCalendarSuggestions.QueryParameters> | null,
9386
9533
  data?: any,
9387
9534
  config?: AxiosRequestConfig
9388
9535
  ): OperationResponse<Paths.ListCalendarSuggestions.Responses.$200>;
9389
9536
  /**
9390
- * listMessageCalendarSuggestions - Every suggestion read out of one message, in whatever state each has reached — a superseded revision included, so the card can say which revision replaced it.
9537
+ * MessageCalendarSuggestionOperations_listMessageCalendarSuggestions - Every suggestion read out of one message, in whatever state each has reached — a superseded revision included, so the card can say which revision replaced it.
9391
9538
  */
9392
- 'listMessageCalendarSuggestions'(
9539
+ 'MessageCalendarSuggestionOperations_listMessageCalendarSuggestions'(
9393
9540
  parameters?: Parameters<Paths.ListMessageCalendarSuggestions.PathParameters> | null,
9394
9541
  data?: any,
9395
9542
  config?: AxiosRequestConfig
9396
9543
  ): OperationResponse<Paths.ListMessageCalendarSuggestions.Responses.$200>;
9397
9544
  /**
9398
- * acceptCalendarSuggestion - Add the suggested event to a calendar. One transaction: a VCALENDAR is
9545
+ * CalendarSuggestionActionOperations_acceptCalendarSuggestion - Add the suggested event to a calendar. One transaction: a VCALENDAR is
9399
9546
  built from the invitation's own bytes, keeping its UID and SEQUENCE and
9400
9547
  marking the user `ATTENDEE;PARTSTAT=ACCEPTED`, and written through the
9401
9548
  same service function every other calendar write goes through — so a web
@@ -9416,29 +9563,29 @@ and the suggestion id are derived rather than minted.
9416
9563
  answered otherwise, dismissed or superseded — when a `Cancel` suggestion
9417
9564
  is answered `Tentative`, or when its iCalendar will not parse.
9418
9565
  */
9419
- 'acceptCalendarSuggestion'(
9566
+ 'CalendarSuggestionActionOperations_acceptCalendarSuggestion'(
9420
9567
  parameters?: Parameters<Paths.AcceptCalendarSuggestion.PathParameters> | null,
9421
9568
  data?: Paths.AcceptCalendarSuggestion.RequestBody,
9422
9569
  config?: AxiosRequestConfig
9423
9570
  ): OperationResponse<Paths.AcceptCalendarSuggestion.Responses.$200>;
9424
9571
  /**
9425
- * declineCalendarSuggestion - Say no. Writes no calendar object and sends no reply to the organizer. Idempotent; 400 when the suggestion was already accepted, since a resource exists and declining would not remove it.
9572
+ * CalendarSuggestionActionOperations_declineCalendarSuggestion - Say no. Writes no calendar object and sends no reply to the organizer. Idempotent; 400 when the suggestion was already accepted, since a resource exists and declining would not remove it.
9426
9573
  */
9427
- 'declineCalendarSuggestion'(
9574
+ 'CalendarSuggestionActionOperations_declineCalendarSuggestion'(
9428
9575
  parameters?: Parameters<Paths.DeclineCalendarSuggestion.PathParameters> | null,
9429
9576
  data?: any,
9430
9577
  config?: AxiosRequestConfig
9431
9578
  ): OperationResponse<Paths.DeclineCalendarSuggestion.Responses.$200>;
9432
9579
  /**
9433
- * dismissCalendarSuggestion - Wave the card away. Writes no calendar object. With `muteSender`, also writes a standing `Filter` rule on the message's sender so their invitations stop being offered. Idempotent; 400 when the suggestion was already accepted.
9580
+ * CalendarSuggestionActionOperations_dismissCalendarSuggestion - Wave the card away. Writes no calendar object. With `muteSender`, also writes a standing `Filter` rule on the message's sender so their invitations stop being offered. Idempotent; 400 when the suggestion was already accepted.
9434
9581
  */
9435
- 'dismissCalendarSuggestion'(
9582
+ 'CalendarSuggestionActionOperations_dismissCalendarSuggestion'(
9436
9583
  parameters?: Parameters<Paths.DismissCalendarSuggestion.PathParameters> | null,
9437
9584
  data?: Paths.DismissCalendarSuggestion.RequestBody,
9438
9585
  config?: AxiosRequestConfig
9439
9586
  ): OperationResponse<Paths.DismissCalendarSuggestion.Responses.$200>;
9440
9587
  /**
9441
- * reopenCalendarSuggestion - Take an answer back. An accepted, tentative, declined or dismissed
9588
+ * CalendarSuggestionActionOperations_reopenCalendarSuggestion - Take an answer back. An accepted, tentative, declined or dismissed
9442
9589
  suggestion returns to `Pending`, so the card asks again. One
9443
9590
  transaction: the suggestion is settled `Pending` with
9444
9591
  `acceptedCalendarObjectId: ""`, and the calendar object an accept or a
@@ -9455,7 +9602,7 @@ No mail is sent. Idempotent: a `Pending` suggestion is returned as it is.
9455
9602
  a `Cancel`, whose answer rewrote an event it cannot restore, or its
9456
9603
  `answerOvertakenBy` is `Cancellation`, because a cancellation is terminal.
9457
9604
  */
9458
- 'reopenCalendarSuggestion'(
9605
+ 'CalendarSuggestionActionOperations_reopenCalendarSuggestion'(
9459
9606
  parameters?: Parameters<Paths.ReopenCalendarSuggestion.PathParameters> | null,
9460
9607
  data?: any,
9461
9608
  config?: AxiosRequestConfig
@@ -9465,7 +9612,7 @@ a `Cancel`, whose answer rewrote an event it cannot restore, or its
9465
9612
  export interface PathsDictionary {
9466
9613
  ['/me']: {
9467
9614
  /**
9468
- * deleteMe - Request full erasure of the current user's account and all associated data
9615
+ * MeOperations_deleteMe - Request full erasure of the current user's account and all associated data
9469
9616
  */
9470
9617
  'delete'(
9471
9618
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9475,7 +9622,7 @@ export interface PathsDictionary {
9475
9622
  };
9476
9623
  ['/me/vip-suggestions']: {
9477
9624
  /**
9478
- * listVipSuggestions - List wellknown senders the user has not yet promoted to VIP. Ranked by `replyCount + inboundCount` desc with `lastInboundAt` desc as the tie-breaker. Capped at 10.
9625
+ * MeOperations_listVipSuggestions - List wellknown senders the user has not yet promoted to VIP. Ranked by `replyCount + inboundCount` desc with `lastInboundAt` desc as the tie-breaker. Capped at 10.
9479
9626
  */
9480
9627
  'get'(
9481
9628
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9485,7 +9632,7 @@ export interface PathsDictionary {
9485
9632
  };
9486
9633
  ['/me/export']: {
9487
9634
  /**
9488
- * createExport - Request an export of all account data as a ZIP archive of .eml files. Returns immediately with an exportId; check GET /me/export/{exportId} for status and downloadUrl.
9635
+ * MeOperations_createExport - Request an export of all account data as a ZIP archive of .eml files. Returns immediately with an exportId; check GET /me/export/{exportId} for status and downloadUrl.
9489
9636
  */
9490
9637
  'post'(
9491
9638
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9495,7 +9642,7 @@ export interface PathsDictionary {
9495
9642
  };
9496
9643
  ['/me/export/{exportId}']: {
9497
9644
  /**
9498
- * getExport - Get the status of a previously requested data export. When state is Ready, downloadUrl holds a 30-day presigned S3 URL.
9645
+ * MeOperations_getExport - Get the status of a previously requested data export. When state is Ready, downloadUrl holds a 30-day presigned S3 URL.
9499
9646
  */
9500
9647
  'get'(
9501
9648
  parameters?: Parameters<Paths.GetExport.PathParameters> | null,
@@ -9505,7 +9652,7 @@ export interface PathsDictionary {
9505
9652
  };
9506
9653
  ['/me/quarantine']: {
9507
9654
  /**
9508
- * listQuarantine - List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
9655
+ * MeOperations_listQuarantine - List every message the sync path could not read, for the current user across all of their mail accounts (issue #72). Backs the quarantine section in settings. Unpaginated: the list is small by design, and an entry is a defect waiting to be reported rather than a page of mail.
9509
9656
  */
9510
9657
  'get'(
9511
9658
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9515,7 +9662,7 @@ export interface PathsDictionary {
9515
9662
  };
9516
9663
  ['/config']: {
9517
9664
  /**
9518
- * getConfig - Get the current user's configuration including accounts and addresses
9665
+ * ConfigOperations_getConfig - Get the current user's configuration including accounts and addresses
9519
9666
  */
9520
9667
  'get'(
9521
9668
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9525,7 +9672,7 @@ export interface PathsDictionary {
9525
9672
  };
9526
9673
  ['/config/export']: {
9527
9674
  /**
9528
- * exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
9675
+ * ConfigOperations_exportConfig - Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.
9529
9676
  */
9530
9677
  'get'(
9531
9678
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9535,7 +9682,7 @@ export interface PathsDictionary {
9535
9682
  };
9536
9683
  ['/config/import']: {
9537
9684
  /**
9538
- * importConfig - Validate, or validate and apply, a config document. `mode: validate` (the default) writes nothing and returns the same report an apply would. `onExisting: abort` (the default) refuses with 409 when this configuration already holds accounts, labels, filters or address flags. Nothing is written until the whole document has validated; a write failure after that aborts the remainder and the report names exactly what landed. Imported accounts arrive inactive with `connectionState: credentials_missing` (or `reauth_required` for OAuth) - the credentials the file deliberately omits are re-entered per account afterwards.
9685
+ * ConfigOperations_importConfig - Validate, or validate and apply, a config document. `mode: validate` (the default) writes nothing and returns the same report an apply would. `onExisting: abort` (the default) refuses with 409 when this configuration already holds accounts, labels, filters or address flags. Nothing is written until the whole document has validated; a write failure after that aborts the remainder and the report names exactly what landed. Imported accounts arrive inactive with `connectionState: credentials_missing` (or `reauth_required` for OAuth) - the credentials the file deliberately omits are re-entered per account afterwards.
9539
9686
  */
9540
9687
  'post'(
9541
9688
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9545,7 +9692,7 @@ export interface PathsDictionary {
9545
9692
  };
9546
9693
  ['/system/update']: {
9547
9694
  /**
9548
- * getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
9695
+ * SystemOperations_getSystemUpdate - Read the self-update resource: the running version, the outcome of the most recent manifest check, and the state of the current or last run. With `refresh=true`, records a check request on the control volume for the updater to pick up and answers with the stored state as it stands; the caller watches `check.lastCheckedAt` for the updater's answer. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
9549
9696
  */
9550
9697
  'get'(
9551
9698
  parameters?: Parameters<Paths.GetSystemUpdate.QueryParameters> | null,
@@ -9553,7 +9700,7 @@ export interface PathsDictionary {
9553
9700
  config?: AxiosRequestConfig
9554
9701
  ): OperationResponse<Paths.GetSystemUpdate.Responses.$200>;
9555
9702
  /**
9556
- * applySystemUpdate - Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
9703
+ * SystemOperations_applySystemUpdate - Request installation of a specific release. Writes the request to the control seam and returns 202 with the same resource, including a runId. 409 when a run is in flight, 422 when the target is not the manifest's version. Owner-only, and absent (404) unless a manifest URL is configured (RFC 037 D7, D8).
9557
9704
  */
9558
9705
  'post'(
9559
9706
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9563,7 +9710,7 @@ export interface PathsDictionary {
9563
9710
  };
9564
9711
  ['/people']: {
9565
9712
  /**
9566
- * listPeople - List everyone who signs in to this instance, ordered by email. Self-host only, and absent (404) while self sign-up is open.
9713
+ * PeopleOperations_listPeople - List everyone who signs in to this instance, ordered by email. Self-host only, and absent (404) while self sign-up is open.
9567
9714
  */
9568
9715
  'get'(
9569
9716
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9573,7 +9720,7 @@ export interface PathsDictionary {
9573
9720
  };
9574
9721
  ['/people/step-up']: {
9575
9722
  /**
9576
- * createStepUp - Trade the caller's current password for a single-use token that allows one action on one person for five minutes. Five wrong passwords in 15 minutes refuse further step-ups with 429. Absent (404) while self sign-up is open, or when the person does not exist.
9723
+ * PeopleOperations_createStepUp - Trade the caller's current password for a single-use token that allows one action on one person for five minutes. Five wrong passwords in 15 minutes refuse further step-ups with 429. Absent (404) while self sign-up is open, or when the person does not exist.
9577
9724
  */
9578
9725
  'post'(
9579
9726
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9583,7 +9730,7 @@ export interface PathsDictionary {
9583
9730
  };
9584
9731
  ['/people/{userId}/sign-out']: {
9585
9732
  /**
9586
- * signOutPerson - Sign the person out of every browser session and MCP connection. Needs a `SignOut` step-up for this person. A JWT already minted works until it expires, at most 15 minutes.
9733
+ * PeopleOperations_signOutPerson - Sign the person out of every browser session and MCP connection. Needs a `SignOut` step-up for this person. A JWT already minted works until it expires, at most 15 minutes.
9587
9734
  */
9588
9735
  'post'(
9589
9736
  parameters?: Parameters<Paths.SignOutPerson.PathParameters> | null,
@@ -9593,7 +9740,7 @@ export interface PathsDictionary {
9593
9740
  };
9594
9741
  ['/people/{userId}']: {
9595
9742
  /**
9596
- * updatePerson - Disable or enable the person. Needs a `Disable` or `Enable` step-up for this person. Refused with 409 `cannot_disable_self` when the caller disables themselves.
9743
+ * PeopleOperations_updatePerson - Disable or enable the person. Needs a `Disable` or `Enable` step-up for this person. Refused with 409 `cannot_disable_self` when the caller disables themselves.
9597
9744
  */
9598
9745
  'patch'(
9599
9746
  parameters?: Parameters<Paths.UpdatePerson.PathParameters> | null,
@@ -9603,7 +9750,7 @@ export interface PathsDictionary {
9603
9750
  };
9604
9751
  ['/people/{userId}/password-reset']: {
9605
9752
  /**
9606
- * createPasswordReset - Issue a single-use password reset link for the person, valid 24 hours. Needs a `ResetPassword` step-up for this person. The person's old password stops working and their sessions are revoked.
9753
+ * PeopleOperations_createPasswordReset - Issue a single-use password reset link for the person, valid 24 hours. Needs a `ResetPassword` step-up for this person. The person's old password stops working and their sessions are revoked.
9607
9754
  */
9608
9755
  'post'(
9609
9756
  parameters?: Parameters<Paths.CreatePasswordReset.PathParameters> | null,
@@ -9613,7 +9760,7 @@ export interface PathsDictionary {
9613
9760
  };
9614
9761
  ['/accounts/{accountId}/mailboxes']: {
9615
9762
  /**
9616
- * listMailboxes
9763
+ * MailboxOperations_listMailboxes
9617
9764
  */
9618
9765
  'get'(
9619
9766
  parameters?: Parameters<Paths.ListMailboxes.PathParameters & Paths.ListMailboxes.QueryParameters> | null,
@@ -9621,7 +9768,7 @@ export interface PathsDictionary {
9621
9768
  config?: AxiosRequestConfig
9622
9769
  ): OperationResponse<Paths.ListMailboxes.Responses.$200>;
9623
9770
  /**
9624
- * createMailbox - Create a folder. Refused with 400 when the account already has a folder at that path.
9771
+ * MailboxOperations_createMailbox - Create a folder. Refused with 400 when the account already has a folder at that path.
9625
9772
  */
9626
9773
  'post'(
9627
9774
  parameters?: Parameters<Paths.CreateMailbox.PathParameters> | null,
@@ -9631,7 +9778,7 @@ export interface PathsDictionary {
9631
9778
  };
9632
9779
  ['/accounts/{accountId}/mailboxes/{mailboxId}']: {
9633
9780
  /**
9634
- * getMailbox
9781
+ * MailboxDetailOperations_getMailbox
9635
9782
  */
9636
9783
  'get'(
9637
9784
  parameters?: Parameters<Paths.GetMailbox.PathParameters> | null,
@@ -9639,7 +9786,7 @@ export interface PathsDictionary {
9639
9786
  config?: AxiosRequestConfig
9640
9787
  ): OperationResponse<Paths.GetMailbox.Responses.$200>;
9641
9788
  /**
9642
- * renameMailbox - Rename a folder, or dismiss a folder mutation that failed. `fullPath` records the rename target over the folder and everything under it; the folder keeps the path the mail server holds until the rename lands. A `fullPath` equal to the folder's current one is a dismissal: it clears a failed rename or delete and enqueues nothing. Refused with 400 for INBOX at either end, a name reserved for a system folder, and a name another folder already has; with 409 when a mutation is already in flight on the folder or on anything inside it.
9789
+ * MailboxDetailOperations_renameMailbox - Rename a folder, or dismiss a folder mutation that failed. `fullPath` records the rename target over the folder and everything under it; the folder keeps the path the mail server holds until the rename lands. A `fullPath` equal to the folder's current one is a dismissal: it clears a failed rename or delete and enqueues nothing. Refused with 400 for INBOX at either end, a name reserved for a system folder, and a name another folder already has; with 409 when a mutation is already in flight on the folder or on anything inside it.
9643
9790
  */
9644
9791
  'patch'(
9645
9792
  parameters?: Parameters<Paths.RenameMailbox.PathParameters> | null,
@@ -9647,7 +9794,7 @@ export interface PathsDictionary {
9647
9794
  config?: AxiosRequestConfig
9648
9795
  ): OperationResponse<Paths.RenameMailbox.Responses.$200>;
9649
9796
  /**
9650
- * deleteMailbox - Record a delete intent for a folder. The folder stays listed, marked as being deleted, until the mail server confirms it and its mail goes with it. Refused with 400 for INBOX, for a folder with folders inside it, and for a folder a filter or a canonical role is bound to — the message names each binding; with 409 when a mutation is already in flight on it.
9797
+ * MailboxDetailOperations_deleteMailbox - Record a delete intent for a folder. The folder stays listed, marked as being deleted, until the mail server confirms it and its mail goes with it. Refused with 400 for INBOX, for a folder with folders inside it, and for a folder a filter or a canonical role is bound to — the message names each binding; with 409 when a mutation is already in flight on it.
9651
9798
  */
9652
9799
  'delete'(
9653
9800
  parameters?: Parameters<Paths.DeleteMailbox.PathParameters> | null,
@@ -9657,7 +9804,7 @@ export interface PathsDictionary {
9657
9804
  };
9658
9805
  ['/accounts/{accountId}/folder-roles/{role}']: {
9659
9806
  /**
9660
- * appointFolderRole - Appoint a canonical role to a mailbox, or clear it. Exclusive by construction: the role always resolves to exactly one mailbox, so appointing a new one silently replaces whichever mailbox previously held it — there is no second place a duplicate appointment could live. Returns the account with its refreshed folderAppointments.
9807
+ * FolderRoleOperations_appointFolderRole - Appoint a canonical role to a mailbox, or clear it. Exclusive by construction: the role always resolves to exactly one mailbox, so appointing a new one silently replaces whichever mailbox previously held it — there is no second place a duplicate appointment could live. Returns the account with its refreshed folderAppointments.
9661
9808
  */
9662
9809
  'put'(
9663
9810
  parameters?: Parameters<Paths.AppointFolderRole.PathParameters> | null,
@@ -9667,7 +9814,7 @@ export interface PathsDictionary {
9667
9814
  };
9668
9815
  ['/accounts/{accountId}/filters']: {
9669
9816
  /**
9670
- * listFilters
9817
+ * FilterOperations_listFilters
9671
9818
  */
9672
9819
  'get'(
9673
9820
  parameters?: Parameters<Paths.ListFilters.PathParameters & Paths.ListFilters.QueryParameters> | null,
@@ -9675,7 +9822,7 @@ export interface PathsDictionary {
9675
9822
  config?: AxiosRequestConfig
9676
9823
  ): OperationResponse<Paths.ListFilters.Responses.$200>;
9677
9824
  /**
9678
- * createFilter
9825
+ * FilterOperations_createFilter
9679
9826
  */
9680
9827
  'post'(
9681
9828
  parameters?: Parameters<Paths.CreateFilter.PathParameters> | null,
@@ -9685,7 +9832,7 @@ export interface PathsDictionary {
9685
9832
  };
9686
9833
  ['/accounts/{accountId}/filters/{filterId}']: {
9687
9834
  /**
9688
- * getFilter
9835
+ * FilterDetailOperations_getFilter
9689
9836
  */
9690
9837
  'get'(
9691
9838
  parameters?: Parameters<Paths.GetFilter.PathParameters> | null,
@@ -9693,7 +9840,7 @@ export interface PathsDictionary {
9693
9840
  config?: AxiosRequestConfig
9694
9841
  ): OperationResponse<Paths.GetFilter.Responses.$200>;
9695
9842
  /**
9696
- * updateFilter
9843
+ * FilterDetailOperations_updateFilter
9697
9844
  */
9698
9845
  'patch'(
9699
9846
  parameters?: Parameters<Paths.UpdateFilter.PathParameters> | null,
@@ -9701,7 +9848,7 @@ export interface PathsDictionary {
9701
9848
  config?: AxiosRequestConfig
9702
9849
  ): OperationResponse<Paths.UpdateFilter.Responses.$200>;
9703
9850
  /**
9704
- * deleteFilter
9851
+ * FilterDetailOperations_deleteFilter
9705
9852
  */
9706
9853
  'delete'(
9707
9854
  parameters?: Parameters<Paths.DeleteFilter.PathParameters> | null,
@@ -9711,7 +9858,7 @@ export interface PathsDictionary {
9711
9858
  };
9712
9859
  ['/accounts/{accountId}/labels']: {
9713
9860
  /**
9714
- * listLabels
9861
+ * LabelOperations_listLabels
9715
9862
  */
9716
9863
  'get'(
9717
9864
  parameters?: Parameters<Paths.ListLabels.PathParameters & Paths.ListLabels.QueryParameters> | null,
@@ -9719,7 +9866,7 @@ export interface PathsDictionary {
9719
9866
  config?: AxiosRequestConfig
9720
9867
  ): OperationResponse<Paths.ListLabels.Responses.$200>;
9721
9868
  /**
9722
- * createLabel
9869
+ * LabelOperations_createLabel
9723
9870
  */
9724
9871
  'post'(
9725
9872
  parameters?: Parameters<Paths.CreateLabel.PathParameters> | null,
@@ -9729,7 +9876,7 @@ export interface PathsDictionary {
9729
9876
  };
9730
9877
  ['/accounts/{accountId}/labels/{labelId}']: {
9731
9878
  /**
9732
- * getLabel
9879
+ * LabelDetailOperations_getLabel
9733
9880
  */
9734
9881
  'get'(
9735
9882
  parameters?: Parameters<Paths.GetLabel.PathParameters> | null,
@@ -9737,7 +9884,7 @@ export interface PathsDictionary {
9737
9884
  config?: AxiosRequestConfig
9738
9885
  ): OperationResponse<Paths.GetLabel.Responses.$200>;
9739
9886
  /**
9740
- * updateLabel
9887
+ * LabelDetailOperations_updateLabel
9741
9888
  */
9742
9889
  'patch'(
9743
9890
  parameters?: Parameters<Paths.UpdateLabel.PathParameters> | null,
@@ -9745,7 +9892,7 @@ export interface PathsDictionary {
9745
9892
  config?: AxiosRequestConfig
9746
9893
  ): OperationResponse<Paths.UpdateLabel.Responses.$200>;
9747
9894
  /**
9748
- * deleteLabel - Delete a label. Cascades in both directions (issue #26): every `MessageLabel` row for it is removed, and every filter whose `actionLabelId` is this label is deleted outright — never left dangling, never blocking the delete. The client is expected to confirm first, naming `LabelResponse.filterCount` as the number of filters that will go with it.
9895
+ * LabelDetailOperations_deleteLabel - Delete a label. Cascades in both directions (issue #26): every `MessageLabel` row for it is removed, and every filter whose `actionLabelId` is this label is deleted outright — never left dangling, never blocking the delete. The client is expected to confirm first, naming `LabelResponse.filterCount` as the number of filters that will go with it.
9749
9896
  */
9750
9897
  'delete'(
9751
9898
  parameters?: Parameters<Paths.DeleteLabel.PathParameters> | null,
@@ -9755,7 +9902,7 @@ export interface PathsDictionary {
9755
9902
  };
9756
9903
  ['/accounts/{accountId}/organize']: {
9757
9904
  /**
9758
- * createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
9905
+ * OrganizeOperations_createOrganizeJob - Start a one-time "all like these" back-apply: match the corpus against the given predicate and apply the action to every match, in one pass. Returns immediately with an organizeJobId; poll GET /accounts/{accountId}/organize/{organizeJobId} for state and counts. Never creates a Filter row (RFC 034 recap).
9759
9906
  */
9760
9907
  'post'(
9761
9908
  parameters?: Parameters<Paths.CreateOrganizeJob.PathParameters> | null,
@@ -9765,7 +9912,7 @@ export interface PathsDictionary {
9765
9912
  };
9766
9913
  ['/accounts/{accountId}/organize/preview']: {
9767
9914
  /**
9768
- * previewOrganize - Preview an "all like these" back-apply: run the exact same matcher read-only and return the messages the action would be applied to, without applying it. The previewed set equals the set a job with the same input would apply to.
9915
+ * OrganizeOperations_previewOrganize - Preview an "all like these" back-apply: run the exact same matcher read-only and return the messages the action would be applied to, without applying it. The previewed set equals the set a job with the same input would apply to.
9769
9916
  */
9770
9917
  'post'(
9771
9918
  parameters?: Parameters<Paths.PreviewOrganize.PathParameters> | null,
@@ -9775,7 +9922,7 @@ export interface PathsDictionary {
9775
9922
  };
9776
9923
  ['/accounts/{accountId}/organize/{organizeJobId}']: {
9777
9924
  /**
9778
- * getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
9925
+ * OrganizeJobDetailOperations_getOrganizeJob - Get the status of a back-apply job, including matched/applied/failed counts. Terminal states are Complete and Failed.
9779
9926
  */
9780
9927
  'get'(
9781
9928
  parameters?: Parameters<Paths.GetOrganizeJob.PathParameters> | null,
@@ -9785,7 +9932,7 @@ export interface PathsDictionary {
9785
9932
  };
9786
9933
  ['/calendars']: {
9787
9934
  /**
9788
- * listCalendars - List the caller's calendar collections. Provisions the account config's default collection when it has none, so a first read never comes back empty and no client has to know how a calendar gets made.
9935
+ * CalendarOperations_listCalendars - List the caller's calendar collections. Provisions the account config's default collection when it has none, so a first read never comes back empty and no client has to know how a calendar gets made.
9789
9936
  */
9790
9937
  'get'(
9791
9938
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9793,7 +9940,7 @@ export interface PathsDictionary {
9793
9940
  config?: AxiosRequestConfig
9794
9941
  ): OperationResponse<Paths.ListCalendars.Responses.$200>;
9795
9942
  /**
9796
- * createCalendar - Create a calendar collection. Refused with 400 when `urlSegment` is empty or already taken in this account config — the segment is the collection's identity, so a second create under the same one would otherwise silently return the collection that already exists. With `subscriptionUrl` the feed is fetched first and a fetch that fails is refused with 400 `subscription_unreachable`, naming why and never the URL.
9943
+ * CalendarOperations_createCalendar - Create a calendar collection. Refused with 400 when `urlSegment` is empty or already taken in this account config — the segment is the collection's identity, so a second create under the same one would otherwise silently return the collection that already exists. With `subscriptionUrl` the feed is fetched first and a fetch that fails is refused with 400 `subscription_unreachable`, naming why and never the URL.
9797
9944
  */
9798
9945
  'post'(
9799
9946
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9803,7 +9950,7 @@ export interface PathsDictionary {
9803
9950
  };
9804
9951
  ['/calendars/{calendarId}']: {
9805
9952
  /**
9806
- * getCalendar
9953
+ * CalendarDetailOperations_getCalendar
9807
9954
  */
9808
9955
  'get'(
9809
9956
  parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
@@ -9811,7 +9958,7 @@ export interface PathsDictionary {
9811
9958
  config?: AxiosRequestConfig
9812
9959
  ): OperationResponse<Paths.GetCalendar.Responses.$200>;
9813
9960
  /**
9814
- * updateCalendar - Update a calendar collection. `subscriptionEnabled` is refused with 400 `not_subscribed` on a collection that is not `Subscribed`. Turning it off stops the refresh and removes nothing.
9961
+ * CalendarDetailOperations_updateCalendar - Update a calendar collection. `subscriptionEnabled` is refused with 400 `not_subscribed` on a collection that is not `Subscribed`. Turning it off stops the refresh and removes nothing.
9815
9962
  */
9816
9963
  'patch'(
9817
9964
  parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
@@ -9819,7 +9966,7 @@ export interface PathsDictionary {
9819
9966
  config?: AxiosRequestConfig
9820
9967
  ): OperationResponse<Paths.UpdateCalendar.Responses.$200>;
9821
9968
  /**
9822
- * deleteCalendar - Delete a calendar collection and every event in it. Refused with 400 for the account's default collection: it is the one place an accepted invitation or a first event can land, and an account with no calendar has nowhere to put an event.
9969
+ * CalendarDetailOperations_deleteCalendar - Delete a calendar collection and every event in it. Refused with 400 for the account's default collection: it is the one place an accepted invitation or a first event can land, and an account with no calendar has nowhere to put an event.
9823
9970
  */
9824
9971
  'delete'(
9825
9972
  parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
@@ -9829,7 +9976,7 @@ export interface PathsDictionary {
9829
9976
  };
9830
9977
  ['/calendars/{calendarId}/feed']: {
9831
9978
  /**
9832
- * getCalendarFeed - Read whether this calendar has a feed address. Absent (404) until one is
9979
+ * CalendarDetailOperations_getCalendarFeed - Read whether this calendar has a feed address. Absent (404) until one is
9833
9980
  minted. The token is not here: it is stored as a hash, so the only
9834
9981
  moment it exists in the clear is the answer to the write below.
9835
9982
  */
@@ -9839,7 +9986,7 @@ moment it exists in the clear is the answer to the write below.
9839
9986
  config?: AxiosRequestConfig
9840
9987
  ): OperationResponse<Paths.GetCalendarFeed.Responses.$200>;
9841
9988
  /**
9842
- * putCalendarFeed - Mint the calendar's feed address, or replace the one it has, and answer
9989
+ * CalendarDetailOperations_putCalendarFeed - Mint the calendar's feed address, or replace the one it has, and answer
9843
9990
  with the token in the clear. Idempotent in address rather than in value:
9844
9991
  one calendar holds one token, so a second call rotates — the previous
9845
9992
  URL stops resolving, which is how a subscription handed to the wrong
@@ -9854,7 +10001,7 @@ does not keep it rotates again.
9854
10001
  config?: AxiosRequestConfig
9855
10002
  ): OperationResponse<Paths.PutCalendarFeed.Responses.$200>;
9856
10003
  /**
9857
- * revokeCalendarFeed - Revoke the calendar's feed address. Every subscribed client starts getting 404 on its next poll. Answered 404 when the calendar has no feed, so a revoke is never reported as having taken something away that was not there.
10004
+ * CalendarDetailOperations_revokeCalendarFeed - Revoke the calendar's feed address. Every subscribed client starts getting 404 on its next poll. Answered 404 when the calendar has no feed, so a revoke is never reported as having taken something away that was not there.
9858
10005
  */
9859
10006
  'delete'(
9860
10007
  parameters?: Parameters<Paths.RevokeCalendarFeed.PathParameters> | null,
@@ -9864,7 +10011,7 @@ does not keep it rotates again.
9864
10011
  };
9865
10012
  ['/feeds/calendar/{feedToken}.ics']: {
9866
10013
  /**
9867
- * getCalendarFeedIcal - Serve a calendar as iCalendar text to whoever holds its secret address
10014
+ * CalendarFeedOperations_getCalendarFeedIcal - Serve a calendar as iCalendar text to whoever holds its secret address
9868
10015
  (issue #1067).
9869
10016
 
9870
10017
  Outside the session-auth surface on purpose: Apple Calendar, Google
@@ -9882,7 +10029,7 @@ an unknown, revoked or malformed token is the same 404 with the same body
9882
10029
  };
9883
10030
  ['/calendar-events']: {
9884
10031
  /**
9885
- * listCalendarEvents - Expanded event occurrences in a window. The server does the recurrence
10032
+ * CalendarEventOperations_listCalendarEvents - Expanded event occurrences in a window. The server does the recurrence
9886
10033
  expansion and the client renders instances — no RRULE is ever evaluated
9887
10034
  in a browser, so a week grid and a day strip agree with each other and
9888
10035
  with what a native client will later read over CalDAV.
@@ -9901,7 +10048,7 @@ Refused with 400 when `from` and `to` are not ISO 8601 date-times, when
9901
10048
  config?: AxiosRequestConfig
9902
10049
  ): OperationResponse<Paths.ListCalendarEvents.Responses.$200>;
9903
10050
  /**
9904
- * createCalendarEvent - Create an event. The server builds the VEVENT and writes it through the single calendar write path — the same one an accepted invitation and a later CalDAV PUT go through — so the object, its expanded occurrences and the collection's sync sequence land together or not at all. Refused with 400 `read_only_calendar` for a `Subscribed` collection, whose events belong to the feed.
10051
+ * CalendarEventOperations_createCalendarEvent - Create an event. The server builds the VEVENT and writes it through the single calendar write path — the same one an accepted invitation and a later CalDAV PUT go through — so the object, its expanded occurrences and the collection's sync sequence land together or not at all. Refused with 400 `read_only_calendar` for a `Subscribed` collection, whose events belong to the feed.
9905
10052
  */
9906
10053
  'post'(
9907
10054
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9911,7 +10058,7 @@ Refused with 400 when `from` and `to` are not ISO 8601 date-times, when
9911
10058
  };
9912
10059
  ['/calendar-events/{calendarObjectId}']: {
9913
10060
  /**
9914
- * getCalendarEvent - Get one stored event, including its canonical iCalendar text and its etag.
10061
+ * CalendarEventDetailOperations_getCalendarEvent - Get one stored event, including its canonical iCalendar text and its etag.
9915
10062
  */
9916
10063
  'get'(
9917
10064
  parameters?: Parameters<Paths.GetCalendarEvent.PathParameters & Paths.GetCalendarEvent.QueryParameters> | null,
@@ -9919,7 +10066,7 @@ Refused with 400 when `from` and `to` are not ISO 8601 date-times, when
9919
10066
  config?: AxiosRequestConfig
9920
10067
  ): OperationResponse<Paths.GetCalendarEvent.Responses.$200>;
9921
10068
  /**
9922
- * updateCalendarEvent - Update an event. `scope` says what the caller meant by editing one
10069
+ * CalendarEventDetailOperations_updateCalendarEvent - Update an event. `scope` says what the caller meant by editing one
9923
10070
  drawing of a series: `All` rewrites the master, `This` writes a
9924
10071
  RECURRENCE-ID override for the named occurrence, and `Following` splits
9925
10072
  the series — the master's rule is truncated and a second resource carries
@@ -9939,7 +10086,7 @@ this patch would discard their change without either of them seeing it.
9939
10086
  config?: AxiosRequestConfig
9940
10087
  ): OperationResponse<Paths.UpdateCalendarEvent.Responses.$200>;
9941
10088
  /**
9942
- * deleteCalendarEvent - Delete an event. `All` removes the resource and every occurrence it
10089
+ * CalendarEventDetailOperations_deleteCalendarEvent - Delete an event. `All` removes the resource and every occurrence it
9943
10090
  produced; `This` writes an EXDATE for the named occurrence and keeps the
9944
10091
  rest of the series; `Following` truncates the series to end just before
9945
10092
  it.
@@ -9959,7 +10106,7 @@ reader organizes the event, none otherwise.
9959
10106
  };
9960
10107
  ['/calendar-free-busy']: {
9961
10108
  /**
9962
- * listCalendarFreeBusy - Busy spans over a window, merged across every calendar the caller holds. Backs the clash check beside a mail invitation and the free-stretch maths in the day strip, neither of which should have to fetch every event and merge them itself. Refused with 400 on the same window rules as the event listing.
10109
+ * CalendarFreeBusyOperations_listCalendarFreeBusy - Busy spans over a window, merged across every calendar the caller holds. Backs the clash check beside a mail invitation and the free-stretch maths in the day strip, neither of which should have to fetch every event and merge them itself. Refused with 400 on the same window rules as the event listing.
9963
10110
  */
9964
10111
  'get'(
9965
10112
  parameters?: Parameters<Paths.ListCalendarFreeBusy.QueryParameters> | null,
@@ -9969,7 +10116,7 @@ reader organizes the event, none otherwise.
9969
10116
  };
9970
10117
  ['/settings']: {
9971
10118
  /**
9972
- * getUserSettings - Read the caller's settings.
10119
+ * UserSettingsOperations_getUserSettings - Read the caller's settings.
9973
10120
  */
9974
10121
  'get'(
9975
10122
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9977,7 +10124,7 @@ reader organizes the event, none otherwise.
9977
10124
  config?: AxiosRequestConfig
9978
10125
  ): OperationResponse<Paths.GetUserSettings.Responses.$200>;
9979
10126
  /**
9980
- * updateUserSettings - Change the caller's settings. Answers with every setting as it now stands.
10127
+ * UserSettingsOperations_updateUserSettings - Change the caller's settings. Answers with every setting as it now stands.
9981
10128
  */
9982
10129
  'patch'(
9983
10130
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9987,7 +10134,7 @@ reader organizes the event, none otherwise.
9987
10134
  };
9988
10135
  ['/settings/default-invitation-sender']: {
9989
10136
  /**
9990
- * clearDefaultInvitationSender - Clear the chosen default invitation sender. Invitations then go out from the account an event is on. Answers with every setting as it now stands.
10137
+ * UserSettingsOperations_clearDefaultInvitationSender - Clear the chosen default invitation sender. Invitations then go out from the account an event is on. Answers with every setting as it now stands.
9991
10138
  */
9992
10139
  'delete'(
9993
10140
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -9997,7 +10144,7 @@ reader organizes the event, none otherwise.
9997
10144
  };
9998
10145
  ['/settings/classification-provider']: {
9999
10146
  /**
10000
- * clearClassificationProvider - Delete the saved classification provider, its key and every classification setting. Classification is then off. Answers with every setting as it now stands.
10147
+ * UserSettingsOperations_clearClassificationProvider - Delete the saved classification provider, its key and every classification setting. Classification is then off. Answers with every setting as it now stands.
10001
10148
  */
10002
10149
  'delete'(
10003
10150
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10007,17 +10154,27 @@ reader organizes the event, none otherwise.
10007
10154
  };
10008
10155
  ['/settings/classification-test']: {
10009
10156
  /**
10010
- * testClassificationProvider - Classify one built-in sample message with the form values, saved or not, and answer with the label or the failure. An empty key uses the saved key. Saved settings stay as they were, and the call counts toward no daily limit.
10157
+ * UserSettingsOperations_testClassificationProvider - Classify one built-in sample message with the form values, saved or not, and answer with the label or the failure. An empty key uses the saved key. Saved settings stay as they were, and the call counts toward no daily limit.
10011
10158
  */
10012
10159
  'post'(
10013
10160
  parameters?: Parameters<UnknownParamsObject> | null,
10014
10161
  data?: Paths.TestClassificationProvider.RequestBody,
10015
10162
  config?: AxiosRequestConfig
10016
- ): OperationResponse<any>;
10163
+ ): OperationResponse<Paths.TestClassificationProvider.Responses.$200>;
10164
+ };
10165
+ ['/classification-stats']: {
10166
+ /**
10167
+ * ClassificationStatsOperations_getClassificationStats - Count what the classifier decided for mail that arrived on or after `since`, and how often the reader corrected it. Refused with 400 when `since` is not an ISO 8601 date-time with zone offset.
10168
+ */
10169
+ 'get'(
10170
+ parameters?: Parameters<Paths.GetClassificationStats.QueryParameters> | null,
10171
+ data?: any,
10172
+ config?: AxiosRequestConfig
10173
+ ): OperationResponse<Paths.GetClassificationStats.Responses.$200>;
10017
10174
  };
10018
10175
  ['/calendar-tasks']: {
10019
10176
  /**
10020
- * listCalendarTasks - Tasks due in a window, across every task collection the caller holds, in due order. Refused with 400 on the same window rules as the event listing.
10177
+ * CalendarTaskOperations_listCalendarTasks - Tasks due in a window, across every task collection the caller holds, in due order. Refused with 400 on the same window rules as the event listing.
10021
10178
  */
10022
10179
  'get'(
10023
10180
  parameters?: Parameters<Paths.ListCalendarTasks.QueryParameters> | null,
@@ -10025,7 +10182,7 @@ reader organizes the event, none otherwise.
10025
10182
  config?: AxiosRequestConfig
10026
10183
  ): OperationResponse<Paths.ListCalendarTasks.Responses.$200>;
10027
10184
  /**
10028
- * createCalendarTask - Create a task. Refused with 400 `not_a_task_calendar` when `calendarId` names an event collection.
10185
+ * CalendarTaskOperations_createCalendarTask - Create a task. Refused with 400 `not_a_task_calendar` when `calendarId` names an event collection.
10029
10186
  */
10030
10187
  'post'(
10031
10188
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10035,7 +10192,7 @@ reader organizes the event, none otherwise.
10035
10192
  };
10036
10193
  ['/calendar-tasks/{calendarTaskId}']: {
10037
10194
  /**
10038
- * getCalendarTask
10195
+ * CalendarTaskDetailOperations_getCalendarTask
10039
10196
  */
10040
10197
  'get'(
10041
10198
  parameters?: Parameters<Paths.GetCalendarTask.PathParameters & Paths.GetCalendarTask.QueryParameters> | null,
@@ -10043,7 +10200,7 @@ reader organizes the event, none otherwise.
10043
10200
  config?: AxiosRequestConfig
10044
10201
  ): OperationResponse<Paths.GetCalendarTask.Responses.$200>;
10045
10202
  /**
10046
- * updateCalendarTask - Update a task. `If-Match` makes the write conditional on the etag the caller read; a mismatch is 412.
10203
+ * CalendarTaskDetailOperations_updateCalendarTask - Update a task. `If-Match` makes the write conditional on the etag the caller read; a mismatch is 412.
10047
10204
  */
10048
10205
  'patch'(
10049
10206
  parameters?: Parameters<Paths.UpdateCalendarTask.PathParameters & Paths.UpdateCalendarTask.QueryParameters> | null,
@@ -10051,7 +10208,7 @@ reader organizes the event, none otherwise.
10051
10208
  config?: AxiosRequestConfig
10052
10209
  ): OperationResponse<Paths.UpdateCalendarTask.Responses.$200>;
10053
10210
  /**
10054
- * deleteCalendarTask - Delete a task. Same `If-Match` precondition as the update.
10211
+ * CalendarTaskDetailOperations_deleteCalendarTask - Delete a task. Same `If-Match` precondition as the update.
10055
10212
  */
10056
10213
  'delete'(
10057
10214
  parameters?: Parameters<Paths.DeleteCalendarTask.PathParameters & Paths.DeleteCalendarTask.QueryParameters> | null,
@@ -10061,7 +10218,7 @@ reader organizes the event, none otherwise.
10061
10218
  };
10062
10219
  ['/accounts/{accountId}/trash/empty']: {
10063
10220
  /**
10064
- * emptyTrash - Permanently delete all messages in the Trash mailbox
10221
+ * TrashOperations_emptyTrash - Permanently delete all messages in the Trash mailbox
10065
10222
  */
10066
10223
  'post'(
10067
10224
  parameters?: Parameters<Paths.EmptyTrash.PathParameters> | null,
@@ -10071,7 +10228,7 @@ reader organizes the event, none otherwise.
10071
10228
  };
10072
10229
  ['/accounts/{accountId}/sync']: {
10073
10230
  /**
10074
- * triggerSync
10231
+ * SyncOperations_triggerSync
10075
10232
  */
10076
10233
  'post'(
10077
10234
  parameters?: Parameters<Paths.TriggerSync.PathParameters> | null,
@@ -10081,7 +10238,7 @@ reader organizes the event, none otherwise.
10081
10238
  };
10082
10239
  ['/accounts/{accountId}/sync/status']: {
10083
10240
  /**
10084
- * getSyncStatus - Get the current sync status for an account, including per-mailbox progress computed from watermarks. Read-only — does not write or contend with the mailbox sync lock (RFC 023).
10241
+ * SyncOperations_getSyncStatus - Get the current sync status for an account, including per-mailbox progress computed from watermarks. Read-only — does not write or contend with the mailbox sync lock (RFC 023).
10085
10242
  */
10086
10243
  'get'(
10087
10244
  parameters?: Parameters<Paths.GetSyncStatus.PathParameters> | null,
@@ -10091,7 +10248,7 @@ reader organizes the event, none otherwise.
10091
10248
  };
10092
10249
  ['/accounts']: {
10093
10250
  /**
10094
- * createAccount - Create a new email account
10251
+ * AccountOperations_createAccount - Create a new email account
10095
10252
  */
10096
10253
  'post'(
10097
10254
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10101,7 +10258,7 @@ reader organizes the event, none otherwise.
10101
10258
  };
10102
10259
  ['/accounts/test-connection']: {
10103
10260
  /**
10104
- * testConnection - Test IMAP/SMTP connection without saving
10261
+ * AccountOperations_testConnection - Test IMAP/SMTP connection without saving
10105
10262
  */
10106
10263
  'post'(
10107
10264
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10111,7 +10268,7 @@ reader organizes the event, none otherwise.
10111
10268
  };
10112
10269
  ['/accounts/oauth/microsoft/start']: {
10113
10270
  /**
10114
- * microsoftOAuthStart - Start Microsoft OAuth2 authorization flow
10271
+ * MicrosoftOAuthOperations_microsoftOAuthStart - Start Microsoft OAuth2 authorization flow
10115
10272
  */
10116
10273
  'post'(
10117
10274
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10121,7 +10278,7 @@ reader organizes the event, none otherwise.
10121
10278
  };
10122
10279
  ['/accounts/oauth/microsoft/callback']: {
10123
10280
  /**
10124
- * microsoftOAuthCallback - Microsoft OAuth2 callback endpoint — receives the authorization code from Microsoft and exchanges it for tokens. This endpoint is intentionally unauthenticated: the browser is redirected here by Microsoft after the user grants consent, before any Cognito session is available. CSRF is prevented by an HMAC-signed state parameter.
10281
+ * MicrosoftOAuthOperations_microsoftOAuthCallback - Microsoft OAuth2 callback endpoint — receives the authorization code from Microsoft and exchanges it for tokens. This endpoint is intentionally unauthenticated: the browser is redirected here by Microsoft after the user grants consent, before any Cognito session is available. CSRF is prevented by an HMAC-signed state parameter.
10125
10282
  */
10126
10283
  'get'(
10127
10284
  parameters?: Parameters<Paths.MicrosoftOAuthCallback.QueryParameters> | null,
@@ -10131,7 +10288,7 @@ reader organizes the event, none otherwise.
10131
10288
  };
10132
10289
  ['/accounts/{accountId}']: {
10133
10290
  /**
10134
- * updateAccount - Update an existing account
10291
+ * AccountDetailOperations_updateAccount - Update an existing account
10135
10292
  */
10136
10293
  'patch'(
10137
10294
  parameters?: Parameters<Paths.UpdateAccount.PathParameters> | null,
@@ -10139,7 +10296,7 @@ reader organizes the event, none otherwise.
10139
10296
  config?: AxiosRequestConfig
10140
10297
  ): OperationResponse<Paths.UpdateAccount.Responses.$200>;
10141
10298
  /**
10142
- * deleteAccount - Delete an account and all associated data
10299
+ * AccountDetailOperations_deleteAccount - Delete an account and all associated data
10143
10300
  */
10144
10301
  'delete'(
10145
10302
  parameters?: Parameters<Paths.DeleteAccount.PathParameters> | null,
@@ -10149,7 +10306,7 @@ reader organizes the event, none otherwise.
10149
10306
  };
10150
10307
  ['/threads/{threadId}/messages']: {
10151
10308
  /**
10152
- * listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
10309
+ * ThreadDetailOperations_listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
10153
10310
 
10154
10311
  One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
10155
10312
 
@@ -10163,7 +10320,7 @@ Ordering: oldest first, by the date the message was sent, with `threadMessageId`
10163
10320
  };
10164
10321
  ['/threads']: {
10165
10322
  /**
10166
- * listAllThreads - List threads across all non-muted accounts of the caller, ordered by sentDate desc (search mode ranks sender matches first, see below). Each row carries an attached `accountId` (derived from a mailboxId→accountId map at read time) plus the usual `senderTrust` enrichment; `category` is served from the ThreadMessage row. Served by the `byDate` LSI1 (pk = the caller's account config), so the caller can never see another account config's threads.
10323
+ * UnifiedThreadOperations_listAllThreads - List threads across all non-muted accounts of the caller, ordered by sentDate desc (search mode ranks sender matches first, see below). Each row carries an attached `accountId` (derived from a mailboxId→accountId map at read time) plus the usual `senderTrust` enrichment; `category` is served from the ThreadMessage row. Served by the `byDate` LSI1 (pk = the caller's account config), so the caller can never see another account config's threads.
10167
10324
 
10168
10325
  INBOX scope: results are filtered to each account's top-level INBOX, matched by exact path `fullPath === "INBOX"` (RFC 6154 defines no Inbox special-use). By design this excludes namespaced sub-paths like `INBOX/Receipts` and non-English server primaries — the unified inbox is each account's primary INBOX, not its sub-folders. Soft-deleted rows are also excluded.
10169
10326
 
@@ -10207,7 +10364,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10207
10364
  };
10208
10365
  ['/mailboxes/{mailboxId}/threads']: {
10209
10366
  /**
10210
- * listThreads
10367
+ * ThreadOperations_listThreads
10211
10368
  */
10212
10369
  'get'(
10213
10370
  parameters?: Parameters<Paths.ListThreads.PathParameters & Paths.ListThreads.QueryParameters> | null,
@@ -10217,7 +10374,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10217
10374
  };
10218
10375
  ['/mailboxes/{mailboxId}/threads/search']: {
10219
10376
  /**
10220
- * searchThreads
10377
+ * ThreadOperations_searchThreads
10221
10378
  */
10222
10379
  'get'(
10223
10380
  parameters?: Parameters<Paths.SearchThreads.PathParameters & Paths.SearchThreads.QueryParameters> | null,
@@ -10227,7 +10384,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10227
10384
  };
10228
10385
  ['/outbox']: {
10229
10386
  /**
10230
- * 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`.
10387
+ * OutboxOperations_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`.
10231
10388
  */
10232
10389
  'post'(
10233
10390
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10235,7 +10392,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10235
10392
  config?: AxiosRequestConfig
10236
10393
  ): OperationResponse<Paths.CreateOutboxMessage.Responses.$200>;
10237
10394
  /**
10238
- * listOutboxMessages - List outbox messages for the current account
10395
+ * OutboxOperations_listOutboxMessages - List outbox messages for the current account
10239
10396
  */
10240
10397
  'get'(
10241
10398
  parameters?: Parameters<Paths.ListOutboxMessages.QueryParameters> | null,
@@ -10245,7 +10402,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10245
10402
  };
10246
10403
  ['/outbox/{outboxMessageId}']: {
10247
10404
  /**
10248
- * getOutboxMessage - Get an outbox message by ID
10405
+ * OutboxDetailOperations_getOutboxMessage - Get an outbox message by ID
10249
10406
  */
10250
10407
  'get'(
10251
10408
  parameters?: Parameters<Paths.GetOutboxMessage.PathParameters> | null,
@@ -10253,7 +10410,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10253
10410
  config?: AxiosRequestConfig
10254
10411
  ): OperationResponse<Paths.GetOutboxMessage.Responses.$200>;
10255
10412
  /**
10256
- * updateOutboxMessage - Update a draft outbox message
10413
+ * OutboxDetailOperations_updateOutboxMessage - Update a draft outbox message
10257
10414
  */
10258
10415
  'patch'(
10259
10416
  parameters?: Parameters<Paths.UpdateOutboxMessage.PathParameters> | null,
@@ -10261,7 +10418,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10261
10418
  config?: AxiosRequestConfig
10262
10419
  ): OperationResponse<Paths.UpdateOutboxMessage.Responses.$200>;
10263
10420
  /**
10264
- * deleteOutboxMessage - Delete a draft or failed outbox message
10421
+ * OutboxDetailOperations_deleteOutboxMessage - Delete a draft or failed outbox message
10265
10422
  */
10266
10423
  'delete'(
10267
10424
  parameters?: Parameters<Paths.DeleteOutboxMessage.PathParameters> | null,
@@ -10271,7 +10428,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10271
10428
  };
10272
10429
  ['/outbox/{outboxMessageId}/send']: {
10273
10430
  /**
10274
- * 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.
10431
+ * OutboxDetailOperations_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.
10275
10432
  */
10276
10433
  'post'(
10277
10434
  parameters?: Parameters<Paths.SendOutboxMessage.PathParameters> | null,
@@ -10281,27 +10438,27 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10281
10438
  };
10282
10439
  ['/outbox/{outboxMessageId}/attachments']: {
10283
10440
  /**
10284
- * mintOutboxAttachment - Reserve room on a draft for a file, and get somewhere to put it
10441
+ * OutboxDetailOperations_mintOutboxAttachment - Reserve room on a draft for a file, and get somewhere to put it
10285
10442
  */
10286
10443
  'post'(
10287
10444
  parameters?: Parameters<Paths.MintOutboxAttachment.PathParameters> | null,
10288
10445
  data?: Paths.MintOutboxAttachment.RequestBody,
10289
10446
  config?: AxiosRequestConfig
10290
- ): OperationResponse<Paths.MintOutboxAttachment.Responses.$200 | Paths.MintOutboxAttachment.Responses.$200>;
10447
+ ): OperationResponse<Paths.MintOutboxAttachment.Responses.$200>;
10291
10448
  };
10292
10449
  ['/outbox/{outboxMessageId}/attachments/{outboxAttachmentId}/complete']: {
10293
10450
  /**
10294
- * completeOutboxAttachment - Confirm an uploaded file against the object storage now holds
10451
+ * OutboxAttachmentOperations_completeOutboxAttachment - Confirm an uploaded file against the object storage now holds
10295
10452
  */
10296
10453
  'post'(
10297
10454
  parameters?: Parameters<Paths.CompleteOutboxAttachment.PathParameters> | null,
10298
10455
  data?: any,
10299
10456
  config?: AxiosRequestConfig
10300
- ): OperationResponse<Paths.CompleteOutboxAttachment.Responses.$200 | Paths.CompleteOutboxAttachment.Responses.$200>;
10457
+ ): OperationResponse<Paths.CompleteOutboxAttachment.Responses.$200>;
10301
10458
  };
10302
10459
  ['/addresses/search']: {
10303
10460
  /**
10304
- * searchAddresses - Search addresses for autocomplete
10461
+ * AddressOperations_searchAddresses - Search addresses for autocomplete
10305
10462
  */
10306
10463
  'get'(
10307
10464
  parameters?: Parameters<Paths.SearchAddresses.QueryParameters> | null,
@@ -10311,7 +10468,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10311
10468
  };
10312
10469
  ['/addresses/{addressId}']: {
10313
10470
  /**
10314
- * updateAddress - Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
10471
+ * AddressDetailOperations_updateAddress - Update an address (currently: per-sender flags). Pass `flags` to set flags and `clearFlags: ["<name>"]` to remove them. Other flags are untouched.
10315
10472
  */
10316
10473
  'patch'(
10317
10474
  parameters?: Parameters<Paths.UpdateAddress.PathParameters> | null,
@@ -10321,7 +10478,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10321
10478
  };
10322
10479
  ['/messages/{messageId}']: {
10323
10480
  /**
10324
- * describeMessage
10481
+ * MessageOperations_describeMessage
10325
10482
  */
10326
10483
  'get'(
10327
10484
  parameters?: Parameters<Paths.DescribeMessage.PathParameters> | null,
@@ -10331,7 +10488,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10331
10488
  };
10332
10489
  ['/messages/{messageId}/raw']: {
10333
10490
  /**
10334
- * getRawMessage - Get the raw RFC822/MIME source of a message (headers and body) for inspection.
10491
+ * MessageOperations_getRawMessage - Get the raw RFC822/MIME source of a message (headers and body) for inspection.
10335
10492
  */
10336
10493
  'get'(
10337
10494
  parameters?: Parameters<Paths.GetRawMessage.PathParameters> | null,
@@ -10341,7 +10498,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10341
10498
  };
10342
10499
  ['/messages/{messageId}/flags']: {
10343
10500
  /**
10344
- * updateMessageFlags
10501
+ * MessageOperations_updateMessageFlags
10345
10502
  */
10346
10503
  'patch'(
10347
10504
  parameters?: Parameters<Paths.UpdateMessageFlags.PathParameters> | null,
@@ -10351,7 +10508,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10351
10508
  };
10352
10509
  ['/messages/flags']: {
10353
10510
  /**
10354
- * updateFlags - Update flags on multiple messages
10511
+ * MessageBulkOperations_updateFlags - Update flags on multiple messages
10355
10512
  */
10356
10513
  'post'(
10357
10514
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10361,7 +10518,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10361
10518
  };
10362
10519
  ['/messages/delete']: {
10363
10520
  /**
10364
- * deleteMessages - Delete messages (move to Trash or permanent delete)
10521
+ * MessageBulkOperations_deleteMessages - Delete messages (move to Trash or permanent delete)
10365
10522
  */
10366
10523
  'post'(
10367
10524
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10371,7 +10528,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10371
10528
  };
10372
10529
  ['/messages/move']: {
10373
10530
  /**
10374
- * moveMessages
10531
+ * MessageBulkOperations_moveMessages
10375
10532
  */
10376
10533
  'post'(
10377
10534
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10381,7 +10538,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10381
10538
  };
10382
10539
  ['/messages/copy']: {
10383
10540
  /**
10384
- * copyMessages - Copy messages to a destination mailbox
10541
+ * MessageBulkOperations_copyMessages - Copy messages to a destination mailbox
10385
10542
  */
10386
10543
  'post'(
10387
10544
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10391,7 +10548,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10391
10548
  };
10392
10549
  ['/messages/labels']: {
10393
10550
  /**
10394
- * updateMessageLabels - Apply or remove a label on multiple messages — the manual "just these" scope (RFC 034 recap, issue #26). `appliedByFilterId` stays absent on the resulting `MessageLabel` rows; that provenance is reserved for filter/organize applies.
10551
+ * MessageBulkOperations_updateMessageLabels - Apply or remove a label on multiple messages — the manual "just these" scope (RFC 034 recap, issue #26). `appliedByFilterId` stays absent on the resulting `MessageLabel` rows; that provenance is reserved for filter/organize applies.
10395
10552
  */
10396
10553
  'post'(
10397
10554
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10401,7 +10558,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10401
10558
  };
10402
10559
  ['/messages/report-spam']: {
10403
10560
  /**
10404
- * reportSpam - Report messages as spam: block the sender (Address.flags.blocked) and move each message to the account's Junk folder. Skips the block (but still moves the message) when the sender is the account's own address. One call replaces composing the old separate `Block` and `Mark spam` actions — a single user intent, a single failure story. The sender block is written first and does not wait on the move; a failed move never rolls it back. Idempotent under a repeated call.
10561
+ * MessageBulkOperations_reportSpam - Report messages as spam: block the sender (Address.flags.blocked) and move each message to the account's Junk folder. Skips the block (but still moves the message) when the sender is the account's own address. One call replaces composing the old separate `Block` and `Mark spam` actions — a single user intent, a single failure story. The sender block is written first and does not wait on the move; a failed move never rolls it back. Idempotent under a repeated call.
10405
10562
  */
10406
10563
  'post'(
10407
10564
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10411,7 +10568,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10411
10568
  };
10412
10569
  ['/messages/not-spam']: {
10413
10570
  /**
10414
- * notSpam - Undo a spam report: clear the sender's `blocked` flag (never promotes to trusted/wellknown) and move each message back to `Message.originalMailboxId`. A message in Junk with no `spamReport` and no `originalMailboxId` is Remit's own Junk verdict: it moves to the Inbox and the sender gets `neverSpam`. A message whose move is still in flight waits for it to settle, then fails with "has not settled yet". Idempotent under a repeated call. Each message is processed independently and concurrently, so the request's total wait is bounded by one message's settle timeout rather than accumulating across the batch.
10571
+ * MessageBulkOperations_notSpam - Undo a spam report: clear the sender's `blocked` flag (never promotes to trusted/wellknown) and move each message back to `Message.originalMailboxId`. A message in Junk with no `spamReport` and no `originalMailboxId` is Remit's own Junk verdict: it moves to the Inbox and the sender gets `neverSpam`. A message whose move is still in flight waits for it to settle, then fails with "has not settled yet". Idempotent under a repeated call. Each message is processed independently and concurrently, so the request's total wait is bounded by one message's settle timeout rather than accumulating across the batch.
10415
10572
  */
10416
10573
  'post'(
10417
10574
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -10421,7 +10578,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10421
10578
  };
10422
10579
  ['/calendar-suggestions']: {
10423
10580
  /**
10424
- * listCalendarSuggestions - List the caller's suggestions in one state, newest first. `Pending` is the set that is waiting on a person and the one a client normally asks for.
10581
+ * CalendarSuggestionOperations_listCalendarSuggestions - List the caller's suggestions in one state, newest first. `Pending` is the set that is waiting on a person and the one a client normally asks for.
10425
10582
  */
10426
10583
  'get'(
10427
10584
  parameters?: Parameters<Paths.ListCalendarSuggestions.QueryParameters> | null,
@@ -10431,7 +10588,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10431
10588
  };
10432
10589
  ['/messages/{messageId}/calendar-suggestions']: {
10433
10590
  /**
10434
- * listMessageCalendarSuggestions - Every suggestion read out of one message, in whatever state each has reached — a superseded revision included, so the card can say which revision replaced it.
10591
+ * MessageCalendarSuggestionOperations_listMessageCalendarSuggestions - Every suggestion read out of one message, in whatever state each has reached — a superseded revision included, so the card can say which revision replaced it.
10435
10592
  */
10436
10593
  'get'(
10437
10594
  parameters?: Parameters<Paths.ListMessageCalendarSuggestions.PathParameters> | null,
@@ -10441,7 +10598,7 @@ Counting: `count=true` answers how many CONVERSATIONS match, over the whole scop
10441
10598
  };
10442
10599
  ['/calendar-suggestions/{suggestionId}/accept']: {
10443
10600
  /**
10444
- * acceptCalendarSuggestion - Add the suggested event to a calendar. One transaction: a VCALENDAR is
10601
+ * CalendarSuggestionActionOperations_acceptCalendarSuggestion - Add the suggested event to a calendar. One transaction: a VCALENDAR is
10445
10602
  built from the invitation's own bytes, keeping its UID and SEQUENCE and
10446
10603
  marking the user `ATTENDEE;PARTSTAT=ACCEPTED`, and written through the
10447
10604
  same service function every other calendar write goes through — so a web
@@ -10470,7 +10627,7 @@ is answered `Tentative`, or when its iCalendar will not parse.
10470
10627
  };
10471
10628
  ['/calendar-suggestions/{suggestionId}/decline']: {
10472
10629
  /**
10473
- * declineCalendarSuggestion - Say no. Writes no calendar object and sends no reply to the organizer. Idempotent; 400 when the suggestion was already accepted, since a resource exists and declining would not remove it.
10630
+ * CalendarSuggestionActionOperations_declineCalendarSuggestion - Say no. Writes no calendar object and sends no reply to the organizer. Idempotent; 400 when the suggestion was already accepted, since a resource exists and declining would not remove it.
10474
10631
  */
10475
10632
  'post'(
10476
10633
  parameters?: Parameters<Paths.DeclineCalendarSuggestion.PathParameters> | null,
@@ -10480,7 +10637,7 @@ is answered `Tentative`, or when its iCalendar will not parse.
10480
10637
  };
10481
10638
  ['/calendar-suggestions/{suggestionId}/dismiss']: {
10482
10639
  /**
10483
- * dismissCalendarSuggestion - Wave the card away. Writes no calendar object. With `muteSender`, also writes a standing `Filter` rule on the message's sender so their invitations stop being offered. Idempotent; 400 when the suggestion was already accepted.
10640
+ * CalendarSuggestionActionOperations_dismissCalendarSuggestion - Wave the card away. Writes no calendar object. With `muteSender`, also writes a standing `Filter` rule on the message's sender so their invitations stop being offered. Idempotent; 400 when the suggestion was already accepted.
10484
10641
  */
10485
10642
  'post'(
10486
10643
  parameters?: Parameters<Paths.DismissCalendarSuggestion.PathParameters> | null,
@@ -10490,7 +10647,7 @@ is answered `Tentative`, or when its iCalendar will not parse.
10490
10647
  };
10491
10648
  ['/calendar-suggestions/{suggestionId}/reopen']: {
10492
10649
  /**
10493
- * reopenCalendarSuggestion - Take an answer back. An accepted, tentative, declined or dismissed
10650
+ * CalendarSuggestionActionOperations_reopenCalendarSuggestion - Take an answer back. An accepted, tentative, declined or dismissed
10494
10651
  suggestion returns to `Pending`, so the card asks again. One
10495
10652
  transaction: the suggestion is settled `Pending` with
10496
10653
  `acceptedCalendarObjectId: ""`, and the calendar object an accept or a
@@ -10515,6 +10672,801 @@ a `Cancel`, whose answer rewrote an event it cannot restore, or its
10515
10672
  };
10516
10673
  }
10517
10674
 
10675
+ export interface Operations {
10676
+ 'MeOperations_deleteMe': {
10677
+ params: {};
10678
+ query: {};
10679
+ headers: {};
10680
+ cookies: {};
10681
+ requestBody: Components.Schemas.DeleteMeInput;
10682
+ responses: { 202: Components.Schemas.DeleteAccountConfigResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
10683
+ };
10684
+ 'MeOperations_listVipSuggestions': {
10685
+ params: {};
10686
+ query: {};
10687
+ headers: {};
10688
+ cookies: {};
10689
+ requestBody: undefined;
10690
+ responses: { 200: Components.Schemas.VipSuggestionsResponse; 401: Components.Schemas.ApiError };
10691
+ };
10692
+ 'MeOperations_createExport': {
10693
+ params: {};
10694
+ query: {};
10695
+ headers: {};
10696
+ cookies: {};
10697
+ requestBody: undefined;
10698
+ responses: { 202: Components.Schemas.CreateExportResponse; 401: Components.Schemas.ApiError };
10699
+ };
10700
+ 'MeOperations_getExport': {
10701
+ params: { exportId: string };
10702
+ query: {};
10703
+ headers: {};
10704
+ cookies: {};
10705
+ requestBody: undefined;
10706
+ responses: { 200: Components.Schemas.AccountExportRequestResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10707
+ };
10708
+ 'MeOperations_listQuarantine': {
10709
+ params: {};
10710
+ query: {};
10711
+ headers: {};
10712
+ cookies: {};
10713
+ requestBody: undefined;
10714
+ responses: { 200: Components.Schemas.QuarantineListResponse; 401: Components.Schemas.ApiError };
10715
+ };
10716
+ 'ConfigOperations_getConfig': {
10717
+ params: {};
10718
+ query: {};
10719
+ headers: {};
10720
+ cookies: {};
10721
+ requestBody: undefined;
10722
+ responses: { 200: Components.Schemas.ConfigDescriptionResponse; 401: Components.Schemas.ApiError };
10723
+ };
10724
+ 'ConfigOperations_exportConfig': {
10725
+ params: {};
10726
+ query: {};
10727
+ headers: {};
10728
+ cookies: {};
10729
+ requestBody: undefined;
10730
+ responses: { 200: Components.Schemas.ConfigExportResponse; 401: Components.Schemas.ApiError };
10731
+ };
10732
+ 'ConfigOperations_importConfig': {
10733
+ params: {};
10734
+ query: {};
10735
+ headers: {};
10736
+ cookies: {};
10737
+ requestBody: Components.Schemas.ImportConfigInput;
10738
+ responses: { 200: Components.Schemas.ConfigImportReport; 400: Components.Schemas.ValidationError; 409: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10739
+ };
10740
+ 'SystemOperations_getSystemUpdate': {
10741
+ params: {};
10742
+ query: { refresh?: boolean };
10743
+ headers: {};
10744
+ cookies: {};
10745
+ requestBody: undefined;
10746
+ responses: { 200: Components.Schemas.SystemUpdateResponse; 401: Components.Schemas.ApiError; 404: Components.Schemas.ApiError };
10747
+ };
10748
+ 'SystemOperations_applySystemUpdate': {
10749
+ params: {};
10750
+ query: {};
10751
+ headers: {};
10752
+ cookies: {};
10753
+ requestBody: Components.Schemas.ApplyUpdateInput;
10754
+ responses: { 200: Components.Schemas.SystemUpdateResponse; 401: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 409: Components.Schemas.ApiError; 422: Components.Schemas.ApiError };
10755
+ };
10756
+ 'PeopleOperations_listPeople': {
10757
+ params: {};
10758
+ query: {};
10759
+ headers: {};
10760
+ cookies: {};
10761
+ requestBody: undefined;
10762
+ responses: { 200: Components.Schemas.PeopleListResponse; 401: Components.Schemas.ApiError; 403: Components.Schemas.PeopleForbiddenError; 404: Components.Schemas.ApiError };
10763
+ };
10764
+ 'PeopleOperations_createStepUp': {
10765
+ params: {};
10766
+ query: {};
10767
+ headers: {};
10768
+ cookies: {};
10769
+ requestBody: Components.Schemas.StepUpInput;
10770
+ responses: { 200: Components.Schemas.StepUpResponse; 401: Components.Schemas.ApiError; 403: Components.Schemas.PeopleForbiddenError; 404: Components.Schemas.ApiError; 429: Components.Schemas.StepUpLockedError };
10771
+ };
10772
+ 'PeopleOperations_signOutPerson': {
10773
+ params: { userId: string };
10774
+ query: {};
10775
+ headers: {};
10776
+ cookies: {};
10777
+ requestBody: Components.Schemas.SignOutPersonInput;
10778
+ responses: { 200: Components.Schemas.Person; 401: Components.Schemas.ApiError; 403: Components.Schemas.PeopleForbiddenError; 404: Components.Schemas.ApiError };
10779
+ };
10780
+ 'PeopleOperations_updatePerson': {
10781
+ params: { userId: string };
10782
+ query: {};
10783
+ headers: {};
10784
+ cookies: {};
10785
+ requestBody: Components.Schemas.UpdatePersonInput;
10786
+ responses: { 200: Components.Schemas.Person; 401: Components.Schemas.ApiError; 403: Components.Schemas.PeopleForbiddenError; 404: Components.Schemas.ApiError; 409: Components.Schemas.CannotDisableSelfError };
10787
+ };
10788
+ 'PeopleOperations_createPasswordReset': {
10789
+ params: { userId: string };
10790
+ query: {};
10791
+ headers: {};
10792
+ cookies: {};
10793
+ requestBody: Components.Schemas.CreatePasswordResetInput;
10794
+ responses: { 200: Components.Schemas.PasswordResetResponse; 401: Components.Schemas.ApiError; 403: Components.Schemas.PeopleForbiddenError; 404: Components.Schemas.ApiError };
10795
+ };
10796
+ 'MailboxOperations_listMailboxes': {
10797
+ params: { accountId: Components.Schemas.UUID };
10798
+ query: { continuationToken?: string };
10799
+ headers: {};
10800
+ cookies: {};
10801
+ requestBody: undefined;
10802
+ responses: { 200: Components.Schemas.MailboxListResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10803
+ };
10804
+ 'MailboxOperations_createMailbox': {
10805
+ params: { accountId: Components.Schemas.UUID };
10806
+ query: {};
10807
+ headers: {};
10808
+ cookies: {};
10809
+ requestBody: Components.Schemas.CreateMailboxInput;
10810
+ responses: { 200: Components.Schemas.MailboxResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10811
+ };
10812
+ 'MailboxDetailOperations_getMailbox': {
10813
+ params: { accountId: Components.Schemas.UUID; mailboxId: Components.Schemas.UUID };
10814
+ query: {};
10815
+ headers: {};
10816
+ cookies: {};
10817
+ requestBody: undefined;
10818
+ responses: { 200: Components.Schemas.MailboxResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10819
+ };
10820
+ 'MailboxDetailOperations_renameMailbox': {
10821
+ params: { accountId: Components.Schemas.UUID; mailboxId: Components.Schemas.UUID };
10822
+ query: {};
10823
+ headers: {};
10824
+ cookies: {};
10825
+ requestBody: Components.Schemas.RenameMailboxInput;
10826
+ responses: { 200: Components.Schemas.MailboxResponse; 400: Components.Schemas.ValidationError; 409: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10827
+ };
10828
+ 'MailboxDetailOperations_deleteMailbox': {
10829
+ params: { accountId: Components.Schemas.UUID; mailboxId: Components.Schemas.UUID };
10830
+ query: {};
10831
+ headers: {};
10832
+ cookies: {};
10833
+ requestBody: undefined;
10834
+ responses: { 204: undefined; 400: Components.Schemas.ValidationError; 409: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10835
+ };
10836
+ 'FolderRoleOperations_appointFolderRole': {
10837
+ params: { accountId: Components.Schemas.UUID; role: Components.Schemas.CanonicalMailboxRole };
10838
+ query: {};
10839
+ headers: {};
10840
+ cookies: {};
10841
+ requestBody: Components.Schemas.AppointFolderRoleInput;
10842
+ responses: { 200: Components.Schemas.AccountResponse; 409: Components.Schemas.ApiError; 422: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10843
+ };
10844
+ 'FilterOperations_listFilters': {
10845
+ params: { accountId: Components.Schemas.UUID };
10846
+ query: { continuationToken?: string };
10847
+ headers: {};
10848
+ cookies: {};
10849
+ requestBody: undefined;
10850
+ responses: { 200: { continuationToken?: Components.Schemas.String800; items: Components.Schemas.FilterResponse[] }; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10851
+ };
10852
+ 'FilterOperations_createFilter': {
10853
+ params: { accountId: Components.Schemas.UUID };
10854
+ query: {};
10855
+ headers: {};
10856
+ cookies: {};
10857
+ requestBody: Components.Schemas.CreateFilterInput;
10858
+ responses: { 200: Components.Schemas.CreateFilterResponse; 400: Components.Schemas.ValidationError; 422: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10859
+ };
10860
+ 'FilterDetailOperations_getFilter': {
10861
+ params: { accountId: Components.Schemas.UUID; filterId: Components.Schemas.UUID };
10862
+ query: {};
10863
+ headers: {};
10864
+ cookies: {};
10865
+ requestBody: undefined;
10866
+ responses: { 200: Components.Schemas.FilterResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10867
+ };
10868
+ 'FilterDetailOperations_updateFilter': {
10869
+ params: { accountId: Components.Schemas.UUID; filterId: Components.Schemas.UUID };
10870
+ query: {};
10871
+ headers: {};
10872
+ cookies: {};
10873
+ requestBody: Components.Schemas.UpdateFilterInput;
10874
+ responses: { 200: Components.Schemas.FilterResponse; 422: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10875
+ };
10876
+ 'FilterDetailOperations_deleteFilter': {
10877
+ params: { accountId: Components.Schemas.UUID; filterId: Components.Schemas.UUID };
10878
+ query: {};
10879
+ headers: {};
10880
+ cookies: {};
10881
+ requestBody: undefined;
10882
+ responses: { 204: undefined; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10883
+ };
10884
+ 'LabelOperations_listLabels': {
10885
+ params: { accountId: Components.Schemas.UUID };
10886
+ query: { continuationToken?: string };
10887
+ headers: {};
10888
+ cookies: {};
10889
+ requestBody: undefined;
10890
+ responses: { 200: { continuationToken?: Components.Schemas.String800; items: Components.Schemas.LabelResponse[] }; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10891
+ };
10892
+ 'LabelOperations_createLabel': {
10893
+ params: { accountId: Components.Schemas.UUID };
10894
+ query: {};
10895
+ headers: {};
10896
+ cookies: {};
10897
+ requestBody: Components.Schemas.CreateLabelInput;
10898
+ responses: { 200: Components.Schemas.LabelResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10899
+ };
10900
+ 'LabelDetailOperations_getLabel': {
10901
+ params: { accountId: Components.Schemas.UUID; labelId: Components.Schemas.UUID };
10902
+ query: {};
10903
+ headers: {};
10904
+ cookies: {};
10905
+ requestBody: undefined;
10906
+ responses: { 200: Components.Schemas.LabelResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10907
+ };
10908
+ 'LabelDetailOperations_updateLabel': {
10909
+ params: { accountId: Components.Schemas.UUID; labelId: Components.Schemas.UUID };
10910
+ query: {};
10911
+ headers: {};
10912
+ cookies: {};
10913
+ requestBody: Components.Schemas.UpdateLabelInput;
10914
+ responses: { 200: Components.Schemas.LabelResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10915
+ };
10916
+ 'LabelDetailOperations_deleteLabel': {
10917
+ params: { accountId: Components.Schemas.UUID; labelId: Components.Schemas.UUID };
10918
+ query: {};
10919
+ headers: {};
10920
+ cookies: {};
10921
+ requestBody: undefined;
10922
+ responses: { 204: undefined; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10923
+ };
10924
+ 'OrganizeOperations_createOrganizeJob': {
10925
+ params: { accountId: Components.Schemas.UUID };
10926
+ query: {};
10927
+ headers: {};
10928
+ cookies: {};
10929
+ requestBody: Components.Schemas.OrganizeInput;
10930
+ responses: { 202: Components.Schemas.CreateOrganizeJobResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10931
+ };
10932
+ 'OrganizeOperations_previewOrganize': {
10933
+ params: { accountId: Components.Schemas.UUID };
10934
+ query: {};
10935
+ headers: {};
10936
+ cookies: {};
10937
+ requestBody: Components.Schemas.OrganizeInput;
10938
+ responses: { 200: Components.Schemas.OrganizePreviewResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10939
+ };
10940
+ 'OrganizeJobDetailOperations_getOrganizeJob': {
10941
+ params: { accountId: Components.Schemas.UUID; organizeJobId: Components.Schemas.UUID };
10942
+ query: {};
10943
+ headers: {};
10944
+ cookies: {};
10945
+ requestBody: undefined;
10946
+ responses: { 200: Components.Schemas.OrganizeJobResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10947
+ };
10948
+ 'CalendarOperations_listCalendars': {
10949
+ params: {};
10950
+ query: {};
10951
+ headers: {};
10952
+ cookies: {};
10953
+ requestBody: undefined;
10954
+ responses: { 200: Components.Schemas.CalendarListResponse; 401: Components.Schemas.ApiError };
10955
+ };
10956
+ 'CalendarOperations_createCalendar': {
10957
+ params: {};
10958
+ query: {};
10959
+ headers: {};
10960
+ cookies: {};
10961
+ requestBody: Components.Schemas.CreateCalendarInput;
10962
+ responses: { 200: Components.Schemas.CalendarResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
10963
+ };
10964
+ 'CalendarDetailOperations_getCalendar': {
10965
+ params: { calendarId: Components.Schemas.UUID };
10966
+ query: {};
10967
+ headers: {};
10968
+ cookies: {};
10969
+ requestBody: undefined;
10970
+ responses: { 200: Components.Schemas.CalendarResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10971
+ };
10972
+ 'CalendarDetailOperations_updateCalendar': {
10973
+ params: { calendarId: Components.Schemas.UUID };
10974
+ query: {};
10975
+ headers: {};
10976
+ cookies: {};
10977
+ requestBody: Components.Schemas.UpdateCalendarInput;
10978
+ responses: { 200: Components.Schemas.CalendarResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10979
+ };
10980
+ 'CalendarDetailOperations_deleteCalendar': {
10981
+ params: { calendarId: Components.Schemas.UUID };
10982
+ query: {};
10983
+ headers: {};
10984
+ cookies: {};
10985
+ requestBody: undefined;
10986
+ responses: { 204: undefined; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10987
+ };
10988
+ 'CalendarDetailOperations_getCalendarFeed': {
10989
+ params: { calendarId: Components.Schemas.UUID };
10990
+ query: {};
10991
+ headers: {};
10992
+ cookies: {};
10993
+ requestBody: undefined;
10994
+ responses: { 200: Components.Schemas.CalendarFeedStateResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
10995
+ };
10996
+ 'CalendarDetailOperations_putCalendarFeed': {
10997
+ params: { calendarId: Components.Schemas.UUID };
10998
+ query: {};
10999
+ headers: {};
11000
+ cookies: {};
11001
+ requestBody: undefined;
11002
+ responses: { 200: Components.Schemas.CalendarFeedResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11003
+ };
11004
+ 'CalendarDetailOperations_revokeCalendarFeed': {
11005
+ params: { calendarId: Components.Schemas.UUID };
11006
+ query: {};
11007
+ headers: {};
11008
+ cookies: {};
11009
+ requestBody: undefined;
11010
+ responses: { 204: undefined; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11011
+ };
11012
+ 'CalendarFeedOperations_getCalendarFeedIcal': {
11013
+ params: { feedToken: string };
11014
+ query: {};
11015
+ headers: { "if-none-match"?: string; "if-modified-since"?: string };
11016
+ cookies: {};
11017
+ requestBody: undefined;
11018
+ responses: { 200: string; 304: undefined; 404: string };
11019
+ };
11020
+ 'CalendarEventOperations_listCalendarEvents': {
11021
+ params: {};
11022
+ query: { from: string; to: string; calendarId?: Components.Schemas.UUID[]; calendarObjectId?: Components.Schemas.UUID };
11023
+ headers: {};
11024
+ cookies: {};
11025
+ requestBody: undefined;
11026
+ responses: { 200: Components.Schemas.CalendarEventListResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11027
+ };
11028
+ 'CalendarEventOperations_createCalendarEvent': {
11029
+ params: {};
11030
+ query: {};
11031
+ headers: {};
11032
+ cookies: {};
11033
+ requestBody: Components.Schemas.CreateCalendarEventInput;
11034
+ responses: { 200: Components.Schemas.CalendarEventResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11035
+ };
11036
+ 'CalendarEventDetailOperations_getCalendarEvent': {
11037
+ params: { calendarObjectId: Components.Schemas.UUID };
11038
+ query: { calendarId?: Components.Schemas.UUID };
11039
+ headers: {};
11040
+ cookies: {};
11041
+ requestBody: undefined;
11042
+ responses: { 200: Components.Schemas.CalendarEventResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11043
+ };
11044
+ 'CalendarEventDetailOperations_updateCalendarEvent': {
11045
+ params: { calendarObjectId: Components.Schemas.UUID };
11046
+ query: { calendarId: Components.Schemas.UUID; scope?: Components.Schemas.RecurrenceScope; recurrenceId?: string };
11047
+ headers: { "if-match"?: string };
11048
+ cookies: {};
11049
+ requestBody: Components.Schemas.UpdateCalendarEventInput;
11050
+ responses: { 200: Components.Schemas.CalendarEventResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 412: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11051
+ };
11052
+ 'CalendarEventDetailOperations_deleteCalendarEvent': {
11053
+ params: { calendarObjectId: Components.Schemas.UUID };
11054
+ query: { calendarId: Components.Schemas.UUID; scope?: Components.Schemas.RecurrenceScope; recurrenceId?: string };
11055
+ headers: { "if-match"?: string };
11056
+ cookies: {};
11057
+ requestBody: undefined;
11058
+ responses: { 200: Components.Schemas.CalendarEventDeleteResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 412: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11059
+ };
11060
+ 'CalendarFreeBusyOperations_listCalendarFreeBusy': {
11061
+ params: {};
11062
+ query: { from: string; to: string };
11063
+ headers: {};
11064
+ cookies: {};
11065
+ requestBody: undefined;
11066
+ responses: { 200: Components.Schemas.CalendarFreeBusyResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11067
+ };
11068
+ 'UserSettingsOperations_getUserSettings': {
11069
+ params: {};
11070
+ query: {};
11071
+ headers: {};
11072
+ cookies: {};
11073
+ requestBody: undefined;
11074
+ responses: { 200: Components.Schemas.UserSettingsResponse; 401: Components.Schemas.ApiError };
11075
+ };
11076
+ 'UserSettingsOperations_updateUserSettings': {
11077
+ params: {};
11078
+ query: {};
11079
+ headers: {};
11080
+ cookies: {};
11081
+ requestBody: Components.Schemas.UpdateUserSettingsInput;
11082
+ responses: { 200: Components.Schemas.UserSettingsResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11083
+ };
11084
+ 'UserSettingsOperations_clearDefaultInvitationSender': {
11085
+ params: {};
11086
+ query: {};
11087
+ headers: {};
11088
+ cookies: {};
11089
+ requestBody: undefined;
11090
+ responses: { 200: Components.Schemas.UserSettingsResponse; 401: Components.Schemas.ApiError };
11091
+ };
11092
+ 'UserSettingsOperations_clearClassificationProvider': {
11093
+ params: {};
11094
+ query: {};
11095
+ headers: {};
11096
+ cookies: {};
11097
+ requestBody: undefined;
11098
+ responses: { 200: Components.Schemas.UserSettingsResponse; 401: Components.Schemas.ApiError };
11099
+ };
11100
+ 'UserSettingsOperations_testClassificationProvider': {
11101
+ params: {};
11102
+ query: {};
11103
+ headers: {};
11104
+ cookies: {};
11105
+ requestBody: Components.Schemas.ClassificationTestInput;
11106
+ responses: { 200: Components.Schemas.ClassificationTestPassed | Components.Schemas.ClassificationTestFailed; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11107
+ };
11108
+ 'ClassificationStatsOperations_getClassificationStats': {
11109
+ params: {};
11110
+ query: { since: string };
11111
+ headers: {};
11112
+ cookies: {};
11113
+ requestBody: undefined;
11114
+ responses: { 200: Components.Schemas.ClassifierStats; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11115
+ };
11116
+ 'CalendarTaskOperations_listCalendarTasks': {
11117
+ params: {};
11118
+ query: { from: string; to: string; calendarId?: Components.Schemas.UUID[] };
11119
+ headers: {};
11120
+ cookies: {};
11121
+ requestBody: undefined;
11122
+ responses: { 200: Components.Schemas.CalendarTaskListResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11123
+ };
11124
+ 'CalendarTaskOperations_createCalendarTask': {
11125
+ params: {};
11126
+ query: {};
11127
+ headers: {};
11128
+ cookies: {};
11129
+ requestBody: Components.Schemas.CreateCalendarTaskInput;
11130
+ responses: { 200: Components.Schemas.CalendarTaskResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11131
+ };
11132
+ 'CalendarTaskDetailOperations_getCalendarTask': {
11133
+ params: { calendarTaskId: Components.Schemas.UUID };
11134
+ query: { calendarId?: Components.Schemas.UUID };
11135
+ headers: {};
11136
+ cookies: {};
11137
+ requestBody: undefined;
11138
+ responses: { 200: Components.Schemas.CalendarTaskResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11139
+ };
11140
+ 'CalendarTaskDetailOperations_updateCalendarTask': {
11141
+ params: { calendarTaskId: Components.Schemas.UUID };
11142
+ query: { calendarId: Components.Schemas.UUID };
11143
+ headers: { "if-match"?: string };
11144
+ cookies: {};
11145
+ requestBody: Components.Schemas.UpdateCalendarTaskInput;
11146
+ responses: { 200: Components.Schemas.CalendarTaskResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 412: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11147
+ };
11148
+ 'CalendarTaskDetailOperations_deleteCalendarTask': {
11149
+ params: { calendarTaskId: Components.Schemas.UUID };
11150
+ query: { calendarId: Components.Schemas.UUID };
11151
+ headers: { "if-match"?: string };
11152
+ cookies: {};
11153
+ requestBody: undefined;
11154
+ responses: { 204: undefined; 404: Components.Schemas.ApiError; 412: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11155
+ };
11156
+ 'TrashOperations_emptyTrash': {
11157
+ params: { accountId: Components.Schemas.UUID };
11158
+ query: {};
11159
+ headers: {};
11160
+ cookies: {};
11161
+ requestBody: undefined;
11162
+ responses: { 200: Components.Schemas.EmptyTrashResponse; 409: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11163
+ };
11164
+ 'SyncOperations_triggerSync': {
11165
+ params: { accountId: Components.Schemas.UUID };
11166
+ query: {};
11167
+ headers: {};
11168
+ cookies: {};
11169
+ requestBody: undefined;
11170
+ responses: { 200: Components.Schemas.SyncTriggerResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11171
+ };
11172
+ 'SyncOperations_getSyncStatus': {
11173
+ params: { accountId: Components.Schemas.UUID };
11174
+ query: {};
11175
+ headers: {};
11176
+ cookies: {};
11177
+ requestBody: undefined;
11178
+ responses: { 200: Components.Schemas.AccountSyncStatusResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11179
+ };
11180
+ 'AccountOperations_createAccount': {
11181
+ params: {};
11182
+ query: {};
11183
+ headers: {};
11184
+ cookies: {};
11185
+ requestBody: Components.Schemas.CreateAccountInput;
11186
+ responses: { 200: Components.Schemas.AccountResponse; 400: Components.Schemas.ValidationError; 409: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11187
+ };
11188
+ 'AccountOperations_testConnection': {
11189
+ params: {};
11190
+ query: {};
11191
+ headers: {};
11192
+ cookies: {};
11193
+ requestBody: Components.Schemas.TestConnectionInput;
11194
+ responses: { 200: Components.Schemas.TestConnectionResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11195
+ };
11196
+ 'MicrosoftOAuthOperations_microsoftOAuthStart': {
11197
+ params: {};
11198
+ query: {};
11199
+ headers: {};
11200
+ cookies: {};
11201
+ requestBody: Components.Schemas.MicrosoftOAuthStartRequest;
11202
+ responses: { 200: Components.Schemas.MicrosoftOAuthStartResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11203
+ };
11204
+ 'MicrosoftOAuthOperations_microsoftOAuthCallback': {
11205
+ params: {};
11206
+ query: { code?: string; state?: string; error?: string };
11207
+ headers: {};
11208
+ cookies: {};
11209
+ requestBody: undefined;
11210
+ responses: { 302: undefined };
11211
+ };
11212
+ 'AccountDetailOperations_updateAccount': {
11213
+ params: { accountId: Components.Schemas.UUID };
11214
+ query: {};
11215
+ headers: {};
11216
+ cookies: {};
11217
+ requestBody: Components.Schemas.UpdateAccountInput;
11218
+ responses: { 200: Components.Schemas.AccountResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11219
+ };
11220
+ 'AccountDetailOperations_deleteAccount': {
11221
+ params: { accountId: Components.Schemas.UUID };
11222
+ query: {};
11223
+ headers: {};
11224
+ cookies: {};
11225
+ requestBody: undefined;
11226
+ responses: { 200: Components.Schemas.DeleteAccountResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11227
+ };
11228
+ 'ThreadDetailOperations_listThreadMessages': {
11229
+ params: { threadId: Components.Schemas.UUID };
11230
+ query: { order?: Components.Schemas.SortOrder };
11231
+ headers: {};
11232
+ cookies: {};
11233
+ requestBody: undefined;
11234
+ responses: { 200: Components.Schemas.ThreadMessageListResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11235
+ };
11236
+ 'UnifiedThreadOperations_listAllThreads': {
11237
+ params: {};
11238
+ query: { continuationToken?: string; order?: Components.Schemas.SortOrder; limit?: number; starred?: boolean; query?: string; from?: string; subject?: string; accountId?: Components.Schemas.UUID; mailboxId?: Components.Schemas.UUID; muted?: boolean; category?: Components.Schemas.MessageCategory[]; unread?: boolean; attachments?: boolean; count?: boolean; results?: boolean };
11239
+ headers: {};
11240
+ cookies: {};
11241
+ requestBody: undefined;
11242
+ responses: { 200: Components.Schemas.ThreadSearchResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11243
+ };
11244
+ 'ThreadOperations_listThreads': {
11245
+ params: { mailboxId: Components.Schemas.UUID };
11246
+ query: { continuationToken?: string; order?: Components.Schemas.SortOrder };
11247
+ headers: {};
11248
+ cookies: {};
11249
+ requestBody: undefined;
11250
+ responses: { 200: Components.Schemas.ThreadMessageListResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11251
+ };
11252
+ 'ThreadOperations_searchThreads': {
11253
+ params: { mailboxId: Components.Schemas.UUID };
11254
+ query: { continuationToken?: string; order?: Components.Schemas.SortOrder; query?: string; subject?: string; from?: string; unread?: boolean; starred?: boolean; attachments?: boolean; senderTrust?: Components.Schemas.SenderTrust[]; category?: Components.Schemas.MessageCategory[]; dkimMismatch?: boolean; count?: boolean; results?: boolean; limit?: number };
11255
+ headers: {};
11256
+ cookies: {};
11257
+ requestBody: undefined;
11258
+ responses: { 200: Components.Schemas.ThreadSearchResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11259
+ };
11260
+ 'OutboxOperations_createOutboxMessage': {
11261
+ params: {};
11262
+ query: {};
11263
+ headers: {};
11264
+ cookies: {};
11265
+ requestBody: Components.Schemas.CreateOutboxMessageInput;
11266
+ responses: { 200: Components.Schemas.OutboxMessageResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11267
+ };
11268
+ 'OutboxOperations_listOutboxMessages': {
11269
+ params: {};
11270
+ query: { continuationToken?: string };
11271
+ headers: {};
11272
+ cookies: {};
11273
+ requestBody: undefined;
11274
+ responses: { 200: Components.Schemas.OutboxMessageListResponse; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11275
+ };
11276
+ 'OutboxDetailOperations_getOutboxMessage': {
11277
+ params: { outboxMessageId: Components.Schemas.UUID };
11278
+ query: {};
11279
+ headers: {};
11280
+ cookies: {};
11281
+ requestBody: undefined;
11282
+ responses: { 200: Components.Schemas.OutboxMessageResponse; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11283
+ };
11284
+ 'OutboxDetailOperations_updateOutboxMessage': {
11285
+ params: { outboxMessageId: Components.Schemas.UUID };
11286
+ query: {};
11287
+ headers: {};
11288
+ cookies: {};
11289
+ requestBody: Components.Schemas.UpdateOutboxMessageInput;
11290
+ responses: { 200: Components.Schemas.OutboxMessageResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11291
+ };
11292
+ 'OutboxDetailOperations_deleteOutboxMessage': {
11293
+ params: { outboxMessageId: Components.Schemas.UUID };
11294
+ query: {};
11295
+ headers: {};
11296
+ cookies: {};
11297
+ requestBody: undefined;
11298
+ responses: { 204: undefined; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11299
+ };
11300
+ 'OutboxDetailOperations_sendOutboxMessage': {
11301
+ params: { outboxMessageId: Components.Schemas.UUID };
11302
+ query: {};
11303
+ headers: {};
11304
+ cookies: {};
11305
+ requestBody: undefined;
11306
+ responses: { 200: Components.Schemas.OutboxMessageResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11307
+ };
11308
+ 'OutboxDetailOperations_mintOutboxAttachment': {
11309
+ params: { outboxMessageId: Components.Schemas.UUID };
11310
+ query: {};
11311
+ headers: {};
11312
+ cookies: {};
11313
+ requestBody: Components.Schemas.MintOutboxAttachmentInput;
11314
+ responses: { 200: Components.Schemas.MintOutboxAttachmentResponse; 400: Components.Schemas.OutboxAttachmentRejection; 413: Components.Schemas.OutboxAttachmentRejection; 401: Components.Schemas.ApiError };
11315
+ };
11316
+ 'OutboxAttachmentOperations_completeOutboxAttachment': {
11317
+ params: { outboxMessageId: Components.Schemas.UUID; outboxAttachmentId: Components.Schemas.UUID };
11318
+ query: {};
11319
+ headers: {};
11320
+ cookies: {};
11321
+ requestBody: undefined;
11322
+ responses: { 200: Components.Schemas.OutboxAttachmentResponse; 400: Components.Schemas.OutboxAttachmentRejection; 413: Components.Schemas.OutboxAttachmentRejection; 401: Components.Schemas.ApiError };
11323
+ };
11324
+ 'AddressOperations_searchAddresses': {
11325
+ params: {};
11326
+ query: { q: string; limit?: number };
11327
+ headers: {};
11328
+ cookies: {};
11329
+ requestBody: undefined;
11330
+ responses: { 200: { continuationToken?: Components.Schemas.String800; items: Components.Schemas.AddressResponse[] }; 401: Components.Schemas.ApiError };
11331
+ };
11332
+ 'AddressDetailOperations_updateAddress': {
11333
+ params: { addressId: Components.Schemas.UUID };
11334
+ query: {};
11335
+ headers: {};
11336
+ cookies: {};
11337
+ requestBody: Components.Schemas.UpdateAddressInput;
11338
+ responses: { 200: Components.Schemas.AddressResponse; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11339
+ };
11340
+ 'MessageOperations_describeMessage': {
11341
+ params: { messageId: Components.Schemas.UUID };
11342
+ query: {};
11343
+ headers: {};
11344
+ cookies: {};
11345
+ requestBody: undefined;
11346
+ responses: { 200: Components.Schemas.DescribeMessageResponse; 404: Components.Schemas.ApiError; 409: Components.Schemas.ApiError; 422: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11347
+ };
11348
+ 'MessageOperations_getRawMessage': {
11349
+ params: { messageId: Components.Schemas.UUID };
11350
+ query: {};
11351
+ headers: {};
11352
+ cookies: {};
11353
+ requestBody: undefined;
11354
+ responses: { 200: Components.Schemas.RawMessageResponse; 404: Components.Schemas.ApiError; 409: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11355
+ };
11356
+ 'MessageOperations_updateMessageFlags': {
11357
+ params: { messageId: Components.Schemas.UUID };
11358
+ query: {};
11359
+ headers: {};
11360
+ cookies: {};
11361
+ requestBody: Components.Schemas.UpdateFlagsInput;
11362
+ responses: { 200: { messageId: Components.Schemas.UUID; isRead: boolean; isStarred: boolean }; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11363
+ };
11364
+ 'MessageBulkOperations_updateFlags': {
11365
+ params: {};
11366
+ query: {};
11367
+ headers: {};
11368
+ cookies: {};
11369
+ requestBody: Components.Schemas.BulkUpdateFlagsInput;
11370
+ responses: { 200: Components.Schemas.MessageBulkOperationResult; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11371
+ };
11372
+ 'MessageBulkOperations_deleteMessages': {
11373
+ params: {};
11374
+ query: {};
11375
+ headers: {};
11376
+ cookies: {};
11377
+ requestBody: Components.Schemas.DeleteMessagesInput;
11378
+ responses: { 200: Components.Schemas.MessageBulkOperationResult; 409: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11379
+ };
11380
+ 'MessageBulkOperations_moveMessages': {
11381
+ params: {};
11382
+ query: {};
11383
+ headers: {};
11384
+ cookies: {};
11385
+ requestBody: Components.Schemas.MoveMessagesInput;
11386
+ responses: { 200: Components.Schemas.MessageBulkOperationResult; 409: Components.Schemas.ApiError; 422: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11387
+ };
11388
+ 'MessageBulkOperations_copyMessages': {
11389
+ params: {};
11390
+ query: {};
11391
+ headers: {};
11392
+ cookies: {};
11393
+ requestBody: Components.Schemas.CopyMessagesInput;
11394
+ responses: { 200: Components.Schemas.MessageBulkOperationResult; 409: Components.Schemas.ApiError; 422: Components.Schemas.ApiError; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11395
+ };
11396
+ 'MessageBulkOperations_updateMessageLabels': {
11397
+ params: {};
11398
+ query: {};
11399
+ headers: {};
11400
+ cookies: {};
11401
+ requestBody: Components.Schemas.UpdateMessageLabelsInput;
11402
+ responses: { 200: Components.Schemas.MessageBulkOperationResult; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11403
+ };
11404
+ 'MessageBulkOperations_reportSpam': {
11405
+ params: {};
11406
+ query: {};
11407
+ headers: {};
11408
+ cookies: {};
11409
+ requestBody: Components.Schemas.BulkMessageInput;
11410
+ responses: { 200: Components.Schemas.SpamReportBulkResult; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11411
+ };
11412
+ 'MessageBulkOperations_notSpam': {
11413
+ params: {};
11414
+ query: {};
11415
+ headers: {};
11416
+ cookies: {};
11417
+ requestBody: Components.Schemas.BulkMessageInput;
11418
+ responses: { 200: Components.Schemas.SpamReportBulkResult; 404: Components.Schemas.ApiError; 403: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11419
+ };
11420
+ 'CalendarSuggestionOperations_listCalendarSuggestions': {
11421
+ params: {};
11422
+ query: { state: Components.Schemas.CalendarSuggestionState; continuationToken?: string };
11423
+ headers: {};
11424
+ cookies: {};
11425
+ requestBody: undefined;
11426
+ responses: { 200: { continuationToken?: Components.Schemas.String800; items: Components.Schemas.CalendarSuggestionResponse[] }; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11427
+ };
11428
+ 'MessageCalendarSuggestionOperations_listMessageCalendarSuggestions': {
11429
+ params: { messageId: Components.Schemas.UUID };
11430
+ query: {};
11431
+ headers: {};
11432
+ cookies: {};
11433
+ requestBody: undefined;
11434
+ responses: { 200: { continuationToken?: Components.Schemas.String800; items: Components.Schemas.CalendarSuggestionResponse[] }; 400: Components.Schemas.ValidationError; 401: Components.Schemas.ApiError };
11435
+ };
11436
+ 'CalendarSuggestionActionOperations_acceptCalendarSuggestion': {
11437
+ params: { suggestionId: Components.Schemas.UUID };
11438
+ query: {};
11439
+ headers: {};
11440
+ cookies: {};
11441
+ requestBody: Components.Schemas.AcceptCalendarSuggestionInput;
11442
+ responses: { 200: Components.Schemas.CalendarSuggestionResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11443
+ };
11444
+ 'CalendarSuggestionActionOperations_declineCalendarSuggestion': {
11445
+ params: { suggestionId: Components.Schemas.UUID };
11446
+ query: {};
11447
+ headers: {};
11448
+ cookies: {};
11449
+ requestBody: undefined;
11450
+ responses: { 200: Components.Schemas.CalendarSuggestionResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11451
+ };
11452
+ 'CalendarSuggestionActionOperations_dismissCalendarSuggestion': {
11453
+ params: { suggestionId: Components.Schemas.UUID };
11454
+ query: {};
11455
+ headers: {};
11456
+ cookies: {};
11457
+ requestBody: Components.Schemas.DismissCalendarSuggestionInput;
11458
+ responses: { 200: Components.Schemas.CalendarSuggestionResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11459
+ };
11460
+ 'CalendarSuggestionActionOperations_reopenCalendarSuggestion': {
11461
+ params: { suggestionId: Components.Schemas.UUID };
11462
+ query: {};
11463
+ headers: {};
11464
+ cookies: {};
11465
+ requestBody: undefined;
11466
+ responses: { 200: Components.Schemas.CalendarSuggestionResponse; 400: Components.Schemas.ValidationError; 404: Components.Schemas.ApiError; 401: Components.Schemas.ApiError };
11467
+ };
11468
+ }
11469
+
10518
11470
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>;
10519
11471
 
10520
11472
  export type CognitoAuthorizer = Components.Schemas.CognitoAuthorizer;
@@ -10526,7 +11478,6 @@ export type AccessPattern = Components.Schemas.AccessPattern;
10526
11478
  export type NotFoundError = Components.Schemas.NotFoundError;
10527
11479
  export type ConflictError = Components.Schemas.ConflictError;
10528
11480
  export type UnprocessableEntityError = Components.Schemas.UnprocessableEntityError;
10529
- export type ResultList = Components.Schemas.ResultList;
10530
11481
  export type ForbiddenError = Components.Schemas.ForbiddenError;
10531
11482
  export type NoContent = Components.Schemas.NoContent;
10532
11483
  export type FolderRoleConflict = Components.Schemas.FolderRoleConflict;
@@ -10647,6 +11598,10 @@ export type UpdateUserSettingsInput = Components.Schemas.UpdateUserSettingsInput
10647
11598
  export type ClassificationTestInput = Components.Schemas.ClassificationTestInput;
10648
11599
  export type ClassificationTestPassed = Components.Schemas.ClassificationTestPassed;
10649
11600
  export type ClassificationTestFailed = Components.Schemas.ClassificationTestFailed;
11601
+ export type ClassifierStats = Components.Schemas.ClassifierStats;
11602
+ export type ClassifierCategoryCount = Components.Schemas.ClassifierCategoryCount;
11603
+ export type ClassifierLabelCount = Components.Schemas.ClassifierLabelCount;
11604
+ export type ClassifierCorrections = Components.Schemas.ClassifierCorrections;
10650
11605
  export type CalendarTaskListResponse = Components.Schemas.CalendarTaskListResponse;
10651
11606
  export type CalendarTask = Components.Schemas.CalendarTask;
10652
11607
  export type CalendarTaskResponse = Components.Schemas.CalendarTaskResponse;
@@ -10700,6 +11655,7 @@ export type MessageRecord = Components.Schemas.MessageRecord;
10700
11655
  export type MessageAuthResult = Components.Schemas.MessageAuthResult;
10701
11656
  export type MessageProviderSpam = Components.Schemas.MessageProviderSpam;
10702
11657
  export type MessageFilterMove = Components.Schemas.MessageFilterMove;
11658
+ export type ClassifierScore = Components.Schemas.ClassifierScore;
10703
11659
  export type Message = Components.Schemas.Message;
10704
11660
  export type MessageSummaryResponse = Components.Schemas.MessageSummaryResponse;
10705
11661
  export type EnvelopeResponse = Components.Schemas.EnvelopeResponse;
@@ -10810,9 +11766,9 @@ export type ClassificationUnrunnableReason = Components.Schemas.ClassificationUn
10810
11766
  export type ClassificationLabel = Components.Schemas.ClassificationLabel;
10811
11767
  export type ClassificationFailureKind = Components.Schemas.ClassificationFailureKind;
10812
11768
  export type ClassificationField = Components.Schemas.ClassificationField;
11769
+ export type MessageCategory = Components.Schemas.MessageCategory;
10813
11770
  export type SortOrder = Components.Schemas.SortOrder;
10814
11771
  export type StarColor = Components.Schemas.StarColor;
10815
- export type MessageCategory = Components.Schemas.MessageCategory;
10816
11772
  export type SenderTrust = Components.Schemas.SenderTrust;
10817
11773
  export type DisplayNameCorrespondence = Components.Schemas.DisplayNameCorrespondence;
10818
11774
  export type MessageStatus = Components.Schemas.MessageStatus;