@sitecore/sc-contenthub-webclient-sdk 1.2.45 → 1.2.49

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/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import OAuthPasswordGrant from "./authentication/oauth-password-grant";
2
+ import { ContentHubClient } from "./clients/content-hub-client";
1
3
  export * from "./api/api-routes-dictionary";
2
4
  export * from "./base-types";
3
5
  export * from "./culture-info";
@@ -8,3 +10,4 @@ export * from "./fileversion";
8
10
  export * from "./guard";
9
11
  export * from "./link-helper";
10
12
  export * from "./link";
13
+ export { OAuthPasswordGrant, ContentHubClient };
package/dist/index.js CHANGED
@@ -9,7 +9,15 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
9
9
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
+ var __importDefault = (this && this.__importDefault) || function (mod) {
13
+ return (mod && mod.__esModule) ? mod : { "default": mod };
14
+ };
12
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ContentHubClient = exports.OAuthPasswordGrant = void 0;
17
+ const oauth_password_grant_1 = __importDefault(require("./authentication/oauth-password-grant"));
18
+ exports.OAuthPasswordGrant = oauth_password_grant_1.default;
19
+ const content_hub_client_1 = require("./clients/content-hub-client");
20
+ Object.defineProperty(exports, "ContentHubClient", { enumerable: true, get: function () { return content_hub_client_1.ContentHubClient; } });
13
21
  __exportStar(require("./api/api-routes-dictionary"), exports);
14
22
  __exportStar(require("./base-types"), exports);
15
23
  __exportStar(require("./culture-info"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8DAA4C;AAC5C,+CAA6B;AAC7B,iDAA+B;AAC/B,2DAAyC;AACzC,gDAA8B;AAC9B,mDAAiC;AACjC,gDAA8B;AAC9B,0CAAwB;AACxB,gDAA8B;AAC9B,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iGAAuE;AAc9D,6BAdF,8BAAkB,CAcE;AAb3B,qEAAgE;AAanC,iGAbpB,qCAAgB,OAaoB;AAX7C,8DAA4C;AAC5C,+CAA6B;AAC7B,iDAA+B;AAC/B,2DAAyC;AACzC,gDAA8B;AAC9B,mDAAiC;AACjC,gDAA8B;AAC9B,0CAAwB;AACxB,gDAA8B;AAC9B,yCAAuB"}
@@ -1,4 +1,4 @@
1
- export declare type VisualSearchType = "image" | "imageAndMetaData" | "metaData";
1
+ export declare type VisualSearchType = "vector" | "vector+text" | "text";
2
2
  export declare class VisualSearchResource {
3
3
  /**
4
4
  * The color the user has selected in the color dropdown.
package/esm/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import OAuthPasswordGrant from "./authentication/oauth-password-grant";
2
+ import { ContentHubClient } from "./clients/content-hub-client";
1
3
  export * from "./api/api-routes-dictionary";
2
4
  export * from "./base-types";
3
5
  export * from "./culture-info";
@@ -8,3 +10,4 @@ export * from "./fileversion";
8
10
  export * from "./guard";
9
11
  export * from "./link-helper";
10
12
  export * from "./link";
13
+ export { OAuthPasswordGrant, ContentHubClient };
package/esm/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ import OAuthPasswordGrant from "./authentication/oauth-password-grant";
2
+ import { ContentHubClient } from "./clients/content-hub-client";
1
3
  export * from "./api/api-routes-dictionary";
2
4
  export * from "./base-types";
3
5
  export * from "./culture-info";
@@ -8,4 +10,5 @@ export * from "./fileversion";
8
10
  export * from "./guard";
9
11
  export * from "./link-helper";
10
12
  export * from "./link";
13
+ export { OAuthPasswordGrant, ContentHubClient };
11
14
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AAEvB,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type VisualSearchType = "image" | "imageAndMetaData" | "metaData";
1
+ export declare type VisualSearchType = "vector" | "vector+text" | "text";
2
2
  export declare class VisualSearchResource {
3
3
  /**
4
4
  * The color the user has selected in the color dropdown.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore/sc-contenthub-webclient-sdk",
3
- "version": "1.2.45",
3
+ "version": "1.2.49",
4
4
  "description": "Sitecore Content Hub WebClient SDK.",
5
5
  "sideEffect": false,
6
6
  "scripts": {