@harnessio/react-integration-manager-client 0.3.8 → 0.3.10

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 (73) hide show
  1. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.d.ts +21 -0
  2. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigOrgMutation.js +14 -0
  3. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.d.ts +22 -0
  4. package/dist/integration-manager/src/services/hooks/useCreateAirbyteIntegrationConfigProjectMutation.js +14 -0
  5. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.d.ts +21 -0
  6. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigOrgMutation.js +14 -0
  7. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.d.ts +22 -0
  8. package/dist/integration-manager/src/services/hooks/useCreateIntegrationConfigProjectMutation.js +14 -0
  9. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.d.ts +19 -0
  10. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigOrgQuery.js +19 -0
  11. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.d.ts +20 -0
  12. package/dist/integration-manager/src/services/hooks/useGetAirbyteIntegrationConfigProjectQuery.js +20 -0
  13. package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.d.ts +19 -0
  14. package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigOrgQuery.js +19 -0
  15. package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.d.ts +20 -0
  16. package/dist/integration-manager/src/services/hooks/useGetIntegrationConfigProjectQuery.js +20 -0
  17. package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.d.ts +22 -0
  18. package/dist/integration-manager/src/services/hooks/useListDefaultMappingFieldsQuery.js +14 -0
  19. package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.d.ts +22 -0
  20. package/dist/integration-manager/src/services/hooks/useListDefaultSchemasQuery.js +14 -0
  21. package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.d.ts +17 -0
  22. package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsOrgQuery.js +14 -0
  23. package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.d.ts +18 -0
  24. package/dist/integration-manager/src/services/hooks/useListIntegrationConfigsProjectQuery.js +19 -0
  25. package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.d.ts +19 -0
  26. package/dist/integration-manager/src/services/hooks/useTriggerSyncOrgMutation.js +14 -0
  27. package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.d.ts +20 -0
  28. package/dist/integration-manager/src/services/hooks/useTriggerSyncProjectMutation.js +14 -0
  29. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.d.ts +22 -0
  30. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigOrgMutation.js +14 -0
  31. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.d.ts +23 -0
  32. package/dist/integration-manager/src/services/hooks/useUpdateAirbyteIntegrationConfigProjectMutation.js +14 -0
  33. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.d.ts +22 -0
  34. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationConfigOrgMutation.js +14 -0
  35. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.d.ts +26 -0
  36. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusOrgMutation.js +14 -0
  37. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.d.ts +27 -0
  38. package/dist/integration-manager/src/services/hooks/useUpdateIntegrationStatusProjectMutation.js +14 -0
  39. package/dist/integration-manager/src/services/index.d.ts +52 -0
  40. package/dist/integration-manager/src/services/index.js +19 -0
  41. package/dist/integration-manager/src/services/schemas/EnumIntegrationMode.d.ts +1 -1
  42. package/dist/integration-manager/src/services/schemas/EnumIntegrationType.d.ts +1 -1
  43. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.d.ts +20 -0
  44. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest.js +1 -0
  45. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.d.ts +20 -0
  46. package/dist/integration-manager/src/services/schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest.js +1 -0
  47. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.d.ts +10 -0
  48. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigOrgRequest.js +1 -0
  49. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.d.ts +10 -0
  50. package/dist/integration-manager/src/services/schemas/OpenapiCreateIntegrationConfigProjectRequest.js +1 -0
  51. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.d.ts +14 -0
  52. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest.js +1 -0
  53. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.d.ts +14 -0
  54. package/dist/integration-manager/src/services/schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest.js +1 -0
  55. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.d.ts +5 -0
  56. package/dist/integration-manager/src/services/schemas/OpenapiUpdateIntegrationConfigOrgRequest.js +4 -0
  57. package/dist/integration-manager/src/services/schemas/TypesDefaultEntityRelation.d.ts +7 -0
  58. package/dist/integration-manager/src/services/schemas/TypesDefaultEntityRelation.js +1 -0
  59. package/dist/integration-manager/src/services/schemas/TypesDefaultEntitySchema.d.ts +18 -0
  60. package/dist/integration-manager/src/services/schemas/TypesDefaultEntitySchema.js +1 -0
  61. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.d.ts +11 -0
  62. package/dist/integration-manager/src/services/schemas/TypesDefaultKind.js +1 -0
  63. package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.d.ts +5 -0
  64. package/dist/integration-manager/src/services/schemas/TypesDefaultMappingField.js +4 -0
  65. package/dist/integration-manager/src/services/schemas/TypesDefaultRelationEnd.d.ts +4 -0
  66. package/dist/integration-manager/src/services/schemas/TypesDefaultRelationEnd.js +4 -0
  67. package/dist/integration-manager/src/services/schemas/TypesEntityMapping.d.ts +0 -1
  68. package/dist/integration-manager/src/services/schemas/TypesEntitySchema.d.ts +1 -0
  69. package/dist/integration-manager/src/services/schemas/TypesKindMappingFields.d.ts +5 -0
  70. package/dist/integration-manager/src/services/schemas/TypesKindMappingFields.js +1 -0
  71. package/dist/integration-manager/src/services/schemas/TypesListDefaultMappingFieldsResponse.d.ts +4 -0
  72. package/dist/integration-manager/src/services/schemas/TypesListDefaultMappingFieldsResponse.js +1 -0
  73. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationconfigAirbyteIntegrationResponse } from '../schemas/IntegrationconfigAirbyteIntegrationResponse';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from '../schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateAirbyteIntegrationConfigProjectMutationPathParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ projectIdentifier: string;
11
+ integrationconfig_identifier: string;
12
+ }
13
+ export type UpdateAirbyteIntegrationConfigProjectRequestBody = OpenapiUpdateAirbyteIntegrationConfigProjectRequest;
14
+ export type UpdateAirbyteIntegrationConfigProjectOkResponse = ResponseWithPagination<IntegrationconfigAirbyteIntegrationResponse>;
15
+ export type UpdateAirbyteIntegrationConfigProjectErrorResponse = ApierrorsErrorResponse;
16
+ export interface UpdateAirbyteIntegrationConfigProjectProps extends UpdateAirbyteIntegrationConfigProjectMutationPathParams, Omit<FetcherOptions<unknown, UpdateAirbyteIntegrationConfigProjectRequestBody>, 'url'> {
17
+ body: UpdateAirbyteIntegrationConfigProjectRequestBody;
18
+ }
19
+ export declare function updateAirbyteIntegrationConfigProject(props: UpdateAirbyteIntegrationConfigProjectProps): Promise<UpdateAirbyteIntegrationConfigProjectOkResponse>;
20
+ /**
21
+ * Update Airbyte integration configuration at project level
22
+ */
23
+ export declare function useUpdateAirbyteIntegrationConfigProjectMutation(options?: Omit<UseMutationOptions<UpdateAirbyteIntegrationConfigProjectOkResponse, UpdateAirbyteIntegrationConfigProjectErrorResponse, UpdateAirbyteIntegrationConfigProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateAirbyteIntegrationConfigProjectOkResponse, ApierrorsErrorResponse, UpdateAirbyteIntegrationConfigProjectProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateAirbyteIntegrationConfigProject(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/airbyte/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update Airbyte integration configuration at project level
11
+ */
12
+ export function useUpdateAirbyteIntegrationConfigProjectMutation(options) {
13
+ return useMutation((mutateProps) => updateAirbyteIntegrationConfigProject(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { OpenapiUpdateIntegrationConfigOrgRequest } from '../schemas/OpenapiUpdateIntegrationConfigOrgRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface UpdateIntegrationConfigOrgMutationPathParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier: string;
10
+ integrationconfig_identifier: string;
11
+ }
12
+ export type UpdateIntegrationConfigOrgRequestBody = OpenapiUpdateIntegrationConfigOrgRequest;
13
+ export type UpdateIntegrationConfigOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
14
+ export type UpdateIntegrationConfigOrgErrorResponse = ApierrorsErrorResponse;
15
+ export interface UpdateIntegrationConfigOrgProps extends UpdateIntegrationConfigOrgMutationPathParams, Omit<FetcherOptions<unknown, UpdateIntegrationConfigOrgRequestBody>, 'url'> {
16
+ body: UpdateIntegrationConfigOrgRequestBody;
17
+ }
18
+ export declare function updateIntegrationConfigOrg(props: UpdateIntegrationConfigOrgProps): Promise<UpdateIntegrationConfigOrgOkResponse>;
19
+ /**
20
+ * Update integration configuration at organization level
21
+ */
22
+ export declare function useUpdateIntegrationConfigOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationConfigOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationConfigOrgProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateIntegrationConfigOrg(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Update integration configuration at organization level
11
+ */
12
+ export function useUpdateIntegrationConfigOrgMutation(options) {
13
+ return useMutation((mutateProps) => updateIntegrationConfigOrg(mutateProps), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateIntegrationStatusOrgMutationPathParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier: string;
9
+ integrationconfig_identifier: string;
10
+ }
11
+ export interface UpdateIntegrationStatusOrgMutationQueryParams {
12
+ /**
13
+ * Action to perform: 'enable' or 'disable'
14
+ */
15
+ action: string;
16
+ }
17
+ export type UpdateIntegrationStatusOrgOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
18
+ export type UpdateIntegrationStatusOrgErrorResponse = ApierrorsErrorResponse;
19
+ export interface UpdateIntegrationStatusOrgProps extends UpdateIntegrationStatusOrgMutationPathParams, Omit<FetcherOptions<UpdateIntegrationStatusOrgMutationQueryParams, unknown>, 'url'> {
20
+ queryParams: UpdateIntegrationStatusOrgMutationQueryParams;
21
+ }
22
+ export declare function updateIntegrationStatusOrg(props: UpdateIntegrationStatusOrgProps): Promise<UpdateIntegrationStatusOrgOkResponse>;
23
+ /**
24
+ * Update integration status at organization level
25
+ */
26
+ export declare function useUpdateIntegrationStatusOrgMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusOrgOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusOrgProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateIntegrationStatusOrg(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Update integration status at organization level
11
+ */
12
+ export function useUpdateIntegrationStatusOrgMutation(options) {
13
+ return useMutation((mutateProps) => updateIntegrationStatusOrg(mutateProps), options);
14
+ }
@@ -0,0 +1,27 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { TypesIntegrationConfig } from '../schemas/TypesIntegrationConfig';
3
+ import type { ApierrorsErrorResponse } from '../schemas/ApierrorsErrorResponse';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpdateIntegrationStatusProjectMutationPathParams {
7
+ accountIdentifier: string;
8
+ orgIdentifier: string;
9
+ projectIdentifier: string;
10
+ integrationconfig_identifier: string;
11
+ }
12
+ export interface UpdateIntegrationStatusProjectMutationQueryParams {
13
+ /**
14
+ * Action to perform: 'enable' or 'disable'
15
+ */
16
+ action: string;
17
+ }
18
+ export type UpdateIntegrationStatusProjectOkResponse = ResponseWithPagination<TypesIntegrationConfig>;
19
+ export type UpdateIntegrationStatusProjectErrorResponse = ApierrorsErrorResponse;
20
+ export interface UpdateIntegrationStatusProjectProps extends UpdateIntegrationStatusProjectMutationPathParams, Omit<FetcherOptions<UpdateIntegrationStatusProjectMutationQueryParams, unknown>, 'url'> {
21
+ queryParams: UpdateIntegrationStatusProjectMutationQueryParams;
22
+ }
23
+ export declare function updateIntegrationStatusProject(props: UpdateIntegrationStatusProjectProps): Promise<UpdateIntegrationStatusProjectOkResponse>;
24
+ /**
25
+ * Update integration status at project level
26
+ */
27
+ export declare function useUpdateIntegrationStatusProjectMutation(options?: Omit<UseMutationOptions<UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateIntegrationStatusProjectOkResponse, ApierrorsErrorResponse, UpdateIntegrationStatusProjectProps, unknown>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function updateIntegrationStatusProject(props) {
7
+ return fetcher(Object.assign({ url: `/api/v1/accounts/${props.accountIdentifier}/orgs/${props.orgIdentifier}/projects/${props.projectIdentifier}/integration-configs/${props.integrationconfig_identifier}/status`, method: 'PATCH' }, props));
8
+ }
9
+ /**
10
+ * Update integration status at project level
11
+ */
12
+ export function useUpdateIntegrationStatusProjectMutation(options) {
13
+ return useMutation((mutateProps) => updateIntegrationStatusProject(mutateProps), options);
14
+ }
@@ -3,8 +3,16 @@ export type { CreateAgentErrorResponse, CreateAgentMutationPathParams, CreateAge
3
3
  export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
4
4
  export type { CreateAirbyteIntegrationConfigErrorResponse, CreateAirbyteIntegrationConfigMutationPathParams, CreateAirbyteIntegrationConfigOkResponse, CreateAirbyteIntegrationConfigProps, CreateAirbyteIntegrationConfigRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
5
5
  export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
6
+ export type { CreateAirbyteIntegrationConfigOrgErrorResponse, CreateAirbyteIntegrationConfigOrgMutationPathParams, CreateAirbyteIntegrationConfigOrgOkResponse, CreateAirbyteIntegrationConfigOrgProps, CreateAirbyteIntegrationConfigOrgRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
7
+ export { createAirbyteIntegrationConfigOrg, useCreateAirbyteIntegrationConfigOrgMutation, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
8
+ export type { CreateAirbyteIntegrationConfigProjectErrorResponse, CreateAirbyteIntegrationConfigProjectMutationPathParams, CreateAirbyteIntegrationConfigProjectOkResponse, CreateAirbyteIntegrationConfigProjectProps, CreateAirbyteIntegrationConfigProjectRequestBody, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
9
+ export { createAirbyteIntegrationConfigProject, useCreateAirbyteIntegrationConfigProjectMutation, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
6
10
  export type { CreateIntegrationConfigErrorResponse, CreateIntegrationConfigMutationPathParams, CreateIntegrationConfigOkResponse, CreateIntegrationConfigProps, CreateIntegrationConfigRequestBody, } from './hooks/useCreateIntegrationConfigMutation';
7
11
  export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
12
+ export type { CreateIntegrationConfigOrgErrorResponse, CreateIntegrationConfigOrgMutationPathParams, CreateIntegrationConfigOrgOkResponse, CreateIntegrationConfigOrgProps, CreateIntegrationConfigOrgRequestBody, } from './hooks/useCreateIntegrationConfigOrgMutation';
13
+ export { createIntegrationConfigOrg, useCreateIntegrationConfigOrgMutation, } from './hooks/useCreateIntegrationConfigOrgMutation';
14
+ export type { CreateIntegrationConfigProjectErrorResponse, CreateIntegrationConfigProjectMutationPathParams, CreateIntegrationConfigProjectOkResponse, CreateIntegrationConfigProjectProps, CreateIntegrationConfigProjectRequestBody, } from './hooks/useCreateIntegrationConfigProjectMutation';
15
+ export { createIntegrationConfigProject, useCreateIntegrationConfigProjectMutation, } from './hooks/useCreateIntegrationConfigProjectMutation';
8
16
  export type { DeleteAgentErrorResponse, DeleteAgentMutationPathParams, DeleteAgentOkResponse, DeleteAgentProps, } from './hooks/useDeleteAgentMutation';
9
17
  export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
10
18
  export type { DownloadAgentYamlErrorResponse, DownloadAgentYamlOkResponse, DownloadAgentYamlProps, DownloadAgentYamlQueryPathParams, } from './hooks/useDownloadAgentYamlQuery';
@@ -15,24 +23,54 @@ export type { GetAgentErrorResponse, GetAgentOkResponse, GetAgentProps, GetAgent
15
23
  export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
16
24
  export type { GetAirbyteConnectorCatalogErrorResponse, GetAirbyteConnectorCatalogOkResponse, GetAirbyteConnectorCatalogProps, GetAirbyteConnectorCatalogQueryPathParams, GetAirbyteConnectorCatalogQueryQueryParams, } from './hooks/useGetAirbyteConnectorCatalogQuery';
17
25
  export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from './hooks/useGetAirbyteConnectorCatalogQuery';
26
+ export type { GetAirbyteIntegrationConfigOrgErrorResponse, GetAirbyteIntegrationConfigOrgOkResponse, GetAirbyteIntegrationConfigOrgProps, GetAirbyteIntegrationConfigOrgQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
27
+ export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
28
+ export type { GetAirbyteIntegrationConfigProjectErrorResponse, GetAirbyteIntegrationConfigProjectOkResponse, GetAirbyteIntegrationConfigProjectProps, GetAirbyteIntegrationConfigProjectQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
29
+ export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
18
30
  export type { GetAirbyteIntegrationConfigErrorResponse, GetAirbyteIntegrationConfigOkResponse, GetAirbyteIntegrationConfigProps, GetAirbyteIntegrationConfigQueryPathParams, } from './hooks/useGetAirbyteIntegrationConfigQuery';
19
31
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
32
+ export type { GetIntegrationConfigOrgErrorResponse, GetIntegrationConfigOrgOkResponse, GetIntegrationConfigOrgProps, GetIntegrationConfigOrgQueryPathParams, } from './hooks/useGetIntegrationConfigOrgQuery';
33
+ export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
34
+ export type { GetIntegrationConfigProjectErrorResponse, GetIntegrationConfigProjectOkResponse, GetIntegrationConfigProjectProps, GetIntegrationConfigProjectQueryPathParams, } from './hooks/useGetIntegrationConfigProjectQuery';
35
+ export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
20
36
  export type { GetIntegrationConfigErrorResponse, GetIntegrationConfigOkResponse, GetIntegrationConfigProps, GetIntegrationConfigQueryPathParams, } from './hooks/useGetIntegrationConfigQuery';
21
37
  export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
22
38
  export type { ListAgentsErrorResponse, ListAgentsOkResponse, ListAgentsProps, ListAgentsQueryPathParams, } from './hooks/useListAgentsQuery';
23
39
  export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
40
+ export type { ListDefaultMappingFieldsErrorResponse, ListDefaultMappingFieldsOkResponse, ListDefaultMappingFieldsProps, ListDefaultMappingFieldsQueryPathParams, ListDefaultMappingFieldsQueryQueryParams, } from './hooks/useListDefaultMappingFieldsQuery';
41
+ export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
42
+ export type { ListDefaultSchemasErrorResponse, ListDefaultSchemasOkResponse, ListDefaultSchemasProps, ListDefaultSchemasQueryPathParams, ListDefaultSchemasQueryQueryParams, } from './hooks/useListDefaultSchemasQuery';
43
+ export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
44
+ export type { ListIntegrationConfigsOrgErrorResponse, ListIntegrationConfigsOrgOkResponse, ListIntegrationConfigsOrgProps, ListIntegrationConfigsOrgQueryPathParams, } from './hooks/useListIntegrationConfigsOrgQuery';
45
+ export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
46
+ export type { ListIntegrationConfigsProjectErrorResponse, ListIntegrationConfigsProjectOkResponse, ListIntegrationConfigsProjectProps, ListIntegrationConfigsProjectQueryPathParams, } from './hooks/useListIntegrationConfigsProjectQuery';
47
+ export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
24
48
  export type { ListIntegrationConfigsErrorResponse, ListIntegrationConfigsOkResponse, ListIntegrationConfigsProps, ListIntegrationConfigsQueryPathParams, } from './hooks/useListIntegrationConfigsQuery';
25
49
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
26
50
  export type { TriggerSyncErrorResponse, TriggerSyncMutationPathParams, TriggerSyncOkResponse, TriggerSyncProps, } from './hooks/useTriggerSyncMutation';
27
51
  export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
52
+ export type { TriggerSyncOrgErrorResponse, TriggerSyncOrgMutationPathParams, TriggerSyncOrgOkResponse, TriggerSyncOrgProps, } from './hooks/useTriggerSyncOrgMutation';
53
+ export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
54
+ export type { TriggerSyncProjectErrorResponse, TriggerSyncProjectMutationPathParams, TriggerSyncProjectOkResponse, TriggerSyncProjectProps, } from './hooks/useTriggerSyncProjectMutation';
55
+ export { triggerSyncProject, useTriggerSyncProjectMutation, } from './hooks/useTriggerSyncProjectMutation';
28
56
  export type { UpdateAgentErrorResponse, UpdateAgentMutationPathParams, UpdateAgentOkResponse, UpdateAgentProps, UpdateAgentRequestBody, } from './hooks/useUpdateAgentMutation';
29
57
  export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
30
58
  export type { UpdateAirbyteIntegrationConfigErrorResponse, UpdateAirbyteIntegrationConfigMutationPathParams, UpdateAirbyteIntegrationConfigOkResponse, UpdateAirbyteIntegrationConfigProps, UpdateAirbyteIntegrationConfigRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
31
59
  export { updateAirbyteIntegrationConfig, useUpdateAirbyteIntegrationConfigMutation, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
60
+ export type { UpdateAirbyteIntegrationConfigOrgErrorResponse, UpdateAirbyteIntegrationConfigOrgMutationPathParams, UpdateAirbyteIntegrationConfigOrgOkResponse, UpdateAirbyteIntegrationConfigOrgProps, UpdateAirbyteIntegrationConfigOrgRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
61
+ export { updateAirbyteIntegrationConfigOrg, useUpdateAirbyteIntegrationConfigOrgMutation, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
62
+ export type { UpdateAirbyteIntegrationConfigProjectErrorResponse, UpdateAirbyteIntegrationConfigProjectMutationPathParams, UpdateAirbyteIntegrationConfigProjectOkResponse, UpdateAirbyteIntegrationConfigProjectProps, UpdateAirbyteIntegrationConfigProjectRequestBody, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
63
+ export { updateAirbyteIntegrationConfigProject, useUpdateAirbyteIntegrationConfigProjectMutation, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
32
64
  export type { UpdateIntegrationConfigErrorResponse, UpdateIntegrationConfigMutationPathParams, UpdateIntegrationConfigOkResponse, UpdateIntegrationConfigProps, UpdateIntegrationConfigRequestBody, } from './hooks/useUpdateIntegrationConfigMutation';
33
65
  export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
66
+ export type { UpdateIntegrationConfigOrgErrorResponse, UpdateIntegrationConfigOrgMutationPathParams, UpdateIntegrationConfigOrgOkResponse, UpdateIntegrationConfigOrgProps, UpdateIntegrationConfigOrgRequestBody, } from './hooks/useUpdateIntegrationConfigOrgMutation';
67
+ export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
34
68
  export type { UpdateIntegrationStatusErrorResponse, UpdateIntegrationStatusMutationPathParams, UpdateIntegrationStatusMutationQueryParams, UpdateIntegrationStatusOkResponse, UpdateIntegrationStatusProps, } from './hooks/useUpdateIntegrationStatusMutation';
35
69
  export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
70
+ export type { UpdateIntegrationStatusOrgErrorResponse, UpdateIntegrationStatusOrgMutationPathParams, UpdateIntegrationStatusOrgMutationQueryParams, UpdateIntegrationStatusOrgOkResponse, UpdateIntegrationStatusOrgProps, } from './hooks/useUpdateIntegrationStatusOrgMutation';
71
+ export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
72
+ export type { UpdateIntegrationStatusProjectErrorResponse, UpdateIntegrationStatusProjectMutationPathParams, UpdateIntegrationStatusProjectMutationQueryParams, UpdateIntegrationStatusProjectOkResponse, UpdateIntegrationStatusProjectProps, } from './hooks/useUpdateIntegrationStatusProjectMutation';
73
+ export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
36
74
  export type { AirbyteFetchAirbyteConnectorCatalogResponse } from './schemas/AirbyteFetchAirbyteConnectorCatalogResponse';
37
75
  export type { AirbyteGetAirbyteConnectorCatalogResponse } from './schemas/AirbyteGetAirbyteConnectorCatalogResponse';
38
76
  export type { ApierrorsErrorDetail } from './schemas/ApierrorsErrorDetail';
@@ -45,11 +83,18 @@ export type { IntegrationconfigAirbyteIntegrationResponse } from './schemas/Inte
45
83
  export type { IntegrationconfigSyncStatus } from './schemas/IntegrationconfigSyncStatus';
46
84
  export type { IntegrationconfigTriggerSyncResponse } from './schemas/IntegrationconfigTriggerSyncResponse';
47
85
  export type { OpenapiCreateAgentRequest } from './schemas/OpenapiCreateAgentRequest';
86
+ export type { OpenapiCreateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigOrgRequest';
87
+ export type { OpenapiCreateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigProjectRequest';
48
88
  export type { OpenapiCreateAirbyteIntegrationConfigRequest } from './schemas/OpenapiCreateAirbyteIntegrationConfigRequest';
89
+ export type { OpenapiCreateIntegrationConfigOrgRequest } from './schemas/OpenapiCreateIntegrationConfigOrgRequest';
90
+ export type { OpenapiCreateIntegrationConfigProjectRequest } from './schemas/OpenapiCreateIntegrationConfigProjectRequest';
49
91
  export type { OpenapiCreateIntegrationConfigRequest } from './schemas/OpenapiCreateIntegrationConfigRequest';
50
92
  export type { OpenapiGetAirbyteConnectorCatalogRequest } from './schemas/OpenapiGetAirbyteConnectorCatalogRequest';
51
93
  export type { OpenapiUpdateAgentRequest } from './schemas/OpenapiUpdateAgentRequest';
94
+ export type { OpenapiUpdateAirbyteIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigOrgRequest';
95
+ export type { OpenapiUpdateAirbyteIntegrationConfigProjectRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigProjectRequest';
52
96
  export type { OpenapiUpdateAirbyteIntegrationConfigRequest } from './schemas/OpenapiUpdateAirbyteIntegrationConfigRequest';
97
+ export type { OpenapiUpdateIntegrationConfigOrgRequest } from './schemas/OpenapiUpdateIntegrationConfigOrgRequest';
53
98
  export type { OpenapiUpdateIntegrationConfigRequest } from './schemas/OpenapiUpdateIntegrationConfigRequest';
54
99
  export type { TypesAgentStatus } from './schemas/TypesAgentStatus';
55
100
  export type { TypesAirbyteCatalogConfigured } from './schemas/TypesAirbyteCatalogConfigured';
@@ -57,6 +102,11 @@ export type { TypesAirbyteCatalogDiscovered } from './schemas/TypesAirbyteCatalo
57
102
  export type { TypesAirbyteConnector } from './schemas/TypesAirbyteConnector';
58
103
  export type { TypesAirbyteStream } from './schemas/TypesAirbyteStream';
59
104
  export type { TypesAirbyteStreamConfigured } from './schemas/TypesAirbyteStreamConfigured';
105
+ export type { TypesDefaultEntityRelation } from './schemas/TypesDefaultEntityRelation';
106
+ export type { TypesDefaultEntitySchema } from './schemas/TypesDefaultEntitySchema';
107
+ export type { TypesDefaultKind } from './schemas/TypesDefaultKind';
108
+ export type { TypesDefaultMappingField } from './schemas/TypesDefaultMappingField';
109
+ export type { TypesDefaultRelationEnd } from './schemas/TypesDefaultRelationEnd';
60
110
  export type { TypesEntityMapping } from './schemas/TypesEntityMapping';
61
111
  export type { TypesEntityMappingSpec } from './schemas/TypesEntityMappingSpec';
62
112
  export type { TypesEntitySchema } from './schemas/TypesEntitySchema';
@@ -65,7 +115,9 @@ export type { TypesHarnessAirbyteConfig } from './schemas/TypesHarnessAirbyteCon
65
115
  export type { TypesIntegrationAgent } from './schemas/TypesIntegrationAgent';
66
116
  export type { TypesIntegrationConfig } from './schemas/TypesIntegrationConfig';
67
117
  export type { TypesJsonSchema } from './schemas/TypesJsonSchema';
118
+ export type { TypesKindMappingFields } from './schemas/TypesKindMappingFields';
68
119
  export type { TypesLastSyncInfo } from './schemas/TypesLastSyncInfo';
120
+ export type { TypesListDefaultMappingFieldsResponse } from './schemas/TypesListDefaultMappingFieldsResponse';
69
121
  export type { TypesMappingConfig } from './schemas/TypesMappingConfig';
70
122
  export type { TypesMappingSpec } from './schemas/TypesMappingSpec';
71
123
  export type { TypesSchemaMapping } from './schemas/TypesSchemaMapping';
@@ -1,17 +1,36 @@
1
1
  export { createAgent, useCreateAgentMutation } from './hooks/useCreateAgentMutation';
2
2
  export { createAirbyteIntegrationConfig, useCreateAirbyteIntegrationConfigMutation, } from './hooks/useCreateAirbyteIntegrationConfigMutation';
3
+ export { createAirbyteIntegrationConfigOrg, useCreateAirbyteIntegrationConfigOrgMutation, } from './hooks/useCreateAirbyteIntegrationConfigOrgMutation';
4
+ export { createAirbyteIntegrationConfigProject, useCreateAirbyteIntegrationConfigProjectMutation, } from './hooks/useCreateAirbyteIntegrationConfigProjectMutation';
3
5
  export { createIntegrationConfig, useCreateIntegrationConfigMutation, } from './hooks/useCreateIntegrationConfigMutation';
6
+ export { createIntegrationConfigOrg, useCreateIntegrationConfigOrgMutation, } from './hooks/useCreateIntegrationConfigOrgMutation';
7
+ export { createIntegrationConfigProject, useCreateIntegrationConfigProjectMutation, } from './hooks/useCreateIntegrationConfigProjectMutation';
4
8
  export { deleteAgent, useDeleteAgentMutation } from './hooks/useDeleteAgentMutation';
5
9
  export { downloadAgentYaml, useDownloadAgentYamlQuery } from './hooks/useDownloadAgentYamlQuery';
6
10
  export { fetchAirbyteConnectorCatalog, useFetchAirbyteConnectorCatalogMutation, } from './hooks/useFetchAirbyteConnectorCatalogMutation';
7
11
  export { getAgent, useGetAgentQuery } from './hooks/useGetAgentQuery';
8
12
  export { getAirbyteConnectorCatalog, useGetAirbyteConnectorCatalogQuery, } from './hooks/useGetAirbyteConnectorCatalogQuery';
13
+ export { getAirbyteIntegrationConfigOrg, useGetAirbyteIntegrationConfigOrgQuery, } from './hooks/useGetAirbyteIntegrationConfigOrgQuery';
14
+ export { getAirbyteIntegrationConfigProject, useGetAirbyteIntegrationConfigProjectQuery, } from './hooks/useGetAirbyteIntegrationConfigProjectQuery';
9
15
  export { getAirbyteIntegrationConfig, useGetAirbyteIntegrationConfigQuery, } from './hooks/useGetAirbyteIntegrationConfigQuery';
16
+ export { getIntegrationConfigOrg, useGetIntegrationConfigOrgQuery, } from './hooks/useGetIntegrationConfigOrgQuery';
17
+ export { getIntegrationConfigProject, useGetIntegrationConfigProjectQuery, } from './hooks/useGetIntegrationConfigProjectQuery';
10
18
  export { getIntegrationConfig, useGetIntegrationConfigQuery, } from './hooks/useGetIntegrationConfigQuery';
11
19
  export { listAgents, useListAgentsQuery } from './hooks/useListAgentsQuery';
20
+ export { listDefaultMappingFields, useListDefaultMappingFieldsQuery, } from './hooks/useListDefaultMappingFieldsQuery';
21
+ export { listDefaultSchemas, useListDefaultSchemasQuery } from './hooks/useListDefaultSchemasQuery';
22
+ export { listIntegrationConfigsOrg, useListIntegrationConfigsOrgQuery, } from './hooks/useListIntegrationConfigsOrgQuery';
23
+ export { listIntegrationConfigsProject, useListIntegrationConfigsProjectQuery, } from './hooks/useListIntegrationConfigsProjectQuery';
12
24
  export { listIntegrationConfigs, useListIntegrationConfigsQuery, } from './hooks/useListIntegrationConfigsQuery';
13
25
  export { triggerSync, useTriggerSyncMutation } from './hooks/useTriggerSyncMutation';
26
+ export { triggerSyncOrg, useTriggerSyncOrgMutation } from './hooks/useTriggerSyncOrgMutation';
27
+ export { triggerSyncProject, useTriggerSyncProjectMutation, } from './hooks/useTriggerSyncProjectMutation';
14
28
  export { updateAgent, useUpdateAgentMutation } from './hooks/useUpdateAgentMutation';
15
29
  export { updateAirbyteIntegrationConfig, useUpdateAirbyteIntegrationConfigMutation, } from './hooks/useUpdateAirbyteIntegrationConfigMutation';
30
+ export { updateAirbyteIntegrationConfigOrg, useUpdateAirbyteIntegrationConfigOrgMutation, } from './hooks/useUpdateAirbyteIntegrationConfigOrgMutation';
31
+ export { updateAirbyteIntegrationConfigProject, useUpdateAirbyteIntegrationConfigProjectMutation, } from './hooks/useUpdateAirbyteIntegrationConfigProjectMutation';
16
32
  export { updateIntegrationConfig, useUpdateIntegrationConfigMutation, } from './hooks/useUpdateIntegrationConfigMutation';
33
+ export { updateIntegrationConfigOrg, useUpdateIntegrationConfigOrgMutation, } from './hooks/useUpdateIntegrationConfigOrgMutation';
17
34
  export { updateIntegrationStatus, useUpdateIntegrationStatusMutation, } from './hooks/useUpdateIntegrationStatusMutation';
35
+ export { updateIntegrationStatusOrg, useUpdateIntegrationStatusOrgMutation, } from './hooks/useUpdateIntegrationStatusOrgMutation';
36
+ export { updateIntegrationStatusProject, useUpdateIntegrationStatusProjectMutation, } from './hooks/useUpdateIntegrationStatusProjectMutation';
@@ -1 +1 @@
1
- export type EnumIntegrationMode = 'airbyte' | 'kubernetes' | 'platform' | 'webhook';
1
+ export type EnumIntegrationMode = 'airbyte' | 'platform' | 'webhook';
@@ -1 +1 @@
1
- export type EnumIntegrationType = 'HarnessCD' | 'HarnessScope' | 'ServiceNow';
1
+ export type EnumIntegrationType = 'HarnessCD' | 'HarnessK8s' | 'HarnessScope' | 'ServiceNow';
@@ -0,0 +1,20 @@
1
+ import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
2
+ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
3
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
4
+ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
5
+ export interface OpenapiCreateAirbyteIntegrationConfigOrgRequest {
6
+ discovered_catalog?: TypesAirbyteCatalogDiscovered;
7
+ entity_mappings_per_kind?: {
8
+ [key: string]: TypesFieldMapping[];
9
+ } | null;
10
+ identifier?: string;
11
+ integration_config?: {
12
+ [key: string]: any;
13
+ } | null;
14
+ integration_type?: EnumIntegrationType;
15
+ kinds?: string[] | null;
16
+ mapping_config_per_kind?: {
17
+ [key: string]: TypesMappingConfig;
18
+ };
19
+ name?: string;
20
+ }
@@ -0,0 +1,20 @@
1
+ import type { TypesAirbyteCatalogDiscovered } from '../schemas/TypesAirbyteCatalogDiscovered';
2
+ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
3
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
4
+ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
5
+ export interface OpenapiCreateAirbyteIntegrationConfigProjectRequest {
6
+ discovered_catalog?: TypesAirbyteCatalogDiscovered;
7
+ entity_mappings_per_kind?: {
8
+ [key: string]: TypesFieldMapping[];
9
+ } | null;
10
+ identifier?: string;
11
+ integration_config?: {
12
+ [key: string]: any;
13
+ } | null;
14
+ integration_type?: EnumIntegrationType;
15
+ kinds?: string[] | null;
16
+ mapping_config_per_kind?: {
17
+ [key: string]: TypesMappingConfig;
18
+ };
19
+ name?: string;
20
+ }
@@ -0,0 +1,10 @@
1
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
2
+ export interface OpenapiCreateIntegrationConfigOrgRequest {
3
+ configuration?: {
4
+ [key: string]: any;
5
+ } | null;
6
+ identifier?: string;
7
+ integration_type?: EnumIntegrationType;
8
+ kinds?: string[];
9
+ name?: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
2
+ export interface OpenapiCreateIntegrationConfigProjectRequest {
3
+ configuration?: {
4
+ [key: string]: any;
5
+ } | null;
6
+ identifier?: string;
7
+ integration_type?: EnumIntegrationType;
8
+ kinds?: string[];
9
+ name?: string;
10
+ }
@@ -0,0 +1,14 @@
1
+ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
2
+ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
3
+ export interface OpenapiUpdateAirbyteIntegrationConfigOrgRequest {
4
+ entity_mappings_per_kind?: {
5
+ [key: string]: TypesFieldMapping[];
6
+ } | null;
7
+ integration_config?: {
8
+ [key: string]: any;
9
+ } | null;
10
+ mapping_config_per_kind?: {
11
+ [key: string]: TypesMappingConfig;
12
+ };
13
+ name?: string;
14
+ }
@@ -0,0 +1,14 @@
1
+ import type { TypesFieldMapping } from '../schemas/TypesFieldMapping';
2
+ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
3
+ export interface OpenapiUpdateAirbyteIntegrationConfigProjectRequest {
4
+ entity_mappings_per_kind?: {
5
+ [key: string]: TypesFieldMapping[];
6
+ } | null;
7
+ integration_config?: {
8
+ [key: string]: any;
9
+ } | null;
10
+ mapping_config_per_kind?: {
11
+ [key: string]: TypesMappingConfig;
12
+ };
13
+ name?: string;
14
+ }
@@ -0,0 +1,5 @@
1
+ export interface OpenapiUpdateIntegrationConfigOrgRequest {
2
+ configuration?: {
3
+ [key: string]: any;
4
+ } | null;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ import type { TypesDefaultRelationEnd } from '../schemas/TypesDefaultRelationEnd';
2
+ export interface TypesDefaultEntityRelation {
3
+ from?: TypesDefaultRelationEnd;
4
+ identifier?: string;
5
+ one_to_many?: boolean;
6
+ to?: TypesDefaultRelationEnd;
7
+ }
@@ -0,0 +1,18 @@
1
+ import type { EnumIntegrationType } from '../schemas/EnumIntegrationType';
2
+ import type { TypesDefaultKind } from '../schemas/TypesDefaultKind';
3
+ import type { TypesDefaultEntityRelation } from '../schemas/TypesDefaultEntityRelation';
4
+ import type { TypesScopeConfig } from '../schemas/TypesScopeConfig';
5
+ export interface TypesDefaultEntitySchema {
6
+ configuration?: {
7
+ [key: string]: any;
8
+ } | null;
9
+ created?: number;
10
+ integration_type?: EnumIntegrationType;
11
+ kinds?: {
12
+ [key: string]: TypesDefaultKind;
13
+ } | null;
14
+ last_updated?: number;
15
+ relations?: TypesDefaultEntityRelation[];
16
+ scope_config?: TypesScopeConfig;
17
+ version?: string;
18
+ }
@@ -0,0 +1,11 @@
1
+ import type { TypesSchemaMapping } from '../schemas/TypesSchemaMapping';
2
+ export interface TypesDefaultKind {
3
+ fields?: {
4
+ [key: string]: any;
5
+ } | null;
6
+ primary?: boolean;
7
+ primary_kind?: string;
8
+ schema_mappings?: {
9
+ [key: string]: TypesSchemaMapping;
10
+ } | null;
11
+ }
@@ -0,0 +1,5 @@
1
+ export interface TypesDefaultMappingField {
2
+ description?: string;
3
+ display_name?: string;
4
+ field_name?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface TypesDefaultRelationEnd {
2
+ entity_kind?: string;
3
+ field?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -2,7 +2,6 @@ import type { TypesMappingConfig } from '../schemas/TypesMappingConfig';
2
2
  import type { TypesEntityMappingSpec } from '../schemas/TypesEntityMappingSpec';
3
3
  export interface TypesEntityMapping {
4
4
  created?: number;
5
- entity_schema_id?: string;
6
5
  id?: string;
7
6
  integration_id?: string;
8
7
  kind?: string;
@@ -13,6 +13,7 @@ export interface TypesEntitySchema {
13
13
  kind?: string;
14
14
  last_updated?: number;
15
15
  primary?: boolean;
16
+ primary_kind?: string;
16
17
  schema_mappings?: {
17
18
  [key: string]: TypesSchemaMapping;
18
19
  } | null;
@@ -0,0 +1,5 @@
1
+ import type { TypesDefaultMappingField } from '../schemas/TypesDefaultMappingField';
2
+ export interface TypesKindMappingFields {
3
+ fields?: TypesDefaultMappingField[] | null;
4
+ kind?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ import type { TypesKindMappingFields } from '../schemas/TypesKindMappingFields';
2
+ export interface TypesListDefaultMappingFieldsResponse {
3
+ mapping_fields?: TypesKindMappingFields[] | null;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-integration-manager-client",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "Harness React integration manager client - Integration Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",