@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.
- package/dist/cjs/api/api.js +3 -3
- package/dist/esm/api/api.js +3 -3
- package/dist/types/api/api.d.ts +10 -2
- package/dist/umd/index.ts +3 -3
- package/package.json +1 -1
package/dist/cjs/api/api.js
CHANGED
|
@@ -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 || "
|
|
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.
|
|
283
|
-
* @baseUrl
|
|
282
|
+
* @version 0.0.10
|
|
283
|
+
* @baseUrl https://api.app.veritaswinestorage.com
|
|
284
284
|
* @contact
|
|
285
285
|
*/
|
|
286
286
|
var Api = /** @class */ (function (_super) {
|
package/dist/esm/api/api.js
CHANGED
|
@@ -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 || "
|
|
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.
|
|
277
|
-
* @baseUrl
|
|
276
|
+
* @version 0.0.10
|
|
277
|
+
* @baseUrl https://api.app.veritaswinestorage.com
|
|
278
278
|
* @contact
|
|
279
279
|
*/
|
|
280
280
|
var Api = /** @class */ (function (_super) {
|
package/dist/types/api/api.d.ts
CHANGED
|
@@ -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.
|
|
4249
|
-
* @baseUrl
|
|
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 || "
|
|
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.
|
|
18608
|
-
* @baseUrl
|
|
18607
|
+
* @version 0.0.10
|
|
18608
|
+
* @baseUrl https://api.app.veritaswinestorage.com
|
|
18609
18609
|
* @contact
|
|
18610
18610
|
*/
|
|
18611
18611
|
var Api = /** @class */ (function (_super) {
|