@pdfbutler/migration-cli 0.0.27 → 0.0.28

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 (48) hide show
  1. package/README.md +193 -30
  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 +10 -3
  8. package/lib/commands/butler/pb/export.js +295 -197
  9. package/lib/commands/butler/pb/export.js.map +1 -1
  10. package/lib/commands/butler/pb/exportdatasource.d.ts +27 -0
  11. package/lib/commands/butler/pb/exportdatasource.js +161 -0
  12. package/lib/commands/butler/pb/exportdatasource.js.map +1 -0
  13. package/lib/commands/butler/pb/exportpack.js +43 -46
  14. package/lib/commands/butler/pb/exportpack.js.map +1 -1
  15. package/lib/commands/butler/pb/import.d.ts +17 -3
  16. package/lib/commands/butler/pb/import.js +415 -183
  17. package/lib/commands/butler/pb/import.js.map +1 -1
  18. package/lib/commands/butler/pb/importdatasource.d.ts +30 -0
  19. package/lib/commands/butler/pb/importdatasource.js +250 -0
  20. package/lib/commands/butler/pb/importdatasource.js.map +1 -0
  21. package/lib/commands/butler/pb/importpack.js +38 -38
  22. package/lib/commands/butler/pb/importpack.js.map +1 -1
  23. package/lib/commands/butler/sb/export/signtemplate.d.ts +23 -0
  24. package/lib/commands/butler/sb/export/signtemplate.js +111 -0
  25. package/lib/commands/butler/sb/export/signtemplate.js.map +1 -0
  26. package/lib/commands/butler/sb/import/signtemplate.d.ts +23 -0
  27. package/lib/commands/butler/sb/import/signtemplate.js +108 -0
  28. package/lib/commands/butler/sb/import/signtemplate.js.map +1 -0
  29. package/lib/utils/authentication.d.ts +3 -1
  30. package/lib/utils/authentication.js +13 -17
  31. package/lib/utils/authentication.js.map +1 -1
  32. package/lib/utils/constants.d.ts +125 -89
  33. package/lib/utils/constants.js +56 -20
  34. package/lib/utils/constants.js.map +1 -1
  35. package/lib/utils/extract-templates.d.ts +1 -0
  36. package/lib/utils/extract-templates.js +89 -0
  37. package/lib/utils/extract-templates.js.map +1 -0
  38. package/lib/utils/logger.d.ts +2 -1
  39. package/lib/utils/logger.js +15 -7
  40. package/lib/utils/logger.js.map +1 -1
  41. package/messages/butler.pb.export.md +4 -0
  42. package/messages/butler.pb.exportdatasource.md +51 -0
  43. package/messages/butler.pb.import.md +4 -0
  44. package/messages/butler.pb.importdatasource.md +51 -0
  45. package/messages/butler.sb.export.signtemplate.md +35 -0
  46. package/messages/butler.sb.import.signtemplate.md +35 -0
  47. package/oclif.manifest.json +322 -43
  48. package/package.json +223 -215
package/README.md CHANGED
@@ -6,38 +6,53 @@
6
6
 
7
7
  v0.0.11 updates: <br/>
8
8
 
9
- - '-b' flag disables backend export. If specified, the export operation doesn't use a PDF Butler backend process for exporting the configuration. By default, backend export is enabled.
10
- - '-l --logs' flag. Use this flag to enable a more detailed log of the migration process.
11
- - '-p --partial' flag. Use this flag to ignore invalid document configurations and allow the export of document configuration files with the backend part.
9
+ - `-b` flag disables backend export. If specified, the export operation doesn't use a PDF Butler backend process for exporting the configuration. By default, backend export is enabled.
10
+ - `-l | --logs` flag. Use this flag to enable a more detailed log of the migration process.
11
+ - `-p | --partial` flag. Use this flag to ignore invalid document configurations and allow the export of document configuration files with the backend part.
12
12
 
13
13
  v0.0.14 updates: <br/>
14
14
 
15
- - The '-i --id' flag has been added to the import command to specify the IDs of the PDF Butler document configurations that require importing. This is a required flag.
15
+ - The `-i | --id` flag has been added to the import command to specify the IDs of the PDF Butler document configurations that require importing. This is a required flag.
16
16
 
17
17
  v0.0.17 updates: <br/>
18
18
 
19
- - The '-c' or '--clone' flag has been added to the import command. Use '-c' or '--clone' to allow inserting new DocConfigs instead of updating existing ones.
19
+ - The `-c | --clone` flag has been added to the import command. Use '-c' or '--clone' to allow inserting new DocConfigs instead of updating existing ones.
20
20
 
21
21
  v.0.0.18 updates: <br/>
22
22
  This release introduces several new commands to enhance the management and deployment of PDFButler Packs and administrative settings in your org. Here’s a breakdown of the new commands and their functionality:
23
23
 
24
- - 'exportpack'. Allows you to export a PDFButler Pack from the org to an external file.
25
- - 'importpack'. Facilitates importing a previously exported PDFButler Pack into your org.
26
- - 'adminsettings'. Allows you to configure critical PDFButler settings such as the service URL, region, and stage.
27
- - 'admincredentials'. Enables you to securely provide or update the PDFButler admin credentials.
24
+ - `exportpack` Allows you to export a PDFButler Pack from the org to an external file.
25
+ - `importpack` Facilitates importing a previously exported PDFButler Pack into your org.
26
+ - `adminsettings` Allows you to configure critical PDFButler settings such as the service URL, region, and stage.
27
+ - `admincredentials` Enables you to securely provide or update the PDFButler admin credentials.
28
28
 
29
29
  v.0.0.20 updates <br/>
30
30
  This release introduces an alternative authentication method to enhance flexibility when connecting to Salesforce. The new functionality includes support for session-based authentication, allowing users to connect without relying solely on username.
31
31
  Additionally, two new optional flags, --session and --instance, have been added to all commands to support this authentication method:
32
32
 
33
- - '--session'. Allows you to provide a Salesforce Session Id for authentication.
34
- - '--instance'. Specifies the Salesforce Instance URL for authentication.
33
+ - `--session` Allows you to provide a Salesforce Session Id for authentication.
34
+ - `--instance` Specifies the Salesforce Instance URL for authentication.
35
35
 
36
- v.0.0.24 updates <br/>
37
- This release introduces enhancements to filename handling, improving compatibility and usability when working with zipped files, particularly in Windows environments.
36
+ v.0.0.24 updates
37
+ This release introduces enhancements to filename handling, improving compatibility and usability when working with zipped files, particularly in Windows environments.
38
+
39
+ - `--cut` — Trim filenames to a maximum of 150 characters to prevent issues when extracting a zipped file on Windows, as Windows Explorer cannot support file paths longer than 255 characters.
40
+ - `--shortpaths` — The filename is just the DC name (drop the Stage and long DC Id in the filename).
41
+
42
+ v0.0.28 updates: <br/>
43
+ DocConfigs with Templates — Export & Import Support
44
+ - Export and import operations now support DocConfigs together with their associated template DocConfigs.
45
+ - Use `-m | --templates` to include templates during both export and import.
46
+
47
+ DataSource — Export & Import Support
48
+ - DataSource import requires PDF Butler package version v1.505 or higher.
49
+ - `exportdatasource` — Exports PDF Butler DataSources from the org.
50
+ - `importdatasource` — Imports PDF Butler DataSources into the org from JSON
51
+
52
+ SB Sign Request Template — Export & Import Support
53
+ - `butler:sb:export:signtemplate` — Exports Sign Request Templates from the org and saves them as JSON files for backup or migration.
54
+ - `butler:sb:import:signtemplate` — Imports Sign Request Templates into the org from previously exported JSON files
38
55
 
39
- - '--cut'. Trim filenames to a maximum of 150 characters to prevent issues when extracting a zipped file on Windows, as Windows Explorer cannot support file paths longer than 255 characters.
40
- - '--shortpaths'. The filename is just the DC name (drop the Stage and long DC Id in the filename).
41
56
  ## About
42
57
 
43
58
  @pdfbutler/migration-cli is a Salesforce plugin designed to simplify and automate the process of migrating configurations within the PDF Butler system in the Salesforce environment. PDF Butler is a powerful tool for generating and automating documents in the Salesforce platform, and the use of this CLI plugin allows users to easily manage configurations and transfer them between different Salesforce instances or projects.
@@ -62,7 +77,7 @@ If you've installed Node.js on your computer, you can use npm to install Salesfo
62
77
  npm install @salesforce/cli --global
63
78
  ```
64
79
 
65
- For install the plugin run:
80
+ For installation the plugin runs:
66
81
 
67
82
  ```
68
83
  sf plugins install @pdfbutler/migration-cli
@@ -119,13 +134,59 @@ One of the common errors in Windows Command Prompt is incorrectly parsing comman
119
134
 
120
135
  ## Commands
121
136
 
137
+ ## butler sb export signtemplate
138
+
139
+ Export Sign Request Template records from your organization.
140
+
141
+ ```
142
+ USAGE
143
+ $ sf butler sb export signtemplate -i <value> -f <value> [--json] [-t <value>] [-l] [--session <value>] [--instance <value>]
144
+
145
+ FLAGS
146
+ -t, --target=<value> The Salesforce org username credentials to connect to the target org.
147
+ -i, --id=<value> The Customer Template ID to export. For bulk export, enter multiple IDs separated by whitespaces. (Required)
148
+ -f, --folder=<value> The output root folder path. Files will be saved to the signRequestTemplates subfolder. (Required)
149
+ -l, --logs Enable detailed logs for the export process.
150
+ --session=<value> Salesforce Session ID for authentication.
151
+ --instance=<value> Salesforce Instance URL for authentication.
152
+
153
+ DESCRIPTION
154
+ Export Sign Request Template records from your organization.
155
+
156
+ EXAMPLES
157
+ $ sf butler:sb:export:signtemplate -t my-org -i "a0Bxx0000000011 a0Bxx0000000012" -f "./export/sb"
158
+ ```
159
+
160
+ ## butler sb import signtemplate
161
+
162
+ Import Sign Request Template records into your organization.
163
+
164
+ ```
165
+ USAGE
166
+ $ sf butler sb import signtemplate -i <value> -f <value> [--json] [-t <value>] [-l] [--session <value>] [--instance <value>]
167
+
168
+ FLAGS
169
+ -t, --target=<value> The Salesforce org username credentials to connect to the target org.
170
+ -i, --id=<value> The Customer Template ID to import. For bulk import, enter multiple IDs separated by whitespaces. (Required)
171
+ -f, --folder=<value> The export root folder path that contains the signRequestTemplates subfolder. (Required)
172
+ -l, --logs Enable detailed logs for the import process.
173
+ --session=<value> Salesforce Session ID for authentication.
174
+ --instance=<value> Salesforce Instance URL for authentication.
175
+
176
+ DESCRIPTION
177
+ Import Sign Request Template records into your organization.
178
+
179
+ EXAMPLES
180
+ $ sf butler:sb:import:signtemplate -t my-org -i "a0Bxx0000000011" -f "./export/sb"
181
+ ```
182
+
122
183
  ## butler pb export
123
184
 
124
185
  Export PDF Butler configurations.
125
186
 
126
187
  ```
127
188
  USAGE
128
- $ sf butler pb export [--target | -t <value>] [--id | -i <value>] [--out | -o <value>] [--stage | -s <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [--backend | -b] [--unzip | -u] [-l | --logs] [-p | --partial] [--session <value>] [--instance <value>]
189
+ $ sf butler pb export [--target | -t <value>] [--id | -i <value>] [--out | -o <value>] [--stage | -s <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [--backend | -b] [--unzip | -u] [-l | --logs] [-p | --partial] [-m | --templates] [--session <value>] [--instance <value>]
129
190
 
130
191
  FLAGS
131
192
  -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Required)
@@ -145,6 +206,7 @@ FLAGS
145
206
  -b, --backend Use this flag to disable PDF Butler backend export. (Optional)
146
207
  -l, --logs Use it to get a more detailed log of migration process. (Optional)
147
208
  -p, --partial Use this flag to ignore invalid document configurations and allow the export of document configuration files with the backend part. (Optional)
209
+ -m, --templates Include template DocConfigs in the export. (Optional)
148
210
  --session=<value> This flag is used to provide a Salesforce Session ID for authentication.
149
211
  --instance=<value> This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
150
212
 
@@ -181,7 +243,7 @@ EXAMPLES
181
243
 
182
244
  $ sf butler pb export -t sfusername@sandbox.com -i 'document_configuration_id'
183
245
  -o 'export_folder_name/archive_or_folder_name' -s 'TEST' -e 'https://eu1.pdfbutler.com'
184
- -a 'pdf_butler_user_name-ADMIN:admin_password'
246
+ -a 'pdf_butler_user_name-ADMIN:admin_password' -m
185
247
 
186
248
  # Console output:
187
249
  Connected to sfusername@sandbox.com (00D06000001aXGkEAM) with API version 58.0
@@ -190,12 +252,19 @@ EXAMPLES
190
252
  Directory 'export_folder_name/archive_or_folder_name'{
191
253
  Directory 'sfdc'{
192
254
  file 'docconfig_id.json',
255
+ file 'template_docconfig_id.json',
193
256
  },
194
257
  zip file'docconfig_id.zip'{
195
258
  Directory 'ConfigTypes',
196
259
  Directory 'DataSources',
197
260
  file 'doc-config.json',
198
261
  file 'TemplateName.docx'
262
+ },
263
+ zip file'template_docconfig_id.zip'{
264
+ Directory 'ConfigTypes',
265
+ Directory 'DataSources',
266
+ file 'doc-config.json',
267
+ file 'TemplateName.docx'
199
268
  }
200
269
  }
201
270
 
@@ -211,7 +280,7 @@ EXAMPLES
211
280
  # Created:
212
281
  Directory 'export_folder_name/archive_or_folder_name'{
213
282
  Directory 'sfdc'{
214
- file 'docconfig_id.json',
283
+ file 'docconfig_id.json'
215
284
  },
216
285
  Unziped directory 'docconfig_id'{
217
286
  Directory 'ConfigTypes',
@@ -365,9 +434,12 @@ FLAG DESCRIPTIONS
365
434
  -p, --partial
366
435
  Use this flag to ignore invalid document configurations and allow the export of document configuration files with the backend part.
367
436
 
437
+ -m, --templates
438
+ Include template DocConfigs in the export.
439
+
368
440
  --session
369
441
  This flag is used to provide a Salesforce Session ID for authentication.
370
-
442
+
371
443
  --instance
372
444
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
373
445
  ```
@@ -378,7 +450,7 @@ Import PDF Butler document configurations and related DataSource files.
378
450
 
379
451
  ```
380
452
  USAGE
381
- $ sf butler pb import [--target | -t <value>] [--id | -i <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [--stage | -s <value>] [--config | -f <value>] [-c | --clone] [--session <value>] [--instance <value>]
453
+ $ sf butler pb import [--target | -t <value>] [--id | -i <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [--stage | -s <value>] [--config | -f <value>] [-c | --clone] [-m | --templates] [--session <value>] [--instance <value>]
382
454
 
383
455
  FLAGS
384
456
  -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Required)
@@ -396,6 +468,7 @@ FLAGS
396
468
  -f, --config=<value> The path to the directory containing configurations to import. (Required)
397
469
  -l, --logs Use it to get a more detailed log of migration process. (Optional)
398
470
  -c, --clone Use this flag to disables the update of existing docconfigs and allows to create new ones. (Optional)
471
+ -m, --templates Include template DocConfigs in the import. (Optional)
399
472
  --session=<value> This flag is used to provide a Salesforce Session ID for authentication.
400
473
  --instance=<value> This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
401
474
 
@@ -412,7 +485,7 @@ EXAMPLE
412
485
  Import configurations with --clone flag to the organization:
413
486
 
414
487
  $ sf butler pb import -t sfusername@sandbox.com -i 'document_configuration_id' -f .export_folder_name/archive_or_folder_name
415
- -e 'https://eu1.pdfbutler.com' -a 'pdf_butler_user_name-ADMIN:admin_password' -s 'UAT' -c
488
+ -e 'https://eu1.pdfbutler.com' -a 'pdf_butler_user_name-ADMIN:admin_password' -s 'UAT' -c -m
416
489
 
417
490
  #Imported:
418
491
  Insert a new Doc config with a unique 'customerDocumentConfigId'.
@@ -465,13 +538,96 @@ FLAG DESCRIPTIONS
465
538
  -c, --clone
466
539
  Use this flag to disables the update of existing docconfigs and allows to create new ones. (Optional)
467
540
 
541
+ -m, --templates
542
+ Include template DocConfigs in the import.
543
+
468
544
  --session
469
545
  This flag is used to provide a Salesforce Session ID for authentication.
470
-
546
+
471
547
  --instance
472
548
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
473
549
  ```
474
550
 
551
+ ## butler pb exportdatasource
552
+
553
+ Export PDF Butler DataSource files.
554
+
555
+ ```
556
+ USAGE
557
+ $ sf butler pb exportdatasource [--target | -t <value>] [--id | -i <value>] [--folder | -f <value>] [--stage | -s <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [-l | --logs] [-p | --parents] [--session <value>] [--instance <value>]
558
+
559
+ FLAGS
560
+ -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Optional)
561
+ -i, --id=<value> The DataSource ID(s) to export. For bulk export, enter multiple IDs separated by commas or spaces. (Required)
562
+ -f, --folder=<value> The output folder where DataSource JSON files will be saved. (Required)
563
+ -s, --stage=<value> The CADMUS stage. (Required)
564
+ -a, --auth-env-var=<value> The PDF Butler credentials for backend authentication. (Optional)
565
+ -e, --endpoint=<value> The URL PDF Butler endpoint for export. (Optional)
566
+ -l, --logs Use it to get a more detailed log of migration process. (Optional)
567
+ -p, --parents Automatically export parent DataSources recursively when detected. (Optional)
568
+ --session=<value> This flag is used to provide a Salesforce Session ID for authentication.
569
+ --instance=<value> This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
570
+
571
+ DESCRIPTION
572
+ Export DataSources from your organization into JSON files.
573
+
574
+ The command writes files into:
575
+ ./<folder>/sfdc/<DataSourceId>.json
576
+
577
+ EXAMPLES
578
+ Export a single DataSource:
579
+
580
+ $ sf butler pb exportdatasource -t sfusername@sandbox.com -i '00Dxxxxxxxxxxxx' -f 'export' -s 'TEST'
581
+
582
+ Export multiple DataSources:
583
+
584
+ $ sf butler pb exportdatasource -t sfusername@sandbox.com -i '00Dxxx, 00Dyyy' -f 'export' -s 'TEST' -l
585
+
586
+ Export with parent DataSources:
587
+
588
+ $ sf butler pb exportdatasource -t sfusername@sandbox.com -i '00Dxxx' -f 'export' -s 'TEST' -p
589
+ ```
590
+
591
+ ## butler pb importdatasource
592
+
593
+ Import PDF Butler DataSource files.
594
+
595
+ ```
596
+ USAGE
597
+ $ sf butler pb importdatasource [--target | -t <value>] [--id | -i <value>] [--folder | -f <value>] [--stage | -s <value>] [--auth-env-var | -a <value>] [--endpoint | -e <value>] [-l | --logs] [-p | --parents] [--session <value>] [--instance <value>]
598
+
599
+ FLAGS
600
+ -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Optional)
601
+ -i, --id=<value> The DataSource ID(s) to import. For bulk import, enter multiple IDs separated by commas or spaces. (Required)
602
+ -f, --folder=<value> The folder that contains exported DataSource JSON files. (Required)
603
+ -s, --stage=<value> The CADMUS stage. (Optional)
604
+ -a, --auth-env-var=<value> The PDF Butler credentials for backend authentication. (Optional)
605
+ -e, --endpoint=<value> The URL PDF Butler endpoint for import. (Optional)
606
+ -l, --logs Use it to get a more detailed log of migration process. (Optional)
607
+ -p, --parents Resolve and import parent DataSources first, then child DataSources. (Optional)
608
+ --session=<value> This flag is used to provide a Salesforce Session ID for authentication.
609
+ --instance=<value> This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
610
+
611
+ DESCRIPTION
612
+ Import DataSources from JSON files into your organization.
613
+
614
+ The command reads files from:
615
+ ./<folder>/sfdc/<DataSourceId>.json
616
+
617
+ EXAMPLES
618
+ Import a single DataSource:
619
+
620
+ $ sf butler pb importdatasource -t sfusername@sandbox.com -i '00Dxxxxxxxxxxxx' -f 'export' -s 'TEST'
621
+
622
+ Import multiple DataSources:
623
+
624
+ $ sf butler pb importdatasource -t sfusername@sandbox.com -i '00Dxxx, 00Dyyy' -f 'export' -s 'TEST' -l
625
+
626
+ Import with parent DataSources first:
627
+
628
+ $ sf butler pb importdatasource -t sfusername@sandbox.com -i '00Dxxx' -f 'export' -s 'TEST' -p
629
+ ```
630
+
475
631
  ## butler pb exportpack
476
632
 
477
633
  <span style="color: red;">Important!</span> Make sure you have installed PDF Butler version equal or higher than v1.440. <br/>
@@ -523,7 +679,7 @@ EXAMPLES
523
679
  Directory 'export_folder_name/folder_name/sfdc'{
524
680
  file 'customer_pack_id.json'
525
681
  }
526
-
682
+
527
683
  Export multiple packs:
528
684
 
529
685
  $ sf butler pb exportpack -t sfusername@sandbox.com -p 'customer_pack_id1, customer_pack_id2'
@@ -571,7 +727,7 @@ FLAG DESCRIPTIONS
571
727
 
572
728
  --session
573
729
  This flag is used to provide a Salesforce Session ID for authentication.
574
-
730
+
575
731
  --instance
576
732
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
577
733
  ```
@@ -617,7 +773,7 @@ EXAMPLES
617
773
  [INFO] Retrieving items from the directory
618
774
  [INFO] Files found in folder: 1
619
775
  [INFO] Successfully imported export_folder_name/folder_name/sfdc/customer_pack_id1.json
620
-
776
+
621
777
  Import multiple packs:
622
778
 
623
779
  $ sf butler pb importpack -t sfusername@sandbox.com -p 'customer_pack_id1, customer_pack_id2'
@@ -652,7 +808,7 @@ FLAG DESCRIPTIONS
652
808
 
653
809
  --session
654
810
  This flag is used to provide a Salesforce Session ID for authentication.
655
-
811
+
656
812
  --instance
657
813
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
658
814
  ```
@@ -713,7 +869,7 @@ FLAG DESCRIPTIONS
713
869
 
714
870
  --session
715
871
  This flag is used to provide a Salesforce Session ID for authentication.
716
-
872
+
717
873
  --instance
718
874
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
719
875
  ```
@@ -744,7 +900,7 @@ DESCRIPTION
744
900
  EXAMPLES
745
901
  Set settings:
746
902
 
747
- $ sf butler pb admincredentials -t sfusername@sandbox.com -u 'username'
903
+ $ sf butler pb admincredentials -t sfusername@sandbox.com -u 'username'
748
904
  -p 'ADMIN_password' --user-password 'USER_password' -l
749
905
 
750
906
  # Console output:
@@ -773,7 +929,7 @@ FLAG DESCRIPTIONS
773
929
 
774
930
  --session
775
931
  This flag is used to provide a Salesforce Session ID for authentication.
776
-
932
+
777
933
  --instance
778
934
  This flag specifies the Salesforce Instance URL. The Instance URL corresponds to the specific Salesforce environment (e.g., production, sandbox) you are connecting to.
779
935
  ```
@@ -919,3 +1075,10 @@ SOLUTION: When using the --stage flag, make sure to provide a valid CADMUS stage
919
1075
  SOLUTION: When using the --config flag, ensure that you specify a valid directory path to docconfigs.
920
1076
 
921
1077
  ```
1078
+
1079
+ - Error (1): DataSource import failed. Check the JSON and try again.
1080
+
1081
+ ```
1082
+ SOLUTION: Ensure PDF Butler package version is at least v1.505 and validate the DataSource JSON files.
1083
+
1084
+ ```
@@ -22,6 +22,42 @@ const authentication_1 = require("../../../utils/authentication");
22
22
  core_1.Messages.importMessagesDirectory(__dirname);
23
23
  const messages = core_1.Messages.loadMessages('@pdfbutler/migration-cli', 'butler.pb.admincredentials');
24
24
  class ButlerPbAdmincredentials extends sf_plugins_core_1.SfCommand {
25
+ static summary = messages.getMessage('summary');
26
+ static description = messages.getMessage('description');
27
+ static examples = messages.getMessages('examples');
28
+ static flags = {
29
+ name: sf_plugins_core_1.Flags.string({
30
+ summary: messages.getMessage('flags.name.summary'),
31
+ description: messages.getMessage('flags.name.description'),
32
+ char: 'n',
33
+ required: false,
34
+ }),
35
+ target: sf_plugins_core_1.Flags.string({
36
+ summary: messages.getMessage('flags.target.summary'),
37
+ char: 't',
38
+ required: false,
39
+ }),
40
+ username: sf_plugins_core_1.Flags.string({
41
+ summary: messages.getMessage('flags.username.summary'),
42
+ char: 'u',
43
+ required: true,
44
+ }),
45
+ password: sf_plugins_core_1.Flags.string({
46
+ summary: messages.getMessage('flags.password.summary'),
47
+ char: 'p',
48
+ required: true,
49
+ }),
50
+ 'user-password': sf_plugins_core_1.Flags.string({
51
+ summary: messages.getMessage('flags.user-password.summary'),
52
+ required: true,
53
+ }),
54
+ session: sf_plugins_core_1.Flags.string({
55
+ summary: messages.getMessage('flags.session.summary'),
56
+ }),
57
+ instance: sf_plugins_core_1.Flags.string({
58
+ summary: messages.getMessage('flags.instance.summary'),
59
+ }),
60
+ };
25
61
  async run() {
26
62
  const { flags } = await this.parse(ButlerPbAdmincredentials);
27
63
  const targetUsername = flags.target;
@@ -42,7 +78,7 @@ class ButlerPbAdmincredentials extends sf_plugins_core_1.SfCommand {
42
78
  catch (error) {
43
79
  const message = error instanceof Error ? error.message : String(error);
44
80
  if (message.includes(constants_1.ERROR.URL_NOT_FOUND)) {
45
- logger_1.Logger.error(`${constants_1.ERROR.URL_NOT_FOUND}. ${constants_1.ERROR.VERSION_TOO_LOW}`);
81
+ logger_1.Logger.error(constants_1.ERROR.URL_NOT_FOUND_VERSION_TOO_LOW);
46
82
  }
47
83
  else {
48
84
  logger_1.Logger.error(constants_1.ERROR.IMPORT_CREDENTIALS.replace('[MESSAGE]', message));
@@ -51,41 +87,5 @@ class ButlerPbAdmincredentials extends sf_plugins_core_1.SfCommand {
51
87
  }
52
88
  }
53
89
  }
54
- ButlerPbAdmincredentials.summary = messages.getMessage('summary');
55
- ButlerPbAdmincredentials.description = messages.getMessage('description');
56
- ButlerPbAdmincredentials.examples = messages.getMessages('examples');
57
- ButlerPbAdmincredentials.flags = {
58
- name: sf_plugins_core_1.Flags.string({
59
- summary: messages.getMessage('flags.name.summary'),
60
- description: messages.getMessage('flags.name.description'),
61
- char: 'n',
62
- required: false,
63
- }),
64
- target: sf_plugins_core_1.Flags.string({
65
- summary: messages.getMessage('flags.target.summary'),
66
- char: 't',
67
- required: false,
68
- }),
69
- username: sf_plugins_core_1.Flags.string({
70
- summary: messages.getMessage('flags.username.summary'),
71
- char: 'u',
72
- required: true,
73
- }),
74
- password: sf_plugins_core_1.Flags.string({
75
- summary: messages.getMessage('flags.password.summary'),
76
- char: 'p',
77
- required: true,
78
- }),
79
- 'user-password': sf_plugins_core_1.Flags.string({
80
- summary: messages.getMessage('flags.user-password.summary'),
81
- required: true,
82
- }),
83
- session: sf_plugins_core_1.Flags.string({
84
- summary: messages.getMessage('flags.session.summary'),
85
- }),
86
- instance: sf_plugins_core_1.Flags.string({
87
- summary: messages.getMessage('flags.instance.summary'),
88
- }),
89
- };
90
90
  exports.default = ButlerPbAdmincredentials;
91
91
  //# sourceMappingURL=admincredentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"admincredentials.js","sourceRoot":"","sources":["../../../../src/commands/butler/pb/admincredentials.ts"],"names":[],"mappings":";;AAAA,uDAAuD;AACvD,wDAAwD;AACxD,4DAA4D;AAC5D,+BAA+B;AAC/B,2DAA2D;AAC3D,0DAA0D;AAC1D,qEAAqE;AACrE,sDAAsD;AACtD,+DAA+D;AAC/D,kDAAkD;AAClD,qDAAqD;AACrD,qCAAqC;AACrC,uDAAuD;AACvD,+BAA+B;AAC/B,iEAA+D;AAC/D,2CAA4C;AAC5C,kDAA+C;AAC/C,wDAA+D;AAC/D,kEAA6D;AAE7D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,4BAA4B,CAAC,CAAC;AAMjG,MAAqB,wBAAyB,SAAQ,2BAAyC;IAuCtF,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAE7D,MAAM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export default class ButlerPbAdminsettings extends SfCommand<ButlerPbAdminsettin
8
7
  static readonly description: string;
9
8
  static readonly examples: string[];
10
9
  static readonly flags: {
11
- url: import("@oclif/core/lib/interfaces").OptionFlag<import("url").URL, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
10
+ url: import("@oclif/core/lib/interfaces").OptionFlag<import("node:url").URL, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
11
  region: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
12
  stage: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
13
  target: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
@@ -22,6 +22,37 @@ const authentication_1 = require("../../../utils/authentication");
22
22
  core_1.Messages.importMessagesDirectory(__dirname);
23
23
  const messages = core_1.Messages.loadMessages('@pdfbutler/migration-cli', 'butler.pb.adminsettings');
24
24
  class ButlerPbAdminsettings extends sf_plugins_core_1.SfCommand {
25
+ static summary = messages.getMessage('summary');
26
+ static description = messages.getMessage('description');
27
+ static examples = messages.getMessages('examples');
28
+ static flags = {
29
+ url: sf_plugins_core_1.Flags.url({
30
+ summary: messages.getMessage('flags.url.summary'),
31
+ char: 'u',
32
+ required: true,
33
+ }),
34
+ region: sf_plugins_core_1.Flags.string({
35
+ summary: messages.getMessage('flags.region.summary'),
36
+ char: 'r',
37
+ required: true,
38
+ }),
39
+ stage: sf_plugins_core_1.Flags.string({
40
+ summary: messages.getMessage('flags.stage.summary'),
41
+ char: 's',
42
+ required: true,
43
+ }),
44
+ target: sf_plugins_core_1.Flags.string({
45
+ summary: messages.getMessage('flags.target.summary'),
46
+ char: 't',
47
+ required: false,
48
+ }),
49
+ session: sf_plugins_core_1.Flags.string({
50
+ summary: messages.getMessage('flags.session.summary'),
51
+ }),
52
+ instance: sf_plugins_core_1.Flags.string({
53
+ summary: messages.getMessage('flags.instance.summary'),
54
+ }),
55
+ };
25
56
  async run() {
26
57
  const { flags } = await this.parse(ButlerPbAdminsettings);
27
58
  const targetUsername = flags.target;
@@ -42,7 +73,7 @@ class ButlerPbAdminsettings extends sf_plugins_core_1.SfCommand {
42
73
  catch (error) {
43
74
  const message = error instanceof Error ? error.message : String(error);
44
75
  if (message.includes(constants_1.ERROR.URL_NOT_FOUND)) {
45
- logger_1.Logger.error(`${constants_1.ERROR.URL_NOT_FOUND}. ${constants_1.ERROR.VERSION_TOO_LOW}`);
76
+ logger_1.Logger.error(constants_1.ERROR.URL_NOT_FOUND_VERSION_TOO_LOW);
46
77
  }
47
78
  else {
48
79
  logger_1.Logger.error(constants_1.ERROR.IMPORT_SETTINGS.replace('[MESSAGE]', message));
@@ -51,36 +82,5 @@ class ButlerPbAdminsettings extends sf_plugins_core_1.SfCommand {
51
82
  }
52
83
  }
53
84
  }
54
- ButlerPbAdminsettings.summary = messages.getMessage('summary');
55
- ButlerPbAdminsettings.description = messages.getMessage('description');
56
- ButlerPbAdminsettings.examples = messages.getMessages('examples');
57
- ButlerPbAdminsettings.flags = {
58
- url: sf_plugins_core_1.Flags.url({
59
- summary: messages.getMessage('flags.url.summary'),
60
- char: 'u',
61
- required: true,
62
- }),
63
- region: sf_plugins_core_1.Flags.string({
64
- summary: messages.getMessage('flags.region.summary'),
65
- char: 'r',
66
- required: true,
67
- }),
68
- stage: sf_plugins_core_1.Flags.string({
69
- summary: messages.getMessage('flags.stage.summary'),
70
- char: 's',
71
- required: true,
72
- }),
73
- target: sf_plugins_core_1.Flags.string({
74
- summary: messages.getMessage('flags.target.summary'),
75
- char: 't',
76
- required: false,
77
- }),
78
- session: sf_plugins_core_1.Flags.string({
79
- summary: messages.getMessage('flags.session.summary'),
80
- }),
81
- instance: sf_plugins_core_1.Flags.string({
82
- summary: messages.getMessage('flags.instance.summary'),
83
- }),
84
- };
85
85
  exports.default = ButlerPbAdminsettings;
86
86
  //# sourceMappingURL=adminsettings.js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