@coworkee/client 0.0.1034 → 0.0.1036

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/schema.d.ts CHANGED
@@ -7616,6 +7616,54 @@ export interface paths {
7616
7616
  patch?: never;
7617
7617
  trace?: never;
7618
7618
  };
7619
+ "/api/v1/reports/rows": {
7620
+ parameters: {
7621
+ query?: never;
7622
+ header?: never;
7623
+ path?: never;
7624
+ cookie?: never;
7625
+ };
7626
+ get?: never;
7627
+ put?: never;
7628
+ post: {
7629
+ parameters: {
7630
+ query?: never;
7631
+ header?: never;
7632
+ path?: never;
7633
+ cookie?: never;
7634
+ };
7635
+ requestBody: {
7636
+ content: {
7637
+ "application/json": components["schemas"]["ReportRowsRequest"];
7638
+ };
7639
+ };
7640
+ responses: {
7641
+ /** @description OK */
7642
+ 200: {
7643
+ headers: {
7644
+ [name: string]: unknown;
7645
+ };
7646
+ content: {
7647
+ "application/json": components["schemas"]["ReportRowsResult"];
7648
+ };
7649
+ };
7650
+ /** @description Bad Request */
7651
+ 400: {
7652
+ headers: {
7653
+ [name: string]: unknown;
7654
+ };
7655
+ content: {
7656
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
7657
+ };
7658
+ };
7659
+ };
7660
+ };
7661
+ delete?: never;
7662
+ options?: never;
7663
+ head?: never;
7664
+ patch?: never;
7665
+ trace?: never;
7666
+ };
7619
7667
  "/api/v1/reports/sheet": {
7620
7668
  parameters: {
7621
7669
  query?: never;
@@ -11858,6 +11906,29 @@ export interface components {
11858
11906
  series: null | components["schemas"]["ReportKey"];
11859
11907
  values: (null | number | string)[];
11860
11908
  };
11909
+ ReportRowsRequest: {
11910
+ entitySet: string;
11911
+ columns: string[];
11912
+ filter?: null | string;
11913
+ orderBy?: null | string;
11914
+ /** @default false */
11915
+ descending: boolean;
11916
+ /**
11917
+ * Format: int32
11918
+ * @default 0
11919
+ */
11920
+ skip: number | string;
11921
+ /**
11922
+ * Format: int32
11923
+ * @default 50
11924
+ */
11925
+ top: number | string;
11926
+ };
11927
+ ReportRowsResult: {
11928
+ rows: components["schemas"]["JsonElement"][];
11929
+ /** Format: int64 */
11930
+ count: number | string;
11931
+ };
11861
11932
  ReportRoleDto: {
11862
11933
  /** Format: uuid */
11863
11934
  id: string;
@@ -11875,6 +11946,8 @@ export interface components {
11875
11946
  label: string;
11876
11947
  fields: components["schemas"]["ReportFieldDto"][];
11877
11948
  topic?: null | string;
11949
+ /** @default false */
11950
+ computed: boolean;
11878
11951
  };
11879
11952
  ReportSummaryDto: {
11880
11953
  /** Format: uuid */
package/openapi.json CHANGED
@@ -6933,6 +6933,45 @@
6933
6933
  }
6934
6934
  }
6935
6935
  },
6936
+ "/api/v1/reports/rows": {
6937
+ "post": {
6938
+ "tags": [
6939
+ "Reports"
6940
+ ],
6941
+ "requestBody": {
6942
+ "content": {
6943
+ "application/json": {
6944
+ "schema": {
6945
+ "$ref": "#/components/schemas/ReportRowsRequest"
6946
+ }
6947
+ }
6948
+ },
6949
+ "required": true
6950
+ },
6951
+ "responses": {
6952
+ "200": {
6953
+ "description": "OK",
6954
+ "content": {
6955
+ "application/json": {
6956
+ "schema": {
6957
+ "$ref": "#/components/schemas/ReportRowsResult"
6958
+ }
6959
+ }
6960
+ }
6961
+ },
6962
+ "400": {
6963
+ "description": "Bad Request",
6964
+ "content": {
6965
+ "application/problem+json": {
6966
+ "schema": {
6967
+ "$ref": "#/components/schemas/HttpValidationProblemDetails"
6968
+ }
6969
+ }
6970
+ }
6971
+ }
6972
+ }
6973
+ }
6974
+ },
6936
6975
  "/api/v1/reports/sheet": {
6937
6976
  "post": {
6938
6977
  "tags": [
@@ -14872,6 +14911,84 @@
14872
14911
  }
14873
14912
  }
14874
14913
  },
14914
+ "ReportRowsRequest": {
14915
+ "required": [
14916
+ "entitySet",
14917
+ "columns",
14918
+ "descending",
14919
+ "skip",
14920
+ "top"
14921
+ ],
14922
+ "type": "object",
14923
+ "properties": {
14924
+ "entitySet": {
14925
+ "type": "string"
14926
+ },
14927
+ "columns": {
14928
+ "type": "array",
14929
+ "items": {
14930
+ "type": "string"
14931
+ }
14932
+ },
14933
+ "filter": {
14934
+ "type": [
14935
+ "null",
14936
+ "string"
14937
+ ]
14938
+ },
14939
+ "orderBy": {
14940
+ "type": [
14941
+ "null",
14942
+ "string"
14943
+ ]
14944
+ },
14945
+ "descending": {
14946
+ "type": "boolean",
14947
+ "default": false
14948
+ },
14949
+ "skip": {
14950
+ "pattern": "^-?(?:0|[1-9]d*)$",
14951
+ "type": [
14952
+ "integer",
14953
+ "string"
14954
+ ],
14955
+ "format": "int32",
14956
+ "default": 0
14957
+ },
14958
+ "top": {
14959
+ "pattern": "^-?(?:0|[1-9]d*)$",
14960
+ "type": [
14961
+ "integer",
14962
+ "string"
14963
+ ],
14964
+ "format": "int32",
14965
+ "default": 50
14966
+ }
14967
+ }
14968
+ },
14969
+ "ReportRowsResult": {
14970
+ "required": [
14971
+ "rows",
14972
+ "count"
14973
+ ],
14974
+ "type": "object",
14975
+ "properties": {
14976
+ "rows": {
14977
+ "type": "array",
14978
+ "items": {
14979
+ "$ref": "#/components/schemas/JsonElement"
14980
+ }
14981
+ },
14982
+ "count": {
14983
+ "pattern": "^-?(?:0|[1-9]d*)$",
14984
+ "type": [
14985
+ "integer",
14986
+ "string"
14987
+ ],
14988
+ "format": "int64"
14989
+ }
14990
+ }
14991
+ },
14875
14992
  "ReportRoleDto": {
14876
14993
  "required": [
14877
14994
  "id",
@@ -14923,7 +15040,8 @@
14923
15040
  "required": [
14924
15041
  "entitySet",
14925
15042
  "label",
14926
- "fields"
15043
+ "fields",
15044
+ "computed"
14927
15045
  ],
14928
15046
  "type": "object",
14929
15047
  "properties": {
@@ -14944,6 +15062,10 @@
14944
15062
  "null",
14945
15063
  "string"
14946
15064
  ]
15065
+ },
15066
+ "computed": {
15067
+ "type": "boolean",
15068
+ "default": false
14947
15069
  }
14948
15070
  }
14949
15071
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coworkee/client",
3
- "version": "0.0.1034",
3
+ "version": "0.0.1036",
4
4
  "description": "Typed client for the API of Coworkee apps: OpenAPI types, BFF session, theme, texts and OData helpers",
5
5
  "license": "MIT",
6
6
  "homepage": "https://fgilde.github.io/CoworkeeLib/web/airworks/",