@equisoft/ucx-proxy-sdk-typescript 0.0.3-snapshot.20251007132830 → 0.0.3-snapshot.20260113170058
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 +1 -0
- package/.tool-versions +1 -1
- package/.yarn/cache/typescript-npm-5.9.2-d00cd8b149-cc2fe6c822.zip +0 -0
- package/.yarn/cache/typescript-patch-bcfe2ebaf8-bd810ab13e.zip +0 -0
- package/dist/esm/models/AuthenticationConfigSchema.d.ts +42 -0
- package/dist/esm/models/AuthenticationConfigSchema.js +47 -0
- package/dist/esm/models/CreatePayloadSourceAuthenticationSchema.d.ts +4 -4
- package/dist/esm/models/ErrorResponse.d.ts +2 -2
- package/dist/esm/models/OrganizationSourceAuthenticationSchema.d.ts +3 -12
- package/dist/esm/models/OrganizationSourceAuthenticationSchema.js +4 -7
- package/dist/esm/models/UpdatePayloadSourceAuthenticationSchema.d.ts +4 -4
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/AuthenticationConfigSchema.d.ts +42 -0
- package/dist/models/AuthenticationConfigSchema.js +54 -0
- package/dist/models/CreatePayloadSourceAuthenticationSchema.d.ts +4 -4
- package/dist/models/ErrorResponse.d.ts +2 -2
- package/dist/models/OrganizationSourceAuthenticationSchema.d.ts +3 -12
- package/dist/models/OrganizationSourceAuthenticationSchema.js +4 -7
- package/dist/models/UpdatePayloadSourceAuthenticationSchema.d.ts +4 -4
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/AuthenticationConfigSchema.ts +75 -0
- package/src/models/CreatePayloadSourceAuthenticationSchema.ts +4 -4
- package/src/models/ErrorResponse.ts +2 -2
- package/src/models/OrganizationSourceAuthenticationSchema.ts +13 -14
- package/src/models/UpdatePayloadSourceAuthenticationSchema.ts +4 -4
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
package/.tool-versions
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AuthenticationConfigSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticationConfigSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
|
+
* @memberof AuthenticationConfigSchema
|
|
22
|
+
*/
|
|
23
|
+
securedData: {
|
|
24
|
+
[key: string]: object;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: object; }}
|
|
29
|
+
* @memberof AuthenticationConfigSchema
|
|
30
|
+
*/
|
|
31
|
+
plainData: {
|
|
32
|
+
[key: string]: object;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the AuthenticationConfigSchema interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfAuthenticationConfigSchema(value: object): value is AuthenticationConfigSchema;
|
|
39
|
+
export declare function AuthenticationConfigSchemaFromJSON(json: any): AuthenticationConfigSchema;
|
|
40
|
+
export declare function AuthenticationConfigSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationConfigSchema;
|
|
41
|
+
export declare function AuthenticationConfigSchemaToJSON(json: any): AuthenticationConfigSchema;
|
|
42
|
+
export declare function AuthenticationConfigSchemaToJSONTyped(value?: AuthenticationConfigSchema | 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 AuthenticationConfigSchema interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuthenticationConfigSchema(value) {
|
|
18
|
+
if (!('securedData' in value) || value['securedData'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('plainData' in value) || value['plainData'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function AuthenticationConfigSchemaFromJSON(json) {
|
|
25
|
+
return AuthenticationConfigSchemaFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function AuthenticationConfigSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'securedData': json['securedData'],
|
|
33
|
+
'plainData': json['plainData'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function AuthenticationConfigSchemaToJSON(json) {
|
|
37
|
+
return AuthenticationConfigSchemaToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuthenticationConfigSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'securedData': value['securedData'],
|
|
45
|
+
'plainData': value['plainData'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -29,19 +29,19 @@ export interface CreatePayloadSourceAuthenticationSchema {
|
|
|
29
29
|
modifiedBy: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {{ [key: string]:
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
33
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
34
34
|
*/
|
|
35
35
|
securedData: {
|
|
36
|
-
[key: string]:
|
|
36
|
+
[key: string]: object;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {{ [key: string]:
|
|
40
|
+
* @type {{ [key: string]: object; }}
|
|
41
41
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
42
42
|
*/
|
|
43
43
|
plainData: {
|
|
44
|
-
[key: string]:
|
|
44
|
+
[key: string]: object;
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
export interface ErrorResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]:
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
21
|
* @memberof ErrorResponse
|
|
22
22
|
*/
|
|
23
23
|
details?: {
|
|
24
|
-
[key: string]:
|
|
24
|
+
[key: string]: object;
|
|
25
25
|
} | null;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AuthenticationConfigSchema } from './AuthenticationConfigSchema';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,20 +30,10 @@ export interface OrganizationSourceAuthenticationSchema {
|
|
|
29
30
|
sourceKey: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {AuthenticationConfigSchema}
|
|
33
34
|
* @memberof OrganizationSourceAuthenticationSchema
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {{ [key: string]: any; }}
|
|
41
|
-
* @memberof OrganizationSourceAuthenticationSchema
|
|
42
|
-
*/
|
|
43
|
-
plainData: {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
};
|
|
36
|
+
authenticationConfig: AuthenticationConfigSchema;
|
|
46
37
|
/**
|
|
47
38
|
*
|
|
48
39
|
* @type {boolean}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { AuthenticationConfigSchemaFromJSON, AuthenticationConfigSchemaToJSON, } from './AuthenticationConfigSchema';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the OrganizationSourceAuthenticationSchema interface.
|
|
16
17
|
*/
|
|
@@ -19,9 +20,7 @@ export function instanceOfOrganizationSourceAuthenticationSchema(value) {
|
|
|
19
20
|
return false;
|
|
20
21
|
if (!('sourceKey' in value) || value['sourceKey'] === undefined)
|
|
21
22
|
return false;
|
|
22
|
-
if (!('
|
|
23
|
-
return false;
|
|
24
|
-
if (!('plainData' in value) || value['plainData'] === undefined)
|
|
23
|
+
if (!('authenticationConfig' in value) || value['authenticationConfig'] === undefined)
|
|
25
24
|
return false;
|
|
26
25
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined)
|
|
27
26
|
return false;
|
|
@@ -43,8 +42,7 @@ export function OrganizationSourceAuthenticationSchemaFromJSONTyped(json, ignore
|
|
|
43
42
|
return {
|
|
44
43
|
'organizationId': json['organizationId'],
|
|
45
44
|
'sourceKey': json['sourceKey'],
|
|
46
|
-
'
|
|
47
|
-
'plainData': json['plainData'],
|
|
45
|
+
'authenticationConfig': AuthenticationConfigSchemaFromJSON(json['authenticationConfig']),
|
|
48
46
|
'isEnabled': json['isEnabled'],
|
|
49
47
|
'dateCreated': (new Date(json['dateCreated'])),
|
|
50
48
|
'dateModified': (new Date(json['dateModified'])),
|
|
@@ -61,8 +59,7 @@ export function OrganizationSourceAuthenticationSchemaToJSONTyped(value, ignoreD
|
|
|
61
59
|
return {
|
|
62
60
|
'organizationId': value['organizationId'],
|
|
63
61
|
'sourceKey': value['sourceKey'],
|
|
64
|
-
'
|
|
65
|
-
'plainData': value['plainData'],
|
|
62
|
+
'authenticationConfig': AuthenticationConfigSchemaToJSON(value['authenticationConfig']),
|
|
66
63
|
'isEnabled': value['isEnabled'],
|
|
67
64
|
'dateCreated': ((value['dateCreated']).toISOString()),
|
|
68
65
|
'dateModified': ((value['dateModified']).toISOString()),
|
|
@@ -23,19 +23,19 @@ export interface UpdatePayloadSourceAuthenticationSchema {
|
|
|
23
23
|
modifiedBy: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]:
|
|
26
|
+
* @type {{ [key: string]: object; }}
|
|
27
27
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
28
28
|
*/
|
|
29
29
|
securedData: {
|
|
30
|
-
[key: string]:
|
|
30
|
+
[key: string]: object;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {{ [key: string]:
|
|
34
|
+
* @type {{ [key: string]: object; }}
|
|
35
35
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
36
36
|
*/
|
|
37
37
|
plainData: {
|
|
38
|
-
[key: string]:
|
|
38
|
+
[key: string]: object;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
/**
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AddressLabel';
|
|
4
4
|
export * from './AddressSchema';
|
|
5
|
+
export * from './AuthenticationConfigSchema';
|
|
5
6
|
export * from './ContactLanguage';
|
|
6
7
|
export * from './ContactSchema';
|
|
7
8
|
export * from './CreatePayloadSourceAuthenticationSchema';
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AuthenticationConfigSchema
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticationConfigSchema {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
|
+
* @memberof AuthenticationConfigSchema
|
|
22
|
+
*/
|
|
23
|
+
securedData: {
|
|
24
|
+
[key: string]: object;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: object; }}
|
|
29
|
+
* @memberof AuthenticationConfigSchema
|
|
30
|
+
*/
|
|
31
|
+
plainData: {
|
|
32
|
+
[key: string]: object;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the AuthenticationConfigSchema interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfAuthenticationConfigSchema(value: object): value is AuthenticationConfigSchema;
|
|
39
|
+
export declare function AuthenticationConfigSchemaFromJSON(json: any): AuthenticationConfigSchema;
|
|
40
|
+
export declare function AuthenticationConfigSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationConfigSchema;
|
|
41
|
+
export declare function AuthenticationConfigSchemaToJSON(json: any): AuthenticationConfigSchema;
|
|
42
|
+
export declare function AuthenticationConfigSchemaToJSONTyped(value?: AuthenticationConfigSchema | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuthenticationConfigSchema = instanceOfAuthenticationConfigSchema;
|
|
17
|
+
exports.AuthenticationConfigSchemaFromJSON = AuthenticationConfigSchemaFromJSON;
|
|
18
|
+
exports.AuthenticationConfigSchemaFromJSONTyped = AuthenticationConfigSchemaFromJSONTyped;
|
|
19
|
+
exports.AuthenticationConfigSchemaToJSON = AuthenticationConfigSchemaToJSON;
|
|
20
|
+
exports.AuthenticationConfigSchemaToJSONTyped = AuthenticationConfigSchemaToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuthenticationConfigSchema interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuthenticationConfigSchema(value) {
|
|
25
|
+
if (!('securedData' in value) || value['securedData'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('plainData' in value) || value['plainData'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AuthenticationConfigSchemaFromJSON(json) {
|
|
32
|
+
return AuthenticationConfigSchemaFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AuthenticationConfigSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'securedData': json['securedData'],
|
|
40
|
+
'plainData': json['plainData'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AuthenticationConfigSchemaToJSON(json) {
|
|
44
|
+
return AuthenticationConfigSchemaToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AuthenticationConfigSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'securedData': value['securedData'],
|
|
52
|
+
'plainData': value['plainData'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -29,19 +29,19 @@ export interface CreatePayloadSourceAuthenticationSchema {
|
|
|
29
29
|
modifiedBy: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {{ [key: string]:
|
|
32
|
+
* @type {{ [key: string]: object; }}
|
|
33
33
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
34
34
|
*/
|
|
35
35
|
securedData: {
|
|
36
|
-
[key: string]:
|
|
36
|
+
[key: string]: object;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {{ [key: string]:
|
|
40
|
+
* @type {{ [key: string]: object; }}
|
|
41
41
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
42
42
|
*/
|
|
43
43
|
plainData: {
|
|
44
|
-
[key: string]:
|
|
44
|
+
[key: string]: object;
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
export interface ErrorResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]:
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
21
|
* @memberof ErrorResponse
|
|
22
22
|
*/
|
|
23
23
|
details?: {
|
|
24
|
-
[key: string]:
|
|
24
|
+
[key: string]: object;
|
|
25
25
|
} | null;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AuthenticationConfigSchema } from './AuthenticationConfigSchema';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,20 +30,10 @@ export interface OrganizationSourceAuthenticationSchema {
|
|
|
29
30
|
sourceKey: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {AuthenticationConfigSchema}
|
|
33
34
|
* @memberof OrganizationSourceAuthenticationSchema
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {{ [key: string]: any; }}
|
|
41
|
-
* @memberof OrganizationSourceAuthenticationSchema
|
|
42
|
-
*/
|
|
43
|
-
plainData: {
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
};
|
|
36
|
+
authenticationConfig: AuthenticationConfigSchema;
|
|
46
37
|
/**
|
|
47
38
|
*
|
|
48
39
|
* @type {boolean}
|
|
@@ -18,6 +18,7 @@ exports.OrganizationSourceAuthenticationSchemaFromJSON = OrganizationSourceAuthe
|
|
|
18
18
|
exports.OrganizationSourceAuthenticationSchemaFromJSONTyped = OrganizationSourceAuthenticationSchemaFromJSONTyped;
|
|
19
19
|
exports.OrganizationSourceAuthenticationSchemaToJSON = OrganizationSourceAuthenticationSchemaToJSON;
|
|
20
20
|
exports.OrganizationSourceAuthenticationSchemaToJSONTyped = OrganizationSourceAuthenticationSchemaToJSONTyped;
|
|
21
|
+
const AuthenticationConfigSchema_1 = require("./AuthenticationConfigSchema");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the OrganizationSourceAuthenticationSchema interface.
|
|
23
24
|
*/
|
|
@@ -26,9 +27,7 @@ function instanceOfOrganizationSourceAuthenticationSchema(value) {
|
|
|
26
27
|
return false;
|
|
27
28
|
if (!('sourceKey' in value) || value['sourceKey'] === undefined)
|
|
28
29
|
return false;
|
|
29
|
-
if (!('
|
|
30
|
-
return false;
|
|
31
|
-
if (!('plainData' in value) || value['plainData'] === undefined)
|
|
30
|
+
if (!('authenticationConfig' in value) || value['authenticationConfig'] === undefined)
|
|
32
31
|
return false;
|
|
33
32
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined)
|
|
34
33
|
return false;
|
|
@@ -50,8 +49,7 @@ function OrganizationSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscrim
|
|
|
50
49
|
return {
|
|
51
50
|
'organizationId': json['organizationId'],
|
|
52
51
|
'sourceKey': json['sourceKey'],
|
|
53
|
-
'
|
|
54
|
-
'plainData': json['plainData'],
|
|
52
|
+
'authenticationConfig': (0, AuthenticationConfigSchema_1.AuthenticationConfigSchemaFromJSON)(json['authenticationConfig']),
|
|
55
53
|
'isEnabled': json['isEnabled'],
|
|
56
54
|
'dateCreated': (new Date(json['dateCreated'])),
|
|
57
55
|
'dateModified': (new Date(json['dateModified'])),
|
|
@@ -68,8 +66,7 @@ function OrganizationSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscrimi
|
|
|
68
66
|
return {
|
|
69
67
|
'organizationId': value['organizationId'],
|
|
70
68
|
'sourceKey': value['sourceKey'],
|
|
71
|
-
'
|
|
72
|
-
'plainData': value['plainData'],
|
|
69
|
+
'authenticationConfig': (0, AuthenticationConfigSchema_1.AuthenticationConfigSchemaToJSON)(value['authenticationConfig']),
|
|
73
70
|
'isEnabled': value['isEnabled'],
|
|
74
71
|
'dateCreated': ((value['dateCreated']).toISOString()),
|
|
75
72
|
'dateModified': ((value['dateModified']).toISOString()),
|
|
@@ -23,19 +23,19 @@ export interface UpdatePayloadSourceAuthenticationSchema {
|
|
|
23
23
|
modifiedBy: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]:
|
|
26
|
+
* @type {{ [key: string]: object; }}
|
|
27
27
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
28
28
|
*/
|
|
29
29
|
securedData: {
|
|
30
|
-
[key: string]:
|
|
30
|
+
[key: string]: object;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {{ [key: string]:
|
|
34
|
+
* @type {{ [key: string]: object; }}
|
|
35
35
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
36
36
|
*/
|
|
37
37
|
plainData: {
|
|
38
|
-
[key: string]:
|
|
38
|
+
[key: string]: object;
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
/**
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AddressLabel"), exports);
|
|
20
20
|
__exportStar(require("./AddressSchema"), exports);
|
|
21
|
+
__exportStar(require("./AuthenticationConfigSchema"), exports);
|
|
21
22
|
__exportStar(require("./ContactLanguage"), exports);
|
|
22
23
|
__exportStar(require("./ContactSchema"), exports);
|
|
23
24
|
__exportStar(require("./CreatePayloadSourceAuthenticationSchema"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuthenticationConfigSchema
|
|
20
|
+
*/
|
|
21
|
+
export interface AuthenticationConfigSchema {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {{ [key: string]: object; }}
|
|
25
|
+
* @memberof AuthenticationConfigSchema
|
|
26
|
+
*/
|
|
27
|
+
securedData: { [key: string]: object; };
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: object; }}
|
|
31
|
+
* @memberof AuthenticationConfigSchema
|
|
32
|
+
*/
|
|
33
|
+
plainData: { [key: string]: object; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the AuthenticationConfigSchema interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfAuthenticationConfigSchema(value: object): value is AuthenticationConfigSchema {
|
|
40
|
+
if (!('securedData' in value) || value['securedData'] === undefined) return false;
|
|
41
|
+
if (!('plainData' in value) || value['plainData'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function AuthenticationConfigSchemaFromJSON(json: any): AuthenticationConfigSchema {
|
|
46
|
+
return AuthenticationConfigSchemaFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function AuthenticationConfigSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticationConfigSchema {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'securedData': json['securedData'],
|
|
56
|
+
'plainData': json['plainData'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function AuthenticationConfigSchemaToJSON(json: any): AuthenticationConfigSchema {
|
|
61
|
+
return AuthenticationConfigSchemaToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function AuthenticationConfigSchemaToJSONTyped(value?: AuthenticationConfigSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'securedData': value['securedData'],
|
|
72
|
+
'plainData': value['plainData'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -33,16 +33,16 @@ export interface CreatePayloadSourceAuthenticationSchema {
|
|
|
33
33
|
modifiedBy: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]:
|
|
36
|
+
* @type {{ [key: string]: object; }}
|
|
37
37
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
38
38
|
*/
|
|
39
|
-
securedData: { [key: string]:
|
|
39
|
+
securedData: { [key: string]: object; };
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {{ [key: string]:
|
|
42
|
+
* @type {{ [key: string]: object; }}
|
|
43
43
|
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
44
44
|
*/
|
|
45
|
-
plainData: { [key: string]:
|
|
45
|
+
plainData: { [key: string]: object; };
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
@@ -21,10 +21,10 @@ import { mapValues } from '../runtime';
|
|
|
21
21
|
export interface ErrorResponse {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {{ [key: string]:
|
|
24
|
+
* @type {{ [key: string]: object; }}
|
|
25
25
|
* @memberof ErrorResponse
|
|
26
26
|
*/
|
|
27
|
-
details?: { [key: string]:
|
|
27
|
+
details?: { [key: string]: object; } | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AuthenticationConfigSchema } from './AuthenticationConfigSchema';
|
|
17
|
+
import {
|
|
18
|
+
AuthenticationConfigSchemaFromJSON,
|
|
19
|
+
AuthenticationConfigSchemaFromJSONTyped,
|
|
20
|
+
AuthenticationConfigSchemaToJSON,
|
|
21
|
+
AuthenticationConfigSchemaToJSONTyped,
|
|
22
|
+
} from './AuthenticationConfigSchema';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -33,16 +41,10 @@ export interface OrganizationSourceAuthenticationSchema {
|
|
|
33
41
|
sourceKey: string;
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
36
|
-
* @type {
|
|
37
|
-
* @memberof OrganizationSourceAuthenticationSchema
|
|
38
|
-
*/
|
|
39
|
-
securedData: { [key: string]: any; };
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {{ [key: string]: any; }}
|
|
44
|
+
* @type {AuthenticationConfigSchema}
|
|
43
45
|
* @memberof OrganizationSourceAuthenticationSchema
|
|
44
46
|
*/
|
|
45
|
-
|
|
47
|
+
authenticationConfig: AuthenticationConfigSchema;
|
|
46
48
|
/**
|
|
47
49
|
*
|
|
48
50
|
* @type {boolean}
|
|
@@ -75,8 +77,7 @@ export interface OrganizationSourceAuthenticationSchema {
|
|
|
75
77
|
export function instanceOfOrganizationSourceAuthenticationSchema(value: object): value is OrganizationSourceAuthenticationSchema {
|
|
76
78
|
if (!('organizationId' in value) || value['organizationId'] === undefined) return false;
|
|
77
79
|
if (!('sourceKey' in value) || value['sourceKey'] === undefined) return false;
|
|
78
|
-
if (!('
|
|
79
|
-
if (!('plainData' in value) || value['plainData'] === undefined) return false;
|
|
80
|
+
if (!('authenticationConfig' in value) || value['authenticationConfig'] === undefined) return false;
|
|
80
81
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
|
|
81
82
|
if (!('dateCreated' in value) || value['dateCreated'] === undefined) return false;
|
|
82
83
|
if (!('dateModified' in value) || value['dateModified'] === undefined) return false;
|
|
@@ -96,8 +97,7 @@ export function OrganizationSourceAuthenticationSchemaFromJSONTyped(json: any, i
|
|
|
96
97
|
|
|
97
98
|
'organizationId': json['organizationId'],
|
|
98
99
|
'sourceKey': json['sourceKey'],
|
|
99
|
-
'
|
|
100
|
-
'plainData': json['plainData'],
|
|
100
|
+
'authenticationConfig': AuthenticationConfigSchemaFromJSON(json['authenticationConfig']),
|
|
101
101
|
'isEnabled': json['isEnabled'],
|
|
102
102
|
'dateCreated': (new Date(json['dateCreated'])),
|
|
103
103
|
'dateModified': (new Date(json['dateModified'])),
|
|
@@ -118,8 +118,7 @@ export function OrganizationSourceAuthenticationSchemaToJSONTyped(value?: Organi
|
|
|
118
118
|
|
|
119
119
|
'organizationId': value['organizationId'],
|
|
120
120
|
'sourceKey': value['sourceKey'],
|
|
121
|
-
'
|
|
122
|
-
'plainData': value['plainData'],
|
|
121
|
+
'authenticationConfig': AuthenticationConfigSchemaToJSON(value['authenticationConfig']),
|
|
123
122
|
'isEnabled': value['isEnabled'],
|
|
124
123
|
'dateCreated': ((value['dateCreated']).toISOString()),
|
|
125
124
|
'dateModified': ((value['dateModified']).toISOString()),
|
|
@@ -27,16 +27,16 @@ export interface UpdatePayloadSourceAuthenticationSchema {
|
|
|
27
27
|
modifiedBy: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {{ [key: string]:
|
|
30
|
+
* @type {{ [key: string]: object; }}
|
|
31
31
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
32
32
|
*/
|
|
33
|
-
securedData: { [key: string]:
|
|
33
|
+
securedData: { [key: string]: object; };
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]:
|
|
36
|
+
* @type {{ [key: string]: object; }}
|
|
37
37
|
* @memberof UpdatePayloadSourceAuthenticationSchema
|
|
38
38
|
*/
|
|
39
|
-
plainData: { [key: string]:
|
|
39
|
+
plainData: { [key: string]: object; };
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
package/src/models/index.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AddressLabel';
|
|
4
4
|
export * from './AddressSchema';
|
|
5
|
+
export * from './AuthenticationConfigSchema';
|
|
5
6
|
export * from './ContactLanguage';
|
|
6
7
|
export * from './ContactSchema';
|
|
7
8
|
export * from './CreatePayloadSourceAuthenticationSchema';
|