syllable-sdk 0.1.0-alpha.39 → 0.1.0-alpha.40
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/README.md +24 -16
- package/docs/sdks/dashboards/README.md +178 -8
- package/docs/sdks/tools/README.md +12 -4
- package/docs/sdks/v1/README.md +178 -8
- package/funcs/dashboardsPostGetDashboard.d.ts +20 -0
- package/funcs/dashboardsPostGetDashboard.d.ts.map +1 -0
- package/funcs/dashboardsPostGetDashboard.js +108 -0
- package/funcs/dashboardsPostGetDashboard.js.map +1 -0
- package/funcs/dashboardsPostListDashboard.d.ts +20 -0
- package/funcs/dashboardsPostListDashboard.d.ts.map +1 -0
- package/funcs/dashboardsPostListDashboard.js +116 -0
- package/funcs/dashboardsPostListDashboard.js.map +1 -0
- package/funcs/dashboardsPostSessionEventsDashboard.d.ts +3 -0
- package/funcs/dashboardsPostSessionEventsDashboard.d.ts.map +1 -1
- package/funcs/dashboardsPostSessionEventsDashboard.js +3 -0
- package/funcs/dashboardsPostSessionEventsDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionSummaryDashboard.d.ts +3 -0
- package/funcs/dashboardsPostSessionSummaryDashboard.d.ts.map +1 -1
- package/funcs/dashboardsPostSessionSummaryDashboard.js +3 -0
- package/funcs/dashboardsPostSessionSummaryDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionTransfersDashboard.d.ts +3 -0
- package/funcs/dashboardsPostSessionTransfersDashboard.d.ts.map +1 -1
- package/funcs/dashboardsPostSessionTransfersDashboard.js +3 -0
- package/funcs/dashboardsPostSessionTransfersDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionsDashboard.d.ts +3 -0
- package/funcs/dashboardsPostSessionsDashboard.d.ts.map +1 -1
- package/funcs/dashboardsPostSessionsDashboard.js +3 -0
- package/funcs/dashboardsPostSessionsDashboard.js.map +1 -1
- package/funcs/v1PostGetDashboard.d.ts +20 -0
- package/funcs/v1PostGetDashboard.d.ts.map +1 -0
- package/funcs/v1PostGetDashboard.js +108 -0
- package/funcs/v1PostGetDashboard.js.map +1 -0
- package/funcs/v1PostListDashboard.d.ts +20 -0
- package/funcs/v1PostListDashboard.d.ts.map +1 -0
- package/funcs/v1PostListDashboard.js +116 -0
- package/funcs/v1PostListDashboard.js.map +1 -0
- package/funcs/v1PostSessionEventsDashboard.d.ts +3 -0
- package/funcs/v1PostSessionEventsDashboard.d.ts.map +1 -1
- package/funcs/v1PostSessionEventsDashboard.js +3 -0
- package/funcs/v1PostSessionEventsDashboard.js.map +1 -1
- package/funcs/v1PostSessionSummaryDashboard.d.ts +3 -0
- package/funcs/v1PostSessionSummaryDashboard.d.ts.map +1 -1
- package/funcs/v1PostSessionSummaryDashboard.js +3 -0
- package/funcs/v1PostSessionSummaryDashboard.js.map +1 -1
- package/funcs/v1PostSessionTransfersDashboard.d.ts +3 -0
- package/funcs/v1PostSessionTransfersDashboard.d.ts.map +1 -1
- package/funcs/v1PostSessionTransfersDashboard.js +3 -0
- package/funcs/v1PostSessionTransfersDashboard.js.map +1 -1
- package/funcs/v1PostSessionsDashboard.d.ts +3 -0
- package/funcs/v1PostSessionsDashboard.d.ts.map +1 -1
- package/funcs/v1PostSessionsDashboard.js +3 -0
- package/funcs/v1PostSessionsDashboard.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/dashboard.d.ts +3 -0
- package/models/components/dashboard.d.ts.map +1 -1
- package/models/components/dashboard.js.map +1 -1
- package/models/components/dashboardproperties.d.ts +37 -0
- package/models/components/dashboardproperties.d.ts.map +1 -0
- package/models/components/dashboardproperties.js +53 -0
- package/models/components/dashboardproperties.js.map +1 -0
- package/models/components/dashboardresponse.d.ts +50 -0
- package/models/components/dashboardresponse.d.ts.map +1 -0
- package/models/components/dashboardresponse.js +74 -0
- package/models/components/dashboardresponse.js.map +1 -0
- package/models/components/dashboardtokenresponse.d.ts +65 -0
- package/models/components/dashboardtokenresponse.d.ts.map +1 -0
- package/models/components/dashboardtokenresponse.js +86 -0
- package/models/components/dashboardtokenresponse.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listresponsedashboardresponse.d.ts +38 -0
- package/models/components/listresponsedashboardresponse.d.ts.map +1 -0
- package/models/components/listresponsedashboardresponse.js +81 -0
- package/models/components/listresponsedashboardresponse.js.map +1 -0
- package/models/components/tooldefinition.d.ts +8 -50
- package/models/components/tooldefinition.d.ts.map +1 -1
- package/models/components/tooldefinition.js +7 -68
- package/models/components/tooldefinition.js.map +1 -1
- package/models/components/toolfunction.d.ts +2 -26
- package/models/components/toolfunction.d.ts.map +1 -1
- package/models/components/toolfunction.js +3 -26
- package/models/components/toolfunction.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/postgetdashboard.d.ts +29 -0
- package/models/operations/postgetdashboard.d.ts.map +1 -0
- package/models/operations/postgetdashboard.js +68 -0
- package/models/operations/postgetdashboard.js.map +1 -0
- package/models/operations/postlistdashboard.d.ts +46 -0
- package/models/operations/postlistdashboard.d.ts.map +1 -0
- package/models/operations/postlistdashboard.js +101 -0
- package/models/operations/postlistdashboard.js.map +1 -0
- package/openapi.json +381 -11
- package/package.json +1 -1
- package/sdk/dashboards.d.ts +33 -0
- package/sdk/dashboards.d.ts.map +1 -1
- package/sdk/dashboards.js +38 -0
- package/sdk/dashboards.js.map +1 -1
- package/sdk/v1.d.ts +33 -0
- package/sdk/v1.d.ts.map +1 -1
- package/sdk/v1.js +38 -0
- package/sdk/v1.js.map +1 -1
- package/src/funcs/dashboardsPostGetDashboard.ts +142 -0
- package/src/funcs/dashboardsPostListDashboard.ts +150 -0
- package/src/funcs/dashboardsPostSessionEventsDashboard.ts +3 -0
- package/src/funcs/dashboardsPostSessionSummaryDashboard.ts +3 -0
- package/src/funcs/dashboardsPostSessionTransfersDashboard.ts +3 -0
- package/src/funcs/dashboardsPostSessionsDashboard.ts +3 -0
- package/src/funcs/v1PostGetDashboard.ts +142 -0
- package/src/funcs/v1PostListDashboard.ts +150 -0
- package/src/funcs/v1PostSessionEventsDashboard.ts +3 -0
- package/src/funcs/v1PostSessionSummaryDashboard.ts +3 -0
- package/src/funcs/v1PostSessionTransfersDashboard.ts +3 -0
- package/src/funcs/v1PostSessionsDashboard.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/dashboard.ts +3 -0
- package/src/models/components/dashboardproperties.ts +36 -0
- package/src/models/components/dashboardresponse.ts +102 -0
- package/src/models/components/dashboardtokenresponse.ts +129 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/listresponsedashboardresponse.ts +103 -0
- package/src/models/components/tooldefinition.ts +12 -107
- package/src/models/components/toolfunction.ts +4 -53
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/postgetdashboard.ts +75 -0
- package/src/models/operations/postlistdashboard.ts +124 -0
- package/src/sdk/dashboards.ts +55 -0
- package/src/sdk/v1.ts +55 -0
package/openapi.json
CHANGED
|
@@ -4681,6 +4681,234 @@
|
|
|
4681
4681
|
"x-speakeasy-ignore": true
|
|
4682
4682
|
}
|
|
4683
4683
|
},
|
|
4684
|
+
"/api/v1/dashboards/list": {
|
|
4685
|
+
"post": {
|
|
4686
|
+
"tags": [
|
|
4687
|
+
"dashboards",
|
|
4688
|
+
"V1"
|
|
4689
|
+
],
|
|
4690
|
+
"summary": "Post List Dashboards",
|
|
4691
|
+
"description": "METHOD: POST\nURL: /dashboard/list\nARGUMENTS: None\nRETURNS: List of dashboards",
|
|
4692
|
+
"operationId": "post_list_dashboard",
|
|
4693
|
+
"security": [
|
|
4694
|
+
{
|
|
4695
|
+
"APIKeyHeader": []
|
|
4696
|
+
}
|
|
4697
|
+
],
|
|
4698
|
+
"parameters": [
|
|
4699
|
+
{
|
|
4700
|
+
"name": "page",
|
|
4701
|
+
"in": "query",
|
|
4702
|
+
"required": false,
|
|
4703
|
+
"schema": {
|
|
4704
|
+
"anyOf": [
|
|
4705
|
+
{
|
|
4706
|
+
"type": "integer",
|
|
4707
|
+
"minimum": 0
|
|
4708
|
+
},
|
|
4709
|
+
{
|
|
4710
|
+
"type": "null"
|
|
4711
|
+
}
|
|
4712
|
+
],
|
|
4713
|
+
"default": 0,
|
|
4714
|
+
"title": "Page"
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"name": "limit",
|
|
4719
|
+
"in": "query",
|
|
4720
|
+
"required": false,
|
|
4721
|
+
"schema": {
|
|
4722
|
+
"type": "integer",
|
|
4723
|
+
"minimum": 0,
|
|
4724
|
+
"default": 25,
|
|
4725
|
+
"title": "Limit"
|
|
4726
|
+
}
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"name": "search_fields",
|
|
4730
|
+
"in": "query",
|
|
4731
|
+
"required": false,
|
|
4732
|
+
"schema": {
|
|
4733
|
+
"type": "array",
|
|
4734
|
+
"items": {
|
|
4735
|
+
"$ref": "#/components/schemas/DashboardProperties"
|
|
4736
|
+
},
|
|
4737
|
+
"default": [],
|
|
4738
|
+
"title": "Search Fields"
|
|
4739
|
+
}
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
"name": "search_field_values",
|
|
4743
|
+
"in": "query",
|
|
4744
|
+
"required": false,
|
|
4745
|
+
"schema": {
|
|
4746
|
+
"type": "array",
|
|
4747
|
+
"items": {
|
|
4748
|
+
"type": "string"
|
|
4749
|
+
},
|
|
4750
|
+
"default": [],
|
|
4751
|
+
"title": "Search Field Values"
|
|
4752
|
+
}
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"name": "order_by",
|
|
4756
|
+
"in": "query",
|
|
4757
|
+
"required": false,
|
|
4758
|
+
"schema": {
|
|
4759
|
+
"anyOf": [
|
|
4760
|
+
{
|
|
4761
|
+
"$ref": "#/components/schemas/DashboardProperties"
|
|
4762
|
+
},
|
|
4763
|
+
{
|
|
4764
|
+
"type": "null"
|
|
4765
|
+
}
|
|
4766
|
+
],
|
|
4767
|
+
"title": "Order By"
|
|
4768
|
+
}
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
"name": "order_by_direction",
|
|
4772
|
+
"in": "query",
|
|
4773
|
+
"required": false,
|
|
4774
|
+
"schema": {
|
|
4775
|
+
"anyOf": [
|
|
4776
|
+
{
|
|
4777
|
+
"$ref": "#/components/schemas/OrderByDirection"
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
"type": "null"
|
|
4781
|
+
}
|
|
4782
|
+
],
|
|
4783
|
+
"title": "Order By Direction"
|
|
4784
|
+
}
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
"name": "fields",
|
|
4788
|
+
"in": "query",
|
|
4789
|
+
"required": false,
|
|
4790
|
+
"schema": {
|
|
4791
|
+
"anyOf": [
|
|
4792
|
+
{
|
|
4793
|
+
"type": "array",
|
|
4794
|
+
"items": {
|
|
4795
|
+
"$ref": "#/components/schemas/DashboardProperties"
|
|
4796
|
+
}
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
"type": "null"
|
|
4800
|
+
}
|
|
4801
|
+
],
|
|
4802
|
+
"default": [],
|
|
4803
|
+
"title": "Fields"
|
|
4804
|
+
}
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"name": "start_datetime",
|
|
4808
|
+
"in": "query",
|
|
4809
|
+
"required": false,
|
|
4810
|
+
"schema": {
|
|
4811
|
+
"anyOf": [
|
|
4812
|
+
{
|
|
4813
|
+
"type": "string"
|
|
4814
|
+
},
|
|
4815
|
+
{
|
|
4816
|
+
"type": "null"
|
|
4817
|
+
}
|
|
4818
|
+
],
|
|
4819
|
+
"title": "Start Datetime"
|
|
4820
|
+
}
|
|
4821
|
+
},
|
|
4822
|
+
{
|
|
4823
|
+
"name": "end_datetime",
|
|
4824
|
+
"in": "query",
|
|
4825
|
+
"required": false,
|
|
4826
|
+
"schema": {
|
|
4827
|
+
"anyOf": [
|
|
4828
|
+
{
|
|
4829
|
+
"type": "string"
|
|
4830
|
+
},
|
|
4831
|
+
{
|
|
4832
|
+
"type": "null"
|
|
4833
|
+
}
|
|
4834
|
+
],
|
|
4835
|
+
"title": "End Datetime"
|
|
4836
|
+
}
|
|
4837
|
+
}
|
|
4838
|
+
],
|
|
4839
|
+
"responses": {
|
|
4840
|
+
"200": {
|
|
4841
|
+
"description": "Successful Response",
|
|
4842
|
+
"content": {
|
|
4843
|
+
"application/json": {
|
|
4844
|
+
"schema": {
|
|
4845
|
+
"$ref": "#/components/schemas/ListResponse_DashboardResponse_"
|
|
4846
|
+
}
|
|
4847
|
+
}
|
|
4848
|
+
}
|
|
4849
|
+
},
|
|
4850
|
+
"422": {
|
|
4851
|
+
"description": "Validation Error",
|
|
4852
|
+
"content": {
|
|
4853
|
+
"application/json": {
|
|
4854
|
+
"schema": {
|
|
4855
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
}
|
|
4859
|
+
}
|
|
4860
|
+
}
|
|
4861
|
+
}
|
|
4862
|
+
},
|
|
4863
|
+
"/api/v1/dashboards/fetch_info": {
|
|
4864
|
+
"post": {
|
|
4865
|
+
"tags": [
|
|
4866
|
+
"dashboards",
|
|
4867
|
+
"V1"
|
|
4868
|
+
],
|
|
4869
|
+
"summary": "Post Fetch Info",
|
|
4870
|
+
"description": "METHOD: POST\nURL: /dashboard/fetch_info\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
|
|
4871
|
+
"operationId": "post_get_dashboard",
|
|
4872
|
+
"security": [
|
|
4873
|
+
{
|
|
4874
|
+
"APIKeyHeader": []
|
|
4875
|
+
}
|
|
4876
|
+
],
|
|
4877
|
+
"parameters": [
|
|
4878
|
+
{
|
|
4879
|
+
"name": "dashboard_name",
|
|
4880
|
+
"in": "query",
|
|
4881
|
+
"required": true,
|
|
4882
|
+
"schema": {
|
|
4883
|
+
"type": "string",
|
|
4884
|
+
"title": "Dashboard Name"
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
],
|
|
4888
|
+
"responses": {
|
|
4889
|
+
"200": {
|
|
4890
|
+
"description": "Successful Response",
|
|
4891
|
+
"content": {
|
|
4892
|
+
"application/json": {
|
|
4893
|
+
"schema": {
|
|
4894
|
+
"$ref": "#/components/schemas/DashboardTokenResponse"
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
},
|
|
4899
|
+
"422": {
|
|
4900
|
+
"description": "Validation Error",
|
|
4901
|
+
"content": {
|
|
4902
|
+
"application/json": {
|
|
4903
|
+
"schema": {
|
|
4904
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
4905
|
+
}
|
|
4906
|
+
}
|
|
4907
|
+
}
|
|
4908
|
+
}
|
|
4909
|
+
}
|
|
4910
|
+
}
|
|
4911
|
+
},
|
|
4684
4912
|
"/api/v1/dashboards/session_events": {
|
|
4685
4913
|
"post": {
|
|
4686
4914
|
"tags": [
|
|
@@ -4688,7 +4916,7 @@
|
|
|
4688
4916
|
"V1"
|
|
4689
4917
|
],
|
|
4690
4918
|
"summary": "Post Session Events",
|
|
4691
|
-
"description": "METHOD: POST\nURL: /dashboard/session_events\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
|
|
4919
|
+
"description": "METHOD: POST\nURL: /dashboard/session_events\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
|
|
4692
4920
|
"operationId": "post_session_events_dashboard",
|
|
4693
4921
|
"responses": {
|
|
4694
4922
|
"200": {
|
|
@@ -4702,6 +4930,7 @@
|
|
|
4702
4930
|
}
|
|
4703
4931
|
}
|
|
4704
4932
|
},
|
|
4933
|
+
"deprecated": true,
|
|
4705
4934
|
"security": [
|
|
4706
4935
|
{
|
|
4707
4936
|
"APIKeyHeader": []
|
|
@@ -4716,7 +4945,7 @@
|
|
|
4716
4945
|
"V1"
|
|
4717
4946
|
],
|
|
4718
4947
|
"summary": "Post Session Summary",
|
|
4719
|
-
"description": "METHOD: POST\nURL: /dashboard/session_summary\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
|
|
4948
|
+
"description": "METHOD: POST\nURL: /dashboard/session_summary\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
|
|
4720
4949
|
"operationId": "post_session_summary_dashboard",
|
|
4721
4950
|
"responses": {
|
|
4722
4951
|
"200": {
|
|
@@ -4730,6 +4959,7 @@
|
|
|
4730
4959
|
}
|
|
4731
4960
|
}
|
|
4732
4961
|
},
|
|
4962
|
+
"deprecated": true,
|
|
4733
4963
|
"security": [
|
|
4734
4964
|
{
|
|
4735
4965
|
"APIKeyHeader": []
|
|
@@ -4744,7 +4974,7 @@
|
|
|
4744
4974
|
"V1"
|
|
4745
4975
|
],
|
|
4746
4976
|
"summary": "Post Session Transfers",
|
|
4747
|
-
"description": "METHOD: POST\nURL: /dashboard/session_transfers\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
|
|
4977
|
+
"description": "METHOD: POST\nURL: /dashboard/session_transfers\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
|
|
4748
4978
|
"operationId": "post_session_transfers_dashboard",
|
|
4749
4979
|
"responses": {
|
|
4750
4980
|
"200": {
|
|
@@ -4758,6 +4988,7 @@
|
|
|
4758
4988
|
}
|
|
4759
4989
|
}
|
|
4760
4990
|
},
|
|
4991
|
+
"deprecated": true,
|
|
4761
4992
|
"security": [
|
|
4762
4993
|
{
|
|
4763
4994
|
"APIKeyHeader": []
|
|
@@ -4772,7 +5003,7 @@
|
|
|
4772
5003
|
"V1"
|
|
4773
5004
|
],
|
|
4774
5005
|
"summary": "Post Sessions",
|
|
4775
|
-
"description": "METHOD: POST\nURL: /dashboard/sessions\nARGUMENTS: None\nRETURNS: Dashboard info for embedding",
|
|
5006
|
+
"description": "METHOD: POST\nURL: /dashboard/sessions\nARGUMENTS: None\nRETURNS: Dashboard info for embedding\nDEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead",
|
|
4776
5007
|
"operationId": "post_sessions_dashboard",
|
|
4777
5008
|
"responses": {
|
|
4778
5009
|
"200": {
|
|
@@ -4786,6 +5017,7 @@
|
|
|
4786
5017
|
}
|
|
4787
5018
|
}
|
|
4788
5019
|
},
|
|
5020
|
+
"deprecated": true,
|
|
4789
5021
|
"security": [
|
|
4790
5022
|
{
|
|
4791
5023
|
"APIKeyHeader": []
|
|
@@ -7501,6 +7733,101 @@
|
|
|
7501
7733
|
"superset_url"
|
|
7502
7734
|
],
|
|
7503
7735
|
"title": "Dashboard",
|
|
7736
|
+
"description": "Deprecated. Please update to use DashboardTokenResponse.\nBasic information about a dashboard."
|
|
7737
|
+
},
|
|
7738
|
+
"DashboardProperties": {
|
|
7739
|
+
"type": "string",
|
|
7740
|
+
"enum": [
|
|
7741
|
+
"id",
|
|
7742
|
+
"name",
|
|
7743
|
+
"display_name",
|
|
7744
|
+
"rank",
|
|
7745
|
+
"label"
|
|
7746
|
+
],
|
|
7747
|
+
"title": "DashboardProperties"
|
|
7748
|
+
},
|
|
7749
|
+
"DashboardResponse": {
|
|
7750
|
+
"properties": {
|
|
7751
|
+
"name": {
|
|
7752
|
+
"type": "string",
|
|
7753
|
+
"title": "Name",
|
|
7754
|
+
"description": "Name of the dashboard"
|
|
7755
|
+
},
|
|
7756
|
+
"display_name": {
|
|
7757
|
+
"type": "string",
|
|
7758
|
+
"title": "Display Name",
|
|
7759
|
+
"description": "Display name of the dashboard"
|
|
7760
|
+
},
|
|
7761
|
+
"rank": {
|
|
7762
|
+
"type": "integer",
|
|
7763
|
+
"title": "Rank",
|
|
7764
|
+
"description": "Dashboard importance, 0 is the highest"
|
|
7765
|
+
},
|
|
7766
|
+
"label": {
|
|
7767
|
+
"type": "string",
|
|
7768
|
+
"title": "Label",
|
|
7769
|
+
"description": "Dashboard label. Typically report or dashboard"
|
|
7770
|
+
}
|
|
7771
|
+
},
|
|
7772
|
+
"type": "object",
|
|
7773
|
+
"required": [
|
|
7774
|
+
"name",
|
|
7775
|
+
"display_name",
|
|
7776
|
+
"rank",
|
|
7777
|
+
"label"
|
|
7778
|
+
],
|
|
7779
|
+
"title": "DashboardResponse",
|
|
7780
|
+
"description": "Basic information about a dashboard with a description."
|
|
7781
|
+
},
|
|
7782
|
+
"DashboardTokenResponse": {
|
|
7783
|
+
"properties": {
|
|
7784
|
+
"embedded_id": {
|
|
7785
|
+
"type": "string",
|
|
7786
|
+
"title": "Embedded Id",
|
|
7787
|
+
"description": "Superset embedded ID of the dashboard"
|
|
7788
|
+
},
|
|
7789
|
+
"guest_token": {
|
|
7790
|
+
"type": "string",
|
|
7791
|
+
"title": "Guest Token",
|
|
7792
|
+
"description": "Superset guest token of the dashboard"
|
|
7793
|
+
},
|
|
7794
|
+
"name": {
|
|
7795
|
+
"type": "string",
|
|
7796
|
+
"title": "Name",
|
|
7797
|
+
"description": "Name of the dashboard"
|
|
7798
|
+
},
|
|
7799
|
+
"display_name": {
|
|
7800
|
+
"type": "string",
|
|
7801
|
+
"title": "Display Name",
|
|
7802
|
+
"description": "Display name of the dashboard"
|
|
7803
|
+
},
|
|
7804
|
+
"superset_url": {
|
|
7805
|
+
"type": "string",
|
|
7806
|
+
"title": "Superset Url",
|
|
7807
|
+
"description": "Superset URL of the dashboard"
|
|
7808
|
+
},
|
|
7809
|
+
"rank": {
|
|
7810
|
+
"type": "integer",
|
|
7811
|
+
"title": "Rank",
|
|
7812
|
+
"description": "Dashboard importance, 0 is the highest"
|
|
7813
|
+
},
|
|
7814
|
+
"label": {
|
|
7815
|
+
"type": "string",
|
|
7816
|
+
"title": "Label",
|
|
7817
|
+
"description": "Dashboard label. Typically report or dashboard"
|
|
7818
|
+
}
|
|
7819
|
+
},
|
|
7820
|
+
"type": "object",
|
|
7821
|
+
"required": [
|
|
7822
|
+
"embedded_id",
|
|
7823
|
+
"guest_token",
|
|
7824
|
+
"name",
|
|
7825
|
+
"display_name",
|
|
7826
|
+
"superset_url",
|
|
7827
|
+
"rank",
|
|
7828
|
+
"label"
|
|
7829
|
+
],
|
|
7830
|
+
"title": "DashboardTokenResponse",
|
|
7504
7831
|
"description": "Basic information about a dashboard."
|
|
7505
7832
|
},
|
|
7506
7833
|
"DataSourceCreateRequest": {
|
|
@@ -8516,6 +8843,54 @@
|
|
|
8516
8843
|
],
|
|
8517
8844
|
"title": "ListResponse[CustomMessageResponse]"
|
|
8518
8845
|
},
|
|
8846
|
+
"ListResponse_DashboardResponse_": {
|
|
8847
|
+
"properties": {
|
|
8848
|
+
"items": {
|
|
8849
|
+
"items": {
|
|
8850
|
+
"$ref": "#/components/schemas/DashboardResponse"
|
|
8851
|
+
},
|
|
8852
|
+
"type": "array",
|
|
8853
|
+
"title": "Items"
|
|
8854
|
+
},
|
|
8855
|
+
"page": {
|
|
8856
|
+
"type": "integer",
|
|
8857
|
+
"title": "Page"
|
|
8858
|
+
},
|
|
8859
|
+
"page_size": {
|
|
8860
|
+
"type": "integer",
|
|
8861
|
+
"title": "Page Size"
|
|
8862
|
+
},
|
|
8863
|
+
"total_pages": {
|
|
8864
|
+
"anyOf": [
|
|
8865
|
+
{
|
|
8866
|
+
"type": "integer"
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
"type": "null"
|
|
8870
|
+
}
|
|
8871
|
+
],
|
|
8872
|
+
"title": "Total Pages"
|
|
8873
|
+
},
|
|
8874
|
+
"total_count": {
|
|
8875
|
+
"anyOf": [
|
|
8876
|
+
{
|
|
8877
|
+
"type": "integer"
|
|
8878
|
+
},
|
|
8879
|
+
{
|
|
8880
|
+
"type": "null"
|
|
8881
|
+
}
|
|
8882
|
+
],
|
|
8883
|
+
"title": "Total Count"
|
|
8884
|
+
}
|
|
8885
|
+
},
|
|
8886
|
+
"type": "object",
|
|
8887
|
+
"required": [
|
|
8888
|
+
"items",
|
|
8889
|
+
"page",
|
|
8890
|
+
"page_size"
|
|
8891
|
+
],
|
|
8892
|
+
"title": "ListResponse[DashboardResponse]"
|
|
8893
|
+
},
|
|
8519
8894
|
"ListResponse_DataSourceMetadataResponse_": {
|
|
8520
8895
|
"properties": {
|
|
8521
8896
|
"items": {
|
|
@@ -10413,9 +10788,7 @@
|
|
|
10413
10788
|
},
|
|
10414
10789
|
"defaults": {
|
|
10415
10790
|
"anyOf": [
|
|
10416
|
-
{
|
|
10417
|
-
"type": "object"
|
|
10418
|
-
},
|
|
10791
|
+
{},
|
|
10419
10792
|
{
|
|
10420
10793
|
"additionalProperties": {
|
|
10421
10794
|
"$ref": "#/components/schemas/ToolParameterDefault"
|
|
@@ -10431,9 +10804,7 @@
|
|
|
10431
10804
|
},
|
|
10432
10805
|
"result": {
|
|
10433
10806
|
"anyOf": [
|
|
10434
|
-
{
|
|
10435
|
-
"type": "object"
|
|
10436
|
-
},
|
|
10807
|
+
{},
|
|
10437
10808
|
{
|
|
10438
10809
|
"type": "null"
|
|
10439
10810
|
}
|
|
@@ -10540,7 +10911,6 @@
|
|
|
10540
10911
|
"description": "The description of the tool."
|
|
10541
10912
|
},
|
|
10542
10913
|
"parameters": {
|
|
10543
|
-
"type": "object",
|
|
10544
10914
|
"title": "Parameters",
|
|
10545
10915
|
"description": "The JSON Schema of parameters of the function/tool call."
|
|
10546
10916
|
}
|
package/package.json
CHANGED
package/sdk/dashboards.d.ts
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
|
+
import * as operations from "../models/operations/index.js";
|
|
3
4
|
export declare class Dashboards extends ClientSDK {
|
|
5
|
+
/**
|
|
6
|
+
* Post List Dashboards
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* METHOD: POST
|
|
10
|
+
* URL: /dashboard/list
|
|
11
|
+
* ARGUMENTS: None
|
|
12
|
+
* RETURNS: List of dashboards
|
|
13
|
+
*/
|
|
14
|
+
postListDashboard(request: operations.PostListDashboardRequest, options?: RequestOptions): Promise<components.ListResponseDashboardResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Post Fetch Info
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* METHOD: POST
|
|
20
|
+
* URL: /dashboard/fetch_info
|
|
21
|
+
* ARGUMENTS: None
|
|
22
|
+
* RETURNS: Dashboard info for embedding
|
|
23
|
+
*/
|
|
24
|
+
postGetDashboard(request: operations.PostGetDashboardRequest, options?: RequestOptions): Promise<components.DashboardTokenResponse>;
|
|
4
25
|
/**
|
|
5
26
|
* Post Session Events
|
|
6
27
|
*
|
|
@@ -9,6 +30,9 @@ export declare class Dashboards extends ClientSDK {
|
|
|
9
30
|
* URL: /dashboard/session_events
|
|
10
31
|
* ARGUMENTS: None
|
|
11
32
|
* RETURNS: Dashboard info for embedding
|
|
33
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
34
|
+
*
|
|
35
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
12
36
|
*/
|
|
13
37
|
postSessionEventsDashboard(options?: RequestOptions): Promise<components.Dashboard>;
|
|
14
38
|
/**
|
|
@@ -19,6 +43,9 @@ export declare class Dashboards extends ClientSDK {
|
|
|
19
43
|
* URL: /dashboard/session_summary
|
|
20
44
|
* ARGUMENTS: None
|
|
21
45
|
* RETURNS: Dashboard info for embedding
|
|
46
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
47
|
+
*
|
|
48
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
49
|
*/
|
|
23
50
|
postSessionSummaryDashboard(options?: RequestOptions): Promise<components.Dashboard>;
|
|
24
51
|
/**
|
|
@@ -29,6 +56,9 @@ export declare class Dashboards extends ClientSDK {
|
|
|
29
56
|
* URL: /dashboard/session_transfers
|
|
30
57
|
* ARGUMENTS: None
|
|
31
58
|
* RETURNS: Dashboard info for embedding
|
|
59
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
60
|
+
*
|
|
61
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
32
62
|
*/
|
|
33
63
|
postSessionTransfersDashboard(options?: RequestOptions): Promise<components.Dashboard>;
|
|
34
64
|
/**
|
|
@@ -39,6 +69,9 @@ export declare class Dashboards extends ClientSDK {
|
|
|
39
69
|
* URL: /dashboard/sessions
|
|
40
70
|
* ARGUMENTS: None
|
|
41
71
|
* RETURNS: Dashboard info for embedding
|
|
72
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
73
|
+
*
|
|
74
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
42
75
|
*/
|
|
43
76
|
postSessionsDashboard(options?: RequestOptions): Promise<components.Dashboard>;
|
|
44
77
|
}
|
package/sdk/dashboards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboards.d.ts","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dashboards.d.ts","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;;;;;;OAQG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC;IAQpD;;;;;;;;OAQG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;;;;;;;OAWG;IACG,0BAA0B,CAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC;IAOhC;;;;;;;;;;;OAWG;IACG,2BAA2B,CAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC;IAOhC;;;;;;;;;;;OAWG;IACG,6BAA6B,CACjC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC;IAOhC;;;;;;;;;;;OAWG;IACG,qBAAqB,CACzB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC;CAMjC"}
|
package/sdk/dashboards.js
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Dashboards = void 0;
|
|
7
|
+
const dashboardsPostGetDashboard_js_1 = require("../funcs/dashboardsPostGetDashboard.js");
|
|
8
|
+
const dashboardsPostListDashboard_js_1 = require("../funcs/dashboardsPostListDashboard.js");
|
|
7
9
|
const dashboardsPostSessionEventsDashboard_js_1 = require("../funcs/dashboardsPostSessionEventsDashboard.js");
|
|
8
10
|
const dashboardsPostSessionsDashboard_js_1 = require("../funcs/dashboardsPostSessionsDashboard.js");
|
|
9
11
|
const dashboardsPostSessionSummaryDashboard_js_1 = require("../funcs/dashboardsPostSessionSummaryDashboard.js");
|
|
@@ -11,6 +13,30 @@ const dashboardsPostSessionTransfersDashboard_js_1 = require("../funcs/dashboard
|
|
|
11
13
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
12
14
|
const fp_js_1 = require("../types/fp.js");
|
|
13
15
|
class Dashboards extends sdks_js_1.ClientSDK {
|
|
16
|
+
/**
|
|
17
|
+
* Post List Dashboards
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* METHOD: POST
|
|
21
|
+
* URL: /dashboard/list
|
|
22
|
+
* ARGUMENTS: None
|
|
23
|
+
* RETURNS: List of dashboards
|
|
24
|
+
*/
|
|
25
|
+
async postListDashboard(request, options) {
|
|
26
|
+
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostListDashboard_js_1.dashboardsPostListDashboard)(this, request, options));
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Post Fetch Info
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* METHOD: POST
|
|
33
|
+
* URL: /dashboard/fetch_info
|
|
34
|
+
* ARGUMENTS: None
|
|
35
|
+
* RETURNS: Dashboard info for embedding
|
|
36
|
+
*/
|
|
37
|
+
async postGetDashboard(request, options) {
|
|
38
|
+
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostGetDashboard_js_1.dashboardsPostGetDashboard)(this, request, options));
|
|
39
|
+
}
|
|
14
40
|
/**
|
|
15
41
|
* Post Session Events
|
|
16
42
|
*
|
|
@@ -19,6 +45,9 @@ class Dashboards extends sdks_js_1.ClientSDK {
|
|
|
19
45
|
* URL: /dashboard/session_events
|
|
20
46
|
* ARGUMENTS: None
|
|
21
47
|
* RETURNS: Dashboard info for embedding
|
|
48
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
49
|
+
*
|
|
50
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
51
|
*/
|
|
23
52
|
async postSessionEventsDashboard(options) {
|
|
24
53
|
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostSessionEventsDashboard_js_1.dashboardsPostSessionEventsDashboard)(this, options));
|
|
@@ -31,6 +60,9 @@ class Dashboards extends sdks_js_1.ClientSDK {
|
|
|
31
60
|
* URL: /dashboard/session_summary
|
|
32
61
|
* ARGUMENTS: None
|
|
33
62
|
* RETURNS: Dashboard info for embedding
|
|
63
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
64
|
+
*
|
|
65
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
66
|
*/
|
|
35
67
|
async postSessionSummaryDashboard(options) {
|
|
36
68
|
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostSessionSummaryDashboard_js_1.dashboardsPostSessionSummaryDashboard)(this, options));
|
|
@@ -43,6 +75,9 @@ class Dashboards extends sdks_js_1.ClientSDK {
|
|
|
43
75
|
* URL: /dashboard/session_transfers
|
|
44
76
|
* ARGUMENTS: None
|
|
45
77
|
* RETURNS: Dashboard info for embedding
|
|
78
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
79
|
+
*
|
|
80
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
46
81
|
*/
|
|
47
82
|
async postSessionTransfersDashboard(options) {
|
|
48
83
|
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostSessionTransfersDashboard_js_1.dashboardsPostSessionTransfersDashboard)(this, options));
|
|
@@ -55,6 +90,9 @@ class Dashboards extends sdks_js_1.ClientSDK {
|
|
|
55
90
|
* URL: /dashboard/sessions
|
|
56
91
|
* ARGUMENTS: None
|
|
57
92
|
* RETURNS: Dashboard info for embedding
|
|
93
|
+
* DEPRECATED: This endpoint is deprecated. Please use /dashboard/list instead
|
|
94
|
+
*
|
|
95
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
58
96
|
*/
|
|
59
97
|
async postSessionsDashboard(options) {
|
|
60
98
|
return (0, fp_js_1.unwrapAsync)((0, dashboardsPostSessionsDashboard_js_1.dashboardsPostSessionsDashboard)(this, options));
|
package/sdk/dashboards.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8GAAwG;AACxG,oGAA8F;AAC9F,gHAA0G;AAC1G,oHAA8G;AAC9G,4CAA2D;
|
|
1
|
+
{"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,4FAAsF;AACtF,8GAAwG;AACxG,oGAA8F;AAC9F,gHAA0G;AAC1G,oHAA8G;AAC9G,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,UAAW,SAAQ,mBAAS;IACvC;;;;;;;;OAQG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4DAA2B,EAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAA2C,EAC3C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8EAAoC,EACrD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,2BAA2B,CAC/B,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gFAAqC,EACtD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,6BAA6B,CACjC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oFAAuC,EACxD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,qBAAqB,CACzB,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,oEAA+B,EAChD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA5HD,gCA4HC"}
|