@vibexp/api-client 0.89.0 → 0.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/axios/index.d.ts +2 -2
- package/dist/axios/index.js +1 -1
- package/dist/axios/sdk.gen.d.ts +70 -2
- package/dist/axios/sdk.gen.js +141 -1
- package/dist/axios/types.gen.d.ts +389 -1
- package/dist/schema.d.ts +612 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1037,7 +1037,17 @@ export interface paths {
|
|
|
1037
1037
|
put?: never;
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Render a prompt
|
|
1040
|
-
* @description Renders a prompt by resolving
|
|
1040
|
+
* @description Renders a prompt by resolving references and substituting placeholders with provided values.
|
|
1041
|
+
*
|
|
1042
|
+
* A reference is written `@prompt:<slug>` and resolves to a prompt in the
|
|
1043
|
+
* prompt's own team; `@@` escapes a literal `@`. A bare `@slug` is the
|
|
1044
|
+
* deprecated legacy form: it expands only when it resolves to a prompt and is
|
|
1045
|
+
* otherwise left as plain text without a warning, so emails, handles and
|
|
1046
|
+
* `git@host` remotes are safe. References are resolved on the authored body
|
|
1047
|
+
* only; placeholder values are inserted verbatim.
|
|
1048
|
+
*
|
|
1049
|
+
* With `strict: true`, bare `@slug` is never resolved and an unresolved
|
|
1050
|
+
* `@prompt:<slug>` fails the render with 422.
|
|
1041
1051
|
*/
|
|
1042
1052
|
post: operations["renderPrompt"];
|
|
1043
1053
|
delete?: never;
|
|
@@ -3515,6 +3525,97 @@ export interface paths {
|
|
|
3515
3525
|
patch?: never;
|
|
3516
3526
|
trace?: never;
|
|
3517
3527
|
};
|
|
3528
|
+
"/api/v1/admin/settings/email": {
|
|
3529
|
+
parameters: {
|
|
3530
|
+
query?: never;
|
|
3531
|
+
header?: never;
|
|
3532
|
+
path?: never;
|
|
3533
|
+
cookie?: never;
|
|
3534
|
+
};
|
|
3535
|
+
/**
|
|
3536
|
+
* Get the instance email provider settings
|
|
3537
|
+
* @description Returns the instance's stored email provider configuration, its delivery
|
|
3538
|
+
* health and whether a credential is stored. Always 200: an instance with
|
|
3539
|
+
* nothing stored reports `configured: false`. The credential is never
|
|
3540
|
+
* returned.
|
|
3541
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3542
|
+
*/
|
|
3543
|
+
get: operations["getAdminInstanceEmailSettings"];
|
|
3544
|
+
/**
|
|
3545
|
+
* Create or replace the instance email provider settings
|
|
3546
|
+
* @description Validates, encrypts and stores the instance's email provider, taking
|
|
3547
|
+
* effect on the next send with no restart, and appends one redacted entry
|
|
3548
|
+
* to the audit log. Idempotent: the same body creates or replaces. Omitting
|
|
3549
|
+
* `secret` keeps the stored credential when the provider type is
|
|
3550
|
+
* unchanged; an empty `secret` is rejected. A body carrying an unknown
|
|
3551
|
+
* field is rejected with 400.
|
|
3552
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3553
|
+
*/
|
|
3554
|
+
put: operations["upsertAdminInstanceEmailSettings"];
|
|
3555
|
+
post?: never;
|
|
3556
|
+
/**
|
|
3557
|
+
* Remove the instance email provider settings
|
|
3558
|
+
* @description Removes the stored instance email provider and appends one redacted
|
|
3559
|
+
* entry to the audit log. Instance mail is then discarded until a provider
|
|
3560
|
+
* is configured again. Returns 409 when nothing is stored.
|
|
3561
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3562
|
+
*/
|
|
3563
|
+
delete: operations["deleteAdminInstanceEmailSettings"];
|
|
3564
|
+
options?: never;
|
|
3565
|
+
head?: never;
|
|
3566
|
+
patch?: never;
|
|
3567
|
+
trace?: never;
|
|
3568
|
+
};
|
|
3569
|
+
"/api/v1/admin/settings/email/test": {
|
|
3570
|
+
parameters: {
|
|
3571
|
+
query?: never;
|
|
3572
|
+
header?: never;
|
|
3573
|
+
path?: never;
|
|
3574
|
+
cookie?: never;
|
|
3575
|
+
};
|
|
3576
|
+
get?: never;
|
|
3577
|
+
put?: never;
|
|
3578
|
+
/**
|
|
3579
|
+
* Send a test message through the instance email provider
|
|
3580
|
+
* @description Sends a fixed test message to the calling admin's own account email,
|
|
3581
|
+
* through the stored configuration (empty body) or through a candidate
|
|
3582
|
+
* configuration (see `AdminInstanceEmailTestRequest`). Nothing is stored
|
|
3583
|
+
* and nothing is audited. A failed send is still a 200, reported with
|
|
3584
|
+
* `is_valid: false`. A body carrying an unknown field (including a
|
|
3585
|
+
* `recipient`) is rejected with 400.
|
|
3586
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3587
|
+
*/
|
|
3588
|
+
post: operations["testAdminInstanceEmailSettings"];
|
|
3589
|
+
delete?: never;
|
|
3590
|
+
options?: never;
|
|
3591
|
+
head?: never;
|
|
3592
|
+
patch?: never;
|
|
3593
|
+
trace?: never;
|
|
3594
|
+
};
|
|
3595
|
+
"/api/v1/admin/settings/email/audit": {
|
|
3596
|
+
parameters: {
|
|
3597
|
+
query?: never;
|
|
3598
|
+
header?: never;
|
|
3599
|
+
path?: never;
|
|
3600
|
+
cookie?: never;
|
|
3601
|
+
};
|
|
3602
|
+
/**
|
|
3603
|
+
* List the instance email provider settings audit log
|
|
3604
|
+
* @description Returns one page of the instance email provider's audit log, newest
|
|
3605
|
+
* first. Every entry's `before`/`after` snapshot is redacted: it never
|
|
3606
|
+
* contains a credential. Pass the previous page's `next_cursor` to
|
|
3607
|
+
* continue.
|
|
3608
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3609
|
+
*/
|
|
3610
|
+
get: operations["listAdminInstanceEmailSettingsAudit"];
|
|
3611
|
+
put?: never;
|
|
3612
|
+
post?: never;
|
|
3613
|
+
delete?: never;
|
|
3614
|
+
options?: never;
|
|
3615
|
+
head?: never;
|
|
3616
|
+
patch?: never;
|
|
3617
|
+
trace?: never;
|
|
3618
|
+
};
|
|
3518
3619
|
"/api/v1/{team_id}/comments": {
|
|
3519
3620
|
parameters: {
|
|
3520
3621
|
query?: never;
|
|
@@ -5850,6 +5951,11 @@ export interface components {
|
|
|
5850
5951
|
placeholders: {
|
|
5851
5952
|
[key: string]: string;
|
|
5852
5953
|
};
|
|
5954
|
+
/**
|
|
5955
|
+
* @description When true, only explicit @prompt:slug references are resolved (a bare @word such as an email, handle or git@host remote stays literal text), and an unresolved @prompt:slug fails the render with 422 instead of a warning. Recommended for unattended agents.
|
|
5956
|
+
* @default false
|
|
5957
|
+
*/
|
|
5958
|
+
strict: boolean;
|
|
5853
5959
|
};
|
|
5854
5960
|
RenderPromptResponse: {
|
|
5855
5961
|
/** @example Please review this code for: security vulnerabilities and code quality */
|
|
@@ -5863,9 +5969,9 @@ export interface components {
|
|
|
5863
5969
|
placeholders_missing?: string[];
|
|
5864
5970
|
references_used?: string[];
|
|
5865
5971
|
/**
|
|
5866
|
-
* @description Warnings about issues during rendering (
|
|
5972
|
+
* @description Warnings about issues during rendering, such as an explicit @prompt:slug reference that does not resolve (kept as-is in rendered_body). A bare @word that does not resolve is plain text and never produces a warning.
|
|
5867
5973
|
* @example [
|
|
5868
|
-
* "Reference not found: @nonexistent"
|
|
5974
|
+
* "Reference not found: @prompt:nonexistent"
|
|
5869
5975
|
* ]
|
|
5870
5976
|
*/
|
|
5871
5977
|
warnings?: string[];
|
|
@@ -12471,6 +12577,256 @@ export interface components {
|
|
|
12471
12577
|
*/
|
|
12472
12578
|
version: number;
|
|
12473
12579
|
};
|
|
12580
|
+
/**
|
|
12581
|
+
* @description Which provider the instance sends through. Matched case-insensitively.
|
|
12582
|
+
* @example smtp
|
|
12583
|
+
* @enum {string}
|
|
12584
|
+
*/
|
|
12585
|
+
AdminInstanceEmailProviderType: "smtp" | "mailgun" | "postmark" | "sendgrid";
|
|
12586
|
+
/**
|
|
12587
|
+
* @description The instance's email provider configuration. This is an upsert, so the same
|
|
12588
|
+
* body creates or replaces. The per-type `settings` and the write-only
|
|
12589
|
+
* `secret` follow the team email provider request exactly. A body carrying an
|
|
12590
|
+
* unknown field is rejected with 400.
|
|
12591
|
+
*/
|
|
12592
|
+
AdminInstanceEmailSettingsRequest: {
|
|
12593
|
+
provider_type: components["schemas"]["AdminInstanceEmailProviderType"];
|
|
12594
|
+
settings?: components["schemas"]["TeamEmailProviderSettings"];
|
|
12595
|
+
/**
|
|
12596
|
+
* @description The provider's single credential (SMTP password, Mailgun sending key,
|
|
12597
|
+
* Postmark server token, or SendGrid API key). It is write-only: never
|
|
12598
|
+
* returned by any endpoint.
|
|
12599
|
+
*
|
|
12600
|
+
* OMIT it to keep the stored credential, which is allowed only when the
|
|
12601
|
+
* provider type is unchanged; a new configuration or a change of provider
|
|
12602
|
+
* type must carry its own. An explicitly empty string is rejected.
|
|
12603
|
+
* @example key-abc123
|
|
12604
|
+
*/
|
|
12605
|
+
secret?: string;
|
|
12606
|
+
/**
|
|
12607
|
+
* Format: email
|
|
12608
|
+
* @description The address instance mail is sent from.
|
|
12609
|
+
* @example noreply@vibexp.example.com
|
|
12610
|
+
*/
|
|
12611
|
+
from_address: string;
|
|
12612
|
+
/**
|
|
12613
|
+
* @description Optional display name shown beside the from address.
|
|
12614
|
+
* @example VibeXP
|
|
12615
|
+
*/
|
|
12616
|
+
from_name?: string | null;
|
|
12617
|
+
/**
|
|
12618
|
+
* Format: email
|
|
12619
|
+
* @description Optional Reply-To address.
|
|
12620
|
+
* @example support@vibexp.example.com
|
|
12621
|
+
*/
|
|
12622
|
+
reply_to?: string | null;
|
|
12623
|
+
/**
|
|
12624
|
+
* Format: email
|
|
12625
|
+
* @description Where the contact form delivers. Omitted or null falls back to the from
|
|
12626
|
+
* address.
|
|
12627
|
+
* @example hello@vibexp.example.com
|
|
12628
|
+
*/
|
|
12629
|
+
contact_recipient_address?: string | null;
|
|
12630
|
+
/**
|
|
12631
|
+
* @description Absolute http(s) URL of the privacy policy linked from outbound mail.
|
|
12632
|
+
* Omitted or null links none.
|
|
12633
|
+
* @example https://vibexp.example.com/privacy
|
|
12634
|
+
*/
|
|
12635
|
+
privacy_policy_url?: string | null;
|
|
12636
|
+
};
|
|
12637
|
+
/**
|
|
12638
|
+
* @description An optional candidate configuration for a test send. An empty body (or an
|
|
12639
|
+
* empty object) tests the STORED configuration. A body with any field set is
|
|
12640
|
+
* tested as a full configuration, validated like an upsert; if it omits
|
|
12641
|
+
* `secret`, the stored credential is used only when the candidate targets
|
|
12642
|
+
* the same destination (same provider type and, for SMTP, the same
|
|
12643
|
+
* host/port/username; for Mailgun, the same domain/base URL).
|
|
12644
|
+
*
|
|
12645
|
+
* There is no recipient field: the test message always goes to the calling
|
|
12646
|
+
* admin's own account email. A body carrying an unknown field is rejected
|
|
12647
|
+
* with 400.
|
|
12648
|
+
*/
|
|
12649
|
+
AdminInstanceEmailTestRequest: {
|
|
12650
|
+
provider_type?: components["schemas"]["AdminInstanceEmailProviderType"];
|
|
12651
|
+
settings?: components["schemas"]["TeamEmailProviderSettings"];
|
|
12652
|
+
/**
|
|
12653
|
+
* @description The candidate credential. Omit it to test with the stored credential
|
|
12654
|
+
* (same destination only, see above). Never returned.
|
|
12655
|
+
* @example key-abc123
|
|
12656
|
+
*/
|
|
12657
|
+
secret?: string;
|
|
12658
|
+
/**
|
|
12659
|
+
* Format: email
|
|
12660
|
+
* @description The from address to test with.
|
|
12661
|
+
* @example noreply@vibexp.example.com
|
|
12662
|
+
*/
|
|
12663
|
+
from_address?: string;
|
|
12664
|
+
/**
|
|
12665
|
+
* @description Optional display name to test with.
|
|
12666
|
+
* @example VibeXP
|
|
12667
|
+
*/
|
|
12668
|
+
from_name?: string | null;
|
|
12669
|
+
/**
|
|
12670
|
+
* Format: email
|
|
12671
|
+
* @description Optional Reply-To address to test with.
|
|
12672
|
+
* @example support@vibexp.example.com
|
|
12673
|
+
*/
|
|
12674
|
+
reply_to?: string | null;
|
|
12675
|
+
/**
|
|
12676
|
+
* Format: email
|
|
12677
|
+
* @description Accepted for parity with the upsert body; a test send does not use it.
|
|
12678
|
+
* @example hello@vibexp.example.com
|
|
12679
|
+
*/
|
|
12680
|
+
contact_recipient_address?: string | null;
|
|
12681
|
+
/**
|
|
12682
|
+
* @description Accepted for parity with the upsert body; a test send does not use it.
|
|
12683
|
+
* @example https://vibexp.example.com/privacy
|
|
12684
|
+
*/
|
|
12685
|
+
privacy_policy_url?: string | null;
|
|
12686
|
+
};
|
|
12687
|
+
/**
|
|
12688
|
+
* @description The instance's stored email configuration. This is never a 404: an
|
|
12689
|
+
* instance with nothing stored reports `configured: false`, with every other
|
|
12690
|
+
* field null or absent, and discards its mail.
|
|
12691
|
+
*
|
|
12692
|
+
* No field here can carry the credential; `has_credential` reports only that
|
|
12693
|
+
* one is stored.
|
|
12694
|
+
*/
|
|
12695
|
+
AdminInstanceEmailSettings: {
|
|
12696
|
+
/**
|
|
12697
|
+
* @description Whether an instance email provider is stored.
|
|
12698
|
+
* @example true
|
|
12699
|
+
*/
|
|
12700
|
+
configured: boolean;
|
|
12701
|
+
/**
|
|
12702
|
+
* @description The stored provider type, or null when nothing is configured.
|
|
12703
|
+
* @example smtp
|
|
12704
|
+
* @enum {string|null}
|
|
12705
|
+
*/
|
|
12706
|
+
provider_type: "smtp" | "mailgun" | "postmark" | "sendgrid" | null;
|
|
12707
|
+
settings?: components["schemas"]["TeamEmailProviderSettings"];
|
|
12708
|
+
/**
|
|
12709
|
+
* @description Whether a credential is stored. The credential itself is never
|
|
12710
|
+
* returned. An SMTP relay without authentication legitimately has none.
|
|
12711
|
+
* @example true
|
|
12712
|
+
*/
|
|
12713
|
+
has_credential: boolean;
|
|
12714
|
+
/**
|
|
12715
|
+
* @description The configured from address; null when nothing is configured.
|
|
12716
|
+
* @example noreply@vibexp.example.com
|
|
12717
|
+
*/
|
|
12718
|
+
from_address?: string | null;
|
|
12719
|
+
/**
|
|
12720
|
+
* @description The configured display name.
|
|
12721
|
+
* @example VibeXP
|
|
12722
|
+
*/
|
|
12723
|
+
from_name?: string | null;
|
|
12724
|
+
/**
|
|
12725
|
+
* @description The configured Reply-To address.
|
|
12726
|
+
* @example support@vibexp.example.com
|
|
12727
|
+
*/
|
|
12728
|
+
reply_to?: string | null;
|
|
12729
|
+
/**
|
|
12730
|
+
* @description Where the contact form delivers; null falls back to the from address.
|
|
12731
|
+
* @example hello@vibexp.example.com
|
|
12732
|
+
*/
|
|
12733
|
+
contact_recipient_address?: string | null;
|
|
12734
|
+
/**
|
|
12735
|
+
* @description The privacy policy URL linked from outbound mail; null links none.
|
|
12736
|
+
* @example https://vibexp.example.com/privacy
|
|
12737
|
+
*/
|
|
12738
|
+
privacy_policy_url?: string | null;
|
|
12739
|
+
/**
|
|
12740
|
+
* @description Whether the last observed send succeeded, derived by comparing
|
|
12741
|
+
* `last_success_at` with `last_error_at` (a provider that has never sent
|
|
12742
|
+
* is healthy). Null when nothing is configured.
|
|
12743
|
+
* @example true
|
|
12744
|
+
*/
|
|
12745
|
+
is_healthy: boolean | null;
|
|
12746
|
+
/**
|
|
12747
|
+
* Format: date-time
|
|
12748
|
+
* @description When a send through the instance provider last succeeded.
|
|
12749
|
+
*/
|
|
12750
|
+
last_success_at?: string | null;
|
|
12751
|
+
/**
|
|
12752
|
+
* @description The last delivery error, retained after recovery for diagnosis; use
|
|
12753
|
+
* `is_healthy` to tell whether the provider is currently failing.
|
|
12754
|
+
* @example smtp: connection refused
|
|
12755
|
+
*/
|
|
12756
|
+
last_error?: string | null;
|
|
12757
|
+
/**
|
|
12758
|
+
* Format: date-time
|
|
12759
|
+
* @description When the last delivery error occurred.
|
|
12760
|
+
*/
|
|
12761
|
+
last_error_at?: string | null;
|
|
12762
|
+
/**
|
|
12763
|
+
* Format: date-time
|
|
12764
|
+
* @description When the configuration was last saved; null when nothing is configured.
|
|
12765
|
+
*/
|
|
12766
|
+
updated_at?: string | null;
|
|
12767
|
+
/**
|
|
12768
|
+
* Format: uuid
|
|
12769
|
+
* @description The admin who last saved the configuration. Null for the boot-time
|
|
12770
|
+
* import from config.yaml, or once that user has been deleted.
|
|
12771
|
+
*/
|
|
12772
|
+
updated_by?: string | null;
|
|
12773
|
+
};
|
|
12774
|
+
/**
|
|
12775
|
+
* @description One append-only change to an instance setting. `before` and `after` are
|
|
12776
|
+
* REDACTED snapshots: they never contain a credential, only
|
|
12777
|
+
* `has_credential` and, on an upsert's `after`, a `secret` marker saying
|
|
12778
|
+
* whether the credential was `changed` or `unchanged`.
|
|
12779
|
+
*/
|
|
12780
|
+
AdminInstanceSettingsAuditEntry: {
|
|
12781
|
+
/**
|
|
12782
|
+
* Format: uuid
|
|
12783
|
+
* @description Audit entry id.
|
|
12784
|
+
*/
|
|
12785
|
+
id: string;
|
|
12786
|
+
/**
|
|
12787
|
+
* @description The instance setting the entry describes.
|
|
12788
|
+
* @example email_provider
|
|
12789
|
+
*/
|
|
12790
|
+
setting: string;
|
|
12791
|
+
/**
|
|
12792
|
+
* @description `upsert` (created or replaced by an admin), `delete` (removed by an
|
|
12793
|
+
* admin) or `import` (the boot-time import from config.yaml, which has no
|
|
12794
|
+
* actor).
|
|
12795
|
+
* @example upsert
|
|
12796
|
+
* @enum {string}
|
|
12797
|
+
*/
|
|
12798
|
+
action: "upsert" | "delete" | "import";
|
|
12799
|
+
/**
|
|
12800
|
+
* Format: uuid
|
|
12801
|
+
* @description The admin who made the change. Null for an import, or once that user
|
|
12802
|
+
* has been deleted.
|
|
12803
|
+
*/
|
|
12804
|
+
actor_user_id: string | null;
|
|
12805
|
+
/**
|
|
12806
|
+
* @description The actor's display name (or email), when it could be resolved.
|
|
12807
|
+
* @example Ada Admin
|
|
12808
|
+
*/
|
|
12809
|
+
actor_name: string | null;
|
|
12810
|
+
/** @description The redacted setting before the change; null when the change created it. */
|
|
12811
|
+
before: {
|
|
12812
|
+
[key: string]: unknown;
|
|
12813
|
+
} | null;
|
|
12814
|
+
/** @description The redacted setting after the change; null when the change deleted it. */
|
|
12815
|
+
after: {
|
|
12816
|
+
[key: string]: unknown;
|
|
12817
|
+
} | null;
|
|
12818
|
+
/**
|
|
12819
|
+
* Format: date-time
|
|
12820
|
+
* @description When the change was made.
|
|
12821
|
+
*/
|
|
12822
|
+
created_at: string;
|
|
12823
|
+
};
|
|
12824
|
+
/** @description One page of an instance setting's audit log, newest first. */
|
|
12825
|
+
AdminInstanceSettingsAuditPage: {
|
|
12826
|
+
entries: components["schemas"]["AdminInstanceSettingsAuditEntry"][];
|
|
12827
|
+
/** @description Opaque cursor for the next page; null on the last page. */
|
|
12828
|
+
next_cursor: string | null;
|
|
12829
|
+
};
|
|
12474
12830
|
ProjectResponse: components["schemas"]["Project"] & {
|
|
12475
12831
|
/**
|
|
12476
12832
|
* @description Whether the project's git URL matches a repository accessible via the team's GitHub App installation
|
|
@@ -16700,6 +17056,15 @@ export interface operations {
|
|
|
16700
17056
|
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
16701
17057
|
};
|
|
16702
17058
|
};
|
|
17059
|
+
/** @description Strict render failed: one or more explicit @prompt:slug references do not resolve. The detail names the missing slugs. */
|
|
17060
|
+
422: {
|
|
17061
|
+
headers: {
|
|
17062
|
+
[name: string]: unknown;
|
|
17063
|
+
};
|
|
17064
|
+
content: {
|
|
17065
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17066
|
+
};
|
|
17067
|
+
};
|
|
16703
17068
|
};
|
|
16704
17069
|
};
|
|
16705
17070
|
getPromptShare: {
|
|
@@ -24051,6 +24416,250 @@ export interface operations {
|
|
|
24051
24416
|
};
|
|
24052
24417
|
};
|
|
24053
24418
|
};
|
|
24419
|
+
getAdminInstanceEmailSettings: {
|
|
24420
|
+
parameters: {
|
|
24421
|
+
query?: never;
|
|
24422
|
+
header?: never;
|
|
24423
|
+
path?: never;
|
|
24424
|
+
cookie?: never;
|
|
24425
|
+
};
|
|
24426
|
+
requestBody?: never;
|
|
24427
|
+
responses: {
|
|
24428
|
+
/** @description The instance email provider settings */
|
|
24429
|
+
200: {
|
|
24430
|
+
headers: {
|
|
24431
|
+
[name: string]: unknown;
|
|
24432
|
+
};
|
|
24433
|
+
content: {
|
|
24434
|
+
"application/json": components["schemas"]["AdminInstanceEmailSettings"];
|
|
24435
|
+
};
|
|
24436
|
+
};
|
|
24437
|
+
/** @description Not found — the caller is not an instance admin */
|
|
24438
|
+
404: {
|
|
24439
|
+
headers: {
|
|
24440
|
+
[name: string]: unknown;
|
|
24441
|
+
};
|
|
24442
|
+
content: {
|
|
24443
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24444
|
+
};
|
|
24445
|
+
};
|
|
24446
|
+
/** @description Internal server error */
|
|
24447
|
+
500: {
|
|
24448
|
+
headers: {
|
|
24449
|
+
[name: string]: unknown;
|
|
24450
|
+
};
|
|
24451
|
+
content: {
|
|
24452
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24453
|
+
};
|
|
24454
|
+
};
|
|
24455
|
+
};
|
|
24456
|
+
};
|
|
24457
|
+
upsertAdminInstanceEmailSettings: {
|
|
24458
|
+
parameters: {
|
|
24459
|
+
query?: never;
|
|
24460
|
+
header?: never;
|
|
24461
|
+
path?: never;
|
|
24462
|
+
cookie?: never;
|
|
24463
|
+
};
|
|
24464
|
+
requestBody: {
|
|
24465
|
+
content: {
|
|
24466
|
+
"application/json": components["schemas"]["AdminInstanceEmailSettingsRequest"];
|
|
24467
|
+
};
|
|
24468
|
+
};
|
|
24469
|
+
responses: {
|
|
24470
|
+
/** @description The stored settings */
|
|
24471
|
+
200: {
|
|
24472
|
+
headers: {
|
|
24473
|
+
[name: string]: unknown;
|
|
24474
|
+
};
|
|
24475
|
+
content: {
|
|
24476
|
+
"application/json": components["schemas"]["AdminInstanceEmailSettings"];
|
|
24477
|
+
};
|
|
24478
|
+
};
|
|
24479
|
+
/**
|
|
24480
|
+
* @description Bad request — the configuration is invalid (`INSTANCE_EMAIL_PROVIDER_VALIDATION_FAILED`,
|
|
24481
|
+
* with `validation_errors`), or the body carries an unknown field
|
|
24482
|
+
*/
|
|
24483
|
+
400: {
|
|
24484
|
+
headers: {
|
|
24485
|
+
[name: string]: unknown;
|
|
24486
|
+
};
|
|
24487
|
+
content: {
|
|
24488
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24489
|
+
};
|
|
24490
|
+
};
|
|
24491
|
+
/** @description Not found — the caller is not an instance admin */
|
|
24492
|
+
404: {
|
|
24493
|
+
headers: {
|
|
24494
|
+
[name: string]: unknown;
|
|
24495
|
+
};
|
|
24496
|
+
content: {
|
|
24497
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24498
|
+
};
|
|
24499
|
+
};
|
|
24500
|
+
/** @description Internal server error */
|
|
24501
|
+
500: {
|
|
24502
|
+
headers: {
|
|
24503
|
+
[name: string]: unknown;
|
|
24504
|
+
};
|
|
24505
|
+
content: {
|
|
24506
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24507
|
+
};
|
|
24508
|
+
};
|
|
24509
|
+
};
|
|
24510
|
+
};
|
|
24511
|
+
deleteAdminInstanceEmailSettings: {
|
|
24512
|
+
parameters: {
|
|
24513
|
+
query?: never;
|
|
24514
|
+
header?: never;
|
|
24515
|
+
path?: never;
|
|
24516
|
+
cookie?: never;
|
|
24517
|
+
};
|
|
24518
|
+
requestBody?: never;
|
|
24519
|
+
responses: {
|
|
24520
|
+
/** @description The settings were removed */
|
|
24521
|
+
204: {
|
|
24522
|
+
headers: {
|
|
24523
|
+
[name: string]: unknown;
|
|
24524
|
+
};
|
|
24525
|
+
content?: never;
|
|
24526
|
+
};
|
|
24527
|
+
/** @description Not found — the caller is not an instance admin */
|
|
24528
|
+
404: {
|
|
24529
|
+
headers: {
|
|
24530
|
+
[name: string]: unknown;
|
|
24531
|
+
};
|
|
24532
|
+
content: {
|
|
24533
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24534
|
+
};
|
|
24535
|
+
};
|
|
24536
|
+
/** @description Conflict — no instance email provider is configured (`INSTANCE_EMAIL_PROVIDER_NOT_CONFIGURED`) */
|
|
24537
|
+
409: {
|
|
24538
|
+
headers: {
|
|
24539
|
+
[name: string]: unknown;
|
|
24540
|
+
};
|
|
24541
|
+
content: {
|
|
24542
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24543
|
+
};
|
|
24544
|
+
};
|
|
24545
|
+
/** @description Internal server error */
|
|
24546
|
+
500: {
|
|
24547
|
+
headers: {
|
|
24548
|
+
[name: string]: unknown;
|
|
24549
|
+
};
|
|
24550
|
+
content: {
|
|
24551
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24552
|
+
};
|
|
24553
|
+
};
|
|
24554
|
+
};
|
|
24555
|
+
};
|
|
24556
|
+
testAdminInstanceEmailSettings: {
|
|
24557
|
+
parameters: {
|
|
24558
|
+
query?: never;
|
|
24559
|
+
header?: never;
|
|
24560
|
+
path?: never;
|
|
24561
|
+
cookie?: never;
|
|
24562
|
+
};
|
|
24563
|
+
requestBody?: {
|
|
24564
|
+
content: {
|
|
24565
|
+
"application/json": components["schemas"]["AdminInstanceEmailTestRequest"];
|
|
24566
|
+
};
|
|
24567
|
+
};
|
|
24568
|
+
responses: {
|
|
24569
|
+
/** @description The outcome of the test send */
|
|
24570
|
+
200: {
|
|
24571
|
+
headers: {
|
|
24572
|
+
[name: string]: unknown;
|
|
24573
|
+
};
|
|
24574
|
+
content: {
|
|
24575
|
+
"application/json": components["schemas"]["TeamEmailProviderTestResponse"];
|
|
24576
|
+
};
|
|
24577
|
+
};
|
|
24578
|
+
/**
|
|
24579
|
+
* @description Bad request — the candidate configuration is invalid, nothing is stored to
|
|
24580
|
+
* test (`INSTANCE_EMAIL_PROVIDER_VALIDATION_FAILED`), or the body carries an
|
|
24581
|
+
* unknown field
|
|
24582
|
+
*/
|
|
24583
|
+
400: {
|
|
24584
|
+
headers: {
|
|
24585
|
+
[name: string]: unknown;
|
|
24586
|
+
};
|
|
24587
|
+
content: {
|
|
24588
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24589
|
+
};
|
|
24590
|
+
};
|
|
24591
|
+
/** @description Not found — the caller is not an instance admin */
|
|
24592
|
+
404: {
|
|
24593
|
+
headers: {
|
|
24594
|
+
[name: string]: unknown;
|
|
24595
|
+
};
|
|
24596
|
+
content: {
|
|
24597
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24598
|
+
};
|
|
24599
|
+
};
|
|
24600
|
+
/** @description Internal server error */
|
|
24601
|
+
500: {
|
|
24602
|
+
headers: {
|
|
24603
|
+
[name: string]: unknown;
|
|
24604
|
+
};
|
|
24605
|
+
content: {
|
|
24606
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24607
|
+
};
|
|
24608
|
+
};
|
|
24609
|
+
};
|
|
24610
|
+
};
|
|
24611
|
+
listAdminInstanceEmailSettingsAudit: {
|
|
24612
|
+
parameters: {
|
|
24613
|
+
query?: {
|
|
24614
|
+
/** @description Opaque cursor from a previous page's `next_cursor`. */
|
|
24615
|
+
cursor?: string;
|
|
24616
|
+
/** @description Page size. */
|
|
24617
|
+
limit?: number;
|
|
24618
|
+
};
|
|
24619
|
+
header?: never;
|
|
24620
|
+
path?: never;
|
|
24621
|
+
cookie?: never;
|
|
24622
|
+
};
|
|
24623
|
+
requestBody?: never;
|
|
24624
|
+
responses: {
|
|
24625
|
+
/** @description One page of audit entries, newest first */
|
|
24626
|
+
200: {
|
|
24627
|
+
headers: {
|
|
24628
|
+
[name: string]: unknown;
|
|
24629
|
+
};
|
|
24630
|
+
content: {
|
|
24631
|
+
"application/json": components["schemas"]["AdminInstanceSettingsAuditPage"];
|
|
24632
|
+
};
|
|
24633
|
+
};
|
|
24634
|
+
/** @description Bad request — malformed cursor, or `limit` out of range */
|
|
24635
|
+
400: {
|
|
24636
|
+
headers: {
|
|
24637
|
+
[name: string]: unknown;
|
|
24638
|
+
};
|
|
24639
|
+
content: {
|
|
24640
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24641
|
+
};
|
|
24642
|
+
};
|
|
24643
|
+
/** @description Not found — the caller is not an instance admin */
|
|
24644
|
+
404: {
|
|
24645
|
+
headers: {
|
|
24646
|
+
[name: string]: unknown;
|
|
24647
|
+
};
|
|
24648
|
+
content: {
|
|
24649
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24650
|
+
};
|
|
24651
|
+
};
|
|
24652
|
+
/** @description Internal server error */
|
|
24653
|
+
500: {
|
|
24654
|
+
headers: {
|
|
24655
|
+
[name: string]: unknown;
|
|
24656
|
+
};
|
|
24657
|
+
content: {
|
|
24658
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
24659
|
+
};
|
|
24660
|
+
};
|
|
24661
|
+
};
|
|
24662
|
+
};
|
|
24054
24663
|
listComments: {
|
|
24055
24664
|
parameters: {
|
|
24056
24665
|
query: {
|
package/package.json
CHANGED