@salesforce/plugin-data 3.0.16 → 3.0.18

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 (4) hide show
  1. package/README.md +16 -16
  2. package/oclif.lock +824 -807
  3. package/oclif.manifest.json +154 -154
  4. package/package.json +10 -10
@@ -312,6 +312,159 @@
312
312
  "resume:data"
313
313
  ]
314
314
  },
315
+ "data:create:record": {
316
+ "aliases": [
317
+ "force:data:record:create"
318
+ ],
319
+ "args": {},
320
+ "deprecateAliases": true,
321
+ "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.",
322
+ "examples": [
323
+ "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\"",
324
+ "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",
325
+ "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\""
326
+ ],
327
+ "flags": {
328
+ "json": {
329
+ "description": "Format output as json.",
330
+ "helpGroup": "GLOBAL",
331
+ "name": "json",
332
+ "allowNo": false,
333
+ "type": "boolean"
334
+ },
335
+ "target-org": {
336
+ "aliases": [
337
+ "targetusername",
338
+ "u"
339
+ ],
340
+ "char": "o",
341
+ "deprecateAliases": true,
342
+ "name": "target-org",
343
+ "noCacheDefault": true,
344
+ "required": true,
345
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
346
+ "hasDynamicHelp": true,
347
+ "multiple": false,
348
+ "type": "option"
349
+ },
350
+ "api-version": {
351
+ "aliases": [
352
+ "apiversion"
353
+ ],
354
+ "deprecateAliases": true,
355
+ "description": "Override the api version used for api requests made by this command",
356
+ "name": "api-version",
357
+ "hasDynamicHelp": false,
358
+ "multiple": false,
359
+ "type": "option"
360
+ },
361
+ "loglevel": {
362
+ "deprecated": {
363
+ "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."
364
+ },
365
+ "hidden": true,
366
+ "name": "loglevel",
367
+ "hasDynamicHelp": false,
368
+ "multiple": false,
369
+ "type": "option"
370
+ },
371
+ "sobject": {
372
+ "aliases": [
373
+ "sobjecttype"
374
+ ],
375
+ "char": "s",
376
+ "deprecateAliases": true,
377
+ "name": "sobject",
378
+ "required": true,
379
+ "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
380
+ "hasDynamicHelp": false,
381
+ "multiple": false,
382
+ "type": "option"
383
+ },
384
+ "values": {
385
+ "char": "v",
386
+ "name": "values",
387
+ "required": true,
388
+ "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
389
+ "hasDynamicHelp": false,
390
+ "multiple": false,
391
+ "type": "option"
392
+ },
393
+ "use-tooling-api": {
394
+ "aliases": [
395
+ "usetoolingapi"
396
+ ],
397
+ "char": "t",
398
+ "deprecateAliases": true,
399
+ "name": "use-tooling-api",
400
+ "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
401
+ "allowNo": false,
402
+ "type": "boolean"
403
+ },
404
+ "perflog": {
405
+ "deprecated": {
406
+ "version": "57"
407
+ },
408
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
409
+ "hidden": true,
410
+ "name": "perflog",
411
+ "summary": "Get API performance data.",
412
+ "allowNo": false,
413
+ "type": "boolean"
414
+ }
415
+ },
416
+ "hasDynamicHelp": true,
417
+ "hiddenAliases": [],
418
+ "id": "data:create:record",
419
+ "pluginAlias": "@salesforce/plugin-data",
420
+ "pluginName": "@salesforce/plugin-data",
421
+ "pluginType": "core",
422
+ "strict": true,
423
+ "summary": "Create and insert a record into a Salesforce or Tooling API object.",
424
+ "enableJsonFlag": true,
425
+ "isESM": true,
426
+ "relativePath": [
427
+ "lib",
428
+ "commands",
429
+ "data",
430
+ "create",
431
+ "record.js"
432
+ ],
433
+ "aliasPermutations": [
434
+ "force:data:record:create",
435
+ "data:force:record:create",
436
+ "data:record:force:create",
437
+ "data:record:create:force",
438
+ "force:record:data:create",
439
+ "record:force:data:create",
440
+ "record:data:force:create",
441
+ "record:data:create:force",
442
+ "force:record:create:data",
443
+ "record:force:create:data",
444
+ "record:create:force:data",
445
+ "record:create:data:force",
446
+ "force:data:create:record",
447
+ "data:force:create:record",
448
+ "data:create:force:record",
449
+ "data:create:record:force",
450
+ "force:create:data:record",
451
+ "create:force:data:record",
452
+ "create:data:force:record",
453
+ "create:data:record:force",
454
+ "force:create:record:data",
455
+ "create:force:record:data",
456
+ "create:record:force:data",
457
+ "create:record:data:force"
458
+ ],
459
+ "permutations": [
460
+ "data:create:record",
461
+ "create:data:record",
462
+ "create:record:data",
463
+ "data:record:create",
464
+ "record:data:create",
465
+ "record:create:data"
466
+ ]
467
+ },
315
468
  "data:delete:bulk": {
316
469
  "aliases": [],
317
470
  "args": {},
@@ -722,159 +875,6 @@
722
875
  "resume:delete:data"
723
876
  ]
724
877
  },
725
- "data:create:record": {
726
- "aliases": [
727
- "force:data:record:create"
728
- ],
729
- "args": {},
730
- "deprecateAliases": true,
731
- "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.",
732
- "examples": [
733
- "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\"",
734
- "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",
735
- "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\""
736
- ],
737
- "flags": {
738
- "json": {
739
- "description": "Format output as json.",
740
- "helpGroup": "GLOBAL",
741
- "name": "json",
742
- "allowNo": false,
743
- "type": "boolean"
744
- },
745
- "target-org": {
746
- "aliases": [
747
- "targetusername",
748
- "u"
749
- ],
750
- "char": "o",
751
- "deprecateAliases": true,
752
- "name": "target-org",
753
- "noCacheDefault": true,
754
- "required": true,
755
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
756
- "hasDynamicHelp": true,
757
- "multiple": false,
758
- "type": "option"
759
- },
760
- "api-version": {
761
- "aliases": [
762
- "apiversion"
763
- ],
764
- "deprecateAliases": true,
765
- "description": "Override the api version used for api requests made by this command",
766
- "name": "api-version",
767
- "hasDynamicHelp": false,
768
- "multiple": false,
769
- "type": "option"
770
- },
771
- "loglevel": {
772
- "deprecated": {
773
- "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."
774
- },
775
- "hidden": true,
776
- "name": "loglevel",
777
- "hasDynamicHelp": false,
778
- "multiple": false,
779
- "type": "option"
780
- },
781
- "sobject": {
782
- "aliases": [
783
- "sobjecttype"
784
- ],
785
- "char": "s",
786
- "deprecateAliases": true,
787
- "name": "sobject",
788
- "required": true,
789
- "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
790
- "hasDynamicHelp": false,
791
- "multiple": false,
792
- "type": "option"
793
- },
794
- "values": {
795
- "char": "v",
796
- "name": "values",
797
- "required": true,
798
- "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
799
- "hasDynamicHelp": false,
800
- "multiple": false,
801
- "type": "option"
802
- },
803
- "use-tooling-api": {
804
- "aliases": [
805
- "usetoolingapi"
806
- ],
807
- "char": "t",
808
- "deprecateAliases": true,
809
- "name": "use-tooling-api",
810
- "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
811
- "allowNo": false,
812
- "type": "boolean"
813
- },
814
- "perflog": {
815
- "deprecated": {
816
- "version": "57"
817
- },
818
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
819
- "hidden": true,
820
- "name": "perflog",
821
- "summary": "Get API performance data.",
822
- "allowNo": false,
823
- "type": "boolean"
824
- }
825
- },
826
- "hasDynamicHelp": true,
827
- "hiddenAliases": [],
828
- "id": "data:create:record",
829
- "pluginAlias": "@salesforce/plugin-data",
830
- "pluginName": "@salesforce/plugin-data",
831
- "pluginType": "core",
832
- "strict": true,
833
- "summary": "Create and insert a record into a Salesforce or Tooling API object.",
834
- "enableJsonFlag": true,
835
- "isESM": true,
836
- "relativePath": [
837
- "lib",
838
- "commands",
839
- "data",
840
- "create",
841
- "record.js"
842
- ],
843
- "aliasPermutations": [
844
- "force:data:record:create",
845
- "data:force:record:create",
846
- "data:record:force:create",
847
- "data:record:create:force",
848
- "force:record:data:create",
849
- "record:force:data:create",
850
- "record:data:force:create",
851
- "record:data:create:force",
852
- "force:record:create:data",
853
- "record:force:create:data",
854
- "record:create:force:data",
855
- "record:create:data:force",
856
- "force:data:create:record",
857
- "data:force:create:record",
858
- "data:create:force:record",
859
- "data:create:record:force",
860
- "force:create:data:record",
861
- "create:force:data:record",
862
- "create:data:force:record",
863
- "create:data:record:force",
864
- "force:create:record:data",
865
- "create:force:record:data",
866
- "create:record:force:data",
867
- "create:record:data:force"
868
- ],
869
- "permutations": [
870
- "data:create:record",
871
- "create:data:record",
872
- "create:record:data",
873
- "data:record:create",
874
- "record:data:create",
875
- "record:create:data"
876
- ]
877
- },
878
878
  "data:export:tree": {
879
879
  "aliases": [
880
880
  "force:data:tree:export"
@@ -2430,5 +2430,5 @@
2430
2430
  ]
2431
2431
  }
2432
2432
  },
2433
- "version": "3.0.16"
2433
+ "version": "3.0.18"
2434
2434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "3.0.16",
3
+ "version": "3.0.18",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -111,23 +111,23 @@
111
111
  "@oclif/core": "^3.15.1",
112
112
  "@salesforce/core": "^6.4.2",
113
113
  "@salesforce/kit": "^3.0.15",
114
- "@salesforce/sf-plugins-core": "^7.1.1",
114
+ "@salesforce/sf-plugins-core": "^7.1.4",
115
115
  "@salesforce/ts-types": "^2.0.9",
116
116
  "chalk": "^5.3.0",
117
- "change-case": "^5.4.1",
117
+ "change-case": "^5.4.2",
118
118
  "csv-parse": "^4.16.3",
119
119
  "csv-stringify": "^6.4.5",
120
120
  "jsforce": "^2.0.0-beta.29"
121
121
  },
122
122
  "devDependencies": {
123
- "@oclif/plugin-command-snapshot": "^5.0.5",
124
- "@salesforce/cli-plugins-testkit": "^5.1.7",
123
+ "@oclif/plugin-command-snapshot": "^5.0.6",
124
+ "@salesforce/cli-plugins-testkit": "^5.1.8",
125
125
  "@salesforce/dev-scripts": "^8.3.0",
126
- "@salesforce/plugin-command-reference": "^3.0.59",
126
+ "@salesforce/plugin-command-reference": "^3.0.63",
127
127
  "@types/chai-as-promised": "^7.1.8",
128
128
  "chai-as-promised": "^7.1.1",
129
- "eslint-plugin-sf-plugin": "^1.17.1",
130
- "oclif": "^4.3.2",
129
+ "eslint-plugin-sf-plugin": "^1.17.2",
130
+ "oclif": "^4.4.1",
131
131
  "shx": "^0.3.3",
132
132
  "ts-node": "^10.9.2",
133
133
  "typescript": "^5.2.2"
@@ -250,7 +250,7 @@
250
250
  "exports": "./lib/index.js",
251
251
  "type": "module",
252
252
  "sfdx": {
253
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.16.crt",
254
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.16.sig"
253
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.18.crt",
254
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.0.18.sig"
255
255
  }
256
256
  }