@coveo/platform-client 35.0.1 → 35.2.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.
- package/README.md +35 -0
- package/dist/Entry.js +3 -1
- package/dist/Entry.js.map +1 -1
- package/dist/definitions/Entry.d.ts +1 -1
- package/dist/definitions/resources/Activities/Activities.d.ts +4 -4
- package/dist/definitions/resources/Activities/ActivitiesInterfaces.d.ts +15 -1
- package/dist/definitions/resources/Activities/index.d.ts +2 -0
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +36 -1
- package/dist/definitions/resources/index.d.ts +2 -0
- package/dist/resources/Activities/Activities.js +6 -7
- package/dist/resources/Activities/Activities.js.map +1 -1
- package/dist/resources/Activities/index.js +6 -0
- package/dist/resources/Activities/index.js.map +1 -0
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js +11 -1
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
- package/dist/resources/index.js +4 -0
- package/dist/resources/index.js.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -226,6 +226,41 @@ const notifyOnError = (message) => (currentOptions) => ({
|
|
|
226
226
|
platform.withFeatures(notifyOnSuccess('It worked!'), notifyOnError('It failed!')).field.delete('unwanted-field-id');
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
+
### Extending the client
|
|
230
|
+
|
|
231
|
+
In cases where you want to expand the standard capabilities of the platform client with internal or experimental resources, you can do so within the scope of your own project by extending the `PlatformClient` class.
|
|
232
|
+
|
|
233
|
+
```ts
|
|
234
|
+
import {API, PlatformClient, PlatformClientOptions, Resource} from '@coveo/platform-client';
|
|
235
|
+
|
|
236
|
+
class Something extends Resource {
|
|
237
|
+
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/something`;
|
|
238
|
+
|
|
239
|
+
list() {
|
|
240
|
+
this.api.get(Something.baseUrl);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
const experimentalResources: Array<{key: string; resource: typeof Resource}> = [
|
|
245
|
+
{key: 'something', resource: Something},
|
|
246
|
+
];
|
|
247
|
+
|
|
248
|
+
class ExperimentalPlatformClient extends PlatformClient {
|
|
249
|
+
something: Something;
|
|
250
|
+
|
|
251
|
+
constructor(options: PlatformClientOptions) {
|
|
252
|
+
super(options);
|
|
253
|
+
|
|
254
|
+
experimentalResources.forEach(({key, resource}) => {
|
|
255
|
+
this[key] = new resource(this.API, this.ServerlessAPI);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// usage
|
|
261
|
+
ExperimentalPlatformClient.something.list();
|
|
262
|
+
```
|
|
263
|
+
|
|
229
264
|
## Contributing
|
|
230
265
|
|
|
231
266
|
### Guidelines
|
package/dist/Entry.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.API = void 0;
|
|
3
4
|
var tslib_1 = require("tslib");
|
|
4
5
|
var PlatformClient_1 = tslib_1.__importDefault(require("./PlatformClient"));
|
|
5
6
|
tslib_1.__exportStar(require("./PlatformClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ConfigurationInterfaces"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./APICore"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./handlers"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./resources"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./utils"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./Endpoints"), exports);
|
|
12
|
+
var APICore_1 = require("./APICore");
|
|
13
|
+
Object.defineProperty(exports, "API", { enumerable: true, get: function () { return tslib_1.__importDefault(APICore_1).default; } });
|
|
12
14
|
exports.default = PlatformClient_1.default;
|
|
13
15
|
//# sourceMappingURL=Entry.js.map
|
package/dist/Entry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Entry.js","sourceRoot":"","sources":["../src/Entry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Entry.js","sourceRoot":"","sources":["../src/Entry.ts"],"names":[],"mappings":";;;;AAAA,4EAA8C;AAE9C,2DAAiC;AACjC,oEAA0C;AAC1C,qDAA2B;AAC3B,sDAA4B;AAC5B,kDAAwB;AACxB,sDAA4B;AAE5B,qCAAyC;AAAjC,uHAAA,OAAO,OAAO;AACtB,kBAAe,wBAAc,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import PlatformClient from './PlatformClient';
|
|
2
2
|
export * from './PlatformClient';
|
|
3
3
|
export * from './ConfigurationInterfaces';
|
|
4
|
-
export * from './APICore';
|
|
5
4
|
export * from './handlers';
|
|
6
5
|
export * from './resources';
|
|
7
6
|
export * from './utils';
|
|
8
7
|
export * from './Endpoints';
|
|
8
|
+
export { default as API } from './APICore';
|
|
9
9
|
export default PlatformClient;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { PageModel } from '../BaseInterfaces';
|
|
2
2
|
import Resource from '../Resource';
|
|
3
|
-
import { ActivityModel, ListActivitiesParams, ActivityFacetModel } from './ActivitiesInterfaces';
|
|
3
|
+
import { ActivityModel, ListActivitiesParams, ListActivitiesFacetsParams, ActivityFacetModel, ActivityListingFilters } from './ActivitiesInterfaces';
|
|
4
4
|
export default class Activity extends Resource {
|
|
5
5
|
static getBaseUrl: () => string;
|
|
6
6
|
get(activityId: string): Promise<ActivityModel>;
|
|
7
7
|
getResourceTypes(): Promise<string[]>;
|
|
8
|
-
list(params?: ListActivitiesParams): Promise<PageModel<ActivityModel, "items">>;
|
|
9
|
-
listFacets(params?:
|
|
10
|
-
|
|
8
|
+
list(params?: ListActivitiesParams, activityFacet?: ActivityListingFilters): Promise<PageModel<ActivityModel, "items">>;
|
|
9
|
+
listFacets(params?: ListActivitiesFacetsParams, activityFacet?: ActivityListingFilters): Promise<ActivityFacetModel>;
|
|
10
|
+
abortActivity(activityId: string, abortActivityModel: ActivityModel): Promise<Record<string, unknown>>;
|
|
11
11
|
}
|
|
@@ -26,11 +26,25 @@ export interface ActivityModel {
|
|
|
26
26
|
isInitialBuild?: boolean;
|
|
27
27
|
showOrgCol?: boolean;
|
|
28
28
|
}
|
|
29
|
+
export interface ListActivitiesFacetsParams {
|
|
30
|
+
from?: string;
|
|
31
|
+
to?: string;
|
|
32
|
+
}
|
|
29
33
|
export interface ListActivitiesParams extends Paginated {
|
|
30
|
-
|
|
34
|
+
from?: string;
|
|
35
|
+
to?: string;
|
|
36
|
+
page?: number;
|
|
37
|
+
perPage?: number;
|
|
31
38
|
}
|
|
32
39
|
export interface ActivityListingFilters {
|
|
33
40
|
facet?: FacetOrSortStatus;
|
|
41
|
+
operations?: string[];
|
|
42
|
+
organizationIds?: string[];
|
|
43
|
+
resourceIds?: string[];
|
|
44
|
+
resourceTypes?: string[];
|
|
45
|
+
resultTypes?: string[];
|
|
46
|
+
sections?: string[];
|
|
47
|
+
states?: string[];
|
|
34
48
|
}
|
|
35
49
|
export interface TriggeredByAttributes {
|
|
36
50
|
type: string;
|
|
@@ -79,7 +79,8 @@ export declare enum ResourceSnapshotsReportResultCode {
|
|
|
79
79
|
NoResourceRetrieved = "NO_RESOURCE_RETRIEVED",
|
|
80
80
|
UnableToRetrieveResources = "UNABLE_TO_RETRIEVE_RESOURCES",
|
|
81
81
|
ResourceDependencyCyle = "RESOURCE_DEPENDENCY_CYCLE",
|
|
82
|
-
ExternalServiceCommunicationError = "EXTERNAL_SERVICE_COMMUNICATION_ERROR"
|
|
82
|
+
ExternalServiceCommunicationError = "EXTERNAL_SERVICE_COMMUNICATION_ERROR",
|
|
83
|
+
AutoSynchronizationFailure = "AUTO_SYNCHRONIZATION_FAILURE"
|
|
83
84
|
}
|
|
84
85
|
export declare enum ResourceSnapshotsReportStatus {
|
|
85
86
|
Pending = "PENDING",
|
|
@@ -144,7 +145,33 @@ export interface ResourceSnapshotsReportOperationResult {
|
|
|
144
145
|
message: string;
|
|
145
146
|
}
|
|
146
147
|
export declare type ResourceSnapshotsReportOperationResults = Record<string, ResourceSnapshotsReportOperationResult[]>;
|
|
148
|
+
export declare enum SnapshotsReportStages {
|
|
149
|
+
COMPUTING_OPERATIONS = "COMPUTING_OPERATIONS",
|
|
150
|
+
CREATING_SNAPSHOT = "CREATING_SNAPSHOT",
|
|
151
|
+
INITIAL_PROCESSING = "INITIAL_PROCESSING",
|
|
152
|
+
PERFORMING_OPERATIONS = "PERFORMING_OPERATIONS",
|
|
153
|
+
SYNCHRONIZING = "SYNCHRONIZING",
|
|
154
|
+
VALIDATING_OPERATIONS = "VALIDATING_OPERATIONS"
|
|
155
|
+
}
|
|
147
156
|
export interface ResourceSnapshotsReportModel {
|
|
157
|
+
/**
|
|
158
|
+
* Current stage of the report
|
|
159
|
+
*/
|
|
160
|
+
currentStage?: {
|
|
161
|
+
/**
|
|
162
|
+
* The progress type of the current step
|
|
163
|
+
*/
|
|
164
|
+
progressType: 'BINARY' | 'PERCENTAGE';
|
|
165
|
+
/**
|
|
166
|
+
* The progress value of the current step
|
|
167
|
+
* The value can be percentage type (from 0 to 100) binary type (0 or 1)
|
|
168
|
+
*/
|
|
169
|
+
progressValue: number;
|
|
170
|
+
/**
|
|
171
|
+
* Current step name
|
|
172
|
+
*/
|
|
173
|
+
stage: SnapshotsReportStages;
|
|
174
|
+
};
|
|
148
175
|
/**
|
|
149
176
|
* The unique identifier of the report.
|
|
150
177
|
*/
|
|
@@ -165,6 +192,14 @@ export interface ResourceSnapshotsReportModel {
|
|
|
165
192
|
* The result code of the snapshot event, if applicable.
|
|
166
193
|
*/
|
|
167
194
|
resultCode: ResourceSnapshotsReportResultCode;
|
|
195
|
+
/**
|
|
196
|
+
* The ordered stages the migration operation has to go through in order to complete.
|
|
197
|
+
*/
|
|
198
|
+
stagesToExecute: SnapshotsReportStages[];
|
|
199
|
+
/**
|
|
200
|
+
* The start date ot the report in number of milliseconds since UNIX epoch.
|
|
201
|
+
*/
|
|
202
|
+
startDate: number;
|
|
168
203
|
/**
|
|
169
204
|
* The status of the snapshot.
|
|
170
205
|
*/
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
-
var Indexes_1 = tslib_1.__importDefault(require("../Indexes/Indexes"));
|
|
6
5
|
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
7
6
|
var Activity = /** @class */ (function (_super) {
|
|
8
7
|
tslib_1.__extends(Activity, _super);
|
|
@@ -15,14 +14,14 @@ var Activity = /** @class */ (function (_super) {
|
|
|
15
14
|
Activity.prototype.getResourceTypes = function () {
|
|
16
15
|
return this.api.get("".concat(Activity.getBaseUrl(), "/resourcetypes"));
|
|
17
16
|
};
|
|
18
|
-
Activity.prototype.list = function (params) {
|
|
19
|
-
return this.api.post(this.buildPath("".concat(
|
|
17
|
+
Activity.prototype.list = function (params, activityFacet) {
|
|
18
|
+
return this.api.post(this.buildPath("".concat(Activity.getBaseUrl(), "/public"), params), activityFacet);
|
|
20
19
|
};
|
|
21
|
-
Activity.prototype.listFacets = function (params) {
|
|
22
|
-
return this.api.post(this.buildPath("".concat(
|
|
20
|
+
Activity.prototype.listFacets = function (params, activityFacet) {
|
|
21
|
+
return this.api.post(this.buildPath("".concat(Activity.getBaseUrl(), "/facets/public"), params), activityFacet);
|
|
23
22
|
};
|
|
24
|
-
Activity.prototype.
|
|
25
|
-
return this.api.
|
|
23
|
+
Activity.prototype.abortActivity = function (activityId, abortActivityModel) {
|
|
24
|
+
return this.api.post("".concat(Activity.getBaseUrl(), "/").concat(activityId, "/abort"), abortActivityModel);
|
|
26
25
|
};
|
|
27
26
|
Activity.getBaseUrl = function () { return "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/activities"); };
|
|
28
27
|
return Activity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Activities.js","sourceRoot":"","sources":["../../../src/resources/Activities/Activities.ts"],"names":[],"mappings":";;;AAAA,kEAAgC;AAEhC,
|
|
1
|
+
{"version":3,"file":"Activities.js","sourceRoot":"","sources":["../../../src/resources/Activities/Activities.ts"],"names":[],"mappings":";;;AAAA,kEAAgC;AAEhC,iEAAmC;AASnC;IAAsC,oCAAQ;IAA9C;;IA2BA,CAAC;IAxBG,sBAAG,GAAH,UAAI,UAAkB;QAClB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAgB,UAAG,QAAQ,CAAC,UAAU,EAAE,cAAI,UAAU,CAAE,CAAC,CAAC;IACjF,CAAC;IACD,mCAAgB,GAAhB;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAW,UAAG,QAAQ,CAAC,UAAU,EAAE,mBAAgB,CAAC,CAAC;IAC5E,CAAC;IAED,uBAAI,GAAJ,UAAK,MAA6B,EAAE,aAAsC;QACtE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,IAAI,CAAC,SAAS,CAAC,UAAG,QAAQ,CAAC,UAAU,EAAE,YAAS,EAAE,MAAM,CAAC,EACzD,aAAa,CAChB,CAAC;IACN,CAAC;IAED,6BAAU,GAAV,UAAW,MAAmC,EAAE,aAAsC;QAClF,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,IAAI,CAAC,SAAS,CAAC,UAAG,QAAQ,CAAC,UAAU,EAAE,mBAAgB,EAAE,MAAM,CAAC,EAChE,aAAa,CAChB,CAAC;IACN,CAAC;IAED,gCAAa,GAAb,UAAc,UAAkB,EAAE,kBAAiC;QAC/D,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAG,QAAQ,CAAC,UAAU,EAAE,cAAI,UAAU,WAAQ,EAAE,kBAAkB,CAAC,CAAC;IAC7F,CAAC;IAzBM,mBAAU,GAAG,cAAM,OAAA,8BAAuB,iBAAG,CAAC,cAAc,gBAAa,EAAtD,CAAsD,CAAC;IA0BrF,eAAC;CAAA,AA3BD,CAAsC,kBAAQ,GA2B7C;kBA3BoB,QAAQ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Activities"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ActivitiesInterfaces"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Activities/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,iEAAuC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApplyOptionsDeletionScope = exports.ResourceSnapshotContentType = exports.ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotsReportType = exports.ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportResultCode = exports.SnapshotExportContentFormat = exports.SnapshotAccessType = exports.ResourceSnapshotType = void 0;
|
|
3
|
+
exports.ApplyOptionsDeletionScope = exports.SnapshotsReportStages = exports.ResourceSnapshotContentType = exports.ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotsReportType = exports.ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportResultCode = exports.SnapshotExportContentFormat = exports.SnapshotAccessType = exports.ResourceSnapshotType = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* 'Resource' is defined as anything uniquely identified on the platform's domain that can be created, updated or deleted
|
|
6
6
|
*/
|
|
@@ -47,6 +47,7 @@ var ResourceSnapshotsReportResultCode;
|
|
|
47
47
|
ResourceSnapshotsReportResultCode["UnableToRetrieveResources"] = "UNABLE_TO_RETRIEVE_RESOURCES";
|
|
48
48
|
ResourceSnapshotsReportResultCode["ResourceDependencyCyle"] = "RESOURCE_DEPENDENCY_CYCLE";
|
|
49
49
|
ResourceSnapshotsReportResultCode["ExternalServiceCommunicationError"] = "EXTERNAL_SERVICE_COMMUNICATION_ERROR";
|
|
50
|
+
ResourceSnapshotsReportResultCode["AutoSynchronizationFailure"] = "AUTO_SYNCHRONIZATION_FAILURE";
|
|
50
51
|
})(ResourceSnapshotsReportResultCode = exports.ResourceSnapshotsReportResultCode || (exports.ResourceSnapshotsReportResultCode = {}));
|
|
51
52
|
var ResourceSnapshotsReportStatus;
|
|
52
53
|
(function (ResourceSnapshotsReportStatus) {
|
|
@@ -79,6 +80,15 @@ var ResourceSnapshotContentType;
|
|
|
79
80
|
ResourceSnapshotContentType["PRIMARY"] = "PRIMARY";
|
|
80
81
|
ResourceSnapshotContentType["CURRENT_STATE"] = "CURRENT_STATE";
|
|
81
82
|
})(ResourceSnapshotContentType = exports.ResourceSnapshotContentType || (exports.ResourceSnapshotContentType = {}));
|
|
83
|
+
var SnapshotsReportStages;
|
|
84
|
+
(function (SnapshotsReportStages) {
|
|
85
|
+
SnapshotsReportStages["COMPUTING_OPERATIONS"] = "COMPUTING_OPERATIONS";
|
|
86
|
+
SnapshotsReportStages["CREATING_SNAPSHOT"] = "CREATING_SNAPSHOT";
|
|
87
|
+
SnapshotsReportStages["INITIAL_PROCESSING"] = "INITIAL_PROCESSING";
|
|
88
|
+
SnapshotsReportStages["PERFORMING_OPERATIONS"] = "PERFORMING_OPERATIONS";
|
|
89
|
+
SnapshotsReportStages["SYNCHRONIZING"] = "SYNCHRONIZING";
|
|
90
|
+
SnapshotsReportStages["VALIDATING_OPERATIONS"] = "VALIDATING_OPERATIONS";
|
|
91
|
+
})(SnapshotsReportStages = exports.SnapshotsReportStages || (exports.SnapshotsReportStages = {}));
|
|
82
92
|
var ApplyOptionsDeletionScope;
|
|
83
93
|
(function (ApplyOptionsDeletionScope) {
|
|
84
94
|
ApplyOptionsDeletionScope["AllManagedResources"] = "ALL_MANAGED_RESOURCES";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceSnapshotsInterfaces.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.ts"],"names":[],"mappings":";;;AA6CA;;GAEG;AACH,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC5B,+CAAuB,CAAA;IACvB,0DAAkC,CAAA;IAClC,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,4CAAoB,CAAA;IACpB,mEAA2C,CAAA;IAC3C,0DAAkC,CAAA;IAClC,wDAAgC,CAAA;IAChC,2EAAmD,CAAA;IACnD,gEAAwC,CAAA;IACxC,wDAAgC,CAAA;IAChC,kDAA0B,CAAA;IAC1B,8DAAsC,CAAA;IACtC,yCAAiB,CAAA;IACjB,8CAAsB,CAAA;IACtB,qDAA6B,CAAA;IAC7B,+CAAuB,CAAA;IACvB,2CAAmB,CAAA;AACvB,CAAC,EApBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAoB/B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,qCAAe,CAAA;AACnB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACnC,4CAAa,CAAA;IACb,8DAA+B,CAAA;AACnC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC;AAED,IAAY,
|
|
1
|
+
{"version":3,"file":"ResourceSnapshotsInterfaces.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.ts"],"names":[],"mappings":"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"}
|
package/dist/resources/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Resource = void 0;
|
|
3
4
|
var tslib_1 = require("tslib");
|
|
5
|
+
var Resource_1 = require("./Resource");
|
|
6
|
+
Object.defineProperty(exports, "Resource", { enumerable: true, get: function () { return tslib_1.__importDefault(Resource_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./Activities"), exports);
|
|
4
8
|
tslib_1.__exportStar(require("./ApiKeys"), exports);
|
|
5
9
|
tslib_1.__exportStar(require("./AWS"), exports);
|
|
6
10
|
tslib_1.__exportStar(require("./BaseInterfaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":";;;;AAAA,uCAA+C;AAAvC,6HAAA,OAAO,OAAY;AAE3B,uDAA6B;AAC7B,oDAA0B;AAC1B,gDAAsB;AACtB,2DAAiC;AACjC,8DAAoC;AACpC,qDAA2B;AAC3B,qDAA2B;AAC3B,yDAA+B;AAC/B,2DAAiC;AACjC,kDAAwB;AACxB,uDAA6B;AAC7B,mDAAyB;AACzB,mDAAyB;AACzB,yDAA+B;AAC/B,mDAAyB;AACzB,oDAA0B;AAC1B,iEAAuC;AACvC,gEAAsC;AACtC,mEAAyC;AACzC,oDAA0B;AAC1B,mDAAyB;AACzB,kDAAwB;AACxB,iDAAuB;AACvB,4DAAkC;AAClC,8DAAoC;AACpC,yDAA+B;AAC/B,0DAAgC;AAChC,+DAAqC;AACrC,sDAA4B;AAC5B,8DAAoC;AACpC,+DAAqC;AACrC,qDAA2B;AAC3B,oDAA0B;AAC1B,8DAAoC;AACpC,iDAAuB;AACvB,0DAAgC;AAChC,mDAAyB;AACzB,6DAAmC;AACnC,wDAA8B;AAC9B,+DAAqC;AACrC,0DAAgC;AAChC,oDAA0B;AAC1B,2DAAiC;AACjC,2DAAiC;AACjC,mDAAyB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/platform-client",
|
|
3
|
-
"version": "35.0
|
|
3
|
+
"version": "35.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/Entry.js",
|
|
6
6
|
"types": "dist/definitions/Entry.d.ts",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@commitlint/cli": "17.1.2",
|
|
28
28
|
"@commitlint/config-conventional": "17.1.0",
|
|
29
|
-
"@types/jest": "29.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "5.40.
|
|
31
|
-
"@typescript-eslint/parser": "5.40.
|
|
29
|
+
"@types/jest": "29.2.0",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "5.40.1",
|
|
31
|
+
"@typescript-eslint/parser": "5.40.1",
|
|
32
32
|
"abortcontroller-polyfill": "1.7.5",
|
|
33
33
|
"cz-conventional-changelog": "3.3.0",
|
|
34
34
|
"eslint": "8.25.0",
|
|
35
35
|
"eslint-config-prettier": "8.5.0",
|
|
36
36
|
"eslint-config-typescript": "3.0.0",
|
|
37
|
-
"eslint-plugin-jest": "27.1.
|
|
37
|
+
"eslint-plugin-jest": "27.1.2",
|
|
38
38
|
"eslint-plugin-prettier": "4.2.1",
|
|
39
39
|
"husky": "8.0.1",
|
|
40
|
-
"jest": "29.1
|
|
40
|
+
"jest": "29.2.1",
|
|
41
41
|
"jest-fetch-mock": "3.0.3",
|
|
42
42
|
"jest-runner-eslint": "1.1.0",
|
|
43
43
|
"lint-staged": "13.0.3",
|