@thelllabs/winehaus-sdk 0.0.27 → 0.0.28

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) {
@@ -540,17 +540,45 @@ export interface OperationGroupEntityDto {
540
540
  /** @format date-time */
541
541
  updatedAt: string;
542
542
  }
543
- export interface OperationGroupEntityPaginatedDto {
544
- items: OperationGroupEntityDto[];
545
- links?: PaginationLinksDto;
546
- meta: PaginationMetaDto;
543
+ export interface OperationGroupExtraDataDto {
544
+ total: number;
545
+ /** @example "deposit" */
546
+ type: CaseOperationTypesEnum;
547
+ }
548
+ export interface OperationGroupExtrasEntityDto {
549
+ /** @format uuid */
550
+ groupId: string;
551
+ operationsSummaryByType: OperationGroupExtraDataDto[];
547
552
  }
553
+ export type OperationGroupExtrasViewEntity = object;
548
554
  export declare enum OperationGroupStatusEnum {
549
555
  OnHold = "on_hold",
550
556
  Confirmed = "confirmed",
551
557
  Processed = "processed",
552
558
  Cancelled = "cancelled"
553
559
  }
560
+ export interface OperationGroupWithExtraInfoEntityDto {
561
+ /** @format date-time */
562
+ createdAt: string;
563
+ customer: UserEntityDto;
564
+ /** @format uuid */
565
+ customerId: string;
566
+ extraInfo: OperationGroupExtrasViewEntity;
567
+ /** @format uuid */
568
+ id: string;
569
+ notes: string | null;
570
+ /** @example "processed" */
571
+ status: OperationGroupStatusEnum;
572
+ /** @format uuid */
573
+ tenantId: string;
574
+ /** @format date-time */
575
+ updatedAt: string;
576
+ }
577
+ export interface OperationGroupWithExtraInfoEntityPaginatedDto {
578
+ items: OperationGroupWithExtraInfoEntityDto[];
579
+ links?: PaginationLinksDto;
580
+ meta: PaginationMetaDto;
581
+ }
554
582
  export interface OperationRequestEntityDto {
555
583
  /** @format date-time */
556
584
  createdAt: string;
@@ -3017,7 +3045,7 @@ export declare namespace Admin {
3017
3045
  * @name ListTenantOperationGroups
3018
3046
  * @request GET:/admin/tenants/{tenantId}/operation-groups
3019
3047
  * @secure
3020
- * @response `200` `OperationGroupEntityPaginatedDto`
3048
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
3021
3049
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
3022
3050
  */
3023
3051
  namespace ListTenantOperationGroups {
@@ -3043,7 +3071,7 @@ export declare namespace Admin {
3043
3071
  };
3044
3072
  type RequestBody = never;
3045
3073
  type RequestHeaders = {};
3046
- type ResponseBody = OperationGroupEntityPaginatedDto;
3074
+ type ResponseBody = OperationGroupWithExtraInfoEntityPaginatedDto;
3047
3075
  }
3048
3076
  /**
3049
3077
  * No description
@@ -5110,7 +5138,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5110
5138
  * @name ListTenantOperationGroups
5111
5139
  * @request GET:/admin/tenants/{tenantId}/operation-groups
5112
5140
  * @secure
5113
- * @response `200` `OperationGroupEntityPaginatedDto`
5141
+ * @response `200` `OperationGroupWithExtraInfoEntityPaginatedDto`
5114
5142
  * @response `403` `HttpExceptionDto` Need user with one of these roles: owner, admin, operator
5115
5143
  */
5116
5144
  listTenantOperationGroups: (tenantId: string, query?: {
@@ -5129,7 +5157,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5129
5157
  page?: number;
5130
5158
  sortBy?: string[];
5131
5159
  status?: OperationGroupStatusEnum[];
5132
- }, params?: RequestParams) => Promise<OperationGroupEntityPaginatedDto>;
5160
+ }, params?: RequestParams) => Promise<OperationGroupWithExtraInfoEntityPaginatedDto>;
5133
5161
  /**
5134
5162
  * No description
5135
5163
  *
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.28",
4
4
  "description": "Winehaus SDK",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",