ultracart-rest-sdk 4.1.19__py3-none-any.whl → 4.1.21__py3-none-any.whl
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.
- ultracart/__init__.py +1 -1
- ultracart/api/datawarehouse_api.py +931 -62
- ultracart/api/order_api.py +153 -0
- ultracart/api_client.py +1 -1
- ultracart/apis/__init__.py +0 -1
- ultracart/configuration.py +1 -1
- ultracart/model/custom_dashboard_schedule.py +280 -0
- ultracart/model/{chargeback_disputes_response.py → custom_dashboard_schedule_response.py} +9 -9
- ultracart/model/custom_dashboard_schedules_response.py +292 -0
- ultracart/model/custom_report.py +4 -0
- ultracart/model/custom_report_account_config.py +4 -0
- ultracart/model/custom_report_analysis_request.py +268 -0
- ultracart/model/{chargeback_dispute_response.py → custom_report_analysis_response.py} +7 -9
- ultracart/model/custom_report_chart_png_upload_response.py +294 -0
- ultracart/model/email_campaign.py +8 -0
- ultracart/model/item_tag.py +2 -2
- ultracart/model/order_payment.py +2 -0
- ultracart/model/{chargeback_dispute.py → replace_order_item_id_request.py} +19 -137
- ultracart/models/__init__.py +7 -3
- {ultracart_rest_sdk-4.1.19.dist-info → ultracart_rest_sdk-4.1.21.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.1.19.dist-info → ultracart_rest_sdk-4.1.21.dist-info}/RECORD +24 -21
- ultracart/api/chargeback_api.py +0 -818
- {ultracart_rest_sdk-4.1.19.dist-info → ultracart_rest_sdk-4.1.21.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.1.19.dist-info → ultracart_rest_sdk-4.1.21.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.1.19.dist-info → ultracart_rest_sdk-4.1.21.dist-info}/top_level.txt +0 -0
|
@@ -24,10 +24,16 @@ from ultracart.model_utils import ( # noqa: F401
|
|
|
24
24
|
)
|
|
25
25
|
from ultracart.model.custom_dashboard import CustomDashboard
|
|
26
26
|
from ultracart.model.custom_dashboard_response import CustomDashboardResponse
|
|
27
|
+
from ultracart.model.custom_dashboard_schedule import CustomDashboardSchedule
|
|
28
|
+
from ultracart.model.custom_dashboard_schedule_response import CustomDashboardScheduleResponse
|
|
29
|
+
from ultracart.model.custom_dashboard_schedules_response import CustomDashboardSchedulesResponse
|
|
27
30
|
from ultracart.model.custom_dashboards_response import CustomDashboardsResponse
|
|
28
31
|
from ultracart.model.custom_report import CustomReport
|
|
29
32
|
from ultracart.model.custom_report_account_config import CustomReportAccountConfig
|
|
30
33
|
from ultracart.model.custom_report_account_config_response import CustomReportAccountConfigResponse
|
|
34
|
+
from ultracart.model.custom_report_analysis_request import CustomReportAnalysisRequest
|
|
35
|
+
from ultracart.model.custom_report_analysis_response import CustomReportAnalysisResponse
|
|
36
|
+
from ultracart.model.custom_report_chart_png_upload_response import CustomReportChartPngUploadResponse
|
|
31
37
|
from ultracart.model.custom_report_execution_request import CustomReportExecutionRequest
|
|
32
38
|
from ultracart.model.custom_report_execution_response import CustomReportExecutionResponse
|
|
33
39
|
from ultracart.model.custom_report_response import CustomReportResponse
|
|
@@ -68,6 +74,65 @@ class DatawarehouseApi(object):
|
|
|
68
74
|
if api_client is None:
|
|
69
75
|
api_client = ApiClient()
|
|
70
76
|
self.api_client = api_client
|
|
77
|
+
self.analyze_custom_report_endpoint = _Endpoint(
|
|
78
|
+
settings={
|
|
79
|
+
'response_type': (CustomReportAnalysisResponse,),
|
|
80
|
+
'auth': [
|
|
81
|
+
'ultraCartOauth',
|
|
82
|
+
'ultraCartSimpleApiKey'
|
|
83
|
+
],
|
|
84
|
+
'endpoint_path': '/datawarehouse/custom_reports/{custom_report_oid}/analysis',
|
|
85
|
+
'operation_id': 'analyze_custom_report',
|
|
86
|
+
'http_method': 'PUT',
|
|
87
|
+
'servers': None,
|
|
88
|
+
},
|
|
89
|
+
params_map={
|
|
90
|
+
'all': [
|
|
91
|
+
'custom_report_oid',
|
|
92
|
+
'analyze_request',
|
|
93
|
+
],
|
|
94
|
+
'required': [
|
|
95
|
+
'custom_report_oid',
|
|
96
|
+
'analyze_request',
|
|
97
|
+
],
|
|
98
|
+
'nullable': [
|
|
99
|
+
],
|
|
100
|
+
'enum': [
|
|
101
|
+
],
|
|
102
|
+
'validation': [
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
root_map={
|
|
106
|
+
'validations': {
|
|
107
|
+
},
|
|
108
|
+
'allowed_values': {
|
|
109
|
+
},
|
|
110
|
+
'openapi_types': {
|
|
111
|
+
'custom_report_oid':
|
|
112
|
+
(int,),
|
|
113
|
+
'analyze_request':
|
|
114
|
+
(CustomReportAnalysisRequest,),
|
|
115
|
+
},
|
|
116
|
+
'attribute_map': {
|
|
117
|
+
'custom_report_oid': 'custom_report_oid',
|
|
118
|
+
},
|
|
119
|
+
'location_map': {
|
|
120
|
+
'custom_report_oid': 'path',
|
|
121
|
+
'analyze_request': 'body',
|
|
122
|
+
},
|
|
123
|
+
'collection_format_map': {
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
headers_map={
|
|
127
|
+
'accept': [
|
|
128
|
+
'application/json'
|
|
129
|
+
],
|
|
130
|
+
'content_type': [
|
|
131
|
+
'application/json; charset=UTF-8'
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
api_client=api_client
|
|
135
|
+
)
|
|
71
136
|
self.delete_custom_dashboard_endpoint = _Endpoint(
|
|
72
137
|
settings={
|
|
73
138
|
'response_type': None,
|
|
@@ -120,6 +185,64 @@ class DatawarehouseApi(object):
|
|
|
120
185
|
},
|
|
121
186
|
api_client=api_client
|
|
122
187
|
)
|
|
188
|
+
self.delete_custom_dashboard_schedule_endpoint = _Endpoint(
|
|
189
|
+
settings={
|
|
190
|
+
'response_type': None,
|
|
191
|
+
'auth': [
|
|
192
|
+
'ultraCartOauth',
|
|
193
|
+
'ultraCartSimpleApiKey'
|
|
194
|
+
],
|
|
195
|
+
'endpoint_path': '/datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules/{custom_dashboard_schedule_oid}',
|
|
196
|
+
'operation_id': 'delete_custom_dashboard_schedule',
|
|
197
|
+
'http_method': 'DELETE',
|
|
198
|
+
'servers': None,
|
|
199
|
+
},
|
|
200
|
+
params_map={
|
|
201
|
+
'all': [
|
|
202
|
+
'custom_dashboard_schedule_oid',
|
|
203
|
+
'custom_dashboard_oid',
|
|
204
|
+
],
|
|
205
|
+
'required': [
|
|
206
|
+
'custom_dashboard_schedule_oid',
|
|
207
|
+
'custom_dashboard_oid',
|
|
208
|
+
],
|
|
209
|
+
'nullable': [
|
|
210
|
+
],
|
|
211
|
+
'enum': [
|
|
212
|
+
],
|
|
213
|
+
'validation': [
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
root_map={
|
|
217
|
+
'validations': {
|
|
218
|
+
},
|
|
219
|
+
'allowed_values': {
|
|
220
|
+
},
|
|
221
|
+
'openapi_types': {
|
|
222
|
+
'custom_dashboard_schedule_oid':
|
|
223
|
+
(int,),
|
|
224
|
+
'custom_dashboard_oid':
|
|
225
|
+
(int,),
|
|
226
|
+
},
|
|
227
|
+
'attribute_map': {
|
|
228
|
+
'custom_dashboard_schedule_oid': 'custom_dashboard_schedule_oid',
|
|
229
|
+
'custom_dashboard_oid': 'custom_dashboard_oid',
|
|
230
|
+
},
|
|
231
|
+
'location_map': {
|
|
232
|
+
'custom_dashboard_schedule_oid': 'path',
|
|
233
|
+
'custom_dashboard_oid': 'path',
|
|
234
|
+
},
|
|
235
|
+
'collection_format_map': {
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
headers_map={
|
|
239
|
+
'accept': [
|
|
240
|
+
'application/json'
|
|
241
|
+
],
|
|
242
|
+
'content_type': [],
|
|
243
|
+
},
|
|
244
|
+
api_client=api_client
|
|
245
|
+
)
|
|
123
246
|
self.delete_custom_report_endpoint = _Endpoint(
|
|
124
247
|
settings={
|
|
125
248
|
'response_type': None,
|
|
@@ -494,6 +617,58 @@ class DatawarehouseApi(object):
|
|
|
494
617
|
},
|
|
495
618
|
api_client=api_client
|
|
496
619
|
)
|
|
620
|
+
self.get_custom_dashboard_schedules_endpoint = _Endpoint(
|
|
621
|
+
settings={
|
|
622
|
+
'response_type': (CustomDashboardSchedulesResponse,),
|
|
623
|
+
'auth': [
|
|
624
|
+
'ultraCartOauth',
|
|
625
|
+
'ultraCartSimpleApiKey'
|
|
626
|
+
],
|
|
627
|
+
'endpoint_path': '/datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules',
|
|
628
|
+
'operation_id': 'get_custom_dashboard_schedules',
|
|
629
|
+
'http_method': 'GET',
|
|
630
|
+
'servers': None,
|
|
631
|
+
},
|
|
632
|
+
params_map={
|
|
633
|
+
'all': [
|
|
634
|
+
'custom_dashboard_oid',
|
|
635
|
+
],
|
|
636
|
+
'required': [
|
|
637
|
+
'custom_dashboard_oid',
|
|
638
|
+
],
|
|
639
|
+
'nullable': [
|
|
640
|
+
],
|
|
641
|
+
'enum': [
|
|
642
|
+
],
|
|
643
|
+
'validation': [
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
root_map={
|
|
647
|
+
'validations': {
|
|
648
|
+
},
|
|
649
|
+
'allowed_values': {
|
|
650
|
+
},
|
|
651
|
+
'openapi_types': {
|
|
652
|
+
'custom_dashboard_oid':
|
|
653
|
+
(int,),
|
|
654
|
+
},
|
|
655
|
+
'attribute_map': {
|
|
656
|
+
'custom_dashboard_oid': 'custom_dashboard_oid',
|
|
657
|
+
},
|
|
658
|
+
'location_map': {
|
|
659
|
+
'custom_dashboard_oid': 'path',
|
|
660
|
+
},
|
|
661
|
+
'collection_format_map': {
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
headers_map={
|
|
665
|
+
'accept': [
|
|
666
|
+
'application/json'
|
|
667
|
+
],
|
|
668
|
+
'content_type': [],
|
|
669
|
+
},
|
|
670
|
+
api_client=api_client
|
|
671
|
+
)
|
|
497
672
|
self.get_custom_dashboards_endpoint = _Endpoint(
|
|
498
673
|
settings={
|
|
499
674
|
'response_type': (CustomDashboardsResponse,),
|
|
@@ -636,6 +811,58 @@ class DatawarehouseApi(object):
|
|
|
636
811
|
},
|
|
637
812
|
api_client=api_client
|
|
638
813
|
)
|
|
814
|
+
self.get_custom_report_chart_png_upload_url_endpoint = _Endpoint(
|
|
815
|
+
settings={
|
|
816
|
+
'response_type': (CustomReportChartPngUploadResponse,),
|
|
817
|
+
'auth': [
|
|
818
|
+
'ultraCartOauth',
|
|
819
|
+
'ultraCartSimpleApiKey'
|
|
820
|
+
],
|
|
821
|
+
'endpoint_path': '/datawarehouse/custom_reports/{custom_report_oid}/chart_png',
|
|
822
|
+
'operation_id': 'get_custom_report_chart_png_upload_url',
|
|
823
|
+
'http_method': 'GET',
|
|
824
|
+
'servers': None,
|
|
825
|
+
},
|
|
826
|
+
params_map={
|
|
827
|
+
'all': [
|
|
828
|
+
'custom_report_oid',
|
|
829
|
+
],
|
|
830
|
+
'required': [
|
|
831
|
+
'custom_report_oid',
|
|
832
|
+
],
|
|
833
|
+
'nullable': [
|
|
834
|
+
],
|
|
835
|
+
'enum': [
|
|
836
|
+
],
|
|
837
|
+
'validation': [
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
root_map={
|
|
841
|
+
'validations': {
|
|
842
|
+
},
|
|
843
|
+
'allowed_values': {
|
|
844
|
+
},
|
|
845
|
+
'openapi_types': {
|
|
846
|
+
'custom_report_oid':
|
|
847
|
+
(int,),
|
|
848
|
+
},
|
|
849
|
+
'attribute_map': {
|
|
850
|
+
'custom_report_oid': 'custom_report_oid',
|
|
851
|
+
},
|
|
852
|
+
'location_map': {
|
|
853
|
+
'custom_report_oid': 'path',
|
|
854
|
+
},
|
|
855
|
+
'collection_format_map': {
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
headers_map={
|
|
859
|
+
'accept': [
|
|
860
|
+
'application/json'
|
|
861
|
+
],
|
|
862
|
+
'content_type': [],
|
|
863
|
+
},
|
|
864
|
+
api_client=api_client
|
|
865
|
+
)
|
|
639
866
|
self.get_custom_reports_endpoint = _Endpoint(
|
|
640
867
|
settings={
|
|
641
868
|
'response_type': (CustomReportsResponse,),
|
|
@@ -986,6 +1213,65 @@ class DatawarehouseApi(object):
|
|
|
986
1213
|
},
|
|
987
1214
|
api_client=api_client
|
|
988
1215
|
)
|
|
1216
|
+
self.insert_custom_dashboard_schedule_endpoint = _Endpoint(
|
|
1217
|
+
settings={
|
|
1218
|
+
'response_type': (CustomDashboardScheduleResponse,),
|
|
1219
|
+
'auth': [
|
|
1220
|
+
'ultraCartOauth',
|
|
1221
|
+
'ultraCartSimpleApiKey'
|
|
1222
|
+
],
|
|
1223
|
+
'endpoint_path': '/datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules',
|
|
1224
|
+
'operation_id': 'insert_custom_dashboard_schedule',
|
|
1225
|
+
'http_method': 'POST',
|
|
1226
|
+
'servers': None,
|
|
1227
|
+
},
|
|
1228
|
+
params_map={
|
|
1229
|
+
'all': [
|
|
1230
|
+
'custom_dashboard_oid',
|
|
1231
|
+
'dashboard_schedule',
|
|
1232
|
+
],
|
|
1233
|
+
'required': [
|
|
1234
|
+
'custom_dashboard_oid',
|
|
1235
|
+
'dashboard_schedule',
|
|
1236
|
+
],
|
|
1237
|
+
'nullable': [
|
|
1238
|
+
],
|
|
1239
|
+
'enum': [
|
|
1240
|
+
],
|
|
1241
|
+
'validation': [
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
root_map={
|
|
1245
|
+
'validations': {
|
|
1246
|
+
},
|
|
1247
|
+
'allowed_values': {
|
|
1248
|
+
},
|
|
1249
|
+
'openapi_types': {
|
|
1250
|
+
'custom_dashboard_oid':
|
|
1251
|
+
(int,),
|
|
1252
|
+
'dashboard_schedule':
|
|
1253
|
+
(CustomDashboardSchedule,),
|
|
1254
|
+
},
|
|
1255
|
+
'attribute_map': {
|
|
1256
|
+
'custom_dashboard_oid': 'custom_dashboard_oid',
|
|
1257
|
+
},
|
|
1258
|
+
'location_map': {
|
|
1259
|
+
'custom_dashboard_oid': 'path',
|
|
1260
|
+
'dashboard_schedule': 'body',
|
|
1261
|
+
},
|
|
1262
|
+
'collection_format_map': {
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
headers_map={
|
|
1266
|
+
'accept': [
|
|
1267
|
+
'application/json'
|
|
1268
|
+
],
|
|
1269
|
+
'content_type': [
|
|
1270
|
+
'application/json; charset=UTF-8'
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
api_client=api_client
|
|
1274
|
+
)
|
|
989
1275
|
self.insert_custom_report_endpoint = _Endpoint(
|
|
990
1276
|
settings={
|
|
991
1277
|
'response_type': (CustomReportResponse,),
|
|
@@ -1151,26 +1437,91 @@ class DatawarehouseApi(object):
|
|
|
1151
1437
|
},
|
|
1152
1438
|
api_client=api_client
|
|
1153
1439
|
)
|
|
1154
|
-
self.
|
|
1440
|
+
self.update_custom_dashboard_schedule_endpoint = _Endpoint(
|
|
1155
1441
|
settings={
|
|
1156
|
-
'response_type': (
|
|
1442
|
+
'response_type': (CustomDashboardResponse,),
|
|
1157
1443
|
'auth': [
|
|
1158
1444
|
'ultraCartOauth',
|
|
1159
1445
|
'ultraCartSimpleApiKey'
|
|
1160
1446
|
],
|
|
1161
|
-
'endpoint_path': '/datawarehouse/
|
|
1162
|
-
'operation_id': '
|
|
1447
|
+
'endpoint_path': '/datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules/{custom_dashboard_schedule_oid}',
|
|
1448
|
+
'operation_id': 'update_custom_dashboard_schedule',
|
|
1163
1449
|
'http_method': 'PUT',
|
|
1164
1450
|
'servers': None,
|
|
1165
1451
|
},
|
|
1166
1452
|
params_map={
|
|
1167
1453
|
'all': [
|
|
1168
|
-
'
|
|
1169
|
-
'
|
|
1454
|
+
'custom_dashboard_schedule_oid',
|
|
1455
|
+
'custom_dashboard_oid',
|
|
1456
|
+
'dashboard_schedule',
|
|
1170
1457
|
],
|
|
1171
1458
|
'required': [
|
|
1172
|
-
'
|
|
1173
|
-
'
|
|
1459
|
+
'custom_dashboard_schedule_oid',
|
|
1460
|
+
'custom_dashboard_oid',
|
|
1461
|
+
'dashboard_schedule',
|
|
1462
|
+
],
|
|
1463
|
+
'nullable': [
|
|
1464
|
+
],
|
|
1465
|
+
'enum': [
|
|
1466
|
+
],
|
|
1467
|
+
'validation': [
|
|
1468
|
+
]
|
|
1469
|
+
},
|
|
1470
|
+
root_map={
|
|
1471
|
+
'validations': {
|
|
1472
|
+
},
|
|
1473
|
+
'allowed_values': {
|
|
1474
|
+
},
|
|
1475
|
+
'openapi_types': {
|
|
1476
|
+
'custom_dashboard_schedule_oid':
|
|
1477
|
+
(int,),
|
|
1478
|
+
'custom_dashboard_oid':
|
|
1479
|
+
(int,),
|
|
1480
|
+
'dashboard_schedule':
|
|
1481
|
+
(CustomDashboardSchedule,),
|
|
1482
|
+
},
|
|
1483
|
+
'attribute_map': {
|
|
1484
|
+
'custom_dashboard_schedule_oid': 'custom_dashboard_schedule_oid',
|
|
1485
|
+
'custom_dashboard_oid': 'custom_dashboard_oid',
|
|
1486
|
+
},
|
|
1487
|
+
'location_map': {
|
|
1488
|
+
'custom_dashboard_schedule_oid': 'path',
|
|
1489
|
+
'custom_dashboard_oid': 'path',
|
|
1490
|
+
'dashboard_schedule': 'body',
|
|
1491
|
+
},
|
|
1492
|
+
'collection_format_map': {
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
headers_map={
|
|
1496
|
+
'accept': [
|
|
1497
|
+
'application/json'
|
|
1498
|
+
],
|
|
1499
|
+
'content_type': [
|
|
1500
|
+
'application/json; charset=UTF-8'
|
|
1501
|
+
]
|
|
1502
|
+
},
|
|
1503
|
+
api_client=api_client
|
|
1504
|
+
)
|
|
1505
|
+
self.update_custom_report_endpoint = _Endpoint(
|
|
1506
|
+
settings={
|
|
1507
|
+
'response_type': (CustomReportResponse,),
|
|
1508
|
+
'auth': [
|
|
1509
|
+
'ultraCartOauth',
|
|
1510
|
+
'ultraCartSimpleApiKey'
|
|
1511
|
+
],
|
|
1512
|
+
'endpoint_path': '/datawarehouse/custom_reports/{custom_report_oid}',
|
|
1513
|
+
'operation_id': 'update_custom_report',
|
|
1514
|
+
'http_method': 'PUT',
|
|
1515
|
+
'servers': None,
|
|
1516
|
+
},
|
|
1517
|
+
params_map={
|
|
1518
|
+
'all': [
|
|
1519
|
+
'custom_report_oid',
|
|
1520
|
+
'report',
|
|
1521
|
+
],
|
|
1522
|
+
'required': [
|
|
1523
|
+
'custom_report_oid',
|
|
1524
|
+
'report',
|
|
1174
1525
|
],
|
|
1175
1526
|
'nullable': [
|
|
1176
1527
|
],
|
|
@@ -1323,6 +1674,93 @@ class DatawarehouseApi(object):
|
|
|
1323
1674
|
api_client=api_client
|
|
1324
1675
|
)
|
|
1325
1676
|
|
|
1677
|
+
def analyze_custom_report(
|
|
1678
|
+
self,
|
|
1679
|
+
custom_report_oid,
|
|
1680
|
+
analyze_request,
|
|
1681
|
+
**kwargs
|
|
1682
|
+
):
|
|
1683
|
+
"""Analyze a custom report # noqa: E501
|
|
1684
|
+
|
|
1685
|
+
Analyze a custom report on the UltraCart account. # noqa: E501
|
|
1686
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1687
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1688
|
+
|
|
1689
|
+
>>> thread = api.analyze_custom_report(custom_report_oid, analyze_request, async_req=True)
|
|
1690
|
+
>>> result = thread.get()
|
|
1691
|
+
|
|
1692
|
+
Args:
|
|
1693
|
+
custom_report_oid (int): The report oid to analyze.
|
|
1694
|
+
analyze_request (CustomReportAnalysisRequest): Request to analyze custom report
|
|
1695
|
+
|
|
1696
|
+
Keyword Args:
|
|
1697
|
+
_return_http_data_only (bool): response data without head status
|
|
1698
|
+
code and headers. Default is True.
|
|
1699
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1700
|
+
will be returned without reading/decoding response data.
|
|
1701
|
+
Default is True.
|
|
1702
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1703
|
+
one number provided, it will be total request timeout. It can also
|
|
1704
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1705
|
+
Default is None.
|
|
1706
|
+
_check_input_type (bool): specifies if type checking
|
|
1707
|
+
should be done one the data sent to the server.
|
|
1708
|
+
Default is True.
|
|
1709
|
+
_check_return_type (bool): specifies if type checking
|
|
1710
|
+
should be done one the data received from the server.
|
|
1711
|
+
Default is True.
|
|
1712
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1713
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1714
|
+
False if the variable names in the input data
|
|
1715
|
+
are pythonic names, e.g. snake case (default)
|
|
1716
|
+
_content_type (str/None): force body content-type.
|
|
1717
|
+
Default is None and content-type will be predicted by allowed
|
|
1718
|
+
content-types and body.
|
|
1719
|
+
_host_index (int/None): specifies the index of the server
|
|
1720
|
+
that we want to use.
|
|
1721
|
+
Default is read from the configuration.
|
|
1722
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1723
|
+
request; this effectively ignores the authentication
|
|
1724
|
+
in the spec for a single request.
|
|
1725
|
+
Default is None
|
|
1726
|
+
async_req (bool): execute request asynchronously
|
|
1727
|
+
|
|
1728
|
+
Returns:
|
|
1729
|
+
CustomReportAnalysisResponse
|
|
1730
|
+
If the method is called asynchronously, returns the request
|
|
1731
|
+
thread.
|
|
1732
|
+
"""
|
|
1733
|
+
kwargs['async_req'] = kwargs.get(
|
|
1734
|
+
'async_req', False
|
|
1735
|
+
)
|
|
1736
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1737
|
+
'_return_http_data_only', True
|
|
1738
|
+
)
|
|
1739
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1740
|
+
'_preload_content', True
|
|
1741
|
+
)
|
|
1742
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1743
|
+
'_request_timeout', None
|
|
1744
|
+
)
|
|
1745
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1746
|
+
'_check_input_type', True
|
|
1747
|
+
)
|
|
1748
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1749
|
+
'_check_return_type', True
|
|
1750
|
+
)
|
|
1751
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1752
|
+
'_spec_property_naming', False
|
|
1753
|
+
)
|
|
1754
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1755
|
+
'_content_type')
|
|
1756
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1757
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1758
|
+
kwargs['custom_report_oid'] = \
|
|
1759
|
+
custom_report_oid
|
|
1760
|
+
kwargs['analyze_request'] = \
|
|
1761
|
+
analyze_request
|
|
1762
|
+
return self.analyze_custom_report_endpoint.call_with_http_info(**kwargs)
|
|
1763
|
+
|
|
1326
1764
|
def delete_custom_dashboard(
|
|
1327
1765
|
self,
|
|
1328
1766
|
custom_dashboard_oid,
|
|
@@ -1406,6 +1844,93 @@ class DatawarehouseApi(object):
|
|
|
1406
1844
|
custom_dashboard_oid
|
|
1407
1845
|
return self.delete_custom_dashboard_endpoint.call_with_http_info(**kwargs)
|
|
1408
1846
|
|
|
1847
|
+
def delete_custom_dashboard_schedule(
|
|
1848
|
+
self,
|
|
1849
|
+
custom_dashboard_schedule_oid,
|
|
1850
|
+
custom_dashboard_oid,
|
|
1851
|
+
**kwargs
|
|
1852
|
+
):
|
|
1853
|
+
"""Delete a custom dashboard schedule # noqa: E501
|
|
1854
|
+
|
|
1855
|
+
delete a custom dashboard schedule on the UltraCart account. # noqa: E501
|
|
1856
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1857
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1858
|
+
|
|
1859
|
+
>>> thread = api.delete_custom_dashboard_schedule(custom_dashboard_schedule_oid, custom_dashboard_oid, async_req=True)
|
|
1860
|
+
>>> result = thread.get()
|
|
1861
|
+
|
|
1862
|
+
Args:
|
|
1863
|
+
custom_dashboard_schedule_oid (int): The dashboard schedule oid to delete.
|
|
1864
|
+
custom_dashboard_oid (int): The dashboard oid that owns the schedule.
|
|
1865
|
+
|
|
1866
|
+
Keyword Args:
|
|
1867
|
+
_return_http_data_only (bool): response data without head status
|
|
1868
|
+
code and headers. Default is True.
|
|
1869
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1870
|
+
will be returned without reading/decoding response data.
|
|
1871
|
+
Default is True.
|
|
1872
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1873
|
+
one number provided, it will be total request timeout. It can also
|
|
1874
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1875
|
+
Default is None.
|
|
1876
|
+
_check_input_type (bool): specifies if type checking
|
|
1877
|
+
should be done one the data sent to the server.
|
|
1878
|
+
Default is True.
|
|
1879
|
+
_check_return_type (bool): specifies if type checking
|
|
1880
|
+
should be done one the data received from the server.
|
|
1881
|
+
Default is True.
|
|
1882
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1883
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1884
|
+
False if the variable names in the input data
|
|
1885
|
+
are pythonic names, e.g. snake case (default)
|
|
1886
|
+
_content_type (str/None): force body content-type.
|
|
1887
|
+
Default is None and content-type will be predicted by allowed
|
|
1888
|
+
content-types and body.
|
|
1889
|
+
_host_index (int/None): specifies the index of the server
|
|
1890
|
+
that we want to use.
|
|
1891
|
+
Default is read from the configuration.
|
|
1892
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1893
|
+
request; this effectively ignores the authentication
|
|
1894
|
+
in the spec for a single request.
|
|
1895
|
+
Default is None
|
|
1896
|
+
async_req (bool): execute request asynchronously
|
|
1897
|
+
|
|
1898
|
+
Returns:
|
|
1899
|
+
None
|
|
1900
|
+
If the method is called asynchronously, returns the request
|
|
1901
|
+
thread.
|
|
1902
|
+
"""
|
|
1903
|
+
kwargs['async_req'] = kwargs.get(
|
|
1904
|
+
'async_req', False
|
|
1905
|
+
)
|
|
1906
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1907
|
+
'_return_http_data_only', True
|
|
1908
|
+
)
|
|
1909
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1910
|
+
'_preload_content', True
|
|
1911
|
+
)
|
|
1912
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1913
|
+
'_request_timeout', None
|
|
1914
|
+
)
|
|
1915
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1916
|
+
'_check_input_type', True
|
|
1917
|
+
)
|
|
1918
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1919
|
+
'_check_return_type', True
|
|
1920
|
+
)
|
|
1921
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1922
|
+
'_spec_property_naming', False
|
|
1923
|
+
)
|
|
1924
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1925
|
+
'_content_type')
|
|
1926
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1927
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1928
|
+
kwargs['custom_dashboard_schedule_oid'] = \
|
|
1929
|
+
custom_dashboard_schedule_oid
|
|
1930
|
+
kwargs['custom_dashboard_oid'] = \
|
|
1931
|
+
custom_dashboard_oid
|
|
1932
|
+
return self.delete_custom_dashboard_schedule_endpoint.call_with_http_info(**kwargs)
|
|
1933
|
+
|
|
1409
1934
|
def delete_custom_report(
|
|
1410
1935
|
self,
|
|
1411
1936
|
custom_report_oid,
|
|
@@ -1742,22 +2267,188 @@ class DatawarehouseApi(object):
|
|
|
1742
2267
|
execution_request
|
|
1743
2268
|
return self.execute_custom_report_endpoint.call_with_http_info(**kwargs)
|
|
1744
2269
|
|
|
1745
|
-
def execute_custom_reports(
|
|
2270
|
+
def execute_custom_reports(
|
|
2271
|
+
self,
|
|
2272
|
+
execution_request,
|
|
2273
|
+
**kwargs
|
|
2274
|
+
):
|
|
2275
|
+
"""Execute a custom reports # noqa: E501
|
|
2276
|
+
|
|
2277
|
+
Execute a custom reports on the UltraCart account. # noqa: E501
|
|
2278
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2279
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2280
|
+
|
|
2281
|
+
>>> thread = api.execute_custom_reports(execution_request, async_req=True)
|
|
2282
|
+
>>> result = thread.get()
|
|
2283
|
+
|
|
2284
|
+
Args:
|
|
2285
|
+
execution_request (CustomReportsExecutionRequest): Request to execute custom reports
|
|
2286
|
+
|
|
2287
|
+
Keyword Args:
|
|
2288
|
+
_return_http_data_only (bool): response data without head status
|
|
2289
|
+
code and headers. Default is True.
|
|
2290
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
2291
|
+
will be returned without reading/decoding response data.
|
|
2292
|
+
Default is True.
|
|
2293
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
2294
|
+
one number provided, it will be total request timeout. It can also
|
|
2295
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
2296
|
+
Default is None.
|
|
2297
|
+
_check_input_type (bool): specifies if type checking
|
|
2298
|
+
should be done one the data sent to the server.
|
|
2299
|
+
Default is True.
|
|
2300
|
+
_check_return_type (bool): specifies if type checking
|
|
2301
|
+
should be done one the data received from the server.
|
|
2302
|
+
Default is True.
|
|
2303
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
2304
|
+
are serialized names, as specified in the OpenAPI document.
|
|
2305
|
+
False if the variable names in the input data
|
|
2306
|
+
are pythonic names, e.g. snake case (default)
|
|
2307
|
+
_content_type (str/None): force body content-type.
|
|
2308
|
+
Default is None and content-type will be predicted by allowed
|
|
2309
|
+
content-types and body.
|
|
2310
|
+
_host_index (int/None): specifies the index of the server
|
|
2311
|
+
that we want to use.
|
|
2312
|
+
Default is read from the configuration.
|
|
2313
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
2314
|
+
request; this effectively ignores the authentication
|
|
2315
|
+
in the spec for a single request.
|
|
2316
|
+
Default is None
|
|
2317
|
+
async_req (bool): execute request asynchronously
|
|
2318
|
+
|
|
2319
|
+
Returns:
|
|
2320
|
+
CustomReportsExecutionResponse
|
|
2321
|
+
If the method is called asynchronously, returns the request
|
|
2322
|
+
thread.
|
|
2323
|
+
"""
|
|
2324
|
+
kwargs['async_req'] = kwargs.get(
|
|
2325
|
+
'async_req', False
|
|
2326
|
+
)
|
|
2327
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
2328
|
+
'_return_http_data_only', True
|
|
2329
|
+
)
|
|
2330
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
2331
|
+
'_preload_content', True
|
|
2332
|
+
)
|
|
2333
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
2334
|
+
'_request_timeout', None
|
|
2335
|
+
)
|
|
2336
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
2337
|
+
'_check_input_type', True
|
|
2338
|
+
)
|
|
2339
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
2340
|
+
'_check_return_type', True
|
|
2341
|
+
)
|
|
2342
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
2343
|
+
'_spec_property_naming', False
|
|
2344
|
+
)
|
|
2345
|
+
kwargs['_content_type'] = kwargs.get(
|
|
2346
|
+
'_content_type')
|
|
2347
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2348
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2349
|
+
kwargs['execution_request'] = \
|
|
2350
|
+
execution_request
|
|
2351
|
+
return self.execute_custom_reports_endpoint.call_with_http_info(**kwargs)
|
|
2352
|
+
|
|
2353
|
+
def execute_report_queries(
|
|
2354
|
+
self,
|
|
2355
|
+
query_request,
|
|
2356
|
+
**kwargs
|
|
2357
|
+
):
|
|
2358
|
+
"""Execute the report queries # noqa: E501
|
|
2359
|
+
|
|
2360
|
+
Execute the report queries # noqa: E501
|
|
2361
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2362
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2363
|
+
|
|
2364
|
+
>>> thread = api.execute_report_queries(query_request, async_req=True)
|
|
2365
|
+
>>> result = thread.get()
|
|
2366
|
+
|
|
2367
|
+
Args:
|
|
2368
|
+
query_request (ReportExecuteQueriesRequest): Query request
|
|
2369
|
+
|
|
2370
|
+
Keyword Args:
|
|
2371
|
+
_return_http_data_only (bool): response data without head status
|
|
2372
|
+
code and headers. Default is True.
|
|
2373
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
2374
|
+
will be returned without reading/decoding response data.
|
|
2375
|
+
Default is True.
|
|
2376
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
2377
|
+
one number provided, it will be total request timeout. It can also
|
|
2378
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
2379
|
+
Default is None.
|
|
2380
|
+
_check_input_type (bool): specifies if type checking
|
|
2381
|
+
should be done one the data sent to the server.
|
|
2382
|
+
Default is True.
|
|
2383
|
+
_check_return_type (bool): specifies if type checking
|
|
2384
|
+
should be done one the data received from the server.
|
|
2385
|
+
Default is True.
|
|
2386
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
2387
|
+
are serialized names, as specified in the OpenAPI document.
|
|
2388
|
+
False if the variable names in the input data
|
|
2389
|
+
are pythonic names, e.g. snake case (default)
|
|
2390
|
+
_content_type (str/None): force body content-type.
|
|
2391
|
+
Default is None and content-type will be predicted by allowed
|
|
2392
|
+
content-types and body.
|
|
2393
|
+
_host_index (int/None): specifies the index of the server
|
|
2394
|
+
that we want to use.
|
|
2395
|
+
Default is read from the configuration.
|
|
2396
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
2397
|
+
request; this effectively ignores the authentication
|
|
2398
|
+
in the spec for a single request.
|
|
2399
|
+
Default is None
|
|
2400
|
+
async_req (bool): execute request asynchronously
|
|
2401
|
+
|
|
2402
|
+
Returns:
|
|
2403
|
+
None
|
|
2404
|
+
If the method is called asynchronously, returns the request
|
|
2405
|
+
thread.
|
|
2406
|
+
"""
|
|
2407
|
+
kwargs['async_req'] = kwargs.get(
|
|
2408
|
+
'async_req', False
|
|
2409
|
+
)
|
|
2410
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
2411
|
+
'_return_http_data_only', True
|
|
2412
|
+
)
|
|
2413
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
2414
|
+
'_preload_content', True
|
|
2415
|
+
)
|
|
2416
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
2417
|
+
'_request_timeout', None
|
|
2418
|
+
)
|
|
2419
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
2420
|
+
'_check_input_type', True
|
|
2421
|
+
)
|
|
2422
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
2423
|
+
'_check_return_type', True
|
|
2424
|
+
)
|
|
2425
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
2426
|
+
'_spec_property_naming', False
|
|
2427
|
+
)
|
|
2428
|
+
kwargs['_content_type'] = kwargs.get(
|
|
2429
|
+
'_content_type')
|
|
2430
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2431
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2432
|
+
kwargs['query_request'] = \
|
|
2433
|
+
query_request
|
|
2434
|
+
return self.execute_report_queries_endpoint.call_with_http_info(**kwargs)
|
|
2435
|
+
|
|
2436
|
+
def get_custom_dashboard(
|
|
1746
2437
|
self,
|
|
1747
|
-
|
|
2438
|
+
custom_dashboard_oid,
|
|
1748
2439
|
**kwargs
|
|
1749
2440
|
):
|
|
1750
|
-
"""
|
|
2441
|
+
"""Get a custom dashboard # noqa: E501
|
|
1751
2442
|
|
|
1752
|
-
|
|
2443
|
+
Retrieve a custom dashboard # noqa: E501
|
|
1753
2444
|
This method makes a synchronous HTTP request by default. To make an
|
|
1754
2445
|
asynchronous HTTP request, please pass async_req=True
|
|
1755
2446
|
|
|
1756
|
-
>>> thread = api.
|
|
2447
|
+
>>> thread = api.get_custom_dashboard(custom_dashboard_oid, async_req=True)
|
|
1757
2448
|
>>> result = thread.get()
|
|
1758
2449
|
|
|
1759
2450
|
Args:
|
|
1760
|
-
|
|
2451
|
+
custom_dashboard_oid (int):
|
|
1761
2452
|
|
|
1762
2453
|
Keyword Args:
|
|
1763
2454
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1792,7 +2483,7 @@ class DatawarehouseApi(object):
|
|
|
1792
2483
|
async_req (bool): execute request asynchronously
|
|
1793
2484
|
|
|
1794
2485
|
Returns:
|
|
1795
|
-
|
|
2486
|
+
CustomDashboardResponse
|
|
1796
2487
|
If the method is called asynchronously, returns the request
|
|
1797
2488
|
thread.
|
|
1798
2489
|
"""
|
|
@@ -1821,26 +2512,26 @@ class DatawarehouseApi(object):
|
|
|
1821
2512
|
'_content_type')
|
|
1822
2513
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1823
2514
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1824
|
-
kwargs['
|
|
1825
|
-
|
|
1826
|
-
return self.
|
|
2515
|
+
kwargs['custom_dashboard_oid'] = \
|
|
2516
|
+
custom_dashboard_oid
|
|
2517
|
+
return self.get_custom_dashboard_endpoint.call_with_http_info(**kwargs)
|
|
1827
2518
|
|
|
1828
|
-
def
|
|
2519
|
+
def get_custom_dashboard_schedules(
|
|
1829
2520
|
self,
|
|
1830
|
-
|
|
2521
|
+
custom_dashboard_oid,
|
|
1831
2522
|
**kwargs
|
|
1832
2523
|
):
|
|
1833
|
-
"""
|
|
2524
|
+
"""Get custom dashboards # noqa: E501
|
|
1834
2525
|
|
|
1835
|
-
|
|
2526
|
+
Retrieve a custom dashboards # noqa: E501
|
|
1836
2527
|
This method makes a synchronous HTTP request by default. To make an
|
|
1837
2528
|
asynchronous HTTP request, please pass async_req=True
|
|
1838
2529
|
|
|
1839
|
-
>>> thread = api.
|
|
2530
|
+
>>> thread = api.get_custom_dashboard_schedules(custom_dashboard_oid, async_req=True)
|
|
1840
2531
|
>>> result = thread.get()
|
|
1841
2532
|
|
|
1842
2533
|
Args:
|
|
1843
|
-
|
|
2534
|
+
custom_dashboard_oid (int):
|
|
1844
2535
|
|
|
1845
2536
|
Keyword Args:
|
|
1846
2537
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1875,7 +2566,7 @@ class DatawarehouseApi(object):
|
|
|
1875
2566
|
async_req (bool): execute request asynchronously
|
|
1876
2567
|
|
|
1877
2568
|
Returns:
|
|
1878
|
-
|
|
2569
|
+
CustomDashboardSchedulesResponse
|
|
1879
2570
|
If the method is called asynchronously, returns the request
|
|
1880
2571
|
thread.
|
|
1881
2572
|
"""
|
|
@@ -1904,26 +2595,23 @@ class DatawarehouseApi(object):
|
|
|
1904
2595
|
'_content_type')
|
|
1905
2596
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1906
2597
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1907
|
-
kwargs['
|
|
1908
|
-
|
|
1909
|
-
return self.
|
|
2598
|
+
kwargs['custom_dashboard_oid'] = \
|
|
2599
|
+
custom_dashboard_oid
|
|
2600
|
+
return self.get_custom_dashboard_schedules_endpoint.call_with_http_info(**kwargs)
|
|
1910
2601
|
|
|
1911
|
-
def
|
|
2602
|
+
def get_custom_dashboards(
|
|
1912
2603
|
self,
|
|
1913
|
-
custom_dashboard_oid,
|
|
1914
2604
|
**kwargs
|
|
1915
2605
|
):
|
|
1916
|
-
"""Get
|
|
2606
|
+
"""Get custom dashboards # noqa: E501
|
|
1917
2607
|
|
|
1918
|
-
Retrieve a custom
|
|
2608
|
+
Retrieve a custom dashboards # noqa: E501
|
|
1919
2609
|
This method makes a synchronous HTTP request by default. To make an
|
|
1920
2610
|
asynchronous HTTP request, please pass async_req=True
|
|
1921
2611
|
|
|
1922
|
-
>>> thread = api.
|
|
2612
|
+
>>> thread = api.get_custom_dashboards(async_req=True)
|
|
1923
2613
|
>>> result = thread.get()
|
|
1924
2614
|
|
|
1925
|
-
Args:
|
|
1926
|
-
custom_dashboard_oid (int):
|
|
1927
2615
|
|
|
1928
2616
|
Keyword Args:
|
|
1929
2617
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1958,7 +2646,7 @@ class DatawarehouseApi(object):
|
|
|
1958
2646
|
async_req (bool): execute request asynchronously
|
|
1959
2647
|
|
|
1960
2648
|
Returns:
|
|
1961
|
-
|
|
2649
|
+
CustomDashboardsResponse
|
|
1962
2650
|
If the method is called asynchronously, returns the request
|
|
1963
2651
|
thread.
|
|
1964
2652
|
"""
|
|
@@ -1987,23 +2675,24 @@ class DatawarehouseApi(object):
|
|
|
1987
2675
|
'_content_type')
|
|
1988
2676
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1989
2677
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1990
|
-
kwargs
|
|
1991
|
-
custom_dashboard_oid
|
|
1992
|
-
return self.get_custom_dashboard_endpoint.call_with_http_info(**kwargs)
|
|
2678
|
+
return self.get_custom_dashboards_endpoint.call_with_http_info(**kwargs)
|
|
1993
2679
|
|
|
1994
|
-
def
|
|
2680
|
+
def get_custom_report(
|
|
1995
2681
|
self,
|
|
2682
|
+
custom_report_oid,
|
|
1996
2683
|
**kwargs
|
|
1997
2684
|
):
|
|
1998
|
-
"""Get custom
|
|
2685
|
+
"""Get a custom report # noqa: E501
|
|
1999
2686
|
|
|
2000
|
-
Retrieve a custom
|
|
2687
|
+
Retrieve a custom report # noqa: E501
|
|
2001
2688
|
This method makes a synchronous HTTP request by default. To make an
|
|
2002
2689
|
asynchronous HTTP request, please pass async_req=True
|
|
2003
2690
|
|
|
2004
|
-
>>> thread = api.
|
|
2691
|
+
>>> thread = api.get_custom_report(custom_report_oid, async_req=True)
|
|
2005
2692
|
>>> result = thread.get()
|
|
2006
2693
|
|
|
2694
|
+
Args:
|
|
2695
|
+
custom_report_oid (int):
|
|
2007
2696
|
|
|
2008
2697
|
Keyword Args:
|
|
2009
2698
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2038,7 +2727,7 @@ class DatawarehouseApi(object):
|
|
|
2038
2727
|
async_req (bool): execute request asynchronously
|
|
2039
2728
|
|
|
2040
2729
|
Returns:
|
|
2041
|
-
|
|
2730
|
+
CustomReportResponse
|
|
2042
2731
|
If the method is called asynchronously, returns the request
|
|
2043
2732
|
thread.
|
|
2044
2733
|
"""
|
|
@@ -2067,24 +2756,23 @@ class DatawarehouseApi(object):
|
|
|
2067
2756
|
'_content_type')
|
|
2068
2757
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2069
2758
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2070
|
-
|
|
2759
|
+
kwargs['custom_report_oid'] = \
|
|
2760
|
+
custom_report_oid
|
|
2761
|
+
return self.get_custom_report_endpoint.call_with_http_info(**kwargs)
|
|
2071
2762
|
|
|
2072
|
-
def
|
|
2763
|
+
def get_custom_report_account_config(
|
|
2073
2764
|
self,
|
|
2074
|
-
custom_report_oid,
|
|
2075
2765
|
**kwargs
|
|
2076
2766
|
):
|
|
2077
|
-
"""Get
|
|
2767
|
+
"""Get custom report account configuration # noqa: E501
|
|
2078
2768
|
|
|
2079
|
-
Retrieve a custom report # noqa: E501
|
|
2769
|
+
Retrieve a custom report account configuration # noqa: E501
|
|
2080
2770
|
This method makes a synchronous HTTP request by default. To make an
|
|
2081
2771
|
asynchronous HTTP request, please pass async_req=True
|
|
2082
2772
|
|
|
2083
|
-
>>> thread = api.
|
|
2773
|
+
>>> thread = api.get_custom_report_account_config(async_req=True)
|
|
2084
2774
|
>>> result = thread.get()
|
|
2085
2775
|
|
|
2086
|
-
Args:
|
|
2087
|
-
custom_report_oid (int):
|
|
2088
2776
|
|
|
2089
2777
|
Keyword Args:
|
|
2090
2778
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2119,7 +2807,7 @@ class DatawarehouseApi(object):
|
|
|
2119
2807
|
async_req (bool): execute request asynchronously
|
|
2120
2808
|
|
|
2121
2809
|
Returns:
|
|
2122
|
-
|
|
2810
|
+
CustomReportAccountConfigResponse
|
|
2123
2811
|
If the method is called asynchronously, returns the request
|
|
2124
2812
|
thread.
|
|
2125
2813
|
"""
|
|
@@ -2148,23 +2836,24 @@ class DatawarehouseApi(object):
|
|
|
2148
2836
|
'_content_type')
|
|
2149
2837
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2150
2838
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2151
|
-
kwargs
|
|
2152
|
-
custom_report_oid
|
|
2153
|
-
return self.get_custom_report_endpoint.call_with_http_info(**kwargs)
|
|
2839
|
+
return self.get_custom_report_account_config_endpoint.call_with_http_info(**kwargs)
|
|
2154
2840
|
|
|
2155
|
-
def
|
|
2841
|
+
def get_custom_report_chart_png_upload_url(
|
|
2156
2842
|
self,
|
|
2843
|
+
custom_report_oid,
|
|
2157
2844
|
**kwargs
|
|
2158
2845
|
):
|
|
2159
|
-
"""
|
|
2846
|
+
"""Upload a PNG of a custom report chart # noqa: E501
|
|
2160
2847
|
|
|
2161
|
-
|
|
2848
|
+
Upload a PNG of a custom report chart # noqa: E501
|
|
2162
2849
|
This method makes a synchronous HTTP request by default. To make an
|
|
2163
2850
|
asynchronous HTTP request, please pass async_req=True
|
|
2164
2851
|
|
|
2165
|
-
>>> thread = api.
|
|
2852
|
+
>>> thread = api.get_custom_report_chart_png_upload_url(custom_report_oid, async_req=True)
|
|
2166
2853
|
>>> result = thread.get()
|
|
2167
2854
|
|
|
2855
|
+
Args:
|
|
2856
|
+
custom_report_oid (int): The report oid to upload a chart PNG for.
|
|
2168
2857
|
|
|
2169
2858
|
Keyword Args:
|
|
2170
2859
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2199,7 +2888,7 @@ class DatawarehouseApi(object):
|
|
|
2199
2888
|
async_req (bool): execute request asynchronously
|
|
2200
2889
|
|
|
2201
2890
|
Returns:
|
|
2202
|
-
|
|
2891
|
+
CustomReportChartPngUploadResponse
|
|
2203
2892
|
If the method is called asynchronously, returns the request
|
|
2204
2893
|
thread.
|
|
2205
2894
|
"""
|
|
@@ -2228,7 +2917,9 @@ class DatawarehouseApi(object):
|
|
|
2228
2917
|
'_content_type')
|
|
2229
2918
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2230
2919
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2231
|
-
|
|
2920
|
+
kwargs['custom_report_oid'] = \
|
|
2921
|
+
custom_report_oid
|
|
2922
|
+
return self.get_custom_report_chart_png_upload_url_endpoint.call_with_http_info(**kwargs)
|
|
2232
2923
|
|
|
2233
2924
|
def get_custom_reports(
|
|
2234
2925
|
self,
|
|
@@ -2800,6 +3491,93 @@ class DatawarehouseApi(object):
|
|
|
2800
3491
|
dashboard
|
|
2801
3492
|
return self.insert_custom_dashboard_endpoint.call_with_http_info(**kwargs)
|
|
2802
3493
|
|
|
3494
|
+
def insert_custom_dashboard_schedule(
|
|
3495
|
+
self,
|
|
3496
|
+
custom_dashboard_oid,
|
|
3497
|
+
dashboard_schedule,
|
|
3498
|
+
**kwargs
|
|
3499
|
+
):
|
|
3500
|
+
"""Create a custom dashboard schedule # noqa: E501
|
|
3501
|
+
|
|
3502
|
+
Create a new custom dashboard schedule on the UltraCart account. # noqa: E501
|
|
3503
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3504
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3505
|
+
|
|
3506
|
+
>>> thread = api.insert_custom_dashboard_schedule(custom_dashboard_oid, dashboard_schedule, async_req=True)
|
|
3507
|
+
>>> result = thread.get()
|
|
3508
|
+
|
|
3509
|
+
Args:
|
|
3510
|
+
custom_dashboard_oid (int):
|
|
3511
|
+
dashboard_schedule (CustomDashboardSchedule): Dashboard schedule to create
|
|
3512
|
+
|
|
3513
|
+
Keyword Args:
|
|
3514
|
+
_return_http_data_only (bool): response data without head status
|
|
3515
|
+
code and headers. Default is True.
|
|
3516
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3517
|
+
will be returned without reading/decoding response data.
|
|
3518
|
+
Default is True.
|
|
3519
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3520
|
+
one number provided, it will be total request timeout. It can also
|
|
3521
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
3522
|
+
Default is None.
|
|
3523
|
+
_check_input_type (bool): specifies if type checking
|
|
3524
|
+
should be done one the data sent to the server.
|
|
3525
|
+
Default is True.
|
|
3526
|
+
_check_return_type (bool): specifies if type checking
|
|
3527
|
+
should be done one the data received from the server.
|
|
3528
|
+
Default is True.
|
|
3529
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
3530
|
+
are serialized names, as specified in the OpenAPI document.
|
|
3531
|
+
False if the variable names in the input data
|
|
3532
|
+
are pythonic names, e.g. snake case (default)
|
|
3533
|
+
_content_type (str/None): force body content-type.
|
|
3534
|
+
Default is None and content-type will be predicted by allowed
|
|
3535
|
+
content-types and body.
|
|
3536
|
+
_host_index (int/None): specifies the index of the server
|
|
3537
|
+
that we want to use.
|
|
3538
|
+
Default is read from the configuration.
|
|
3539
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
3540
|
+
request; this effectively ignores the authentication
|
|
3541
|
+
in the spec for a single request.
|
|
3542
|
+
Default is None
|
|
3543
|
+
async_req (bool): execute request asynchronously
|
|
3544
|
+
|
|
3545
|
+
Returns:
|
|
3546
|
+
CustomDashboardScheduleResponse
|
|
3547
|
+
If the method is called asynchronously, returns the request
|
|
3548
|
+
thread.
|
|
3549
|
+
"""
|
|
3550
|
+
kwargs['async_req'] = kwargs.get(
|
|
3551
|
+
'async_req', False
|
|
3552
|
+
)
|
|
3553
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3554
|
+
'_return_http_data_only', True
|
|
3555
|
+
)
|
|
3556
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
3557
|
+
'_preload_content', True
|
|
3558
|
+
)
|
|
3559
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
3560
|
+
'_request_timeout', None
|
|
3561
|
+
)
|
|
3562
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
3563
|
+
'_check_input_type', True
|
|
3564
|
+
)
|
|
3565
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
3566
|
+
'_check_return_type', True
|
|
3567
|
+
)
|
|
3568
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3569
|
+
'_spec_property_naming', False
|
|
3570
|
+
)
|
|
3571
|
+
kwargs['_content_type'] = kwargs.get(
|
|
3572
|
+
'_content_type')
|
|
3573
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3574
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3575
|
+
kwargs['custom_dashboard_oid'] = \
|
|
3576
|
+
custom_dashboard_oid
|
|
3577
|
+
kwargs['dashboard_schedule'] = \
|
|
3578
|
+
dashboard_schedule
|
|
3579
|
+
return self.insert_custom_dashboard_schedule_endpoint.call_with_http_info(**kwargs)
|
|
3580
|
+
|
|
2803
3581
|
def insert_custom_report(
|
|
2804
3582
|
self,
|
|
2805
3583
|
report,
|
|
@@ -3053,6 +3831,97 @@ class DatawarehouseApi(object):
|
|
|
3053
3831
|
dashboard
|
|
3054
3832
|
return self.update_custom_dashboard_endpoint.call_with_http_info(**kwargs)
|
|
3055
3833
|
|
|
3834
|
+
def update_custom_dashboard_schedule(
|
|
3835
|
+
self,
|
|
3836
|
+
custom_dashboard_schedule_oid,
|
|
3837
|
+
custom_dashboard_oid,
|
|
3838
|
+
dashboard_schedule,
|
|
3839
|
+
**kwargs
|
|
3840
|
+
):
|
|
3841
|
+
"""Update a custom dashboard schedule # noqa: E501
|
|
3842
|
+
|
|
3843
|
+
Update a custom dashboard schedule on the UltraCart account. # noqa: E501
|
|
3844
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3845
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3846
|
+
|
|
3847
|
+
>>> thread = api.update_custom_dashboard_schedule(custom_dashboard_schedule_oid, custom_dashboard_oid, dashboard_schedule, async_req=True)
|
|
3848
|
+
>>> result = thread.get()
|
|
3849
|
+
|
|
3850
|
+
Args:
|
|
3851
|
+
custom_dashboard_schedule_oid (int): The dashboard schedule oid to update.
|
|
3852
|
+
custom_dashboard_oid (int): The dashboard oid to update.
|
|
3853
|
+
dashboard_schedule (CustomDashboardSchedule): Dashboard schedule to update
|
|
3854
|
+
|
|
3855
|
+
Keyword Args:
|
|
3856
|
+
_return_http_data_only (bool): response data without head status
|
|
3857
|
+
code and headers. Default is True.
|
|
3858
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3859
|
+
will be returned without reading/decoding response data.
|
|
3860
|
+
Default is True.
|
|
3861
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3862
|
+
one number provided, it will be total request timeout. It can also
|
|
3863
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
3864
|
+
Default is None.
|
|
3865
|
+
_check_input_type (bool): specifies if type checking
|
|
3866
|
+
should be done one the data sent to the server.
|
|
3867
|
+
Default is True.
|
|
3868
|
+
_check_return_type (bool): specifies if type checking
|
|
3869
|
+
should be done one the data received from the server.
|
|
3870
|
+
Default is True.
|
|
3871
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
3872
|
+
are serialized names, as specified in the OpenAPI document.
|
|
3873
|
+
False if the variable names in the input data
|
|
3874
|
+
are pythonic names, e.g. snake case (default)
|
|
3875
|
+
_content_type (str/None): force body content-type.
|
|
3876
|
+
Default is None and content-type will be predicted by allowed
|
|
3877
|
+
content-types and body.
|
|
3878
|
+
_host_index (int/None): specifies the index of the server
|
|
3879
|
+
that we want to use.
|
|
3880
|
+
Default is read from the configuration.
|
|
3881
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
3882
|
+
request; this effectively ignores the authentication
|
|
3883
|
+
in the spec for a single request.
|
|
3884
|
+
Default is None
|
|
3885
|
+
async_req (bool): execute request asynchronously
|
|
3886
|
+
|
|
3887
|
+
Returns:
|
|
3888
|
+
CustomDashboardResponse
|
|
3889
|
+
If the method is called asynchronously, returns the request
|
|
3890
|
+
thread.
|
|
3891
|
+
"""
|
|
3892
|
+
kwargs['async_req'] = kwargs.get(
|
|
3893
|
+
'async_req', False
|
|
3894
|
+
)
|
|
3895
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3896
|
+
'_return_http_data_only', True
|
|
3897
|
+
)
|
|
3898
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
3899
|
+
'_preload_content', True
|
|
3900
|
+
)
|
|
3901
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
3902
|
+
'_request_timeout', None
|
|
3903
|
+
)
|
|
3904
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
3905
|
+
'_check_input_type', True
|
|
3906
|
+
)
|
|
3907
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
3908
|
+
'_check_return_type', True
|
|
3909
|
+
)
|
|
3910
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3911
|
+
'_spec_property_naming', False
|
|
3912
|
+
)
|
|
3913
|
+
kwargs['_content_type'] = kwargs.get(
|
|
3914
|
+
'_content_type')
|
|
3915
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3916
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3917
|
+
kwargs['custom_dashboard_schedule_oid'] = \
|
|
3918
|
+
custom_dashboard_schedule_oid
|
|
3919
|
+
kwargs['custom_dashboard_oid'] = \
|
|
3920
|
+
custom_dashboard_oid
|
|
3921
|
+
kwargs['dashboard_schedule'] = \
|
|
3922
|
+
dashboard_schedule
|
|
3923
|
+
return self.update_custom_dashboard_schedule_endpoint.call_with_http_info(**kwargs)
|
|
3924
|
+
|
|
3056
3925
|
def update_custom_report(
|
|
3057
3926
|
self,
|
|
3058
3927
|
custom_report_oid,
|