Skip to content

Commit 24664f7

Browse files
author
Sentio Bot
committed
chore: update
1 parent 7ee1034 commit 24664f7

15 files changed

+829
-0
lines changed

doc/index.html

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,37 @@
14251425
"$ref" : "#/components/schemas/analytic_service.ExecutionInfo"
14261426
}
14271427
}
1428+
};
1429+
defs["analytic_service.QuerySegmentationResponse"] = {
1430+
"type" : "object",
1431+
"properties" : {
1432+
"results" : {
1433+
"type" : "array",
1434+
"items" : {
1435+
"$ref" : "#/components/schemas/analytic_service.QuerySegmentationResponse.Result"
1436+
}
1437+
}
1438+
}
1439+
};
1440+
defs["analytic_service.QuerySegmentationResponse.Result"] = {
1441+
"type" : "object",
1442+
"properties" : {
1443+
"matrix" : {
1444+
"$ref" : "#/components/schemas/common.Matrix"
1445+
},
1446+
"error" : {
1447+
"type" : "string"
1448+
},
1449+
"alias" : {
1450+
"type" : "string"
1451+
},
1452+
"id" : {
1453+
"type" : "string"
1454+
},
1455+
"computeStats" : {
1456+
"$ref" : "#/components/schemas/common.ComputeStats"
1457+
}
1458+
}
14281459
};
14291460
defs["analytic_service.SQLQuery"] = {
14301461
"type" : "object",
@@ -1503,6 +1534,56 @@
15031534
"format" : "int32"
15041535
}
15051536
}
1537+
};
1538+
defs["analytic_service.SegmentationRequest"] = {
1539+
"type" : "object",
1540+
"properties" : {
1541+
"projectOwner" : {
1542+
"type" : "string"
1543+
},
1544+
"projectSlug" : {
1545+
"type" : "string"
1546+
},
1547+
"projectId" : {
1548+
"type" : "string"
1549+
},
1550+
"version" : {
1551+
"type" : "integer",
1552+
"format" : "int32"
1553+
},
1554+
"timeRange" : {
1555+
"$ref" : "#/components/schemas/common.TimeRangeLite"
1556+
},
1557+
"queries" : {
1558+
"type" : "array",
1559+
"items" : {
1560+
"$ref" : "#/components/schemas/common.SegmentationQuery"
1561+
}
1562+
},
1563+
"formulas" : {
1564+
"type" : "array",
1565+
"items" : {
1566+
"$ref" : "#/components/schemas/common.Formula"
1567+
}
1568+
},
1569+
"systemSqlQueries" : {
1570+
"type" : "array",
1571+
"items" : {
1572+
"$ref" : "#/components/schemas/common.SystemSQLQuery"
1573+
}
1574+
},
1575+
"debug" : {
1576+
"type" : "boolean"
1577+
},
1578+
"limit" : {
1579+
"type" : "integer",
1580+
"format" : "int32"
1581+
},
1582+
"offset" : {
1583+
"type" : "integer",
1584+
"format" : "int32"
1585+
}
1586+
}
15061587
};
15071588
defs["analytic_service.Source"] = {
15081589
"type" : "string",
@@ -2926,6 +3007,76 @@
29263007
}
29273008
}
29283009
}
3010+
};
3011+
defs["common.SystemSQLQuery"] = {
3012+
"type" : "object",
3013+
"properties" : {
3014+
"id" : {
3015+
"type" : "string"
3016+
},
3017+
"alias" : {
3018+
"type" : "string"
3019+
},
3020+
"name" : {
3021+
"type" : "string"
3022+
},
3023+
"tableName" : {
3024+
"type" : "string"
3025+
},
3026+
"aggregation" : {
3027+
"$ref" : "#/components/schemas/common.SystemSQLQuery.Aggregation"
3028+
},
3029+
"selectorExpr" : {
3030+
"$ref" : "#/components/schemas/common.SelectorExpr"
3031+
},
3032+
"groupBy" : {
3033+
"type" : "array",
3034+
"items" : {
3035+
"type" : "string"
3036+
}
3037+
},
3038+
"disabled" : {
3039+
"type" : "boolean"
3040+
}
3041+
}
3042+
};
3043+
defs["common.SystemSQLQuery.Aggregation"] = {
3044+
"type" : "object",
3045+
"properties" : {
3046+
"total" : {
3047+
"$ref" : "#/components/schemas/common.SystemSQLQuery.Aggregation.Total"
3048+
},
3049+
"countUnique" : {
3050+
"$ref" : "#/components/schemas/common.SystemSQLQuery.Aggregation.CountUnique"
3051+
},
3052+
"aggregateProperties" : {
3053+
"$ref" : "#/components/schemas/common.SystemSQLQuery.Aggregation.AggregateProperties"
3054+
}
3055+
}
3056+
};
3057+
defs["common.SystemSQLQuery.Aggregation.AggregateProperties"] = {
3058+
"type" : "object",
3059+
"properties" : {
3060+
"type" : {
3061+
"$ref" : "#/components/schemas/common.SystemSQLQuery.Aggregation.AggregateProperties.AggregationType"
3062+
},
3063+
"propertyName" : {
3064+
"type" : "string"
3065+
}
3066+
}
3067+
};
3068+
defs["common.SystemSQLQuery.Aggregation.AggregateProperties.AggregationType"] = {
3069+
"type" : "string",
3070+
"default" : "SUM",
3071+
"enum" : [ "SUM", "AVG", "MEDIAN", "MIN", "MAX", "DISTINCT_COUNT" ]
3072+
};
3073+
defs["common.SystemSQLQuery.Aggregation.CountUnique"] = {
3074+
"type" : "object",
3075+
"properties" : {
3076+
"duration" : {
3077+
"$ref" : "#/components/schemas/common.Duration"
3078+
}
3079+
}
29293080
};
29303081
defs["common.TabularData"] = {
29313082
"type" : "object",

openapi.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3241,6 +3241,38 @@
32413241
}
32423242
}
32433243
},
3244+
"analytic_service.QuerySegmentationResponse": {
3245+
"type": "object",
3246+
"properties": {
3247+
"results": {
3248+
"type": "array",
3249+
"items": {
3250+
"type": "object",
3251+
"$ref": "#/definitions/analytic_service.QuerySegmentationResponse.Result"
3252+
}
3253+
}
3254+
}
3255+
},
3256+
"analytic_service.QuerySegmentationResponse.Result": {
3257+
"type": "object",
3258+
"properties": {
3259+
"matrix": {
3260+
"$ref": "#/definitions/common.Matrix"
3261+
},
3262+
"error": {
3263+
"type": "string"
3264+
},
3265+
"alias": {
3266+
"type": "string"
3267+
},
3268+
"id": {
3269+
"type": "string"
3270+
},
3271+
"computeStats": {
3272+
"$ref": "#/definitions/common.ComputeStats"
3273+
}
3274+
}
3275+
},
32443276
"analytic_service.SQLQuery": {
32453277
"type": "object",
32463278
"properties": {
@@ -3323,6 +3355,59 @@
33233355
}
33243356
}
33253357
},
3358+
"analytic_service.SegmentationRequest": {
3359+
"type": "object",
3360+
"properties": {
3361+
"projectOwner": {
3362+
"type": "string"
3363+
},
3364+
"projectSlug": {
3365+
"type": "string"
3366+
},
3367+
"projectId": {
3368+
"type": "string"
3369+
},
3370+
"version": {
3371+
"type": "integer",
3372+
"format": "int32"
3373+
},
3374+
"timeRange": {
3375+
"$ref": "#/definitions/common.TimeRangeLite"
3376+
},
3377+
"queries": {
3378+
"type": "array",
3379+
"items": {
3380+
"type": "object",
3381+
"$ref": "#/definitions/common.SegmentationQuery"
3382+
}
3383+
},
3384+
"formulas": {
3385+
"type": "array",
3386+
"items": {
3387+
"type": "object",
3388+
"$ref": "#/definitions/common.Formula"
3389+
}
3390+
},
3391+
"systemSqlQueries": {
3392+
"type": "array",
3393+
"items": {
3394+
"type": "object",
3395+
"$ref": "#/definitions/common.SystemSQLQuery"
3396+
}
3397+
},
3398+
"debug": {
3399+
"type": "boolean"
3400+
},
3401+
"limit": {
3402+
"type": "integer",
3403+
"format": "int32"
3404+
},
3405+
"offset": {
3406+
"type": "integer",
3407+
"format": "int32"
3408+
}
3409+
}
3410+
},
33263411
"analytic_service.Source": {
33273412
"type": "string",
33283413
"enum": [
@@ -4889,6 +4974,86 @@
48894974
}
48904975
}
48914976
},
4977+
"common.SystemSQLQuery": {
4978+
"type": "object",
4979+
"properties": {
4980+
"id": {
4981+
"type": "string"
4982+
},
4983+
"alias": {
4984+
"type": "string"
4985+
},
4986+
"name": {
4987+
"type": "string"
4988+
},
4989+
"tableName": {
4990+
"type": "string"
4991+
},
4992+
"aggregation": {
4993+
"$ref": "#/definitions/common.SystemSQLQuery.Aggregation"
4994+
},
4995+
"selectorExpr": {
4996+
"$ref": "#/definitions/common.SelectorExpr"
4997+
},
4998+
"groupBy": {
4999+
"type": "array",
5000+
"items": {
5001+
"type": "string"
5002+
}
5003+
},
5004+
"disabled": {
5005+
"type": "boolean"
5006+
}
5007+
}
5008+
},
5009+
"common.SystemSQLQuery.Aggregation": {
5010+
"type": "object",
5011+
"properties": {
5012+
"total": {
5013+
"$ref": "#/definitions/common.SystemSQLQuery.Aggregation.Total"
5014+
},
5015+
"countUnique": {
5016+
"$ref": "#/definitions/common.SystemSQLQuery.Aggregation.CountUnique"
5017+
},
5018+
"aggregateProperties": {
5019+
"$ref": "#/definitions/common.SystemSQLQuery.Aggregation.AggregateProperties"
5020+
}
5021+
}
5022+
},
5023+
"common.SystemSQLQuery.Aggregation.AggregateProperties": {
5024+
"type": "object",
5025+
"properties": {
5026+
"type": {
5027+
"$ref": "#/definitions/common.SystemSQLQuery.Aggregation.AggregateProperties.AggregationType"
5028+
},
5029+
"propertyName": {
5030+
"type": "string"
5031+
}
5032+
}
5033+
},
5034+
"common.SystemSQLQuery.Aggregation.AggregateProperties.AggregationType": {
5035+
"type": "string",
5036+
"enum": [
5037+
"SUM",
5038+
"AVG",
5039+
"MEDIAN",
5040+
"MIN",
5041+
"MAX",
5042+
"DISTINCT_COUNT"
5043+
],
5044+
"default": "SUM"
5045+
},
5046+
"common.SystemSQLQuery.Aggregation.CountUnique": {
5047+
"type": "object",
5048+
"properties": {
5049+
"duration": {
5050+
"$ref": "#/definitions/common.Duration"
5051+
}
5052+
}
5053+
},
5054+
"common.SystemSQLQuery.Aggregation.Total": {
5055+
"type": "object"
5056+
},
48925057
"common.TabularData": {
48935058
"type": "object",
48945059
"properties": {

src/models/AnalyticServiceQuerySegmentationResponse.ts

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)