@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
package/funcs/contactsUpdate.js
DELETED
|
@@ -1,126 +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.contactsUpdate = contactsUpdate;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
-
const security_js_1 = require("../lib/security.js");
|
|
45
|
-
const url_js_1 = require("../lib/url.js");
|
|
46
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
47
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Update a contact
|
|
51
|
-
*
|
|
52
|
-
* @remarks
|
|
53
|
-
* Updates specific fields of an existing contact. Only the fields provided in the request body will be updated.
|
|
54
|
-
*
|
|
55
|
-
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
56
|
-
*/
|
|
57
|
-
function contactsUpdate(client, request, options) {
|
|
58
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
59
|
-
}
|
|
60
|
-
async function $do(client, request, options) {
|
|
61
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.UpdateContactRequest$outboundSchema.parse(value), "Input validation failed");
|
|
62
|
-
if (!parsed.ok) {
|
|
63
|
-
return [parsed, { status: "invalid" }];
|
|
64
|
-
}
|
|
65
|
-
const payload = parsed.value;
|
|
66
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.RequestBody, { explode: true });
|
|
67
|
-
const pathParams = {
|
|
68
|
-
id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
|
|
69
|
-
explode: false,
|
|
70
|
-
charEncoding: "percent",
|
|
71
|
-
}),
|
|
72
|
-
};
|
|
73
|
-
const path = (0, url_js_1.pathToFunc)("/v2/contacts/{id}")(pathParams);
|
|
74
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
75
|
-
"Content-Type": "application/json",
|
|
76
|
-
Accept: "application/json",
|
|
77
|
-
}));
|
|
78
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
79
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
80
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
81
|
-
const context = {
|
|
82
|
-
options: client._options,
|
|
83
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
84
|
-
operationID: "UpdateContact",
|
|
85
|
-
oAuth2Scopes: null,
|
|
86
|
-
resolvedSecurity: requestSecurity,
|
|
87
|
-
securitySource: client._options.apiKey,
|
|
88
|
-
retryConfig: options?.retries
|
|
89
|
-
|| client._options.retryConfig
|
|
90
|
-
|| { strategy: "none" },
|
|
91
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
92
|
-
};
|
|
93
|
-
const requestRes = client._createRequest(context, {
|
|
94
|
-
security: requestSecurity,
|
|
95
|
-
method: "PATCH",
|
|
96
|
-
baseURL: options?.serverURL,
|
|
97
|
-
path: path,
|
|
98
|
-
headers: headers,
|
|
99
|
-
body: body,
|
|
100
|
-
userAgent: client._options.userAgent,
|
|
101
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
102
|
-
}, options);
|
|
103
|
-
if (!requestRes.ok) {
|
|
104
|
-
return [requestRes, { status: "invalid" }];
|
|
105
|
-
}
|
|
106
|
-
const req = requestRes.value;
|
|
107
|
-
const doResult = await client._do(req, {
|
|
108
|
-
context,
|
|
109
|
-
errorCodes: ["404", "4XX", "5XX"],
|
|
110
|
-
retryConfig: context.retryConfig,
|
|
111
|
-
retryCodes: context.retryCodes,
|
|
112
|
-
});
|
|
113
|
-
if (!doResult.ok) {
|
|
114
|
-
return [doResult, { status: "request-error", request: req }];
|
|
115
|
-
}
|
|
116
|
-
const response = doResult.value;
|
|
117
|
-
const responseFields = {
|
|
118
|
-
HttpMeta: { Response: response, Request: req },
|
|
119
|
-
};
|
|
120
|
-
const [result] = await M.match(M.json(200, operations.UpdateContactResponseBody$inboundSchema), M.jsonErr(404, errors.UpdateContactResponseBody$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
121
|
-
if (!result.ok) {
|
|
122
|
-
return [result, { status: "complete", request: req, response }];
|
|
123
|
-
}
|
|
124
|
-
return [result, { status: "complete", request: req, response }];
|
|
125
|
-
}
|
|
126
|
-
//# sourceMappingURL=contactsUpdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contactsUpdate.js","sourceRoot":"","sources":["../src/funcs/contactsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,wCAuBC;AArDD,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;;;GAOG;AACH,SAAgB,cAAc,CAC5B,MAAe,EACf,OAAwC,EACxC,OAAwB;IAexB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAwC,EACxC,OAAwB;IAkBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,mCAAmC,CAAC,KAAK,CAAC,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAA,yBAAU,EAAC,MAAM,EAAE,OAAO,CAAC,WAAW,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAExE,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AC,EAC9D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { OrqError } from "./orqerror.js";
|
|
3
|
-
/**
|
|
4
|
-
* Contact not found
|
|
5
|
-
*/
|
|
6
|
-
export type DeleteContactResponseBodyData = {
|
|
7
|
-
/**
|
|
8
|
-
* Error message
|
|
9
|
-
*/
|
|
10
|
-
error: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Contact not found
|
|
14
|
-
*/
|
|
15
|
-
export declare class DeleteContactResponseBody extends OrqError {
|
|
16
|
-
/**
|
|
17
|
-
* Error message
|
|
18
|
-
*/
|
|
19
|
-
error: string;
|
|
20
|
-
/** The original data that was passed to this error instance. */
|
|
21
|
-
data$: DeleteContactResponseBodyData;
|
|
22
|
-
constructor(err: DeleteContactResponseBodyData, httpMeta: {
|
|
23
|
-
response: Response;
|
|
24
|
-
request: Request;
|
|
25
|
-
body: string;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const DeleteContactResponseBody$inboundSchema: z.ZodType<DeleteContactResponseBody, z.ZodTypeDef, unknown>;
|
|
30
|
-
//# sourceMappingURL=deletecontact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletecontact.d.ts","sourceRoot":"","sources":["../../src/models/errors/deletecontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,QAAQ;IACrD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC"}
|
|
@@ -1,71 +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.DeleteContactResponseBody$inboundSchema = exports.DeleteContactResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
const orqerror_js_1 = require("./orqerror.js");
|
|
42
|
-
/**
|
|
43
|
-
* Contact not found
|
|
44
|
-
*/
|
|
45
|
-
class DeleteContactResponseBody extends orqerror_js_1.OrqError {
|
|
46
|
-
constructor(err, httpMeta) {
|
|
47
|
-
const message = "message" in err && typeof err.message === "string"
|
|
48
|
-
? err.message
|
|
49
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
50
|
-
super(message, httpMeta);
|
|
51
|
-
this.data$ = err;
|
|
52
|
-
this.error = err.error;
|
|
53
|
-
this.name = "DeleteContactResponseBody";
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.DeleteContactResponseBody = DeleteContactResponseBody;
|
|
57
|
-
/** @internal */
|
|
58
|
-
exports.DeleteContactResponseBody$inboundSchema = z.object({
|
|
59
|
-
error: z.string(),
|
|
60
|
-
request$: z.instanceof(Request),
|
|
61
|
-
response$: z.instanceof(Response),
|
|
62
|
-
body$: z.string(),
|
|
63
|
-
})
|
|
64
|
-
.transform((v) => {
|
|
65
|
-
return new DeleteContactResponseBody(v, {
|
|
66
|
-
request: v.request$,
|
|
67
|
-
response: v.response$,
|
|
68
|
-
body: v.body$,
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
//# sourceMappingURL=deletecontact.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletecontact.js","sourceRoot":"","sources":["../../src/models/errors/deletecontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sBAAQ;IASrD,YACE,GAAkC,EAClC,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAEvB,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF;AAtBD,8DAsBC;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,yBAAyB,CAAC,CAAC,EAAE;QACtC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { OrqError } from "./orqerror.js";
|
|
3
|
-
/**
|
|
4
|
-
* Contact not found
|
|
5
|
-
*/
|
|
6
|
-
export type RetrieveContactResponseBodyData = {
|
|
7
|
-
/**
|
|
8
|
-
* Error message
|
|
9
|
-
*/
|
|
10
|
-
error: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Contact not found
|
|
14
|
-
*/
|
|
15
|
-
export declare class RetrieveContactResponseBody extends OrqError {
|
|
16
|
-
/**
|
|
17
|
-
* Error message
|
|
18
|
-
*/
|
|
19
|
-
error: string;
|
|
20
|
-
/** The original data that was passed to this error instance. */
|
|
21
|
-
data$: RetrieveContactResponseBodyData;
|
|
22
|
-
constructor(err: RetrieveContactResponseBodyData, httpMeta: {
|
|
23
|
-
response: Response;
|
|
24
|
-
request: Request;
|
|
25
|
-
body: string;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const RetrieveContactResponseBody$inboundSchema: z.ZodType<RetrieveContactResponseBody, z.ZodTypeDef, unknown>;
|
|
30
|
-
//# sourceMappingURL=retrievecontact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrievecontact.d.ts","sourceRoot":"","sources":["../../src/models/errors/retrievecontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,QAAQ;IACvD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,+BAA+B,CAAC;gBAGrC,GAAG,EAAE,+BAA+B,EACpC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC"}
|
|
@@ -1,71 +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.RetrieveContactResponseBody$inboundSchema = exports.RetrieveContactResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
const orqerror_js_1 = require("./orqerror.js");
|
|
42
|
-
/**
|
|
43
|
-
* Contact not found
|
|
44
|
-
*/
|
|
45
|
-
class RetrieveContactResponseBody extends orqerror_js_1.OrqError {
|
|
46
|
-
constructor(err, httpMeta) {
|
|
47
|
-
const message = "message" in err && typeof err.message === "string"
|
|
48
|
-
? err.message
|
|
49
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
50
|
-
super(message, httpMeta);
|
|
51
|
-
this.data$ = err;
|
|
52
|
-
this.error = err.error;
|
|
53
|
-
this.name = "RetrieveContactResponseBody";
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.RetrieveContactResponseBody = RetrieveContactResponseBody;
|
|
57
|
-
/** @internal */
|
|
58
|
-
exports.RetrieveContactResponseBody$inboundSchema = z.object({
|
|
59
|
-
error: z.string(),
|
|
60
|
-
request$: z.instanceof(Request),
|
|
61
|
-
response$: z.instanceof(Response),
|
|
62
|
-
body$: z.string(),
|
|
63
|
-
})
|
|
64
|
-
.transform((v) => {
|
|
65
|
-
return new RetrieveContactResponseBody(v, {
|
|
66
|
-
request: v.request$,
|
|
67
|
-
response: v.response$,
|
|
68
|
-
body: v.body$,
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
//# sourceMappingURL=retrievecontact.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"retrievecontact.js","sourceRoot":"","sources":["../../src/models/errors/retrievecontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,2BAA4B,SAAQ,sBAAQ;IASvD,YACE,GAAoC,EACpC,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QAEvB,IAAI,CAAC,IAAI,GAAG,6BAA6B,CAAC;IAC5C,CAAC;CACF;AAtBD,kEAsBC;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,2BAA2B,CAAC,CAAC,EAAE;QACxC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { OrqError } from "./orqerror.js";
|
|
3
|
-
/**
|
|
4
|
-
* Contact not found
|
|
5
|
-
*/
|
|
6
|
-
export type UpdateContactResponseBodyData = {
|
|
7
|
-
/**
|
|
8
|
-
* Error message
|
|
9
|
-
*/
|
|
10
|
-
message: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Contact not found
|
|
14
|
-
*/
|
|
15
|
-
export declare class UpdateContactResponseBody extends OrqError {
|
|
16
|
-
/** The original data that was passed to this error instance. */
|
|
17
|
-
data$: UpdateContactResponseBodyData;
|
|
18
|
-
constructor(err: UpdateContactResponseBodyData, httpMeta: {
|
|
19
|
-
response: Response;
|
|
20
|
-
request: Request;
|
|
21
|
-
body: string;
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const UpdateContactResponseBody$inboundSchema: z.ZodType<UpdateContactResponseBody, z.ZodTypeDef, unknown>;
|
|
26
|
-
//# sourceMappingURL=updatecontact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecontact.d.ts","sourceRoot":"","sources":["../../src/models/errors/updatecontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,QAAQ;IACrD,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAQnE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC"}
|
|
@@ -1,68 +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.UpdateContactResponseBody$inboundSchema = exports.UpdateContactResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod/v3"));
|
|
41
|
-
const orqerror_js_1 = require("./orqerror.js");
|
|
42
|
-
/**
|
|
43
|
-
* Contact not found
|
|
44
|
-
*/
|
|
45
|
-
class UpdateContactResponseBody extends orqerror_js_1.OrqError {
|
|
46
|
-
constructor(err, httpMeta) {
|
|
47
|
-
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
48
|
-
super(message, httpMeta);
|
|
49
|
-
this.data$ = err;
|
|
50
|
-
this.name = "UpdateContactResponseBody";
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.UpdateContactResponseBody = UpdateContactResponseBody;
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.UpdateContactResponseBody$inboundSchema = z.object({
|
|
56
|
-
message: z.string(),
|
|
57
|
-
request$: z.instanceof(Request),
|
|
58
|
-
response$: z.instanceof(Response),
|
|
59
|
-
body$: z.string(),
|
|
60
|
-
})
|
|
61
|
-
.transform((v) => {
|
|
62
|
-
return new UpdateContactResponseBody(v, {
|
|
63
|
-
request: v.request$,
|
|
64
|
-
response: v.response$,
|
|
65
|
-
body: v.body$,
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
//# sourceMappingURL=updatecontact.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatecontact.js","sourceRoot":"","sources":["../../src/models/errors/updatecontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,+CAAyC;AAYzC;;GAEG;AACH,MAAa,yBAA0B,SAAQ,sBAAQ;IAIrD,YACE,GAAkC,EAClC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,IAAI,GAAG,2BAA2B,CAAC;IAC1C,CAAC;CACF;AAdD,8DAcC;AAED,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,yBAAyB,CAAC,CAAC,EAAE;QACtC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
export type DeleteContactRequest = {
|
|
3
|
-
/**
|
|
4
|
-
* Contact ID or External ID
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
};
|
|
8
|
-
/** @internal */
|
|
9
|
-
export type DeleteContactRequest$Outbound = {
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
/** @internal */
|
|
13
|
-
export declare const DeleteContactRequest$outboundSchema: z.ZodType<DeleteContactRequest$Outbound, z.ZodTypeDef, DeleteContactRequest>;
|
|
14
|
-
export declare function deleteContactRequestToJSON(deleteContactRequest: DeleteContactRequest): string;
|
|
15
|
-
//# sourceMappingURL=deletecontact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletecontact.d.ts","sourceRoot":"","sources":["../../src/models/operations/deletecontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAGpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deletecontact.js","sourceRoot":"","sources":["../../src/models/operations/deletecontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBH,gEAMC;AA7BD,0CAA4B;AAc5B,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;CACf,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
/**
|
|
6
|
-
* Filter contacts by tags. Can be provided as JSON object {"tags": ["premium", "beta-user"]} or as query format "tags=premium,beta-user"
|
|
7
|
-
*/
|
|
8
|
-
export type ListContactsQueryParamFilterBy = {
|
|
9
|
-
tags?: Array<string> | undefined;
|
|
10
|
-
};
|
|
11
|
-
export type ListContactsRequest = {
|
|
12
|
-
/**
|
|
13
|
-
* A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
|
|
14
|
-
*/
|
|
15
|
-
limit?: number | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
|
|
18
|
-
*/
|
|
19
|
-
startingAfter?: string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
|
|
22
|
-
*/
|
|
23
|
-
endingBefore?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Search contacts by display name or email address. Minimum 2 characters required.
|
|
26
|
-
*/
|
|
27
|
-
search?: string | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* Filter contacts by tags. Can be provided as JSON object {"tags": ["premium", "beta-user"]} or as query format "tags=premium,beta-user"
|
|
30
|
-
*/
|
|
31
|
-
filterBy?: ListContactsQueryParamFilterBy | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Include usage metrics of the last 30 days for each contact.
|
|
34
|
-
*/
|
|
35
|
-
includeMetrics?: boolean | null | undefined;
|
|
36
|
-
};
|
|
37
|
-
export declare const ObjectT: {
|
|
38
|
-
readonly List: "list";
|
|
39
|
-
};
|
|
40
|
-
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
41
|
-
export type ListContactsMetrics = {
|
|
42
|
-
/**
|
|
43
|
-
* Total cost in dollars of the last 30 days
|
|
44
|
-
*/
|
|
45
|
-
totalCost: number;
|
|
46
|
-
/**
|
|
47
|
-
* Total tokens of the last 30 days
|
|
48
|
-
*/
|
|
49
|
-
totalTokens: number;
|
|
50
|
-
/**
|
|
51
|
-
* Total requests of the last 30 days
|
|
52
|
-
*/
|
|
53
|
-
totalRequests: number;
|
|
54
|
-
/**
|
|
55
|
-
* P50 error rate of the last 30 days
|
|
56
|
-
*/
|
|
57
|
-
errorRate: number;
|
|
58
|
-
};
|
|
59
|
-
export type Data = {
|
|
60
|
-
/**
|
|
61
|
-
* Unique ULID (Universally Unique Lexicographically Sortable Identifier) for the contact
|
|
62
|
-
*/
|
|
63
|
-
id: string;
|
|
64
|
-
/**
|
|
65
|
-
* Unique string value to identify the contact user in the customer's system. This should be the same ID you use in your system to reference this user.
|
|
66
|
-
*/
|
|
67
|
-
externalId: string;
|
|
68
|
-
/**
|
|
69
|
-
* Display name or nickname of the contact user. This is typically shown in user interfaces.
|
|
70
|
-
*/
|
|
71
|
-
displayName?: string | null | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Email address of the contact user
|
|
74
|
-
*/
|
|
75
|
-
email?: string | null | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* URL linking to the contact user's avatar image
|
|
78
|
-
*/
|
|
79
|
-
avatarUrl?: string | null | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Array of tags associated with the contact. Useful for organizing and filtering contacts by categories, departments, or custom classifications.
|
|
82
|
-
*/
|
|
83
|
-
tags?: Array<string> | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Additional custom metadata associated with the contact as key-value pairs. Use this to store any extra information specific to your application.
|
|
86
|
-
*/
|
|
87
|
-
metadata?: {
|
|
88
|
-
[k: string]: any;
|
|
89
|
-
} | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* The date and time the resource was created
|
|
92
|
-
*/
|
|
93
|
-
created?: Date | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* The date and time the resource was last updated
|
|
96
|
-
*/
|
|
97
|
-
updated: Date;
|
|
98
|
-
metrics: ListContactsMetrics;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* List of contacts
|
|
102
|
-
*/
|
|
103
|
-
export type ListContactsResponseBody = {
|
|
104
|
-
object: ObjectT;
|
|
105
|
-
data: Array<Data>;
|
|
106
|
-
hasMore: boolean;
|
|
107
|
-
};
|
|
108
|
-
/** @internal */
|
|
109
|
-
export type ListContactsQueryParamFilterBy$Outbound = {
|
|
110
|
-
tags?: Array<string> | undefined;
|
|
111
|
-
};
|
|
112
|
-
/** @internal */
|
|
113
|
-
export declare const ListContactsQueryParamFilterBy$outboundSchema: z.ZodType<ListContactsQueryParamFilterBy$Outbound, z.ZodTypeDef, ListContactsQueryParamFilterBy>;
|
|
114
|
-
export declare function listContactsQueryParamFilterByToJSON(listContactsQueryParamFilterBy: ListContactsQueryParamFilterBy): string;
|
|
115
|
-
/** @internal */
|
|
116
|
-
export type ListContactsRequest$Outbound = {
|
|
117
|
-
limit: number;
|
|
118
|
-
starting_after?: string | undefined;
|
|
119
|
-
ending_before?: string | undefined;
|
|
120
|
-
search?: string | undefined;
|
|
121
|
-
filter_by?: ListContactsQueryParamFilterBy$Outbound | undefined;
|
|
122
|
-
include_metrics: boolean | null;
|
|
123
|
-
};
|
|
124
|
-
/** @internal */
|
|
125
|
-
export declare const ListContactsRequest$outboundSchema: z.ZodType<ListContactsRequest$Outbound, z.ZodTypeDef, ListContactsRequest>;
|
|
126
|
-
export declare function listContactsRequestToJSON(listContactsRequest: ListContactsRequest): string;
|
|
127
|
-
/** @internal */
|
|
128
|
-
export declare const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT>;
|
|
129
|
-
/** @internal */
|
|
130
|
-
export declare const ListContactsMetrics$inboundSchema: z.ZodType<ListContactsMetrics, z.ZodTypeDef, unknown>;
|
|
131
|
-
export declare function listContactsMetricsFromJSON(jsonString: string): SafeParseResult<ListContactsMetrics, SDKValidationError>;
|
|
132
|
-
/** @internal */
|
|
133
|
-
export declare const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown>;
|
|
134
|
-
export declare function dataFromJSON(jsonString: string): SafeParseResult<Data, SDKValidationError>;
|
|
135
|
-
/** @internal */
|
|
136
|
-
export declare const ListContactsResponseBody$inboundSchema: z.ZodType<ListContactsResponseBody, z.ZodTypeDef, unknown>;
|
|
137
|
-
export declare function listContactsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListContactsResponseBody, SDKValidationError>;
|
|
138
|
-
//# sourceMappingURL=listcontacts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listcontacts.d.ts","sourceRoot":"","sources":["../../src/models/operations/listcontacts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IA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