@coveo/push-api-client 1.0.0 → 1.1.4
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 +41 -2
- package/dist/definitions/document.d.ts +1 -1
- package/dist/docs/.nojekyll +1 -0
- package/dist/docs/assets/highlight.css +71 -0
- package/dist/docs/assets/icons.css +1043 -0
- package/dist/docs/assets/{images/icons.png → icons.png} +0 -0
- package/dist/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- package/dist/docs/assets/main.js +52 -0
- package/dist/docs/assets/{js/search.js → search.js} +1 -1
- package/dist/docs/assets/style.css +1384 -0
- package/dist/docs/assets/{images/widgets.png → widgets.png} +0 -0
- package/dist/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- package/dist/docs/classes/AnySecurityIdentityBuilder.html +12 -0
- package/dist/docs/classes/DocumentBuilder.html +37 -0
- package/dist/docs/classes/GroupSecurityIdentityBuilder.html +10 -0
- package/dist/docs/classes/Source.html +34 -0
- package/dist/docs/classes/UserSecurityIdentityBuilder.html +10 -0
- package/dist/docs/classes/VirtualGroupSecurityIdentityBuilder.html +10 -0
- package/dist/docs/enums/Environment.html +1 -0
- package/dist/docs/enums/SourceVisibility.html +1 -0
- package/dist/docs/index.html +38 -156
- package/dist/docs/interfaces/BatchUpdateDocuments.html +1 -0
- package/dist/docs/interfaces/Document.html +67 -0
- package/dist/docs/interfaces/SecurityIdentity.html +22 -0
- package/dist/docs/interfaces/SecurityIdentityBuilder.html +3 -0
- package/dist/docs/modules.html +3 -240
- package/dist/documentBuilder.js +10 -5
- package/dist/documentBuilder.js.map +1 -1
- package/dist/documentBuilder.spec.js +34 -0
- package/dist/documentBuilder.spec.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/securityIdentityBuilder.js.map +1 -1
- package/dist/source.spec.js +1 -1
- package/dist/source.spec.js.map +1 -1
- package/package.json +20 -19
- package/CHANGELOG.md +0 -52
- package/dist/docs/assets/css/main.css +0 -2660
- package/dist/docs/assets/js/main.js +0 -248
- package/dist/docs/classes/anysecurityidentitybuilder.html +0 -297
- package/dist/docs/classes/documentbuilder.html +0 -949
- package/dist/docs/classes/groupsecurityidentitybuilder.html +0 -273
- package/dist/docs/classes/source.html +0 -897
- package/dist/docs/classes/usersecurityidentitybuilder.html +0 -273
- package/dist/docs/classes/virtualgroupsecurityidentitybuilder.html +0 -273
- package/dist/docs/enums/environment.html +0 -234
- package/dist/docs/enums/sourcevisibility.html +0 -220
- package/dist/docs/interfaces/batchupdatedocuments.html +0 -214
- package/dist/docs/interfaces/document.html +0 -518
- package/dist/docs/interfaces/securityidentity.html +0 -263
- package/dist/docs/interfaces/securityidentitybuilder.html +0 -223
@@ -80,6 +80,23 @@ describe('DocumentBuilder', () => {
|
|
80
80
|
]),
|
81
81
|
});
|
82
82
|
});
|
83
|
+
it('should marshal allowedPermissions in multiple #withAllowedPermissions', () => {
|
84
|
+
expect(docBuilder
|
85
|
+
.withAllowedPermissions(new securityIdentityBuilder_1.UserSecurityIdentityBuilder('bob@foo.com'))
|
86
|
+
.withAllowedPermissions(new securityIdentityBuilder_1.GroupSecurityIdentityBuilder('my_group'))
|
87
|
+
.marshal().permissions[0]).toMatchObject({
|
88
|
+
allowedPermissions: expect.arrayContaining([
|
89
|
+
expect.objectContaining({
|
90
|
+
identity: 'bob@foo.com',
|
91
|
+
identityType: 'USER',
|
92
|
+
}),
|
93
|
+
expect.objectContaining({
|
94
|
+
identity: 'my_group',
|
95
|
+
identityType: 'GROUP',
|
96
|
+
}),
|
97
|
+
]),
|
98
|
+
});
|
99
|
+
});
|
83
100
|
it('should marshal multiple allowedPermissions', () => {
|
84
101
|
expect(docBuilder
|
85
102
|
.withAllowedPermissions(new securityIdentityBuilder_1.UserSecurityIdentityBuilder(['bob@foo.com', 'sue@foo.com']))
|
@@ -99,6 +116,23 @@ describe('DocumentBuilder', () => {
|
|
99
116
|
]),
|
100
117
|
});
|
101
118
|
});
|
119
|
+
it('should marshal deniedPermissions in multiple #withDeniedPermissions', () => {
|
120
|
+
expect(docBuilder
|
121
|
+
.withDeniedPermissions(new securityIdentityBuilder_1.UserSecurityIdentityBuilder('bob@foo.com'))
|
122
|
+
.withDeniedPermissions(new securityIdentityBuilder_1.GroupSecurityIdentityBuilder('my_group'))
|
123
|
+
.marshal().permissions[0]).toMatchObject({
|
124
|
+
deniedPermissions: expect.arrayContaining([
|
125
|
+
expect.objectContaining({
|
126
|
+
identity: 'bob@foo.com',
|
127
|
+
identityType: 'USER',
|
128
|
+
}),
|
129
|
+
expect.objectContaining({
|
130
|
+
identity: 'my_group',
|
131
|
+
identityType: 'GROUP',
|
132
|
+
}),
|
133
|
+
]),
|
134
|
+
});
|
135
|
+
});
|
102
136
|
it('should marshal multiple deniedPermissions', () => {
|
103
137
|
expect(docBuilder
|
104
138
|
.withDeniedPermissions(new securityIdentityBuilder_1.UserSecurityIdentityBuilder(['bob@foo.com', 'sue@foo.com']))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"documentBuilder.spec.js","sourceRoot":"","sources":["../src/documentBuilder.spec.ts"],"names":[],"mappings":";;AAAA,uDAAkD;AAClD,
|
1
|
+
{"version":3,"file":"documentBuilder.spec.js","sourceRoot":"","sources":["../src/documentBuilder.spec.ts"],"names":[],"mappings":";;AAAA,uDAAkD;AAClD,uEAGmC;AAEnC,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,IAAI,UAA2B,CAAC;IAChC,UAAU,CAAC,GAAG,EAAE;QACd,UAAU,GAAG,IAAI,iCAAe,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC9B,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,EAAE,CAA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,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,GAAG,EAAE;QAC3E,MAAM,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,WAAY,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,IAAI,CACxE,CAAC,CACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DocumentBuilder = exports.SourceVisibility = exports.Environment = exports.Source = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
|
-
tslib_1.__exportStar(require("./document"), exports);
|
5
|
+
(0, tslib_1.__exportStar)(require("./document"), exports);
|
6
6
|
var source_1 = require("./source");
|
7
7
|
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return source_1.Source; } });
|
8
8
|
Object.defineProperty(exports, "Environment", { enumerable: true, get: function () { return source_1.Environment; } });
|
9
9
|
Object.defineProperty(exports, "SourceVisibility", { enumerable: true, get: function () { return source_1.SourceVisibility; } });
|
10
10
|
var documentBuilder_1 = require("./documentBuilder");
|
11
11
|
Object.defineProperty(exports, "DocumentBuilder", { enumerable: true, get: function () { return documentBuilder_1.DocumentBuilder; } });
|
12
|
-
tslib_1.__exportStar(require("./securityIdentityBuilder"), exports);
|
12
|
+
(0, tslib_1.__exportStar)(require("./securityIdentityBuilder"), exports);
|
13
13
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,0DAA2B;AAC3B,mCAKkB;AAJhB,gGAAA,MAAM,OAAA;AACN,qGAAA,WAAW,OAAA;AACX,0GAAA,gBAAgB,OAAA;AAGlB,qDAAkD;AAA1C,kHAAA,eAAe,OAAA;AACvB,yEAA0C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"securityIdentityBuilder.js","sourceRoot":"","sources":["../src/securityIdentityBuilder.ts"],"names":[],"mappings":";;;AASA;;;;;;;GAOG;AACH,MAAa,0BAA0B;IAErC;;;;;OAKG;IACH,YACE,YAAkC,EAClC,QAAgB,EAChB,gBAAyB;QAEzB,IAAI,CAAC,gBAAgB,GAAG;YACtB,YAAY;YACZ,QAAQ;YACR,gBAAgB;SACjB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACI,KAAK;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;CACF;AA3BD,gEA2BC;AAED;;;;;;GAMG;AACH,MAAa,2BAA2B;IACtC;;;;OAIG;IACH,YACU,IAAuB,EACvB,mBAA2B,yBAAyB;QADpD,SAAI,GAAJ,IAAI,CAAmB;QACvB,qBAAgB,GAAhB,gBAAgB,CAAoC;IAC3D,CAAC;IAEJ;;;OAGG;IACI,KAAK;QACV,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzB,IAAI,0BAA0B,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CACzE,CAAC;SACH;QACD,OAAO,IAAI,0BAA0B,CACnC,MAAM,EACN,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,gBAAgB,CACtB,CAAC,KAAK,EAAE,CAAC;IACZ,CAAC;CACF;AA3BD,kEA2BC;AAED;;;;;;GAMG;AACH,MAAa,4BAA4B;IACvC;;;;OAIG;IACH,YACU,KAAwB,EACxB,gBAAyB;QADzB,UAAK,GAAL,KAAK,CAAmB;QACxB,qBAAgB,GAAhB,gBAAgB,CAAS;IAChC,CAAC;IAEJ;;;OAGG;IACI,KAAK;QACV,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAC1B,IAAI,0BAA0B,CAC5B,OAAO,EACP,CAAC,EACD,IAAI,CAAC,gBAAgB,CACtB,CAAC,KAAK,EAAE,CACV,CAAC;SACH;QACD,OAAO,IAAI,0BAA0B,CACnC,OAAO,EACP,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,gBAAgB,CACtB,CAAC,KAAK,EAAE,CAAC;IACZ,CAAC;CACF;AA/BD,oEA+BC;AACD;;;;;;GAMG;AACH,MAAa,mCAAmC;
|
1
|
+
{"version":3,"file":"securityIdentityBuilder.js","sourceRoot":"","sources":["../src/securityIdentityBuilder.ts"],"names":[],"mappings":";;;AASA;;;;;;;GAOG;AACH,MAAa,0BAA0B;IAErC;;;;;OAKG;IACH,YACE,YAAkC,EAClC,QAAgB,EAChB,gBAAyB;QAEzB,IAAI,CAAC,gBAAgB,GAAG;YACtB,YAAY;YACZ,QAAQ;YACR,gBAAgB;SACjB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACI,KAAK;QACV,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;CACF;AA3BD,gEA2BC;AAED;;;;;;GAMG;AACH,MAAa,2BAA2B;IACtC;;;;OAIG;IACH,YACU,IAAuB,EACvB,mBAA2B,yBAAyB;QADpD,SAAI,GAAJ,IAAI,CAAmB;QACvB,qBAAgB,GAAhB,gBAAgB,CAAoC;IAC3D,CAAC;IAEJ;;;OAGG;IACI,KAAK;QACV,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzB,IAAI,0BAA0B,CAAC,MAAM,EAAE,CAAC,EAAE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;SACH;QACD,OAAO,IAAI,0BAA0B,CACnC,eAAe,EACf,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,gBAAgB,CACtB,CAAC,KAAK,EAAE,CAAC;IACZ,CAAC;CACF;AAjCD,kFAiCC"}
|
package/dist/source.spec.js
CHANGED
@@ -9,7 +9,7 @@ const utils_1 = require("ts-jest/utils");
|
|
9
9
|
const documentBuilder_1 = require("./documentBuilder");
|
10
10
|
const axios_1 = require("axios");
|
11
11
|
const mockAxios = axios_1.default;
|
12
|
-
const mockedPlatformClient = utils_1.mocked(platform_client_1.default);
|
12
|
+
const mockedPlatformClient = (0, utils_1.mocked)(platform_client_1.default);
|
13
13
|
const mockCreate = jest.fn();
|
14
14
|
mockedPlatformClient.mockImplementation(() => ({
|
15
15
|
source: {
|
package/dist/source.spec.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"source.spec.js","sourceRoot":"","sources":["../src/source.spec.ts"],"names":[],"mappings":";;AAAA,+CAA+C;AAC/C,IAAI,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AACtC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACnB,8DAA0E;AAC1E,qCAAsD;AACtD,yCAAqC;AACrC,uDAAkD;AAClD,iCAA0B;AAC1B,MAAM,SAAS,GAAG,eAAkC,CAAC;AAErD,MAAM,oBAAoB,GAAG,cAAM,
|
1
|
+
{"version":3,"file":"source.spec.js","sourceRoot":"","sources":["../src/source.spec.ts"],"names":[],"mappings":";;AAAA,+CAA+C;AAC/C,IAAI,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;AACtC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACnB,8DAA0E;AAC1E,qCAAsD;AACtD,yCAAqC;AACrC,uDAAkD;AAClD,iCAA0B;AAC1B,MAAM,SAAS,GAAG,eAAkC,CAAC;AAErD,MAAM,oBAAoB,GAAG,IAAA,cAAM,EAAC,yBAAc,CAAC,CAAC;A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
+
"version": "1.1.4",
|
4
4
|
"description": "Push API client",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"files": [
|
@@ -9,30 +9,30 @@
|
|
9
9
|
"type": "commonjs",
|
10
10
|
"types": "./dist/definitions/index.d.ts",
|
11
11
|
"dependencies": {
|
12
|
-
"@coveord/platform-client": "^
|
12
|
+
"@coveord/platform-client": "^25.0.0",
|
13
13
|
"abortcontroller-polyfill": "^1.7.1",
|
14
14
|
"axios": "^0.21.1",
|
15
15
|
"dayjs": "^1.10.4",
|
16
16
|
"isomorphic-fetch": "^3.0.0"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@types/jest": "
|
20
|
-
"@types/node": "
|
21
|
-
"cz-conventional-changelog": "
|
22
|
-
"dotenv": "
|
23
|
-
"eslint": "
|
24
|
-
"eslint-config-prettier": "
|
25
|
-
"gts": "
|
26
|
-
"husky": "
|
27
|
-
"jest": "
|
28
|
-
"lint-staged": "
|
29
|
-
"nodemon": "
|
30
|
-
"prettier": "
|
31
|
-
"standard-version": "
|
32
|
-
"ts-jest": "
|
33
|
-
"ts-node": "
|
34
|
-
"typedoc": "
|
35
|
-
"typescript": "
|
19
|
+
"@types/jest": "27.0.2",
|
20
|
+
"@types/node": "16.10.2",
|
21
|
+
"cz-conventional-changelog": "3.3.0",
|
22
|
+
"dotenv": "10.0.0",
|
23
|
+
"eslint": "7.32.0",
|
24
|
+
"eslint-config-prettier": "8.3.0",
|
25
|
+
"gts": "3.1.0",
|
26
|
+
"husky": "7.0.2",
|
27
|
+
"jest": "27.2.4",
|
28
|
+
"lint-staged": "11.1.2",
|
29
|
+
"nodemon": "2.0.13",
|
30
|
+
"prettier": "2.4.1",
|
31
|
+
"standard-version": "9.3.1",
|
32
|
+
"ts-jest": "27.0.5",
|
33
|
+
"ts-node": "10.2.1",
|
34
|
+
"typedoc": "0.22.4",
|
35
|
+
"typescript": "4.4.3"
|
36
36
|
},
|
37
37
|
"husky": {
|
38
38
|
"hooks": {
|
@@ -69,6 +69,7 @@
|
|
69
69
|
"prettier:fix": "prettier --write .",
|
70
70
|
"commit": "git-cz",
|
71
71
|
"release": "standard-version && git push && git push --tags",
|
72
|
+
"prepublishOnly": "npm run release && npm run doc",
|
72
73
|
"doc": "typedoc --out ./dist/docs ./src/index.ts"
|
73
74
|
},
|
74
75
|
"repository": {
|
package/CHANGELOG.md
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
|
-
|
5
|
-
## [1.0.0](https://github.com/coveo/push-api-client.js/compare/v0.0.6...v1.0.0) (2021-05-14)
|
6
|
-
|
7
|
-
### [0.0.6](https://github.com/coveo/push-api-client.js/compare/v0.0.5...v0.0.6) (2021-05-13)
|
8
|
-
|
9
|
-
|
10
|
-
### Features
|
11
|
-
|
12
|
-
* **source:** support source status ([#19](https://github.com/coveo/push-api-client.js/issues/19)) ([2201f3d](https://github.com/coveo/push-api-client.js/commit/2201f3d4ed65d16cc282a602a7bc943ba5e4efbe))
|
13
|
-
|
14
|
-
### [0.0.5](https://github.com/coveo/push-api-client.js/compare/v0.0.4...v0.0.5) (2021-05-11)
|
15
|
-
|
16
|
-
|
17
|
-
### Features
|
18
|
-
|
19
|
-
* **batch:** add support for batch document update ([#17](https://github.com/coveo/push-api-client.js/issues/17)) ([cc1dd91](https://github.com/coveo/push-api-client.js/commit/cc1dd9122cb22c6864a14dc17aa4f74cc332539d))
|
20
|
-
* **source:** allow document deletion ([#6](https://github.com/coveo/push-api-client.js/issues/6)) ([9013b1c](https://github.com/coveo/push-api-client.js/commit/9013b1ce7fedb6ec9cfbdb68acf0117021450f6f))
|
21
|
-
* **source:** complete missing methods and documentation for source class ([#16](https://github.com/coveo/push-api-client.js/issues/16)) ([e7406c5](https://github.com/coveo/push-api-client.js/commit/e7406c5ba7a11cd3ac04ede9e2621d94a2d3cc1e))
|
22
|
-
* **validation:** validate file extension ([#13](https://github.com/coveo/push-api-client.js/issues/13)) ([c6014af](https://github.com/coveo/push-api-client.js/commit/c6014af0aa6527e53bad2a119f699691831b85b6))
|
23
|
-
* **validation:** validate reserved key names ([#12](https://github.com/coveo/push-api-client.js/issues/12)) ([ac678ad](https://github.com/coveo/push-api-client.js/commit/ac678adc541a6c895f6f37e584b96668f7f9d250))
|
24
|
-
|
25
|
-
|
26
|
-
### Bug Fixes
|
27
|
-
|
28
|
-
* **security:** fix security/permissions marshaling ([#11](https://github.com/coveo/push-api-client.js/issues/11)) ([6512d57](https://github.com/coveo/push-api-client.js/commit/6512d570d7791454bc5761b0336bba283dc17794))
|
29
|
-
|
30
|
-
### [0.0.4](https://github.com/coveo/push-api-client.js/compare/v0.0.1...v0.0.4) (2021-05-07)
|
31
|
-
|
32
|
-
### [0.0.3](https://github.com/coveo/push-api-client.js/compare/v0.0.1...v0.0.3) (2021-05-07)
|
33
|
-
|
34
|
-
### [0.0.2](https://github.com/coveo/push-api-client.js/compare/v0.0.1...v0.0.2) (2021-05-07)
|
35
|
-
|
36
|
-
### 0.0.1 (2021-05-07)
|
37
|
-
|
38
|
-
|
39
|
-
### Features
|
40
|
-
|
41
|
-
* **compressedbinarydata:** validation on compressedBinary data ([c1a6991](https://github.com/coveo/push-api-client.js/commit/c1a6991e73e731e9f3e69d4809a551a3c5e12c79))
|
42
|
-
* **permanentid:** generate permanent id when missing ([#7](https://github.com/coveo/push-api-client.js/issues/7)) ([3d3426a](https://github.com/coveo/push-api-client.js/commit/3d3426a949f527824cbd662da38b799aa4440071))
|
43
|
-
* add base source class with addOrUpdateDocument capability ([0c00e3f](https://github.com/coveo/push-api-client.js/commit/0c00e3f788c6f492fedc84bfe8408a8ca32cbb0f))
|
44
|
-
* add documentBuilder class ([#4](https://github.com/coveo/push-api-client.js/issues/4)) ([fc077e4](https://github.com/coveo/push-api-client.js/commit/fc077e462578c1569ae05404e306292f2a758dbc))
|
45
|
-
* add identity security builder class ([#5](https://github.com/coveo/push-api-client.js/issues/5)) ([f7a2002](https://github.com/coveo/push-api-client.js/commit/f7a20022b25e906e8c3e7a5232bfabfc18807ca8))
|
46
|
-
* add push api document interface ([7ed15f8](https://github.com/coveo/push-api-client.js/commit/7ed15f88b38961c9022540386e1736f507b01288))
|
47
|
-
* **push api document interface:** add push api document interface ([cb17cf1](https://github.com/coveo/push-api-client.js/commit/cb17cf16abdf87571f96f77a70225dab123f2c0e))
|
48
|
-
|
49
|
-
|
50
|
-
### Bug Fixes
|
51
|
-
|
52
|
-
* fix typo in .env.sample ([3686a15](https://github.com/coveo/push-api-client.js/commit/3686a15fb3eec4ee73dd5cb5b27a5b318ceb49d0))
|