@salesforce/lds-adapters-analytics-unifiedanalytics 1.332.0-dev2 → 1.332.0-dev20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +3029 -662
  2. package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +27 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataAssetRequest.d.ts +24 -0
  4. package/dist/es/es2018/types/src/generated/adapters/follow.d.ts +2 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDataAssetDependencies.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getDataAssetRequestByIdOrApiName.d.ts +28 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getDataAssetRequests.d.ts +37 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getDataAssetRequestsCount.d.ts +33 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getOrg.d.ts +4 -5
  10. package/dist/es/es2018/types/src/generated/adapters/queryUsers.d.ts +3 -0
  11. package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/adapters/updateDataAssetRequest.d.ts +25 -0
  13. package/dist/es/es2018/types/src/generated/adapters/updateFollowedAsset.d.ts +20 -0
  14. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +9 -0
  15. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +15 -1
  16. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsDependenciesByAssetId.d.ts +15 -0
  17. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsRequests.d.ts +25 -0
  18. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsRequestsByRequestIdOrApiName.d.ts +16 -0
  19. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsRequestsCount.d.ts +21 -0
  20. package/dist/es/es2018/types/src/generated/resources/{getTableauOrgsByUserName.d.ts → getTableauOrgs.d.ts} +0 -3
  21. package/dist/es/es2018/types/src/generated/resources/patchTableauDataAssetsRequestsByRequestIdOrApiName.d.ts +24 -0
  22. package/dist/es/es2018/types/src/generated/resources/patchTableauFollowFollowersFollowsByFollowerId.d.ts +19 -0
  23. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +26 -0
  24. package/dist/es/es2018/types/src/generated/resources/postTableauDataAssetsRequests.d.ts +21 -0
  25. package/dist/es/es2018/types/src/generated/resources/postTableauFollowFollowersFollowsByFollowerId.d.ts +2 -0
  26. package/dist/es/es2018/types/src/generated/resources/postTableauUsersQuery.d.ts +3 -0
  27. package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +29 -0
  28. package/dist/es/es2018/types/src/generated/types/AnalyticsLibraryDashboardTemplateRepresentation.d.ts +7 -4
  29. package/dist/es/es2018/types/src/generated/types/AnalyticsUsersQueryInputRepresentation.d.ts +10 -1
  30. package/dist/es/es2018/types/src/generated/types/DataAlertConditionInputRepresentation.d.ts +38 -0
  31. package/dist/es/es2018/types/src/generated/types/DataAlertContentInputRepresentation.d.ts +33 -0
  32. package/dist/es/es2018/types/src/generated/types/DataAlertCronScheduleInputRepresentation.d.ts +30 -0
  33. package/dist/es/es2018/types/src/generated/types/DataAlertDailyScheduleInputRepresentation.d.ts +26 -0
  34. package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationInputRepresentation.d.ts +30 -0
  35. package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +47 -0
  36. package/dist/es/es2018/types/src/generated/types/DataAlertMetricContentInputRepresentation.d.ts +33 -0
  37. package/dist/es/es2018/types/src/generated/types/DataAlertMetricValueInputRepresentation.d.ts +55 -0
  38. package/dist/es/es2018/types/src/generated/types/DataAlertNotificationRecipientsInputRepresentation.d.ts +30 -0
  39. package/dist/es/es2018/types/src/generated/types/DataAlertRawValueInputRepresentation.d.ts +33 -0
  40. package/dist/es/es2018/types/src/generated/types/DataAlertReceiversInputRepresentation.d.ts +33 -0
  41. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +38 -0
  42. package/dist/es/es2018/types/src/generated/types/DataAlertScheduleInputRepresentation.d.ts +38 -0
  43. package/dist/es/es2018/types/src/generated/types/DataAlertThresholdsInputRepresentation.d.ts +32 -0
  44. package/dist/es/es2018/types/src/generated/types/DataAlertValueInputRepresentation.d.ts +34 -0
  45. package/dist/es/es2018/types/src/generated/types/DataAlertValueRightOperandInputRepresentation.d.ts +28 -0
  46. package/dist/es/es2018/types/src/generated/types/DataAlertWeeklyScheduleInputRepresentation.d.ts +30 -0
  47. package/dist/es/es2018/types/src/generated/types/DataAssetDependentCollectionRepresentation.d.ts +30 -0
  48. package/dist/es/es2018/types/src/generated/types/DataAssetDependentRepresentation.d.ts +29 -0
  49. package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +69 -0
  50. package/dist/es/es2018/types/src/generated/types/DataAssetRequestCollectionRepresentation.d.ts +30 -0
  51. package/dist/es/es2018/types/src/generated/types/DataAssetRequestCountRepresentation.d.ts +29 -0
  52. package/dist/es/es2018/types/src/generated/types/DataAssetRequestInputRepresentation.d.ts +55 -0
  53. package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +123 -0
  54. package/dist/es/es2018/types/src/generated/types/FollowInputRepresentation.d.ts +4 -1
  55. package/dist/es/es2018/types/src/generated/types/FollowedAssetRepresentation.d.ts +5 -1
  56. package/dist/es/es2018/types/src/generated/types/FollowedTimeRangeRepresentation.d.ts +31 -0
  57. package/dist/es/es2018/types/src/generated/types/FollowerAssetRepresentation.d.ts +5 -1
  58. package/dist/es/es2018/types/src/generated/types/OrgCollectionRepresentation.d.ts +6 -6
  59. package/dist/es/es2018/types/src/generated/types/OrgRepresentation.d.ts +4 -4
  60. package/dist/es/es2018/types/src/generated/types/UnifiedFilterInputRepresentation.d.ts +33 -0
  61. package/dist/es/es2018/types/src/generated/types/UpdateFollowedAssetInputRepresentation.d.ts +37 -0
  62. package/package.json +3 -3
  63. package/sfdc/index.js +6437 -3963
  64. package/src/raml/api.raml +833 -23
  65. package/src/raml/luvio.raml +69 -1
  66. package/dist/es/es2018/types/src/generated/types/OrgInputRepresentation.d.ts +0 -28
package/src/raml/api.raml CHANGED
@@ -287,9 +287,18 @@ types:
287
287
  searchTerm:
288
288
  description: Search term parameter value
289
289
  type: string
290
+ userCapability:
291
+ description: User permission
292
+ type: string
290
293
  useAutoSuggest:
291
294
  description: Use auto suggest term parameter value
292
295
  type: boolean
296
+ limit:
297
+ description: Limit parameter value
298
+ type: integer
299
+ offset:
300
+ description: Offset parameter value
301
+ type: integer
293
302
  AnalyticsUsersQueryResultsRepresentation:
294
303
  description: Results of Users Query
295
304
  type: object
@@ -327,6 +336,34 @@ types:
327
336
  enum:
328
337
  - Group
329
338
  - User
339
+ followedTimeRange:
340
+ description: Time Range filter representation
341
+ type: FollowedTimeRangeRepresentation
342
+ required: false
343
+ UpdateFollowedAssetInputRepresentation:
344
+ description: Update followed asset input representation in unified analytics.
345
+ type: object
346
+ properties:
347
+ assetId:
348
+ description: Asset ID
349
+ type: string
350
+ assetType:
351
+ description: Followed asset type
352
+ type: string
353
+ enum:
354
+ - SemanticMetricDefinition
355
+ - SemanticSubMetric
356
+ required: false
357
+ followerType:
358
+ description: Follower type
359
+ type: string
360
+ enum:
361
+ - Group
362
+ - User
363
+ required: false
364
+ followedTimeRange:
365
+ description: Time Range filter representation
366
+ type: FollowedTimeRangeRepresentation
330
367
  FollowedAssetCollectionRepresentation:
331
368
  description: Collection of Followed Assets
332
369
  type: object
@@ -393,6 +430,20 @@ types:
393
430
  enum:
394
431
  - SemanticMetricDefinition
395
432
  - SemanticSubMetric
433
+ followedTimeRange:
434
+ description: Time Range filter representation
435
+ type: FollowedTimeRangeRepresentation | nil
436
+ required: false
437
+ FollowedTimeRangeRepresentation:
438
+ description: Followed Time Range Representation
439
+ type: object
440
+ properties:
441
+ fieldName: string
442
+ operator: string # SemanticFilterOperatorTypeEnum
443
+ values:
444
+ type: array
445
+ items:
446
+ type: string | number
396
447
  FollowerAssetRepresentation:
397
448
  description: Represent follower and asset mapping
398
449
  type: object
@@ -421,6 +472,10 @@ types:
421
472
  createdDate:
422
473
  description: Created date
423
474
  type: string
475
+ followedTimeRange:
476
+ description: Time Range filter representation
477
+ type: FollowedTimeRangeRepresentation | nil
478
+ required: false
424
479
  FollowerCollectionRepresentation:
425
480
  description: Collection of Followers
426
481
  type: object
@@ -883,6 +938,579 @@ types:
883
938
  properties:
884
939
  //:
885
940
  type: any
941
+ DataAssetDependentCollectionRepresentation:
942
+ description: Represents a List of dependent assets for a given asset
943
+ type: object
944
+ properties:
945
+ dependentDataAssets:
946
+ description: Array of Dependent Assets
947
+ type: array
948
+ items:
949
+ type: DataAssetDependentRepresentation
950
+ DataAssetDependentRepresentation:
951
+ description: Represents a Dependent asset
952
+ type: object
953
+ properties:
954
+ dataAsset:
955
+ description: Represents a Data asset
956
+ type: DataAssetRepresentation
957
+ DataAssetRepresentation:
958
+ description: Represents a Data asset
959
+ discriminator: assetId # TODO Hand-rolled W-17712133: invalid inheritance
960
+ type: object
961
+ properties:
962
+ id:
963
+ description: DataAsset id.
964
+ type: string
965
+ required: false
966
+ description:
967
+ description: Description of the DataAsset.
968
+ type: string
969
+ required: false
970
+ label:
971
+ description: Label of the DataAsset.
972
+ type: string
973
+ name:
974
+ description: Name of the DataAsset.
975
+ type: string
976
+ createdBy:
977
+ description: Created by of the DataAsset.
978
+ type: AnalyticsUserRepresentation
979
+ createdDate:
980
+ description: Created date of the DataAsset
981
+ type: string
982
+ required: false
983
+ lastModifiedBy:
984
+ description: Last modified by of the DataAsset.
985
+ type: AnalyticsUserRepresentation
986
+ lastModifiedDate:
987
+ description: Last modified date of the DataAsset.
988
+ type: string
989
+ assetId:
990
+ description: Represents id of the DataAsset
991
+ type: string
992
+ assetType:
993
+ description: Type of the DataAsset
994
+ type: string
995
+ enum:
996
+ - AnalyticsDashboard
997
+ - AnalyticsVisualization
998
+ - MktCalculatedInsightsObject
999
+ - MktDataModelObject
1000
+ - SemanticModel
1001
+ workspaceId:
1002
+ description: Id of the workspace which the DataAsset is part of
1003
+ type: string
1004
+ required: false
1005
+ DataAssetRequestCollectionRepresentation:
1006
+ description: Collection of Data Asset Requests
1007
+ type: object
1008
+ properties:
1009
+ dataAssetRequests:
1010
+ description: List of data asset requests being returned
1011
+ type: array
1012
+ items:
1013
+ type: DataAssetRequestRepresentation
1014
+ DataAssetRequestCountRepresentation:
1015
+ description: Represents a data asset request count
1016
+ type: object
1017
+ properties:
1018
+ count:
1019
+ description: Count of data asset requests
1020
+ type: integer
1021
+ DataAlertValueInputRepresentation:
1022
+ description: Abstract input representation for operands
1023
+ type: object
1024
+ discriminator: type
1025
+ properties:
1026
+ type:
1027
+ description: type of operand
1028
+ type: string
1029
+ enum:
1030
+ - Insights
1031
+ - RawValue
1032
+ DataAlertValueRightOperandInputRepresentation:
1033
+ description: Abstract input representation for operands
1034
+ type: object
1035
+ discriminator: type
1036
+ properties:
1037
+ type:
1038
+ description: type of operand
1039
+ type: string
1040
+ enum:
1041
+ - Insights
1042
+ - RawValue
1043
+ DataAlertRawValueInputRepresentation:
1044
+ description: Abstract input representation for raw value operands
1045
+ type: DataAlertValueInputRepresentation
1046
+ discriminatorValue: RawValue
1047
+ properties:
1048
+ dataType:
1049
+ description: 'data types for the raw value: percentage, currency etc. '
1050
+ type: string
1051
+ enum:
1052
+ - Number
1053
+ - Currency
1054
+ - Percentage
1055
+ value:
1056
+ description: raw value of the operand
1057
+ type: string
1058
+ DataAlertMetricValueInputRepresentation:
1059
+ description: Input representation for metric operands
1060
+ type: DataAlertValueInputRepresentation
1061
+ discriminatorValue: Insights
1062
+ properties:
1063
+ metricId:
1064
+ description: metric or sub-metric Id
1065
+ type: string
1066
+ insightType:
1067
+ description: type of insight
1068
+ type: string
1069
+ enum:
1070
+ - GoalProgress
1071
+ - Popc
1072
+ - RecordLevelOutliers
1073
+ - RiskyMonopoly
1074
+ - Unspecified
1075
+ - UnusualChange
1076
+ params:
1077
+ description: additional metric params
1078
+ type: object
1079
+ properties:
1080
+ //:
1081
+ type: string
1082
+ factKey:
1083
+ description: fact key
1084
+ type: string
1085
+ timeContext:
1086
+ description: time filter
1087
+ type: UnifiedFilterInputRepresentation # TODO Hand-rolled @W-17927490
1088
+ filterContext:
1089
+ description: filter context
1090
+ type: array
1091
+ items:
1092
+ type: UnifiedFilterInputRepresentation # TODO Hand-rolled @W-17927490
1093
+ modelApiNameOrId:
1094
+ description: Id or API name of the semantic data model
1095
+ type: string
1096
+ sdmId:
1097
+ description: SDM ID of the semantic data model
1098
+ type: string
1099
+ UnifiedFilterInputRepresentation:
1100
+ description: Message representing the Unified Filter.
1101
+ type: object
1102
+ properties:
1103
+ fieldName:
1104
+ description: FieldName
1105
+ type: string
1106
+ required: false
1107
+ operator:
1108
+ enum:
1109
+ - Equals
1110
+ - DoesNotEquals
1111
+ - EqualsIgnoreCase
1112
+ - DoesNotEqualsIgnoreCase
1113
+ - Between
1114
+ - LessThan
1115
+ - LessThanOrEqualTo
1116
+ - GreaterThan
1117
+ - GreaterThanOrEqualTo
1118
+ - IsEmpty
1119
+ - IsNotEmpty
1120
+ - Contains
1121
+ - ContainsIgnoreCase
1122
+ - NotContains
1123
+ - NotContainsIgnoreCase
1124
+ - StartsWith
1125
+ - StartsWithIgnoreCase
1126
+ - DoesNotStartWith
1127
+ - DoesNotStartWithIgnoreCase
1128
+ - EndsWith
1129
+ - EndsWithIgnoreCase
1130
+ - DoesNotEndWith
1131
+ - DoesNotEndWithIgnoreCase
1132
+ - IsNull
1133
+ - IsNotNull
1134
+ - LastNDays
1135
+ - NextNDays
1136
+ - PreviousWeek
1137
+ - CurrentWeek
1138
+ - NextWeek
1139
+ - PreviousMonth
1140
+ - CurrentMonth
1141
+ - NextMonth
1142
+ - PreviousQuarter
1143
+ - CurrentQuarter
1144
+ - NextQuarter
1145
+ - PreviousYear
1146
+ - CurrentYear
1147
+ - NextYear
1148
+ - PreviousFiscalQuarter
1149
+ - CurrentFiscalQuarter
1150
+ - NextFiscalQuarter
1151
+ - PreviousFiscalYear
1152
+ - CurrentFiscalYear
1153
+ - NextFiscalYear
1154
+ - PreviousMonthToDate
1155
+ - CurrentMonthToDate
1156
+ - PreviousQuarterToDate
1157
+ - CurrentQuarterToDate
1158
+ - PreviousYearToDate
1159
+ - CurrentYearToDate
1160
+ - PreviousFiscalQuarterToDate
1161
+ - CurrentFiscalQuarterToDate
1162
+ - PreviousFiscalYearToDate
1163
+ - CurrentFiscalYearToDate
1164
+ - Values
1165
+ type: string
1166
+ (amf-format): enum
1167
+ required: false
1168
+ values:
1169
+ description: An array of values. All values must be of the same type. We support strings, numbers, and booleans.
1170
+ type: array
1171
+ items:
1172
+ (amf-xone):
1173
+ - type: number
1174
+ - type: string
1175
+ - type: boolean
1176
+ type: any
1177
+ required: false
1178
+ DataAlertConditionInputRepresentation:
1179
+ description: A single condition representation
1180
+ type: object
1181
+ properties:
1182
+ leftOperand:
1183
+ description: Left operand of the condition
1184
+ type: DataAlertValueInputRepresentation # TODO Hand-rolled @W-17927490
1185
+ rightOperand:
1186
+ description: Right operand of the condition
1187
+ type: DataAlertValueRightOperandInputRepresentation # TODO Hand-rolled @W-17927490
1188
+ operator:
1189
+ description: operator of the condition
1190
+ type: string
1191
+ enum:
1192
+ - Equals
1193
+ - GreaterOrEqual
1194
+ - GreaterThan
1195
+ - LessOrEqual
1196
+ - LessThan
1197
+ - NotEqual
1198
+ DataAlertWeeklyScheduleInputRepresentation:
1199
+ description: Input representation for weekly alert alert schedule
1200
+ type: DataAlertScheduleInputRepresentation
1201
+ discriminatorValue: Weekly
1202
+ properties:
1203
+ daysOfWeek:
1204
+ description: days of the week to receive data alerts
1205
+ type: array
1206
+ items:
1207
+ type: string
1208
+ enum:
1209
+ - Friday
1210
+ - Monday
1211
+ - Saturday
1212
+ - Sunday
1213
+ - Thursday
1214
+ - Tuesday
1215
+ - Wednesday
1216
+ DataAlertContentInputRepresentation:
1217
+ description: Input representation for data alert content
1218
+ type: object
1219
+ discriminator: type
1220
+ properties:
1221
+ type:
1222
+ description: content type
1223
+ type: string
1224
+ enum:
1225
+ - Metric
1226
+ DataAlertMetricContentInputRepresentation:
1227
+ description: Input representation for content based on metric value
1228
+ type: DataAlertContentInputRepresentation
1229
+ discriminatorValue: Metric
1230
+ properties:
1231
+ instruction:
1232
+ description: input string instruction
1233
+ type: string
1234
+ modelApiNameOrId:
1235
+ description: Id or API name of the semantic data model
1236
+ type: array
1237
+ items:
1238
+ type: string
1239
+ DataAlertCronScheduleInputRepresentation:
1240
+ description: Input representation for cron based data alert schedule
1241
+ type: DataAlertScheduleInputRepresentation
1242
+ discriminatorValue: Cron
1243
+ properties:
1244
+ cronExpression:
1245
+ description: cron expression
1246
+ type: string
1247
+ DataAlertDailyScheduleInputRepresentation:
1248
+ description: Input representation for daily alert schedule
1249
+ type: DataAlertScheduleInputRepresentation
1250
+ discriminatorValue: Daily
1251
+ properties: {}
1252
+ DataAlertDeliveryConfigurationInputRepresentation:
1253
+ description: Delivery configuration for data alerts.
1254
+ type: object
1255
+ properties:
1256
+ receivers:
1257
+ description: list of recipients to be notified.
1258
+ type: array
1259
+ items:
1260
+ type: DataAlertReceiversInputRepresentation
1261
+ DataAlertRepresentation:
1262
+ description: Output of Data Alert
1263
+ type: object
1264
+ properties:
1265
+ id:
1266
+ description: Database record id of the data alert.
1267
+ type: string
1268
+ DataAlertInputRepresentation:
1269
+ description: A top level data alert metadata representation.
1270
+ type: object
1271
+ properties:
1272
+ analysisUtterance:
1273
+ description: user entered utterance for generating analysis.
1274
+ type: string
1275
+ content:
1276
+ type: DataAlertContentInputRepresentation # TODO Hand-rolled @W-17927490
1277
+ deliveryConfigurations:
1278
+ type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
1279
+ schedule:
1280
+ description: data alert schedule
1281
+ type: DataAlertScheduleInputRepresentation # TODO Hand-rolled @W-17927490
1282
+ thresholds:
1283
+ description: thresholds to be evaluated
1284
+ type: DataAlertThresholdsInputRepresentation # TODO Hand-rolled @W-17927490
1285
+ utterance:
1286
+ description: user entered utterance
1287
+ type: string
1288
+ DataAlertNotificationRecipientsInputRepresentation:
1289
+ description: 'List of UNS recipients for Data alerts. May contain user or group
1290
+ Ids. '
1291
+ type: DataAlertReceiversInputRepresentation
1292
+ discriminatorValue: Notification
1293
+ properties:
1294
+ recipients:
1295
+ description: group or user Ids
1296
+ type: array
1297
+ items:
1298
+ type: string
1299
+ DataAlertReceiversInputRepresentation:
1300
+ description: Input representation for data alert recipients
1301
+ type: object
1302
+ discriminator: type
1303
+ properties:
1304
+ type:
1305
+ description: delivery type
1306
+ type: string
1307
+ enum:
1308
+ - Notification
1309
+ DataAlertScheduleInputRepresentation:
1310
+ description: Input representation for data alert schedule
1311
+ discriminator: type
1312
+ type: object
1313
+ properties:
1314
+ hoursOfDay:
1315
+ description: schedule time
1316
+ type: array
1317
+ items:
1318
+ type: integer
1319
+ type:
1320
+ description: schedule type
1321
+ type: string
1322
+ enum:
1323
+ - Cron
1324
+ - Daily
1325
+ - Weekly
1326
+ DataAlertThresholdsInputRepresentation:
1327
+ description: Data alert thresholds input representation.
1328
+ type: object
1329
+ properties:
1330
+ conditions:
1331
+ description: list of conditions to be evaluated.
1332
+ type: array
1333
+ items:
1334
+ type: DataAlertConditionInputRepresentation
1335
+ customLogicalOperation:
1336
+ description: logical operations between conditions
1337
+ type: string
1338
+ DataAssetRequestInputRepresentation:
1339
+ description: DataAssetRequest input representation in unified analytics.
1340
+ type: object
1341
+ properties:
1342
+ assetId:
1343
+ description: Id of Asset being promoted
1344
+ type: string
1345
+ required: false
1346
+ id:
1347
+ description: Id for the request
1348
+ type: string
1349
+ required: false
1350
+ label:
1351
+ description: Label to be used for the request
1352
+ type: string
1353
+ required: false
1354
+ numberOfDependencies:
1355
+ description: Number of dependencies associated with the asset being tracked
1356
+ type: integer
1357
+ required: false
1358
+ rejectionComment:
1359
+ description: Rejection comment
1360
+ type: string
1361
+ required: false
1362
+ requestType:
1363
+ description: Type of the request
1364
+ type: string
1365
+ required: false
1366
+ enum:
1367
+ - Promotion
1368
+ - Reuse
1369
+ requesterComment:
1370
+ description: Requester comment
1371
+ type: string
1372
+ required: false
1373
+ sourceRequestId:
1374
+ description: Id for the source request
1375
+ type: string
1376
+ required: false
1377
+ status:
1378
+ description: Status of the request
1379
+ type: string
1380
+ required: false
1381
+ enum:
1382
+ - Accepted
1383
+ - Cancelled
1384
+ - Completed
1385
+ - Extracting
1386
+ - ExtractionComplete
1387
+ - Failed
1388
+ - ManageAccess
1389
+ - ManageCsv
1390
+ - ManageDataPolicy
1391
+ - MarkAcceptedOrRejected
1392
+ - MarkComplete
1393
+ - Migrating
1394
+ - MigrationSucceeded
1395
+ - Rejected
1396
+ - Requested
1397
+ - ReviewContent
1398
+ workspaceIdOrApiName:
1399
+ description: Workspace id or name of personal org related to the request
1400
+ type: string
1401
+ required: false
1402
+ DataAssetRequestRepresentation:
1403
+ description: Represents a data asset request
1404
+ type: object
1405
+ properties:
1406
+ acknowledgedBy:
1407
+ description: The user who approved or rejected this request
1408
+ type: AnalyticsUserRepresentation | nil
1409
+ acknowledgedDate:
1410
+ description: Acknowledged date
1411
+ type: string | nil
1412
+ assetId:
1413
+ description: assetId associated with the request
1414
+ type: string
1415
+ assetLabel:
1416
+ description: Asset Label
1417
+ type: string | nil
1418
+ cancelledBy:
1419
+ description: The user who cancelled this request
1420
+ type: AnalyticsUserRepresentation | nil
1421
+ cancelledDate:
1422
+ description: Cancelled date
1423
+ type: string | nil
1424
+ completedBy:
1425
+ description: The user who completed this request
1426
+ type: AnalyticsUserRepresentation | nil
1427
+ completedDate:
1428
+ description: Completed date
1429
+ type: string | nil
1430
+ failedDate:
1431
+ description: Failed date
1432
+ type: string | nil
1433
+ lastModifiedDate:
1434
+ description: Last modified date for the data asset record
1435
+ type: string
1436
+ lastModifiedBy:
1437
+ description: The user who last modified this request
1438
+ type: AnalyticsUserRepresentation
1439
+ id:
1440
+ description: Data Asset Request Id
1441
+ type: string
1442
+ installedDate:
1443
+ description: Installed date
1444
+ type: string | nil
1445
+ label:
1446
+ description: Data Asset Request Label
1447
+ type: string
1448
+ migrationSucceededDate:
1449
+ description: Migration Succeeded date
1450
+ type: string | nil
1451
+ numberOfDependencies:
1452
+ description: Number of dependencies associated with workspace asset being
1453
+ tracked in the request
1454
+ type: integer | nil
1455
+ personalOrgId:
1456
+ description: ID of personal org
1457
+ type: string | nil
1458
+ personalOrgWorkspaceId:
1459
+ description: Workspace ID from personal org
1460
+ type: string | nil
1461
+ productionOrgId:
1462
+ description: ID of production org
1463
+ type: string | nil
1464
+ productionOrgWorkspaceId:
1465
+ description: Workspace ID from production org
1466
+ type: string | nil
1467
+ rejectionComment:
1468
+ description: Rejection Comment
1469
+ type: string | nil
1470
+ requestType:
1471
+ description: Type of the request
1472
+ type: string
1473
+ enum:
1474
+ - Promotion
1475
+ - Reuse
1476
+ requestedBy:
1477
+ description: The user who requested this request
1478
+ type: AnalyticsUserRepresentation
1479
+ requestedDate:
1480
+ description: Requested date
1481
+ type: string
1482
+ requesterComment:
1483
+ description: Requester Comment
1484
+ type: string
1485
+ sourceRequestId:
1486
+ description: Data Asset Request Source Id
1487
+ type: string | nil
1488
+ status:
1489
+ description: Data Asset Request Status
1490
+ type: string
1491
+ enum:
1492
+ - Accepted
1493
+ - Cancelled
1494
+ - Completed
1495
+ - Extracting
1496
+ - ExtractionComplete
1497
+ - Failed
1498
+ - ManageAccess
1499
+ - ManageCsv
1500
+ - ManageDataPolicy
1501
+ - MarkAcceptedOrRejected
1502
+ - MarkComplete
1503
+ - Migrating
1504
+ - MigrationSucceeded
1505
+ - Rejected
1506
+ - Requested
1507
+ - ReviewContent
1508
+ targetRequestId:
1509
+ description: Data Asset Request Target Id
1510
+ type: string | nil
1511
+ workspaceAssetId:
1512
+ description: workspaceAssetId in the workspace
1513
+ type: string | nil
886
1514
 
887
1515
  TableauMarketplaceListingInstallationProgressResponse:
888
1516
  description: Representation of tableau marketplace's listing installation progress
@@ -957,9 +1585,14 @@ types:
957
1585
  library
958
1586
  type: BaseAnalyticsLibraryAssetRepresentation
959
1587
  properties:
960
- previewImage:
961
- description: The icons configured for dashboard template preview
962
- type: AnalyticsLibraryImageRepresentation
1588
+ templateBadge:
1589
+ description: The badge icon configured for template
1590
+ type: string
1591
+ templatePreviews:
1592
+ description: The preview images configured for the template
1593
+ type: array
1594
+ items:
1595
+ type: string
963
1596
  AnalyticsLibraryImageRepresentation:
964
1597
  description: AnalyticsLibrary Image reference representation
965
1598
  type: object
@@ -1179,21 +1812,14 @@ types:
1179
1812
  description: A collection of unified analytics orgs.
1180
1813
  type: object
1181
1814
  properties:
1182
- currentOrg:
1183
- description: Current org.
1184
- type: OrgRepresentation
1185
- orgs:
1186
- description: List of orgs being returned.
1815
+ personalOrgs:
1816
+ description: List of Personal Orgs.
1187
1817
  type: array
1188
1818
  items:
1189
1819
  type: OrgRepresentation
1190
- OrgInputRepresentation:
1191
- description: Unified Analytics Org Input Representation
1192
- type: object
1193
- properties:
1194
- userName:
1195
- description: The name of the user to query to orgs for.
1196
- type: string
1820
+ productionOrg:
1821
+ description: Production Org.
1822
+ type: OrgRepresentation
1197
1823
  OrgRepresentation:
1198
1824
  description: Unified analytics org representation.
1199
1825
  discriminatorValue: Org
@@ -1202,12 +1828,12 @@ types:
1202
1828
  id:
1203
1829
  description: ID of this org.
1204
1830
  type: string
1831
+ isCurrentOrg:
1832
+ description: Is user currently logged in this org
1833
+ type: boolean
1205
1834
  label:
1206
1835
  description: Named label to display for this org
1207
1836
  type: string
1208
- orgUrl:
1209
- description: URL to display for this org
1210
- type: string
1211
1837
  targetUrl:
1212
1838
  description: URL to switch to this org.
1213
1839
  type: string
@@ -1915,6 +2541,181 @@ types:
1915
2541
  dashboardIdOrApiName:
1916
2542
  type: string
1917
2543
  required: true
2544
+ /dataAlerts:
2545
+ post:
2546
+ displayName: postDataAlertCollection
2547
+ description: Create a new data alert.
2548
+ responses:
2549
+ '200':
2550
+ description: Success
2551
+ body:
2552
+ application/json:
2553
+ type: DataAlertRepresentation
2554
+ queryParameters:
2555
+ runNow:
2556
+ description: optional parameter to trigger data alert flow to run immediately.
2557
+ type: boolean
2558
+ required: false
2559
+ body:
2560
+ application/json:
2561
+ type: DataAlertInputRepresentation
2562
+ (oas-body-name): dataAlert
2563
+ /dataAlerts/{dataAlertId}:
2564
+ put:
2565
+ displayName: updateDataAlert
2566
+ description: update a data alert
2567
+ responses:
2568
+ '200':
2569
+ description: Success
2570
+ body:
2571
+ application/json:
2572
+ type: DataAlertRepresentation
2573
+ queryParameters:
2574
+ runNow:
2575
+ description: optional parameter to trigger data alert flow to run immediately.
2576
+ type: boolean
2577
+ required: false
2578
+ body:
2579
+ application/json:
2580
+ type: DataAlertInputRepresentation
2581
+ (oas-body-name): dataAlert
2582
+ uriParameters:
2583
+ dataAlertId:
2584
+ type: string
2585
+ required: true
2586
+ /data-assets:
2587
+ /requests:
2588
+ get:
2589
+ displayName: getDataAssetRequestCollection
2590
+ description: Gets data asset requests based on query parameters
2591
+ responses:
2592
+ '200':
2593
+ description: Success
2594
+ body:
2595
+ application/json:
2596
+ type: DataAssetRequestCollectionRepresentation
2597
+ queryParameters:
2598
+ assetId:
2599
+ type: string
2600
+ required: false
2601
+ assetType:
2602
+ type: string
2603
+ required: false
2604
+ createdBy:
2605
+ type: string
2606
+ required: false
2607
+ limit:
2608
+ type: integer
2609
+ required: false
2610
+ offset:
2611
+ type: integer
2612
+ required: false
2613
+ orderBy:
2614
+ type: string
2615
+ required: false
2616
+ requestType:
2617
+ type: string
2618
+ required: false
2619
+ searchQueryTerm:
2620
+ type: string
2621
+ required: false
2622
+ sortBy:
2623
+ type: string
2624
+ required: false
2625
+ status:
2626
+ type: string
2627
+ required: false
2628
+ workspaceIdOrApiName:
2629
+ type: string
2630
+ required: false
2631
+ post:
2632
+ displayName: postDataAssetRequest
2633
+ description: Request creation of a task for a data asset
2634
+ responses:
2635
+ '200':
2636
+ description: Success
2637
+ body:
2638
+ application/json:
2639
+ type: DataAssetRequestRepresentation
2640
+ body:
2641
+ application/json:
2642
+ type: DataAssetRequestInputRepresentation
2643
+ # required: false # TODO Hand-rolled W-17118037 not supported
2644
+ (oas-body-name): dataAssetRequestInput
2645
+ /count:
2646
+ get:
2647
+ displayName: getDataAssetRequestCount
2648
+ description: Gets data asset requests count based on query parameters
2649
+ responses:
2650
+ '200':
2651
+ description: Success
2652
+ body:
2653
+ application/json:
2654
+ type: DataAssetRequestCountRepresentation
2655
+ queryParameters:
2656
+ assetId:
2657
+ type: string
2658
+ required: false
2659
+ assetType:
2660
+ type: string
2661
+ required: false
2662
+ createdBy:
2663
+ type: string
2664
+ required: false
2665
+ searchQueryTerm:
2666
+ type: string
2667
+ required: false
2668
+ status:
2669
+ type: string
2670
+ required: false
2671
+ taskType:
2672
+ type: string
2673
+ required: false
2674
+ workspaceIdOrApiName:
2675
+ type: string
2676
+ required: false
2677
+ /{requestIdOrApiName}:
2678
+ get:
2679
+ displayName: getDataAssetRequest
2680
+ description: Get data asset request by Id or Api Name
2681
+ responses:
2682
+ '200':
2683
+ description: Success
2684
+ body:
2685
+ application/json:
2686
+ type: DataAssetRequestRepresentation
2687
+ patch:
2688
+ displayName: patchDataAssetRequest
2689
+ description: Request update of a data asset request
2690
+ responses:
2691
+ '200':
2692
+ description: Success
2693
+ body:
2694
+ application/json:
2695
+ type: DataAssetRequestRepresentation
2696
+ body:
2697
+ application/json:
2698
+ type: DataAssetRequestInputRepresentation
2699
+ (oas-body-name): dataAssetRequestInput
2700
+ uriParameters:
2701
+ requestIdOrApiName:
2702
+ type: string
2703
+ required: true
2704
+ /dependencies:
2705
+ /{assetId}:
2706
+ get:
2707
+ displayName: getDataAssetDependencies
2708
+ description: Gets the dependencies of an Data asset
2709
+ responses:
2710
+ '200':
2711
+ description: Success
2712
+ body:
2713
+ application/json:
2714
+ type: DataAssetDependentCollectionRepresentation
2715
+ uriParameters:
2716
+ assetId:
2717
+ type: string
2718
+ required: true
1918
2719
  /follow/followers/{followerId}/follows:
1919
2720
  post:
1920
2721
  displayName: postFollow
@@ -1929,6 +2730,19 @@ types:
1929
2730
  application/json:
1930
2731
  type: FollowInputRepresentation
1931
2732
  (oas-body-name): followerAsset
2733
+ patch:
2734
+ displayName: patchFollow
2735
+ description: Update a followed asset
2736
+ responses:
2737
+ '200':
2738
+ description: Success
2739
+ body:
2740
+ application/json:
2741
+ type: FollowerAssetRepresentation
2742
+ body:
2743
+ application/json:
2744
+ type: UpdateFollowedAssetInputRepresentation
2745
+ (oas-body-name): followerAsset
1932
2746
  uriParameters:
1933
2747
  followerId:
1934
2748
  type: string
@@ -2039,7 +2853,7 @@ types:
2039
2853
  type: UnifiedAnalyticsLoglinesInputRepresentation
2040
2854
  # required: false # TODO Hand-rolled W-15315791 not supported
2041
2855
  (oas-body-name): loglines
2042
- /orgs/{userName}:
2856
+ /orgs:
2043
2857
  get:
2044
2858
  displayName: getOrg
2045
2859
  description: Get all available Unified Analytics Orgs.
@@ -2049,10 +2863,6 @@ types:
2049
2863
  body:
2050
2864
  application/json:
2051
2865
  type: OrgCollectionRepresentation
2052
- uriParameters:
2053
- userName:
2054
- type: string
2055
- required: true
2056
2866
  /records/{recordId}/shares:
2057
2867
  delete:
2058
2868
  displayName: deleteSetupRecordShareCollection