@pdfbutler/migration-cli 0.0.27 → 0.0.29

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 (61) hide show
  1. package/README.md +332 -45
  2. package/lib/commands/butler/pb/admincredentials.js +37 -37
  3. package/lib/commands/butler/pb/admincredentials.js.map +1 -1
  4. package/lib/commands/butler/pb/adminsettings.d.ts +1 -2
  5. package/lib/commands/butler/pb/adminsettings.js +32 -32
  6. package/lib/commands/butler/pb/adminsettings.js.map +1 -1
  7. package/lib/commands/butler/pb/export.d.ts +12 -4
  8. package/lib/commands/butler/pb/export.js +333 -200
  9. package/lib/commands/butler/pb/export.js.map +1 -1
  10. package/lib/commands/butler/pb/exportdatasource.d.ts +28 -0
  11. package/lib/commands/butler/pb/exportdatasource.js +163 -0
  12. package/lib/commands/butler/pb/exportdatasource.js.map +1 -0
  13. package/lib/commands/butler/pb/exportpack.d.ts +15 -0
  14. package/lib/commands/butler/pb/exportpack.js +282 -68
  15. package/lib/commands/butler/pb/exportpack.js.map +1 -1
  16. package/lib/commands/butler/pb/import.d.ts +17 -3
  17. package/lib/commands/butler/pb/import.js +403 -192
  18. package/lib/commands/butler/pb/import.js.map +1 -1
  19. package/lib/commands/butler/pb/importdatasource.d.ts +31 -0
  20. package/lib/commands/butler/pb/importdatasource.js +252 -0
  21. package/lib/commands/butler/pb/importdatasource.js.map +1 -0
  22. package/lib/commands/butler/pb/importpack.d.ts +23 -0
  23. package/lib/commands/butler/pb/importpack.js +391 -69
  24. package/lib/commands/butler/pb/importpack.js.map +1 -1
  25. package/lib/commands/butler/sb/export/signtemplate.d.ts +23 -0
  26. package/lib/commands/butler/sb/export/signtemplate.js +111 -0
  27. package/lib/commands/butler/sb/export/signtemplate.js.map +1 -0
  28. package/lib/commands/butler/sb/import/signtemplate.d.ts +23 -0
  29. package/lib/commands/butler/sb/import/signtemplate.js +108 -0
  30. package/lib/commands/butler/sb/import/signtemplate.js.map +1 -0
  31. package/lib/utils/authentication.d.ts +3 -1
  32. package/lib/utils/authentication.js +13 -17
  33. package/lib/utils/authentication.js.map +1 -1
  34. package/lib/utils/constants.d.ts +134 -89
  35. package/lib/utils/constants.js +65 -20
  36. package/lib/utils/constants.js.map +1 -1
  37. package/lib/utils/extract-templates.d.ts +1 -0
  38. package/lib/utils/extract-templates.js +89 -0
  39. package/lib/utils/extract-templates.js.map +1 -0
  40. package/lib/utils/id-map.d.ts +1 -0
  41. package/lib/utils/id-map.js +22 -0
  42. package/lib/utils/id-map.js.map +1 -0
  43. package/lib/utils/ids.d.ts +2 -0
  44. package/lib/utils/ids.js +21 -0
  45. package/lib/utils/ids.js.map +1 -0
  46. package/lib/utils/logger.d.ts +2 -1
  47. package/lib/utils/logger.js +15 -7
  48. package/lib/utils/logger.js.map +1 -1
  49. package/lib/utils/pack-docconfigs.d.ts +4 -0
  50. package/lib/utils/pack-docconfigs.js +77 -0
  51. package/lib/utils/pack-docconfigs.js.map +1 -0
  52. package/messages/butler.pb.export.md +4 -0
  53. package/messages/butler.pb.exportdatasource.md +51 -0
  54. package/messages/butler.pb.exportpack.md +24 -0
  55. package/messages/butler.pb.import.md +4 -0
  56. package/messages/butler.pb.importdatasource.md +51 -0
  57. package/messages/butler.pb.importpack.md +24 -0
  58. package/messages/butler.sb.export.signtemplate.md +35 -0
  59. package/messages/butler.sb.import.signtemplate.md +35 -0
  60. package/oclif.manifest.json +437 -46
  61. package/package.json +223 -215
@@ -0,0 +1,51 @@
1
+ # summary
2
+
3
+ Import PDF Butler DataSource records into your organization.
4
+
5
+ # description
6
+
7
+ Use this command to import DataSource records from JSON files exported by the DataSource export command.
8
+
9
+ # flags.target.summary
10
+
11
+ The Salesforce org username credentials to connect to the target org.
12
+
13
+ # flags.id.summary
14
+
15
+ The DataSource ID to import. For bulk import, enter multiple IDs separated by whitespaces.
16
+
17
+ # flags.parents.summary
18
+
19
+ Automatically resolve and import parent DataSources first, then child DataSources.
20
+
21
+ # flags.folder.summary
22
+
23
+ The folder that contains the exported DataSource JSON files.
24
+
25
+ # flags.auth-env-var.summary
26
+
27
+ PDF Butler credentials for backend authentication.
28
+
29
+ # flags.endpoint.summary
30
+
31
+ PDF Butler endpoint URL.
32
+
33
+ # flags.stage.summary
34
+
35
+ CADMUS stage for backend operations.
36
+
37
+ # flags.logs.summary
38
+
39
+ Enable detailed logs for the import process.
40
+
41
+ # flags.session.summary
42
+
43
+ Salesforce Session ID for authentication.
44
+
45
+ # flags.instance.summary
46
+
47
+ Salesforce Instance URL for authentication.
48
+
49
+ # examples
50
+
51
+ - <%= config.bin %> <%= command.id %> -t my-org -i "00Dak00000A4YWn_a0Bak00000MZcAb" -f "./export/ds"
@@ -35,6 +35,30 @@ Target.
35
35
 
36
36
  Logs.
37
37
 
38
+ # flags.auth-env-var.summary
39
+
40
+ Auth env var.
41
+
42
+ # flags.endpoint.summary
43
+
44
+ Endpoint URL.
45
+
46
+ # flags.stage.summary
47
+
48
+ Stage.
49
+
50
+ # flags.templates.summary
51
+
52
+ Include template DocConfigs.
53
+
54
+ # flags.clone.summary
55
+
56
+ Clone DocConfigs instead of updating existing.
57
+
58
+ # flags.docconfig.summary
59
+
60
+ Import DocConfigs mode: pack | lead | full.
61
+
38
62
  # flags.session.summary
39
63
 
40
64
  Session Id.
@@ -0,0 +1,35 @@
1
+ # summary
2
+
3
+ Export Sign Request Template records from your organization.
4
+
5
+ # description
6
+
7
+ Use this command to export one or more Sign Request Templates and save them locally as JSON files.
8
+
9
+ # flags.target.summary
10
+
11
+ The Salesforce org username credentials to connect to the target org.
12
+
13
+ # flags.id.summary
14
+
15
+ The Customer Template ID to export. For bulk export, enter multiple IDs separated by whitespaces.
16
+
17
+ # flags.folder.summary
18
+
19
+ The output root folder path. Files will be saved to the signRequestTemplates subfolder.
20
+
21
+ # flags.logs.summary
22
+
23
+ Enable detailed logs for the export process.
24
+
25
+ # flags.session.summary
26
+
27
+ Salesforce Session ID for authentication.
28
+
29
+ # flags.instance.summary
30
+
31
+ Salesforce Instance URL for authentication.
32
+
33
+ # examples
34
+
35
+ - sf butler:sb:export:signtemplate -t my-org --id "a0Bxx0000000011 a0Bxx0000000012" -f "./export/sb"
@@ -0,0 +1,35 @@
1
+ # summary
2
+
3
+ Import Sign Request Template records into your organization.
4
+
5
+ # description
6
+
7
+ Use this command to import Sign Request Templates from JSON files previously exported by the export command.
8
+
9
+ # flags.target.summary
10
+
11
+ The Salesforce org username credentials to connect to the target org.
12
+
13
+ # flags.id.summary
14
+
15
+ The Customer Template ID to import. For bulk import, enter multiple IDs separated by whitespaces.
16
+
17
+ # flags.folder.summary
18
+
19
+ The export root folder path that contains the signRequestTemplates subfolder.
20
+
21
+ # flags.logs.summary
22
+
23
+ Enable detailed logs for the import process.
24
+
25
+ # flags.session.summary
26
+
27
+ Salesforce Session ID for authentication.
28
+
29
+ # flags.instance.summary
30
+
31
+ Salesforce Instance URL for authentication.
32
+
33
+ # examples
34
+
35
+ - sf butler:sb:import:signtemplate -t my-org --id "a0Bxx0000000011" -f "./export/sb"