@salesforce/plugin-data 3.0.0 → 3.0.1-test.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 (3) hide show
  1. package/README.md +16 -16
  2. package/oclif.manifest.json +155 -155
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -145,7 +145,7 @@ EXAMPLES
145
145
  TracedEntityId=01p17000000R6bLAAS"
146
146
  ```
147
147
 
148
- _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/create/record.ts)_
148
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/create/record.ts)_
149
149
 
150
150
  ## `sf data delete bulk`
151
151
 
@@ -189,7 +189,7 @@ EXAMPLES
189
189
  $ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
190
190
  ```
191
191
 
192
- _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/delete/bulk.ts)_
192
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/delete/bulk.ts)_
193
193
 
194
194
  ## `sf data delete record`
195
195
 
@@ -247,7 +247,7 @@ EXAMPLES
247
247
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
248
248
  ```
249
249
 
250
- _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/delete/record.ts)_
250
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/delete/record.ts)_
251
251
 
252
252
  ## `sf data delete resume`
253
253
 
@@ -284,7 +284,7 @@ EXAMPLES
284
284
  $ sf data delete resume --use-most-recent --target-org my-scratch
285
285
  ```
286
286
 
287
- _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/delete/resume.ts)_
287
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/delete/resume.ts)_
288
288
 
289
289
  ## `sf data export tree`
290
290
 
@@ -341,7 +341,7 @@ EXAMPLES
341
341
  my-scratch
342
342
  ```
343
343
 
344
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/export/tree.ts)_
344
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/export/tree.ts)_
345
345
 
346
346
  ## `sf data get record`
347
347
 
@@ -402,7 +402,7 @@ EXAMPLES
402
402
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
403
403
  ```
404
404
 
405
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/get/record.ts)_
405
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/get/record.ts)_
406
406
 
407
407
  ## `sf data import tree`
408
408
 
@@ -452,7 +452,7 @@ EXAMPLES
452
452
  $ sf data import tree --plan Account-Contact-plan.json
453
453
  ```
454
454
 
455
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/import/tree.ts)_
455
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/import/tree.ts)_
456
456
 
457
457
  ## `sf data query`
458
458
 
@@ -514,7 +514,7 @@ EXAMPLES
514
514
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
515
515
  ```
516
516
 
517
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/query.ts)_
517
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/query.ts)_
518
518
 
519
519
  ## `sf data query resume`
520
520
 
@@ -550,7 +550,7 @@ EXAMPLES
550
550
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
551
551
  ```
552
552
 
553
- _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/query/resume.ts)_
553
+ _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/query/resume.ts)_
554
554
 
555
555
  ## `sf data resume`
556
556
 
@@ -585,7 +585,7 @@ EXAMPLES
585
585
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
586
586
  ```
587
587
 
588
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/resume.ts)_
588
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/resume.ts)_
589
589
 
590
590
  ## `sf data update record`
591
591
 
@@ -645,7 +645,7 @@ EXAMPLES
645
645
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
646
646
  ```
647
647
 
648
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/update/record.ts)_
648
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/update/record.ts)_
649
649
 
650
650
  ## `sf data upsert bulk`
651
651
 
@@ -696,7 +696,7 @@ EXAMPLES
696
696
  my-scratch
697
697
  ```
698
698
 
699
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/upsert/bulk.ts)_
699
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/upsert/bulk.ts)_
700
700
 
701
701
  ## `sf data upsert resume`
702
702
 
@@ -733,7 +733,7 @@ EXAMPLES
733
733
  $ sf data upsert resume --use-most-recent --target-org my-scratch
734
734
  ```
735
735
 
736
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/data/upsert/resume.ts)_
736
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/data/upsert/resume.ts)_
737
737
 
738
738
  ## `sf force data bulk delete`
739
739
 
@@ -777,7 +777,7 @@ EXAMPLES
777
777
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
778
778
  ```
779
779
 
780
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/force/data/bulk/delete.ts)_
780
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/force/data/bulk/delete.ts)_
781
781
 
782
782
  ## `sf force data bulk status`
783
783
 
@@ -812,7 +812,7 @@ EXAMPLES
812
812
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
813
813
  ```
814
814
 
815
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/force/data/bulk/status.ts)_
815
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/force/data/bulk/status.ts)_
816
816
 
817
817
  ## `sf force data bulk upsert`
818
818
 
@@ -868,6 +868,6 @@ EXAMPLES
868
868
  --target-org my-scratch
869
869
  ```
870
870
 
871
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.0/src/commands/force/data/bulk/upsert.ts)_
871
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/2.6.4-test.1/src/commands/force/data/bulk/upsert.ts)_
872
872
 
873
873
  <!-- commandsstop -->
@@ -314,6 +314,160 @@
314
314
  "resume:data"
315
315
  ]
316
316
  },
317
+ "data:create:record": {
318
+ "aliases": [
319
+ "force:data:record:create"
320
+ ],
321
+ "args": {},
322
+ "deprecateAliases": true,
323
+ "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
324
+ "examples": [
325
+ "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
326
+ "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
327
+ "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
328
+ ],
329
+ "flags": {
330
+ "json": {
331
+ "description": "Format output as json.",
332
+ "helpGroup": "GLOBAL",
333
+ "name": "json",
334
+ "allowNo": false,
335
+ "type": "boolean"
336
+ },
337
+ "target-org": {
338
+ "aliases": [
339
+ "targetusername",
340
+ "u"
341
+ ],
342
+ "char": "o",
343
+ "deprecateAliases": true,
344
+ "name": "target-org",
345
+ "noCacheDefault": true,
346
+ "required": true,
347
+ "summary": "Username or alias of the target org.",
348
+ "hasDynamicHelp": true,
349
+ "multiple": false,
350
+ "type": "option"
351
+ },
352
+ "api-version": {
353
+ "aliases": [
354
+ "apiversion"
355
+ ],
356
+ "deprecateAliases": true,
357
+ "description": "Override the api version used for api requests made by this command",
358
+ "name": "api-version",
359
+ "hasDynamicHelp": false,
360
+ "multiple": false,
361
+ "type": "option"
362
+ },
363
+ "loglevel": {
364
+ "deprecated": {
365
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
366
+ },
367
+ "hidden": true,
368
+ "name": "loglevel",
369
+ "hasDynamicHelp": false,
370
+ "multiple": false,
371
+ "type": "option"
372
+ },
373
+ "sobject": {
374
+ "aliases": [
375
+ "sobjecttype"
376
+ ],
377
+ "char": "s",
378
+ "deprecateAliases": true,
379
+ "name": "sobject",
380
+ "required": true,
381
+ "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
382
+ "hasDynamicHelp": false,
383
+ "multiple": false,
384
+ "type": "option"
385
+ },
386
+ "values": {
387
+ "char": "v",
388
+ "name": "values",
389
+ "required": true,
390
+ "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
391
+ "hasDynamicHelp": false,
392
+ "multiple": false,
393
+ "type": "option"
394
+ },
395
+ "use-tooling-api": {
396
+ "aliases": [
397
+ "usetoolingapi"
398
+ ],
399
+ "char": "t",
400
+ "deprecateAliases": true,
401
+ "name": "use-tooling-api",
402
+ "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
403
+ "allowNo": false,
404
+ "type": "boolean"
405
+ },
406
+ "perflog": {
407
+ "deprecated": {
408
+ "version": "57"
409
+ },
410
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
411
+ "hidden": true,
412
+ "name": "perflog",
413
+ "summary": "Get API performance data.",
414
+ "allowNo": false,
415
+ "type": "boolean"
416
+ }
417
+ },
418
+ "hasDynamicHelp": true,
419
+ "hiddenAliases": [],
420
+ "id": "data:create:record",
421
+ "pluginAlias": "@salesforce/plugin-data",
422
+ "pluginName": "@salesforce/plugin-data",
423
+ "pluginType": "core",
424
+ "strict": true,
425
+ "summary": "Create and insert a record into a Salesforce or Tooling API object.",
426
+ "enableJsonFlag": true,
427
+ "SF_ENV": "SF_ENV",
428
+ "isESM": true,
429
+ "relativePath": [
430
+ "lib",
431
+ "commands",
432
+ "data",
433
+ "create",
434
+ "record.js"
435
+ ],
436
+ "aliasPermutations": [
437
+ "force:data:record:create",
438
+ "data:force:record:create",
439
+ "data:record:force:create",
440
+ "data:record:create:force",
441
+ "force:record:data:create",
442
+ "record:force:data:create",
443
+ "record:data:force:create",
444
+ "record:data:create:force",
445
+ "force:record:create:data",
446
+ "record:force:create:data",
447
+ "record:create:force:data",
448
+ "record:create:data:force",
449
+ "force:data:create:record",
450
+ "data:force:create:record",
451
+ "data:create:force:record",
452
+ "data:create:record:force",
453
+ "force:create:data:record",
454
+ "create:force:data:record",
455
+ "create:data:force:record",
456
+ "create:data:record:force",
457
+ "force:create:record:data",
458
+ "create:force:record:data",
459
+ "create:record:force:data",
460
+ "create:record:data:force"
461
+ ],
462
+ "permutations": [
463
+ "data:create:record",
464
+ "create:data:record",
465
+ "create:record:data",
466
+ "data:record:create",
467
+ "record:data:create",
468
+ "record:create:data"
469
+ ]
470
+ },
317
471
  "data:delete:bulk": {
318
472
  "aliases": [],
319
473
  "args": {},
@@ -727,160 +881,6 @@
727
881
  "resume:delete:data"
728
882
  ]
729
883
  },
730
- "data:create:record": {
731
- "aliases": [
732
- "force:data:record:create"
733
- ],
734
- "args": {},
735
- "deprecateAliases": true,
736
- "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
737
- "examples": [
738
- "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
739
- "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
740
- "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
741
- ],
742
- "flags": {
743
- "json": {
744
- "description": "Format output as json.",
745
- "helpGroup": "GLOBAL",
746
- "name": "json",
747
- "allowNo": false,
748
- "type": "boolean"
749
- },
750
- "target-org": {
751
- "aliases": [
752
- "targetusername",
753
- "u"
754
- ],
755
- "char": "o",
756
- "deprecateAliases": true,
757
- "name": "target-org",
758
- "noCacheDefault": true,
759
- "required": true,
760
- "summary": "Username or alias of the target org.",
761
- "hasDynamicHelp": true,
762
- "multiple": false,
763
- "type": "option"
764
- },
765
- "api-version": {
766
- "aliases": [
767
- "apiversion"
768
- ],
769
- "deprecateAliases": true,
770
- "description": "Override the api version used for api requests made by this command",
771
- "name": "api-version",
772
- "hasDynamicHelp": false,
773
- "multiple": false,
774
- "type": "option"
775
- },
776
- "loglevel": {
777
- "deprecated": {
778
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
779
- },
780
- "hidden": true,
781
- "name": "loglevel",
782
- "hasDynamicHelp": false,
783
- "multiple": false,
784
- "type": "option"
785
- },
786
- "sobject": {
787
- "aliases": [
788
- "sobjecttype"
789
- ],
790
- "char": "s",
791
- "deprecateAliases": true,
792
- "name": "sobject",
793
- "required": true,
794
- "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
795
- "hasDynamicHelp": false,
796
- "multiple": false,
797
- "type": "option"
798
- },
799
- "values": {
800
- "char": "v",
801
- "name": "values",
802
- "required": true,
803
- "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
804
- "hasDynamicHelp": false,
805
- "multiple": false,
806
- "type": "option"
807
- },
808
- "use-tooling-api": {
809
- "aliases": [
810
- "usetoolingapi"
811
- ],
812
- "char": "t",
813
- "deprecateAliases": true,
814
- "name": "use-tooling-api",
815
- "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
816
- "allowNo": false,
817
- "type": "boolean"
818
- },
819
- "perflog": {
820
- "deprecated": {
821
- "version": "57"
822
- },
823
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
824
- "hidden": true,
825
- "name": "perflog",
826
- "summary": "Get API performance data.",
827
- "allowNo": false,
828
- "type": "boolean"
829
- }
830
- },
831
- "hasDynamicHelp": true,
832
- "hiddenAliases": [],
833
- "id": "data:create:record",
834
- "pluginAlias": "@salesforce/plugin-data",
835
- "pluginName": "@salesforce/plugin-data",
836
- "pluginType": "core",
837
- "strict": true,
838
- "summary": "Create and insert a record into a Salesforce or Tooling API object.",
839
- "enableJsonFlag": true,
840
- "SF_ENV": "SF_ENV",
841
- "isESM": true,
842
- "relativePath": [
843
- "lib",
844
- "commands",
845
- "data",
846
- "create",
847
- "record.js"
848
- ],
849
- "aliasPermutations": [
850
- "force:data:record:create",
851
- "data:force:record:create",
852
- "data:record:force:create",
853
- "data:record:create:force",
854
- "force:record:data:create",
855
- "record:force:data:create",
856
- "record:data:force:create",
857
- "record:data:create:force",
858
- "force:record:create:data",
859
- "record:force:create:data",
860
- "record:create:force:data",
861
- "record:create:data:force",
862
- "force:data:create:record",
863
- "data:force:create:record",
864
- "data:create:force:record",
865
- "data:create:record:force",
866
- "force:create:data:record",
867
- "create:force:data:record",
868
- "create:data:force:record",
869
- "create:data:record:force",
870
- "force:create:record:data",
871
- "create:force:record:data",
872
- "create:record:force:data",
873
- "create:record:data:force"
874
- ],
875
- "permutations": [
876
- "data:create:record",
877
- "create:data:record",
878
- "create:record:data",
879
- "data:record:create",
880
- "record:data:create",
881
- "record:create:data"
882
- ]
883
- },
884
884
  "data:export:tree": {
885
885
  "aliases": [
886
886
  "force:data:tree:export"
@@ -2446,5 +2446,5 @@
2446
2446
  ]
2447
2447
  }
2448
2448
  },
2449
- "version": "3.0.0"
2449
+ "version": "3.0.1-test.0"
2450
2450
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "3.0.0",
3
+ "version": "3.0.1-test.0",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -243,7 +243,7 @@
243
243
  "exports": "./lib/index.js",
244
244
  "type": "module",
245
245
  "sfdx": {
246
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.0.crt",
247
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.0.sig"
246
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.1-test.0.crt",
247
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.1-test.0.sig"
248
248
  }
249
249
  }