@thelllabs/winehaus-sdk 0.0.43 → 0.0.44
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/types/api/api.d.ts +12 -37
- package/package.json +1 -1
package/dist/types/api/api.d.ts
CHANGED
|
@@ -556,7 +556,6 @@ export interface FullWithdrawRequestExtraDataDto {
|
|
|
556
556
|
/** @format date-time */
|
|
557
557
|
pickupDateTime: string;
|
|
558
558
|
}
|
|
559
|
-
export type Function = object;
|
|
560
559
|
export interface GeoLocationDto {
|
|
561
560
|
lat: number;
|
|
562
561
|
lng: number;
|
|
@@ -2247,7 +2246,6 @@ export declare namespace Tenants {
|
|
|
2247
2246
|
bottleFormatIds?: string[];
|
|
2248
2247
|
bottleVintageIds?: string[];
|
|
2249
2248
|
createdAt?: string;
|
|
2250
|
-
getPagination: any;
|
|
2251
2249
|
/**
|
|
2252
2250
|
* @min 1
|
|
2253
2251
|
* @max 1000
|
|
@@ -2331,7 +2329,6 @@ export declare namespace Tenants {
|
|
|
2331
2329
|
};
|
|
2332
2330
|
type RequestQuery = {
|
|
2333
2331
|
createdAt?: string;
|
|
2334
|
-
getPagination: Function;
|
|
2335
2332
|
/**
|
|
2336
2333
|
* @min 1
|
|
2337
2334
|
* @max 50
|
|
@@ -2420,7 +2417,6 @@ export declare namespace Tenants {
|
|
|
2420
2417
|
bottleFormatIds?: string[];
|
|
2421
2418
|
bottleVintageIds?: string[];
|
|
2422
2419
|
createdAt?: string;
|
|
2423
|
-
getPagination: Function;
|
|
2424
2420
|
/**
|
|
2425
2421
|
* @min 1
|
|
2426
2422
|
* @max 50
|
|
@@ -2513,7 +2509,6 @@ export declare namespace Tenants {
|
|
|
2513
2509
|
bottleVintageIds?: string[];
|
|
2514
2510
|
/** @format uuid */
|
|
2515
2511
|
caseId?: string;
|
|
2516
|
-
getPagination: any;
|
|
2517
2512
|
/**
|
|
2518
2513
|
* @min 1
|
|
2519
2514
|
* @max 500
|
|
@@ -2559,7 +2554,6 @@ export declare namespace Tenants {
|
|
|
2559
2554
|
bottleFormatIds?: string[];
|
|
2560
2555
|
bottleVintageIds?: string[];
|
|
2561
2556
|
createdAt?: string;
|
|
2562
|
-
getPagination: Function;
|
|
2563
2557
|
/**
|
|
2564
2558
|
* @min 1
|
|
2565
2559
|
* @max 50
|
|
@@ -2606,7 +2600,6 @@ export declare namespace Tenants {
|
|
|
2606
2600
|
bottleVintageIds?: string[];
|
|
2607
2601
|
/** @format uuid */
|
|
2608
2602
|
caseId?: string;
|
|
2609
|
-
getPagination: any;
|
|
2610
2603
|
/**
|
|
2611
2604
|
* @min 1
|
|
2612
2605
|
* @max 500
|
|
@@ -2649,7 +2642,6 @@ export declare namespace Tenants {
|
|
|
2649
2642
|
};
|
|
2650
2643
|
type RequestQuery = {
|
|
2651
2644
|
createdAt?: string;
|
|
2652
|
-
getPagination: any;
|
|
2653
2645
|
/**
|
|
2654
2646
|
* @min 1
|
|
2655
2647
|
* @max 50
|
|
@@ -2687,7 +2679,6 @@ export declare namespace Tenants {
|
|
|
2687
2679
|
};
|
|
2688
2680
|
type RequestQuery = {
|
|
2689
2681
|
createdAt?: string;
|
|
2690
|
-
getPagination: any;
|
|
2691
2682
|
/**
|
|
2692
2683
|
* @min 1
|
|
2693
2684
|
* @max 50
|
|
@@ -3863,7 +3854,6 @@ export declare namespace Admin {
|
|
|
3863
3854
|
bottleFormatIds?: string[];
|
|
3864
3855
|
bottleVintageIds?: string[];
|
|
3865
3856
|
createdAt?: string;
|
|
3866
|
-
getPagination: Function;
|
|
3867
3857
|
/**
|
|
3868
3858
|
* @min 1
|
|
3869
3859
|
* @max 50
|
|
@@ -3993,7 +3983,6 @@ export declare namespace Admin {
|
|
|
3993
3983
|
type RequestQuery = {
|
|
3994
3984
|
createdAt?: string;
|
|
3995
3985
|
customerIds?: string[];
|
|
3996
|
-
getPagination: any;
|
|
3997
3986
|
/**
|
|
3998
3987
|
* @min 1
|
|
3999
3988
|
* @max 50
|
|
@@ -4031,7 +4020,6 @@ export declare namespace Admin {
|
|
|
4031
4020
|
type RequestQuery = {
|
|
4032
4021
|
createdAt?: string;
|
|
4033
4022
|
customerIds?: string[];
|
|
4034
|
-
getPagination: Function;
|
|
4035
4023
|
/**
|
|
4036
4024
|
* @min 1
|
|
4037
4025
|
* @max 50
|
|
@@ -4316,7 +4304,6 @@ export declare namespace Admin {
|
|
|
4316
4304
|
brandIds?: string[];
|
|
4317
4305
|
countryIds?: string[];
|
|
4318
4306
|
createdAt?: string;
|
|
4319
|
-
getPagination: Function;
|
|
4320
4307
|
/**
|
|
4321
4308
|
* @min 1
|
|
4322
4309
|
* @max 50
|
|
@@ -5281,12 +5268,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5281
5268
|
* @response `200` `CaseWineInventoryItemEntityPaginatedDto`
|
|
5282
5269
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
5283
5270
|
*/
|
|
5284
|
-
listTenantInventory: (tenantId: string, query
|
|
5271
|
+
listTenantInventory: (tenantId: string, query?: {
|
|
5285
5272
|
amount?: string;
|
|
5286
5273
|
bottleFormatIds?: string[];
|
|
5287
5274
|
bottleVintageIds?: string[];
|
|
5288
5275
|
createdAt?: string;
|
|
5289
|
-
getPagination: any;
|
|
5290
5276
|
/**
|
|
5291
5277
|
* @min 1
|
|
5292
5278
|
* @max 1000
|
|
@@ -5354,9 +5340,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5354
5340
|
* @response `200` `UserEntityPaginatedDto`
|
|
5355
5341
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
5356
5342
|
*/
|
|
5357
|
-
listTenantUsers: (tenantId: string, query
|
|
5343
|
+
listTenantUsers: (tenantId: string, query?: {
|
|
5358
5344
|
createdAt?: string;
|
|
5359
|
-
getPagination: Function;
|
|
5360
5345
|
/**
|
|
5361
5346
|
* @min 1
|
|
5362
5347
|
* @max 50
|
|
@@ -5423,12 +5408,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5423
5408
|
* @response `200` `CaseWineInventoryItemEntityPaginatedDto`
|
|
5424
5409
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5425
5410
|
*/
|
|
5426
|
-
listUserCaseInventory: (tenantId: string, userId: string, caseId: string, query
|
|
5411
|
+
listUserCaseInventory: (tenantId: string, userId: string, caseId: string, query?: {
|
|
5427
5412
|
amount?: string;
|
|
5428
5413
|
bottleFormatIds?: string[];
|
|
5429
5414
|
bottleVintageIds?: string[];
|
|
5430
5415
|
createdAt?: string;
|
|
5431
|
-
getPagination: Function;
|
|
5432
5416
|
/**
|
|
5433
5417
|
* @min 1
|
|
5434
5418
|
* @max 50
|
|
@@ -5499,13 +5483,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5499
5483
|
* @response `200` `GroupedWineInventoryItemEntityPaginatedDto`
|
|
5500
5484
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5501
5485
|
*/
|
|
5502
|
-
listUserInventory: (tenantId: string, userId: string, query
|
|
5486
|
+
listUserInventory: (tenantId: string, userId: string, query?: {
|
|
5503
5487
|
amount?: string;
|
|
5504
5488
|
bottleFormatIds?: string[];
|
|
5505
5489
|
bottleVintageIds?: string[];
|
|
5506
5490
|
/** @format uuid */
|
|
5507
5491
|
caseId?: string;
|
|
5508
|
-
getPagination: any;
|
|
5509
5492
|
/**
|
|
5510
5493
|
* @min 1
|
|
5511
5494
|
* @max 500
|
|
@@ -5538,12 +5521,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5538
5521
|
* @response `200` `CaseWineInventoryItemEntityPaginatedDto`
|
|
5539
5522
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5540
5523
|
*/
|
|
5541
|
-
listUserInventoryByCases: (tenantId: string, userId: string, query
|
|
5524
|
+
listUserInventoryByCases: (tenantId: string, userId: string, query?: {
|
|
5542
5525
|
amount?: string;
|
|
5543
5526
|
bottleFormatIds?: string[];
|
|
5544
5527
|
bottleVintageIds?: string[];
|
|
5545
5528
|
createdAt?: string;
|
|
5546
|
-
getPagination: Function;
|
|
5547
5529
|
/**
|
|
5548
5530
|
* @min 1
|
|
5549
5531
|
* @max 50
|
|
@@ -5576,13 +5558,12 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5576
5558
|
* @response `200` `GroupedWineInventoryItemEntityPaginatedDto`
|
|
5577
5559
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5578
5560
|
*/
|
|
5579
|
-
listUserInventoryByWines: (tenantId: string, userId: string, query
|
|
5561
|
+
listUserInventoryByWines: (tenantId: string, userId: string, query?: {
|
|
5580
5562
|
amount?: string;
|
|
5581
5563
|
bottleFormatIds?: string[];
|
|
5582
5564
|
bottleVintageIds?: string[];
|
|
5583
5565
|
/** @format uuid */
|
|
5584
5566
|
caseId?: string;
|
|
5585
|
-
getPagination: any;
|
|
5586
5567
|
/**
|
|
5587
5568
|
* @min 1
|
|
5588
5569
|
* @max 500
|
|
@@ -5615,9 +5596,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5615
5596
|
* @response `200` `UserNotificationEntityPaginatedDto`
|
|
5616
5597
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5617
5598
|
*/
|
|
5618
|
-
listUserNotifications: (tenantId: string, userId: string, query
|
|
5599
|
+
listUserNotifications: (tenantId: string, userId: string, query?: {
|
|
5619
5600
|
createdAt?: string;
|
|
5620
|
-
getPagination: any;
|
|
5621
5601
|
/**
|
|
5622
5602
|
* @min 1
|
|
5623
5603
|
* @max 50
|
|
@@ -5645,9 +5625,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5645
5625
|
* @response `200` `OperationRequestEntityPaginatedDto`
|
|
5646
5626
|
* @response `403` `HttpExceptionDto` You're not enabled to make this operation.
|
|
5647
5627
|
*/
|
|
5648
|
-
listUserOperationRequests: (tenantId: string, userId: string, query
|
|
5628
|
+
listUserOperationRequests: (tenantId: string, userId: string, query?: {
|
|
5649
5629
|
createdAt?: string;
|
|
5650
|
-
getPagination: any;
|
|
5651
5630
|
/**
|
|
5652
5631
|
* @min 1
|
|
5653
5632
|
* @max 50
|
|
@@ -6355,12 +6334,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6355
6334
|
* @response `200` `CaseWineInventoryItemEntityPaginatedDto`
|
|
6356
6335
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator, customer
|
|
6357
6336
|
*/
|
|
6358
|
-
listTenantCaseInventory: (tenantId: string, caseId: string, query
|
|
6337
|
+
listTenantCaseInventory: (tenantId: string, caseId: string, query?: {
|
|
6359
6338
|
amount?: string;
|
|
6360
6339
|
bottleFormatIds?: string[];
|
|
6361
6340
|
bottleVintageIds?: string[];
|
|
6362
6341
|
createdAt?: string;
|
|
6363
|
-
getPagination: Function;
|
|
6364
6342
|
/**
|
|
6365
6343
|
* @min 1
|
|
6366
6344
|
* @max 50
|
|
@@ -6466,10 +6444,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6466
6444
|
* @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
|
|
6467
6445
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
6468
6446
|
*/
|
|
6469
|
-
listTenantOperationGroups: (tenantId: string, query
|
|
6447
|
+
listTenantOperationGroups: (tenantId: string, query?: {
|
|
6470
6448
|
createdAt?: string;
|
|
6471
6449
|
customerIds?: string[];
|
|
6472
|
-
getPagination: any;
|
|
6473
6450
|
/**
|
|
6474
6451
|
* @min 1
|
|
6475
6452
|
* @max 50
|
|
@@ -6497,10 +6474,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6497
6474
|
* @response `200` `OperationRequestEntityPaginatedDto`
|
|
6498
6475
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
6499
6476
|
*/
|
|
6500
|
-
listTenantOperationRequests: (tenantId: string, query
|
|
6477
|
+
listTenantOperationRequests: (tenantId: string, query?: {
|
|
6501
6478
|
createdAt?: string;
|
|
6502
6479
|
customerIds?: string[];
|
|
6503
|
-
getPagination: Function;
|
|
6504
6480
|
/**
|
|
6505
6481
|
* @min 1
|
|
6506
6482
|
* @max 50
|
|
@@ -6732,11 +6708,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6732
6708
|
* @response `200` `WineEntityPaginatedDto`
|
|
6733
6709
|
* @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
|
|
6734
6710
|
*/
|
|
6735
|
-
listTenantWines: (tenantId: string, query
|
|
6711
|
+
listTenantWines: (tenantId: string, query?: {
|
|
6736
6712
|
brandIds?: string[];
|
|
6737
6713
|
countryIds?: string[];
|
|
6738
6714
|
createdAt?: string;
|
|
6739
|
-
getPagination: Function;
|
|
6740
6715
|
/**
|
|
6741
6716
|
* @min 1
|
|
6742
6717
|
* @max 50
|