@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,50 @@
|
|
|
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
|
+
import { PhoneLabelFromJSON, PhoneLabelToJSON, } from './PhoneLabel';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PhoneSchema interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPhoneSchema(value) {
|
|
19
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('number' in value) || value['number'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function PhoneSchemaFromJSON(json) {
|
|
26
|
+
return PhoneSchemaFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PhoneSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'label': PhoneLabelFromJSON(json['label']),
|
|
34
|
+
'number': json['number'],
|
|
35
|
+
'extension': json['extension'] == null ? undefined : json['extension'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PhoneSchemaToJSON(json) {
|
|
39
|
+
return PhoneSchemaToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PhoneSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'label': PhoneLabelToJSON(value['label']),
|
|
47
|
+
'number': value['number'],
|
|
48
|
+
'extension': value['extension'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 type { Status } from './Status';
|
|
13
|
+
import type { ContactSchema } from './ContactSchema';
|
|
14
|
+
import type { ErrorResponse } from './ErrorResponse';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface SourceResultSchema
|
|
19
|
+
*/
|
|
20
|
+
export interface SourceResultSchema {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Status}
|
|
24
|
+
* @memberof SourceResultSchema
|
|
25
|
+
*/
|
|
26
|
+
status: Status;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SourceResultSchema
|
|
31
|
+
*/
|
|
32
|
+
sourceKey: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ErrorResponse}
|
|
36
|
+
* @memberof SourceResultSchema
|
|
37
|
+
*/
|
|
38
|
+
errorResponse?: ErrorResponse | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<ContactSchema>}
|
|
42
|
+
* @memberof SourceResultSchema
|
|
43
|
+
*/
|
|
44
|
+
sourceResults?: Array<ContactSchema> | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof SourceResultSchema
|
|
49
|
+
*/
|
|
50
|
+
totalCount?: number | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the SourceResultSchema interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfSourceResultSchema(value: object): value is SourceResultSchema;
|
|
56
|
+
export declare function SourceResultSchemaFromJSON(json: any): SourceResultSchema;
|
|
57
|
+
export declare function SourceResultSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceResultSchema;
|
|
58
|
+
export declare function SourceResultSchemaToJSON(json: any): SourceResultSchema;
|
|
59
|
+
export declare function SourceResultSchemaToJSONTyped(value?: SourceResultSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
import { StatusFromJSON, StatusToJSON, } from './Status';
|
|
15
|
+
import { ContactSchemaFromJSON, ContactSchemaToJSON, } from './ContactSchema';
|
|
16
|
+
import { ErrorResponseFromJSON, ErrorResponseToJSON, } from './ErrorResponse';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SourceResultSchema interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfSourceResultSchema(value) {
|
|
21
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('sourceKey' in value) || value['sourceKey'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function SourceResultSchemaFromJSON(json) {
|
|
28
|
+
return SourceResultSchemaFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function SourceResultSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'status': StatusFromJSON(json['status']),
|
|
36
|
+
'sourceKey': json['source_key'],
|
|
37
|
+
'errorResponse': json['error_response'] == null ? undefined : ErrorResponseFromJSON(json['error_response']),
|
|
38
|
+
'sourceResults': json['source_results'] == null ? undefined : (json['source_results'].map(ContactSchemaFromJSON)),
|
|
39
|
+
'totalCount': json['total_count'] == null ? undefined : json['total_count'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SourceResultSchemaToJSON(json) {
|
|
43
|
+
return SourceResultSchemaToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SourceResultSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'status': StatusToJSON(value['status']),
|
|
51
|
+
'source_key': value['sourceKey'],
|
|
52
|
+
'error_response': ErrorResponseToJSON(value['errorResponse']),
|
|
53
|
+
'source_results': value['sourceResults'] == null ? undefined : (value['sourceResults'].map(ContactSchemaToJSON)),
|
|
54
|
+
'total_count': value['totalCount'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const Status: {
|
|
17
|
+
readonly SUCCESS: "SUCCESS";
|
|
18
|
+
readonly FAILED: "FAILED";
|
|
19
|
+
readonly unknown_default_open_api: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type Status = typeof Status[keyof typeof Status];
|
|
22
|
+
export declare function instanceOfStatus(value: any): boolean;
|
|
23
|
+
export declare function StatusFromJSON(json: any): Status;
|
|
24
|
+
export declare function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status;
|
|
25
|
+
export declare function StatusToJSON(value?: Status | null): any;
|
|
26
|
+
export declare function StatusToJSONTyped(value: any, ignoreDiscriminator: boolean): Status;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const Status = {
|
|
19
|
+
SUCCESS: 'SUCCESS',
|
|
20
|
+
FAILED: 'FAILED',
|
|
21
|
+
unknown_default_open_api: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfStatus(value) {
|
|
24
|
+
for (const key in Status) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(Status, key)) {
|
|
26
|
+
if (Status[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function StatusFromJSON(json) {
|
|
34
|
+
return StatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function StatusToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function StatusToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ToggleSourceAuthenticationSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface ToggleSourceAuthenticationSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ToggleSourceAuthenticationSchema
|
|
22
|
+
*/
|
|
23
|
+
isEnabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ToggleSourceAuthenticationSchema
|
|
28
|
+
*/
|
|
29
|
+
modifiedBy: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ToggleSourceAuthenticationSchema interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfToggleSourceAuthenticationSchema(value: object): value is ToggleSourceAuthenticationSchema;
|
|
35
|
+
export declare function ToggleSourceAuthenticationSchemaFromJSON(json: any): ToggleSourceAuthenticationSchema;
|
|
36
|
+
export declare function ToggleSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToggleSourceAuthenticationSchema;
|
|
37
|
+
export declare function ToggleSourceAuthenticationSchemaToJSON(json: any): ToggleSourceAuthenticationSchema;
|
|
38
|
+
export declare function ToggleSourceAuthenticationSchemaToJSONTyped(value?: ToggleSourceAuthenticationSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ToggleSourceAuthenticationSchema interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfToggleSourceAuthenticationSchema(value) {
|
|
18
|
+
if (!('isEnabled' in value) || value['isEnabled'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('modifiedBy' in value) || value['modifiedBy'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ToggleSourceAuthenticationSchemaFromJSON(json) {
|
|
25
|
+
return ToggleSourceAuthenticationSchemaFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ToggleSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'isEnabled': json['isEnabled'],
|
|
33
|
+
'modifiedBy': json['modifiedBy'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ToggleSourceAuthenticationSchemaToJSON(json) {
|
|
37
|
+
return ToggleSourceAuthenticationSchemaToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ToggleSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'isEnabled': value['isEnabled'],
|
|
45
|
+
'modifiedBy': value['modifiedBy'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdatePayloadSourceAuthenticationSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdatePayloadSourceAuthenticationSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
22
|
+
*/
|
|
23
|
+
modifiedBy: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
28
|
+
*/
|
|
29
|
+
securedData: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: any; }}
|
|
35
|
+
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
36
|
+
*/
|
|
37
|
+
plainData: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the UpdatePayloadSourceAuthenticationSchema interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfUpdatePayloadSourceAuthenticationSchema(value: object): value is UpdatePayloadSourceAuthenticationSchema;
|
|
45
|
+
export declare function UpdatePayloadSourceAuthenticationSchemaFromJSON(json: any): UpdatePayloadSourceAuthenticationSchema;
|
|
46
|
+
export declare function UpdatePayloadSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePayloadSourceAuthenticationSchema;
|
|
47
|
+
export declare function UpdatePayloadSourceAuthenticationSchemaToJSON(json: any): UpdatePayloadSourceAuthenticationSchema;
|
|
48
|
+
export declare function UpdatePayloadSourceAuthenticationSchemaToJSONTyped(value?: UpdatePayloadSourceAuthenticationSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the UpdatePayloadSourceAuthenticationSchema interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdatePayloadSourceAuthenticationSchema(value) {
|
|
18
|
+
if (!('modifiedBy' in value) || value['modifiedBy'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('securedData' in value) || value['securedData'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('plainData' in value) || value['plainData'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function UpdatePayloadSourceAuthenticationSchemaFromJSON(json) {
|
|
27
|
+
return UpdatePayloadSourceAuthenticationSchemaFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UpdatePayloadSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'modifiedBy': json['modifiedBy'],
|
|
35
|
+
'securedData': json['securedData'],
|
|
36
|
+
'plainData': json['plainData'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function UpdatePayloadSourceAuthenticationSchemaToJSON(json) {
|
|
40
|
+
return UpdatePayloadSourceAuthenticationSchemaToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function UpdatePayloadSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'modifiedBy': value['modifiedBy'],
|
|
48
|
+
'securedData': value['securedData'],
|
|
49
|
+
'plainData': value['plainData'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './AddressLabel';
|
|
2
|
+
export * from './AddressSchema';
|
|
3
|
+
export * from './ContactLanguage';
|
|
4
|
+
export * from './ContactSchema';
|
|
5
|
+
export * from './CreatePayloadSourceAuthenticationSchema';
|
|
6
|
+
export * from './EmailLabel';
|
|
7
|
+
export * from './EmailSchema';
|
|
8
|
+
export * from './ErrorCodes';
|
|
9
|
+
export * from './ErrorResponse';
|
|
10
|
+
export * from './ErrorSchema';
|
|
11
|
+
export * from './Gender';
|
|
12
|
+
export * from './ListOrganizationSourceAuthenticationResultSchema';
|
|
13
|
+
export * from './MaritalStatus';
|
|
14
|
+
export * from './OrganizationSourceAuthenticationResultSchema';
|
|
15
|
+
export * from './OrganizationSourceAuthenticationSchema';
|
|
16
|
+
export * from './PhoneLabel';
|
|
17
|
+
export * from './PhoneSchema';
|
|
18
|
+
export * from './SourceResultSchema';
|
|
19
|
+
export * from './Status';
|
|
20
|
+
export * from './ToggleSourceAuthenticationSchema';
|
|
21
|
+
export * from './UpdatePayloadSourceAuthenticationSchema';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './AddressLabel';
|
|
4
|
+
export * from './AddressSchema';
|
|
5
|
+
export * from './ContactLanguage';
|
|
6
|
+
export * from './ContactSchema';
|
|
7
|
+
export * from './CreatePayloadSourceAuthenticationSchema';
|
|
8
|
+
export * from './EmailLabel';
|
|
9
|
+
export * from './EmailSchema';
|
|
10
|
+
export * from './ErrorCodes';
|
|
11
|
+
export * from './ErrorResponse';
|
|
12
|
+
export * from './ErrorSchema';
|
|
13
|
+
export * from './Gender';
|
|
14
|
+
export * from './ListOrganizationSourceAuthenticationResultSchema';
|
|
15
|
+
export * from './MaritalStatus';
|
|
16
|
+
export * from './OrganizationSourceAuthenticationResultSchema';
|
|
17
|
+
export * from './OrganizationSourceAuthenticationSchema';
|
|
18
|
+
export * from './PhoneLabel';
|
|
19
|
+
export * from './PhoneSchema';
|
|
20
|
+
export * from './SourceResultSchema';
|
|
21
|
+
export * from './Status';
|
|
22
|
+
export * from './ToggleSourceAuthenticationSchema';
|
|
23
|
+
export * from './UpdatePayloadSourceAuthenticationSchema';
|
|
@@ -0,0 +1,184 @@
|
|
|
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
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
130
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
131
|
+
export interface Consume {
|
|
132
|
+
contentType: string;
|
|
133
|
+
}
|
|
134
|
+
export interface RequestContext {
|
|
135
|
+
fetch: FetchAPI;
|
|
136
|
+
url: string;
|
|
137
|
+
init: RequestInit;
|
|
138
|
+
}
|
|
139
|
+
export interface ResponseContext {
|
|
140
|
+
fetch: FetchAPI;
|
|
141
|
+
url: string;
|
|
142
|
+
init: RequestInit;
|
|
143
|
+
response: Response;
|
|
144
|
+
}
|
|
145
|
+
export interface ErrorContext {
|
|
146
|
+
fetch: FetchAPI;
|
|
147
|
+
url: string;
|
|
148
|
+
init: RequestInit;
|
|
149
|
+
error: unknown;
|
|
150
|
+
response?: Response;
|
|
151
|
+
}
|
|
152
|
+
export interface Middleware {
|
|
153
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
154
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
155
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
156
|
+
}
|
|
157
|
+
export interface ApiResponse<T> {
|
|
158
|
+
raw: Response;
|
|
159
|
+
value(): Promise<T>;
|
|
160
|
+
}
|
|
161
|
+
export interface ResponseTransformer<T> {
|
|
162
|
+
(json: any): T;
|
|
163
|
+
}
|
|
164
|
+
export declare class JSONApiResponse<T> {
|
|
165
|
+
raw: Response;
|
|
166
|
+
private transformer;
|
|
167
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
168
|
+
value(): Promise<T>;
|
|
169
|
+
}
|
|
170
|
+
export declare class VoidApiResponse {
|
|
171
|
+
raw: Response;
|
|
172
|
+
constructor(raw: Response);
|
|
173
|
+
value(): Promise<void>;
|
|
174
|
+
}
|
|
175
|
+
export declare class BlobApiResponse {
|
|
176
|
+
raw: Response;
|
|
177
|
+
constructor(raw: Response);
|
|
178
|
+
value(): Promise<Blob>;
|
|
179
|
+
}
|
|
180
|
+
export declare class TextApiResponse {
|
|
181
|
+
raw: Response;
|
|
182
|
+
constructor(raw: Response);
|
|
183
|
+
value(): Promise<string>;
|
|
184
|
+
}
|