@orq-ai/node 4.2.0 → 4.2.4
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/FUNCTIONS.md +17 -7
- package/README.md +125 -70
- package/examples/contactsCreate.example.ts +42 -0
- package/examples/package-lock.json +1 -1
- package/funcs/contactsCreate.d.ts +3 -5
- package/funcs/contactsCreate.d.ts.map +1 -1
- package/funcs/contactsCreate.js +5 -9
- package/funcs/contactsCreate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/conversationresponse.js +1 -1
- package/models/components/conversationwithmessagesresponse.js +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +6 -0
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +2 -0
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/partdoneevent.js +1 -1
- package/models/components/publiccontact.d.ts +3 -1
- package/models/components/publiccontact.d.ts.map +1 -1
- package/models/components/publiccontact.js.map +1 -1
- package/models/components/publicidentity.d.ts +47 -0
- package/models/components/publicidentity.d.ts.map +1 -0
- package/models/{operations/deletecontact.js → components/publicidentity.js} +17 -6
- package/models/components/publicidentity.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/errors/index.d.ts +0 -3
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -3
- package/models/errors/index.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +9 -51
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +5 -24
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createcompletion.d.ts +9 -51
- package/models/operations/createcompletion.d.ts.map +1 -1
- package/models/operations/createcompletion.js +4 -22
- package/models/operations/createcompletion.js.map +1 -1
- package/models/operations/createcontact.d.ts +2 -6
- package/models/operations/createcontact.d.ts.map +1 -1
- package/models/operations/createcontact.js +1 -3
- package/models/operations/createcontact.js.map +1 -1
- package/models/operations/createconversation.js +1 -1
- package/models/operations/createconversationresponse.js +2 -2
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createembedding.d.ts +9 -51
- package/models/operations/createembedding.d.ts.map +1 -1
- package/models/operations/createembedding.js +3 -21
- package/models/operations/createembedding.js.map +1 -1
- package/models/operations/createeval.js +14 -14
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +9 -51
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +3 -21
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createimageedit.d.ts +9 -51
- package/models/operations/createimageedit.d.ts.map +1 -1
- package/models/operations/createimageedit.js +3 -21
- package/models/operations/createimageedit.js.map +1 -1
- package/models/operations/createimagevariation.d.ts +9 -51
- package/models/operations/createimagevariation.d.ts.map +1 -1
- package/models/operations/createimagevariation.js +3 -21
- package/models/operations/createimagevariation.js.map +1 -1
- package/models/operations/creatererank.d.ts +9 -51
- package/models/operations/creatererank.d.ts.map +1 -1
- package/models/operations/creatererank.js +3 -21
- package/models/operations/creatererank.js.map +1 -1
- package/models/operations/createspeech.d.ts +9 -51
- package/models/operations/createspeech.d.ts.map +1 -1
- package/models/operations/createspeech.js +3 -21
- package/models/operations/createspeech.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/createtranscription.d.ts +9 -51
- package/models/operations/createtranscription.d.ts.map +1 -1
- package/models/operations/createtranscription.js +3 -21
- package/models/operations/createtranscription.js.map +1 -1
- package/models/operations/createtranslation.d.ts +9 -51
- package/models/operations/createtranslation.d.ts.map +1 -1
- package/models/operations/createtranslation.js +3 -21
- package/models/operations/createtranslation.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +5 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +5 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/generateconversationname.js +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.d.ts +7 -7
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +25 -23
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/index.d.ts +0 -4
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -4
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateconversation.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +14 -14
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/examples/contactsCreate.example.ts +42 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/contactsCreate.ts +7 -14
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/conversationresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/conversationwithmessagesresponse.ts +1 -1
- package/packages/orq-rc/src/models/components/index.ts +1 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +11 -0
- package/packages/orq-rc/src/models/components/partdoneevent.ts +1 -1
- package/packages/orq-rc/src/models/components/publiccontact.ts +3 -1
- package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +0 -3
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +11 -78
- package/packages/orq-rc/src/models/operations/createcompletion.ts +11 -75
- package/packages/orq-rc/src/models/operations/createcontact.ts +3 -9
- package/packages/orq-rc/src/models/operations/createconversation.ts +1 -1
- package/packages/orq-rc/src/models/operations/createconversationresponse.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createembedding.ts +11 -75
- package/packages/orq-rc/src/models/operations/createeval.ts +14 -14
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createimage.ts +11 -75
- package/packages/orq-rc/src/models/operations/createimageedit.ts +11 -75
- package/packages/orq-rc/src/models/operations/createimagevariation.ts +11 -77
- package/packages/orq-rc/src/models/operations/creatererank.ts +11 -75
- package/packages/orq-rc/src/models/operations/createspeech.ts +11 -75
- package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/createtranscription.ts +11 -75
- package/packages/orq-rc/src/models/operations/createtranslation.ts +11 -75
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +1 -1
- package/packages/orq-rc/src/models/operations/filelist.ts +1 -1
- package/packages/orq-rc/src/models/operations/fileupload.ts +1 -1
- package/packages/orq-rc/src/models/operations/generateconversationname.ts +1 -1
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +35 -39
- package/packages/orq-rc/src/models/operations/index.ts +0 -4
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateconversation.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +14 -14
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/contacts.ts +3 -85
- package/sdk/contacts.d.ts +3 -41
- package/sdk/contacts.d.ts.map +1 -1
- package/sdk/contacts.js +2 -52
- package/sdk/contacts.js.map +1 -1
- package/src/funcs/contactsCreate.ts +7 -14
- package/src/lib/config.ts +2 -2
- package/src/models/components/conversationresponse.ts +1 -1
- package/src/models/components/conversationwithmessagesresponse.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/invokedeploymentrequest.ts +11 -0
- package/src/models/components/partdoneevent.ts +1 -1
- package/src/models/components/publiccontact.ts +3 -1
- package/src/models/components/publicidentity.ts +69 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/errors/index.ts +0 -3
- package/src/models/operations/createchatcompletion.ts +11 -78
- package/src/models/operations/createcompletion.ts +11 -75
- package/src/models/operations/createcontact.ts +3 -9
- package/src/models/operations/createconversation.ts +1 -1
- package/src/models/operations/createconversationresponse.ts +2 -2
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createembedding.ts +11 -75
- package/src/models/operations/createeval.ts +14 -14
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +11 -75
- package/src/models/operations/createimageedit.ts +11 -75
- package/src/models/operations/createimagevariation.ts +11 -77
- package/src/models/operations/creatererank.ts +11 -75
- package/src/models/operations/createspeech.ts +11 -75
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/createtranscription.ts +11 -75
- package/src/models/operations/createtranslation.ts +11 -75
- package/src/models/operations/deploymentgetconfig.ts +6 -0
- package/src/models/operations/deploymentstream.ts +6 -0
- package/src/models/operations/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/generateconversationname.ts +1 -1
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +35 -39
- package/src/models/operations/index.ts +0 -4
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateconversation.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +14 -14
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/contacts.ts +3 -85
- package/examples/feedbackCreate.example.ts +0 -32
- package/funcs/contactsDelete.d.ts +0 -20
- package/funcs/contactsDelete.d.ts.map +0 -1
- package/funcs/contactsDelete.js +0 -126
- package/funcs/contactsDelete.js.map +0 -1
- package/funcs/contactsList.d.ts +0 -19
- package/funcs/contactsList.d.ts.map +0 -1
- package/funcs/contactsList.js +0 -124
- package/funcs/contactsList.js.map +0 -1
- package/funcs/contactsRetrieve.d.ts +0 -20
- package/funcs/contactsRetrieve.d.ts.map +0 -1
- package/funcs/contactsRetrieve.js +0 -125
- package/funcs/contactsRetrieve.js.map +0 -1
- package/funcs/contactsUpdate.d.ts +0 -20
- package/funcs/contactsUpdate.d.ts.map +0 -1
- package/funcs/contactsUpdate.js +0 -126
- package/funcs/contactsUpdate.js.map +0 -1
- package/models/errors/deletecontact.d.ts +0 -30
- package/models/errors/deletecontact.d.ts.map +0 -1
- package/models/errors/deletecontact.js +0 -71
- package/models/errors/deletecontact.js.map +0 -1
- package/models/errors/retrievecontact.d.ts +0 -30
- package/models/errors/retrievecontact.d.ts.map +0 -1
- package/models/errors/retrievecontact.js +0 -71
- package/models/errors/retrievecontact.js.map +0 -1
- package/models/errors/updatecontact.d.ts +0 -26
- package/models/errors/updatecontact.d.ts.map +0 -1
- package/models/errors/updatecontact.js +0 -68
- package/models/errors/updatecontact.js.map +0 -1
- package/models/operations/deletecontact.d.ts +0 -15
- package/models/operations/deletecontact.d.ts.map +0 -1
- package/models/operations/deletecontact.js.map +0 -1
- package/models/operations/listcontacts.d.ts +0 -138
- package/models/operations/listcontacts.d.ts.map +0 -1
- package/models/operations/listcontacts.js +0 -136
- package/models/operations/listcontacts.js.map +0 -1
- package/models/operations/retrievecontact.d.ts +0 -63
- package/models/operations/retrievecontact.d.ts.map +0 -1
- package/models/operations/retrievecontact.js +0 -75
- package/models/operations/retrievecontact.js.map +0 -1
- package/models/operations/updatecontact.d.ts +0 -108
- package/models/operations/updatecontact.d.ts.map +0 -1
- package/models/operations/updatecontact.js +0 -97
- package/models/operations/updatecontact.js.map +0 -1
- package/packages/orq-rc/examples/feedbackCreate.example.ts +0 -32
- package/packages/orq-rc/src/funcs/contactsDelete.ts +0 -178
- package/packages/orq-rc/src/funcs/contactsList.ts +0 -172
- package/packages/orq-rc/src/funcs/contactsRetrieve.ts +0 -177
- package/packages/orq-rc/src/funcs/contactsUpdate.ts +0 -178
- package/packages/orq-rc/src/models/errors/deletecontact.ts +0 -62
- package/packages/orq-rc/src/models/errors/retrievecontact.ts +0 -62
- package/packages/orq-rc/src/models/errors/updatecontact.ts +0 -54
- package/packages/orq-rc/src/models/operations/deletecontact.ts +0 -34
- package/packages/orq-rc/src/models/operations/listcontacts.ts +0 -274
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +0 -117
- package/packages/orq-rc/src/models/operations/updatecontact.ts +0 -188
- package/src/funcs/contactsDelete.ts +0 -178
- package/src/funcs/contactsList.ts +0 -172
- package/src/funcs/contactsRetrieve.ts +0 -177
- package/src/funcs/contactsUpdate.ts +0 -178
- package/src/models/errors/deletecontact.ts +0 -62
- package/src/models/errors/retrievecontact.ts +0 -62
- package/src/models/errors/updatecontact.ts +0 -54
- package/src/models/operations/deletecontact.ts +0 -34
- package/src/models/operations/listcontacts.ts +0 -274
- package/src/models/operations/retrievecontact.ts +0 -117
- package/src/models/operations/updatecontact.ts +0 -188
|
@@ -1569,8 +1569,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
1569
1569
|
> = z.object({
|
|
1570
1570
|
_id: z.string(),
|
|
1571
1571
|
description: z.string(),
|
|
1572
|
-
created: z.string().default("2026-01-
|
|
1573
|
-
updated: z.string().default("2026-01-
|
|
1572
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
1573
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
1574
1574
|
guardrail_config: z.union([
|
|
1575
1575
|
z.lazy(() =>
|
|
1576
1576
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -1712,8 +1712,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
1712
1712
|
.object({
|
|
1713
1713
|
_id: z.string(),
|
|
1714
1714
|
description: z.string(),
|
|
1715
|
-
created: z.string().default("2026-01-
|
|
1716
|
-
updated: z.string().default("2026-01-
|
|
1715
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
1716
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
1717
1717
|
guardrail_config: z.union([
|
|
1718
1718
|
z.lazy(() =>
|
|
1719
1719
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -2491,8 +2491,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2491
2491
|
> = z.object({
|
|
2492
2492
|
_id: z.string(),
|
|
2493
2493
|
description: z.string(),
|
|
2494
|
-
created: z.string().default("2026-01-
|
|
2495
|
-
updated: z.string().default("2026-01-
|
|
2494
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2495
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2496
2496
|
guardrail_config: z.union([
|
|
2497
2497
|
z.lazy(() =>
|
|
2498
2498
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema
|
|
@@ -2668,8 +2668,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2668
2668
|
> = z.object({
|
|
2669
2669
|
_id: z.string(),
|
|
2670
2670
|
description: z.string(),
|
|
2671
|
-
created: z.string().default("2026-01-
|
|
2672
|
-
updated: z.string().default("2026-01-
|
|
2671
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2672
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2673
2673
|
guardrail_config: z.union([
|
|
2674
2674
|
z.lazy(() =>
|
|
2675
2675
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -2813,8 +2813,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2813
2813
|
> = z.object({
|
|
2814
2814
|
_id: z.string(),
|
|
2815
2815
|
description: z.string(),
|
|
2816
|
-
created: z.string().default("2026-01-
|
|
2817
|
-
updated: z.string().default("2026-01-
|
|
2816
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2817
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2818
2818
|
guardrail_config: z.union([
|
|
2819
2819
|
z.lazy(() =>
|
|
2820
2820
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -2947,8 +2947,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
2947
2947
|
> = z.object({
|
|
2948
2948
|
_id: z.string(),
|
|
2949
2949
|
description: z.string(),
|
|
2950
|
-
created: z.string().default("2026-01-
|
|
2951
|
-
updated: z.string().default("2026-01-
|
|
2950
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2951
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
2952
2952
|
guardrail_config: z.union([
|
|
2953
2953
|
z.lazy(() =>
|
|
2954
2954
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3075,8 +3075,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3075
3075
|
> = z.object({
|
|
3076
3076
|
_id: z.string(),
|
|
3077
3077
|
description: z.string(),
|
|
3078
|
-
created: z.string().default("2026-01-
|
|
3079
|
-
updated: z.string().default("2026-01-
|
|
3078
|
+
created: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
3079
|
+
updated: z.string().default("2026-01-24T23:05:33.746Z"),
|
|
3080
3080
|
guardrail_config: z.union([
|
|
3081
3081
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3082
3082
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-01-
|
|
142
|
+
"2026-01-24T23:05:31.950Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -111,38 +111,6 @@ export type CreateImageFallbacks = {
|
|
|
111
111
|
model: string;
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
116
|
-
*
|
|
117
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
118
|
-
*/
|
|
119
|
-
export type CreateImageContact = {
|
|
120
|
-
/**
|
|
121
|
-
* Unique identifier for the contact
|
|
122
|
-
*/
|
|
123
|
-
id: string;
|
|
124
|
-
/**
|
|
125
|
-
* Display name of the contact
|
|
126
|
-
*/
|
|
127
|
-
displayName?: string | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Email address of the contact
|
|
130
|
-
*/
|
|
131
|
-
email?: string | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
134
|
-
*/
|
|
135
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* URL to the contact's avatar or logo
|
|
138
|
-
*/
|
|
139
|
-
logoUrl?: string | undefined;
|
|
140
|
-
/**
|
|
141
|
-
* A list of tags associated with the contact
|
|
142
|
-
*/
|
|
143
|
-
tags?: Array<string> | undefined;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
114
|
export const CreateImageType = {
|
|
147
115
|
ExactMatch: "exact_match",
|
|
148
116
|
} as const;
|
|
@@ -213,8 +181,13 @@ export type CreateImageOrq = {
|
|
|
213
181
|
/**
|
|
214
182
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
215
183
|
*/
|
|
216
|
-
identity?: components.
|
|
217
|
-
|
|
184
|
+
identity?: components.PublicIdentity | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
189
|
+
*/
|
|
190
|
+
contact?: components.PublicContact | undefined;
|
|
218
191
|
/**
|
|
219
192
|
* Cache configuration for the request.
|
|
220
193
|
*/
|
|
@@ -398,43 +371,6 @@ export function createImageFallbacksToJSON(
|
|
|
398
371
|
);
|
|
399
372
|
}
|
|
400
373
|
|
|
401
|
-
/** @internal */
|
|
402
|
-
export type CreateImageContact$Outbound = {
|
|
403
|
-
id: string;
|
|
404
|
-
display_name?: string | undefined;
|
|
405
|
-
email?: string | undefined;
|
|
406
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
407
|
-
logo_url?: string | undefined;
|
|
408
|
-
tags?: Array<string> | undefined;
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
/** @internal */
|
|
412
|
-
export const CreateImageContact$outboundSchema: z.ZodType<
|
|
413
|
-
CreateImageContact$Outbound,
|
|
414
|
-
z.ZodTypeDef,
|
|
415
|
-
CreateImageContact
|
|
416
|
-
> = z.object({
|
|
417
|
-
id: z.string(),
|
|
418
|
-
displayName: z.string().optional(),
|
|
419
|
-
email: z.string().optional(),
|
|
420
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
421
|
-
logoUrl: z.string().optional(),
|
|
422
|
-
tags: z.array(z.string()).optional(),
|
|
423
|
-
}).transform((v) => {
|
|
424
|
-
return remap$(v, {
|
|
425
|
-
displayName: "display_name",
|
|
426
|
-
logoUrl: "logo_url",
|
|
427
|
-
});
|
|
428
|
-
});
|
|
429
|
-
|
|
430
|
-
export function createImageContactToJSON(
|
|
431
|
-
createImageContact: CreateImageContact,
|
|
432
|
-
): string {
|
|
433
|
-
return JSON.stringify(
|
|
434
|
-
CreateImageContact$outboundSchema.parse(createImageContact),
|
|
435
|
-
);
|
|
436
|
-
}
|
|
437
|
-
|
|
438
374
|
/** @internal */
|
|
439
375
|
export const CreateImageType$outboundSchema: z.ZodNativeEnum<
|
|
440
376
|
typeof CreateImageType
|
|
@@ -569,8 +505,8 @@ export type CreateImageOrq$Outbound = {
|
|
|
569
505
|
name?: string | undefined;
|
|
570
506
|
retry?: CreateImageRetry$Outbound | undefined;
|
|
571
507
|
fallbacks?: Array<CreateImageFallbacks$Outbound> | undefined;
|
|
572
|
-
identity?: components.
|
|
573
|
-
contact?:
|
|
508
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
509
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
574
510
|
cache?: CreateImageCache$Outbound | undefined;
|
|
575
511
|
load_balancer?: CreateImageLoadBalancer1$Outbound | undefined;
|
|
576
512
|
timeout?: CreateImageTimeout$Outbound | undefined;
|
|
@@ -586,8 +522,8 @@ export const CreateImageOrq$outboundSchema: z.ZodType<
|
|
|
586
522
|
retry: z.lazy(() => CreateImageRetry$outboundSchema).optional(),
|
|
587
523
|
fallbacks: z.array(z.lazy(() => CreateImageFallbacks$outboundSchema))
|
|
588
524
|
.optional(),
|
|
589
|
-
identity: components.
|
|
590
|
-
contact:
|
|
525
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
526
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
591
527
|
cache: z.lazy(() => CreateImageCache$outboundSchema).optional(),
|
|
592
528
|
loadBalancer: z.lazy(() => CreateImageLoadBalancer1$outboundSchema)
|
|
593
529
|
.optional(),
|
|
@@ -85,38 +85,6 @@ export type CreateImageEditPrompt = {
|
|
|
85
85
|
version: CreateImageEditVersion;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
90
|
-
*
|
|
91
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
92
|
-
*/
|
|
93
|
-
export type CreateImageEditContact = {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the contact
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* Display name of the contact
|
|
100
|
-
*/
|
|
101
|
-
displayName?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* Email address of the contact
|
|
104
|
-
*/
|
|
105
|
-
email?: string | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
108
|
-
*/
|
|
109
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* URL to the contact's avatar or logo
|
|
112
|
-
*/
|
|
113
|
-
logoUrl?: string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* A list of tags associated with the contact
|
|
116
|
-
*/
|
|
117
|
-
tags?: Array<string> | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
88
|
export const CreateImageEditType = {
|
|
121
89
|
ExactMatch: "exact_match",
|
|
122
90
|
} as const;
|
|
@@ -191,8 +159,13 @@ export type CreateImageEditOrq = {
|
|
|
191
159
|
/**
|
|
192
160
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
193
161
|
*/
|
|
194
|
-
identity?: components.
|
|
195
|
-
|
|
162
|
+
identity?: components.PublicIdentity | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
165
|
+
*
|
|
166
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
167
|
+
*/
|
|
168
|
+
contact?: components.PublicContact | undefined;
|
|
196
169
|
/**
|
|
197
170
|
* Cache configuration for the request.
|
|
198
171
|
*/
|
|
@@ -409,43 +382,6 @@ export function createImageEditPromptToJSON(
|
|
|
409
382
|
);
|
|
410
383
|
}
|
|
411
384
|
|
|
412
|
-
/** @internal */
|
|
413
|
-
export type CreateImageEditContact$Outbound = {
|
|
414
|
-
id: string;
|
|
415
|
-
display_name?: string | undefined;
|
|
416
|
-
email?: string | undefined;
|
|
417
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
418
|
-
logo_url?: string | undefined;
|
|
419
|
-
tags?: Array<string> | undefined;
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
/** @internal */
|
|
423
|
-
export const CreateImageEditContact$outboundSchema: z.ZodType<
|
|
424
|
-
CreateImageEditContact$Outbound,
|
|
425
|
-
z.ZodTypeDef,
|
|
426
|
-
CreateImageEditContact
|
|
427
|
-
> = z.object({
|
|
428
|
-
id: z.string(),
|
|
429
|
-
displayName: z.string().optional(),
|
|
430
|
-
email: z.string().optional(),
|
|
431
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
432
|
-
logoUrl: z.string().optional(),
|
|
433
|
-
tags: z.array(z.string()).optional(),
|
|
434
|
-
}).transform((v) => {
|
|
435
|
-
return remap$(v, {
|
|
436
|
-
displayName: "display_name",
|
|
437
|
-
logoUrl: "logo_url",
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
|
|
441
|
-
export function createImageEditContactToJSON(
|
|
442
|
-
createImageEditContact: CreateImageEditContact,
|
|
443
|
-
): string {
|
|
444
|
-
return JSON.stringify(
|
|
445
|
-
CreateImageEditContact$outboundSchema.parse(createImageEditContact),
|
|
446
|
-
);
|
|
447
|
-
}
|
|
448
|
-
|
|
449
385
|
/** @internal */
|
|
450
386
|
export const CreateImageEditType$outboundSchema: z.ZodNativeEnum<
|
|
451
387
|
typeof CreateImageEditType
|
|
@@ -587,8 +523,8 @@ export type CreateImageEditOrq$Outbound = {
|
|
|
587
523
|
retry?: CreateImageEditRetry$Outbound | undefined;
|
|
588
524
|
fallbacks?: Array<CreateImageEditFallbacks$Outbound> | undefined;
|
|
589
525
|
prompt?: CreateImageEditPrompt$Outbound | undefined;
|
|
590
|
-
identity?: components.
|
|
591
|
-
contact?:
|
|
526
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
527
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
592
528
|
cache?: CreateImageEditCache$Outbound | undefined;
|
|
593
529
|
load_balancer?: CreateImageEditLoadBalancer1$Outbound | undefined;
|
|
594
530
|
timeout?: CreateImageEditTimeout$Outbound | undefined;
|
|
@@ -605,8 +541,8 @@ export const CreateImageEditOrq$outboundSchema: z.ZodType<
|
|
|
605
541
|
fallbacks: z.array(z.lazy(() => CreateImageEditFallbacks$outboundSchema))
|
|
606
542
|
.optional(),
|
|
607
543
|
prompt: z.lazy(() => CreateImageEditPrompt$outboundSchema).optional(),
|
|
608
|
-
identity: components.
|
|
609
|
-
contact:
|
|
544
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
545
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
610
546
|
cache: z.lazy(() => CreateImageEditCache$outboundSchema).optional(),
|
|
611
547
|
loadBalancer: z.lazy(() => CreateImageEditLoadBalancer1$outboundSchema)
|
|
612
548
|
.optional(),
|
|
@@ -85,38 +85,6 @@ export type CreateImageVariationPrompt = {
|
|
|
85
85
|
version: CreateImageVariationVersion;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
90
|
-
*
|
|
91
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
92
|
-
*/
|
|
93
|
-
export type CreateImageVariationContact = {
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier for the contact
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* Display name of the contact
|
|
100
|
-
*/
|
|
101
|
-
displayName?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* Email address of the contact
|
|
104
|
-
*/
|
|
105
|
-
email?: string | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
108
|
-
*/
|
|
109
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* URL to the contact's avatar or logo
|
|
112
|
-
*/
|
|
113
|
-
logoUrl?: string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* A list of tags associated with the contact
|
|
116
|
-
*/
|
|
117
|
-
tags?: Array<string> | undefined;
|
|
118
|
-
};
|
|
119
|
-
|
|
120
88
|
export const CreateImageVariationType = {
|
|
121
89
|
ExactMatch: "exact_match",
|
|
122
90
|
} as const;
|
|
@@ -194,8 +162,13 @@ export type CreateImageVariationOrq = {
|
|
|
194
162
|
/**
|
|
195
163
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
196
164
|
*/
|
|
197
|
-
identity?: components.
|
|
198
|
-
|
|
165
|
+
identity?: components.PublicIdentity | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
168
|
+
*
|
|
169
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
170
|
+
*/
|
|
171
|
+
contact?: components.PublicContact | undefined;
|
|
199
172
|
/**
|
|
200
173
|
* Cache configuration for the request.
|
|
201
174
|
*/
|
|
@@ -409,45 +382,6 @@ export function createImageVariationPromptToJSON(
|
|
|
409
382
|
);
|
|
410
383
|
}
|
|
411
384
|
|
|
412
|
-
/** @internal */
|
|
413
|
-
export type CreateImageVariationContact$Outbound = {
|
|
414
|
-
id: string;
|
|
415
|
-
display_name?: string | undefined;
|
|
416
|
-
email?: string | undefined;
|
|
417
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
418
|
-
logo_url?: string | undefined;
|
|
419
|
-
tags?: Array<string> | undefined;
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
/** @internal */
|
|
423
|
-
export const CreateImageVariationContact$outboundSchema: z.ZodType<
|
|
424
|
-
CreateImageVariationContact$Outbound,
|
|
425
|
-
z.ZodTypeDef,
|
|
426
|
-
CreateImageVariationContact
|
|
427
|
-
> = z.object({
|
|
428
|
-
id: z.string(),
|
|
429
|
-
displayName: z.string().optional(),
|
|
430
|
-
email: z.string().optional(),
|
|
431
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
432
|
-
logoUrl: z.string().optional(),
|
|
433
|
-
tags: z.array(z.string()).optional(),
|
|
434
|
-
}).transform((v) => {
|
|
435
|
-
return remap$(v, {
|
|
436
|
-
displayName: "display_name",
|
|
437
|
-
logoUrl: "logo_url",
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
|
|
441
|
-
export function createImageVariationContactToJSON(
|
|
442
|
-
createImageVariationContact: CreateImageVariationContact,
|
|
443
|
-
): string {
|
|
444
|
-
return JSON.stringify(
|
|
445
|
-
CreateImageVariationContact$outboundSchema.parse(
|
|
446
|
-
createImageVariationContact,
|
|
447
|
-
),
|
|
448
|
-
);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
385
|
/** @internal */
|
|
452
386
|
export const CreateImageVariationType$outboundSchema: z.ZodNativeEnum<
|
|
453
387
|
typeof CreateImageVariationType
|
|
@@ -593,8 +527,8 @@ export type CreateImageVariationOrq$Outbound = {
|
|
|
593
527
|
retry?: CreateImageVariationRetry$Outbound | undefined;
|
|
594
528
|
fallbacks?: Array<CreateImageVariationFallbacks$Outbound> | undefined;
|
|
595
529
|
prompt?: CreateImageVariationPrompt$Outbound | undefined;
|
|
596
|
-
identity?: components.
|
|
597
|
-
contact?:
|
|
530
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
531
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
598
532
|
cache?: CreateImageVariationCache$Outbound | undefined;
|
|
599
533
|
load_balancer?: CreateImageVariationLoadBalancer1$Outbound | undefined;
|
|
600
534
|
timeout?: CreateImageVariationTimeout$Outbound | undefined;
|
|
@@ -611,8 +545,8 @@ export const CreateImageVariationOrq$outboundSchema: z.ZodType<
|
|
|
611
545
|
fallbacks: z.array(z.lazy(() => CreateImageVariationFallbacks$outboundSchema))
|
|
612
546
|
.optional(),
|
|
613
547
|
prompt: z.lazy(() => CreateImageVariationPrompt$outboundSchema).optional(),
|
|
614
|
-
identity: components.
|
|
615
|
-
contact:
|
|
548
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
549
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
616
550
|
cache: z.lazy(() => CreateImageVariationCache$outboundSchema).optional(),
|
|
617
551
|
loadBalancer: z.lazy(() => CreateImageVariationLoadBalancer1$outboundSchema)
|
|
618
552
|
.optional(),
|
|
@@ -47,38 +47,6 @@ export type CreateRerankRetry = {
|
|
|
47
47
|
onCodes?: Array<number> | undefined;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
52
|
-
*
|
|
53
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
54
|
-
*/
|
|
55
|
-
export type CreateRerankContact = {
|
|
56
|
-
/**
|
|
57
|
-
* Unique identifier for the contact
|
|
58
|
-
*/
|
|
59
|
-
id: string;
|
|
60
|
-
/**
|
|
61
|
-
* Display name of the contact
|
|
62
|
-
*/
|
|
63
|
-
displayName?: string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Email address of the contact
|
|
66
|
-
*/
|
|
67
|
-
email?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
70
|
-
*/
|
|
71
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* URL to the contact's avatar or logo
|
|
74
|
-
*/
|
|
75
|
-
logoUrl?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* A list of tags associated with the contact
|
|
78
|
-
*/
|
|
79
|
-
tags?: Array<string> | undefined;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
50
|
export const CreateRerankLoadBalancerType = {
|
|
83
51
|
WeightBased: "weight_based",
|
|
84
52
|
} as const;
|
|
@@ -137,8 +105,13 @@ export type CreateRerankOrq = {
|
|
|
137
105
|
/**
|
|
138
106
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
139
107
|
*/
|
|
140
|
-
identity?: components.
|
|
141
|
-
|
|
108
|
+
identity?: components.PublicIdentity | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
111
|
+
*
|
|
112
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
113
|
+
*/
|
|
114
|
+
contact?: components.PublicContact | undefined;
|
|
142
115
|
/**
|
|
143
116
|
* Array of models with weights for load balancing requests
|
|
144
117
|
*/
|
|
@@ -325,43 +298,6 @@ export function createRerankRetryToJSON(
|
|
|
325
298
|
);
|
|
326
299
|
}
|
|
327
300
|
|
|
328
|
-
/** @internal */
|
|
329
|
-
export type CreateRerankContact$Outbound = {
|
|
330
|
-
id: string;
|
|
331
|
-
display_name?: string | undefined;
|
|
332
|
-
email?: string | undefined;
|
|
333
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
334
|
-
logo_url?: string | undefined;
|
|
335
|
-
tags?: Array<string> | undefined;
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
/** @internal */
|
|
339
|
-
export const CreateRerankContact$outboundSchema: z.ZodType<
|
|
340
|
-
CreateRerankContact$Outbound,
|
|
341
|
-
z.ZodTypeDef,
|
|
342
|
-
CreateRerankContact
|
|
343
|
-
> = z.object({
|
|
344
|
-
id: z.string(),
|
|
345
|
-
displayName: z.string().optional(),
|
|
346
|
-
email: z.string().optional(),
|
|
347
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
348
|
-
logoUrl: z.string().optional(),
|
|
349
|
-
tags: z.array(z.string()).optional(),
|
|
350
|
-
}).transform((v) => {
|
|
351
|
-
return remap$(v, {
|
|
352
|
-
displayName: "display_name",
|
|
353
|
-
logoUrl: "logo_url",
|
|
354
|
-
});
|
|
355
|
-
});
|
|
356
|
-
|
|
357
|
-
export function createRerankContactToJSON(
|
|
358
|
-
createRerankContact: CreateRerankContact,
|
|
359
|
-
): string {
|
|
360
|
-
return JSON.stringify(
|
|
361
|
-
CreateRerankContact$outboundSchema.parse(createRerankContact),
|
|
362
|
-
);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
301
|
/** @internal */
|
|
366
302
|
export const CreateRerankLoadBalancerType$outboundSchema: z.ZodNativeEnum<
|
|
367
303
|
typeof CreateRerankLoadBalancerType
|
|
@@ -468,8 +404,8 @@ export type CreateRerankOrq$Outbound = {
|
|
|
468
404
|
fallbacks?: Array<CreateRerankFallbacks$Outbound> | undefined;
|
|
469
405
|
cache?: CreateRerankCache$Outbound | undefined;
|
|
470
406
|
retry?: CreateRerankRetry$Outbound | undefined;
|
|
471
|
-
identity?: components.
|
|
472
|
-
contact?:
|
|
407
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
408
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
473
409
|
load_balancer?: CreateRerankLoadBalancer1$Outbound | undefined;
|
|
474
410
|
timeout?: CreateRerankTimeout$Outbound | undefined;
|
|
475
411
|
};
|
|
@@ -485,8 +421,8 @@ export const CreateRerankOrq$outboundSchema: z.ZodType<
|
|
|
485
421
|
.optional(),
|
|
486
422
|
cache: z.lazy(() => CreateRerankCache$outboundSchema).optional(),
|
|
487
423
|
retry: z.lazy(() => CreateRerankRetry$outboundSchema).optional(),
|
|
488
|
-
identity: components.
|
|
489
|
-
contact:
|
|
424
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
425
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
490
426
|
loadBalancer: z.lazy(() => CreateRerankLoadBalancer1$outboundSchema)
|
|
491
427
|
.optional(),
|
|
492
428
|
timeout: z.lazy(() => CreateRerankTimeout$outboundSchema).optional(),
|
|
@@ -46,38 +46,6 @@ export type CreateSpeechFallbacks = {
|
|
|
46
46
|
model: string;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Use identity instead. Information about the contact making the request.
|
|
51
|
-
*
|
|
52
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
53
|
-
*/
|
|
54
|
-
export type CreateSpeechContact = {
|
|
55
|
-
/**
|
|
56
|
-
* Unique identifier for the contact
|
|
57
|
-
*/
|
|
58
|
-
id: string;
|
|
59
|
-
/**
|
|
60
|
-
* Display name of the contact
|
|
61
|
-
*/
|
|
62
|
-
displayName?: string | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Email address of the contact
|
|
65
|
-
*/
|
|
66
|
-
email?: string | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* A hash of key/value pairs containing any other data about the contact
|
|
69
|
-
*/
|
|
70
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
71
|
-
/**
|
|
72
|
-
* URL to the contact's avatar or logo
|
|
73
|
-
*/
|
|
74
|
-
logoUrl?: string | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* A list of tags associated with the contact
|
|
77
|
-
*/
|
|
78
|
-
tags?: Array<string> | undefined;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
49
|
/**
|
|
82
50
|
* Thread information to group related requests
|
|
83
51
|
*/
|
|
@@ -146,8 +114,13 @@ export type CreateSpeechOrq = {
|
|
|
146
114
|
/**
|
|
147
115
|
* Information about the identity making the request. If the identity does not exist, it will be created automatically.
|
|
148
116
|
*/
|
|
149
|
-
identity?: components.
|
|
150
|
-
|
|
117
|
+
identity?: components.PublicIdentity | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated Use identity instead. Information about the contact making the request.
|
|
120
|
+
*
|
|
121
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
122
|
+
*/
|
|
123
|
+
contact?: components.PublicContact | undefined;
|
|
151
124
|
/**
|
|
152
125
|
* Thread information to group related requests
|
|
153
126
|
*/
|
|
@@ -254,43 +227,6 @@ export function createSpeechFallbacksToJSON(
|
|
|
254
227
|
);
|
|
255
228
|
}
|
|
256
229
|
|
|
257
|
-
/** @internal */
|
|
258
|
-
export type CreateSpeechContact$Outbound = {
|
|
259
|
-
id: string;
|
|
260
|
-
display_name?: string | undefined;
|
|
261
|
-
email?: string | undefined;
|
|
262
|
-
metadata?: Array<{ [k: string]: any }> | undefined;
|
|
263
|
-
logo_url?: string | undefined;
|
|
264
|
-
tags?: Array<string> | undefined;
|
|
265
|
-
};
|
|
266
|
-
|
|
267
|
-
/** @internal */
|
|
268
|
-
export const CreateSpeechContact$outboundSchema: z.ZodType<
|
|
269
|
-
CreateSpeechContact$Outbound,
|
|
270
|
-
z.ZodTypeDef,
|
|
271
|
-
CreateSpeechContact
|
|
272
|
-
> = z.object({
|
|
273
|
-
id: z.string(),
|
|
274
|
-
displayName: z.string().optional(),
|
|
275
|
-
email: z.string().optional(),
|
|
276
|
-
metadata: z.array(z.record(z.any())).optional(),
|
|
277
|
-
logoUrl: z.string().optional(),
|
|
278
|
-
tags: z.array(z.string()).optional(),
|
|
279
|
-
}).transform((v) => {
|
|
280
|
-
return remap$(v, {
|
|
281
|
-
displayName: "display_name",
|
|
282
|
-
logoUrl: "logo_url",
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
|
|
286
|
-
export function createSpeechContactToJSON(
|
|
287
|
-
createSpeechContact: CreateSpeechContact,
|
|
288
|
-
): string {
|
|
289
|
-
return JSON.stringify(
|
|
290
|
-
CreateSpeechContact$outboundSchema.parse(createSpeechContact),
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
230
|
/** @internal */
|
|
295
231
|
export type CreateSpeechThread$Outbound = {
|
|
296
232
|
id: string;
|
|
@@ -420,8 +356,8 @@ export type CreateSpeechOrq$Outbound = {
|
|
|
420
356
|
retry?: CreateSpeechRetry$Outbound | undefined;
|
|
421
357
|
fallbacks?: Array<CreateSpeechFallbacks$Outbound> | undefined;
|
|
422
358
|
name?: string | undefined;
|
|
423
|
-
identity?: components.
|
|
424
|
-
contact?:
|
|
359
|
+
identity?: components.PublicIdentity$Outbound | undefined;
|
|
360
|
+
contact?: components.PublicContact$Outbound | undefined;
|
|
425
361
|
thread?: CreateSpeechThread$Outbound | undefined;
|
|
426
362
|
load_balancer?: CreateSpeechLoadBalancer1$Outbound | undefined;
|
|
427
363
|
timeout?: CreateSpeechTimeout$Outbound | undefined;
|
|
@@ -437,8 +373,8 @@ export const CreateSpeechOrq$outboundSchema: z.ZodType<
|
|
|
437
373
|
fallbacks: z.array(z.lazy(() => CreateSpeechFallbacks$outboundSchema))
|
|
438
374
|
.optional(),
|
|
439
375
|
name: z.string().optional(),
|
|
440
|
-
identity: components.
|
|
441
|
-
contact:
|
|
376
|
+
identity: components.PublicIdentity$outboundSchema.optional(),
|
|
377
|
+
contact: components.PublicContact$outboundSchema.optional(),
|
|
442
378
|
thread: z.lazy(() => CreateSpeechThread$outboundSchema).optional(),
|
|
443
379
|
loadBalancer: z.lazy(() => CreateSpeechLoadBalancer1$outboundSchema)
|
|
444
380
|
.optional(),
|