@veloceapps/api 11.0.0-80 → 11.0.0-82
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/esm2020/v2/services/sales-transactions-api.service.mjs +19 -20
- package/esm2020/v2/types/sales-transaction.types.mjs +1 -1
- package/fesm2015/veloceapps-api-v2.mjs +10 -20
- package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
- package/fesm2020/veloceapps-api-v2.mjs +19 -19
- package/fesm2020/veloceapps-api-v2.mjs.map +1 -1
- package/package.json +1 -1
- package/v2/services/sales-transactions-api.service.d.ts +9 -3
- package/v2/types/sales-transaction.types.d.ts +6 -3
@@ -1277,27 +1277,27 @@ class SalesTransactionApiService {
|
|
1277
1277
|
...options,
|
1278
1278
|
});
|
1279
1279
|
}
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1280
|
+
/**
|
1281
|
+
* This endpoint doesn't include orders and assets
|
1282
|
+
* @param headerId SF record ID (quoteId | accountId | opportunityId | orderId etc)
|
1283
|
+
* @param params Query params
|
1284
|
+
* @param options Request options
|
1285
|
+
*/
|
1286
|
+
query(headerId, params, options) {
|
1287
|
+
return this.httpService.api({
|
1288
|
+
method: 'get',
|
1289
|
+
url: `${this.SERVICE_URL}/query/${headerId}`,
|
1290
|
+
params: params,
|
1291
|
+
...options,
|
1283
1292
|
});
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
submit(request, options) {
|
1292
|
-
return of({
|
1293
|
-
id: 'ID',
|
1293
|
+
}
|
1294
|
+
upsert(request, options) {
|
1295
|
+
return this.httpService.api({
|
1296
|
+
method: 'post',
|
1297
|
+
url: `${this.SERVICE_URL}`,
|
1298
|
+
body: request,
|
1299
|
+
...options,
|
1294
1300
|
});
|
1295
|
-
// return this.httpService.api({
|
1296
|
-
// method: 'post',
|
1297
|
-
// url: `${this.SERVICE_URL}`,
|
1298
|
-
// body: request,
|
1299
|
-
// ...options,
|
1300
|
-
// });
|
1301
1301
|
}
|
1302
1302
|
}
|
1303
1303
|
SalesTransactionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SalesTransactionApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|