@peasant-labs/schema 0.16.0 → 0.18.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/index.js +7 -4
- package/dist/internal/generated/content-capabilities.gen.d.ts +1 -0
- package/dist/internal/generated/content-capabilities.gen.js +2 -1
- package/dist/internal/generated/contract/zod.gen.d.ts +314 -0
- package/dist/internal/generated/contract/zod.gen.js +121 -0
- package/dist/internal/generated/enums.gen.d.ts +29 -0
- package/dist/internal/generated/enums.gen.js +32 -0
- package/dist/internal/generated/local-api.d.ts +1 -0
- package/dist/internal/generated/metadata-limits.gen.d.ts +1 -0
- package/dist/internal/generated/metadata-limits.gen.js +2 -0
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +560 -0
- package/package.json +1 -1
|
@@ -379,6 +379,23 @@ export interface paths {
|
|
|
379
379
|
patch?: never;
|
|
380
380
|
trace?: never;
|
|
381
381
|
};
|
|
382
|
+
"/api/v1/integrations/github/webhook": {
|
|
383
|
+
parameters: {
|
|
384
|
+
query?: never;
|
|
385
|
+
header?: never;
|
|
386
|
+
path?: never;
|
|
387
|
+
cookie?: never;
|
|
388
|
+
};
|
|
389
|
+
get?: never;
|
|
390
|
+
put?: never;
|
|
391
|
+
/** @description Receive a GitHub App webhook delivery. The body is GitHub's payload, authenticated by the X-Hub-Signature-256 HMAC over the raw body; X-GitHub-Delivery makes redelivery idempotent. Handles installation, pull_request, check_run, and issue_comment events and acknowledges every other event without acting. Returns 501 when the App or its webhook secret is not configured. */
|
|
392
|
+
post: operations["receiveGitHubWebhook"];
|
|
393
|
+
delete?: never;
|
|
394
|
+
options?: never;
|
|
395
|
+
head?: never;
|
|
396
|
+
patch?: never;
|
|
397
|
+
trace?: never;
|
|
398
|
+
};
|
|
382
399
|
"/api/v1/pull/transcripts": {
|
|
383
400
|
parameters: {
|
|
384
401
|
query?: never;
|
|
@@ -464,6 +481,41 @@ export interface paths {
|
|
|
464
481
|
patch?: never;
|
|
465
482
|
trace?: never;
|
|
466
483
|
};
|
|
484
|
+
"/api/v1/pulls/{owner}/{name}/{number}": {
|
|
485
|
+
parameters: {
|
|
486
|
+
query?: never;
|
|
487
|
+
header?: never;
|
|
488
|
+
path?: never;
|
|
489
|
+
cookie?: never;
|
|
490
|
+
};
|
|
491
|
+
/** @description Read one pull request's prompt attachment. The digest is null until the attachment reaches preview or attached; viewer_is_author is true when the caller is the pull request author. Readers who may not see the attached transcripts receive 403. */
|
|
492
|
+
get: operations["getPullRequestAttachment"];
|
|
493
|
+
put?: never;
|
|
494
|
+
post?: never;
|
|
495
|
+
/** @description Detach the prompts from a pull request. Only the pull request author may detach. Deletes the comment, resets the check, and restores each transcript's previous visibility; an attachment already detached returns 409. */
|
|
496
|
+
delete: operations["detachPullRequestAttachment"];
|
|
497
|
+
options?: never;
|
|
498
|
+
head?: never;
|
|
499
|
+
patch?: never;
|
|
500
|
+
trace?: never;
|
|
501
|
+
};
|
|
502
|
+
"/api/v1/pulls/{owner}/{name}/{number}/confirm": {
|
|
503
|
+
parameters: {
|
|
504
|
+
query?: never;
|
|
505
|
+
header?: never;
|
|
506
|
+
path?: never;
|
|
507
|
+
cookie?: never;
|
|
508
|
+
};
|
|
509
|
+
get?: never;
|
|
510
|
+
put?: never;
|
|
511
|
+
/** @description Confirm a preview and post it. Only the pull request author may confirm; the attachment must be in preview, otherwise 409. A failed post to GitHub returns 502 and leaves the attachment in preview. */
|
|
512
|
+
post: operations["confirmPullRequestAttachment"];
|
|
513
|
+
delete?: never;
|
|
514
|
+
options?: never;
|
|
515
|
+
head?: never;
|
|
516
|
+
patch?: never;
|
|
517
|
+
trace?: never;
|
|
518
|
+
};
|
|
467
519
|
"/api/v1/schema/version": {
|
|
468
520
|
parameters: {
|
|
469
521
|
query?: never;
|
|
@@ -617,6 +669,41 @@ export interface paths {
|
|
|
617
669
|
patch?: never;
|
|
618
670
|
trace?: never;
|
|
619
671
|
};
|
|
672
|
+
"/api/v1/users/me/prompt-requests": {
|
|
673
|
+
parameters: {
|
|
674
|
+
query?: never;
|
|
675
|
+
header?: never;
|
|
676
|
+
path?: never;
|
|
677
|
+
cookie?: never;
|
|
678
|
+
};
|
|
679
|
+
/** @description List the caller's attachments that are waiting for a transcript from the caller's machine, with each repository's normalized remote so a client can match the repository it is about to push. */
|
|
680
|
+
get: operations["listMyPromptRequests"];
|
|
681
|
+
put?: never;
|
|
682
|
+
post?: never;
|
|
683
|
+
delete?: never;
|
|
684
|
+
options?: never;
|
|
685
|
+
head?: never;
|
|
686
|
+
patch?: never;
|
|
687
|
+
trace?: never;
|
|
688
|
+
};
|
|
689
|
+
"/api/v1/users/me/settings": {
|
|
690
|
+
parameters: {
|
|
691
|
+
query?: never;
|
|
692
|
+
header?: never;
|
|
693
|
+
path?: never;
|
|
694
|
+
cookie?: never;
|
|
695
|
+
};
|
|
696
|
+
/** @description Read the caller's settings, including preview_before_attach. */
|
|
697
|
+
get: operations["getMySettings"];
|
|
698
|
+
put?: never;
|
|
699
|
+
post?: never;
|
|
700
|
+
delete?: never;
|
|
701
|
+
options?: never;
|
|
702
|
+
head?: never;
|
|
703
|
+
/** @description Patch the caller's settings. A field that is omitted is left unchanged. */
|
|
704
|
+
patch: operations["updateMySettings"];
|
|
705
|
+
trace?: never;
|
|
706
|
+
};
|
|
620
707
|
}
|
|
621
708
|
export type webhooks = Record<string, never>;
|
|
622
709
|
export interface components {
|
|
@@ -701,6 +788,16 @@ export interface components {
|
|
|
701
788
|
SchemaAuthoritativeSourceInfo: Schema.AuthoritativeSourceInfo;
|
|
702
789
|
SchemaAuthoritativeSubagentRef: Schema.AuthoritativeSubagentRef;
|
|
703
790
|
SchemaAuthoritativeTimestampInfo: Schema.AuthoritativeTimestampInfo;
|
|
791
|
+
/**
|
|
792
|
+
* Digest Item Kind
|
|
793
|
+
* @description Kind of one item in the prompt digest chain: a session boundary, a human prompt, a skill invocation marker, or a commit anchor
|
|
794
|
+
* @example session
|
|
795
|
+
* @example prompt
|
|
796
|
+
* @example skill
|
|
797
|
+
* @example commit
|
|
798
|
+
* @enum {string}
|
|
799
|
+
*/
|
|
800
|
+
SchemaDigestItemKind: Schema.DigestItemKind;
|
|
704
801
|
/**
|
|
705
802
|
* Entry Type
|
|
706
803
|
* @description Classification of a single entry within an agent session transcript
|
|
@@ -744,6 +841,10 @@ export interface components {
|
|
|
744
841
|
* @example a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
|
|
745
842
|
*/
|
|
746
843
|
SchemaProjectHash: Schema.ProjectHash;
|
|
844
|
+
SchemaPromptDigest: Schema.PromptDigest;
|
|
845
|
+
SchemaPromptDigestHeader: Schema.PromptDigestHeader;
|
|
846
|
+
SchemaPromptDigestItem: Schema.PromptDigestItem;
|
|
847
|
+
SchemaPromptDigestSkill: Schema.PromptDigestSkill;
|
|
747
848
|
SchemaProvenance: Schema.Provenance;
|
|
748
849
|
SchemaPublishAppliedState: Schema.PublishAppliedState;
|
|
749
850
|
SchemaPublishNormalizedValues: Schema.PublishNormalizedValues;
|
|
@@ -884,6 +985,11 @@ export interface components {
|
|
|
884
985
|
SchemaVillageContributionStatus: Schema.VillageContributionStatus;
|
|
885
986
|
SchemaVillageCreateGroupRequest: Schema.VillageCreateGroupRequest;
|
|
886
987
|
SchemaVillageErrorResponse: Schema.VillageErrorResponse;
|
|
988
|
+
/**
|
|
989
|
+
* GitHub Webhook Payload
|
|
990
|
+
* @description GitHub event payload forwarded verbatim; validated by the X-Hub-Signature-256 HMAC over the raw body, never by shape
|
|
991
|
+
*/
|
|
992
|
+
SchemaVillageGitHubWebhookPayload: Schema.VillageGitHubWebhookPayload;
|
|
887
993
|
SchemaVillageGroup: Schema.VillageGroup;
|
|
888
994
|
/**
|
|
889
995
|
* Village Group Acceptance Mode
|
|
@@ -948,7 +1054,31 @@ export interface components {
|
|
|
948
1054
|
* @enum {string}
|
|
949
1055
|
*/
|
|
950
1056
|
SchemaVillageProjectNameSource: Schema.VillageProjectNameSource;
|
|
1057
|
+
SchemaVillagePromptRequest: Schema.VillagePromptRequest;
|
|
1058
|
+
SchemaVillagePromptRequestsResponse: Schema.VillagePromptRequestsResponse;
|
|
1059
|
+
/**
|
|
1060
|
+
* Village Prompts Check Mode
|
|
1061
|
+
* @description Check-run conclusion policy for a collective's linked repositories when no prompts are attached
|
|
1062
|
+
* @example informational
|
|
1063
|
+
* @example required
|
|
1064
|
+
* @enum {string}
|
|
1065
|
+
*/
|
|
1066
|
+
SchemaVillagePromptsCheckMode: Schema.VillagePromptsCheckMode;
|
|
951
1067
|
SchemaVillagePublicGroup: Schema.VillagePublicGroup;
|
|
1068
|
+
SchemaVillagePullRequestAttachedTranscript: Schema.VillagePullRequestAttachedTranscript;
|
|
1069
|
+
SchemaVillagePullRequestAttachment: Schema.VillagePullRequestAttachment;
|
|
1070
|
+
SchemaVillagePullRequestAttachmentResponse: Schema.VillagePullRequestAttachmentResponse;
|
|
1071
|
+
/**
|
|
1072
|
+
* Village Pull Request Attachment State
|
|
1073
|
+
* @description Current lifecycle state of a pull request's prompt attachment
|
|
1074
|
+
* @example requested
|
|
1075
|
+
* @example waiting
|
|
1076
|
+
* @example preview
|
|
1077
|
+
* @example attached
|
|
1078
|
+
* @example detached
|
|
1079
|
+
* @enum {string}
|
|
1080
|
+
*/
|
|
1081
|
+
SchemaVillagePullRequestAttachmentState: Schema.VillagePullRequestAttachmentState;
|
|
952
1082
|
SchemaVillageRemoveGroupMemberResponse: Schema.VillageRemoveGroupMemberResponse;
|
|
953
1083
|
SchemaVillageRepositoryCommit: Schema.VillageRepositoryCommit;
|
|
954
1084
|
SchemaVillageRepositoryCommitsResponse: Schema.VillageRepositoryCommitsResponse;
|
|
@@ -1014,8 +1144,10 @@ export interface components {
|
|
|
1014
1144
|
*/
|
|
1015
1145
|
SchemaVillageUUID: Schema.VillageUUID;
|
|
1016
1146
|
SchemaVillageUpdateGroupRequest: Schema.VillageUpdateGroupRequest;
|
|
1147
|
+
SchemaVillageUpdateUserSettingsRequest: Schema.VillageUpdateUserSettingsRequest;
|
|
1017
1148
|
SchemaVillageUserGroup: Schema.VillageUserGroup;
|
|
1018
1149
|
SchemaVillageUserGroupShare: Schema.VillageUserGroupShare;
|
|
1150
|
+
SchemaVillageUserSettings: Schema.VillageUserSettings;
|
|
1019
1151
|
SchemaVillageVisibleGroup: Schema.VillageVisibleGroup;
|
|
1020
1152
|
/**
|
|
1021
1153
|
* Visibility
|
|
@@ -2541,6 +2673,64 @@ export interface operations {
|
|
|
2541
2673
|
};
|
|
2542
2674
|
};
|
|
2543
2675
|
};
|
|
2676
|
+
receiveGitHubWebhook: {
|
|
2677
|
+
parameters: {
|
|
2678
|
+
query?: never;
|
|
2679
|
+
header: {
|
|
2680
|
+
/** @description GitHub event name */
|
|
2681
|
+
"X-GitHub-Event": string;
|
|
2682
|
+
/** @description Unique delivery identifier; Village records it so a redelivery is idempotent */
|
|
2683
|
+
"X-GitHub-Delivery": string;
|
|
2684
|
+
/** @description HMAC SHA-256 of the raw body under the App webhook secret */
|
|
2685
|
+
"X-Hub-Signature-256": string;
|
|
2686
|
+
};
|
|
2687
|
+
path?: never;
|
|
2688
|
+
cookie?: never;
|
|
2689
|
+
};
|
|
2690
|
+
requestBody: {
|
|
2691
|
+
content: {
|
|
2692
|
+
"application/json": components["schemas"]["SchemaVillageGitHubWebhookPayload"];
|
|
2693
|
+
};
|
|
2694
|
+
};
|
|
2695
|
+
responses: {
|
|
2696
|
+
/** @description Accepted */
|
|
2697
|
+
202: {
|
|
2698
|
+
headers: {
|
|
2699
|
+
[name: string]: unknown;
|
|
2700
|
+
};
|
|
2701
|
+
content: {
|
|
2702
|
+
"application/json": components["schemas"]["SchemaVillageStatusResponse"];
|
|
2703
|
+
};
|
|
2704
|
+
};
|
|
2705
|
+
/** @description Bad Request */
|
|
2706
|
+
400: {
|
|
2707
|
+
headers: {
|
|
2708
|
+
[name: string]: unknown;
|
|
2709
|
+
};
|
|
2710
|
+
content: {
|
|
2711
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
/** @description Unauthorized */
|
|
2715
|
+
401: {
|
|
2716
|
+
headers: {
|
|
2717
|
+
[name: string]: unknown;
|
|
2718
|
+
};
|
|
2719
|
+
content: {
|
|
2720
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
/** @description Not Implemented */
|
|
2724
|
+
501: {
|
|
2725
|
+
headers: {
|
|
2726
|
+
[name: string]: unknown;
|
|
2727
|
+
};
|
|
2728
|
+
content: {
|
|
2729
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2730
|
+
};
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
};
|
|
2544
2734
|
listPullableTranscripts: {
|
|
2545
2735
|
parameters: {
|
|
2546
2736
|
query?: {
|
|
@@ -2652,6 +2842,249 @@ export interface operations {
|
|
|
2652
2842
|
};
|
|
2653
2843
|
};
|
|
2654
2844
|
};
|
|
2845
|
+
getPullRequestAttachment: {
|
|
2846
|
+
parameters: {
|
|
2847
|
+
query?: never;
|
|
2848
|
+
header?: never;
|
|
2849
|
+
path: {
|
|
2850
|
+
/** @description Repository owner login */
|
|
2851
|
+
owner: string;
|
|
2852
|
+
/** @description Repository name */
|
|
2853
|
+
name: string;
|
|
2854
|
+
/** @description Pull request number */
|
|
2855
|
+
number: number;
|
|
2856
|
+
};
|
|
2857
|
+
cookie?: never;
|
|
2858
|
+
};
|
|
2859
|
+
requestBody?: never;
|
|
2860
|
+
responses: {
|
|
2861
|
+
/** @description OK */
|
|
2862
|
+
200: {
|
|
2863
|
+
headers: {
|
|
2864
|
+
[name: string]: unknown;
|
|
2865
|
+
};
|
|
2866
|
+
content: {
|
|
2867
|
+
"application/json": components["schemas"]["SchemaVillagePullRequestAttachmentResponse"];
|
|
2868
|
+
};
|
|
2869
|
+
};
|
|
2870
|
+
/** @description Bad Request */
|
|
2871
|
+
400: {
|
|
2872
|
+
headers: {
|
|
2873
|
+
[name: string]: unknown;
|
|
2874
|
+
};
|
|
2875
|
+
content: {
|
|
2876
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2877
|
+
};
|
|
2878
|
+
};
|
|
2879
|
+
/** @description Forbidden */
|
|
2880
|
+
403: {
|
|
2881
|
+
headers: {
|
|
2882
|
+
[name: string]: unknown;
|
|
2883
|
+
};
|
|
2884
|
+
content: {
|
|
2885
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2886
|
+
};
|
|
2887
|
+
};
|
|
2888
|
+
/** @description Not Found */
|
|
2889
|
+
404: {
|
|
2890
|
+
headers: {
|
|
2891
|
+
[name: string]: unknown;
|
|
2892
|
+
};
|
|
2893
|
+
content: {
|
|
2894
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2895
|
+
};
|
|
2896
|
+
};
|
|
2897
|
+
/** @description Internal Server Error */
|
|
2898
|
+
500: {
|
|
2899
|
+
headers: {
|
|
2900
|
+
[name: string]: unknown;
|
|
2901
|
+
};
|
|
2902
|
+
content: {
|
|
2903
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
detachPullRequestAttachment: {
|
|
2909
|
+
parameters: {
|
|
2910
|
+
query?: never;
|
|
2911
|
+
header?: never;
|
|
2912
|
+
path: {
|
|
2913
|
+
/** @description Repository owner login */
|
|
2914
|
+
owner: string;
|
|
2915
|
+
/** @description Repository name */
|
|
2916
|
+
name: string;
|
|
2917
|
+
/** @description Pull request number */
|
|
2918
|
+
number: number;
|
|
2919
|
+
};
|
|
2920
|
+
cookie?: never;
|
|
2921
|
+
};
|
|
2922
|
+
requestBody?: never;
|
|
2923
|
+
responses: {
|
|
2924
|
+
/** @description OK */
|
|
2925
|
+
200: {
|
|
2926
|
+
headers: {
|
|
2927
|
+
[name: string]: unknown;
|
|
2928
|
+
};
|
|
2929
|
+
content: {
|
|
2930
|
+
"application/json": components["schemas"]["SchemaVillagePullRequestAttachmentResponse"];
|
|
2931
|
+
};
|
|
2932
|
+
};
|
|
2933
|
+
/** @description Bad Request */
|
|
2934
|
+
400: {
|
|
2935
|
+
headers: {
|
|
2936
|
+
[name: string]: unknown;
|
|
2937
|
+
};
|
|
2938
|
+
content: {
|
|
2939
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2942
|
+
/** @description Unauthorized */
|
|
2943
|
+
401: {
|
|
2944
|
+
headers: {
|
|
2945
|
+
[name: string]: unknown;
|
|
2946
|
+
};
|
|
2947
|
+
content: {
|
|
2948
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
/** @description Forbidden */
|
|
2952
|
+
403: {
|
|
2953
|
+
headers: {
|
|
2954
|
+
[name: string]: unknown;
|
|
2955
|
+
};
|
|
2956
|
+
content: {
|
|
2957
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
/** @description Not Found */
|
|
2961
|
+
404: {
|
|
2962
|
+
headers: {
|
|
2963
|
+
[name: string]: unknown;
|
|
2964
|
+
};
|
|
2965
|
+
content: {
|
|
2966
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2967
|
+
};
|
|
2968
|
+
};
|
|
2969
|
+
/** @description Conflict */
|
|
2970
|
+
409: {
|
|
2971
|
+
headers: {
|
|
2972
|
+
[name: string]: unknown;
|
|
2973
|
+
};
|
|
2974
|
+
content: {
|
|
2975
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
/** @description Internal Server Error */
|
|
2979
|
+
500: {
|
|
2980
|
+
headers: {
|
|
2981
|
+
[name: string]: unknown;
|
|
2982
|
+
};
|
|
2983
|
+
content: {
|
|
2984
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2985
|
+
};
|
|
2986
|
+
};
|
|
2987
|
+
/** @description Bad Gateway */
|
|
2988
|
+
502: {
|
|
2989
|
+
headers: {
|
|
2990
|
+
[name: string]: unknown;
|
|
2991
|
+
};
|
|
2992
|
+
content: {
|
|
2993
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
2994
|
+
};
|
|
2995
|
+
};
|
|
2996
|
+
};
|
|
2997
|
+
};
|
|
2998
|
+
confirmPullRequestAttachment: {
|
|
2999
|
+
parameters: {
|
|
3000
|
+
query?: never;
|
|
3001
|
+
header?: never;
|
|
3002
|
+
path: {
|
|
3003
|
+
/** @description Repository owner login */
|
|
3004
|
+
owner: string;
|
|
3005
|
+
/** @description Repository name */
|
|
3006
|
+
name: string;
|
|
3007
|
+
/** @description Pull request number */
|
|
3008
|
+
number: number;
|
|
3009
|
+
};
|
|
3010
|
+
cookie?: never;
|
|
3011
|
+
};
|
|
3012
|
+
requestBody?: never;
|
|
3013
|
+
responses: {
|
|
3014
|
+
/** @description OK */
|
|
3015
|
+
200: {
|
|
3016
|
+
headers: {
|
|
3017
|
+
[name: string]: unknown;
|
|
3018
|
+
};
|
|
3019
|
+
content: {
|
|
3020
|
+
"application/json": components["schemas"]["SchemaVillagePullRequestAttachmentResponse"];
|
|
3021
|
+
};
|
|
3022
|
+
};
|
|
3023
|
+
/** @description Bad Request */
|
|
3024
|
+
400: {
|
|
3025
|
+
headers: {
|
|
3026
|
+
[name: string]: unknown;
|
|
3027
|
+
};
|
|
3028
|
+
content: {
|
|
3029
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3030
|
+
};
|
|
3031
|
+
};
|
|
3032
|
+
/** @description Unauthorized */
|
|
3033
|
+
401: {
|
|
3034
|
+
headers: {
|
|
3035
|
+
[name: string]: unknown;
|
|
3036
|
+
};
|
|
3037
|
+
content: {
|
|
3038
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3039
|
+
};
|
|
3040
|
+
};
|
|
3041
|
+
/** @description Forbidden */
|
|
3042
|
+
403: {
|
|
3043
|
+
headers: {
|
|
3044
|
+
[name: string]: unknown;
|
|
3045
|
+
};
|
|
3046
|
+
content: {
|
|
3047
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
/** @description Not Found */
|
|
3051
|
+
404: {
|
|
3052
|
+
headers: {
|
|
3053
|
+
[name: string]: unknown;
|
|
3054
|
+
};
|
|
3055
|
+
content: {
|
|
3056
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3057
|
+
};
|
|
3058
|
+
};
|
|
3059
|
+
/** @description Conflict */
|
|
3060
|
+
409: {
|
|
3061
|
+
headers: {
|
|
3062
|
+
[name: string]: unknown;
|
|
3063
|
+
};
|
|
3064
|
+
content: {
|
|
3065
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3066
|
+
};
|
|
3067
|
+
};
|
|
3068
|
+
/** @description Internal Server Error */
|
|
3069
|
+
500: {
|
|
3070
|
+
headers: {
|
|
3071
|
+
[name: string]: unknown;
|
|
3072
|
+
};
|
|
3073
|
+
content: {
|
|
3074
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
/** @description Bad Gateway */
|
|
3078
|
+
502: {
|
|
3079
|
+
headers: {
|
|
3080
|
+
[name: string]: unknown;
|
|
3081
|
+
};
|
|
3082
|
+
content: {
|
|
3083
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3084
|
+
};
|
|
3085
|
+
};
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
2655
3088
|
getSchemaVersion: {
|
|
2656
3089
|
parameters: {
|
|
2657
3090
|
query?: never;
|
|
@@ -3127,4 +3560,131 @@ export interface operations {
|
|
|
3127
3560
|
};
|
|
3128
3561
|
};
|
|
3129
3562
|
};
|
|
3563
|
+
listMyPromptRequests: {
|
|
3564
|
+
parameters: {
|
|
3565
|
+
query?: never;
|
|
3566
|
+
header?: never;
|
|
3567
|
+
path?: never;
|
|
3568
|
+
cookie?: never;
|
|
3569
|
+
};
|
|
3570
|
+
requestBody?: never;
|
|
3571
|
+
responses: {
|
|
3572
|
+
/** @description OK */
|
|
3573
|
+
200: {
|
|
3574
|
+
headers: {
|
|
3575
|
+
[name: string]: unknown;
|
|
3576
|
+
};
|
|
3577
|
+
content: {
|
|
3578
|
+
"application/json": components["schemas"]["SchemaVillagePromptRequestsResponse"];
|
|
3579
|
+
};
|
|
3580
|
+
};
|
|
3581
|
+
/** @description Unauthorized */
|
|
3582
|
+
401: {
|
|
3583
|
+
headers: {
|
|
3584
|
+
[name: string]: unknown;
|
|
3585
|
+
};
|
|
3586
|
+
content: {
|
|
3587
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3588
|
+
};
|
|
3589
|
+
};
|
|
3590
|
+
/** @description Internal Server Error */
|
|
3591
|
+
500: {
|
|
3592
|
+
headers: {
|
|
3593
|
+
[name: string]: unknown;
|
|
3594
|
+
};
|
|
3595
|
+
content: {
|
|
3596
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3597
|
+
};
|
|
3598
|
+
};
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
getMySettings: {
|
|
3602
|
+
parameters: {
|
|
3603
|
+
query?: never;
|
|
3604
|
+
header?: never;
|
|
3605
|
+
path?: never;
|
|
3606
|
+
cookie?: never;
|
|
3607
|
+
};
|
|
3608
|
+
requestBody?: never;
|
|
3609
|
+
responses: {
|
|
3610
|
+
/** @description OK */
|
|
3611
|
+
200: {
|
|
3612
|
+
headers: {
|
|
3613
|
+
[name: string]: unknown;
|
|
3614
|
+
};
|
|
3615
|
+
content: {
|
|
3616
|
+
"application/json": components["schemas"]["SchemaVillageUserSettings"];
|
|
3617
|
+
};
|
|
3618
|
+
};
|
|
3619
|
+
/** @description Unauthorized */
|
|
3620
|
+
401: {
|
|
3621
|
+
headers: {
|
|
3622
|
+
[name: string]: unknown;
|
|
3623
|
+
};
|
|
3624
|
+
content: {
|
|
3625
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3626
|
+
};
|
|
3627
|
+
};
|
|
3628
|
+
/** @description Internal Server Error */
|
|
3629
|
+
500: {
|
|
3630
|
+
headers: {
|
|
3631
|
+
[name: string]: unknown;
|
|
3632
|
+
};
|
|
3633
|
+
content: {
|
|
3634
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3635
|
+
};
|
|
3636
|
+
};
|
|
3637
|
+
};
|
|
3638
|
+
};
|
|
3639
|
+
updateMySettings: {
|
|
3640
|
+
parameters: {
|
|
3641
|
+
query?: never;
|
|
3642
|
+
header?: never;
|
|
3643
|
+
path?: never;
|
|
3644
|
+
cookie?: never;
|
|
3645
|
+
};
|
|
3646
|
+
requestBody: {
|
|
3647
|
+
content: {
|
|
3648
|
+
"application/json": components["schemas"]["SchemaVillageUpdateUserSettingsRequest"];
|
|
3649
|
+
};
|
|
3650
|
+
};
|
|
3651
|
+
responses: {
|
|
3652
|
+
/** @description OK */
|
|
3653
|
+
200: {
|
|
3654
|
+
headers: {
|
|
3655
|
+
[name: string]: unknown;
|
|
3656
|
+
};
|
|
3657
|
+
content: {
|
|
3658
|
+
"application/json": components["schemas"]["SchemaVillageUserSettings"];
|
|
3659
|
+
};
|
|
3660
|
+
};
|
|
3661
|
+
/** @description Bad Request */
|
|
3662
|
+
400: {
|
|
3663
|
+
headers: {
|
|
3664
|
+
[name: string]: unknown;
|
|
3665
|
+
};
|
|
3666
|
+
content: {
|
|
3667
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3668
|
+
};
|
|
3669
|
+
};
|
|
3670
|
+
/** @description Unauthorized */
|
|
3671
|
+
401: {
|
|
3672
|
+
headers: {
|
|
3673
|
+
[name: string]: unknown;
|
|
3674
|
+
};
|
|
3675
|
+
content: {
|
|
3676
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3677
|
+
};
|
|
3678
|
+
};
|
|
3679
|
+
/** @description Internal Server Error */
|
|
3680
|
+
500: {
|
|
3681
|
+
headers: {
|
|
3682
|
+
[name: string]: unknown;
|
|
3683
|
+
};
|
|
3684
|
+
content: {
|
|
3685
|
+
"application/json": components["schemas"]["SchemaVillageErrorResponse"];
|
|
3686
|
+
};
|
|
3687
|
+
};
|
|
3688
|
+
};
|
|
3689
|
+
};
|
|
3130
3690
|
}
|