@orq-ai/node 4.17.0-rc.41 → 4.17.0-rc.43

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 (108) hide show
  1. package/README.md +77 -81
  2. package/funcs/humanReviewSetsCreate.d.ts +5 -0
  3. package/funcs/humanReviewSetsCreate.d.ts.map +1 -1
  4. package/funcs/humanReviewSetsCreate.js +5 -0
  5. package/funcs/humanReviewSetsCreate.js.map +1 -1
  6. package/funcs/humanReviewSetsDelete.d.ts +5 -0
  7. package/funcs/humanReviewSetsDelete.d.ts.map +1 -1
  8. package/funcs/humanReviewSetsDelete.js +5 -0
  9. package/funcs/humanReviewSetsDelete.js.map +1 -1
  10. package/funcs/humanReviewSetsGet.d.ts +5 -0
  11. package/funcs/humanReviewSetsGet.d.ts.map +1 -1
  12. package/funcs/humanReviewSetsGet.js +5 -0
  13. package/funcs/humanReviewSetsGet.js.map +1 -1
  14. package/funcs/humanReviewSetsList.d.ts +5 -0
  15. package/funcs/humanReviewSetsList.d.ts.map +1 -1
  16. package/funcs/humanReviewSetsList.js +5 -0
  17. package/funcs/humanReviewSetsList.js.map +1 -1
  18. package/funcs/humanReviewSetsUpdate.d.ts +5 -0
  19. package/funcs/humanReviewSetsUpdate.d.ts.map +1 -1
  20. package/funcs/humanReviewSetsUpdate.js +5 -0
  21. package/funcs/humanReviewSetsUpdate.js.map +1 -1
  22. package/jsr.json +1 -1
  23. package/lib/config.d.ts +2 -2
  24. package/lib/config.js +2 -2
  25. package/models/components/reasoningpart.js +1 -1
  26. package/models/operations/createtool.js +4 -4
  27. package/models/operations/deploymentinvoke.d.ts +5 -5
  28. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  29. package/models/operations/deploymentinvoke.js +8 -7
  30. package/models/operations/deploymentinvoke.js.map +1 -1
  31. package/models/operations/deploymentstream.d.ts +5 -5
  32. package/models/operations/deploymentstream.d.ts.map +1 -1
  33. package/models/operations/deploymentstream.js +7 -7
  34. package/models/operations/deploymentstream.js.map +1 -1
  35. package/models/operations/getalltools.js +4 -4
  36. package/models/operations/getv2humanevalsets.js +2 -2
  37. package/models/operations/getv2humanevalsetsid.js +2 -2
  38. package/models/operations/index.d.ts +0 -2
  39. package/models/operations/index.d.ts.map +1 -1
  40. package/models/operations/index.js +0 -2
  41. package/models/operations/index.js.map +1 -1
  42. package/models/operations/listdeploymentversions.js +1 -1
  43. package/models/operations/patchv2humanevalsetsid.js +2 -2
  44. package/models/operations/postv2humanevalsets.d.ts +10 -10
  45. package/models/operations/postv2humanevalsets.d.ts.map +1 -1
  46. package/models/operations/postv2humanevalsets.js +13 -13
  47. package/models/operations/postv2humanevalsets.js.map +1 -1
  48. package/models/operations/retrievetool.js +4 -4
  49. package/models/operations/runagent.js +1 -1
  50. package/models/operations/streamrunagent.js +1 -1
  51. package/models/operations/updatetool.js +4 -4
  52. package/package.json +8 -8
  53. package/sdk/feedback.d.ts +0 -8
  54. package/sdk/feedback.d.ts.map +1 -1
  55. package/sdk/feedback.js +0 -14
  56. package/sdk/feedback.js.map +1 -1
  57. package/sdk/humanreviewsets.d.ts +25 -0
  58. package/sdk/humanreviewsets.d.ts.map +1 -1
  59. package/sdk/humanreviewsets.js +25 -0
  60. package/sdk/humanreviewsets.js.map +1 -1
  61. package/sdk/sdk.d.ts +2 -2
  62. package/sdk/sdk.d.ts.map +1 -1
  63. package/sdk/sdk.js +3 -3
  64. package/sdk/sdk.js.map +1 -1
  65. package/src/funcs/humanReviewSetsCreate.ts +5 -0
  66. package/src/funcs/humanReviewSetsDelete.ts +5 -0
  67. package/src/funcs/humanReviewSetsGet.ts +5 -0
  68. package/src/funcs/humanReviewSetsList.ts +5 -0
  69. package/src/funcs/humanReviewSetsUpdate.ts +5 -0
  70. package/src/lib/config.ts +2 -2
  71. package/src/models/components/reasoningpart.ts +1 -1
  72. package/src/models/operations/createtool.ts +4 -4
  73. package/src/models/operations/deploymentinvoke.ts +15 -18
  74. package/src/models/operations/deploymentstream.ts +11 -14
  75. package/src/models/operations/getalltools.ts +4 -4
  76. package/src/models/operations/getv2humanevalsets.ts +2 -2
  77. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  78. package/src/models/operations/index.ts +0 -2
  79. package/src/models/operations/listdeploymentversions.ts +1 -1
  80. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  81. package/src/models/operations/postv2humanevalsets.ts +21 -35
  82. package/src/models/operations/retrievetool.ts +4 -4
  83. package/src/models/operations/runagent.ts +1 -1
  84. package/src/models/operations/streamrunagent.ts +1 -1
  85. package/src/models/operations/updatetool.ts +4 -4
  86. package/src/sdk/feedback.ts +0 -30
  87. package/src/sdk/humanreviewsets.ts +25 -0
  88. package/src/sdk/sdk.ts +5 -5
  89. package/funcs/feedbackCreateEvaluation.d.ts +0 -15
  90. package/funcs/feedbackCreateEvaluation.d.ts.map +0 -1
  91. package/funcs/feedbackCreateEvaluation.js +0 -120
  92. package/funcs/feedbackCreateEvaluation.js.map +0 -1
  93. package/funcs/feedbackRemoveEvaluation.d.ts +0 -15
  94. package/funcs/feedbackRemoveEvaluation.d.ts.map +0 -1
  95. package/funcs/feedbackRemoveEvaluation.js +0 -120
  96. package/funcs/feedbackRemoveEvaluation.js.map +0 -1
  97. package/models/operations/postv2feedbackevaluation.d.ts +0 -257
  98. package/models/operations/postv2feedbackevaluation.d.ts.map +0 -1
  99. package/models/operations/postv2feedbackevaluation.js +0 -210
  100. package/models/operations/postv2feedbackevaluation.js.map +0 -1
  101. package/models/operations/postv2feedbackevaluationremove.d.ts +0 -14
  102. package/models/operations/postv2feedbackevaluationremove.d.ts.map +0 -1
  103. package/models/operations/postv2feedbackevaluationremove.js +0 -55
  104. package/models/operations/postv2feedbackevaluationremove.js.map +0 -1
  105. package/src/funcs/feedbackCreateEvaluation.ts +0 -173
  106. package/src/funcs/feedbackRemoveEvaluation.ts +0 -173
  107. package/src/models/operations/postv2feedbackevaluation.ts +0 -453
  108. package/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
@@ -1,210 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PostV2FeedbackEvaluationRequestBody$outboundSchema = exports.RequestBody1$outboundSchema = exports.RequestBodySource$outboundSchema = exports.EvaluationType$outboundSchema = exports.RequestBody2$outboundSchema = exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema = exports.RequestBodyEvaluationType$outboundSchema = exports.Three$outboundSchema = exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema = exports.PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema = exports.RequestBody4$outboundSchema = exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema = exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema = exports.RequestBodySource = exports.EvaluationType = exports.PostV2FeedbackEvaluationRequestBodySource = exports.RequestBodyEvaluationType = exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource = exports.PostV2FeedbackEvaluationRequestBodyEvaluationType = exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource = exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType = void 0;
40
- exports.requestBody4ToJSON = requestBody4ToJSON;
41
- exports.threeToJSON = threeToJSON;
42
- exports.requestBody2ToJSON = requestBody2ToJSON;
43
- exports.requestBody1ToJSON = requestBody1ToJSON;
44
- exports.postV2FeedbackEvaluationRequestBodyToJSON = postV2FeedbackEvaluationRequestBodyToJSON;
45
- const z = __importStar(require("zod/v3"));
46
- const primitives_js_1 = require("../../lib/primitives.js");
47
- /**
48
- * The type of evaluation
49
- */
50
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType = {
51
- HumanReview: "human_review",
52
- };
53
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource = {
54
- Orq: "orq",
55
- External: "external",
56
- };
57
- /**
58
- * The type of evaluation
59
- */
60
- exports.PostV2FeedbackEvaluationRequestBodyEvaluationType = {
61
- HumanReview: "human_review",
62
- };
63
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource = {
64
- Orq: "orq",
65
- External: "external",
66
- };
67
- /**
68
- * The type of evaluation
69
- */
70
- exports.RequestBodyEvaluationType = {
71
- HumanReview: "human_review",
72
- };
73
- exports.PostV2FeedbackEvaluationRequestBodySource = {
74
- Orq: "orq",
75
- External: "external",
76
- };
77
- /**
78
- * The type of evaluation
79
- */
80
- exports.EvaluationType = {
81
- HumanReview: "human_review",
82
- };
83
- exports.RequestBodySource = {
84
- Orq: "orq",
85
- External: "external",
86
- };
87
- /** @internal */
88
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema = z.nativeEnum(exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType);
89
- /** @internal */
90
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema = z.nativeEnum(exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource);
91
- /** @internal */
92
- exports.RequestBody4$outboundSchema = z.object({
93
- id: z.string(),
94
- evaluationType: exports.PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema,
95
- humanReviewId: z.string().optional(),
96
- source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
97
- .default("orq"),
98
- explanation: z.string().optional(),
99
- reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
100
- .transform(v => v.toISOString()),
101
- type: z.literal("string_array"),
102
- values: z.array(z.string()),
103
- traceId: z.string(),
104
- }).transform((v) => {
105
- return (0, primitives_js_1.remap)(v, {
106
- evaluationType: "evaluation_type",
107
- humanReviewId: "human_review_id",
108
- reviewedAt: "reviewed_at",
109
- traceId: "trace_id",
110
- });
111
- });
112
- function requestBody4ToJSON(requestBody4) {
113
- return JSON.stringify(exports.RequestBody4$outboundSchema.parse(requestBody4));
114
- }
115
- /** @internal */
116
- exports.PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema = z
117
- .nativeEnum(exports.PostV2FeedbackEvaluationRequestBodyEvaluationType);
118
- /** @internal */
119
- exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema = z
120
- .nativeEnum(exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource);
121
- /** @internal */
122
- exports.Three$outboundSchema = z.object({
123
- id: z.string(),
124
- evaluationType: exports.PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema,
125
- humanReviewId: z.string().optional(),
126
- source: exports.PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
127
- .default("orq"),
128
- explanation: z.string().optional(),
129
- reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
130
- .transform(v => v.toISOString()),
131
- type: z.literal("boolean"),
132
- value: z.boolean(),
133
- traceId: z.string(),
134
- }).transform((v) => {
135
- return (0, primitives_js_1.remap)(v, {
136
- evaluationType: "evaluation_type",
137
- humanReviewId: "human_review_id",
138
- reviewedAt: "reviewed_at",
139
- traceId: "trace_id",
140
- });
141
- });
142
- function threeToJSON(three) {
143
- return JSON.stringify(exports.Three$outboundSchema.parse(three));
144
- }
145
- /** @internal */
146
- exports.RequestBodyEvaluationType$outboundSchema = z.nativeEnum(exports.RequestBodyEvaluationType);
147
- /** @internal */
148
- exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema = z
149
- .nativeEnum(exports.PostV2FeedbackEvaluationRequestBodySource);
150
- /** @internal */
151
- exports.RequestBody2$outboundSchema = z.object({
152
- id: z.string(),
153
- evaluationType: exports.RequestBodyEvaluationType$outboundSchema,
154
- humanReviewId: z.string().optional(),
155
- source: exports.PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default("orq"),
156
- explanation: z.string().optional(),
157
- reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.751Z"))
158
- .transform(v => v.toISOString()),
159
- type: z.literal("number"),
160
- value: z.number(),
161
- traceId: z.string(),
162
- }).transform((v) => {
163
- return (0, primitives_js_1.remap)(v, {
164
- evaluationType: "evaluation_type",
165
- humanReviewId: "human_review_id",
166
- reviewedAt: "reviewed_at",
167
- traceId: "trace_id",
168
- });
169
- });
170
- function requestBody2ToJSON(requestBody2) {
171
- return JSON.stringify(exports.RequestBody2$outboundSchema.parse(requestBody2));
172
- }
173
- /** @internal */
174
- exports.EvaluationType$outboundSchema = z.nativeEnum(exports.EvaluationType);
175
- /** @internal */
176
- exports.RequestBodySource$outboundSchema = z.nativeEnum(exports.RequestBodySource);
177
- /** @internal */
178
- exports.RequestBody1$outboundSchema = z.object({
179
- id: z.string(),
180
- evaluationType: exports.EvaluationType$outboundSchema,
181
- humanReviewId: z.string().optional(),
182
- source: exports.RequestBodySource$outboundSchema.default("orq"),
183
- explanation: z.string().optional(),
184
- reviewedAt: z.date().default(() => new Date("2026-10-20T05:21:34.750Z"))
185
- .transform(v => v.toISOString()),
186
- type: z.literal("string"),
187
- value: z.string(),
188
- traceId: z.string(),
189
- }).transform((v) => {
190
- return (0, primitives_js_1.remap)(v, {
191
- evaluationType: "evaluation_type",
192
- humanReviewId: "human_review_id",
193
- reviewedAt: "reviewed_at",
194
- traceId: "trace_id",
195
- });
196
- });
197
- function requestBody1ToJSON(requestBody1) {
198
- return JSON.stringify(exports.RequestBody1$outboundSchema.parse(requestBody1));
199
- }
200
- /** @internal */
201
- exports.PostV2FeedbackEvaluationRequestBody$outboundSchema = z.union([
202
- z.lazy(() => exports.RequestBody1$outboundSchema),
203
- z.lazy(() => exports.RequestBody2$outboundSchema),
204
- z.lazy(() => exports.Three$outboundSchema),
205
- z.lazy(() => exports.RequestBody4$outboundSchema),
206
- ]);
207
- function postV2FeedbackEvaluationRequestBodyToJSON(postV2FeedbackEvaluationRequestBody) {
208
- return JSON.stringify(exports.PostV2FeedbackEvaluationRequestBody$outboundSchema.parse(postV2FeedbackEvaluationRequestBody));
209
- }
210
- //# sourceMappingURL=postv2feedbackevaluation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postv2feedbackevaluation.js","sourceRoot":"","sources":["../../src/models/operations/postv2feedbackevaluation.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmQH,gDAEC;AAoDD,kCAEC;AAoDD,gDAEC;AAkDD,gDAEC;AAqBD,8FAQC;AAhcD,0CAA4B;AAC5B,2DAA0D;AAG1D;;GAEG;AACU,QAAA,yDAAyD,GAAG;IACvE,WAAW,EAAE,cAAc;CACnB,CAAC;AAOE,QAAA,wDAAwD,GAAG;IACtE,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiCX;;GAEG;AACU,QA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M,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,iBAAiB;QAChC,UAAU,EAAE,aAAa;QACzB,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AASD,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;IACzC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;IACzC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAAoB,CAAC;IAClC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;CAC1C,CAAC,CAAC;AAEH,SAAgB,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC"}
@@ -1,14 +0,0 @@
1
- import * as z from "zod/v3";
2
- export type PostV2FeedbackEvaluationRemoveRequestBody = {
3
- id: string;
4
- traceId: string;
5
- };
6
- /** @internal */
7
- export type PostV2FeedbackEvaluationRemoveRequestBody$Outbound = {
8
- id: string;
9
- trace_id: string;
10
- };
11
- /** @internal */
12
- export declare const PostV2FeedbackEvaluationRemoveRequestBody$outboundSchema: z.ZodType<PostV2FeedbackEvaluationRemoveRequestBody$Outbound, z.ZodTypeDef, PostV2FeedbackEvaluationRemoveRequestBody>;
13
- export declare function postV2FeedbackEvaluationRemoveRequestBodyToJSON(postV2FeedbackEvaluationRemoveRequestBody: PostV2FeedbackEvaluationRemoveRequestBody): string;
14
- //# sourceMappingURL=postv2feedbackevaluationremove.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postv2feedbackevaluationremove.d.ts","sourceRoot":"","sources":["../../src/models/operations/postv2feedbackevaluationremove.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,MAAM,yCAAyC,GAAG;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kDAAkD,GAAG;IAC/D,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,yCAAyC,CAQzC,CAAC;AAEL,wBAAgB,+CAA+C,CAC7D,yCAAyC,EACvC,yCAAyC,GAC1C,MAAM,CAMR"}
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PostV2FeedbackEvaluationRemoveRequestBody$outboundSchema = void 0;
40
- exports.postV2FeedbackEvaluationRemoveRequestBodyToJSON = postV2FeedbackEvaluationRemoveRequestBodyToJSON;
41
- const z = __importStar(require("zod/v3"));
42
- const primitives_js_1 = require("../../lib/primitives.js");
43
- /** @internal */
44
- exports.PostV2FeedbackEvaluationRemoveRequestBody$outboundSchema = z.object({
45
- id: z.string(),
46
- traceId: z.string(),
47
- }).transform((v) => {
48
- return (0, primitives_js_1.remap)(v, {
49
- traceId: "trace_id",
50
- });
51
- });
52
- function postV2FeedbackEvaluationRemoveRequestBodyToJSON(postV2FeedbackEvaluationRemoveRequestBody) {
53
- return JSON.stringify(exports.PostV2FeedbackEvaluationRemoveRequestBody$outboundSchema.parse(postV2FeedbackEvaluationRemoveRequestBody));
54
- }
55
- //# sourceMappingURL=postv2feedbackevaluationremove.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postv2feedbackevaluationremove.js","sourceRoot":"","sources":["../../src/models/operations/postv2feedbackevaluationremove.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,0GASC;AAtCD,0CAA4B;AAC5B,2DAA0D;AAa1D,gBAAgB;AACH,QAAA,wDAAwD,GAK/D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,+CAA+C,CAC7D,yCAC2C;IAE3C,OAAO,IAAI,CAAC,SAAS,CACnB,gEAAwD,CAAC,KAAK,CAC5D,yCAAyC,CAC1C,CACF,CAAC;AACJ,CAAC"}
@@ -1,173 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqCore } from "../core.js";
7
- import { encodeJSON } from "../lib/encodings.js";
8
- import { matchStatusCode } from "../lib/http.js";
9
- import * as M from "../lib/matchers.js";
10
- import { compactMap } from "../lib/primitives.js";
11
- import { safeParse } from "../lib/schemas.js";
12
- import { RequestOptions } from "../lib/sdks.js";
13
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
14
- import { pathToFunc } from "../lib/url.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import * as errors from "../models/errors/index.js";
23
- import { OrqError } from "../models/errors/orqerror.js";
24
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
25
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
26
- import * as operations from "../models/operations/index.js";
27
- import { APICall, APIPromise } from "../types/async.js";
28
- import { Result } from "../types/fp.js";
29
-
30
- /**
31
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
32
- */
33
- export function feedbackCreateEvaluation(
34
- client: OrqCore,
35
- request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
36
- options?: RequestOptions,
37
- ): APIPromise<
38
- Result<
39
- void,
40
- | errors.ErrorResponse
41
- | OrqError
42
- | ResponseValidationError
43
- | ConnectionError
44
- | RequestAbortedError
45
- | RequestTimeoutError
46
- | InvalidRequestError
47
- | UnexpectedClientError
48
- | SDKValidationError
49
- >
50
- > {
51
- return new APIPromise($do(
52
- client,
53
- request,
54
- options,
55
- ));
56
- }
57
-
58
- async function $do(
59
- client: OrqCore,
60
- request?: operations.PostV2FeedbackEvaluationRequestBody | undefined,
61
- options?: RequestOptions,
62
- ): Promise<
63
- [
64
- Result<
65
- void,
66
- | errors.ErrorResponse
67
- | OrqError
68
- | ResponseValidationError
69
- | ConnectionError
70
- | RequestAbortedError
71
- | RequestTimeoutError
72
- | InvalidRequestError
73
- | UnexpectedClientError
74
- | SDKValidationError
75
- >,
76
- APICall,
77
- ]
78
- > {
79
- const parsed = safeParse(
80
- request,
81
- (value) =>
82
- operations.PostV2FeedbackEvaluationRequestBody$outboundSchema.optional()
83
- .parse(value),
84
- "Input validation failed",
85
- );
86
- if (!parsed.ok) {
87
- return [parsed, { status: "invalid" }];
88
- }
89
- const payload = parsed.value;
90
- const body = payload === undefined
91
- ? null
92
- : encodeJSON("body", payload, { explode: true });
93
-
94
- const path = pathToFunc("/v2/feedback/evaluation")();
95
-
96
- const headers = new Headers(compactMap({
97
- "Content-Type": "application/json",
98
- Accept: "application/json",
99
- }));
100
-
101
- const secConfig = await extractSecurity(client._options.apiKey);
102
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
103
- const requestSecurity = resolveGlobalSecurity(securityInput);
104
-
105
- const context = {
106
- options: client._options,
107
- baseURL: options?.serverURL ?? client._baseURL ?? "",
108
- operationID: "post_/v2/feedback/evaluation",
109
- oAuth2Scopes: null,
110
-
111
- resolvedSecurity: requestSecurity,
112
-
113
- securitySource: client._options.apiKey,
114
- retryConfig: options?.retries
115
- || client._options.retryConfig
116
- || { strategy: "none" },
117
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
118
- };
119
-
120
- const requestRes = client._createRequest(context, {
121
- security: requestSecurity,
122
- method: "POST",
123
- baseURL: options?.serverURL,
124
- path: path,
125
- headers: headers,
126
- body: body,
127
- userAgent: client._options.userAgent,
128
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
129
- }, options);
130
- if (!requestRes.ok) {
131
- return [requestRes, { status: "invalid" }];
132
- }
133
- const req = requestRes.value;
134
-
135
- const doResult = await client._do(req, {
136
- context,
137
- isErrorStatusCode: (statusCode: number) =>
138
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
139
- retryConfig: context.retryConfig,
140
- retryCodes: context.retryCodes,
141
- });
142
- if (!doResult.ok) {
143
- return [doResult, { status: "request-error", request: req }];
144
- }
145
- const response = doResult.value;
146
-
147
- const responseFields = {
148
- HttpMeta: { Response: response, Request: req },
149
- };
150
-
151
- const [result] = await M.match<
152
- void,
153
- | errors.ErrorResponse
154
- | OrqError
155
- | ResponseValidationError
156
- | ConnectionError
157
- | RequestAbortedError
158
- | RequestTimeoutError
159
- | InvalidRequestError
160
- | UnexpectedClientError
161
- | SDKValidationError
162
- >(
163
- M.nil(200, z.void()),
164
- M.jsonErr(401, errors.ErrorResponse$inboundSchema),
165
- M.fail("4XX"),
166
- M.fail("5XX"),
167
- )(response, req, { extraFields: responseFields });
168
- if (!result.ok) {
169
- return [result, { status: "complete", request: req, response }];
170
- }
171
-
172
- return [result, { status: "complete", request: req, response }];
173
- }
@@ -1,173 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { OrqCore } from "../core.js";
7
- import { encodeJSON } from "../lib/encodings.js";
8
- import { matchStatusCode } from "../lib/http.js";
9
- import * as M from "../lib/matchers.js";
10
- import { compactMap } from "../lib/primitives.js";
11
- import { safeParse } from "../lib/schemas.js";
12
- import { RequestOptions } from "../lib/sdks.js";
13
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
14
- import { pathToFunc } from "../lib/url.js";
15
- import {
16
- ConnectionError,
17
- InvalidRequestError,
18
- RequestAbortedError,
19
- RequestTimeoutError,
20
- UnexpectedClientError,
21
- } from "../models/errors/httpclienterrors.js";
22
- import * as errors from "../models/errors/index.js";
23
- import { OrqError } from "../models/errors/orqerror.js";
24
- import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
25
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
26
- import * as operations from "../models/operations/index.js";
27
- import { APICall, APIPromise } from "../types/async.js";
28
- import { Result } from "../types/fp.js";
29
-
30
- /**
31
- * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
32
- */
33
- export function feedbackRemoveEvaluation(
34
- client: OrqCore,
35
- request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
36
- options?: RequestOptions,
37
- ): APIPromise<
38
- Result<
39
- void,
40
- | errors.ErrorResponse
41
- | OrqError
42
- | ResponseValidationError
43
- | ConnectionError
44
- | RequestAbortedError
45
- | RequestTimeoutError
46
- | InvalidRequestError
47
- | UnexpectedClientError
48
- | SDKValidationError
49
- >
50
- > {
51
- return new APIPromise($do(
52
- client,
53
- request,
54
- options,
55
- ));
56
- }
57
-
58
- async function $do(
59
- client: OrqCore,
60
- request?: operations.PostV2FeedbackEvaluationRemoveRequestBody | undefined,
61
- options?: RequestOptions,
62
- ): Promise<
63
- [
64
- Result<
65
- void,
66
- | errors.ErrorResponse
67
- | OrqError
68
- | ResponseValidationError
69
- | ConnectionError
70
- | RequestAbortedError
71
- | RequestTimeoutError
72
- | InvalidRequestError
73
- | UnexpectedClientError
74
- | SDKValidationError
75
- >,
76
- APICall,
77
- ]
78
- > {
79
- const parsed = safeParse(
80
- request,
81
- (value) =>
82
- operations.PostV2FeedbackEvaluationRemoveRequestBody$outboundSchema
83
- .optional().parse(value),
84
- "Input validation failed",
85
- );
86
- if (!parsed.ok) {
87
- return [parsed, { status: "invalid" }];
88
- }
89
- const payload = parsed.value;
90
- const body = payload === undefined
91
- ? null
92
- : encodeJSON("body", payload, { explode: true });
93
-
94
- const path = pathToFunc("/v2/feedback/evaluation/remove")();
95
-
96
- const headers = new Headers(compactMap({
97
- "Content-Type": "application/json",
98
- Accept: "application/json",
99
- }));
100
-
101
- const secConfig = await extractSecurity(client._options.apiKey);
102
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
103
- const requestSecurity = resolveGlobalSecurity(securityInput);
104
-
105
- const context = {
106
- options: client._options,
107
- baseURL: options?.serverURL ?? client._baseURL ?? "",
108
- operationID: "post_/v2/feedback/evaluation/remove",
109
- oAuth2Scopes: null,
110
-
111
- resolvedSecurity: requestSecurity,
112
-
113
- securitySource: client._options.apiKey,
114
- retryConfig: options?.retries
115
- || client._options.retryConfig
116
- || { strategy: "none" },
117
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
118
- };
119
-
120
- const requestRes = client._createRequest(context, {
121
- security: requestSecurity,
122
- method: "POST",
123
- baseURL: options?.serverURL,
124
- path: path,
125
- headers: headers,
126
- body: body,
127
- userAgent: client._options.userAgent,
128
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
129
- }, options);
130
- if (!requestRes.ok) {
131
- return [requestRes, { status: "invalid" }];
132
- }
133
- const req = requestRes.value;
134
-
135
- const doResult = await client._do(req, {
136
- context,
137
- isErrorStatusCode: (statusCode: number) =>
138
- matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
139
- retryConfig: context.retryConfig,
140
- retryCodes: context.retryCodes,
141
- });
142
- if (!doResult.ok) {
143
- return [doResult, { status: "request-error", request: req }];
144
- }
145
- const response = doResult.value;
146
-
147
- const responseFields = {
148
- HttpMeta: { Response: response, Request: req },
149
- };
150
-
151
- const [result] = await M.match<
152
- void,
153
- | errors.ErrorResponse
154
- | OrqError
155
- | ResponseValidationError
156
- | ConnectionError
157
- | RequestAbortedError
158
- | RequestTimeoutError
159
- | InvalidRequestError
160
- | UnexpectedClientError
161
- | SDKValidationError
162
- >(
163
- M.nil(200, z.void()),
164
- M.jsonErr(401, errors.ErrorResponse$inboundSchema),
165
- M.fail("4XX"),
166
- M.fail("5XX"),
167
- )(response, req, { extraFields: responseFields });
168
- if (!result.ok) {
169
- return [result, { status: "complete", request: req, response }];
170
- }
171
-
172
- return [result, { status: "complete", request: req, response }];
173
- }