@equisoft/ucx-proxy-sdk-typescript 0.0.3-snapshot.20250910185730
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/.openapi-generator/FILES +33 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/.tool-versions +3 -0
- package/README.md +46 -0
- package/dist/apis/ContactApi.d.ts +31 -0
- package/dist/apis/ContactApi.js +67 -0
- package/dist/apis/OrganizationSourceAuthenticationApi.d.ts +81 -0
- package/dist/apis/OrganizationSourceAuthenticationApi.js +236 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +20 -0
- package/dist/esm/apis/ContactApi.d.ts +31 -0
- package/dist/esm/apis/ContactApi.js +63 -0
- package/dist/esm/apis/OrganizationSourceAuthenticationApi.d.ts +81 -0
- package/dist/esm/apis/OrganizationSourceAuthenticationApi.js +232 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AddressLabel.d.ts +29 -0
- package/dist/esm/models/AddressLabel.js +47 -0
- package/dist/esm/models/AddressSchema.d.ts +75 -0
- package/dist/esm/models/AddressSchema.js +60 -0
- package/dist/esm/models/ContactLanguage.d.ts +26 -0
- package/dist/esm/models/ContactLanguage.js +44 -0
- package/dist/esm/models/ContactSchema.d.ts +116 -0
- package/dist/esm/models/ContactSchema.js +83 -0
- package/dist/esm/models/CreatePayloadSourceAuthenticationSchema.d.ts +54 -0
- package/dist/esm/models/CreatePayloadSourceAuthenticationSchema.js +55 -0
- package/dist/esm/models/EmailLabel.d.ts +28 -0
- package/dist/esm/models/EmailLabel.js +46 -0
- package/dist/esm/models/EmailSchema.d.ts +45 -0
- package/dist/esm/models/EmailSchema.js +52 -0
- package/dist/esm/models/ErrorCodes.d.ts +27 -0
- package/dist/esm/models/ErrorCodes.js +45 -0
- package/dist/esm/models/ErrorResponse.d.ts +46 -0
- package/dist/esm/models/ErrorResponse.js +45 -0
- package/dist/esm/models/ErrorSchema.d.ts +39 -0
- package/dist/esm/models/ErrorSchema.js +46 -0
- package/dist/esm/models/Gender.d.ts +28 -0
- package/dist/esm/models/Gender.js +46 -0
- package/dist/esm/models/ListOrganizationSourceAuthenticationResultSchema.d.ts +33 -0
- package/dist/esm/models/ListOrganizationSourceAuthenticationResultSchema.js +44 -0
- package/dist/esm/models/MaritalStatus.d.ts +32 -0
- package/dist/esm/models/MaritalStatus.js +50 -0
- package/dist/esm/models/OrganizationSourceAuthenticationResultSchema.d.ts +47 -0
- package/dist/esm/models/OrganizationSourceAuthenticationResultSchema.js +50 -0
- package/dist/esm/models/OrganizationSourceAuthenticationSchema.d.ts +78 -0
- package/dist/esm/models/OrganizationSourceAuthenticationSchema.js +71 -0
- package/dist/esm/models/PhoneLabel.d.ts +30 -0
- package/dist/esm/models/PhoneLabel.js +48 -0
- package/dist/esm/models/PhoneSchema.d.ts +45 -0
- package/dist/esm/models/PhoneSchema.js +50 -0
- package/dist/esm/models/SourceResultSchema.d.ts +59 -0
- package/dist/esm/models/SourceResultSchema.js +56 -0
- package/dist/esm/models/Status.d.ts +26 -0
- package/dist/esm/models/Status.js +44 -0
- package/dist/esm/models/ToggleSourceAuthenticationSchema.d.ts +38 -0
- package/dist/esm/models/ToggleSourceAuthenticationSchema.js +47 -0
- package/dist/esm/models/UpdatePayloadSourceAuthenticationSchema.d.ts +48 -0
- package/dist/esm/models/UpdatePayloadSourceAuthenticationSchema.js +51 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddressLabel.d.ts +29 -0
- package/dist/models/AddressLabel.js +55 -0
- package/dist/models/AddressSchema.d.ts +75 -0
- package/dist/models/AddressSchema.js +67 -0
- package/dist/models/ContactLanguage.d.ts +26 -0
- package/dist/models/ContactLanguage.js +52 -0
- package/dist/models/ContactSchema.d.ts +116 -0
- package/dist/models/ContactSchema.js +90 -0
- package/dist/models/CreatePayloadSourceAuthenticationSchema.d.ts +54 -0
- package/dist/models/CreatePayloadSourceAuthenticationSchema.js +62 -0
- package/dist/models/EmailLabel.d.ts +28 -0
- package/dist/models/EmailLabel.js +54 -0
- package/dist/models/EmailSchema.d.ts +45 -0
- package/dist/models/EmailSchema.js +59 -0
- package/dist/models/ErrorCodes.d.ts +27 -0
- package/dist/models/ErrorCodes.js +53 -0
- package/dist/models/ErrorResponse.d.ts +46 -0
- package/dist/models/ErrorResponse.js +52 -0
- package/dist/models/ErrorSchema.d.ts +39 -0
- package/dist/models/ErrorSchema.js +53 -0
- package/dist/models/Gender.d.ts +28 -0
- package/dist/models/Gender.js +54 -0
- package/dist/models/ListOrganizationSourceAuthenticationResultSchema.d.ts +33 -0
- package/dist/models/ListOrganizationSourceAuthenticationResultSchema.js +51 -0
- package/dist/models/MaritalStatus.d.ts +32 -0
- package/dist/models/MaritalStatus.js +58 -0
- package/dist/models/OrganizationSourceAuthenticationResultSchema.d.ts +47 -0
- package/dist/models/OrganizationSourceAuthenticationResultSchema.js +57 -0
- package/dist/models/OrganizationSourceAuthenticationSchema.d.ts +78 -0
- package/dist/models/OrganizationSourceAuthenticationSchema.js +78 -0
- package/dist/models/PhoneLabel.d.ts +30 -0
- package/dist/models/PhoneLabel.js +56 -0
- package/dist/models/PhoneSchema.d.ts +45 -0
- package/dist/models/PhoneSchema.js +57 -0
- package/dist/models/SourceResultSchema.d.ts +59 -0
- package/dist/models/SourceResultSchema.js +63 -0
- package/dist/models/Status.d.ts +26 -0
- package/dist/models/Status.js +52 -0
- package/dist/models/ToggleSourceAuthenticationSchema.d.ts +38 -0
- package/dist/models/ToggleSourceAuthenticationSchema.js +54 -0
- package/dist/models/UpdatePayloadSourceAuthenticationSchema.d.ts +48 -0
- package/dist/models/UpdatePayloadSourceAuthenticationSchema.js +58 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +39 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +21 -0
- package/src/apis/ContactApi.ts +77 -0
- package/src/apis/OrganizationSourceAuthenticationApi.ts +332 -0
- package/src/apis/index.ts +4 -0
- package/src/index.ts +5 -0
- package/src/models/AddressLabel.ts +57 -0
- package/src/models/AddressSchema.ts +133 -0
- package/src/models/ContactLanguage.ts +54 -0
- package/src/models/ContactSchema.ts +219 -0
- package/src/models/CreatePayloadSourceAuthenticationSchema.ts +93 -0
- package/src/models/EmailLabel.ts +56 -0
- package/src/models/EmailSchema.ts +94 -0
- package/src/models/ErrorCodes.ts +55 -0
- package/src/models/ErrorResponse.ts +81 -0
- package/src/models/ErrorSchema.ts +84 -0
- package/src/models/Gender.ts +56 -0
- package/src/models/ListOrganizationSourceAuthenticationResultSchema.ts +74 -0
- package/src/models/MaritalStatus.ts +60 -0
- package/src/models/OrganizationSourceAuthenticationResultSchema.ts +106 -0
- package/src/models/OrganizationSourceAuthenticationSchema.ts +129 -0
- package/src/models/PhoneLabel.ts +58 -0
- package/src/models/PhoneSchema.ts +93 -0
- package/src/models/SourceResultSchema.ts +123 -0
- package/src/models/Status.ts +54 -0
- package/src/models/ToggleSourceAuthenticationSchema.ts +75 -0
- package/src/models/UpdatePayloadSourceAuthenticationSchema.ts +84 -0
- package/src/models/index.ts +23 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
README.md
|
|
4
|
+
package.json
|
|
5
|
+
src/apis/ContactApi.ts
|
|
6
|
+
src/apis/OrganizationSourceAuthenticationApi.ts
|
|
7
|
+
src/apis/index.ts
|
|
8
|
+
src/index.ts
|
|
9
|
+
src/models/AddressLabel.ts
|
|
10
|
+
src/models/AddressSchema.ts
|
|
11
|
+
src/models/ContactLanguage.ts
|
|
12
|
+
src/models/ContactSchema.ts
|
|
13
|
+
src/models/CreatePayloadSourceAuthenticationSchema.ts
|
|
14
|
+
src/models/EmailLabel.ts
|
|
15
|
+
src/models/EmailSchema.ts
|
|
16
|
+
src/models/ErrorCodes.ts
|
|
17
|
+
src/models/ErrorResponse.ts
|
|
18
|
+
src/models/ErrorSchema.ts
|
|
19
|
+
src/models/Gender.ts
|
|
20
|
+
src/models/ListOrganizationSourceAuthenticationResultSchema.ts
|
|
21
|
+
src/models/MaritalStatus.ts
|
|
22
|
+
src/models/OrganizationSourceAuthenticationResultSchema.ts
|
|
23
|
+
src/models/OrganizationSourceAuthenticationSchema.ts
|
|
24
|
+
src/models/PhoneLabel.ts
|
|
25
|
+
src/models/PhoneSchema.ts
|
|
26
|
+
src/models/SourceResultSchema.ts
|
|
27
|
+
src/models/Status.ts
|
|
28
|
+
src/models/ToggleSourceAuthenticationSchema.ts
|
|
29
|
+
src/models/UpdatePayloadSourceAuthenticationSchema.ts
|
|
30
|
+
src/models/index.ts
|
|
31
|
+
src/runtime.ts
|
|
32
|
+
tsconfig.esm.json
|
|
33
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.13.0-equisoft1
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/.tool-versions
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
## @equisoft/ucx-proxy-sdk-typescript@0.0.3-SNAPSHOT
|
|
2
|
+
|
|
3
|
+
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
|
+
|
|
5
|
+
Environment
|
|
6
|
+
* Node.js
|
|
7
|
+
* Webpack
|
|
8
|
+
* Browserify
|
|
9
|
+
|
|
10
|
+
Language level
|
|
11
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
12
|
+
* ES6
|
|
13
|
+
|
|
14
|
+
Module system
|
|
15
|
+
* CommonJS
|
|
16
|
+
* ES6 module system
|
|
17
|
+
|
|
18
|
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
19
|
+
|
|
20
|
+
### Building
|
|
21
|
+
|
|
22
|
+
To build and compile the typescript sources to javascript use:
|
|
23
|
+
```
|
|
24
|
+
npm install
|
|
25
|
+
npm run build
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Publishing
|
|
29
|
+
|
|
30
|
+
First build the package then run `npm publish`
|
|
31
|
+
|
|
32
|
+
### Consuming
|
|
33
|
+
|
|
34
|
+
navigate to the folder of your consuming project and run one of the following commands.
|
|
35
|
+
|
|
36
|
+
_published:_
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
npm install @equisoft/ucx-proxy-sdk-typescript@0.0.3-SNAPSHOT --save
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
_unPublished (not recommended):_
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UCX Proxy
|
|
3
|
+
* A single use API for the UCX Proxy.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { SourceResultSchema } from '../models/index';
|
|
14
|
+
export interface SearchContactsRequest {
|
|
15
|
+
name?: string | null;
|
|
16
|
+
offset?: number | null;
|
|
17
|
+
limit?: number | null;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare class ContactApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Search contacts
|
|
25
|
+
*/
|
|
26
|
+
searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceResultSchema>>>;
|
|
27
|
+
/**
|
|
28
|
+
* Search contacts
|
|
29
|
+
*/
|
|
30
|
+
searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceResultSchema>>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UCX Proxy
|
|
6
|
+
* A single use API for the UCX Proxy.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ContactApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ContactApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Search contacts
|
|
34
|
+
*/
|
|
35
|
+
searchContactsRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
if (requestParameters['name'] != null) {
|
|
39
|
+
queryParameters['name'] = requestParameters['name'];
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters['offset'] != null) {
|
|
42
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters['limit'] != null) {
|
|
45
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
46
|
+
}
|
|
47
|
+
const headerParameters = {};
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: `/contacts`,
|
|
50
|
+
method: 'GET',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.SourceResultSchemaFromJSON));
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Search contacts
|
|
59
|
+
*/
|
|
60
|
+
searchContacts() {
|
|
61
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
62
|
+
const response = yield this.searchContactsRaw(requestParameters, initOverrides);
|
|
63
|
+
return yield response.value();
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ContactApi = ContactApi;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UCX Proxy
|
|
3
|
+
* A single use API for the UCX Proxy.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { CreatePayloadSourceAuthenticationSchema, ListOrganizationSourceAuthenticationResultSchema, OrganizationSourceAuthenticationResultSchema, ToggleSourceAuthenticationSchema, UpdatePayloadSourceAuthenticationSchema } from '../models/index';
|
|
14
|
+
export interface CreateOrganizationSourceRequest {
|
|
15
|
+
organizationId: string;
|
|
16
|
+
payload: CreatePayloadSourceAuthenticationSchema;
|
|
17
|
+
certificate?: Blob | null;
|
|
18
|
+
}
|
|
19
|
+
export interface DeleteOrganizationSourceRequest {
|
|
20
|
+
organizationId: string;
|
|
21
|
+
sourceKey: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ListOrganizationSourcesRequest {
|
|
24
|
+
organizationId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ToggleOrganizationSourceRequest {
|
|
27
|
+
organizationId: string;
|
|
28
|
+
sourceKey: string;
|
|
29
|
+
toggleSourceAuthenticationSchema: ToggleSourceAuthenticationSchema;
|
|
30
|
+
}
|
|
31
|
+
export interface UpdateOrganizationSourceRequest {
|
|
32
|
+
organizationId: string;
|
|
33
|
+
sourceKey: string;
|
|
34
|
+
payload: UpdatePayloadSourceAuthenticationSchema;
|
|
35
|
+
certificate?: Blob | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare class OrganizationSourceAuthenticationApi extends runtime.BaseAPI {
|
|
41
|
+
/**
|
|
42
|
+
* Create a new source for an organization and authenticate
|
|
43
|
+
*/
|
|
44
|
+
createOrganizationSourceRaw(requestParameters: CreateOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationSourceAuthenticationResultSchema>>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a new source for an organization and authenticate
|
|
47
|
+
*/
|
|
48
|
+
createOrganizationSource(requestParameters: CreateOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationSourceAuthenticationResultSchema>;
|
|
49
|
+
/**
|
|
50
|
+
* Delete an existing source
|
|
51
|
+
*/
|
|
52
|
+
deleteOrganizationSourceRaw(requestParameters: DeleteOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete an existing source
|
|
55
|
+
*/
|
|
56
|
+
deleteOrganizationSource(requestParameters: DeleteOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Get all the authentication sources for an organization
|
|
59
|
+
*/
|
|
60
|
+
listOrganizationSourcesRaw(requestParameters: ListOrganizationSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListOrganizationSourceAuthenticationResultSchema>>;
|
|
61
|
+
/**
|
|
62
|
+
* Get all the authentication sources for an organization
|
|
63
|
+
*/
|
|
64
|
+
listOrganizationSources(requestParameters: ListOrganizationSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListOrganizationSourceAuthenticationResultSchema>;
|
|
65
|
+
/**
|
|
66
|
+
* Enable or disable a given source for an organization
|
|
67
|
+
*/
|
|
68
|
+
toggleOrganizationSourceRaw(requestParameters: ToggleOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationSourceAuthenticationResultSchema>>;
|
|
69
|
+
/**
|
|
70
|
+
* Enable or disable a given source for an organization
|
|
71
|
+
*/
|
|
72
|
+
toggleOrganizationSource(requestParameters: ToggleOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationSourceAuthenticationResultSchema>;
|
|
73
|
+
/**
|
|
74
|
+
* Update the credentials of a given source for an organization
|
|
75
|
+
*/
|
|
76
|
+
updateOrganizationSourceRaw(requestParameters: UpdateOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationSourceAuthenticationResultSchema>>;
|
|
77
|
+
/**
|
|
78
|
+
* Update the credentials of a given source for an organization
|
|
79
|
+
*/
|
|
80
|
+
updateOrganizationSource(requestParameters: UpdateOrganizationSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationSourceAuthenticationResultSchema>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UCX Proxy
|
|
6
|
+
* A single use API for the UCX Proxy.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
9
|
+
* Contact: customersuccess@equisoft.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.OrganizationSourceAuthenticationApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class OrganizationSourceAuthenticationApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Create a new source for an organization and authenticate
|
|
34
|
+
*/
|
|
35
|
+
createOrganizationSourceRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['organizationId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling createOrganizationSource().');
|
|
39
|
+
}
|
|
40
|
+
if (requestParameters['payload'] == null) {
|
|
41
|
+
throw new runtime.RequiredError('payload', 'Required parameter "payload" was null or undefined when calling createOrganizationSource().');
|
|
42
|
+
}
|
|
43
|
+
const queryParameters = {};
|
|
44
|
+
const headerParameters = {};
|
|
45
|
+
const consumes = [
|
|
46
|
+
{ contentType: 'multipart/form-data' },
|
|
47
|
+
];
|
|
48
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
49
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
50
|
+
let formParams;
|
|
51
|
+
let useForm = false;
|
|
52
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
53
|
+
useForm = canConsumeForm;
|
|
54
|
+
if (useForm) {
|
|
55
|
+
formParams = new FormData();
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
formParams = new URLSearchParams();
|
|
59
|
+
}
|
|
60
|
+
if (requestParameters['payload'] != null) {
|
|
61
|
+
formParams.append('payload', new Blob([JSON.stringify((0, index_1.OrganizationSourceAuthenticationResultSchemaToJSON)(requestParameters['payload']))], { type: "application/json", }));
|
|
62
|
+
}
|
|
63
|
+
if (requestParameters['certificate'] != null) {
|
|
64
|
+
formParams.append('certificate', requestParameters['certificate']);
|
|
65
|
+
}
|
|
66
|
+
const response = yield this.request({
|
|
67
|
+
path: `/authentications/organizations/{organizationId}/sources`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
68
|
+
method: 'POST',
|
|
69
|
+
headers: headerParameters,
|
|
70
|
+
query: queryParameters,
|
|
71
|
+
body: formParams,
|
|
72
|
+
}, initOverrides);
|
|
73
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationSourceAuthenticationResultSchemaFromJSON)(jsonValue));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Create a new source for an organization and authenticate
|
|
78
|
+
*/
|
|
79
|
+
createOrganizationSource(requestParameters, initOverrides) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const response = yield this.createOrganizationSourceRaw(requestParameters, initOverrides);
|
|
82
|
+
return yield response.value();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Delete an existing source
|
|
87
|
+
*/
|
|
88
|
+
deleteOrganizationSourceRaw(requestParameters, initOverrides) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
if (requestParameters['organizationId'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling deleteOrganizationSource().');
|
|
92
|
+
}
|
|
93
|
+
if (requestParameters['sourceKey'] == null) {
|
|
94
|
+
throw new runtime.RequiredError('sourceKey', 'Required parameter "sourceKey" was null or undefined when calling deleteOrganizationSource().');
|
|
95
|
+
}
|
|
96
|
+
const queryParameters = {};
|
|
97
|
+
const headerParameters = {};
|
|
98
|
+
const response = yield this.request({
|
|
99
|
+
path: `/authentications/organizations/{organizationId}/sources/{sourceKey}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))).replace(`{${"sourceKey"}}`, encodeURIComponent(String(requestParameters['sourceKey']))),
|
|
100
|
+
method: 'DELETE',
|
|
101
|
+
headers: headerParameters,
|
|
102
|
+
query: queryParameters,
|
|
103
|
+
}, initOverrides);
|
|
104
|
+
return new runtime.VoidApiResponse(response);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Delete an existing source
|
|
109
|
+
*/
|
|
110
|
+
deleteOrganizationSource(requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
yield this.deleteOrganizationSourceRaw(requestParameters, initOverrides);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Get all the authentication sources for an organization
|
|
117
|
+
*/
|
|
118
|
+
listOrganizationSourcesRaw(requestParameters, initOverrides) {
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
if (requestParameters['organizationId'] == null) {
|
|
121
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling listOrganizationSources().');
|
|
122
|
+
}
|
|
123
|
+
const queryParameters = {};
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
const response = yield this.request({
|
|
126
|
+
path: `/authentications/organizations/{organizationId}/sources`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))),
|
|
127
|
+
method: 'GET',
|
|
128
|
+
headers: headerParameters,
|
|
129
|
+
query: queryParameters,
|
|
130
|
+
}, initOverrides);
|
|
131
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListOrganizationSourceAuthenticationResultSchemaFromJSON)(jsonValue));
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Get all the authentication sources for an organization
|
|
136
|
+
*/
|
|
137
|
+
listOrganizationSources(requestParameters, initOverrides) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const response = yield this.listOrganizationSourcesRaw(requestParameters, initOverrides);
|
|
140
|
+
return yield response.value();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Enable or disable a given source for an organization
|
|
145
|
+
*/
|
|
146
|
+
toggleOrganizationSourceRaw(requestParameters, initOverrides) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
if (requestParameters['organizationId'] == null) {
|
|
149
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling toggleOrganizationSource().');
|
|
150
|
+
}
|
|
151
|
+
if (requestParameters['sourceKey'] == null) {
|
|
152
|
+
throw new runtime.RequiredError('sourceKey', 'Required parameter "sourceKey" was null or undefined when calling toggleOrganizationSource().');
|
|
153
|
+
}
|
|
154
|
+
if (requestParameters['toggleSourceAuthenticationSchema'] == null) {
|
|
155
|
+
throw new runtime.RequiredError('toggleSourceAuthenticationSchema', 'Required parameter "toggleSourceAuthenticationSchema" was null or undefined when calling toggleOrganizationSource().');
|
|
156
|
+
}
|
|
157
|
+
const queryParameters = {};
|
|
158
|
+
const headerParameters = {};
|
|
159
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
160
|
+
const response = yield this.request({
|
|
161
|
+
path: `/authentications/organizations/{organizationId}/sources/{sourceKey}/state`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))).replace(`{${"sourceKey"}}`, encodeURIComponent(String(requestParameters['sourceKey']))),
|
|
162
|
+
method: 'PUT',
|
|
163
|
+
headers: headerParameters,
|
|
164
|
+
query: queryParameters,
|
|
165
|
+
body: (0, index_1.ToggleSourceAuthenticationSchemaToJSON)(requestParameters['toggleSourceAuthenticationSchema']),
|
|
166
|
+
}, initOverrides);
|
|
167
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationSourceAuthenticationResultSchemaFromJSON)(jsonValue));
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Enable or disable a given source for an organization
|
|
172
|
+
*/
|
|
173
|
+
toggleOrganizationSource(requestParameters, initOverrides) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
const response = yield this.toggleOrganizationSourceRaw(requestParameters, initOverrides);
|
|
176
|
+
return yield response.value();
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Update the credentials of a given source for an organization
|
|
181
|
+
*/
|
|
182
|
+
updateOrganizationSourceRaw(requestParameters, initOverrides) {
|
|
183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
+
if (requestParameters['organizationId'] == null) {
|
|
185
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling updateOrganizationSource().');
|
|
186
|
+
}
|
|
187
|
+
if (requestParameters['sourceKey'] == null) {
|
|
188
|
+
throw new runtime.RequiredError('sourceKey', 'Required parameter "sourceKey" was null or undefined when calling updateOrganizationSource().');
|
|
189
|
+
}
|
|
190
|
+
if (requestParameters['payload'] == null) {
|
|
191
|
+
throw new runtime.RequiredError('payload', 'Required parameter "payload" was null or undefined when calling updateOrganizationSource().');
|
|
192
|
+
}
|
|
193
|
+
const queryParameters = {};
|
|
194
|
+
const headerParameters = {};
|
|
195
|
+
const consumes = [
|
|
196
|
+
{ contentType: 'multipart/form-data' },
|
|
197
|
+
];
|
|
198
|
+
// @ts-ignore: canConsumeForm may be unused
|
|
199
|
+
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
200
|
+
let formParams;
|
|
201
|
+
let useForm = false;
|
|
202
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
203
|
+
useForm = canConsumeForm;
|
|
204
|
+
if (useForm) {
|
|
205
|
+
formParams = new FormData();
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
formParams = new URLSearchParams();
|
|
209
|
+
}
|
|
210
|
+
if (requestParameters['payload'] != null) {
|
|
211
|
+
formParams.append('payload', new Blob([JSON.stringify((0, index_1.OrganizationSourceAuthenticationResultSchemaToJSON)(requestParameters['payload']))], { type: "application/json", }));
|
|
212
|
+
}
|
|
213
|
+
if (requestParameters['certificate'] != null) {
|
|
214
|
+
formParams.append('certificate', requestParameters['certificate']);
|
|
215
|
+
}
|
|
216
|
+
const response = yield this.request({
|
|
217
|
+
path: `/authentications/organizations/{organizationId}/sources/{sourceKey}`.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId']))).replace(`{${"sourceKey"}}`, encodeURIComponent(String(requestParameters['sourceKey']))),
|
|
218
|
+
method: 'PUT',
|
|
219
|
+
headers: headerParameters,
|
|
220
|
+
query: queryParameters,
|
|
221
|
+
body: formParams,
|
|
222
|
+
}, initOverrides);
|
|
223
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationSourceAuthenticationResultSchemaFromJSON)(jsonValue));
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Update the credentials of a given source for an organization
|
|
228
|
+
*/
|
|
229
|
+
updateOrganizationSource(requestParameters, initOverrides) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
const response = yield this.updateOrganizationSourceRaw(requestParameters, initOverrides);
|
|
232
|
+
return yield response.value();
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
exports.OrganizationSourceAuthenticationApi = OrganizationSourceAuthenticationApi;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./ContactApi"), exports);
|
|
20
|
+
__exportStar(require("./OrganizationSourceAuthenticationApi"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UCX Proxy
|
|
3
|
+
* A single use API for the UCX Proxy.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
6
|
+
* Contact: customersuccess@equisoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { SourceResultSchema } from '../models/index';
|
|
14
|
+
export interface SearchContactsRequest {
|
|
15
|
+
name?: string | null;
|
|
16
|
+
offset?: number | null;
|
|
17
|
+
limit?: number | null;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare class ContactApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Search contacts
|
|
25
|
+
*/
|
|
26
|
+
searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceResultSchema>>>;
|
|
27
|
+
/**
|
|
28
|
+
* Search contacts
|
|
29
|
+
*/
|
|
30
|
+
searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceResultSchema>>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* UCX Proxy
|
|
5
|
+
* A single use API for the UCX Proxy.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.0.3-SNAPSHOT
|
|
8
|
+
* Contact: customersuccess@equisoft.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { SourceResultSchemaFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ContactApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Search contacts
|
|
31
|
+
*/
|
|
32
|
+
searchContactsRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const queryParameters = {};
|
|
35
|
+
if (requestParameters['name'] != null) {
|
|
36
|
+
queryParameters['name'] = requestParameters['name'];
|
|
37
|
+
}
|
|
38
|
+
if (requestParameters['offset'] != null) {
|
|
39
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters['limit'] != null) {
|
|
42
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
43
|
+
}
|
|
44
|
+
const headerParameters = {};
|
|
45
|
+
const response = yield this.request({
|
|
46
|
+
path: `/contacts`,
|
|
47
|
+
method: 'GET',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
}, initOverrides);
|
|
51
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SourceResultSchemaFromJSON));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Search contacts
|
|
56
|
+
*/
|
|
57
|
+
searchContacts() {
|
|
58
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
59
|
+
const response = yield this.searchContactsRaw(requestParameters, initOverrides);
|
|
60
|
+
return yield response.value();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|