@jsforce/jsforce-node 3.3.4 → 3.4.1
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/lib/VERSION.d.ts +1 -1
- package/lib/VERSION.js +1 -1
- package/lib/api/bulk2.js +2 -1
- package/lib/api/metadata.d.ts +2 -1
- package/lib/api/metadata.js +3 -0
- package/package.json +1 -1
package/lib/VERSION.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "3.
|
|
1
|
+
declare const _default: "3.4.1";
|
|
2
2
|
export default _default;
|
package/lib/VERSION.js
CHANGED
package/lib/api/bulk2.js
CHANGED
|
@@ -349,7 +349,8 @@ class QueryJobV2 extends events_1.EventEmitter {
|
|
|
349
349
|
const resPromise = this.createQueryRequest({
|
|
350
350
|
method: 'GET',
|
|
351
351
|
path: this.locator
|
|
352
|
-
|
|
352
|
+
// resultsPath starts with '/'
|
|
353
|
+
? `${resultsPath}?locator=${this.locator}`
|
|
353
354
|
: resultsPath,
|
|
354
355
|
headers: {
|
|
355
356
|
Accept: 'text/csv',
|
package/lib/api/metadata.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { EventEmitter } from 'events';
|
|
|
9
9
|
import { Readable } from 'stream';
|
|
10
10
|
import Connection from '../connection';
|
|
11
11
|
import { Schema, SoapSchemaDef, SoapSchema } from '../types';
|
|
12
|
-
import { Metadata, SaveResult, UpsertResult, ListMetadataQuery, FileProperties, DescribeMetadataResult, RetrieveRequest, DeployOptions, RetrieveResult, DeployResult, AsyncResult, ApiSchemaTypes } from './metadata/schema';
|
|
12
|
+
import { Metadata, SaveResult, UpsertResult, ListMetadataQuery, FileProperties, DescribeMetadataResult, RetrieveRequest, DeployOptions, RetrieveResult, DeployResult, AsyncResult, ApiSchemaTypes, CancelDeployResult } from './metadata/schema';
|
|
13
13
|
export * from './metadata/schema';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -124,6 +124,7 @@ export declare class MetadataApi<S extends Schema> {
|
|
|
124
124
|
* Checks the status of declarative metadata call deploy()
|
|
125
125
|
*/
|
|
126
126
|
checkDeployStatus(asyncProcessId: string, includeDetails?: boolean): Promise<DeployResult>;
|
|
127
|
+
cancelDeploy(id: string): Promise<CancelDeployResult>;
|
|
127
128
|
}
|
|
128
129
|
/**
|
|
129
130
|
* The locator class for Metadata API asynchronous call result
|
package/lib/api/metadata.js
CHANGED
|
@@ -262,6 +262,9 @@ class MetadataApi {
|
|
|
262
262
|
includeDetails,
|
|
263
263
|
}, schema_1.ApiSchemas.DeployResult);
|
|
264
264
|
}
|
|
265
|
+
async cancelDeploy(id) {
|
|
266
|
+
return this._invoke('cancelDeploy', { id });
|
|
267
|
+
}
|
|
265
268
|
}
|
|
266
269
|
exports.MetadataApi = MetadataApi;
|
|
267
270
|
/*--------------------------------------------*/
|