@salesforce/plugin-bre-to-cml 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.lock CHANGED
@@ -3853,11 +3853,11 @@ graphemer@^1.4.0:
3853
3853
  integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
3854
3854
 
3855
3855
  handlebars@^4.7.9:
3856
- version "4.7.9"
3857
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.9.tgz#6f139082ab58dc4e5a0e51efe7db5ae890d56a0f"
3858
- integrity sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==
3856
+ version "4.7.10"
3857
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.10.tgz#12419ea1b41391b3ffcf003f2164dcbce090c417"
3858
+ integrity sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==
3859
3859
  dependencies:
3860
- minimist "^1.2.5"
3860
+ minimist "^1.2.8"
3861
3861
  neo-async "^2.6.2"
3862
3862
  source-map "^0.6.1"
3863
3863
  wordwrap "^1.0.0"
@@ -5215,7 +5215,7 @@ minimist-options@4.1.0:
5215
5215
  is-plain-obj "^1.1.0"
5216
5216
  kind-of "^6.0.3"
5217
5217
 
5218
- minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6:
5218
+ minimist@^1.2.0, minimist@^1.2.6, minimist@^1.2.8:
5219
5219
  version "1.2.8"
5220
5220
  resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
5221
5221
  integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
@@ -1,99 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "cml:import:as-expression-set": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Review CM created by conversion command before doing import. \nThis command executes following logic:\n- Import one CML at a time\n- Upsert the Expression Set using the `cml-api` name\n- Read and upsert `ExpressionSetConstraintObj` rows from the `cml-api_associations.csv` file (resolving FKs)\n- Upload the CML blob",
7
- "examples": [
8
- "<%= config.bin %> <%= command.id %> --cml-api MY_TEST --context-definition PricingTransactionCD2 --workspace-dir data --target-org tgtOrg"
9
- ],
10
- "flags": {
11
- "json": {
12
- "description": "Format output as json.",
13
- "helpGroup": "GLOBAL",
14
- "name": "json",
15
- "allowNo": false,
16
- "type": "boolean"
17
- },
18
- "flags-dir": {
19
- "helpGroup": "GLOBAL",
20
- "name": "flags-dir",
21
- "summary": "Import flag values from a directory.",
22
- "hasDynamicHelp": false,
23
- "multiple": false,
24
- "type": "option"
25
- },
26
- "target-org": {
27
- "char": "o",
28
- "name": "target-org",
29
- "noCacheDefault": true,
30
- "required": true,
31
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
32
- "hasDynamicHelp": true,
33
- "multiple": false,
34
- "type": "option"
35
- },
36
- "api-version": {
37
- "description": "Override the api version used for api requests made by this command",
38
- "name": "api-version",
39
- "hasDynamicHelp": false,
40
- "multiple": false,
41
- "type": "option"
42
- },
43
- "context-definition": {
44
- "char": "x",
45
- "name": "context-definition",
46
- "required": true,
47
- "summary": "Context Definition name to be assocciated with the CML.",
48
- "hasDynamicHelp": false,
49
- "multiple": false,
50
- "type": "option"
51
- },
52
- "cml-api": {
53
- "char": "c",
54
- "name": "cml-api",
55
- "required": true,
56
- "summary": "Unique CML API Name to be created.",
57
- "hasDynamicHelp": false,
58
- "multiple": false,
59
- "type": "option"
60
- },
61
- "workspace-dir": {
62
- "char": "d",
63
- "name": "workspace-dir",
64
- "summary": "Directory where converted CML and assocciations csv files are located.",
65
- "hasDynamicHelp": false,
66
- "multiple": false,
67
- "type": "option"
68
- }
69
- },
70
- "hasDynamicHelp": true,
71
- "hiddenAliases": [],
72
- "id": "cml:import:as-expression-set",
73
- "pluginAlias": "@salesforce/plugin-bre-to-cml",
74
- "pluginName": "@salesforce/plugin-bre-to-cml",
75
- "pluginType": "core",
76
- "strict": true,
77
- "summary": "Imports CML and associations to the target org",
78
- "enableJsonFlag": true,
79
- "isESM": true,
80
- "relativePath": [
81
- "lib",
82
- "commands",
83
- "cml",
84
- "import",
85
- "as-expression-set.js"
86
- ],
87
- "aliasPermutations": [],
88
- "permutations": [
89
- "cml:import:as-expression-set",
90
- "import:cml:as-expression-set",
91
- "import:as-expression-set:cml",
92
- "cml:as-expression-set:import",
93
- "as-expression-set:cml:import",
94
- "as-expression-set:import:cml"
95
- ]
96
- },
97
3
  "cml:convert:prod-cfg-rules": {
98
4
  "aliases": [],
99
5
  "args": {},
@@ -402,6 +308,100 @@
402
308
  "underwriting-rules:convert:cml"
403
309
  ]
404
310
  },
311
+ "cml:import:as-expression-set": {
312
+ "aliases": [],
313
+ "args": {},
314
+ "description": "Review CM created by conversion command before doing import. \nThis command executes following logic:\n- Import one CML at a time\n- Upsert the Expression Set using the `cml-api` name\n- Read and upsert `ExpressionSetConstraintObj` rows from the `cml-api_associations.csv` file (resolving FKs)\n- Upload the CML blob",
315
+ "examples": [
316
+ "<%= config.bin %> <%= command.id %> --cml-api MY_TEST --context-definition PricingTransactionCD2 --workspace-dir data --target-org tgtOrg"
317
+ ],
318
+ "flags": {
319
+ "json": {
320
+ "description": "Format output as json.",
321
+ "helpGroup": "GLOBAL",
322
+ "name": "json",
323
+ "allowNo": false,
324
+ "type": "boolean"
325
+ },
326
+ "flags-dir": {
327
+ "helpGroup": "GLOBAL",
328
+ "name": "flags-dir",
329
+ "summary": "Import flag values from a directory.",
330
+ "hasDynamicHelp": false,
331
+ "multiple": false,
332
+ "type": "option"
333
+ },
334
+ "target-org": {
335
+ "char": "o",
336
+ "name": "target-org",
337
+ "noCacheDefault": true,
338
+ "required": true,
339
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
340
+ "hasDynamicHelp": true,
341
+ "multiple": false,
342
+ "type": "option"
343
+ },
344
+ "api-version": {
345
+ "description": "Override the api version used for api requests made by this command",
346
+ "name": "api-version",
347
+ "hasDynamicHelp": false,
348
+ "multiple": false,
349
+ "type": "option"
350
+ },
351
+ "context-definition": {
352
+ "char": "x",
353
+ "name": "context-definition",
354
+ "required": true,
355
+ "summary": "Context Definition name to be assocciated with the CML.",
356
+ "hasDynamicHelp": false,
357
+ "multiple": false,
358
+ "type": "option"
359
+ },
360
+ "cml-api": {
361
+ "char": "c",
362
+ "name": "cml-api",
363
+ "required": true,
364
+ "summary": "Unique CML API Name to be created.",
365
+ "hasDynamicHelp": false,
366
+ "multiple": false,
367
+ "type": "option"
368
+ },
369
+ "workspace-dir": {
370
+ "char": "d",
371
+ "name": "workspace-dir",
372
+ "summary": "Directory where converted CML and assocciations csv files are located.",
373
+ "hasDynamicHelp": false,
374
+ "multiple": false,
375
+ "type": "option"
376
+ }
377
+ },
378
+ "hasDynamicHelp": true,
379
+ "hiddenAliases": [],
380
+ "id": "cml:import:as-expression-set",
381
+ "pluginAlias": "@salesforce/plugin-bre-to-cml",
382
+ "pluginName": "@salesforce/plugin-bre-to-cml",
383
+ "pluginType": "core",
384
+ "strict": true,
385
+ "summary": "Imports CML and associations to the target org",
386
+ "enableJsonFlag": true,
387
+ "isESM": true,
388
+ "relativePath": [
389
+ "lib",
390
+ "commands",
391
+ "cml",
392
+ "import",
393
+ "as-expression-set.js"
394
+ ],
395
+ "aliasPermutations": [],
396
+ "permutations": [
397
+ "cml:import:as-expression-set",
398
+ "import:cml:as-expression-set",
399
+ "import:as-expression-set:cml",
400
+ "cml:as-expression-set:import",
401
+ "as-expression-set:cml:import",
402
+ "as-expression-set:import:cml"
403
+ ]
404
+ },
405
405
  "insurance:import:record-updates": {
406
406
  "aliases": [],
407
407
  "args": {},
@@ -495,5 +495,5 @@
495
495
  ]
496
496
  }
497
497
  },
498
- "version": "1.3.2"
498
+ "version": "1.3.3"
499
499
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-bre-to-cml",
3
3
  "description": "Plugin for migrating BRE based configurator rules to CML.",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "salesforceRelease": "256.11",
6
6
  "dependencies": {
7
7
  "@oclif/core": "^4",
@@ -229,7 +229,7 @@
229
229
  "type": "module",
230
230
  "author": "George Kibilov",
231
231
  "sfdx": {
232
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.2.crt",
233
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.2.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.3.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-bre-to-cml/1.3.3.sig"
234
234
  }
235
235
  }