@thelllabs/winehaus-sdk 0.0.34 → 0.0.38
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 +8 -5
- 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.11
|
|
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.11
|
|
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
|
@@ -179,9 +179,9 @@ export interface ChangeOperationRequestWithReasonDto {
|
|
|
179
179
|
reason?: string;
|
|
180
180
|
}
|
|
181
181
|
export interface ConfirmWithdrawRequestDto {
|
|
182
|
+
address?: CreateAddressByTemplateDto;
|
|
182
183
|
/** @example "pickup" */
|
|
183
184
|
deliverType: WithdrawRequestDeliverTypeEnum;
|
|
184
|
-
shippingAddress?: CreateAddressByTemplateDto;
|
|
185
185
|
}
|
|
186
186
|
export interface CreateAddressByTemplateDto {
|
|
187
187
|
addressLine1?: string;
|
|
@@ -425,6 +425,7 @@ export interface FullOperationRequestEntityDto {
|
|
|
425
425
|
wines?: OperationRequestWineInventoryItemEntityDto[];
|
|
426
426
|
}
|
|
427
427
|
export interface FullWithdrawRequestExtraDataDto {
|
|
428
|
+
address?: CreateAddressByTemplateDto;
|
|
428
429
|
/** @example "completed" */
|
|
429
430
|
deliverStatus?: WithdrawRequestDeliverStatusEnum | null;
|
|
430
431
|
/** @example "pickup" */
|
|
@@ -434,7 +435,6 @@ export interface FullWithdrawRequestExtraDataDto {
|
|
|
434
435
|
operationNotes?: string;
|
|
435
436
|
/** @format date-time */
|
|
436
437
|
pickupDateTime: string;
|
|
437
|
-
shippingAddress?: CreateAddressByTemplateDto;
|
|
438
438
|
}
|
|
439
439
|
export interface GeoLocationDto {
|
|
440
440
|
lat: number;
|
|
@@ -737,6 +737,9 @@ export interface RequestPasswordResetDto {
|
|
|
737
737
|
tenantId: string;
|
|
738
738
|
}
|
|
739
739
|
export interface RequestWithdrawDto {
|
|
740
|
+
address?: CreateAddressByTemplateDto;
|
|
741
|
+
/** @example "pickup" */
|
|
742
|
+
deliverType?: WithdrawRequestDeliverTypeEnum | null;
|
|
740
743
|
/** @example "please add it into a cooler" */
|
|
741
744
|
notes?: string;
|
|
742
745
|
/** @example [] */
|
|
@@ -992,11 +995,11 @@ export interface UpdateWineInventoryItemDto {
|
|
|
992
995
|
wineId: string;
|
|
993
996
|
}
|
|
994
997
|
export interface UpdateWithdrawDeliverStateDto {
|
|
998
|
+
address?: CreateAddressByTemplateDto;
|
|
995
999
|
/** @example "completed" */
|
|
996
1000
|
deliverStatus?: WithdrawRequestDeliverStatusEnum | null;
|
|
997
1001
|
/** @example "pickup" */
|
|
998
1002
|
deliverType?: WithdrawRequestDeliverTypeEnum | null;
|
|
999
|
-
shippingAddress?: CreateAddressByTemplateDto;
|
|
1000
1003
|
}
|
|
1001
1004
|
export interface UserEntityDto {
|
|
1002
1005
|
/** @format date-time */
|
|
@@ -4253,8 +4256,8 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
4253
4256
|
}
|
|
4254
4257
|
/**
|
|
4255
4258
|
* @title winehaus-api
|
|
4256
|
-
* @version 0.0.
|
|
4257
|
-
* @baseUrl
|
|
4259
|
+
* @version 0.0.11
|
|
4260
|
+
* @baseUrl https://api.app.veritaswinestorage.com
|
|
4258
4261
|
* @contact
|
|
4259
4262
|
*/
|
|
4260
4263
|
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.11
|
|
18608
|
+
* @baseUrl https://api.app.veritaswinestorage.com
|
|
18609
18609
|
* @contact
|
|
18610
18610
|
*/
|
|
18611
18611
|
var Api = /** @class */ (function (_super) {
|