@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
@@ -2,6 +2,7 @@
2
2
  .npmignore
3
3
  README.md
4
4
  package.json
5
+ src/apis/ConfiguredSourceForOrganizationUserApi.ts
5
6
  src/apis/ContactApi.ts
6
7
  src/apis/OrganizationSourceAuthenticationApi.ts
7
8
  src/apis/index.ts
@@ -10,6 +11,7 @@ src/models/AddressLabel.ts
10
11
  src/models/AddressSchema.ts
11
12
  src/models/AuthenticationConfigSchema.ts
12
13
  src/models/ContactLanguage.ts
14
+ src/models/ContactResultSchema.ts
13
15
  src/models/ContactSchema.ts
14
16
  src/models/CreatePayloadSourceAuthenticationSchema.ts
15
17
  src/models/EmailLabel.ts
@@ -25,6 +27,8 @@ src/models/OrganizationSourceAuthenticationSchema.ts
25
27
  src/models/PhoneLabel.ts
26
28
  src/models/PhoneSchema.ts
27
29
  src/models/SourceResultSchema.ts
30
+ src/models/SourceSchema.ts
31
+ src/models/SourceStatus.ts
28
32
  src/models/Status.ts
29
33
  src/models/ToggleSourceAuthenticationSchema.ts
30
34
  src/models/UpdatePayloadSourceAuthenticationSchema.ts
@@ -0,0 +1,30 @@
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 * as runtime from '../runtime';
13
+ import type { SourceSchema } from '../models/index';
14
+ export interface ListSourcesRequest {
15
+ organizationId?: string | null;
16
+ includeInactive?: boolean | null;
17
+ }
18
+ /**
19
+ *
20
+ */
21
+ export declare class ConfiguredSourceForOrganizationUserApi extends runtime.BaseAPI {
22
+ /**
23
+ * Get all active (and inactive) sources for the current user / organization
24
+ */
25
+ listSourcesRaw(requestParameters: ListSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceSchema>>>;
26
+ /**
27
+ * Get all active (and inactive) sources for the current user / organization
28
+ */
29
+ listSources(requestParameters?: ListSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceSchema>>;
30
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * UCX Proxy
6
+ * A single use API for the UCX Proxy.
7
+ *
8
+ * The version of the OpenAPI document: 0.0.3-SNAPSHOT
9
+ * Contact: customersuccess@equisoft.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.ConfiguredSourceForOrganizationUserApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const index_1 = require("../models/index");
28
+ /**
29
+ *
30
+ */
31
+ class ConfiguredSourceForOrganizationUserApi extends runtime.BaseAPI {
32
+ /**
33
+ * Get all active (and inactive) sources for the current user / organization
34
+ */
35
+ listSourcesRaw(requestParameters, initOverrides) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ const queryParameters = {};
38
+ if (requestParameters['organizationId'] != null) {
39
+ queryParameters['organizationId'] = requestParameters['organizationId'];
40
+ }
41
+ if (requestParameters['includeInactive'] != null) {
42
+ queryParameters['includeInactive'] = requestParameters['includeInactive'];
43
+ }
44
+ const headerParameters = {};
45
+ const response = yield this.request({
46
+ path: `/sources`,
47
+ method: 'GET',
48
+ headers: headerParameters,
49
+ query: queryParameters,
50
+ }, initOverrides);
51
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.SourceSchemaFromJSON));
52
+ });
53
+ }
54
+ /**
55
+ * Get all active (and inactive) sources for the current user / organization
56
+ */
57
+ listSources() {
58
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
59
+ const response = yield this.listSourcesRaw(requestParameters, initOverrides);
60
+ return yield response.value();
61
+ });
62
+ }
63
+ }
64
+ exports.ConfiguredSourceForOrganizationUserApi = ConfiguredSourceForOrganizationUserApi;
@@ -10,22 +10,23 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { SourceResultSchema } from '../models/index';
13
+ import type { ContactResultSchema } from '../models/index';
14
14
  export interface SearchContactsRequest {
15
15
  name?: string | null;
16
16
  offset?: number | null;
17
17
  limit?: number | null;
18
+ organizationId?: string | null;
18
19
  }
19
20
  /**
20
21
  *
21
22
  */
22
23
  export declare class ContactApi extends runtime.BaseAPI {
23
24
  /**
24
- * Search contacts
25
+ * Search contacts for a specific organization
25
26
  */
26
- searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceResultSchema>>>;
27
+ searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContactResultSchema>>;
27
28
  /**
28
- * Search contacts
29
+ * Search contacts for a specific organization
29
30
  */
30
- searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceResultSchema>>;
31
+ searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContactResultSchema>;
31
32
  }
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
30
30
  */
31
31
  class ContactApi extends runtime.BaseAPI {
32
32
  /**
33
- * Search contacts
33
+ * Search contacts for a specific organization
34
34
  */
35
35
  searchContactsRaw(requestParameters, initOverrides) {
36
36
  return __awaiter(this, void 0, void 0, function* () {
@@ -44,6 +44,9 @@ class ContactApi extends runtime.BaseAPI {
44
44
  if (requestParameters['limit'] != null) {
45
45
  queryParameters['limit'] = requestParameters['limit'];
46
46
  }
47
+ if (requestParameters['organizationId'] != null) {
48
+ queryParameters['organizationId'] = requestParameters['organizationId'];
49
+ }
47
50
  const headerParameters = {};
48
51
  const response = yield this.request({
49
52
  path: `/contacts`,
@@ -51,11 +54,11 @@ class ContactApi extends runtime.BaseAPI {
51
54
  headers: headerParameters,
52
55
  query: queryParameters,
53
56
  }, initOverrides);
54
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.SourceResultSchemaFromJSON));
57
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ContactResultSchemaFromJSON)(jsonValue));
55
58
  });
56
59
  }
57
60
  /**
58
- * Search contacts
61
+ * Search contacts for a specific organization
59
62
  */
60
63
  searchContacts() {
61
64
  return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
@@ -1,2 +1,3 @@
1
+ export * from './ConfiguredSourceForOrganizationUserApi';
1
2
  export * from './ContactApi';
2
3
  export * from './OrganizationSourceAuthenticationApi';
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
+ __exportStar(require("./ConfiguredSourceForOrganizationUserApi"), exports);
19
20
  __exportStar(require("./ContactApi"), exports);
20
21
  __exportStar(require("./OrganizationSourceAuthenticationApi"), exports);
@@ -0,0 +1,30 @@
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 * as runtime from '../runtime';
13
+ import type { SourceSchema } from '../models/index';
14
+ export interface ListSourcesRequest {
15
+ organizationId?: string | null;
16
+ includeInactive?: boolean | null;
17
+ }
18
+ /**
19
+ *
20
+ */
21
+ export declare class ConfiguredSourceForOrganizationUserApi extends runtime.BaseAPI {
22
+ /**
23
+ * Get all active (and inactive) sources for the current user / organization
24
+ */
25
+ listSourcesRaw(requestParameters: ListSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceSchema>>>;
26
+ /**
27
+ * Get all active (and inactive) sources for the current user / organization
28
+ */
29
+ listSources(requestParameters?: ListSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceSchema>>;
30
+ }
@@ -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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { SourceSchemaFromJSON, } from '../models/index';
25
+ /**
26
+ *
27
+ */
28
+ export class ConfiguredSourceForOrganizationUserApi extends runtime.BaseAPI {
29
+ /**
30
+ * Get all active (and inactive) sources for the current user / organization
31
+ */
32
+ listSourcesRaw(requestParameters, initOverrides) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ const queryParameters = {};
35
+ if (requestParameters['organizationId'] != null) {
36
+ queryParameters['organizationId'] = requestParameters['organizationId'];
37
+ }
38
+ if (requestParameters['includeInactive'] != null) {
39
+ queryParameters['includeInactive'] = requestParameters['includeInactive'];
40
+ }
41
+ const headerParameters = {};
42
+ const response = yield this.request({
43
+ path: `/sources`,
44
+ method: 'GET',
45
+ headers: headerParameters,
46
+ query: queryParameters,
47
+ }, initOverrides);
48
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SourceSchemaFromJSON));
49
+ });
50
+ }
51
+ /**
52
+ * Get all active (and inactive) sources for the current user / organization
53
+ */
54
+ listSources() {
55
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
56
+ const response = yield this.listSourcesRaw(requestParameters, initOverrides);
57
+ return yield response.value();
58
+ });
59
+ }
60
+ }
@@ -10,22 +10,23 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { SourceResultSchema } from '../models/index';
13
+ import type { ContactResultSchema } from '../models/index';
14
14
  export interface SearchContactsRequest {
15
15
  name?: string | null;
16
16
  offset?: number | null;
17
17
  limit?: number | null;
18
+ organizationId?: string | null;
18
19
  }
19
20
  /**
20
21
  *
21
22
  */
22
23
  export declare class ContactApi extends runtime.BaseAPI {
23
24
  /**
24
- * Search contacts
25
+ * Search contacts for a specific organization
25
26
  */
26
- searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SourceResultSchema>>>;
27
+ searchContactsRaw(requestParameters: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ContactResultSchema>>;
27
28
  /**
28
- * Search contacts
29
+ * Search contacts for a specific organization
29
30
  */
30
- searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SourceResultSchema>>;
31
+ searchContacts(requestParameters?: SearchContactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContactResultSchema>;
31
32
  }
@@ -21,13 +21,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { SourceResultSchemaFromJSON, } from '../models/index';
24
+ import { ContactResultSchemaFromJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
28
28
  export class ContactApi extends runtime.BaseAPI {
29
29
  /**
30
- * Search contacts
30
+ * Search contacts for a specific organization
31
31
  */
32
32
  searchContactsRaw(requestParameters, initOverrides) {
33
33
  return __awaiter(this, void 0, void 0, function* () {
@@ -41,6 +41,9 @@ export class ContactApi extends runtime.BaseAPI {
41
41
  if (requestParameters['limit'] != null) {
42
42
  queryParameters['limit'] = requestParameters['limit'];
43
43
  }
44
+ if (requestParameters['organizationId'] != null) {
45
+ queryParameters['organizationId'] = requestParameters['organizationId'];
46
+ }
44
47
  const headerParameters = {};
45
48
  const response = yield this.request({
46
49
  path: `/contacts`,
@@ -48,11 +51,11 @@ export class ContactApi extends runtime.BaseAPI {
48
51
  headers: headerParameters,
49
52
  query: queryParameters,
50
53
  }, initOverrides);
51
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SourceResultSchemaFromJSON));
54
+ return new runtime.JSONApiResponse(response, (jsonValue) => ContactResultSchemaFromJSON(jsonValue));
52
55
  });
53
56
  }
54
57
  /**
55
- * Search contacts
58
+ * Search contacts for a specific organization
56
59
  */
57
60
  searchContacts() {
58
61
  return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
@@ -1,2 +1,3 @@
1
+ export * from './ConfiguredSourceForOrganizationUserApi';
1
2
  export * from './ContactApi';
2
3
  export * from './OrganizationSourceAuthenticationApi';
@@ -1,4 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './ConfiguredSourceForOrganizationUserApi';
3
4
  export * from './ContactApi';
4
5
  export * from './OrganizationSourceAuthenticationApi';
@@ -0,0 +1,47 @@
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 { Status } from './Status';
13
+ import type { SourceResultSchema } from './SourceResultSchema';
14
+ import type { ErrorResponse } from './ErrorResponse';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ContactResultSchema
19
+ */
20
+ export interface ContactResultSchema {
21
+ /**
22
+ *
23
+ * @type {Status}
24
+ * @memberof ContactResultSchema
25
+ */
26
+ status: Status;
27
+ /**
28
+ *
29
+ * @type {ErrorResponse}
30
+ * @memberof ContactResultSchema
31
+ */
32
+ errorResponse?: ErrorResponse | null;
33
+ /**
34
+ *
35
+ * @type {Array<SourceResultSchema>}
36
+ * @memberof ContactResultSchema
37
+ */
38
+ results?: Array<SourceResultSchema> | null;
39
+ }
40
+ /**
41
+ * Check if a given object implements the ContactResultSchema interface.
42
+ */
43
+ export declare function instanceOfContactResultSchema(value: object): value is ContactResultSchema;
44
+ export declare function ContactResultSchemaFromJSON(json: any): ContactResultSchema;
45
+ export declare function ContactResultSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactResultSchema;
46
+ export declare function ContactResultSchemaToJSON(json: any): ContactResultSchema;
47
+ export declare function ContactResultSchemaToJSONTyped(value?: ContactResultSchema | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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 { StatusFromJSON, StatusToJSON, } from './Status';
15
+ import { SourceResultSchemaFromJSON, SourceResultSchemaToJSON, } from './SourceResultSchema';
16
+ import { ErrorResponseFromJSON, ErrorResponseToJSON, } from './ErrorResponse';
17
+ /**
18
+ * Check if a given object implements the ContactResultSchema interface.
19
+ */
20
+ export function instanceOfContactResultSchema(value) {
21
+ if (!('status' in value) || value['status'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function ContactResultSchemaFromJSON(json) {
26
+ return ContactResultSchemaFromJSONTyped(json, false);
27
+ }
28
+ export function ContactResultSchemaFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'status': StatusFromJSON(json['status']),
34
+ 'errorResponse': json['error_response'] == null ? undefined : ErrorResponseFromJSON(json['error_response']),
35
+ 'results': json['results'] == null ? undefined : (json['results'].map(SourceResultSchemaFromJSON)),
36
+ };
37
+ }
38
+ export function ContactResultSchemaToJSON(json) {
39
+ return ContactResultSchemaToJSONTyped(json, false);
40
+ }
41
+ export function ContactResultSchemaToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'status': StatusToJSON(value['status']),
47
+ 'error_response': ErrorResponseToJSON(value['errorResponse']),
48
+ 'results': value['results'] == null ? undefined : (value['results'].map(SourceResultSchemaToJSON)),
49
+ };
50
+ }
@@ -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 { SourceStatus } from './SourceStatus';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SourceSchema
17
+ */
18
+ export interface SourceSchema {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SourceSchema
23
+ */
24
+ sourceKey: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof SourceSchema
29
+ */
30
+ isEnabled: boolean;
31
+ /**
32
+ *
33
+ * @type {SourceStatus}
34
+ * @memberof SourceSchema
35
+ */
36
+ status: SourceStatus;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SourceSchema interface.
40
+ */
41
+ export declare function instanceOfSourceSchema(value: object): value is SourceSchema;
42
+ export declare function SourceSchemaFromJSON(json: any): SourceSchema;
43
+ export declare function SourceSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceSchema;
44
+ export declare function SourceSchemaToJSON(json: any): SourceSchema;
45
+ export declare function SourceSchemaToJSONTyped(value?: SourceSchema | 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 { SourceStatusFromJSON, SourceStatusToJSON, } from './SourceStatus';
15
+ /**
16
+ * Check if a given object implements the SourceSchema interface.
17
+ */
18
+ export function instanceOfSourceSchema(value) {
19
+ if (!('sourceKey' in value) || value['sourceKey'] === undefined)
20
+ return false;
21
+ if (!('isEnabled' in value) || value['isEnabled'] === undefined)
22
+ return false;
23
+ if (!('status' in value) || value['status'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function SourceSchemaFromJSON(json) {
28
+ return SourceSchemaFromJSONTyped(json, false);
29
+ }
30
+ export function SourceSchemaFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'sourceKey': json['sourceKey'],
36
+ 'isEnabled': json['isEnabled'],
37
+ 'status': SourceStatusFromJSON(json['status']),
38
+ };
39
+ }
40
+ export function SourceSchemaToJSON(json) {
41
+ return SourceSchemaToJSONTyped(json, false);
42
+ }
43
+ export function SourceSchemaToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'sourceKey': value['sourceKey'],
49
+ 'isEnabled': value['isEnabled'],
50
+ 'status': SourceStatusToJSON(value['status']),
51
+ };
52
+ }
@@ -0,0 +1,26 @@
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 SourceStatus: {
17
+ readonly OK: "OK";
18
+ readonly AUTHENTICATION_FAILED: "AUTHENTICATION_FAILED";
19
+ readonly unknown_default_open_api: "11184809";
20
+ };
21
+ export type SourceStatus = typeof SourceStatus[keyof typeof SourceStatus];
22
+ export declare function instanceOfSourceStatus(value: any): boolean;
23
+ export declare function SourceStatusFromJSON(json: any): SourceStatus;
24
+ export declare function SourceStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceStatus;
25
+ export declare function SourceStatusToJSON(value?: SourceStatus | null): any;
26
+ export declare function SourceStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SourceStatus;
@@ -0,0 +1,44 @@
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 SourceStatus = {
19
+ OK: 'OK',
20
+ AUTHENTICATION_FAILED: 'AUTHENTICATION_FAILED',
21
+ unknown_default_open_api: '11184809'
22
+ };
23
+ export function instanceOfSourceStatus(value) {
24
+ for (const key in SourceStatus) {
25
+ if (Object.prototype.hasOwnProperty.call(SourceStatus, key)) {
26
+ if (SourceStatus[key] === value) {
27
+ return true;
28
+ }
29
+ }
30
+ }
31
+ return false;
32
+ }
33
+ export function SourceStatusFromJSON(json) {
34
+ return SourceStatusFromJSONTyped(json, false);
35
+ }
36
+ export function SourceStatusFromJSONTyped(json, ignoreDiscriminator) {
37
+ return json;
38
+ }
39
+ export function SourceStatusToJSON(value) {
40
+ return value;
41
+ }
42
+ export function SourceStatusToJSONTyped(value, ignoreDiscriminator) {
43
+ return value;
44
+ }
@@ -2,6 +2,7 @@ export * from './AddressLabel';
2
2
  export * from './AddressSchema';
3
3
  export * from './AuthenticationConfigSchema';
4
4
  export * from './ContactLanguage';
5
+ export * from './ContactResultSchema';
5
6
  export * from './ContactSchema';
6
7
  export * from './CreatePayloadSourceAuthenticationSchema';
7
8
  export * from './EmailLabel';
@@ -17,6 +18,8 @@ export * from './OrganizationSourceAuthenticationSchema';
17
18
  export * from './PhoneLabel';
18
19
  export * from './PhoneSchema';
19
20
  export * from './SourceResultSchema';
21
+ export * from './SourceSchema';
22
+ export * from './SourceStatus';
20
23
  export * from './Status';
21
24
  export * from './ToggleSourceAuthenticationSchema';
22
25
  export * from './UpdatePayloadSourceAuthenticationSchema';