@salesforce/packaging 0.0.1 → 0.0.3

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/CHANGELOG.md CHANGED
@@ -2,7 +2,24 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### 0.0.1 (2022-06-08)
5
+ ### [0.0.3](https://github.com/forcedotcom/packaging/compare/v0.0.2-test-02...v0.0.3) (2022-06-16)
6
+
7
+ ### Bug Fixes
8
+
9
+ - fix version number ([ba522bb](https://github.com/forcedotcom/packaging/commit/ba522bb387160e61c1bf9eb5c85d38e5a5fe7e71))
10
+
11
+ ### [0.0.2-test-02](https://github.com/forcedotcom/packaging/compare/v0.0.2...v0.0.2-test-02) (2022-06-16)
12
+
13
+ ### Bug Fixes
14
+
15
+ - next round of refactoring plus utests ([d5a615b](https://github.com/forcedotcom/packaging/commit/d5a615bbf8cb2d5c33a55ddeaf5027bb6e1d3e51))
16
+
17
+ ### 0.0.2 (2022-06-13)
18
+
19
+ ### Bug Fixes
20
+
21
+ - force publish ([cdf79f0](https://github.com/forcedotcom/packaging/commit/cdf79f059291187d551266b73b19519ca359cda6))
22
+ - should push to get now ([78a3968](https://github.com/forcedotcom/packaging/commit/78a396854379c5fa1ce1fc8fc9f306ce381ebb19))
6
23
 
7
24
  # Changelog
8
25
 
package/lib/exported.d.ts CHANGED
@@ -1 +1,4 @@
1
- export {};
1
+ export * from './interfaces';
2
+ export * from './package';
3
+ export * from './package1';
4
+ export * from './utils';
package/lib/exported.js CHANGED
@@ -1,3 +1,27 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ /*
18
+ * Copyright (c) 2022, salesforce.com, inc.
19
+ * All rights reserved.
20
+ * Licensed under the BSD 3-Clause license.
21
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
22
+ */
23
+ __exportStar(require("./interfaces"), exports);
24
+ __exportStar(require("./package"), exports);
25
+ __exportStar(require("./package1"), exports);
26
+ __exportStar(require("./utils"), exports);
3
27
  //# sourceMappingURL=exported.js.map
@@ -0,0 +1,2 @@
1
+ export * from './packagingInterfacesAndType';
2
+ export * from './packagingSObjects';
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /*
18
+ * Copyright (c) 2022, salesforce.com, inc.
19
+ * All rights reserved.
20
+ * Licensed under the BSD 3-Clause license.
21
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
22
+ */
23
+ __exportStar(require("./packagingInterfacesAndType"), exports);
24
+ __exportStar(require("./packagingSObjects"), exports);
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,56 @@
1
+ import { Duration } from '@salesforce/kit';
2
+ import { PackagingSObjects } from './packagingSObjects';
3
+ import Package2VersionStatus = PackagingSObjects.Package2VersionStatus;
4
+ export interface IPackage {
5
+ create(): Promise<void>;
6
+ convert(): Promise<void>;
7
+ delete(): Promise<void>;
8
+ install(): Promise<void>;
9
+ list(): Promise<void>;
10
+ uninstall(): Promise<void>;
11
+ update(): Promise<void>;
12
+ }
13
+ export interface IPackageVersion1GP {
14
+ create(): Promise<void>;
15
+ convert(): Promise<void>;
16
+ delete(): Promise<void>;
17
+ install(): Promise<void>;
18
+ list(): Promise<void>;
19
+ uninstall(): Promise<void>;
20
+ update(): Promise<void>;
21
+ }
22
+ export interface IPackageVersion2GP {
23
+ create(): Promise<void>;
24
+ convert(): Promise<void>;
25
+ delete(): Promise<void>;
26
+ install(): Promise<void>;
27
+ list(): Promise<void>;
28
+ uninstall(): Promise<void>;
29
+ update(): Promise<void>;
30
+ }
31
+ export declare type PackageOptions = Record<string, unknown>;
32
+ export declare type PackageVersion2Options = Record<string, unknown>;
33
+ export declare type PackageVersionOptions1GP = Record<string, unknown>;
34
+ export declare type Package2VersionCreateRequestResult = {
35
+ Id: string;
36
+ Status: Package2VersionStatus;
37
+ Package2Id: string;
38
+ Package2VersionId: string;
39
+ SubscriberPackageVersionId: string | null;
40
+ Tag: string;
41
+ Branch: string;
42
+ Error: any[];
43
+ CreatedDate: string;
44
+ HasMetadataRemoved: boolean | null;
45
+ CreatedBy: string;
46
+ };
47
+ export declare type Package2VersionCreateRequestError = {
48
+ Message: string;
49
+ };
50
+ export declare type Package2VersionCreateEventData = {
51
+ id: string;
52
+ packageUpdated?: boolean;
53
+ package2VersionCreateRequestResult: Package2VersionCreateRequestResult;
54
+ message?: string;
55
+ timeRemaining?: Duration;
56
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2022, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ //# sourceMappingURL=packagingInterfacesAndType.js.map
@@ -0,0 +1,225 @@
1
+ export declare namespace PackagingSObjects {
2
+ type Package2 = {
3
+ Id: string;
4
+ IsDeleted: boolean;
5
+ CreatedDate: number;
6
+ CreatedById: string;
7
+ LastModifiedDate: number;
8
+ LastModifiedById: string;
9
+ SystemModstamp: number;
10
+ SubscriberPackageId: string;
11
+ Name: string;
12
+ Description: string;
13
+ NamespacePrefix: string;
14
+ ContainerOptions: string;
15
+ IsDeprecated: boolean;
16
+ IsOrgDependent: boolean;
17
+ ConvertedFromPackageId: string;
18
+ PackageErrorUsername: string;
19
+ };
20
+ type Package2Version = {
21
+ Id: string;
22
+ IsDeleted: boolean;
23
+ CreatedDate: number;
24
+ CreatedById: string;
25
+ LastModifiedDate: number;
26
+ LastModifiedById: string;
27
+ SystemModstamp: number;
28
+ Package2Id: string;
29
+ SubscriberPackageVersionId: string;
30
+ Tag: string;
31
+ Branch: string;
32
+ AncestorId: string;
33
+ ValidationSkipped: boolean;
34
+ Name: string;
35
+ Description: string;
36
+ MajorVersion: number;
37
+ MinorVersion: number;
38
+ PatchVersion: number;
39
+ BuildNumber: number;
40
+ IsDeprecated: boolean;
41
+ IsPasswordProtected: boolean;
42
+ CodeCoverage: unknown;
43
+ HasPassedCodeCoverageCheck: boolean;
44
+ InstallKey: string;
45
+ IsReleased: boolean;
46
+ ConvertedFromVersionId: string;
47
+ ReleaseVersion: number;
48
+ BuildDurationInSeconds: number;
49
+ HasMetadataRemoved: boolean;
50
+ };
51
+ enum Package2VersionStatus {
52
+ queued = "Queued",
53
+ inProgress = "InProgress",
54
+ success = "Success",
55
+ error = "Error"
56
+ }
57
+ type Package2VersionCreateRequest = {
58
+ Id: string;
59
+ IsDeleted: boolean;
60
+ CreatedDate: number;
61
+ CreatedById: string;
62
+ LastModifiedDate: number;
63
+ LastModifiedById: string;
64
+ SystemModstamp: number;
65
+ Package2Id: string;
66
+ Package2VersionId: string;
67
+ Tag: string;
68
+ Branch: string;
69
+ Status: Package2VersionStatus;
70
+ Instance: string;
71
+ IsPasswordProtected: boolean;
72
+ InstallKey: string;
73
+ CalculateCodeCoverage: boolean;
74
+ SkipValidation: boolean;
75
+ IsConversionRequest: boolean;
76
+ VersionInfo: string;
77
+ };
78
+ type Package2VersionCreateRequestError = {
79
+ Id: string;
80
+ IsDeleted: boolean;
81
+ CreatedDate: number;
82
+ CreatedById: string;
83
+ LastModifiedDate: number;
84
+ LastModifiedById: string;
85
+ SystemModstamp: number;
86
+ ParentRequestId: string;
87
+ Message: string;
88
+ };
89
+ type SubscriberPackage = {
90
+ Id: string;
91
+ Name: string;
92
+ NamespacePrefix: string;
93
+ Description: string;
94
+ IsPackageValid: boolean;
95
+ };
96
+ type SubscriberPackageVersion = {
97
+ Id: string;
98
+ SubscriberPackageId: string;
99
+ Name: string;
100
+ Description: string;
101
+ PublisherName: string;
102
+ MajorVersion: number;
103
+ MinorVersion: number;
104
+ PatchVersion: number;
105
+ BuildNumber: number;
106
+ ReleaseState: string;
107
+ IsManaged: boolean;
108
+ IsDeprecated: boolean;
109
+ IsPasswordProtected: boolean;
110
+ IsBeta: boolean;
111
+ Package2ContainerOptions: string;
112
+ IsSecurityReviewed: boolean;
113
+ IsOrgDependent: boolean;
114
+ AppExchangePackageName: string;
115
+ AppExchangeDescription: string;
116
+ AppExchangePublisherName: string;
117
+ AppExchangeLogoUrl: string;
118
+ ReleaseNotesUrl: string;
119
+ PostInstallUrl: string;
120
+ RemoteSiteSettings: unknown;
121
+ CspTrustedSites: unknown;
122
+ Profiles: unknown;
123
+ Dependencies: unknown;
124
+ InstallValidationStatus: string;
125
+ };
126
+ type SubscriberPackageVersionUninstallRequest = {
127
+ Id: string;
128
+ IsDeleted: boolean;
129
+ CreatedDate: number;
130
+ CreatedById: string;
131
+ LastModifiedDate: number;
132
+ LastModifiedById: string;
133
+ SystemModstamp: number;
134
+ SubscriberPackageVersionId: string;
135
+ Status: string;
136
+ };
137
+ type PackageVersionUninstallRequestError = {
138
+ Id: string;
139
+ IsDeleted: boolean;
140
+ CreatedDate: number;
141
+ CreatedById: string;
142
+ LastModifiedDate: number;
143
+ LastModifiedById: string;
144
+ SystemModstamp: number;
145
+ SubscriberPackageVersionId: string;
146
+ Status: string;
147
+ };
148
+ type PackageInstallRequest = {
149
+ Id: string;
150
+ IsDeleted: boolean;
151
+ CreatedDate: number;
152
+ CreatedById: string;
153
+ LastModifiedDate: number;
154
+ LastModifiedById: string;
155
+ SystemModstamp: number;
156
+ SubscriberPackageVersionKey: string;
157
+ NameConflictResolution: string;
158
+ SecurityType: string;
159
+ PackageInstallSource: string;
160
+ ProfileMappings: unknown;
161
+ Password: string;
162
+ EnableRss: boolean;
163
+ UpgradeType: string;
164
+ ApexCompileType: string;
165
+ Status: string;
166
+ Errors: any[];
167
+ };
168
+ type PackageUploadRequest = {
169
+ Id: string;
170
+ IsDeleted: boolean;
171
+ CreatedDate: number;
172
+ CreatedById: string;
173
+ LastModifiedDate: number;
174
+ LastModifiedById: string;
175
+ SystemModstamp: number;
176
+ MetadataPackageId: string;
177
+ MetadataPackageVersionId: string;
178
+ IsReleaseVersion: boolean;
179
+ VersionName: string;
180
+ Description: string;
181
+ MajorVersion: number;
182
+ MinorVersion: number;
183
+ ReleaseNotesUrl: string;
184
+ PostInstallUrl: string;
185
+ Password: string;
186
+ Status: string;
187
+ Errors: any[];
188
+ };
189
+ type InstalledSubscriberPackageVersion = {
190
+ Id: string;
191
+ SubscriberPackageId: string;
192
+ Name: string;
193
+ Description: string;
194
+ PublisherName: string;
195
+ MajorVersion: number;
196
+ MinorVersion: number;
197
+ PatchVersion: number;
198
+ BuildNumber: number;
199
+ ReleaseState: string;
200
+ IsManaged: boolean;
201
+ IsDeprecated: boolean;
202
+ IsPasswordProtected: boolean;
203
+ IsBeta: boolean;
204
+ Package2ContainerOptions: string;
205
+ IsSecurityReviewed: boolean;
206
+ IsOrgDependent: boolean;
207
+ AppExchangePackageName: string;
208
+ AppExchangeDescription: string;
209
+ AppExchangePublisherName: string;
210
+ AppExchangeLogoUrl: string;
211
+ ReleaseNotesUrl: string;
212
+ PostInstallUrl: string;
213
+ RemoteSiteSettings: unknown;
214
+ CspTrustedSites: unknown;
215
+ Profiles: unknown;
216
+ Dependencies: unknown;
217
+ InstallValidationStatus: string;
218
+ };
219
+ type InstalledSubscriberPackage = {
220
+ Id: string;
221
+ SubscriberPackageId: string;
222
+ SubscriberPackageVersionId: string;
223
+ MinPackageVersionId: string;
224
+ };
225
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PackagingSObjects = void 0;
4
+ /*
5
+ * Copyright (c) 2020, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ var PackagingSObjects;
11
+ (function (PackagingSObjects) {
12
+ let Package2VersionStatus;
13
+ (function (Package2VersionStatus) {
14
+ Package2VersionStatus["queued"] = "Queued";
15
+ Package2VersionStatus["inProgress"] = "InProgress";
16
+ Package2VersionStatus["success"] = "Success";
17
+ Package2VersionStatus["error"] = "Error";
18
+ })(Package2VersionStatus = PackagingSObjects.Package2VersionStatus || (PackagingSObjects.Package2VersionStatus = {}));
19
+ })(PackagingSObjects = exports.PackagingSObjects || (exports.PackagingSObjects = {}));
20
+ //# sourceMappingURL=packagingSObjects.js.map
@@ -0,0 +1,3 @@
1
+ export * from './package';
2
+ export * from './packageVersion2GP';
3
+ export * from './packageList';
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /*
18
+ * Copyright (c) 2022, salesforce.com, inc.
19
+ * All rights reserved.
20
+ * Licensed under the BSD 3-Clause license.
21
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
22
+ */
23
+ __exportStar(require("./package"), exports);
24
+ __exportStar(require("./packageVersion2GP"), exports);
25
+ __exportStar(require("./packageList"), exports);
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,19 @@
1
+ import { AsyncCreatable } from '@salesforce/kit';
2
+ import { IPackage, PackageOptions } from '../interfaces';
3
+ /**
4
+ * Package class.
5
+ *
6
+ * This class provides the base implementation for a package.
7
+ */
8
+ export declare class Package extends AsyncCreatable<PackageOptions> implements IPackage {
9
+ private options;
10
+ constructor(options: PackageOptions);
11
+ convert(): Promise<void>;
12
+ create(): Promise<void>;
13
+ delete(): Promise<void>;
14
+ install(): Promise<void>;
15
+ list(): Promise<void>;
16
+ uninstall(): Promise<void>;
17
+ update(): Promise<void>;
18
+ protected init(): Promise<void>;
19
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Package = void 0;
4
+ /*
5
+ * Copyright (c) 2022, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ const kit_1 = require("@salesforce/kit");
11
+ /**
12
+ * Package class.
13
+ *
14
+ * This class provides the base implementation for a package.
15
+ */
16
+ class Package extends kit_1.AsyncCreatable {
17
+ // @ts-ignore
18
+ constructor(options) {
19
+ super(options);
20
+ this.options = options;
21
+ }
22
+ convert() {
23
+ return Promise.resolve(undefined);
24
+ }
25
+ create() {
26
+ return Promise.resolve(undefined);
27
+ }
28
+ delete() {
29
+ return Promise.resolve(undefined);
30
+ }
31
+ install() {
32
+ return Promise.resolve(undefined);
33
+ }
34
+ list() {
35
+ return Promise.resolve(undefined);
36
+ }
37
+ uninstall() {
38
+ return Promise.resolve(undefined);
39
+ }
40
+ update() {
41
+ return Promise.resolve(undefined);
42
+ }
43
+ init() {
44
+ return Promise.resolve(undefined);
45
+ }
46
+ }
47
+ exports.Package = Package;
48
+ //# sourceMappingURL=package.js.map
@@ -0,0 +1,4 @@
1
+ import { Connection } from '@salesforce/core';
2
+ import { QueryResult } from 'jsforce';
3
+ import { PackagingSObjects } from '../interfaces';
4
+ export declare function listPackages(connection: Connection): Promise<QueryResult<PackagingSObjects.Package2>>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2022, salesforce.com, inc.
4
+ * All rights reserved.
5
+ * Licensed under the BSD 3-Clause license.
6
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.listPackages = void 0;
10
+ const QUERY = 'SELECT Id, SubscriberPackageId, Name, Description, NamespacePrefix, ContainerOptions, IsOrgDependent, ConvertedFromPackageId, ' +
11
+ 'PackageErrorUsername, CreatedById ' +
12
+ 'FROM Package2 ' +
13
+ 'WHERE IsDeprecated != true ' +
14
+ 'ORDER BY NamespacePrefix, Name';
15
+ async function listPackages(connection) {
16
+ return connection.tooling.query(QUERY);
17
+ }
18
+ exports.listPackages = listPackages;
19
+ //# sourceMappingURL=packageList.js.map
@@ -0,0 +1,17 @@
1
+ import { AsyncCreatable } from '@salesforce/kit';
2
+ import { IPackageVersion2GP, PackageVersion2Options } from '../interfaces';
3
+ /**
4
+ * Package2Version class - Class to be used with 2nd generation package versions
5
+ */
6
+ export declare class PackageVersion2GP extends AsyncCreatable<PackageVersion2Options> implements IPackageVersion2GP {
7
+ private options;
8
+ constructor(options: PackageVersion2Options);
9
+ convert(): Promise<void>;
10
+ create(): Promise<void>;
11
+ delete(): Promise<void>;
12
+ install(): Promise<void>;
13
+ list(): Promise<void>;
14
+ uninstall(): Promise<void>;
15
+ update(): Promise<void>;
16
+ protected init(): Promise<void>;
17
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PackageVersion2GP = void 0;
4
+ /*
5
+ * Copyright (c) 2022, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ const kit_1 = require("@salesforce/kit");
11
+ /**
12
+ * Package2Version class - Class to be used with 2nd generation package versions
13
+ */
14
+ class PackageVersion2GP extends kit_1.AsyncCreatable {
15
+ // @ts-ignore
16
+ constructor(options) {
17
+ super(options);
18
+ this.options = options;
19
+ }
20
+ convert() {
21
+ return Promise.resolve(undefined);
22
+ }
23
+ create() {
24
+ return Promise.resolve(undefined);
25
+ }
26
+ delete() {
27
+ return Promise.resolve(undefined);
28
+ }
29
+ install() {
30
+ return Promise.resolve(undefined);
31
+ }
32
+ list() {
33
+ return Promise.resolve(undefined);
34
+ }
35
+ uninstall() {
36
+ return Promise.resolve(undefined);
37
+ }
38
+ update() {
39
+ return Promise.resolve(undefined);
40
+ }
41
+ init() {
42
+ return Promise.resolve(undefined);
43
+ }
44
+ }
45
+ exports.PackageVersion2GP = PackageVersion2GP;
46
+ //# sourceMappingURL=packageVersion2GP.js.map
@@ -0,0 +1,17 @@
1
+ import { Connection } from '@salesforce/core';
2
+ import { Package2VersionCreateRequestResult } from '../interfaces';
3
+ declare type PackageVersionCreateRequestApiOptions = {
4
+ createdlastdays?: number;
5
+ connection?: Connection;
6
+ status?: string;
7
+ };
8
+ export declare class PackageVersionCreateRequestApi {
9
+ private options;
10
+ constructor(options: PackageVersionCreateRequestApiOptions);
11
+ list(options?: PackageVersionCreateRequestApiOptions): Promise<Package2VersionCreateRequestResult[]>;
12
+ byId(package2VersionCreateRequestId: any): Promise<Package2VersionCreateRequestResult[]>;
13
+ private _query;
14
+ private _queryErrors;
15
+ private _constructWhere;
16
+ }
17
+ export {};