@veloceapps/api 11.0.0-81 → 11.0.0-83
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 +16 -2
- package/esm2020/v2/types/sales-transaction.types.mjs +1 -1
- package/fesm2015/veloceapps-api-v2.mjs +10 -1
- package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
- package/fesm2020/veloceapps-api-v2.mjs +15 -1
- package/fesm2020/veloceapps-api-v2.mjs.map +1 -1
- package/package.json +1 -1
- package/v2/services/sales-transactions-api.service.d.ts +9 -2
- package/v2/types/sales-transaction.types.d.ts +4 -0
@@ -1263,13 +1263,27 @@ class SalesTransactionApiService {
|
|
1263
1263
|
this.httpService = httpService;
|
1264
1264
|
this.SERVICE_URL = '/v2/transactions';
|
1265
1265
|
}
|
1266
|
+
/**
|
1267
|
+
* This endpoint doesn't include orders and assets
|
1268
|
+
* @param objectId SF record ID (quoteId | accountId | opportunityId | orderId etc)
|
1269
|
+
* @param params Query params
|
1270
|
+
* @param options Request options
|
1271
|
+
*/
|
1272
|
+
getState(objectId, params, options) {
|
1273
|
+
return this.httpService.api({
|
1274
|
+
method: 'get',
|
1275
|
+
url: `${this.SERVICE_URL}/${objectId}`,
|
1276
|
+
params: params,
|
1277
|
+
...options,
|
1278
|
+
});
|
1279
|
+
}
|
1266
1280
|
/**
|
1267
1281
|
* This endpoint doesn't include orders and assets
|
1268
1282
|
* @param headerId SF record ID (quoteId | accountId | opportunityId | orderId etc)
|
1269
1283
|
* @param params Query params
|
1270
1284
|
* @param options Request options
|
1271
1285
|
*/
|
1272
|
-
|
1286
|
+
query(headerId, params, options) {
|
1273
1287
|
return this.httpService.api({
|
1274
1288
|
method: 'get',
|
1275
1289
|
url: `${this.SERVICE_URL}/query/${headerId}`,
|