@thelllabs/winehaus-sdk 0.0.27 → 0.0.29

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.
@@ -1457,7 +1457,7 @@ var Api = /** @class */ (function (_super) {
1457
1457
  * @name ListTenantOperationGroups
1458
1458
  * @request GET:/admin/tenants/{tenantId}/operation-groups
1459
1459
  * @secure
1460
- * @response `200` `OperationGroupEntityPaginatedDto`
1460
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
1461
1461
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1462
1462
  */
1463
1463
  listTenantOperationGroups: function (tenantId, query, params) {
@@ -1451,7 +1451,7 @@ var Api = /** @class */ (function (_super) {
1451
1451
  * @name ListTenantOperationGroups
1452
1452
  * @request GET:/admin/tenants/{tenantId}/operation-groups
1453
1453
  * @secure
1454
- * @response `200` `OperationGroupEntityPaginatedDto`
1454
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
1455
1455
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
1456
1456
  */
1457
1457
  listTenantOperationGroups: function (tenantId, query, params) {
@@ -212,6 +212,8 @@ export interface CreateCaseDto {
212
212
  /** @min 0 */
213
213
  maxItems: number;
214
214
  name: string;
215
+ /** @format uuid */
216
+ planId?: string | null;
215
217
  triggerInvoice?: boolean;
216
218
  }
217
219
  export interface CreateCaseOperationDto {
@@ -540,17 +542,45 @@ export interface OperationGroupEntityDto {
540
542
  /** @format date-time */
541
543
  updatedAt: string;
542
544
  }
543
- export interface OperationGroupEntityPaginatedDto {
544
- items: OperationGroupEntityDto[];
545
- links?: PaginationLinksDto;
546
- meta: PaginationMetaDto;
545
+ export interface OperationGroupExtraDataDto {
546
+ total: number;
547
+ /** @example "deposit" */
548
+ type: CaseOperationTypesEnum;
547
549
  }
550
+ export interface OperationGroupExtrasEntityDto {
551
+ /** @format uuid */
552
+ groupId: string;
553
+ operationsSummaryByType: OperationGroupExtraDataDto[];
554
+ }
555
+ export type OperationGroupExtrasViewEntity = object;
548
556
  export declare enum OperationGroupStatusEnum {
549
557
  OnHold = "on_hold",
550
558
  Confirmed = "confirmed",
551
559
  Processed = "processed",
552
560
  Cancelled = "cancelled"
553
561
  }
562
+ export interface OperationGroupWithExtraInfoEntityDto {
563
+ /** @format date-time */
564
+ createdAt: string;
565
+ customer: UserEntityDto;
566
+ /** @format uuid */
567
+ customerId: string;
568
+ extraInfo: OperationGroupExtrasViewEntity;
569
+ /** @format uuid */
570
+ id: string;
571
+ notes: string | null;
572
+ /** @example "processed" */
573
+ status: OperationGroupStatusEnum;
574
+ /** @format uuid */
575
+ tenantId: string;
576
+ /** @format date-time */
577
+ updatedAt: string;
578
+ }
579
+ export interface OperationGroupWithExtraInfoEntityPaginatedDto {
580
+ items: OperationGroupWithExtraInfoEntityDto[];
581
+ links?: PaginationLinksDto;
582
+ meta: PaginationMetaDto;
583
+ }
554
584
  export interface OperationRequestEntityDto {
555
585
  /** @format date-time */
556
586
  createdAt: string;
@@ -823,7 +853,8 @@ export interface UpdateCaseDto {
823
853
  /** @min 0 */
824
854
  maxItems: number;
825
855
  name: string;
826
- triggerInvoice?: boolean;
856
+ /** @format uuid */
857
+ planId?: string | null;
827
858
  }
828
859
  export interface UpdateCaseOperationDto {
829
860
  /** @format uuid */
@@ -3017,7 +3048,7 @@ export declare namespace Admin {
3017
3048
  * @name ListTenantOperationGroups
3018
3049
  * @request GET:/admin/tenants/{tenantId}/operation-groups
3019
3050
  * @secure
3020
- * @response `200` `OperationGroupEntityPaginatedDto`
3051
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
3021
3052
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
3022
3053
  */
3023
3054
  namespace ListTenantOperationGroups {
@@ -3043,7 +3074,7 @@ export declare namespace Admin {
3043
3074
  };
3044
3075
  type RequestBody = never;
3045
3076
  type RequestHeaders = {};
3046
- type ResponseBody = OperationGroupEntityPaginatedDto;
3077
+ type ResponseBody = OperationGroupWithExtraInfoEntityPaginatedDto;
3047
3078
  }
3048
3079
  /**
3049
3080
  * No description
@@ -5110,7 +5141,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5110
5141
  * @name ListTenantOperationGroups
5111
5142
  * @request GET:/admin/tenants/{tenantId}/operation-groups
5112
5143
  * @secure
5113
- * @response `200` `OperationGroupEntityPaginatedDto`
5144
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
5114
5145
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
5115
5146
  */
5116
5147
  listTenantOperationGroups: (tenantId: string, query?: {
@@ -5129,7 +5160,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5129
5160
  page?: number;
5130
5161
  sortBy?: string[];
5131
5162
  status?: OperationGroupStatusEnum[];
5132
- }, params?: RequestParams) => Promise<OperationGroupEntityPaginatedDto>;
5163
+ }, params?: RequestParams) => Promise<OperationGroupWithExtraInfoEntityPaginatedDto>;
5133
5164
  /**
5134
5165
  * No description
5135
5166
  *
package/dist/umd/index.ts CHANGED
@@ -19782,7 +19782,7 @@ var Api = /** @class */ (function (_super) {
19782
19782
  * @name ListTenantOperationGroups
19783
19783
  * @request GET:/admin/tenants/{tenantId}/operation-groups
19784
19784
  * @secure
19785
- * @response `200` `OperationGroupEntityPaginatedDto`
19785
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
19786
19786
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
19787
19787
  */
19788
19788
  listTenantOperationGroups: function (tenantId, query, params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thelllabs/winehaus-sdk",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "Winehaus SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",