@salesforce/analytics 1.0.23 → 1.2.0

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 (40) hide show
  1. package/lib/commands/analytics/app/create.d.ts +1 -0
  2. package/lib/commands/analytics/app/create.js +7 -1
  3. package/lib/commands/analytics/app/create.js.map +1 -1
  4. package/lib/commands/analytics/autoinstall/app/create.d.ts +2 -0
  5. package/lib/commands/analytics/autoinstall/app/create.js +14 -1
  6. package/lib/commands/analytics/autoinstall/app/create.js.map +1 -1
  7. package/lib/commands/analytics/dataflow/job/display.d.ts +12 -0
  8. package/lib/commands/analytics/dataflow/job/display.js +55 -0
  9. package/lib/commands/analytics/dataflow/job/display.js.map +1 -0
  10. package/lib/commands/analytics/dataflow/job/list.d.ts +21 -0
  11. package/lib/commands/analytics/dataflow/job/list.js +50 -0
  12. package/lib/commands/analytics/dataflow/job/list.js.map +1 -0
  13. package/lib/commands/analytics/dataflow/job/stop.d.ts +12 -0
  14. package/lib/commands/analytics/dataflow/job/stop.js +41 -0
  15. package/lib/commands/analytics/dataflow/job/stop.js.map +1 -0
  16. package/lib/commands/analytics/dataflow/start.d.ts +12 -0
  17. package/lib/commands/analytics/dataflow/start.js +41 -0
  18. package/lib/commands/analytics/dataflow/start.js.map +1 -0
  19. package/lib/commands/analytics/dataflow/update.d.ts +14 -0
  20. package/lib/commands/analytics/dataflow/update.js +70 -0
  21. package/lib/commands/analytics/dataflow/update.js.map +1 -0
  22. package/lib/commands/analytics/recipe/list.d.ts +1 -1
  23. package/lib/commands/analytics/recipe/start.d.ts +12 -0
  24. package/lib/commands/analytics/recipe/start.js +41 -0
  25. package/lib/commands/analytics/recipe/start.js.map +1 -0
  26. package/lib/lib/analytics/autoinstall/autoinstall.d.ts +6 -1
  27. package/lib/lib/analytics/autoinstall/autoinstall.js +5 -2
  28. package/lib/lib/analytics/autoinstall/autoinstall.js.map +1 -1
  29. package/lib/lib/analytics/dataflow/dataflow.d.ts +40 -1
  30. package/lib/lib/analytics/dataflow/dataflow.js +63 -0
  31. package/lib/lib/analytics/dataflow/dataflow.js.map +1 -1
  32. package/lib/lib/analytics/recipe/recipe.d.ts +45 -3
  33. package/lib/lib/analytics/recipe/recipe.js +26 -0
  34. package/lib/lib/analytics/recipe/recipe.js.map +1 -1
  35. package/messages/app.json +2 -0
  36. package/messages/autoinstall.json +4 -0
  37. package/messages/dataflow.json +26 -1
  38. package/messages/recipe.json +7 -1
  39. package/oclif.manifest.json +1 -1
  40. package/package.json +11 -8
@@ -4,18 +4,57 @@ export type DataflowHistoryType = {
4
4
  name?: string;
5
5
  label?: string;
6
6
  };
7
- export type DataflowType = {
7
+ export type DataflowType = Record<string, unknown> & {
8
8
  id?: string;
9
9
  namespace?: string;
10
10
  name?: string;
11
11
  label?: string;
12
12
  type?: string;
13
+ createdBy?: Record<string, unknown> & {
14
+ id?: string;
15
+ name?: string;
16
+ profilePhotoUrl?: string;
17
+ };
18
+ createdDate?: string;
19
+ definition?: unknown;
20
+ emailNotificationLevel?: string;
21
+ historiesUrl?: string;
22
+ lastModifiedBy?: Record<string, unknown> & {
23
+ id?: string;
24
+ name?: string;
25
+ profilePhotoUrl?: string;
26
+ };
27
+ lastModifiedDate?: string;
28
+ url?: string;
29
+ };
30
+ export type DataflowJobType = Record<string, unknown> & {
31
+ duration?: number;
32
+ id?: string;
33
+ jobType?: string;
34
+ label?: string;
35
+ nodesUrl?: string;
36
+ progress?: number;
37
+ retryCount?: number;
38
+ createdDate?: string;
39
+ executedDate?: string;
40
+ startDate?: string;
41
+ status?: 'Failure' | 'Queued' | 'Live' | 'Running' | 'Success' | 'Warning' | string;
42
+ syncDataflows?: [];
43
+ type?: string;
44
+ url?: string;
45
+ waitTime?: number;
13
46
  };
14
47
  export default class Dataflow {
15
48
  private readonly connection;
16
49
  private readonly dataflowsUrl;
50
+ private readonly dataflowsJobsUrl;
17
51
  constructor(organization: Org);
18
52
  list(): Promise<DataflowType[]>;
19
53
  getHistories(dataflowId: string): Promise<DataflowHistoryType[]>;
20
54
  revertToHistory(dataflowId: string, historyId: string, historyLabel?: string): Promise<string | undefined>;
55
+ startDataflow(dataflowId: string): Promise<DataflowJobType>;
56
+ stopDataflowJob(dataflowJobId: string): Promise<DataflowJobType>;
57
+ updateDataflow(dataflowId: string, definition: unknown): Promise<DataflowType>;
58
+ getDataflowJob(dataflowJobId: string): Promise<DataflowJobType>;
59
+ getDataflowJobs(dataflowId: string): Promise<DataflowJobType[]>;
21
60
  }
@@ -6,6 +6,7 @@ class Dataflow {
6
6
  constructor(organization) {
7
7
  this.connection = organization.getConnection();
8
8
  this.dataflowsUrl = `${this.connection.baseUrl()}/wave/dataflows/`;
9
+ this.dataflowsJobsUrl = `${this.connection.baseUrl()}/wave/dataflowjobs/`;
9
10
  }
10
11
  list() {
11
12
  return (0, request_1.fetchAllPages)(this.connection, this.dataflowsUrl, 'dataflows');
@@ -33,6 +34,68 @@ class Dataflow {
33
34
  (0, utils_1.throwError)(response);
34
35
  }
35
36
  }
37
+ async startDataflow(dataflowId) {
38
+ const command = 'start';
39
+ const response = await (0, request_1.connectRequest)(this.connection, {
40
+ method: 'POST',
41
+ url: this.dataflowsJobsUrl,
42
+ body: JSON.stringify({
43
+ dataflowId,
44
+ command
45
+ })
46
+ });
47
+ if (response) {
48
+ return response;
49
+ }
50
+ else {
51
+ (0, utils_1.throwError)(response);
52
+ }
53
+ }
54
+ async stopDataflowJob(dataflowJobId) {
55
+ const command = 'stop';
56
+ const response = await (0, request_1.connectRequest)(this.connection, {
57
+ method: 'PATCH',
58
+ url: this.dataflowsJobsUrl + encodeURIComponent(dataflowJobId),
59
+ body: JSON.stringify({
60
+ command
61
+ })
62
+ });
63
+ if (response) {
64
+ return response;
65
+ }
66
+ else {
67
+ (0, utils_1.throwError)(response);
68
+ }
69
+ }
70
+ async updateDataflow(dataflowId, definition) {
71
+ const response = await (0, request_1.connectRequest)(this.connection, {
72
+ method: 'PATCH',
73
+ url: this.dataflowsUrl + encodeURIComponent(dataflowId),
74
+ body: JSON.stringify({ definition })
75
+ });
76
+ if (response) {
77
+ return response;
78
+ }
79
+ else {
80
+ (0, utils_1.throwError)(response);
81
+ }
82
+ }
83
+ async getDataflowJob(dataflowJobId) {
84
+ const response = await (0, request_1.connectRequest)(this.connection, {
85
+ method: 'GET',
86
+ url: this.dataflowsJobsUrl + encodeURIComponent(dataflowJobId)
87
+ });
88
+ if (response) {
89
+ return response;
90
+ }
91
+ else {
92
+ (0, utils_1.throwError)(response);
93
+ }
94
+ }
95
+ async getDataflowJobs(dataflowId) {
96
+ const wtUrl = this.dataflowsJobsUrl + '?dataflowId=' + dataflowId;
97
+ return (0, request_1.fetchAllPages)(this.connection, wtUrl, 'dataflowJobs');
98
+ }
36
99
  }
37
100
  exports.default = Dataflow;
38
101
  //# sourceMappingURL=dataflow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataflow.js","sourceRoot":"","sources":["../../../../src/lib/analytics/dataflow/dataflow.ts"],"names":[],"mappings":";;AAOA,wCAA2D;AAC3D,oCAAsC;AAetC,MAAqB,QAAQ;IAI3B,YAAmB,YAAiB;QAClC,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC,aAAa,EAAE,CAAC;QAC/C,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACrE,CAAC;IAEM,IAAI;QACT,OAAO,IAAA,uBAAa,EAAe,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IACtF,CAAC;IAEM,YAAY,CAAC,UAAkB;QACpC,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,GAAG,kBAAkB,CAAC,UAAU,CAAC,GAAG,YAAY,CAAC;QACrF,6GAA6G;QAC7G,+GAA+G;QAC/G,OAAO,IAAA,uBAAa,EAAsB,IAAI,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC;IACtF,CAAC;IA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
2
+ export type RecipeType = Record<string, unknown> & {
3
+ conversionDetails: [];
4
+ createdBy?: {
5
+ id?: string;
6
+ name?: string;
7
+ profilePhotoUrl?: string;
8
+ };
9
+ createdDate?: string;
10
+ dataflowLastUpdate?: string;
11
+ dataset?: {
12
+ id?: string;
13
+ name?: string;
14
+ url?: string;
15
+ };
16
+ fileUrl?: string;
17
+ format?: string;
18
+ historiesUrl?: string;
3
19
  id?: string;
4
- name?: string;
5
- namespace?: string;
6
20
  label?: string;
21
+ lastModifiedBy?: {
22
+ id?: string;
23
+ name?: string;
24
+ profilePhotoUrl?: string;
25
+ };
26
+ lastModifiedDate?: string;
27
+ licenseAttributes?: {
28
+ type?: string;
29
+ };
30
+ name?: string;
31
+ publishingTarget?: string;
32
+ recipeDefinition?: {
33
+ name?: string;
34
+ nodes?: Record<string, unknown>;
35
+ ui?: Record<string, unknown>;
36
+ version?: string;
37
+ };
38
+ scheduleAttributes?: {
39
+ assetId: string;
40
+ frequency: string;
41
+ };
42
+ sourceRecipe?: string;
7
43
  status?: string;
44
+ targetDataflowId?: string;
45
+ type?: string;
46
+ url?: string;
47
+ validationDetails: [];
8
48
  };
9
49
  export default class Recipe {
10
50
  private readonly connection;
11
51
  private readonly recipesUrl;
52
+ private readonly dataflowsJobsUrl;
12
53
  constructor(organization: Org);
13
54
  list(): Promise<RecipeType[]>;
55
+ startRecipe(recipeId: string): Promise<RecipeType | undefined>;
14
56
  }
@@ -7,14 +7,40 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  const request_1 = require("../request");
10
+ const utils_1 = require("../utils");
10
11
  class Recipe {
11
12
  constructor(organization) {
12
13
  this.connection = organization.getConnection();
13
14
  this.recipesUrl = `${this.connection.baseUrl()}/wave/recipes/`;
15
+ this.dataflowsJobsUrl = `${this.connection.baseUrl()}/wave/dataflowjobs/`;
14
16
  }
15
17
  list() {
16
18
  return (0, request_1.fetchAllPages)(this.connection, this.recipesUrl, 'recipes');
17
19
  }
20
+ async startRecipe(recipeId) {
21
+ const startRecipeUrl = this.dataflowsJobsUrl;
22
+ const targetDataflowIdUrl = this.recipesUrl + recipeId + '?format=R3';
23
+ const command = 'start';
24
+ const recipeDetails = await (0, request_1.connectRequest)(this.connection, {
25
+ method: 'GET',
26
+ url: targetDataflowIdUrl
27
+ });
28
+ const dataflowId = recipeDetails.targetDataflowId;
29
+ const response = await (0, request_1.connectRequest)(this.connection, {
30
+ method: 'POST',
31
+ url: startRecipeUrl,
32
+ body: JSON.stringify({
33
+ dataflowId,
34
+ command
35
+ })
36
+ });
37
+ if (response) {
38
+ return response;
39
+ }
40
+ else {
41
+ (0, utils_1.throwError)(response);
42
+ }
43
+ }
18
44
  }
19
45
  exports.default = Recipe;
20
46
  //# sourceMappingURL=recipe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../../src/lib/analytics/recipe/recipe.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAGH,wCAA2C;AAU3C,MAAqB,MAAM;IAIzB,YAAmB,YAAiB;QAClC,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC,aAAa,EAAE,CAAC;QAC/C,IAAI,CAAC,UAAU,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,gBAAgB,CAAC;IACjE,CAAC;IAEM,IAAI;QACT,OAAO,IAAA,uBAAa,EAAa,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAChF,CAAC;CACF;AAZD,yBAYC"}
1
+ {"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../../../src/lib/analytics/recipe/recipe.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAGH,wCAA2D;AAC3D,oCAAsC;AA4BtC,MAAqB,MAAM;IAKzB,YAAmB,YAAiB;QAClC,IAAI,CAAC,UAAU,GAAG,YAAY,CAAC,aAAa,EAAE,CAAC;QAC/C,IAAI,CAAC,UAAU,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,gBAAgB,CAAC;QAC/D,IAAI,CAAC,gBAAgB,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,qBAAqB,CAAC;IAC5E,CAAC;IAEM,IAAI;QACT,OAAO,IAAA,uBAAa,EAAa,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAChF,CAAC;IAEM,KAAK,CAAC,WAAW,CAAC,QAAgB;QACvC,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,IAAI,CAAC,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;QACtE,MAAM,OAAO,GAAG,OAAO,CAAC;QAExB,MAAM,aAAa,GAAG,MAAM,IAAA,wBAAc,EAAa,IAAI,CAAC,UAAU,EAAE;YACtE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mBAAmB;SACzB,CAAC,CAAC;QACH,MAAM,UAAU,GAAG,aAAa,CAAC,gBAAgB,CAAC;QAClD,MAAM,QAAQ,GAAG,MAAM,IAAA,wBAAc,EAAa,IAAI,CAAC,UAAU,EAAE;YACjE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,cAAc;YACnB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;gBACnB,UAAU;gBACV,OAAO;aACR,CAAC;SACH,CAAC,CAAC;QAEH,IAAI,QAAQ,EAAE;YACZ,OAAO,QAAQ,CAAC;SACjB;aAAM;YACL,IAAA,kBAAU,EAAC,QAAQ,CAAC,CAAC;SACtB;IACH,CAAC;CACF;AAxCD,yBAwCC"}
package/messages/app.json CHANGED
@@ -21,6 +21,8 @@
21
21
  "templatenameFlagLongDescription": "The name of the Analytics template.",
22
22
  "appnameFlagDescription": "app name",
23
23
  "appnameFlagLongDescription": "The name of the created app.",
24
+ "appdescriptionFlagDescription": "app description",
25
+ "appdescriptionFlagLongDescription": "The description of the created app.",
24
26
  "applogFlagDescription": "specify to include app creation log details",
25
27
  "applogFlagLongDescription": "Specify to include app creation log details.",
26
28
  "appCreateAsyncDescription": "create app asynchronously",
@@ -26,6 +26,10 @@
26
26
  "autoinstallidFlagLongDescription": "ID of the auto-install request.",
27
27
  "applogFlagDescription": "specify to include app creation log details",
28
28
  "applogFlagLongDescription": "Specify to include app creation log details.",
29
+ "appnameFlagDescription": "app name",
30
+ "appnameFlagLongDescription": "The name of the created app.",
31
+ "appdescriptionFlagDescription": "app description",
32
+ "appdescriptionFlagLongDescription": "The description of the created app.",
29
33
  "displayLogHeader": "App Log",
30
34
  "displayNoLogAvailable": "No app log available.",
31
35
  "displayDateFormat": "YYYY-MM-DD HH:mm:ss",
@@ -1,5 +1,30 @@
1
1
  {
2
+ "missingRequiredField": "Missing Required Field: dataflowfile or dataflowstr",
3
+
2
4
  "listCommandDescription": "list Analytics dataflows",
3
5
  "listCommandLongDescription": "Lists Analytics dataflows in the specified target org.",
4
- "dataflowsFound": "Found [%s] Analytics dataflows."
6
+ "dataflowsFound": "Found [%s] Analytics dataflows.",
7
+ "startCommandDescription": "start Analytics dataflows",
8
+ "startCommandLongDescription": "Start Analytics dataflows in the specified target org.",
9
+ "stopCommandDescription": "stop Analytics dataflows",
10
+ "stopCommandLongDescription": "Stop Analytics dataflows in the specified target org.",
11
+ "updateCommandDescription": "update Analytics dataflow",
12
+ "updateCommandLongDescription": "Update Analytics dataflow in the specified target org.",
13
+ "displayCommandDescription": "display status of Analytics dataflow",
14
+ "displayCommandLongDescription": "Display status of Analytics dataflow in the specified target org.",
15
+ "listJobsCommandDescription": "list jobs of Analytics dataflow",
16
+ "listJobsCommandLongDescription": "List jobs of Analytics dataflow in the specified target org.",
17
+
18
+ "dataflowidFlagDescription": "dataflow ID",
19
+ "dataflowidFlagLongDescription": "The ID of the dataflow to update.",
20
+ "dataflowjobIdFlagDescription": "dataflow Job ID",
21
+ "dataflowjobIdFlagLongDescription": "The ID of the dataflow job to update.",
22
+ "dataflowFileFlagDescription": "dataflow JSON file",
23
+ "dataflowFileFlagLongDescription": "The JSON of the dataflow to update.",
24
+ "dataflowJsonFlagDescription": "dataflow JSON string",
25
+ "dataflowJsonFlagLongDescription": "The JSON string of the dataflow to update.",
26
+
27
+ "dataflowJobUpdate": "Updated dataflow job (%s) status to (%s).",
28
+ "displayDetailHeader": "Dataflow Details",
29
+ "updateDataflow": "Successfully updated %s (%s) "
5
30
  }
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "listCommandDescription": "list Analytics recipes",
3
3
  "listCommandLongDescription": "Lists Analytics recipes in the specified target org.",
4
- "recipesFound": "Found [%s] Analytics recipes."
4
+ "startCommandDescription": "start Analytics recipes",
5
+ "startCommandLongDescription": "Start Analytics recipes in the specified target org.",
6
+ "recipeidFlagDescription": "recipe ID",
7
+ "recipeidFlagLongDescription": "The ID of the recipe to update.",
8
+
9
+ "recipesFound": "Found [%s] Analytics recipes.",
10
+ "recipeJobUpdate": "Updated recipe job (%s) status to (%s)."
5
11
  }