@thelllabs/winehaus-sdk 0.0.32 → 0.0.37

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.
@@ -239,7 +239,7 @@ var HttpClient = /** @class */ (function () {
239
239
  }
240
240
  });
241
241
  }); };
242
- this.instance = axios_1.default.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "http://localhost:3000" }));
242
+ this.instance = axios_1.default.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "https://api.app.veritaswinestorage.com" }));
243
243
  this.secure = secure;
244
244
  this.format = format;
245
245
  this.securityWorker = securityWorker;
@@ -279,8 +279,8 @@ var HttpClient = /** @class */ (function () {
279
279
  exports.HttpClient = HttpClient;
280
280
  /**
281
281
  * @title winehaus-api
282
- * @version 0.0.6
283
- * @baseUrl http://localhost:3000
282
+ * @version 0.0.10
283
+ * @baseUrl https://api.app.veritaswinestorage.com
284
284
  * @contact
285
285
  */
286
286
  var Api = /** @class */ (function (_super) {
@@ -233,7 +233,7 @@ var HttpClient = /** @class */ (function () {
233
233
  }
234
234
  });
235
235
  }); };
236
- this.instance = axios.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "http://localhost:3000" }));
236
+ this.instance = axios.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "https://api.app.veritaswinestorage.com" }));
237
237
  this.secure = secure;
238
238
  this.format = format;
239
239
  this.securityWorker = securityWorker;
@@ -273,8 +273,8 @@ var HttpClient = /** @class */ (function () {
273
273
  export { HttpClient };
274
274
  /**
275
275
  * @title winehaus-api
276
- * @version 0.0.6
277
- * @baseUrl http://localhost:3000
276
+ * @version 0.0.10
277
+ * @baseUrl https://api.app.veritaswinestorage.com
278
278
  * @contact
279
279
  */
280
280
  var Api = /** @class */ (function (_super) {
@@ -31,6 +31,8 @@ export interface AppLoadResponseDto {
31
31
  host: string;
32
32
  /** @format uuid */
33
33
  tenantId: string;
34
+ /** @example {"name":"Sandbox Tenant"} */
35
+ tenantInfo: TenantInfoDto;
34
36
  /** @example {"logoUrl":"https://winestorage.com/images/logo.png","primaryColor":"#FFFFFF","secondaryColor":"#FFFFFF"} */
35
37
  theme: HostThemeDto;
36
38
  }
@@ -459,9 +461,12 @@ export interface GroupedWineInventoryItemEntityPaginatedDto {
459
461
  meta: PaginationMetaDto;
460
462
  }
461
463
  export interface HostThemeDto {
464
+ contactEmail?: string;
465
+ iconUrl?: string;
462
466
  logoUrl?: string;
463
467
  primaryColor?: string;
464
468
  secondaryColor?: string;
469
+ secondaryLogoUrl?: string;
465
470
  }
466
471
  export interface HttpExceptionDto {
467
472
  /** @example null */
@@ -831,6 +836,9 @@ export interface SyncOperationGroupWithSnapshotDto {
831
836
  /** @minItems 1 */
832
837
  operations: UpdateCaseOperationDto[];
833
838
  }
839
+ export interface TenantInfoDto {
840
+ name?: string | null;
841
+ }
834
842
  export declare enum TenantRoleEnum {
835
843
  Operator = "operator",
836
844
  Admin = "admin",
@@ -4245,8 +4253,8 @@ export declare class HttpClient<SecurityDataType = unknown> {
4245
4253
  }
4246
4254
  /**
4247
4255
  * @title winehaus-api
4248
- * @version 0.0.6
4249
- * @baseUrl http://localhost:3000
4256
+ * @version 0.0.10
4257
+ * @baseUrl https://api.app.veritaswinestorage.com
4250
4258
  * @contact
4251
4259
  */
4252
4260
  export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
package/dist/umd/index.ts CHANGED
@@ -18564,7 +18564,7 @@ var HttpClient = /** @class */ (function () {
18564
18564
  }
18565
18565
  });
18566
18566
  }); };
18567
- this.instance = axios_1.default.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "http://localhost:3000" }));
18567
+ this.instance = axios_1.default.create(__assign(__assign({}, axiosConfig), { baseURL: axiosConfig.baseURL || "https://api.app.veritaswinestorage.com" }));
18568
18568
  this.secure = secure;
18569
18569
  this.format = format;
18570
18570
  this.securityWorker = securityWorker;
@@ -18604,8 +18604,8 @@ var HttpClient = /** @class */ (function () {
18604
18604
  exports.HttpClient = HttpClient;
18605
18605
  /**
18606
18606
  * @title winehaus-api
18607
- * @version 0.0.6
18608
- * @baseUrl http://localhost:3000
18607
+ * @version 0.0.10
18608
+ * @baseUrl https://api.app.veritaswinestorage.com
18609
18609
  * @contact
18610
18610
  */
18611
18611
  var Api = /** @class */ (function (_super) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thelllabs/winehaus-sdk",
3
- "version": "0.0.32",
3
+ "version": "0.0.37",
4
4
  "description": "Winehaus SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",