@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.
Files changed (143) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/.tool-versions +3 -0
  5. package/README.md +46 -0
  6. package/dist/apis/ContactApi.d.ts +31 -0
  7. package/dist/apis/ContactApi.js +67 -0
  8. package/dist/apis/OrganizationSourceAuthenticationApi.d.ts +81 -0
  9. package/dist/apis/OrganizationSourceAuthenticationApi.js +236 -0
  10. package/dist/apis/index.d.ts +2 -0
  11. package/dist/apis/index.js +20 -0
  12. package/dist/esm/apis/ContactApi.d.ts +31 -0
  13. package/dist/esm/apis/ContactApi.js +63 -0
  14. package/dist/esm/apis/OrganizationSourceAuthenticationApi.d.ts +81 -0
  15. package/dist/esm/apis/OrganizationSourceAuthenticationApi.js +232 -0
  16. package/dist/esm/apis/index.d.ts +2 -0
  17. package/dist/esm/apis/index.js +4 -0
  18. package/dist/esm/index.d.ts +3 -0
  19. package/dist/esm/index.js +5 -0
  20. package/dist/esm/models/AddressLabel.d.ts +29 -0
  21. package/dist/esm/models/AddressLabel.js +47 -0
  22. package/dist/esm/models/AddressSchema.d.ts +75 -0
  23. package/dist/esm/models/AddressSchema.js +60 -0
  24. package/dist/esm/models/ContactLanguage.d.ts +26 -0
  25. package/dist/esm/models/ContactLanguage.js +44 -0
  26. package/dist/esm/models/ContactSchema.d.ts +116 -0
  27. package/dist/esm/models/ContactSchema.js +83 -0
  28. package/dist/esm/models/CreatePayloadSourceAuthenticationSchema.d.ts +54 -0
  29. package/dist/esm/models/CreatePayloadSourceAuthenticationSchema.js +55 -0
  30. package/dist/esm/models/EmailLabel.d.ts +28 -0
  31. package/dist/esm/models/EmailLabel.js +46 -0
  32. package/dist/esm/models/EmailSchema.d.ts +45 -0
  33. package/dist/esm/models/EmailSchema.js +52 -0
  34. package/dist/esm/models/ErrorCodes.d.ts +27 -0
  35. package/dist/esm/models/ErrorCodes.js +45 -0
  36. package/dist/esm/models/ErrorResponse.d.ts +46 -0
  37. package/dist/esm/models/ErrorResponse.js +45 -0
  38. package/dist/esm/models/ErrorSchema.d.ts +39 -0
  39. package/dist/esm/models/ErrorSchema.js +46 -0
  40. package/dist/esm/models/Gender.d.ts +28 -0
  41. package/dist/esm/models/Gender.js +46 -0
  42. package/dist/esm/models/ListOrganizationSourceAuthenticationResultSchema.d.ts +33 -0
  43. package/dist/esm/models/ListOrganizationSourceAuthenticationResultSchema.js +44 -0
  44. package/dist/esm/models/MaritalStatus.d.ts +32 -0
  45. package/dist/esm/models/MaritalStatus.js +50 -0
  46. package/dist/esm/models/OrganizationSourceAuthenticationResultSchema.d.ts +47 -0
  47. package/dist/esm/models/OrganizationSourceAuthenticationResultSchema.js +50 -0
  48. package/dist/esm/models/OrganizationSourceAuthenticationSchema.d.ts +78 -0
  49. package/dist/esm/models/OrganizationSourceAuthenticationSchema.js +71 -0
  50. package/dist/esm/models/PhoneLabel.d.ts +30 -0
  51. package/dist/esm/models/PhoneLabel.js +48 -0
  52. package/dist/esm/models/PhoneSchema.d.ts +45 -0
  53. package/dist/esm/models/PhoneSchema.js +50 -0
  54. package/dist/esm/models/SourceResultSchema.d.ts +59 -0
  55. package/dist/esm/models/SourceResultSchema.js +56 -0
  56. package/dist/esm/models/Status.d.ts +26 -0
  57. package/dist/esm/models/Status.js +44 -0
  58. package/dist/esm/models/ToggleSourceAuthenticationSchema.d.ts +38 -0
  59. package/dist/esm/models/ToggleSourceAuthenticationSchema.js +47 -0
  60. package/dist/esm/models/UpdatePayloadSourceAuthenticationSchema.d.ts +48 -0
  61. package/dist/esm/models/UpdatePayloadSourceAuthenticationSchema.js +51 -0
  62. package/dist/esm/models/index.d.ts +21 -0
  63. package/dist/esm/models/index.js +23 -0
  64. package/dist/esm/runtime.d.ts +184 -0
  65. package/dist/esm/runtime.js +334 -0
  66. package/dist/index.d.ts +3 -0
  67. package/dist/index.js +21 -0
  68. package/dist/models/AddressLabel.d.ts +29 -0
  69. package/dist/models/AddressLabel.js +55 -0
  70. package/dist/models/AddressSchema.d.ts +75 -0
  71. package/dist/models/AddressSchema.js +67 -0
  72. package/dist/models/ContactLanguage.d.ts +26 -0
  73. package/dist/models/ContactLanguage.js +52 -0
  74. package/dist/models/ContactSchema.d.ts +116 -0
  75. package/dist/models/ContactSchema.js +90 -0
  76. package/dist/models/CreatePayloadSourceAuthenticationSchema.d.ts +54 -0
  77. package/dist/models/CreatePayloadSourceAuthenticationSchema.js +62 -0
  78. package/dist/models/EmailLabel.d.ts +28 -0
  79. package/dist/models/EmailLabel.js +54 -0
  80. package/dist/models/EmailSchema.d.ts +45 -0
  81. package/dist/models/EmailSchema.js +59 -0
  82. package/dist/models/ErrorCodes.d.ts +27 -0
  83. package/dist/models/ErrorCodes.js +53 -0
  84. package/dist/models/ErrorResponse.d.ts +46 -0
  85. package/dist/models/ErrorResponse.js +52 -0
  86. package/dist/models/ErrorSchema.d.ts +39 -0
  87. package/dist/models/ErrorSchema.js +53 -0
  88. package/dist/models/Gender.d.ts +28 -0
  89. package/dist/models/Gender.js +54 -0
  90. package/dist/models/ListOrganizationSourceAuthenticationResultSchema.d.ts +33 -0
  91. package/dist/models/ListOrganizationSourceAuthenticationResultSchema.js +51 -0
  92. package/dist/models/MaritalStatus.d.ts +32 -0
  93. package/dist/models/MaritalStatus.js +58 -0
  94. package/dist/models/OrganizationSourceAuthenticationResultSchema.d.ts +47 -0
  95. package/dist/models/OrganizationSourceAuthenticationResultSchema.js +57 -0
  96. package/dist/models/OrganizationSourceAuthenticationSchema.d.ts +78 -0
  97. package/dist/models/OrganizationSourceAuthenticationSchema.js +78 -0
  98. package/dist/models/PhoneLabel.d.ts +30 -0
  99. package/dist/models/PhoneLabel.js +56 -0
  100. package/dist/models/PhoneSchema.d.ts +45 -0
  101. package/dist/models/PhoneSchema.js +57 -0
  102. package/dist/models/SourceResultSchema.d.ts +59 -0
  103. package/dist/models/SourceResultSchema.js +63 -0
  104. package/dist/models/Status.d.ts +26 -0
  105. package/dist/models/Status.js +52 -0
  106. package/dist/models/ToggleSourceAuthenticationSchema.d.ts +38 -0
  107. package/dist/models/ToggleSourceAuthenticationSchema.js +54 -0
  108. package/dist/models/UpdatePayloadSourceAuthenticationSchema.d.ts +48 -0
  109. package/dist/models/UpdatePayloadSourceAuthenticationSchema.js +58 -0
  110. package/dist/models/index.d.ts +21 -0
  111. package/dist/models/index.js +39 -0
  112. package/dist/runtime.d.ts +184 -0
  113. package/dist/runtime.js +350 -0
  114. package/package.json +21 -0
  115. package/src/apis/ContactApi.ts +77 -0
  116. package/src/apis/OrganizationSourceAuthenticationApi.ts +332 -0
  117. package/src/apis/index.ts +4 -0
  118. package/src/index.ts +5 -0
  119. package/src/models/AddressLabel.ts +57 -0
  120. package/src/models/AddressSchema.ts +133 -0
  121. package/src/models/ContactLanguage.ts +54 -0
  122. package/src/models/ContactSchema.ts +219 -0
  123. package/src/models/CreatePayloadSourceAuthenticationSchema.ts +93 -0
  124. package/src/models/EmailLabel.ts +56 -0
  125. package/src/models/EmailSchema.ts +94 -0
  126. package/src/models/ErrorCodes.ts +55 -0
  127. package/src/models/ErrorResponse.ts +81 -0
  128. package/src/models/ErrorSchema.ts +84 -0
  129. package/src/models/Gender.ts +56 -0
  130. package/src/models/ListOrganizationSourceAuthenticationResultSchema.ts +74 -0
  131. package/src/models/MaritalStatus.ts +60 -0
  132. package/src/models/OrganizationSourceAuthenticationResultSchema.ts +106 -0
  133. package/src/models/OrganizationSourceAuthenticationSchema.ts +129 -0
  134. package/src/models/PhoneLabel.ts +58 -0
  135. package/src/models/PhoneSchema.ts +93 -0
  136. package/src/models/SourceResultSchema.ts +123 -0
  137. package/src/models/Status.ts +54 -0
  138. package/src/models/ToggleSourceAuthenticationSchema.ts +75 -0
  139. package/src/models/UpdatePayloadSourceAuthenticationSchema.ts +84 -0
  140. package/src/models/index.ts +23 -0
  141. package/src/runtime.ts +432 -0
  142. package/tsconfig.esm.json +7 -0
  143. package/tsconfig.json +16 -0
@@ -0,0 +1,116 @@
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 { MaritalStatus } from './MaritalStatus';
13
+ import type { EmailSchema } from './EmailSchema';
14
+ import type { AddressSchema } from './AddressSchema';
15
+ import type { ContactLanguage } from './ContactLanguage';
16
+ import type { PhoneSchema } from './PhoneSchema';
17
+ import type { Gender } from './Gender';
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ContactSchema
22
+ */
23
+ export interface ContactSchema {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ContactSchema
28
+ */
29
+ uniqueIdentifier: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ContactSchema
34
+ */
35
+ externalIdentifier: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ContactSchema
40
+ */
41
+ firstName?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ContactSchema
46
+ */
47
+ middleName?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ContactSchema
52
+ */
53
+ lastName?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof ContactSchema
58
+ */
59
+ suffix?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof ContactSchema
64
+ */
65
+ civilityTitle?: string | null;
66
+ /**
67
+ *
68
+ * @type {Gender}
69
+ * @memberof ContactSchema
70
+ */
71
+ gender?: Gender | null;
72
+ /**
73
+ *
74
+ * @type {MaritalStatus}
75
+ * @memberof ContactSchema
76
+ */
77
+ maritalStatus?: MaritalStatus | null;
78
+ /**
79
+ *
80
+ * @type {Date}
81
+ * @memberof ContactSchema
82
+ */
83
+ dateOfBirth?: Date | null;
84
+ /**
85
+ *
86
+ * @type {ContactLanguage}
87
+ * @memberof ContactSchema
88
+ */
89
+ language?: ContactLanguage | null;
90
+ /**
91
+ *
92
+ * @type {Array<AddressSchema>}
93
+ * @memberof ContactSchema
94
+ */
95
+ addresses: Array<AddressSchema>;
96
+ /**
97
+ *
98
+ * @type {Array<PhoneSchema>}
99
+ * @memberof ContactSchema
100
+ */
101
+ phones: Array<PhoneSchema>;
102
+ /**
103
+ *
104
+ * @type {Array<EmailSchema>}
105
+ * @memberof ContactSchema
106
+ */
107
+ emails: Array<EmailSchema>;
108
+ }
109
+ /**
110
+ * Check if a given object implements the ContactSchema interface.
111
+ */
112
+ export declare function instanceOfContactSchema(value: object): value is ContactSchema;
113
+ export declare function ContactSchemaFromJSON(json: any): ContactSchema;
114
+ export declare function ContactSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactSchema;
115
+ export declare function ContactSchemaToJSON(json: any): ContactSchema;
116
+ export declare function ContactSchemaToJSONTyped(value?: ContactSchema | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,83 @@
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 { MaritalStatusFromJSON, MaritalStatusToJSON, } from './MaritalStatus';
15
+ import { EmailSchemaFromJSON, EmailSchemaToJSON, } from './EmailSchema';
16
+ import { AddressSchemaFromJSON, AddressSchemaToJSON, } from './AddressSchema';
17
+ import { ContactLanguageFromJSON, ContactLanguageToJSON, } from './ContactLanguage';
18
+ import { PhoneSchemaFromJSON, PhoneSchemaToJSON, } from './PhoneSchema';
19
+ import { GenderFromJSON, GenderToJSON, } from './Gender';
20
+ /**
21
+ * Check if a given object implements the ContactSchema interface.
22
+ */
23
+ export function instanceOfContactSchema(value) {
24
+ if (!('uniqueIdentifier' in value) || value['uniqueIdentifier'] === undefined)
25
+ return false;
26
+ if (!('externalIdentifier' in value) || value['externalIdentifier'] === undefined)
27
+ return false;
28
+ if (!('addresses' in value) || value['addresses'] === undefined)
29
+ return false;
30
+ if (!('phones' in value) || value['phones'] === undefined)
31
+ return false;
32
+ if (!('emails' in value) || value['emails'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function ContactSchemaFromJSON(json) {
37
+ return ContactSchemaFromJSONTyped(json, false);
38
+ }
39
+ export function ContactSchemaFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'uniqueIdentifier': json['unique_identifier'],
45
+ 'externalIdentifier': json['external_identifier'],
46
+ 'firstName': json['first_name'] == null ? undefined : json['first_name'],
47
+ 'middleName': json['middle_name'] == null ? undefined : json['middle_name'],
48
+ 'lastName': json['last_name'] == null ? undefined : json['last_name'],
49
+ 'suffix': json['suffix'] == null ? undefined : json['suffix'],
50
+ 'civilityTitle': json['civility_title'] == null ? undefined : json['civility_title'],
51
+ 'gender': json['gender'] == null ? undefined : GenderFromJSON(json['gender']),
52
+ 'maritalStatus': json['marital_status'] == null ? undefined : MaritalStatusFromJSON(json['marital_status']),
53
+ 'dateOfBirth': json['date_of_birth'] == null ? undefined : (new Date(json['date_of_birth'])),
54
+ 'language': json['language'] == null ? undefined : ContactLanguageFromJSON(json['language']),
55
+ 'addresses': (json['addresses'].map(AddressSchemaFromJSON)),
56
+ 'phones': (json['phones'].map(PhoneSchemaFromJSON)),
57
+ 'emails': (json['emails'].map(EmailSchemaFromJSON)),
58
+ };
59
+ }
60
+ export function ContactSchemaToJSON(json) {
61
+ return ContactSchemaToJSONTyped(json, false);
62
+ }
63
+ export function ContactSchemaToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'unique_identifier': value['uniqueIdentifier'],
69
+ 'external_identifier': value['externalIdentifier'],
70
+ 'first_name': value['firstName'],
71
+ 'middle_name': value['middleName'],
72
+ 'last_name': value['lastName'],
73
+ 'suffix': value['suffix'],
74
+ 'civility_title': value['civilityTitle'],
75
+ 'gender': GenderToJSON(value['gender']),
76
+ 'marital_status': MaritalStatusToJSON(value['maritalStatus']),
77
+ 'date_of_birth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
78
+ 'language': ContactLanguageToJSON(value['language']),
79
+ 'addresses': (value['addresses'].map(AddressSchemaToJSON)),
80
+ 'phones': (value['phones'].map(PhoneSchemaToJSON)),
81
+ 'emails': (value['emails'].map(EmailSchemaToJSON)),
82
+ };
83
+ }
@@ -0,0 +1,54 @@
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 CreatePayloadSourceAuthenticationSchema
16
+ */
17
+ export interface CreatePayloadSourceAuthenticationSchema {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreatePayloadSourceAuthenticationSchema
22
+ */
23
+ sourceKey: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreatePayloadSourceAuthenticationSchema
28
+ */
29
+ modifiedBy: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: any; }}
33
+ * @memberof CreatePayloadSourceAuthenticationSchema
34
+ */
35
+ securedData: {
36
+ [key: string]: any;
37
+ };
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: any; }}
41
+ * @memberof CreatePayloadSourceAuthenticationSchema
42
+ */
43
+ plainData: {
44
+ [key: string]: any;
45
+ };
46
+ }
47
+ /**
48
+ * Check if a given object implements the CreatePayloadSourceAuthenticationSchema interface.
49
+ */
50
+ export declare function instanceOfCreatePayloadSourceAuthenticationSchema(value: object): value is CreatePayloadSourceAuthenticationSchema;
51
+ export declare function CreatePayloadSourceAuthenticationSchemaFromJSON(json: any): CreatePayloadSourceAuthenticationSchema;
52
+ export declare function CreatePayloadSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePayloadSourceAuthenticationSchema;
53
+ export declare function CreatePayloadSourceAuthenticationSchemaToJSON(json: any): CreatePayloadSourceAuthenticationSchema;
54
+ export declare function CreatePayloadSourceAuthenticationSchemaToJSONTyped(value?: CreatePayloadSourceAuthenticationSchema | null, ignoreDiscriminator?: boolean): any;
@@ -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
+ * Check if a given object implements the CreatePayloadSourceAuthenticationSchema interface.
16
+ */
17
+ export function instanceOfCreatePayloadSourceAuthenticationSchema(value) {
18
+ if (!('sourceKey' in value) || value['sourceKey'] === undefined)
19
+ return false;
20
+ if (!('modifiedBy' in value) || value['modifiedBy'] === undefined)
21
+ return false;
22
+ if (!('securedData' in value) || value['securedData'] === undefined)
23
+ return false;
24
+ if (!('plainData' in value) || value['plainData'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function CreatePayloadSourceAuthenticationSchemaFromJSON(json) {
29
+ return CreatePayloadSourceAuthenticationSchemaFromJSONTyped(json, false);
30
+ }
31
+ export function CreatePayloadSourceAuthenticationSchemaFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'sourceKey': json['sourceKey'],
37
+ 'modifiedBy': json['modifiedBy'],
38
+ 'securedData': json['securedData'],
39
+ 'plainData': json['plainData'],
40
+ };
41
+ }
42
+ export function CreatePayloadSourceAuthenticationSchemaToJSON(json) {
43
+ return CreatePayloadSourceAuthenticationSchemaToJSONTyped(json, false);
44
+ }
45
+ export function CreatePayloadSourceAuthenticationSchemaToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'sourceKey': value['sourceKey'],
51
+ 'modifiedBy': value['modifiedBy'],
52
+ 'securedData': value['securedData'],
53
+ 'plainData': value['plainData'],
54
+ };
55
+ }
@@ -0,0 +1,28 @@
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 EmailLabel: {
17
+ readonly PERSONAL: "PERSONAL";
18
+ readonly WORK: "WORK";
19
+ readonly OTHER: "OTHER";
20
+ readonly UNKNOWN: "UNKNOWN";
21
+ readonly unknown_default_open_api: "11184809";
22
+ };
23
+ export type EmailLabel = typeof EmailLabel[keyof typeof EmailLabel];
24
+ export declare function instanceOfEmailLabel(value: any): boolean;
25
+ export declare function EmailLabelFromJSON(json: any): EmailLabel;
26
+ export declare function EmailLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailLabel;
27
+ export declare function EmailLabelToJSON(value?: EmailLabel | null): any;
28
+ export declare function EmailLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): EmailLabel;
@@ -0,0 +1,46 @@
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 EmailLabel = {
19
+ PERSONAL: 'PERSONAL',
20
+ WORK: 'WORK',
21
+ OTHER: 'OTHER',
22
+ UNKNOWN: 'UNKNOWN',
23
+ unknown_default_open_api: '11184809'
24
+ };
25
+ export function instanceOfEmailLabel(value) {
26
+ for (const key in EmailLabel) {
27
+ if (Object.prototype.hasOwnProperty.call(EmailLabel, key)) {
28
+ if (EmailLabel[key] === value) {
29
+ return true;
30
+ }
31
+ }
32
+ }
33
+ return false;
34
+ }
35
+ export function EmailLabelFromJSON(json) {
36
+ return EmailLabelFromJSONTyped(json, false);
37
+ }
38
+ export function EmailLabelFromJSONTyped(json, ignoreDiscriminator) {
39
+ return json;
40
+ }
41
+ export function EmailLabelToJSON(value) {
42
+ return value;
43
+ }
44
+ export function EmailLabelToJSONTyped(value, ignoreDiscriminator) {
45
+ return value;
46
+ }
@@ -0,0 +1,45 @@
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 { EmailLabel } from './EmailLabel';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface EmailSchema
17
+ */
18
+ export interface EmailSchema {
19
+ /**
20
+ *
21
+ * @type {EmailLabel}
22
+ * @memberof EmailSchema
23
+ */
24
+ label: EmailLabel;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof EmailSchema
29
+ */
30
+ address: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof EmailSchema
35
+ */
36
+ main: boolean;
37
+ }
38
+ /**
39
+ * Check if a given object implements the EmailSchema interface.
40
+ */
41
+ export declare function instanceOfEmailSchema(value: object): value is EmailSchema;
42
+ export declare function EmailSchemaFromJSON(json: any): EmailSchema;
43
+ export declare function EmailSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailSchema;
44
+ export declare function EmailSchemaToJSON(json: any): EmailSchema;
45
+ export declare function EmailSchemaToJSONTyped(value?: EmailSchema | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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 { EmailLabelFromJSON, EmailLabelToJSON, } from './EmailLabel';
15
+ /**
16
+ * Check if a given object implements the EmailSchema interface.
17
+ */
18
+ export function instanceOfEmailSchema(value) {
19
+ if (!('label' in value) || value['label'] === undefined)
20
+ return false;
21
+ if (!('address' in value) || value['address'] === undefined)
22
+ return false;
23
+ if (!('main' in value) || value['main'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function EmailSchemaFromJSON(json) {
28
+ return EmailSchemaFromJSONTyped(json, false);
29
+ }
30
+ export function EmailSchemaFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'label': EmailLabelFromJSON(json['label']),
36
+ 'address': json['address'],
37
+ 'main': json['main'],
38
+ };
39
+ }
40
+ export function EmailSchemaToJSON(json) {
41
+ return EmailSchemaToJSONTyped(json, false);
42
+ }
43
+ export function EmailSchemaToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'label': EmailLabelToJSON(value['label']),
49
+ 'address': value['address'],
50
+ 'main': value['main'],
51
+ };
52
+ }
@@ -0,0 +1,27 @@
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 ErrorCodes: {
17
+ readonly SERVER_ERROR: "SERVER_ERROR";
18
+ readonly NOT_FOUND: "NOT_FOUND";
19
+ readonly SOURCE_ALREADY_EXISTS: "SOURCE_ALREADY_EXISTS";
20
+ readonly unknown_default_open_api: "11184809";
21
+ };
22
+ export type ErrorCodes = typeof ErrorCodes[keyof typeof ErrorCodes];
23
+ export declare function instanceOfErrorCodes(value: any): boolean;
24
+ export declare function ErrorCodesFromJSON(json: any): ErrorCodes;
25
+ export declare function ErrorCodesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorCodes;
26
+ export declare function ErrorCodesToJSON(value?: ErrorCodes | null): any;
27
+ export declare function ErrorCodesToJSONTyped(value: any, ignoreDiscriminator: boolean): ErrorCodes;
@@ -0,0 +1,45 @@
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 ErrorCodes = {
19
+ SERVER_ERROR: 'SERVER_ERROR',
20
+ NOT_FOUND: 'NOT_FOUND',
21
+ SOURCE_ALREADY_EXISTS: 'SOURCE_ALREADY_EXISTS',
22
+ unknown_default_open_api: '11184809'
23
+ };
24
+ export function instanceOfErrorCodes(value) {
25
+ for (const key in ErrorCodes) {
26
+ if (Object.prototype.hasOwnProperty.call(ErrorCodes, key)) {
27
+ if (ErrorCodes[key] === value) {
28
+ return true;
29
+ }
30
+ }
31
+ }
32
+ return false;
33
+ }
34
+ export function ErrorCodesFromJSON(json) {
35
+ return ErrorCodesFromJSONTyped(json, false);
36
+ }
37
+ export function ErrorCodesFromJSONTyped(json, ignoreDiscriminator) {
38
+ return json;
39
+ }
40
+ export function ErrorCodesToJSON(value) {
41
+ return value;
42
+ }
43
+ export function ErrorCodesToJSONTyped(value, ignoreDiscriminator) {
44
+ return value;
45
+ }
@@ -0,0 +1,46 @@
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 ErrorResponse
16
+ */
17
+ export interface ErrorResponse {
18
+ /**
19
+ *
20
+ * @type {{ [key: string]: any; }}
21
+ * @memberof ErrorResponse
22
+ */
23
+ details?: {
24
+ [key: string]: any;
25
+ } | null;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof ErrorResponse
30
+ */
31
+ errorCode?: string | null;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ErrorResponse
36
+ */
37
+ errorMessage?: string | null;
38
+ }
39
+ /**
40
+ * Check if a given object implements the ErrorResponse interface.
41
+ */
42
+ export declare function instanceOfErrorResponse(value: object): value is ErrorResponse;
43
+ export declare function ErrorResponseFromJSON(json: any): ErrorResponse;
44
+ export declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse;
45
+ export declare function ErrorResponseToJSON(json: any): ErrorResponse;
46
+ export declare function ErrorResponseToJSONTyped(value?: ErrorResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
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 ErrorResponse interface.
16
+ */
17
+ export function instanceOfErrorResponse(value) {
18
+ return true;
19
+ }
20
+ export function ErrorResponseFromJSON(json) {
21
+ return ErrorResponseFromJSONTyped(json, false);
22
+ }
23
+ export function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'details': json['details'] == null ? undefined : json['details'],
29
+ 'errorCode': json['error_code'] == null ? undefined : json['error_code'],
30
+ 'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
31
+ };
32
+ }
33
+ export function ErrorResponseToJSON(json) {
34
+ return ErrorResponseToJSONTyped(json, false);
35
+ }
36
+ export function ErrorResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'details': value['details'],
42
+ 'error_code': value['errorCode'],
43
+ 'error_message': value['errorMessage'],
44
+ };
45
+ }
@@ -0,0 +1,39 @@
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 { ErrorCodes } from './ErrorCodes';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ErrorSchema
17
+ */
18
+ export interface ErrorSchema {
19
+ /**
20
+ *
21
+ * @type {ErrorCodes}
22
+ * @memberof ErrorSchema
23
+ */
24
+ code: ErrorCodes;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ErrorSchema
29
+ */
30
+ message?: string | null;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ErrorSchema interface.
34
+ */
35
+ export declare function instanceOfErrorSchema(value: object): value is ErrorSchema;
36
+ export declare function ErrorSchemaFromJSON(json: any): ErrorSchema;
37
+ export declare function ErrorSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorSchema;
38
+ export declare function ErrorSchemaToJSON(json: any): ErrorSchema;
39
+ export declare function ErrorSchemaToJSONTyped(value?: ErrorSchema | null, ignoreDiscriminator?: boolean): any;