@salesforce/plugin-packaging 1.12.2 → 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 -127
- 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 +61 -76
- 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
|
@@ -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,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/DisplayAncestryCommandResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"DisplayAncestryCommandResult": {
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "#/definitions/PackageAncestryNodeData"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "null"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"PackageAncestryNodeData": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"data": {
|
|
22
|
+
"$ref": "#/definitions/PackageAncestryNodeOptions"
|
|
23
|
+
},
|
|
24
|
+
"children": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "#/definitions/PackageAncestryNodeData"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": ["data", "children"],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
},
|
|
34
|
+
"PackageAncestryNodeOptions": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"AncestorId": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"SubscriberPackageVersionId": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"MajorVersion": {
|
|
44
|
+
"type": ["string", "number"]
|
|
45
|
+
},
|
|
46
|
+
"MinorVersion": {
|
|
47
|
+
"type": ["string", "number"]
|
|
48
|
+
},
|
|
49
|
+
"PatchVersion": {
|
|
50
|
+
"type": ["string", "number"]
|
|
51
|
+
},
|
|
52
|
+
"BuildNumber": {
|
|
53
|
+
"type": ["string", "number"]
|
|
54
|
+
},
|
|
55
|
+
"depthCounter": {
|
|
56
|
+
"type": "number"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageVersionListCommandResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageVersionListCommandResult": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"$ref": "#/definitions/PackageVersionListDetails"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"PackageVersionListDetails": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"properties": {
|
|
15
|
+
"HasMetadataRemoved": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"IsPasswordProtected": {
|
|
19
|
+
"type": ["string", "boolean"]
|
|
20
|
+
},
|
|
21
|
+
"IsReleased": {
|
|
22
|
+
"type": ["string", "boolean"]
|
|
23
|
+
},
|
|
24
|
+
"HasPassedCodeCoverageCheck": {
|
|
25
|
+
"type": ["string", "boolean"]
|
|
26
|
+
},
|
|
27
|
+
"BuildDurationInSeconds": {
|
|
28
|
+
"type": ["string", "number"]
|
|
29
|
+
},
|
|
30
|
+
"CodeCoverage": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"NamespacePrefix": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"Package2Name": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"Version": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"InstallUrl": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"AncestorVersion": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"Alias": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"IsOrgDependent": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": ["N/A", "Yes", "No"]
|
|
54
|
+
},
|
|
55
|
+
"CreatedBy": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"Id": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"Package2Id": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"SubscriberPackageVersionId": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"Name": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"Description": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"Tag": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"Branch": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"MajorVersion": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"MinorVersion": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"PatchVersion": {
|
|
86
|
+
"type": "string"
|
|
87
|
+
},
|
|
88
|
+
"BuildNumber": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"CreatedDate": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"LastModifiedDate": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"AncestorId": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"ValidationSkipped": {
|
|
101
|
+
"type": "boolean"
|
|
102
|
+
},
|
|
103
|
+
"ConvertedFromVersionId": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"ReleaseVersion": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"Language": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"Alias",
|
|
115
|
+
"AncestorId",
|
|
116
|
+
"AncestorVersion",
|
|
117
|
+
"Branch",
|
|
118
|
+
"BuildDurationInSeconds",
|
|
119
|
+
"BuildNumber",
|
|
120
|
+
"CodeCoverage",
|
|
121
|
+
"CreatedBy",
|
|
122
|
+
"CreatedDate",
|
|
123
|
+
"Description",
|
|
124
|
+
"HasMetadataRemoved",
|
|
125
|
+
"HasPassedCodeCoverageCheck",
|
|
126
|
+
"Id",
|
|
127
|
+
"InstallUrl",
|
|
128
|
+
"IsOrgDependent",
|
|
129
|
+
"IsPasswordProtected",
|
|
130
|
+
"IsReleased",
|
|
131
|
+
"LastModifiedDate",
|
|
132
|
+
"MajorVersion",
|
|
133
|
+
"MinorVersion",
|
|
134
|
+
"Name",
|
|
135
|
+
"NamespacePrefix",
|
|
136
|
+
"Package2Id",
|
|
137
|
+
"Package2Name",
|
|
138
|
+
"PatchVersion",
|
|
139
|
+
"SubscriberPackageVersionId",
|
|
140
|
+
"Tag",
|
|
141
|
+
"ValidationSkipped",
|
|
142
|
+
"Version"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -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,232 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/PackageVersionReportResultModified",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PackageVersionReportResultModified": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"CodeCoverage": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"HasPassedCodeCoverageCheck": {
|
|
13
|
+
"type": ["boolean", "string"]
|
|
14
|
+
},
|
|
15
|
+
"Package2": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"Id": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"IsDeleted": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"CreatedDate": {
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"CreatedById": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"LastModifiedDate": {
|
|
31
|
+
"type": "number"
|
|
32
|
+
},
|
|
33
|
+
"LastModifiedById": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"SystemModstamp": {
|
|
37
|
+
"type": "number"
|
|
38
|
+
},
|
|
39
|
+
"SubscriberPackageId": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"Name": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"Description": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"NamespacePrefix": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"ContainerOptions": {
|
|
52
|
+
"$ref": "#/definitions/PackageType"
|
|
53
|
+
},
|
|
54
|
+
"IsDeprecated": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"ConvertedFromPackageId": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"PackageErrorUsername": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
"IsOrgDependent": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": false
|
|
68
|
+
},
|
|
69
|
+
"HasMetadataRemoved": {
|
|
70
|
+
"type": ["boolean", "string"]
|
|
71
|
+
},
|
|
72
|
+
"Id": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"IsDeleted": {
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
},
|
|
78
|
+
"CreatedDate": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
81
|
+
"CreatedById": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"LastModifiedDate": {
|
|
85
|
+
"type": "number"
|
|
86
|
+
},
|
|
87
|
+
"LastModifiedById": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"SystemModstamp": {
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
93
|
+
"Package2Id": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"SubscriberPackageVersionId": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"Tag": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
},
|
|
102
|
+
"Branch": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"AncestorId": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"ValidationSkipped": {
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"Name": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"Description": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"MajorVersion": {
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
120
|
+
"MinorVersion": {
|
|
121
|
+
"type": "number"
|
|
122
|
+
},
|
|
123
|
+
"PatchVersion": {
|
|
124
|
+
"type": "number"
|
|
125
|
+
},
|
|
126
|
+
"BuildNumber": {
|
|
127
|
+
"type": "number"
|
|
128
|
+
},
|
|
129
|
+
"IsDeprecated": {
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"IsPasswordProtected": {
|
|
133
|
+
"type": "boolean"
|
|
134
|
+
},
|
|
135
|
+
"CodeCoveragePercentages": {
|
|
136
|
+
"$ref": "#/definitions/CodeCoveragePercentages"
|
|
137
|
+
},
|
|
138
|
+
"InstallKey": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"IsReleased": {
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
},
|
|
144
|
+
"ConvertedFromVersionId": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"ReleaseVersion": {
|
|
148
|
+
"type": "number"
|
|
149
|
+
},
|
|
150
|
+
"BuildDurationInSeconds": {
|
|
151
|
+
"type": "number"
|
|
152
|
+
},
|
|
153
|
+
"Language": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"SubscriberPackageVersion": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"Dependencies": {
|
|
160
|
+
"$ref": "#/definitions/PackagingSObjects.SubscriberPackageDependencies"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": ["Dependencies"],
|
|
164
|
+
"additionalProperties": false
|
|
165
|
+
},
|
|
166
|
+
"Version": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"AncestorVersion": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": ["CodeCoverage", "HasMetadataRemoved", "Package2", "Version"]
|
|
174
|
+
},
|
|
175
|
+
"PackageType": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": ["Managed", "Unlocked"]
|
|
178
|
+
},
|
|
179
|
+
"CodeCoveragePercentages": {
|
|
180
|
+
"anyOf": [
|
|
181
|
+
{
|
|
182
|
+
"type": "null"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "object",
|
|
186
|
+
"properties": {
|
|
187
|
+
"codeCovPercentages": {
|
|
188
|
+
"type": "array",
|
|
189
|
+
"items": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"properties": {
|
|
192
|
+
"className": {
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"codeCoveragePercentage": {
|
|
196
|
+
"type": "number"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"required": ["className", "codeCoveragePercentage"],
|
|
200
|
+
"additionalProperties": false
|
|
201
|
+
},
|
|
202
|
+
"minItems": 1,
|
|
203
|
+
"maxItems": 1
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"required": ["codeCovPercentages"],
|
|
207
|
+
"additionalProperties": false
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"PackagingSObjects.SubscriberPackageDependencies": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"ids": {
|
|
215
|
+
"type": "array",
|
|
216
|
+
"items": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"subscriberPackageVersionId": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": ["subscriberPackageVersionId"],
|
|
224
|
+
"additionalProperties": false
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"required": ["ids"],
|
|
229
|
+
"additionalProperties": false
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
@@ -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
|
+
}
|