@salesforce/plugin-packaging 1.12.3 → 1.12.4
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/README.md +0 -2
- package/lib/commands/package/convert.d.ts +23 -0
- package/lib/commands/package/convert.js +128 -0
- package/lib/commands/package/convert.js.map +1 -0
- package/lib/commands/package/create.d.ts +26 -0
- package/lib/commands/package/create.js +92 -0
- package/lib/commands/package/create.js.map +1 -0
- package/lib/commands/package/delete.d.ts +20 -0
- package/lib/commands/package/delete.js +65 -0
- package/lib/commands/package/delete.js.map +1 -0
- package/lib/commands/package/install/report.d.ts +19 -0
- package/lib/commands/package/install/report.js +65 -0
- package/lib/commands/package/install/report.js.map +1 -0
- package/lib/commands/package/install.d.ts +31 -0
- package/lib/commands/{force/package → package}/install.js +72 -76
- package/lib/commands/package/install.js.map +1 -0
- package/lib/commands/package/installed/list.d.ts +24 -0
- package/lib/commands/{force/package → package}/installed/list.js +19 -14
- package/lib/commands/package/installed/list.js.map +1 -0
- package/lib/commands/package/list.d.ts +26 -0
- package/lib/commands/{force/package → package}/list.js +23 -21
- package/lib/commands/package/list.js.map +1 -0
- package/lib/commands/package/uninstall/report.d.ts +15 -0
- package/lib/commands/package/uninstall/report.js +46 -0
- package/lib/commands/package/uninstall/report.js.map +1 -0
- package/lib/commands/package/uninstall.d.ts +19 -0
- package/lib/commands/package/uninstall.js +60 -0
- package/lib/commands/package/uninstall.js.map +1 -0
- package/lib/commands/package/update.d.ts +20 -0
- package/lib/commands/package/update.js +67 -0
- package/lib/commands/package/update.js.map +1 -0
- package/lib/commands/package/version/create/list.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/create/list.js +28 -20
- package/lib/commands/package/version/create/list.js.map +1 -0
- package/lib/commands/package/version/create/report.d.ts +19 -0
- package/lib/commands/{force/package → package}/version/create/report.js +28 -24
- package/lib/commands/package/version/create/report.js.map +1 -0
- package/lib/commands/package/version/create.d.ts +40 -0
- package/lib/commands/package/version/create.js +220 -0
- package/lib/commands/package/version/create.js.map +1 -0
- package/lib/commands/package/version/delete.d.ts +21 -0
- package/lib/commands/package/version/delete.js +71 -0
- package/lib/commands/package/version/delete.js.map +1 -0
- package/lib/commands/package/version/displayancestry.d.ts +19 -0
- package/lib/commands/package/version/displayancestry.js +74 -0
- package/lib/commands/package/version/displayancestry.js.map +1 -0
- package/lib/commands/package/version/list.d.ts +40 -0
- package/lib/commands/{force/package → package}/version/list.js +56 -57
- package/lib/commands/package/version/list.js.map +1 -0
- package/lib/commands/package/version/promote.d.ts +18 -0
- package/lib/commands/{force/package → package}/version/promote.js +28 -25
- package/lib/commands/package/version/promote.js.map +1 -0
- package/lib/commands/package/version/report.d.ts +29 -0
- package/lib/commands/{force/package → package}/version/report.js +34 -32
- package/lib/commands/package/version/report.js.map +1 -0
- package/lib/commands/package/version/update.d.ts +22 -0
- package/lib/commands/package/version/update.js +77 -0
- package/lib/commands/package/version/update.js.map +1 -0
- package/lib/commands/package1/version/create/get.d.ts +15 -0
- package/lib/commands/{force/package1 → package1}/version/create/get.js +22 -14
- package/lib/commands/package1/version/create/get.js.map +1 -0
- package/lib/commands/package1/version/create.d.ts +28 -0
- package/lib/commands/package1/version/create.js +130 -0
- package/lib/commands/package1/version/create.js.map +1 -0
- package/lib/commands/package1/version/display.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/display.js +20 -18
- package/lib/commands/package1/version/display.js.map +1 -0
- package/lib/commands/package1/version/list.d.ts +16 -0
- package/lib/commands/{force/package1 → package1}/version/list.js +21 -20
- package/lib/commands/package1/version/list.js.map +1 -0
- package/messages/package1_version_create.md +33 -44
- package/messages/package1_version_create_get.md +11 -10
- package/messages/package1_version_display.md +10 -8
- package/messages/package1_version_list.md +14 -8
- package/messages/package_convert.md +31 -31
- package/messages/package_create.md +31 -40
- package/messages/package_delete.md +15 -20
- package/messages/package_displayancestry.md +25 -19
- package/messages/package_install.md +43 -52
- package/messages/package_install_report.md +9 -8
- package/messages/package_installed_list.md +9 -4
- package/messages/package_list.md +16 -13
- package/messages/package_uninstall.md +17 -15
- package/messages/package_uninstall_report.md +11 -10
- package/messages/package_update.md +13 -18
- package/messages/package_version_create.md +81 -129
- package/messages/package_version_create_list.md +26 -14
- package/messages/package_version_create_report.md +13 -10
- package/messages/package_version_delete.md +17 -17
- package/messages/package_version_list.md +29 -32
- package/messages/package_version_promote.md +22 -16
- package/messages/package_version_report.md +13 -14
- package/messages/package_version_update.md +23 -37
- package/messages/packaging.md +4 -12
- package/oclif.manifest.json +2455 -1
- package/package.json +60 -75
- package/schemas/package-convert.json +73 -0
- package/schemas/package-create.json +16 -0
- package/schemas/package-delete.json +72 -0
- package/schemas/package-install-report.json +169 -0
- package/schemas/package-install.json +169 -0
- package/schemas/package-installed-list.json +40 -0
- package/schemas/package-list.json +55 -0
- package/schemas/package-uninstall-report.json +51 -0
- package/schemas/package-uninstall.json +54 -0
- package/schemas/package-update.json +72 -0
- package/schemas/package-version-create-list.json +79 -0
- package/schemas/package-version-create-report.json +79 -0
- package/schemas/package-version-create.json +60 -0
- package/schemas/package-version-delete.json +72 -0
- package/schemas/package-version-displayancestry.json +61 -0
- package/schemas/package-version-list.json +146 -0
- package/schemas/package-version-promote.json +72 -0
- package/schemas/package-version-report.json +232 -0
- package/schemas/package-version-update.json +72 -0
- package/schemas/package1-version-create-get.json +91 -0
- package/schemas/package1-version-create.json +94 -0
- package/schemas/package1-version-display.json +37 -0
- package/schemas/package1-version-list.json +37 -0
- package/lib/commands/force/package/convert.d.ts +0 -11
- package/lib/commands/force/package/convert.js +0 -106
- package/lib/commands/force/package/convert.js.map +0 -1
- package/lib/commands/force/package/create.d.ts +0 -13
- package/lib/commands/force/package/create.js +0 -82
- package/lib/commands/force/package/create.js.map +0 -1
- package/lib/commands/force/package/delete.d.ts +0 -12
- package/lib/commands/force/package/delete.js +0 -63
- package/lib/commands/force/package/delete.js.map +0 -1
- package/lib/commands/force/package/install/report.d.ts +0 -12
- package/lib/commands/force/package/install/report.js +0 -39
- package/lib/commands/force/package/install/report.js.map +0 -1
- package/lib/commands/force/package/install.d.ts +0 -20
- package/lib/commands/force/package/install.js.map +0 -1
- package/lib/commands/force/package/installed/list.d.ts +0 -18
- package/lib/commands/force/package/installed/list.js.map +0 -1
- package/lib/commands/force/package/list.d.ts +0 -19
- package/lib/commands/force/package/list.js.map +0 -1
- package/lib/commands/force/package/uninstall/report.d.ts +0 -10
- package/lib/commands/force/package/uninstall/report.js +0 -44
- package/lib/commands/force/package/uninstall/report.js.map +0 -1
- package/lib/commands/force/package/uninstall.d.ts +0 -12
- package/lib/commands/force/package/uninstall.js +0 -55
- package/lib/commands/force/package/uninstall.js.map +0 -1
- package/lib/commands/force/package/update.d.ts +0 -11
- package/lib/commands/force/package/update.js +0 -63
- package/lib/commands/force/package/update.js.map +0 -1
- package/lib/commands/force/package/version/create/list.d.ts +0 -10
- package/lib/commands/force/package/version/create/list.js.map +0 -1
- package/lib/commands/force/package/version/create/report.d.ts +0 -11
- package/lib/commands/force/package/version/create/report.js.map +0 -1
- package/lib/commands/force/package/version/create.d.ts +0 -12
- package/lib/commands/force/package/version/create.js +0 -203
- package/lib/commands/force/package/version/create.js.map +0 -1
- package/lib/commands/force/package/version/delete.d.ts +0 -13
- package/lib/commands/force/package/version/delete.js +0 -66
- package/lib/commands/force/package/version/delete.js.map +0 -1
- package/lib/commands/force/package/version/displayancestry.d.ts +0 -13
- package/lib/commands/force/package/version/displayancestry.js +0 -70
- package/lib/commands/force/package/version/displayancestry.js.map +0 -1
- package/lib/commands/force/package/version/list.d.ts +0 -27
- package/lib/commands/force/package/version/list.js.map +0 -1
- package/lib/commands/force/package/version/promote.d.ts +0 -11
- package/lib/commands/force/package/version/promote.js.map +0 -1
- package/lib/commands/force/package/version/report.d.ts +0 -22
- package/lib/commands/force/package/version/report.js.map +0 -1
- package/lib/commands/force/package/version/update.d.ts +0 -11
- package/lib/commands/force/package/version/update.js +0 -73
- package/lib/commands/force/package/version/update.js.map +0 -1
- package/lib/commands/force/package1/version/create/get.d.ts +0 -10
- package/lib/commands/force/package1/version/create/get.js.map +0 -1
- package/lib/commands/force/package1/version/create.d.ts +0 -13
- package/lib/commands/force/package1/version/create.js +0 -115
- package/lib/commands/force/package1/version/create.js.map +0 -1
- package/lib/commands/force/package1/version/display.d.ts +0 -9
- package/lib/commands/force/package1/version/display.js.map +0 -1
- package/lib/commands/force/package1/version/list.d.ts +0 -9
- package/lib/commands/force/package1/version/list.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-packaging",
|
|
3
3
|
"description": "SFDX plugin that support Salesforce Packaging Platform",
|
|
4
|
-
"version": "1.12.
|
|
4
|
+
"version": "1.12.4",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "Salesforce",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@oclif/core": "^1.
|
|
10
|
-
"@salesforce/
|
|
11
|
-
"@salesforce/
|
|
12
|
-
"@salesforce/kit": "^1.8.2",
|
|
9
|
+
"@oclif/core": "^1.25.0",
|
|
10
|
+
"@salesforce/core": "^3.33.0",
|
|
11
|
+
"@salesforce/kit": "^1.8.3",
|
|
13
12
|
"@salesforce/packaging": "^1.1.11",
|
|
13
|
+
"@salesforce/sf-plugins-core": "^1.22.1",
|
|
14
14
|
"chalk": "^4.1.2",
|
|
15
15
|
"tslib": "^2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@oclif/plugin-command-snapshot": "^3.2.
|
|
19
|
-
"@oclif/plugin-version": "^1.
|
|
20
|
-
"@salesforce/cli-plugins-testkit": "^3.2.
|
|
18
|
+
"@oclif/plugin-command-snapshot": "^3.2.18",
|
|
19
|
+
"@oclif/plugin-version": "^1.2.0",
|
|
20
|
+
"@salesforce/cli-plugins-testkit": "^3.2.18",
|
|
21
21
|
"@salesforce/dev-config": "^3.1.0",
|
|
22
|
-
"@salesforce/dev-scripts": "^3.1.
|
|
23
|
-
"@salesforce/plugin-auth": "^2.3.
|
|
24
|
-
"@salesforce/plugin-command-reference": "^
|
|
25
|
-
"@salesforce/plugin-config": "^1.4.
|
|
22
|
+
"@salesforce/dev-scripts": "^3.1.1",
|
|
23
|
+
"@salesforce/plugin-auth": "^2.3.12",
|
|
24
|
+
"@salesforce/plugin-command-reference": "^2.2.9",
|
|
25
|
+
"@salesforce/plugin-config": "^1.4.23",
|
|
26
26
|
"@salesforce/prettier-config": "^0.0.2",
|
|
27
|
-
"@salesforce/ts-sinon": "1.4.
|
|
27
|
+
"@salesforce/ts-sinon": "1.4.4",
|
|
28
28
|
"@salesforce/ts-types": "^1.5.20",
|
|
29
|
-
"@swc/core": "^1.3.
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
31
|
-
"@typescript-eslint/parser": "^5.
|
|
29
|
+
"@swc/core": "^1.3.27",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
31
|
+
"@typescript-eslint/parser": "^5.48.2",
|
|
32
32
|
"chai": "^4.3.7",
|
|
33
|
-
"eslint": "^8.
|
|
33
|
+
"eslint": "^8.32.0",
|
|
34
34
|
"eslint-config-prettier": "^8.6.0",
|
|
35
35
|
"eslint-config-salesforce": "^1.1.0",
|
|
36
|
-
"eslint-config-salesforce-license": "^0.
|
|
36
|
+
"eslint-config-salesforce-license": "^0.2.0",
|
|
37
37
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
38
38
|
"eslint-plugin-header": "^3.1.1",
|
|
39
|
-
"eslint-plugin-import": "^2.
|
|
40
|
-
"eslint-plugin-jsdoc": "^39.6.
|
|
39
|
+
"eslint-plugin-import": "^2.27.5",
|
|
40
|
+
"eslint-plugin-jsdoc": "^39.6.7",
|
|
41
|
+
"eslint-plugin-sf-plugin": "^1.6.3",
|
|
41
42
|
"husky": "^7.0.4",
|
|
42
43
|
"mocha": "^9.1.3",
|
|
43
44
|
"nyc": "^15.1.0",
|
|
44
|
-
"oclif": "^3.
|
|
45
|
-
"prettier": "^2.8.
|
|
45
|
+
"oclif": "^3.6.0",
|
|
46
|
+
"prettier": "^2.8.3",
|
|
46
47
|
"pretty-quick": "^3.1.3",
|
|
47
48
|
"shx": "0.3.4",
|
|
48
49
|
"sinon": "^11.1.2",
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
"files": [
|
|
57
58
|
"/lib",
|
|
58
59
|
"/messages",
|
|
59
|
-
"/oclif.manifest.json"
|
|
60
|
+
"/oclif.manifest.json",
|
|
61
|
+
"/schemas"
|
|
60
62
|
],
|
|
61
63
|
"homepage": "https://github.com/salesforcecli/plugin-packaging",
|
|
62
64
|
"keywords": [
|
|
@@ -85,64 +87,46 @@
|
|
|
85
87
|
],
|
|
86
88
|
"plugins": [],
|
|
87
89
|
"topics": {
|
|
88
|
-
"
|
|
89
|
-
"description": "
|
|
90
|
-
"longDescription": "Commands to develop on the Salesforce Platform.",
|
|
90
|
+
"package1": {
|
|
91
|
+
"description": "Commands to develop first-generation managed and unmanaged packages.",
|
|
91
92
|
"trailblazerCommunityLink": {
|
|
92
|
-
"url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=
|
|
93
|
-
"name": "
|
|
93
|
+
"url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000Lg5U",
|
|
94
|
+
"name": "Unlocked Packages and Managed 2GPs"
|
|
94
95
|
},
|
|
95
96
|
"subtopics": {
|
|
96
|
-
"
|
|
97
|
-
"description": "
|
|
98
|
-
"longDescription": "Use the package1 commands to create and view first-generation package versions in your Dev Hub org.",
|
|
97
|
+
"version": {
|
|
98
|
+
"description": "Commands to manage first-generation package versions.",
|
|
99
99
|
"subtopics": {
|
|
100
|
-
"
|
|
101
|
-
"description": "
|
|
102
|
-
"longDescription": "Use the package version commands to first-generation manage package versions.",
|
|
103
|
-
"subtopics": {
|
|
104
|
-
"create": {
|
|
105
|
-
"description": "create package versions",
|
|
106
|
-
"longDescription": "Use the package version list command to list package versions."
|
|
107
|
-
},
|
|
108
|
-
"display": {
|
|
109
|
-
"description": "display package versions",
|
|
110
|
-
"longDescription": "Use the package version list command to list package versions."
|
|
111
|
-
},
|
|
112
|
-
"list": {
|
|
113
|
-
"description": "list package versions"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
100
|
+
"create": {
|
|
101
|
+
"description": "Command to get package creation requests."
|
|
116
102
|
}
|
|
117
103
|
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"package": {
|
|
108
|
+
"description": "Commands to develop and install unlocked packages and managed 2GP packages.",
|
|
109
|
+
"trailblazerCommunityLink": {
|
|
110
|
+
"url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000Lg5U",
|
|
111
|
+
"name": "Unlocked Packages and Managed 2GPs"
|
|
112
|
+
},
|
|
113
|
+
"subtopics": {
|
|
114
|
+
"version": {
|
|
115
|
+
"description": "Commands to manage package versions.",
|
|
126
116
|
"subtopics": {
|
|
127
|
-
"
|
|
128
|
-
"description": "
|
|
129
|
-
"longDescription": "Use the package version commands to manage package versions.",
|
|
130
|
-
"subtopics": {
|
|
131
|
-
"create": {
|
|
132
|
-
"description": "create package versions",
|
|
133
|
-
"longDescription": "Use the package version list command to list package versions."
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"uninstall": {
|
|
138
|
-
"description": "uninstall packages",
|
|
139
|
-
"longDescription": "Use the package uninstall commands to uninstall packages."
|
|
140
|
-
},
|
|
141
|
-
"install": {
|
|
142
|
-
"description": "install packages",
|
|
143
|
-
"longDescription": "Use the package install commands to install packages."
|
|
117
|
+
"create": {
|
|
118
|
+
"description": "Commands to list and report package creation requests."
|
|
144
119
|
}
|
|
145
120
|
}
|
|
121
|
+
},
|
|
122
|
+
"install": {
|
|
123
|
+
"description": "Command to report on installed packages."
|
|
124
|
+
},
|
|
125
|
+
"uninstall": {
|
|
126
|
+
"description": "Command to report on uninstalled packages."
|
|
127
|
+
},
|
|
128
|
+
"installed": {
|
|
129
|
+
"description": "Command to list installed packages."
|
|
146
130
|
}
|
|
147
131
|
}
|
|
148
132
|
}
|
|
@@ -158,7 +142,7 @@
|
|
|
158
142
|
"format": "sf-format",
|
|
159
143
|
"lint": "sf-lint",
|
|
160
144
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
161
|
-
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
|
|
145
|
+
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
|
|
162
146
|
"prepack": "sf-prepack",
|
|
163
147
|
"prepare": "sf-install",
|
|
164
148
|
"pretest": "sf-compile-test",
|
|
@@ -167,13 +151,14 @@
|
|
|
167
151
|
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
168
152
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1800000 --parallel",
|
|
169
153
|
"test:nuts:package1": "nyc mocha \"**/package1/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
|
|
154
|
+
"test:json-schema": "./bin/dev schema:compare",
|
|
170
155
|
"version": "oclif readme"
|
|
171
156
|
},
|
|
172
157
|
"publishConfig": {
|
|
173
158
|
"access": "public"
|
|
174
159
|
},
|
|
175
160
|
"sfdx": {
|
|
176
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.12.
|
|
177
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.12.
|
|
161
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.12.4.crt",
|
|
162
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.12.4.sig"
|
|
178
163
|
}
|
|
179
164
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageVersionCreateRequestResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageVersionCreateRequestResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"Id": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"Status": {
|
|
12
|
+
"$ref": "#/definitions/PackagingSObjects.Package2VersionStatus"
|
|
13
|
+
},
|
|
14
|
+
"Package2Id": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"Package2VersionId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"SubscriberPackageVersionId": {
|
|
21
|
+
"type": ["string", "null"]
|
|
22
|
+
},
|
|
23
|
+
"Tag": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"Branch": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"Error": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {}
|
|
32
|
+
},
|
|
33
|
+
"CreatedDate": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"HasMetadataRemoved": {
|
|
37
|
+
"type": ["boolean", "null"]
|
|
38
|
+
},
|
|
39
|
+
"CreatedBy": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"Id",
|
|
45
|
+
"Status",
|
|
46
|
+
"Package2Id",
|
|
47
|
+
"Package2VersionId",
|
|
48
|
+
"SubscriberPackageVersionId",
|
|
49
|
+
"Tag",
|
|
50
|
+
"Branch",
|
|
51
|
+
"Error",
|
|
52
|
+
"CreatedDate",
|
|
53
|
+
"HasMetadataRemoved",
|
|
54
|
+
"CreatedBy"
|
|
55
|
+
],
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
},
|
|
58
|
+
"PackagingSObjects.Package2VersionStatus": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"Queued",
|
|
62
|
+
"InProgress",
|
|
63
|
+
"Success",
|
|
64
|
+
"Error",
|
|
65
|
+
"Initializing",
|
|
66
|
+
"VerifyingFeaturesAndSettings",
|
|
67
|
+
"VerifyingDependencies",
|
|
68
|
+
"VerifyingMetadata",
|
|
69
|
+
"FinalizingPackageVersion"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageCreate",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageCreate": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"Id": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": ["Id"],
|
|
13
|
+
"additionalProperties": false
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageSaveResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageSaveResult": {
|
|
6
|
+
"$ref": "#/definitions/SaveResult"
|
|
7
|
+
},
|
|
8
|
+
"SaveResult": {
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"success": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"const": true
|
|
16
|
+
},
|
|
17
|
+
"id": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"errors": {
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"not": {}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": ["success", "id", "errors"],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"success": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"const": false
|
|
36
|
+
},
|
|
37
|
+
"id": {
|
|
38
|
+
"not": {}
|
|
39
|
+
},
|
|
40
|
+
"errors": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"$ref": "#/definitions/SaveError"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": ["success", "errors"],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"SaveError": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"errorCode": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"message": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"fields": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": ["errorCode", "message"],
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageInstallRequest",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageInstallRequest": {
|
|
6
|
+
"$ref": "#/definitions/PackagingSObjects.PackageInstallRequest"
|
|
7
|
+
},
|
|
8
|
+
"PackagingSObjects.PackageInstallRequest": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"attributes": {
|
|
12
|
+
"$ref": "#/definitions/PackagingSObjects.Attributes"
|
|
13
|
+
},
|
|
14
|
+
"Id": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"IsDeleted": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"CreatedDate": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"CreatedById": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"LastModifiedDate": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"LastModifiedById": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"SystemModstamp": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"SubscriberPackageVersionKey": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"NameConflictResolution": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["Block", "RenameMetadata"]
|
|
41
|
+
},
|
|
42
|
+
"SecurityType": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": ["Custom", "Full", "None"]
|
|
45
|
+
},
|
|
46
|
+
"PackageInstallSource": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"ProfileMappings": {
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"$ref": "#/definitions/PackagingSObjects.SubscriberPackageProfileMappings"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "null"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"Password": {
|
|
60
|
+
"type": ["string", "null"]
|
|
61
|
+
},
|
|
62
|
+
"EnableRss": {
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"UpgradeType": {
|
|
66
|
+
"type": ["string", "null"],
|
|
67
|
+
"enum": ["delete-only", "deprecate-only", "mixed-mode", null]
|
|
68
|
+
},
|
|
69
|
+
"ApexCompileType": {
|
|
70
|
+
"type": ["string", "null"],
|
|
71
|
+
"enum": ["all", "package", null]
|
|
72
|
+
},
|
|
73
|
+
"Status": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": ["ERROR", "IN_PROGRESS", "SUCCESS", "UNKNOWN"]
|
|
76
|
+
},
|
|
77
|
+
"Errors": {
|
|
78
|
+
"anyOf": [
|
|
79
|
+
{
|
|
80
|
+
"$ref": "#/definitions/PackagingSObjects.SubscriberPackageInstallErrors"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "null"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"required": [
|
|
89
|
+
"attributes",
|
|
90
|
+
"Id",
|
|
91
|
+
"IsDeleted",
|
|
92
|
+
"CreatedDate",
|
|
93
|
+
"CreatedById",
|
|
94
|
+
"LastModifiedDate",
|
|
95
|
+
"LastModifiedById",
|
|
96
|
+
"SystemModstamp",
|
|
97
|
+
"SubscriberPackageVersionKey",
|
|
98
|
+
"NameConflictResolution",
|
|
99
|
+
"SecurityType",
|
|
100
|
+
"PackageInstallSource",
|
|
101
|
+
"EnableRss",
|
|
102
|
+
"Status"
|
|
103
|
+
],
|
|
104
|
+
"additionalProperties": false
|
|
105
|
+
},
|
|
106
|
+
"PackagingSObjects.Attributes": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"type": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"url": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": ["type", "url"],
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
},
|
|
119
|
+
"PackagingSObjects.SubscriberPackageProfileMappings": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"profileMappings": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"$ref": "#/definitions/PackagingSObjects.SubscriberPackageProfileMapping"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": ["profileMappings"],
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
},
|
|
132
|
+
"PackagingSObjects.SubscriberPackageProfileMapping": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"source": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"target": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": ["source", "target"],
|
|
143
|
+
"additionalProperties": false
|
|
144
|
+
},
|
|
145
|
+
"PackagingSObjects.SubscriberPackageInstallErrors": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"errors": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"$ref": "#/definitions/PackagingSObjects.SubscriberPackageInstallError"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"required": ["errors"],
|
|
156
|
+
"additionalProperties": false
|
|
157
|
+
},
|
|
158
|
+
"PackagingSObjects.SubscriberPackageInstallError": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"message": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": ["message"],
|
|
166
|
+
"additionalProperties": false
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|