@rundit-sdk/embed 0.3.5-rc.16 → 0.3.5
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/openapi.json +96 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -5330,6 +5330,102 @@
|
|
|
5330
5330
|
"timeframe"
|
|
5331
5331
|
]
|
|
5332
5332
|
},
|
|
5333
|
+
"SdkMetricBatchWriteItemDto": {
|
|
5334
|
+
"type": "object",
|
|
5335
|
+
"properties": {
|
|
5336
|
+
"metricTypeId": {
|
|
5337
|
+
"type": "number",
|
|
5338
|
+
"description": "Existing metric type id. Supply exactly one of metricTypeId or metricTypeName."
|
|
5339
|
+
},
|
|
5340
|
+
"metricTypeName": {
|
|
5341
|
+
"type": "string",
|
|
5342
|
+
"description": "Exact case-insensitive full name or shortName, e.g. MRR. Unknown or ambiguous names fail."
|
|
5343
|
+
},
|
|
5344
|
+
"flavor": {
|
|
5345
|
+
"type": "string",
|
|
5346
|
+
"enum": [
|
|
5347
|
+
"actual",
|
|
5348
|
+
"forecast",
|
|
5349
|
+
"budget"
|
|
5350
|
+
],
|
|
5351
|
+
"default": "actual",
|
|
5352
|
+
"description": "Select an existing row. Missing forecast/budget rows are not created."
|
|
5353
|
+
},
|
|
5354
|
+
"points": {
|
|
5355
|
+
"minItems": 1,
|
|
5356
|
+
"maxItems": 250,
|
|
5357
|
+
"type": "array",
|
|
5358
|
+
"items": {
|
|
5359
|
+
"$ref": "#/components/schemas/SdkMetricPointWriteDto"
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5362
|
+
},
|
|
5363
|
+
"required": [
|
|
5364
|
+
"points"
|
|
5365
|
+
]
|
|
5366
|
+
},
|
|
5367
|
+
"SdkCompanyMetricBatchWriteDto": {
|
|
5368
|
+
"type": "object",
|
|
5369
|
+
"properties": {
|
|
5370
|
+
"companyId": {
|
|
5371
|
+
"type": "number"
|
|
5372
|
+
},
|
|
5373
|
+
"currency": {
|
|
5374
|
+
"type": "string",
|
|
5375
|
+
"description": "Company native currency, e.g. USD. Writes do not convert FX."
|
|
5376
|
+
},
|
|
5377
|
+
"items": {
|
|
5378
|
+
"minItems": 1,
|
|
5379
|
+
"maxItems": 50,
|
|
5380
|
+
"type": "array",
|
|
5381
|
+
"items": {
|
|
5382
|
+
"$ref": "#/components/schemas/SdkMetricBatchWriteItemDto"
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5385
|
+
},
|
|
5386
|
+
"required": [
|
|
5387
|
+
"companyId",
|
|
5388
|
+
"currency",
|
|
5389
|
+
"items"
|
|
5390
|
+
]
|
|
5391
|
+
},
|
|
5392
|
+
"SdkMetricBatchWriteRequestDto": {
|
|
5393
|
+
"type": "object",
|
|
5394
|
+
"properties": {
|
|
5395
|
+
"companies": {
|
|
5396
|
+
"minItems": 1,
|
|
5397
|
+
"maxItems": 100,
|
|
5398
|
+
"description": "Each company may appear once. Maximum 1000 metric items and 10000 points across the request.",
|
|
5399
|
+
"type": "array",
|
|
5400
|
+
"items": {
|
|
5401
|
+
"$ref": "#/components/schemas/SdkCompanyMetricBatchWriteDto"
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
},
|
|
5405
|
+
"required": [
|
|
5406
|
+
"companies"
|
|
5407
|
+
]
|
|
5408
|
+
},
|
|
5409
|
+
"SdkMetricBatchWriteResponseDto": {
|
|
5410
|
+
"type": "object",
|
|
5411
|
+
"properties": {
|
|
5412
|
+
"companyCount": {
|
|
5413
|
+
"type": "number"
|
|
5414
|
+
},
|
|
5415
|
+
"metricCount": {
|
|
5416
|
+
"type": "number"
|
|
5417
|
+
},
|
|
5418
|
+
"pointsWritten": {
|
|
5419
|
+
"type": "number",
|
|
5420
|
+
"description": "Number of submitted points successfully upserted, including identical values. No point values are echoed."
|
|
5421
|
+
}
|
|
5422
|
+
},
|
|
5423
|
+
"required": [
|
|
5424
|
+
"companyCount",
|
|
5425
|
+
"metricCount",
|
|
5426
|
+
"pointsWritten"
|
|
5427
|
+
]
|
|
5428
|
+
},
|
|
5333
5429
|
"SdkMetricPointsWriteRequestDto": {
|
|
5334
5430
|
"type": "object",
|
|
5335
5431
|
"properties": {
|