@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,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 Gender = {
21
+ MALE: 'MALE',
22
+ FEMALE: 'FEMALE',
23
+ OTHER: 'OTHER',
24
+ UNKNOWN: 'UNKNOWN',
25
+ unknown_default_open_api: '11184809'
26
+ } as const;
27
+ export type Gender = typeof Gender[keyof typeof Gender];
28
+
29
+
30
+ export function instanceOfGender(value: any): boolean {
31
+ for (const key in Gender) {
32
+ if (Object.prototype.hasOwnProperty.call(Gender, key)) {
33
+ if (Gender[key as keyof typeof Gender] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+
41
+ export function GenderFromJSON(json: any): Gender {
42
+ return GenderFromJSONTyped(json, false);
43
+ }
44
+
45
+ export function GenderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gender {
46
+ return json as Gender;
47
+ }
48
+
49
+ export function GenderToJSON(value?: Gender | null): any {
50
+ return value as any;
51
+ }
52
+
53
+ export function GenderToJSONTyped(value: any, ignoreDiscriminator: boolean): Gender {
54
+ return value as Gender;
55
+ }
56
+
@@ -0,0 +1,74 @@
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 { OrganizationSourceAuthenticationResultSchema } from './OrganizationSourceAuthenticationResultSchema';
17
+ import {
18
+ OrganizationSourceAuthenticationResultSchemaFromJSON,
19
+ OrganizationSourceAuthenticationResultSchemaFromJSONTyped,
20
+ OrganizationSourceAuthenticationResultSchemaToJSON,
21
+ OrganizationSourceAuthenticationResultSchemaToJSONTyped,
22
+ } from './OrganizationSourceAuthenticationResultSchema';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ListOrganizationSourceAuthenticationResultSchema
28
+ */
29
+ export interface ListOrganizationSourceAuthenticationResultSchema {
30
+ /**
31
+ *
32
+ * @type {Array<OrganizationSourceAuthenticationResultSchema>}
33
+ * @memberof ListOrganizationSourceAuthenticationResultSchema
34
+ */
35
+ sources: Array<OrganizationSourceAuthenticationResultSchema>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ListOrganizationSourceAuthenticationResultSchema interface.
40
+ */
41
+ export function instanceOfListOrganizationSourceAuthenticationResultSchema(value: object): value is ListOrganizationSourceAuthenticationResultSchema {
42
+ if (!('sources' in value) || value['sources'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function ListOrganizationSourceAuthenticationResultSchemaFromJSON(json: any): ListOrganizationSourceAuthenticationResultSchema {
47
+ return ListOrganizationSourceAuthenticationResultSchemaFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function ListOrganizationSourceAuthenticationResultSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListOrganizationSourceAuthenticationResultSchema {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'sources': ((json['sources'] as Array<any>).map(OrganizationSourceAuthenticationResultSchemaFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function ListOrganizationSourceAuthenticationResultSchemaToJSON(json: any): ListOrganizationSourceAuthenticationResultSchema {
61
+ return ListOrganizationSourceAuthenticationResultSchemaToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ListOrganizationSourceAuthenticationResultSchemaToJSONTyped(value?: ListOrganizationSourceAuthenticationResultSchema | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'sources': ((value['sources'] as Array<any>).map(OrganizationSourceAuthenticationResultSchemaToJSON)),
72
+ };
73
+ }
74
+
@@ -0,0 +1,60 @@
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 MaritalStatus = {
21
+ SINGLE: 'SINGLE',
22
+ MARRIED: 'MARRIED',
23
+ DIVORCED: 'DIVORCED',
24
+ WIDOWED: 'WIDOWED',
25
+ COMMON_LAW: 'COMMON_LAW',
26
+ SEPARATED: 'SEPARATED',
27
+ OTHER: 'OTHER',
28
+ UNKNOWN: 'UNKNOWN',
29
+ unknown_default_open_api: '11184809'
30
+ } as const;
31
+ export type MaritalStatus = typeof MaritalStatus[keyof typeof MaritalStatus];
32
+
33
+
34
+ export function instanceOfMaritalStatus(value: any): boolean {
35
+ for (const key in MaritalStatus) {
36
+ if (Object.prototype.hasOwnProperty.call(MaritalStatus, key)) {
37
+ if (MaritalStatus[key as keyof typeof MaritalStatus] === value) {
38
+ return true;
39
+ }
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+
45
+ export function MaritalStatusFromJSON(json: any): MaritalStatus {
46
+ return MaritalStatusFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function MaritalStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MaritalStatus {
50
+ return json as MaritalStatus;
51
+ }
52
+
53
+ export function MaritalStatusToJSON(value?: MaritalStatus | null): any {
54
+ return value as any;
55
+ }
56
+
57
+ export function MaritalStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): MaritalStatus {
58
+ return value as MaritalStatus;
59
+ }
60
+
@@ -0,0 +1,106 @@
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 { Status } from './Status';
17
+ import {
18
+ StatusFromJSON,
19
+ StatusFromJSONTyped,
20
+ StatusToJSON,
21
+ StatusToJSONTyped,
22
+ } from './Status';
23
+ import type { OrganizationSourceAuthenticationSchema } from './OrganizationSourceAuthenticationSchema';
24
+ import {
25
+ OrganizationSourceAuthenticationSchemaFromJSON,
26
+ OrganizationSourceAuthenticationSchemaFromJSONTyped,
27
+ OrganizationSourceAuthenticationSchemaToJSON,
28
+ OrganizationSourceAuthenticationSchemaToJSONTyped,
29
+ } from './OrganizationSourceAuthenticationSchema';
30
+ import type { ErrorResponse } from './ErrorResponse';
31
+ import {
32
+ ErrorResponseFromJSON,
33
+ ErrorResponseFromJSONTyped,
34
+ ErrorResponseToJSON,
35
+ ErrorResponseToJSONTyped,
36
+ } from './ErrorResponse';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface OrganizationSourceAuthenticationResultSchema
42
+ */
43
+ export interface OrganizationSourceAuthenticationResultSchema {
44
+ /**
45
+ *
46
+ * @type {Status}
47
+ * @memberof OrganizationSourceAuthenticationResultSchema
48
+ */
49
+ status: Status;
50
+ /**
51
+ *
52
+ * @type {ErrorResponse}
53
+ * @memberof OrganizationSourceAuthenticationResultSchema
54
+ */
55
+ errorResponse?: ErrorResponse | null;
56
+ /**
57
+ *
58
+ * @type {OrganizationSourceAuthenticationSchema}
59
+ * @memberof OrganizationSourceAuthenticationResultSchema
60
+ */
61
+ sourceAuthentication?: OrganizationSourceAuthenticationSchema | null;
62
+ }
63
+
64
+
65
+
66
+ /**
67
+ * Check if a given object implements the OrganizationSourceAuthenticationResultSchema interface.
68
+ */
69
+ export function instanceOfOrganizationSourceAuthenticationResultSchema(value: object): value is OrganizationSourceAuthenticationResultSchema {
70
+ if (!('status' in value) || value['status'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function OrganizationSourceAuthenticationResultSchemaFromJSON(json: any): OrganizationSourceAuthenticationResultSchema {
75
+ return OrganizationSourceAuthenticationResultSchemaFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function OrganizationSourceAuthenticationResultSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSourceAuthenticationResultSchema {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'status': StatusFromJSON(json['status']),
85
+ 'errorResponse': json['error_response'] == null ? undefined : ErrorResponseFromJSON(json['error_response']),
86
+ 'sourceAuthentication': json['source_authentication'] == null ? undefined : OrganizationSourceAuthenticationSchemaFromJSON(json['source_authentication']),
87
+ };
88
+ }
89
+
90
+ export function OrganizationSourceAuthenticationResultSchemaToJSON(json: any): OrganizationSourceAuthenticationResultSchema {
91
+ return OrganizationSourceAuthenticationResultSchemaToJSONTyped(json, false);
92
+ }
93
+
94
+ export function OrganizationSourceAuthenticationResultSchemaToJSONTyped(value?: OrganizationSourceAuthenticationResultSchema | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'status': StatusToJSON(value['status']),
102
+ 'error_response': ErrorResponseToJSON(value['errorResponse']),
103
+ 'source_authentication': OrganizationSourceAuthenticationSchemaToJSON(value['sourceAuthentication']),
104
+ };
105
+ }
106
+
@@ -0,0 +1,129 @@
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 OrganizationSourceAuthenticationSchema
20
+ */
21
+ export interface OrganizationSourceAuthenticationSchema {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof OrganizationSourceAuthenticationSchema
26
+ */
27
+ organizationId: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof OrganizationSourceAuthenticationSchema
32
+ */
33
+ sourceKey: string;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any; }}
37
+ * @memberof OrganizationSourceAuthenticationSchema
38
+ */
39
+ securedData: { [key: string]: any; };
40
+ /**
41
+ *
42
+ * @type {{ [key: string]: any; }}
43
+ * @memberof OrganizationSourceAuthenticationSchema
44
+ */
45
+ plainData: { [key: string]: any; };
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof OrganizationSourceAuthenticationSchema
50
+ */
51
+ isEnabled: boolean;
52
+ /**
53
+ *
54
+ * @type {Date}
55
+ * @memberof OrganizationSourceAuthenticationSchema
56
+ */
57
+ dateCreated: Date;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof OrganizationSourceAuthenticationSchema
62
+ */
63
+ dateModified: Date;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof OrganizationSourceAuthenticationSchema
68
+ */
69
+ modifiedBy: string;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the OrganizationSourceAuthenticationSchema interface.
74
+ */
75
+ export function instanceOfOrganizationSourceAuthenticationSchema(value: object): value is OrganizationSourceAuthenticationSchema {
76
+ if (!('organizationId' in value) || value['organizationId'] === undefined) return false;
77
+ if (!('sourceKey' in value) || value['sourceKey'] === undefined) return false;
78
+ if (!('securedData' in value) || value['securedData'] === undefined) return false;
79
+ if (!('plainData' in value) || value['plainData'] === undefined) return false;
80
+ if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
81
+ if (!('dateCreated' in value) || value['dateCreated'] === undefined) return false;
82
+ if (!('dateModified' in value) || value['dateModified'] === undefined) return false;
83
+ if (!('modifiedBy' in value) || value['modifiedBy'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function OrganizationSourceAuthenticationSchemaFromJSON(json: any): OrganizationSourceAuthenticationSchema {
88
+ return OrganizationSourceAuthenticationSchemaFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function OrganizationSourceAuthenticationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSourceAuthenticationSchema {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'organizationId': json['organizationId'],
98
+ 'sourceKey': json['sourceKey'],
99
+ 'securedData': json['securedData'],
100
+ 'plainData': json['plainData'],
101
+ 'isEnabled': json['isEnabled'],
102
+ 'dateCreated': (new Date(json['dateCreated'])),
103
+ 'dateModified': (new Date(json['dateModified'])),
104
+ 'modifiedBy': json['modifiedBy'],
105
+ };
106
+ }
107
+
108
+ export function OrganizationSourceAuthenticationSchemaToJSON(json: any): OrganizationSourceAuthenticationSchema {
109
+ return OrganizationSourceAuthenticationSchemaToJSONTyped(json, false);
110
+ }
111
+
112
+ export function OrganizationSourceAuthenticationSchemaToJSONTyped(value?: OrganizationSourceAuthenticationSchema | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'organizationId': value['organizationId'],
120
+ 'sourceKey': value['sourceKey'],
121
+ 'securedData': value['securedData'],
122
+ 'plainData': value['plainData'],
123
+ 'isEnabled': value['isEnabled'],
124
+ 'dateCreated': ((value['dateCreated']).toISOString()),
125
+ 'dateModified': ((value['dateModified']).toISOString()),
126
+ 'modifiedBy': value['modifiedBy'],
127
+ };
128
+ }
129
+
@@ -0,0 +1,58 @@
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 PhoneLabel = {
21
+ WORK: 'WORK',
22
+ MOBILE: 'MOBILE',
23
+ HOME: 'HOME',
24
+ FAX: 'FAX',
25
+ OTHER: 'OTHER',
26
+ UNKNOWN: 'UNKNOWN',
27
+ unknown_default_open_api: '11184809'
28
+ } as const;
29
+ export type PhoneLabel = typeof PhoneLabel[keyof typeof PhoneLabel];
30
+
31
+
32
+ export function instanceOfPhoneLabel(value: any): boolean {
33
+ for (const key in PhoneLabel) {
34
+ if (Object.prototype.hasOwnProperty.call(PhoneLabel, key)) {
35
+ if (PhoneLabel[key as keyof typeof PhoneLabel] === value) {
36
+ return true;
37
+ }
38
+ }
39
+ }
40
+ return false;
41
+ }
42
+
43
+ export function PhoneLabelFromJSON(json: any): PhoneLabel {
44
+ return PhoneLabelFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function PhoneLabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhoneLabel {
48
+ return json as PhoneLabel;
49
+ }
50
+
51
+ export function PhoneLabelToJSON(value?: PhoneLabel | null): any {
52
+ return value as any;
53
+ }
54
+
55
+ export function PhoneLabelToJSONTyped(value: any, ignoreDiscriminator: boolean): PhoneLabel {
56
+ return value as PhoneLabel;
57
+ }
58
+
@@ -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
+ import type { PhoneLabel } from './PhoneLabel';
17
+ import {
18
+ PhoneLabelFromJSON,
19
+ PhoneLabelFromJSONTyped,
20
+ PhoneLabelToJSON,
21
+ PhoneLabelToJSONTyped,
22
+ } from './PhoneLabel';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface PhoneSchema
28
+ */
29
+ export interface PhoneSchema {
30
+ /**
31
+ *
32
+ * @type {PhoneLabel}
33
+ * @memberof PhoneSchema
34
+ */
35
+ label: PhoneLabel;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PhoneSchema
40
+ */
41
+ number: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PhoneSchema
46
+ */
47
+ extension?: string | null;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the PhoneSchema interface.
54
+ */
55
+ export function instanceOfPhoneSchema(value: object): value is PhoneSchema {
56
+ if (!('label' in value) || value['label'] === undefined) return false;
57
+ if (!('number' in value) || value['number'] === undefined) return false;
58
+ return true;
59
+ }
60
+
61
+ export function PhoneSchemaFromJSON(json: any): PhoneSchema {
62
+ return PhoneSchemaFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function PhoneSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhoneSchema {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'label': PhoneLabelFromJSON(json['label']),
72
+ 'number': json['number'],
73
+ 'extension': json['extension'] == null ? undefined : json['extension'],
74
+ };
75
+ }
76
+
77
+ export function PhoneSchemaToJSON(json: any): PhoneSchema {
78
+ return PhoneSchemaToJSONTyped(json, false);
79
+ }
80
+
81
+ export function PhoneSchemaToJSONTyped(value?: PhoneSchema | null, ignoreDiscriminator: boolean = false): any {
82
+ if (value == null) {
83
+ return value;
84
+ }
85
+
86
+ return {
87
+
88
+ 'label': PhoneLabelToJSON(value['label']),
89
+ 'number': value['number'],
90
+ 'extension': value['extension'],
91
+ };
92
+ }
93
+
@@ -0,0 +1,123 @@
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 { Status } from './Status';
17
+ import {
18
+ StatusFromJSON,
19
+ StatusFromJSONTyped,
20
+ StatusToJSON,
21
+ StatusToJSONTyped,
22
+ } from './Status';
23
+ import type { ContactSchema } from './ContactSchema';
24
+ import {
25
+ ContactSchemaFromJSON,
26
+ ContactSchemaFromJSONTyped,
27
+ ContactSchemaToJSON,
28
+ ContactSchemaToJSONTyped,
29
+ } from './ContactSchema';
30
+ import type { ErrorResponse } from './ErrorResponse';
31
+ import {
32
+ ErrorResponseFromJSON,
33
+ ErrorResponseFromJSONTyped,
34
+ ErrorResponseToJSON,
35
+ ErrorResponseToJSONTyped,
36
+ } from './ErrorResponse';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface SourceResultSchema
42
+ */
43
+ export interface SourceResultSchema {
44
+ /**
45
+ *
46
+ * @type {Status}
47
+ * @memberof SourceResultSchema
48
+ */
49
+ status: Status;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof SourceResultSchema
54
+ */
55
+ sourceKey: string;
56
+ /**
57
+ *
58
+ * @type {ErrorResponse}
59
+ * @memberof SourceResultSchema
60
+ */
61
+ errorResponse?: ErrorResponse | null;
62
+ /**
63
+ *
64
+ * @type {Array<ContactSchema>}
65
+ * @memberof SourceResultSchema
66
+ */
67
+ sourceResults?: Array<ContactSchema> | null;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof SourceResultSchema
72
+ */
73
+ totalCount?: number | null;
74
+ }
75
+
76
+
77
+
78
+ /**
79
+ * Check if a given object implements the SourceResultSchema interface.
80
+ */
81
+ export function instanceOfSourceResultSchema(value: object): value is SourceResultSchema {
82
+ if (!('status' in value) || value['status'] === undefined) return false;
83
+ if (!('sourceKey' in value) || value['sourceKey'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function SourceResultSchemaFromJSON(json: any): SourceResultSchema {
88
+ return SourceResultSchemaFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function SourceResultSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceResultSchema {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'status': StatusFromJSON(json['status']),
98
+ 'sourceKey': json['source_key'],
99
+ 'errorResponse': json['error_response'] == null ? undefined : ErrorResponseFromJSON(json['error_response']),
100
+ 'sourceResults': json['source_results'] == null ? undefined : ((json['source_results'] as Array<any>).map(ContactSchemaFromJSON)),
101
+ 'totalCount': json['total_count'] == null ? undefined : json['total_count'],
102
+ };
103
+ }
104
+
105
+ export function SourceResultSchemaToJSON(json: any): SourceResultSchema {
106
+ return SourceResultSchemaToJSONTyped(json, false);
107
+ }
108
+
109
+ export function SourceResultSchemaToJSONTyped(value?: SourceResultSchema | null, ignoreDiscriminator: boolean = false): any {
110
+ if (value == null) {
111
+ return value;
112
+ }
113
+
114
+ return {
115
+
116
+ 'status': StatusToJSON(value['status']),
117
+ 'source_key': value['sourceKey'],
118
+ 'error_response': ErrorResponseToJSON(value['errorResponse']),
119
+ 'source_results': value['sourceResults'] == null ? undefined : ((value['sourceResults'] as Array<any>).map(ContactSchemaToJSON)),
120
+ 'total_count': value['totalCount'],
121
+ };
122
+ }
123
+