@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,219 @@
|
|
|
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
|
+
import type { MaritalStatus } from './MaritalStatus';
|
|
17
|
+
import {
|
|
18
|
+
MaritalStatusFromJSON,
|
|
19
|
+
MaritalStatusFromJSONTyped,
|
|
20
|
+
MaritalStatusToJSON,
|
|
21
|
+
MaritalStatusToJSONTyped,
|
|
22
|
+
} from './MaritalStatus';
|
|
23
|
+
import type { EmailSchema } from './EmailSchema';
|
|
24
|
+
import {
|
|
25
|
+
EmailSchemaFromJSON,
|
|
26
|
+
EmailSchemaFromJSONTyped,
|
|
27
|
+
EmailSchemaToJSON,
|
|
28
|
+
EmailSchemaToJSONTyped,
|
|
29
|
+
} from './EmailSchema';
|
|
30
|
+
import type { AddressSchema } from './AddressSchema';
|
|
31
|
+
import {
|
|
32
|
+
AddressSchemaFromJSON,
|
|
33
|
+
AddressSchemaFromJSONTyped,
|
|
34
|
+
AddressSchemaToJSON,
|
|
35
|
+
AddressSchemaToJSONTyped,
|
|
36
|
+
} from './AddressSchema';
|
|
37
|
+
import type { ContactLanguage } from './ContactLanguage';
|
|
38
|
+
import {
|
|
39
|
+
ContactLanguageFromJSON,
|
|
40
|
+
ContactLanguageFromJSONTyped,
|
|
41
|
+
ContactLanguageToJSON,
|
|
42
|
+
ContactLanguageToJSONTyped,
|
|
43
|
+
} from './ContactLanguage';
|
|
44
|
+
import type { PhoneSchema } from './PhoneSchema';
|
|
45
|
+
import {
|
|
46
|
+
PhoneSchemaFromJSON,
|
|
47
|
+
PhoneSchemaFromJSONTyped,
|
|
48
|
+
PhoneSchemaToJSON,
|
|
49
|
+
PhoneSchemaToJSONTyped,
|
|
50
|
+
} from './PhoneSchema';
|
|
51
|
+
import type { Gender } from './Gender';
|
|
52
|
+
import {
|
|
53
|
+
GenderFromJSON,
|
|
54
|
+
GenderFromJSONTyped,
|
|
55
|
+
GenderToJSON,
|
|
56
|
+
GenderToJSONTyped,
|
|
57
|
+
} from './Gender';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @interface ContactSchema
|
|
63
|
+
*/
|
|
64
|
+
export interface ContactSchema {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ContactSchema
|
|
69
|
+
*/
|
|
70
|
+
uniqueIdentifier: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ContactSchema
|
|
75
|
+
*/
|
|
76
|
+
externalIdentifier: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof ContactSchema
|
|
81
|
+
*/
|
|
82
|
+
firstName?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ContactSchema
|
|
87
|
+
*/
|
|
88
|
+
middleName?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ContactSchema
|
|
93
|
+
*/
|
|
94
|
+
lastName?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof ContactSchema
|
|
99
|
+
*/
|
|
100
|
+
suffix?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ContactSchema
|
|
105
|
+
*/
|
|
106
|
+
civilityTitle?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {Gender}
|
|
110
|
+
* @memberof ContactSchema
|
|
111
|
+
*/
|
|
112
|
+
gender?: Gender | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {MaritalStatus}
|
|
116
|
+
* @memberof ContactSchema
|
|
117
|
+
*/
|
|
118
|
+
maritalStatus?: MaritalStatus | null;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {Date}
|
|
122
|
+
* @memberof ContactSchema
|
|
123
|
+
*/
|
|
124
|
+
dateOfBirth?: Date | null;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {ContactLanguage}
|
|
128
|
+
* @memberof ContactSchema
|
|
129
|
+
*/
|
|
130
|
+
language?: ContactLanguage | null;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {Array<AddressSchema>}
|
|
134
|
+
* @memberof ContactSchema
|
|
135
|
+
*/
|
|
136
|
+
addresses: Array<AddressSchema>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {Array<PhoneSchema>}
|
|
140
|
+
* @memberof ContactSchema
|
|
141
|
+
*/
|
|
142
|
+
phones: Array<PhoneSchema>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {Array<EmailSchema>}
|
|
146
|
+
* @memberof ContactSchema
|
|
147
|
+
*/
|
|
148
|
+
emails: Array<EmailSchema>;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Check if a given object implements the ContactSchema interface.
|
|
155
|
+
*/
|
|
156
|
+
export function instanceOfContactSchema(value: object): value is ContactSchema {
|
|
157
|
+
if (!('uniqueIdentifier' in value) || value['uniqueIdentifier'] === undefined) return false;
|
|
158
|
+
if (!('externalIdentifier' in value) || value['externalIdentifier'] === undefined) return false;
|
|
159
|
+
if (!('addresses' in value) || value['addresses'] === undefined) return false;
|
|
160
|
+
if (!('phones' in value) || value['phones'] === undefined) return false;
|
|
161
|
+
if (!('emails' in value) || value['emails'] === undefined) return false;
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function ContactSchemaFromJSON(json: any): ContactSchema {
|
|
166
|
+
return ContactSchemaFromJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function ContactSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactSchema {
|
|
170
|
+
if (json == null) {
|
|
171
|
+
return json;
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
|
|
175
|
+
'uniqueIdentifier': json['unique_identifier'],
|
|
176
|
+
'externalIdentifier': json['external_identifier'],
|
|
177
|
+
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
178
|
+
'middleName': json['middle_name'] == null ? undefined : json['middle_name'],
|
|
179
|
+
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
180
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
181
|
+
'civilityTitle': json['civility_title'] == null ? undefined : json['civility_title'],
|
|
182
|
+
'gender': json['gender'] == null ? undefined : GenderFromJSON(json['gender']),
|
|
183
|
+
'maritalStatus': json['marital_status'] == null ? undefined : MaritalStatusFromJSON(json['marital_status']),
|
|
184
|
+
'dateOfBirth': json['date_of_birth'] == null ? undefined : (new Date(json['date_of_birth'])),
|
|
185
|
+
'language': json['language'] == null ? undefined : ContactLanguageFromJSON(json['language']),
|
|
186
|
+
'addresses': ((json['addresses'] as Array<any>).map(AddressSchemaFromJSON)),
|
|
187
|
+
'phones': ((json['phones'] as Array<any>).map(PhoneSchemaFromJSON)),
|
|
188
|
+
'emails': ((json['emails'] as Array<any>).map(EmailSchemaFromJSON)),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export function ContactSchemaToJSON(json: any): ContactSchema {
|
|
193
|
+
return ContactSchemaToJSONTyped(json, false);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export function ContactSchemaToJSONTyped(value?: ContactSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
197
|
+
if (value == null) {
|
|
198
|
+
return value;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return {
|
|
202
|
+
|
|
203
|
+
'unique_identifier': value['uniqueIdentifier'],
|
|
204
|
+
'external_identifier': value['externalIdentifier'],
|
|
205
|
+
'first_name': value['firstName'],
|
|
206
|
+
'middle_name': value['middleName'],
|
|
207
|
+
'last_name': value['lastName'],
|
|
208
|
+
'suffix': value['suffix'],
|
|
209
|
+
'civility_title': value['civilityTitle'],
|
|
210
|
+
'gender': GenderToJSON(value['gender']),
|
|
211
|
+
'marital_status': MaritalStatusToJSON(value['maritalStatus']),
|
|
212
|
+
'date_of_birth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
213
|
+
'language': ContactLanguageToJSON(value['language']),
|
|
214
|
+
'addresses': ((value['addresses'] as Array<any>).map(AddressSchemaToJSON)),
|
|
215
|
+
'phones': ((value['phones'] as Array<any>).map(PhoneSchemaToJSON)),
|
|
216
|
+
'emails': ((value['emails'] as Array<any>).map(EmailSchemaToJSON)),
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 CreatePayloadSourceAuthenticationSchema
|
|
20
|
+
*/
|
|
21
|
+
export interface CreatePayloadSourceAuthenticationSchema {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
26
|
+
*/
|
|
27
|
+
sourceKey: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
32
|
+
*/
|
|
33
|
+
modifiedBy: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: any; }}
|
|
37
|
+
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
38
|
+
*/
|
|
39
|
+
securedData: { [key: string]: any; };
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {{ [key: string]: any; }}
|
|
43
|
+
* @memberof CreatePayloadSourceAuthenticationSchema
|
|
44
|
+
*/
|
|
45
|
+
plainData: { [key: string]: any; };
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CreatePayloadSourceAuthenticationSchema interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCreatePayloadSourceAuthenticationSchema(value: object): value is CreatePayloadSourceAuthenticationSchema {
|
|
52
|
+
if (!('sourceKey' in value) || value['sourceKey'] === undefined) return false;
|
|
53
|
+
if (!('modifiedBy' in value) || value['modifiedBy'] === undefined) return false;
|
|
54
|
+
if (!('securedData' in value) || value['securedData'] === undefined) return false;
|
|
55
|
+
if (!('plainData' in value) || value['plainData'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function CreatePayloadSourceAuthenticationSchemaFromJSON(json: any): CreatePayloadSourceAuthenticationSchema {
|
|
60
|
+
return CreatePayloadSourceAuthenticationSchemaFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function CreatePayloadSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePayloadSourceAuthenticationSchema {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'sourceKey': json['sourceKey'],
|
|
70
|
+
'modifiedBy': json['modifiedBy'],
|
|
71
|
+
'securedData': json['securedData'],
|
|
72
|
+
'plainData': json['plainData'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function CreatePayloadSourceAuthenticationSchemaToJSON(json: any): CreatePayloadSourceAuthenticationSchema {
|
|
77
|
+
return CreatePayloadSourceAuthenticationSchemaToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function CreatePayloadSourceAuthenticationSchemaToJSONTyped(value?: CreatePayloadSourceAuthenticationSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'sourceKey': value['sourceKey'],
|
|
88
|
+
'modifiedBy': value['modifiedBy'],
|
|
89
|
+
'securedData': value['securedData'],
|
|
90
|
+
'plainData': value['plainData'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -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
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const EmailLabel = {
|
|
21
|
+
PERSONAL: 'PERSONAL',
|
|
22
|
+
WORK: 'WORK',
|
|
23
|
+
OTHER: 'OTHER',
|
|
24
|
+
UNKNOWN: 'UNKNOWN',
|
|
25
|
+
unknown_default_open_api: '11184809'
|
|
26
|
+
} as const;
|
|
27
|
+
export type EmailLabel = typeof EmailLabel[keyof typeof EmailLabel];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function instanceOfEmailLabel(value: any): boolean {
|
|
31
|
+
for (const key in EmailLabel) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(EmailLabel, key)) {
|
|
33
|
+
if (EmailLabel[key as keyof typeof EmailLabel] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function EmailLabelFromJSON(json: any): EmailLabel {
|
|
42
|
+
return EmailLabelFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function EmailLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailLabel {
|
|
46
|
+
return json as EmailLabel;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function EmailLabelToJSON(value?: EmailLabel | null): any {
|
|
50
|
+
return value as any;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function EmailLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): EmailLabel {
|
|
54
|
+
return value as EmailLabel;
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
import type { EmailLabel } from './EmailLabel';
|
|
17
|
+
import {
|
|
18
|
+
EmailLabelFromJSON,
|
|
19
|
+
EmailLabelFromJSONTyped,
|
|
20
|
+
EmailLabelToJSON,
|
|
21
|
+
EmailLabelToJSONTyped,
|
|
22
|
+
} from './EmailLabel';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface EmailSchema
|
|
28
|
+
*/
|
|
29
|
+
export interface EmailSchema {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {EmailLabel}
|
|
33
|
+
* @memberof EmailSchema
|
|
34
|
+
*/
|
|
35
|
+
label: EmailLabel;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EmailSchema
|
|
40
|
+
*/
|
|
41
|
+
address: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof EmailSchema
|
|
46
|
+
*/
|
|
47
|
+
main: boolean;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the EmailSchema interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfEmailSchema(value: object): value is EmailSchema {
|
|
56
|
+
if (!('label' in value) || value['label'] === undefined) return false;
|
|
57
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
58
|
+
if (!('main' in value) || value['main'] === undefined) return false;
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function EmailSchemaFromJSON(json: any): EmailSchema {
|
|
63
|
+
return EmailSchemaFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function EmailSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailSchema {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'label': EmailLabelFromJSON(json['label']),
|
|
73
|
+
'address': json['address'],
|
|
74
|
+
'main': json['main'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function EmailSchemaToJSON(json: any): EmailSchema {
|
|
79
|
+
return EmailSchemaToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function EmailSchemaToJSONTyped(value?: EmailSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'label': EmailLabelToJSON(value['label']),
|
|
90
|
+
'address': value['address'],
|
|
91
|
+
'main': value['main'],
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ErrorCodes = {
|
|
21
|
+
SERVER_ERROR: 'SERVER_ERROR',
|
|
22
|
+
NOT_FOUND: 'NOT_FOUND',
|
|
23
|
+
SOURCE_ALREADY_EXISTS: 'SOURCE_ALREADY_EXISTS',
|
|
24
|
+
unknown_default_open_api: '11184809'
|
|
25
|
+
} as const;
|
|
26
|
+
export type ErrorCodes = typeof ErrorCodes[keyof typeof ErrorCodes];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfErrorCodes(value: any): boolean {
|
|
30
|
+
for (const key in ErrorCodes) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(ErrorCodes, key)) {
|
|
32
|
+
if (ErrorCodes[key as keyof typeof ErrorCodes] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function ErrorCodesFromJSON(json: any): ErrorCodes {
|
|
41
|
+
return ErrorCodesFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ErrorCodesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorCodes {
|
|
45
|
+
return json as ErrorCodes;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function ErrorCodesToJSON(value?: ErrorCodes | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ErrorCodesToJSONTyped(value: any, ignoreDiscriminator: boolean): ErrorCodes {
|
|
53
|
+
return value as ErrorCodes;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ErrorResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ErrorResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {{ [key: string]: any; }}
|
|
25
|
+
* @memberof ErrorResponse
|
|
26
|
+
*/
|
|
27
|
+
details?: { [key: string]: any; } | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ErrorResponse
|
|
32
|
+
*/
|
|
33
|
+
errorCode?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ErrorResponse
|
|
38
|
+
*/
|
|
39
|
+
errorMessage?: string | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ErrorResponse interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfErrorResponse(value: object): value is ErrorResponse {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ErrorResponseFromJSON(json: any): ErrorResponse {
|
|
50
|
+
return ErrorResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'details': json['details'] == null ? undefined : json['details'],
|
|
60
|
+
'errorCode': json['error_code'] == null ? undefined : json['error_code'],
|
|
61
|
+
'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ErrorResponseToJSON(json: any): ErrorResponse {
|
|
66
|
+
return ErrorResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'details': value['details'],
|
|
77
|
+
'error_code': value['errorCode'],
|
|
78
|
+
'error_message': value['errorMessage'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import type { ErrorCodes } from './ErrorCodes';
|
|
17
|
+
import {
|
|
18
|
+
ErrorCodesFromJSON,
|
|
19
|
+
ErrorCodesFromJSONTyped,
|
|
20
|
+
ErrorCodesToJSON,
|
|
21
|
+
ErrorCodesToJSONTyped,
|
|
22
|
+
} from './ErrorCodes';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ErrorSchema
|
|
28
|
+
*/
|
|
29
|
+
export interface ErrorSchema {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ErrorCodes}
|
|
33
|
+
* @memberof ErrorSchema
|
|
34
|
+
*/
|
|
35
|
+
code: ErrorCodes;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ErrorSchema
|
|
40
|
+
*/
|
|
41
|
+
message?: string | null;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ErrorSchema interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfErrorSchema(value: object): value is ErrorSchema {
|
|
50
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ErrorSchemaFromJSON(json: any): ErrorSchema {
|
|
55
|
+
return ErrorSchemaFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ErrorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorSchema {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'code': ErrorCodesFromJSON(json['code']),
|
|
65
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ErrorSchemaToJSON(json: any): ErrorSchema {
|
|
70
|
+
return ErrorSchemaToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ErrorSchemaToJSONTyped(value?: ErrorSchema | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'code': ErrorCodesToJSON(value['code']),
|
|
81
|
+
'message': value['message'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|