@rundit-sdk/embed 0.3.5-rc.14 → 0.3.5-rc.15

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.
Files changed (2) hide show
  1. package/openapi.json +71 -0
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -5039,6 +5039,77 @@
5039
5039
  "meta"
5040
5040
  ]
5041
5041
  },
5042
+ "SdkMetricPointWriteDto": {
5043
+ "type": "object",
5044
+ "properties": {
5045
+ "date": {
5046
+ "type": "string",
5047
+ "description": "Reporting period date (YYYY-MM-DD), on the first day of the month."
5048
+ },
5049
+ "value": {
5050
+ "type": "number",
5051
+ "nullable": true,
5052
+ "example": 123,
5053
+ "description": "Numeric value. Set to null for option metrics."
5054
+ },
5055
+ "optionValue": {
5056
+ "type": "string",
5057
+ "nullable": true,
5058
+ "example": null,
5059
+ "description": "Option value. Set to null for numeric metrics."
5060
+ },
5061
+ "timeframe": {
5062
+ "type": "string",
5063
+ "enum": [
5064
+ "Month",
5065
+ "Quarter",
5066
+ "Year"
5067
+ ]
5068
+ }
5069
+ },
5070
+ "required": [
5071
+ "date",
5072
+ "value",
5073
+ "optionValue",
5074
+ "timeframe"
5075
+ ]
5076
+ },
5077
+ "SdkMetricPointsWriteRequestDto": {
5078
+ "type": "object",
5079
+ "properties": {
5080
+ "points": {
5081
+ "type": "array",
5082
+ "items": {
5083
+ "$ref": "#/components/schemas/SdkMetricPointWriteDto"
5084
+ }
5085
+ }
5086
+ },
5087
+ "required": [
5088
+ "points"
5089
+ ]
5090
+ },
5091
+ "SdkMetricPointsWriteResponseDto": {
5092
+ "type": "object",
5093
+ "properties": {
5094
+ "metricId": {
5095
+ "type": "number"
5096
+ },
5097
+ "companyId": {
5098
+ "type": "number"
5099
+ },
5100
+ "points": {
5101
+ "type": "array",
5102
+ "items": {
5103
+ "$ref": "#/components/schemas/SdkMetricPointDto"
5104
+ }
5105
+ }
5106
+ },
5107
+ "required": [
5108
+ "metricId",
5109
+ "companyId",
5110
+ "points"
5111
+ ]
5112
+ },
5042
5113
  "MetricSearchDto": {
5043
5114
  "type": "object",
5044
5115
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rundit-sdk/embed",
3
- "version": "0.3.5-rc.14",
3
+ "version": "0.3.5-rc.15",
4
4
  "description": "Public Rundit embed SDK for iframe and embedded module consumers.",
5
5
  "repository": {
6
6
  "type": "git",