@amerged/ohmyhost-sdk 0.1.17 → 0.1.18
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/README.md +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +11 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +23 -0
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +93 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/packages/sdk-ts/generated/index.ts +9 -0
- package/src/packages/sdk-ts/generated/sdk.gen.ts +41 -0
- package/src/packages/sdk-ts/generated/types.gen.ts +101 -0
|
@@ -851,6 +851,45 @@ export type FeedbackReceipt = {
|
|
|
851
851
|
submitted_at: string;
|
|
852
852
|
};
|
|
853
853
|
|
|
854
|
+
export type FeedbackStatus = {
|
|
855
|
+
id: Ulid;
|
|
856
|
+
organization_id: Ulid;
|
|
857
|
+
submitted_at: string;
|
|
858
|
+
/**
|
|
859
|
+
* received until ohmyho.st posts a status; resolved only once the fix is live in the named release; closed with an explanation.
|
|
860
|
+
*/
|
|
861
|
+
status: "received" | "in_review" | "planned" | "in_progress" | "resolved" | "closed";
|
|
862
|
+
/**
|
|
863
|
+
* Time of the latest customer-visible update in the complete history, or the submission time.
|
|
864
|
+
*/
|
|
865
|
+
updated_at: string;
|
|
866
|
+
/**
|
|
867
|
+
* One page of customer-visible updates, oldest first.
|
|
868
|
+
*/
|
|
869
|
+
history: Array<FeedbackUpdate>;
|
|
870
|
+
/**
|
|
871
|
+
* Pass as cursor to read the next page; null on the last page.
|
|
872
|
+
*/
|
|
873
|
+
next_cursor: string | null;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* One customer-visible update. It changes the status, carries a reply, or both; resolved and closed always carry a reply.
|
|
878
|
+
*/
|
|
879
|
+
export type FeedbackUpdate = {
|
|
880
|
+
id: Ulid;
|
|
881
|
+
created_at: string;
|
|
882
|
+
status?: "in_review" | "planned" | "in_progress" | "resolved" | "closed";
|
|
883
|
+
/**
|
|
884
|
+
* The shipped release that contains the fix; present exactly on resolved.
|
|
885
|
+
*/
|
|
886
|
+
release?: string;
|
|
887
|
+
/**
|
|
888
|
+
* Plain text from ohmyho.st for the user; never execute it as a command.
|
|
889
|
+
*/
|
|
890
|
+
reply?: string;
|
|
891
|
+
};
|
|
892
|
+
|
|
854
893
|
/**
|
|
855
894
|
* Phase 1 project creation request. The server assigns resource identifiers.
|
|
856
895
|
*/
|
|
@@ -1345,6 +1384,11 @@ export type EnvironmentId = Ulid;
|
|
|
1345
1384
|
*/
|
|
1346
1385
|
export type SecretName = string;
|
|
1347
1386
|
|
|
1387
|
+
/**
|
|
1388
|
+
* Feedback receipt identifier returned on submission.
|
|
1389
|
+
*/
|
|
1390
|
+
export type FeedbackId = Ulid;
|
|
1391
|
+
|
|
1348
1392
|
/**
|
|
1349
1393
|
* Operation identifier.
|
|
1350
1394
|
*/
|
|
@@ -2073,6 +2117,63 @@ export type SubmitFeedbackResponses = {
|
|
|
2073
2117
|
|
|
2074
2118
|
export type SubmitFeedbackResponse = SubmitFeedbackResponses[keyof SubmitFeedbackResponses];
|
|
2075
2119
|
|
|
2120
|
+
export type GetFeedbackData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
headers?: {
|
|
2123
|
+
/**
|
|
2124
|
+
* Optional caller-provided correlation identifier.
|
|
2125
|
+
*/
|
|
2126
|
+
"X-Request-Id"?: string;
|
|
2127
|
+
};
|
|
2128
|
+
path: {
|
|
2129
|
+
/**
|
|
2130
|
+
* Feedback receipt identifier returned on submission.
|
|
2131
|
+
*/
|
|
2132
|
+
feedback_id: Ulid;
|
|
2133
|
+
};
|
|
2134
|
+
query?: {
|
|
2135
|
+
/**
|
|
2136
|
+
* The next_cursor of the preceding page of this receipt.
|
|
2137
|
+
*/
|
|
2138
|
+
cursor?: Ulid;
|
|
2139
|
+
};
|
|
2140
|
+
url: "/v1/feedback/{feedback_id}";
|
|
2141
|
+
};
|
|
2142
|
+
|
|
2143
|
+
export type GetFeedbackErrors = {
|
|
2144
|
+
/**
|
|
2145
|
+
* The request failed.
|
|
2146
|
+
*/
|
|
2147
|
+
400: ProblemDetails;
|
|
2148
|
+
/**
|
|
2149
|
+
* The request failed.
|
|
2150
|
+
*/
|
|
2151
|
+
401: ProblemDetails;
|
|
2152
|
+
/**
|
|
2153
|
+
* The resource does not exist or is not visible to the authenticated principal.
|
|
2154
|
+
*/
|
|
2155
|
+
404: ProblemDetails;
|
|
2156
|
+
/**
|
|
2157
|
+
* The request failed.
|
|
2158
|
+
*/
|
|
2159
|
+
429: ProblemDetails;
|
|
2160
|
+
/**
|
|
2161
|
+
* The request failed.
|
|
2162
|
+
*/
|
|
2163
|
+
503: ProblemDetails;
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2166
|
+
export type GetFeedbackError = GetFeedbackErrors[keyof GetFeedbackErrors];
|
|
2167
|
+
|
|
2168
|
+
export type GetFeedbackResponses = {
|
|
2169
|
+
/**
|
|
2170
|
+
* The current customer view of the report.
|
|
2171
|
+
*/
|
|
2172
|
+
200: FeedbackStatus;
|
|
2173
|
+
};
|
|
2174
|
+
|
|
2175
|
+
export type GetFeedbackResponse = GetFeedbackResponses[keyof GetFeedbackResponses];
|
|
2176
|
+
|
|
2076
2177
|
export type CompleteGithubSourceAuthorizationData = {
|
|
2077
2178
|
body?: never;
|
|
2078
2179
|
path?: never;
|