@salesforce/lds-adapters-industries-nlpservice 1.320.0 → 1.321.0

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.
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "49f120efb5f31f545db6f9bcd90deb93";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ComplianceClauseStructRepresentation, existing: ComplianceClauseStructRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ComplianceClauseStructRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ComplianceClauseStructRepresentationNormalized, incoming: ComplianceClauseStructRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ComplianceClauseStructRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Details of a Clause
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ComplianceClauseStructRepresentationNormalized {
17
+ /** The name of the Clause */
18
+ clauseName: string;
19
+ /** The text in the Clause */
20
+ clauseText: string;
21
+ }
22
+ /**
23
+ * Details of a Clause
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ComplianceClauseStructRepresentation {
29
+ clauseName: string;
30
+ clauseText: string;
31
+ }
@@ -0,0 +1,32 @@
1
+ import { ComplianceClauseStructRepresentation as ComplianceClauseStructRepresentation_ComplianceClauseStructRepresentation } from './ComplianceClauseStructRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "b2dec0281061c3a53c87cfa76113a973";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: OpenAIComplianceClauseRepresentation, existing: OpenAIComplianceClauseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OpenAIComplianceClauseRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: OpenAIComplianceClauseRepresentationNormalized, incoming: OpenAIComplianceClauseRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: OpenAIComplianceClauseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Represents clause results fetched from OpenAI
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface OpenAIComplianceClauseRepresentationNormalized {
18
+ /** Represents a list of clauses */
19
+ clauseResults: Array<ComplianceClauseStructRepresentation_ComplianceClauseStructRepresentation>;
20
+ /** Represents total number of clauses */
21
+ totalResults: number;
22
+ }
23
+ /**
24
+ * Represents clause results fetched from OpenAI
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface OpenAIComplianceClauseRepresentation {
30
+ clauseResults: Array<ComplianceClauseStructRepresentation_ComplianceClauseStructRepresentation>;
31
+ totalResults: number;
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-nlpservice",
3
- "version": "1.320.0",
3
+ "version": "1.321.0",
4
4
  "description": "Ai Natural Language Processing Service",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-nlpservice.js",
@@ -42,11 +42,11 @@
42
42
  "test": "nx build:karma && karma start --single-run"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.320.0"
45
+ "@salesforce/lds-bindings": "^1.321.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.320.0",
49
- "@salesforce/lds-karma": "^1.320.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.321.0",
49
+ "@salesforce/lds-karma": "^1.321.0"
50
50
  },
51
51
  "nx": {
52
52
  "targets": {
package/sfdc/index.js CHANGED
@@ -941,4 +941,4 @@ withDefaultLuvio((luvio) => {
941
941
  });
942
942
 
943
943
  export { createAINaturalLangProcessResult, getAINaturalLangProcessResultsByReferenceRecordId, getAINaturalLangProcessResultsByReferenceRecordId_imperative, getAINaturalLangProcessResultsBySourceId, getAINaturalLangProcessResultsBySourceId_imperative };
944
- // version: 1.320.0-e3e5f3d984
944
+ // version: 1.321.0-40847d67a8
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '59.0'
5
+ version: '63.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -92,6 +92,7 @@ types:
92
92
  - IndustriesFilebasedQuestionAnswer
93
93
  - OpenAIClauseExtraction
94
94
  - OpenAIClauseGeneration
95
+ - OpenAIComplianceClauseExtraction
95
96
  - OpenAIEntityExtraction
96
97
  - OpenAISurveyGeneration
97
98
  - OpenAITranslation
@@ -207,6 +208,16 @@ types:
207
208
  clauseText:
208
209
  description: The text in the Clause
209
210
  type: string
211
+ ComplianceClauseStructRepresentation:
212
+ description: Details of a Clause
213
+ type: object
214
+ properties:
215
+ clauseName:
216
+ description: The name of the Clause
217
+ type: string
218
+ clauseText:
219
+ description: The text in the Clause
220
+ type: string
210
221
  EntityStructRepresentation:
211
222
  description: Details of an entity
212
223
  type: object
@@ -241,6 +252,18 @@ types:
241
252
  totalResults:
242
253
  description: Represents total number of clauses
243
254
  type: integer
255
+ OpenAIComplianceClauseRepresentation:
256
+ description: Represents clause results fetched from OpenAI
257
+ type: object
258
+ properties:
259
+ clauseResults:
260
+ description: Represents a list of clauses
261
+ type: array
262
+ items:
263
+ type: ComplianceClauseStructRepresentation
264
+ totalResults:
265
+ description: Represents total number of clauses
266
+ type: integer
244
267
  OpenAISurveyGenerationRepresentation:
245
268
  description: Represents survey generationr results from OpenAI
246
269
  properties:
@@ -336,6 +359,7 @@ types:
336
359
  - IndustriesFilebasedQuestionAnswer
337
360
  - OpenAIClauseExtraction
338
361
  - OpenAIClauseGeneration
362
+ - OpenAIComplianceClauseExtraction
339
363
  - OpenAIEntityExtraction
340
364
  - OpenAISurveyGeneration
341
365
  - OpenAITranslation
@@ -369,6 +393,7 @@ types:
369
393
  - IndustriesFilebasedQuestionAnswer
370
394
  - OpenAIClauseExtraction
371
395
  - OpenAIClauseGeneration
396
+ - OpenAIComplianceClauseExtraction
372
397
  - OpenAIEntityExtraction
373
398
  - OpenAISurveyGeneration
374
399
  - OpenAITranslation