@equisoft/ucx-proxy-sdk-typescript 0.0.3-snapshot.20260129151909 → 0.0.3-snapshot.20260203185707

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 (37) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/dist/apis/ConfiguredSourceForOrganizationUserApi.d.ts +30 -0
  3. package/dist/apis/ConfiguredSourceForOrganizationUserApi.js +64 -0
  4. package/dist/apis/ContactApi.d.ts +6 -5
  5. package/dist/apis/ContactApi.js +6 -3
  6. package/dist/apis/index.d.ts +1 -0
  7. package/dist/apis/index.js +1 -0
  8. package/dist/esm/apis/ConfiguredSourceForOrganizationUserApi.d.ts +30 -0
  9. package/dist/esm/apis/ConfiguredSourceForOrganizationUserApi.js +60 -0
  10. package/dist/esm/apis/ContactApi.d.ts +6 -5
  11. package/dist/esm/apis/ContactApi.js +7 -4
  12. package/dist/esm/apis/index.d.ts +1 -0
  13. package/dist/esm/apis/index.js +1 -0
  14. package/dist/esm/models/ContactResultSchema.d.ts +47 -0
  15. package/dist/esm/models/ContactResultSchema.js +50 -0
  16. package/dist/esm/models/SourceSchema.d.ts +45 -0
  17. package/dist/esm/models/SourceSchema.js +52 -0
  18. package/dist/esm/models/SourceStatus.d.ts +26 -0
  19. package/dist/esm/models/SourceStatus.js +44 -0
  20. package/dist/esm/models/index.d.ts +3 -0
  21. package/dist/esm/models/index.js +3 -0
  22. package/dist/models/ContactResultSchema.d.ts +47 -0
  23. package/dist/models/ContactResultSchema.js +57 -0
  24. package/dist/models/SourceSchema.d.ts +45 -0
  25. package/dist/models/SourceSchema.js +59 -0
  26. package/dist/models/SourceStatus.d.ts +26 -0
  27. package/dist/models/SourceStatus.js +52 -0
  28. package/dist/models/index.d.ts +3 -0
  29. package/dist/models/index.js +3 -0
  30. package/package.json +1 -1
  31. package/src/apis/ConfiguredSourceForOrganizationUserApi.ts +72 -0
  32. package/src/apis/ContactApi.ts +13 -8
  33. package/src/apis/index.ts +1 -0
  34. package/src/models/ContactResultSchema.ts +106 -0
  35. package/src/models/SourceSchema.ts +94 -0
  36. package/src/models/SourceStatus.ts +54 -0
  37. package/src/models/index.ts +3 -0
@@ -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 { SourceStatus } from './SourceStatus';
17
+ import {
18
+ SourceStatusFromJSON,
19
+ SourceStatusFromJSONTyped,
20
+ SourceStatusToJSON,
21
+ SourceStatusToJSONTyped,
22
+ } from './SourceStatus';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SourceSchema
28
+ */
29
+ export interface SourceSchema {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SourceSchema
34
+ */
35
+ sourceKey: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SourceSchema
40
+ */
41
+ isEnabled: boolean;
42
+ /**
43
+ *
44
+ * @type {SourceStatus}
45
+ * @memberof SourceSchema
46
+ */
47
+ status: SourceStatus;
48
+ }
49
+
50
+
51
+
52
+ /**
53
+ * Check if a given object implements the SourceSchema interface.
54
+ */
55
+ export function instanceOfSourceSchema(value: object): value is SourceSchema {
56
+ if (!('sourceKey' in value) || value['sourceKey'] === undefined) return false;
57
+ if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
58
+ if (!('status' in value) || value['status'] === undefined) return false;
59
+ return true;
60
+ }
61
+
62
+ export function SourceSchemaFromJSON(json: any): SourceSchema {
63
+ return SourceSchemaFromJSONTyped(json, false);
64
+ }
65
+
66
+ export function SourceSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceSchema {
67
+ if (json == null) {
68
+ return json;
69
+ }
70
+ return {
71
+
72
+ 'sourceKey': json['sourceKey'],
73
+ 'isEnabled': json['isEnabled'],
74
+ 'status': SourceStatusFromJSON(json['status']),
75
+ };
76
+ }
77
+
78
+ export function SourceSchemaToJSON(json: any): SourceSchema {
79
+ return SourceSchemaToJSONTyped(json, false);
80
+ }
81
+
82
+ export function SourceSchemaToJSONTyped(value?: SourceSchema | null, ignoreDiscriminator: boolean = false): any {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+
87
+ return {
88
+
89
+ 'sourceKey': value['sourceKey'],
90
+ 'isEnabled': value['isEnabled'],
91
+ 'status': SourceStatusToJSON(value['status']),
92
+ };
93
+ }
94
+
@@ -0,0 +1,54 @@
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 SourceStatus = {
21
+ OK: 'OK',
22
+ AUTHENTICATION_FAILED: 'AUTHENTICATION_FAILED',
23
+ unknown_default_open_api: '11184809'
24
+ } as const;
25
+ export type SourceStatus = typeof SourceStatus[keyof typeof SourceStatus];
26
+
27
+
28
+ export function instanceOfSourceStatus(value: any): boolean {
29
+ for (const key in SourceStatus) {
30
+ if (Object.prototype.hasOwnProperty.call(SourceStatus, key)) {
31
+ if (SourceStatus[key as keyof typeof SourceStatus] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function SourceStatusFromJSON(json: any): SourceStatus {
40
+ return SourceStatusFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function SourceStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceStatus {
44
+ return json as SourceStatus;
45
+ }
46
+
47
+ export function SourceStatusToJSON(value?: SourceStatus | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function SourceStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SourceStatus {
52
+ return value as SourceStatus;
53
+ }
54
+
@@ -4,6 +4,7 @@ export * from './AddressLabel';
4
4
  export * from './AddressSchema';
5
5
  export * from './AuthenticationConfigSchema';
6
6
  export * from './ContactLanguage';
7
+ export * from './ContactResultSchema';
7
8
  export * from './ContactSchema';
8
9
  export * from './CreatePayloadSourceAuthenticationSchema';
9
10
  export * from './EmailLabel';
@@ -19,6 +20,8 @@ export * from './OrganizationSourceAuthenticationSchema';
19
20
  export * from './PhoneLabel';
20
21
  export * from './PhoneSchema';
21
22
  export * from './SourceResultSchema';
23
+ export * from './SourceSchema';
24
+ export * from './SourceStatus';
22
25
  export * from './Status';
23
26
  export * from './ToggleSourceAuthenticationSchema';
24
27
  export * from './UpdatePayloadSourceAuthenticationSchema';