@empathyco/x-adapter-platform 1.1.0-alpha.26 → 1.1.0-alpha.28
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.
- package/dist/cjs/endpoint-adapters/index.js +1 -0
- package/dist/cjs/endpoint-adapters/index.js.map +1 -1
- package/dist/cjs/schemas/requests/ai/questions-request.schema.js +5 -0
- package/dist/cjs/schemas/requests/ai/questions-request.schema.js.map +1 -1
- package/dist/cjs/schemas/requests/ai/tasks-request.schema.js +5 -0
- package/dist/cjs/schemas/requests/ai/tasks-request.schema.js.map +1 -1
- package/dist/cjs/types/responses/ai/questions-response.model.js.map +1 -1
- package/dist/cjs/types/responses/ai/tasks-response.model.js.map +1 -1
- package/dist/esm/endpoint-adapters/index.js +1 -0
- package/dist/esm/endpoint-adapters/index.js.map +1 -1
- package/dist/esm/schemas/requests/ai/questions-request.schema.js +5 -0
- package/dist/esm/schemas/requests/ai/questions-request.schema.js.map +1 -1
- package/dist/esm/schemas/requests/ai/tasks-request.schema.js +5 -0
- package/dist/esm/schemas/requests/ai/tasks-request.schema.js.map +1 -1
- package/dist/esm/types/responses/ai/questions-response.model.js.map +1 -1
- package/dist/esm/types/responses/ai/tasks-response.model.js.map +1 -1
- package/dist/types/endpoint-adapters/index.d.ts +1 -0
- package/dist/types/schemas/requests/ai/questions-request.schema.d.ts +5 -0
- package/dist/types/schemas/requests/ai/tasks-request.schema.d.ts +5 -0
- package/dist/types/types/responses/ai/questions-response.model.d.ts +5 -0
- package/dist/types/types/responses/ai/tasks-response.model.d.ts +5 -0
- package/package.json +3 -3
- package/report/x-adapter-platform.api.json +54 -4
- package/report/x-adapter-platform.api.md +8 -6
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ai/questions.endpoint-adapter"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ai/tasks.endpoint-adapter"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./experience-controls.endpoint-adapter"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./identifier-results.endpoint-adapter"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./next-queries.endpoint-adapter"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/index.ts"],"names":[],"mappings":";;;AAAA,0EAA+C;AAC/C,iFAAsD;AACtD,gFAAqD;AACrD,0EAA+C;AAC/C,8EAAmD;AACnD,+EAAoD;AACpD,6EAAkD;AAClD,6EAAkD;AAClD,0EAA+C;AAC/C,oEAAyC;AACzC,8EAAmD;AACnD,qEAA0C","sourcesContent":["export * from './ai/questions.endpoint-adapter'\nexport * from './experience-controls.endpoint-adapter'\nexport * from './identifier-results.endpoint-adapter'\nexport * from './next-queries.endpoint-adapter'\nexport * from './popular-searches.endpoint-adapter'\nexport * from './query-suggestions.endpoint-adapter'\nexport * from './recommendations.endpoint-adapter'\nexport * from './related-prompts.endpoint-adapter'\nexport * from './related-tags.endpoint-adapter'\nexport * from './search.endpoint-adapter'\nexport * from './semantic-queries.endpoint-adapter'\nexport * from './tagging.endpoint-adapter'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/index.ts"],"names":[],"mappings":";;;AAAA,0EAA+C;AAC/C,sEAA2C;AAC3C,iFAAsD;AACtD,gFAAqD;AACrD,0EAA+C;AAC/C,8EAAmD;AACnD,+EAAoD;AACpD,6EAAkD;AAClD,6EAAkD;AAClD,0EAA+C;AAC/C,oEAAyC;AACzC,8EAAmD;AACnD,qEAA0C","sourcesContent":["export * from './ai/questions.endpoint-adapter'\nexport * from './ai/tasks.endpoint-adapter'\nexport * from './experience-controls.endpoint-adapter'\nexport * from './identifier-results.endpoint-adapter'\nexport * from './next-queries.endpoint-adapter'\nexport * from './popular-searches.endpoint-adapter'\nexport * from './query-suggestions.endpoint-adapter'\nexport * from './recommendations.endpoint-adapter'\nexport * from './related-prompts.endpoint-adapter'\nexport * from './related-tags.endpoint-adapter'\nexport * from './search.endpoint-adapter'\nexport * from './semantic-queries.endpoint-adapter'\nexport * from './tagging.endpoint-adapter'\n"]}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.aiQuestionsRequestSchema = void 0;
|
|
4
4
|
const x_adapter_1 = require("@empathyco/x-adapter");
|
|
5
|
+
/**
|
|
6
|
+
* Default implementation for the AiQuestionsRequestSchema.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
5
10
|
exports.aiQuestionsRequestSchema = (0, x_adapter_1.createMutableSchema)({
|
|
6
11
|
context: ({ lang, query, extraParams }) => {
|
|
7
12
|
const context = { lang, query };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/questions-request.schema.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;
|
|
1
|
+
{"version":3,"file":"questions-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/questions-request.schema.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAE1D;;;;GAIG;AACU,QAAA,wBAAwB,GAAG,IAAA,+BAAmB,EAGzD;IACA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,EAAyC,EAAE;QAC/E,MAAM,OAAO,GAA0C,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;QACtE,IAAI,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACnD,IAAI,UAAU,IAAI,WAAW,EAAE,CAAC;gBAC9B,OAAO,CAAC,QAAQ,GAAI,WAAqC,CAAC,QAAQ,CAAA;YACpE,CAAC;YACD,IAAI,SAAS,IAAI,WAAW,EAAE,CAAC;gBAC7B,OAAO,CAAC,OAAO,GAAI,WAAqD,CAAC,OAAO,CAAA;YAClF,CAAC;QACH,CAAC;QACD,OAAO,OAAO,CAAA;IAChB,CAAC;CACF,CAAC,CAAA","sourcesContent":["import type { AiQuestionsRequest } from '@empathyco/x-types'\nimport type { PlatformAiQuestionsRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\n/**\n * Default implementation for the AiQuestionsRequestSchema.\n *\n * @public\n */\nexport const aiQuestionsRequestSchema = createMutableSchema<\n AiQuestionsRequest,\n PlatformAiQuestionsRequest\n>({\n context: ({ lang, query, extraParams }): PlatformAiQuestionsRequest['context'] => {\n const context: PlatformAiQuestionsRequest['context'] = { lang, query }\n if (extraParams && typeof extraParams === 'object') {\n if ('instance' in extraParams) {\n context.instance = (extraParams as { instance?: string }).instance\n }\n if ('filters' in extraParams) {\n context.filters = (extraParams as { filters?: Record<string, unknown> }).filters\n }\n }\n return context\n },\n})\n"]}
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.aiTasksRequestSchema = void 0;
|
|
4
4
|
const x_adapter_1 = require("@empathyco/x-adapter");
|
|
5
|
+
/**
|
|
6
|
+
* Default implementation for the AiTasksRequestSchema.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
5
10
|
exports.aiTasksRequestSchema = (0, x_adapter_1.createMutableSchema)({
|
|
6
11
|
taskId: 'taskId',
|
|
7
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/tasks-request.schema.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;
|
|
1
|
+
{"version":3,"file":"tasks-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/tasks-request.schema.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAE1D;;;;GAIG;AACU,QAAA,oBAAoB,GAAG,IAAA,+BAAmB,EAAyC;IAC9F,MAAM,EAAE,QAAQ;CACjB,CAAC,CAAA","sourcesContent":["import type { AiTasksRequest } from '@empathyco/x-types'\nimport type { PlatformAiTasksRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\n/**\n * Default implementation for the AiTasksRequestSchema.\n *\n * @public\n */\nexport const aiTasksRequestSchema = createMutableSchema<AiTasksRequest, PlatformAiTasksRequest>({\n taskId: 'taskId',\n})\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/questions-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiQuestionsResponse } from '@empathyco/x-types'\n\nexport interface PlatformAiQuestionsResponse extends AiQuestionsResponse {}\n"]}
|
|
1
|
+
{"version":3,"file":"questions-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/questions-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiQuestionsResponse } from '@empathyco/x-types'\n\n/**\n * Response for the `questions` endpoint.\n *\n * @public\n */\nexport interface PlatformAiQuestionsResponse extends AiQuestionsResponse {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/tasks-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiTasksResponse } from '@empathyco/x-types'\n\nexport interface PlatformAiTasksResponse extends AiTasksResponse {}\n"]}
|
|
1
|
+
{"version":3,"file":"tasks-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/tasks-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiTasksResponse } from '@empathyco/x-types'\n\n/**\n * Response for the `tasks` endpoint.\n *\n * @public\n */\nexport interface PlatformAiTasksResponse extends AiTasksResponse {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wCAAwC,CAAA;AACtD,cAAc,uCAAuC,CAAA;AACrD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qCAAqC,CAAA;AACnD,cAAc,sCAAsC,CAAA;AACpD,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2BAA2B,CAAA;AACzC,cAAc,qCAAqC,CAAA;AACnD,cAAc,4BAA4B,CAAA","sourcesContent":["export * from './ai/questions.endpoint-adapter'\nexport * from './experience-controls.endpoint-adapter'\nexport * from './identifier-results.endpoint-adapter'\nexport * from './next-queries.endpoint-adapter'\nexport * from './popular-searches.endpoint-adapter'\nexport * from './query-suggestions.endpoint-adapter'\nexport * from './recommendations.endpoint-adapter'\nexport * from './related-prompts.endpoint-adapter'\nexport * from './related-tags.endpoint-adapter'\nexport * from './search.endpoint-adapter'\nexport * from './semantic-queries.endpoint-adapter'\nexport * from './tagging.endpoint-adapter'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/endpoint-adapters/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wCAAwC,CAAA;AACtD,cAAc,uCAAuC,CAAA;AACrD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qCAAqC,CAAA;AACnD,cAAc,sCAAsC,CAAA;AACpD,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2BAA2B,CAAA;AACzC,cAAc,qCAAqC,CAAA;AACnD,cAAc,4BAA4B,CAAA","sourcesContent":["export * from './ai/questions.endpoint-adapter'\nexport * from './ai/tasks.endpoint-adapter'\nexport * from './experience-controls.endpoint-adapter'\nexport * from './identifier-results.endpoint-adapter'\nexport * from './next-queries.endpoint-adapter'\nexport * from './popular-searches.endpoint-adapter'\nexport * from './query-suggestions.endpoint-adapter'\nexport * from './recommendations.endpoint-adapter'\nexport * from './related-prompts.endpoint-adapter'\nexport * from './related-tags.endpoint-adapter'\nexport * from './search.endpoint-adapter'\nexport * from './semantic-queries.endpoint-adapter'\nexport * from './tagging.endpoint-adapter'\n"]}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { createMutableSchema } from '@empathyco/x-adapter';
|
|
2
|
+
/**
|
|
3
|
+
* Default implementation for the AiQuestionsRequestSchema.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
2
7
|
export const aiQuestionsRequestSchema = createMutableSchema({
|
|
3
8
|
context: ({ lang, query, extraParams }) => {
|
|
4
9
|
const context = { lang, query };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/questions-request.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CAGzD;IACA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,EAAyC,EAAE;QAC/E,MAAM,OAAO,GAA0C,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;QACtE,IAAI,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACnD,IAAI,UAAU,IAAI,WAAW,EAAE,CAAC;gBAC9B,OAAO,CAAC,QAAQ,GAAI,WAAqC,CAAC,QAAQ,CAAA;YACpE,CAAC;YACD,IAAI,SAAS,IAAI,WAAW,EAAE,CAAC;gBAC7B,OAAO,CAAC,OAAO,GAAI,WAAqD,CAAC,OAAO,CAAA;YAClF,CAAC;QACH,CAAC;QACD,OAAO,OAAO,CAAA;IAChB,CAAC;CACF,CAAC,CAAA","sourcesContent":["import type { AiQuestionsRequest } from '@empathyco/x-types'\nimport type { PlatformAiQuestionsRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\nexport const aiQuestionsRequestSchema = createMutableSchema<\n AiQuestionsRequest,\n PlatformAiQuestionsRequest\n>({\n context: ({ lang, query, extraParams }): PlatformAiQuestionsRequest['context'] => {\n const context: PlatformAiQuestionsRequest['context'] = { lang, query }\n if (extraParams && typeof extraParams === 'object') {\n if ('instance' in extraParams) {\n context.instance = (extraParams as { instance?: string }).instance\n }\n if ('filters' in extraParams) {\n context.filters = (extraParams as { filters?: Record<string, unknown> }).filters\n }\n }\n return context\n },\n})\n"]}
|
|
1
|
+
{"version":3,"file":"questions-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/questions-request.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CAGzD;IACA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,EAAyC,EAAE;QAC/E,MAAM,OAAO,GAA0C,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA;QACtE,IAAI,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACnD,IAAI,UAAU,IAAI,WAAW,EAAE,CAAC;gBAC9B,OAAO,CAAC,QAAQ,GAAI,WAAqC,CAAC,QAAQ,CAAA;YACpE,CAAC;YACD,IAAI,SAAS,IAAI,WAAW,EAAE,CAAC;gBAC7B,OAAO,CAAC,OAAO,GAAI,WAAqD,CAAC,OAAO,CAAA;YAClF,CAAC;QACH,CAAC;QACD,OAAO,OAAO,CAAA;IAChB,CAAC;CACF,CAAC,CAAA","sourcesContent":["import type { AiQuestionsRequest } from '@empathyco/x-types'\nimport type { PlatformAiQuestionsRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\n/**\n * Default implementation for the AiQuestionsRequestSchema.\n *\n * @public\n */\nexport const aiQuestionsRequestSchema = createMutableSchema<\n AiQuestionsRequest,\n PlatformAiQuestionsRequest\n>({\n context: ({ lang, query, extraParams }): PlatformAiQuestionsRequest['context'] => {\n const context: PlatformAiQuestionsRequest['context'] = { lang, query }\n if (extraParams && typeof extraParams === 'object') {\n if ('instance' in extraParams) {\n context.instance = (extraParams as { instance?: string }).instance\n }\n if ('filters' in extraParams) {\n context.filters = (extraParams as { filters?: Record<string, unknown> }).filters\n }\n }\n return context\n },\n})\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/tasks-request.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAyC;IAC9F,MAAM,EAAE,QAAQ;CACjB,CAAC,CAAA","sourcesContent":["import type { AiTasksRequest } from '@empathyco/x-types'\nimport type { PlatformAiTasksRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\nexport const aiTasksRequestSchema = createMutableSchema<AiTasksRequest, PlatformAiTasksRequest>({\n taskId: 'taskId',\n})\n"]}
|
|
1
|
+
{"version":3,"file":"tasks-request.schema.js","sourceRoot":"","sources":["../../../../../src/schemas/requests/ai/tasks-request.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE1D;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAyC;IAC9F,MAAM,EAAE,QAAQ;CACjB,CAAC,CAAA","sourcesContent":["import type { AiTasksRequest } from '@empathyco/x-types'\nimport type { PlatformAiTasksRequest } from '../../../types'\nimport { createMutableSchema } from '@empathyco/x-adapter'\n\n/**\n * Default implementation for the AiTasksRequestSchema.\n *\n * @public\n */\nexport const aiTasksRequestSchema = createMutableSchema<AiTasksRequest, PlatformAiTasksRequest>({\n taskId: 'taskId',\n})\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questions-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/questions-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiQuestionsResponse } from '@empathyco/x-types'\n\nexport interface PlatformAiQuestionsResponse extends AiQuestionsResponse {}\n"]}
|
|
1
|
+
{"version":3,"file":"questions-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/questions-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiQuestionsResponse } from '@empathyco/x-types'\n\n/**\n * Response for the `questions` endpoint.\n *\n * @public\n */\nexport interface PlatformAiQuestionsResponse extends AiQuestionsResponse {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/tasks-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiTasksResponse } from '@empathyco/x-types'\n\nexport interface PlatformAiTasksResponse extends AiTasksResponse {}\n"]}
|
|
1
|
+
{"version":3,"file":"tasks-response.model.js","sourceRoot":"","sources":["../../../../../src/types/responses/ai/tasks-response.model.ts"],"names":[],"mappings":"","sourcesContent":["import type { AiTasksResponse } from '@empathyco/x-types'\n\n/**\n * Response for the `tasks` endpoint.\n *\n * @public\n */\nexport interface PlatformAiTasksResponse extends AiTasksResponse {}\n"]}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { AiQuestionsRequest } from '@empathyco/x-types';
|
|
2
2
|
import type { PlatformAiQuestionsRequest } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Default implementation for the AiQuestionsRequestSchema.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
3
8
|
export declare const aiQuestionsRequestSchema: import("@empathyco/x-adapter").MutableSchema<AiQuestionsRequest, PlatformAiQuestionsRequest>;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { AiTasksRequest } from '@empathyco/x-types';
|
|
2
2
|
import type { PlatformAiTasksRequest } from '../../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Default implementation for the AiTasksRequestSchema.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
3
8
|
export declare const aiTasksRequestSchema: import("@empathyco/x-adapter").MutableSchema<AiTasksRequest, PlatformAiTasksRequest>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-adapter-platform",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.28",
|
|
4
4
|
"description": "A search client for the Empathy Platform API",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@empathyco/x-adapter": "^8.1.0-alpha.8",
|
|
49
|
-
"@empathyco/x-types": "^10.1.0-alpha.
|
|
49
|
+
"@empathyco/x-types": "^10.1.0-alpha.21",
|
|
50
50
|
"@empathyco/x-utils": "^1.0.3-alpha.8",
|
|
51
51
|
"tslib": "~2.6.0"
|
|
52
52
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "0d9099be569bdf5e21a8cdd0038251299b4e97fd"
|
|
67
67
|
}
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
{
|
|
276
276
|
"kind": "Variable",
|
|
277
277
|
"canonicalReference": "@empathyco/x-adapter-platform!aiQuestionsRequestSchema:var",
|
|
278
|
-
"docComment": "",
|
|
278
|
+
"docComment": "/**\n * Default implementation for the AiQuestionsRequestSchema.\n *\n * @public\n */\n",
|
|
279
279
|
"excerptTokens": [
|
|
280
280
|
{
|
|
281
281
|
"kind": "Content",
|
|
@@ -472,6 +472,56 @@
|
|
|
472
472
|
"endIndex": 8
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
|
+
{
|
|
476
|
+
"kind": "Variable",
|
|
477
|
+
"canonicalReference": "@empathyco/x-adapter-platform!aiTasksEndpointAdapter:var",
|
|
478
|
+
"docComment": "/**\n * Default adapter for the questions v1 endpoint.\n *\n * @public\n */\n",
|
|
479
|
+
"excerptTokens": [
|
|
480
|
+
{
|
|
481
|
+
"kind": "Content",
|
|
482
|
+
"text": "aiTasksEndpointAdapter: "
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"kind": "Content",
|
|
486
|
+
"text": "import(\"@empathyco/x-adapter\")."
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "Reference",
|
|
490
|
+
"text": "ExtendableEndpointAdapter",
|
|
491
|
+
"canonicalReference": "@empathyco/x-adapter!ExtendableEndpointAdapter:interface"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"kind": "Content",
|
|
495
|
+
"text": "<"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"kind": "Reference",
|
|
499
|
+
"text": "AiTasksRequest",
|
|
500
|
+
"canonicalReference": "@empathyco/x-adapter-platform!AiTasksRequest:interface"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"kind": "Content",
|
|
504
|
+
"text": ", "
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "Reference",
|
|
508
|
+
"text": "AiTasksResponse",
|
|
509
|
+
"canonicalReference": "@empathyco/x-adapter-platform!AiTasksResponse:interface"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"kind": "Content",
|
|
513
|
+
"text": ">"
|
|
514
|
+
}
|
|
515
|
+
],
|
|
516
|
+
"fileUrlPath": "dist/types/endpoint-adapters/ai/tasks.endpoint-adapter.d.ts",
|
|
517
|
+
"isReadonly": true,
|
|
518
|
+
"releaseTag": "Public",
|
|
519
|
+
"name": "aiTasksEndpointAdapter",
|
|
520
|
+
"variableTypeTokenRange": {
|
|
521
|
+
"startIndex": 1,
|
|
522
|
+
"endIndex": 8
|
|
523
|
+
}
|
|
524
|
+
},
|
|
475
525
|
{
|
|
476
526
|
"kind": "Variable",
|
|
477
527
|
"canonicalReference": "@empathyco/x-adapter-platform!aiTasksRequestMapper:var",
|
|
@@ -525,7 +575,7 @@
|
|
|
525
575
|
{
|
|
526
576
|
"kind": "Variable",
|
|
527
577
|
"canonicalReference": "@empathyco/x-adapter-platform!aiTasksRequestSchema:var",
|
|
528
|
-
"docComment": "",
|
|
578
|
+
"docComment": "/**\n * Default implementation for the AiTasksRequestSchema.\n *\n * @public\n */\n",
|
|
529
579
|
"excerptTokens": [
|
|
530
580
|
{
|
|
531
581
|
"kind": "Content",
|
|
@@ -2861,7 +2911,7 @@
|
|
|
2861
2911
|
{
|
|
2862
2912
|
"kind": "Interface",
|
|
2863
2913
|
"canonicalReference": "@empathyco/x-adapter-platform!PlatformAiQuestionsResponse:interface",
|
|
2864
|
-
"docComment": "",
|
|
2914
|
+
"docComment": "/**\n * Response for the `questions` endpoint.\n *\n * @public\n */\n",
|
|
2865
2915
|
"excerptTokens": [
|
|
2866
2916
|
{
|
|
2867
2917
|
"kind": "Content",
|
|
@@ -2937,7 +2987,7 @@
|
|
|
2937
2987
|
{
|
|
2938
2988
|
"kind": "Interface",
|
|
2939
2989
|
"canonicalReference": "@empathyco/x-adapter-platform!PlatformAiTasksResponse:interface",
|
|
2940
|
-
"docComment": "",
|
|
2990
|
+
"docComment": "/**\n * Response for the `tasks` endpoint.\n *\n * @public\n */\n",
|
|
2941
2991
|
"excerptTokens": [
|
|
2942
2992
|
{
|
|
2943
2993
|
"kind": "Content",
|
|
@@ -40,7 +40,7 @@ export const aiQuestionsEndpointAdapter: ExtendableEndpointAdapter<AiQuestionsRe
|
|
|
40
40
|
// @public
|
|
41
41
|
export const aiQuestionsRequestMapper: Mapper<AiQuestionsRequest, PlatformAiQuestionsRequest>;
|
|
42
42
|
|
|
43
|
-
// @public
|
|
43
|
+
// @public
|
|
44
44
|
export const aiQuestionsRequestSchema: MutableSchema<AiQuestionsRequest, PlatformAiQuestionsRequest>;
|
|
45
45
|
|
|
46
46
|
// @public
|
|
@@ -53,15 +53,17 @@ export const aiQuestionsResponseSchema: MutableSchema<PlatformAiQuestionsRespons
|
|
|
53
53
|
export const aiQuestionsSchema: MutableSchema<PlatformAiQuestionsResponse, AiQuestionsResponse>;
|
|
54
54
|
|
|
55
55
|
// Warning: (ae-forgotten-export) The symbol "AiTasksRequest" needs to be exported by the entry point index.d.ts
|
|
56
|
+
// Warning: (ae-forgotten-export) The symbol "AiTasksResponse" needs to be exported by the entry point index.d.ts
|
|
56
57
|
//
|
|
58
|
+
// @public
|
|
59
|
+
export const aiTasksEndpointAdapter: ExtendableEndpointAdapter<AiTasksRequest, AiTasksResponse>;
|
|
60
|
+
|
|
57
61
|
// @public
|
|
58
62
|
export const aiTasksRequestMapper: Mapper<AiTasksRequest, PlatformAiTasksRequest>;
|
|
59
63
|
|
|
60
|
-
// @public
|
|
64
|
+
// @public
|
|
61
65
|
export const aiTasksRequestSchema: MutableSchema<AiTasksRequest, PlatformAiTasksRequest>;
|
|
62
66
|
|
|
63
|
-
// Warning: (ae-forgotten-export) The symbol "AiTasksResponse" needs to be exported by the entry point index.d.ts
|
|
64
|
-
//
|
|
65
67
|
// @public
|
|
66
68
|
export const aiTasksResponseMapper: Mapper<PlatformAiTasksResponse, AiTasksResponse>;
|
|
67
69
|
|
|
@@ -257,7 +259,7 @@ export interface PlatformAiQuestionsRequest {
|
|
|
257
259
|
};
|
|
258
260
|
}
|
|
259
261
|
|
|
260
|
-
// @public
|
|
262
|
+
// @public
|
|
261
263
|
export interface PlatformAiQuestionsResponse extends AiQuestionsResponse {
|
|
262
264
|
}
|
|
263
265
|
|
|
@@ -267,7 +269,7 @@ export interface PlatformAiTasksRequest {
|
|
|
267
269
|
taskId: string;
|
|
268
270
|
}
|
|
269
271
|
|
|
270
|
-
// @public
|
|
272
|
+
// @public
|
|
271
273
|
export interface PlatformAiTasksResponse extends AiTasksResponse {
|
|
272
274
|
}
|
|
273
275
|
|