@veloceapps/api 11.0.0-22 → 11.0.0-23
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/src/index.mjs +1 -4
- package/esm2020/src/lib/api.module.mjs +1 -10
- package/esm2020/src/lib/types/index.mjs +1 -3
- package/fesm2015/veloceapps-api.mjs +1 -105
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +1 -115
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +0 -3
- package/src/lib/types/index.d.ts +0 -2
- package/esm2020/src/lib/services/delta-api.service.mjs +0 -23
- package/esm2020/src/lib/services/price-api.service.mjs +0 -63
- package/esm2020/src/lib/services/ramp-api.service.mjs +0 -31
- package/esm2020/src/lib/types/price.types.mjs +0 -2
- package/esm2020/src/lib/types/quote.types.mjs +0 -2
- package/esm2020/src/lib/types/ramp-request.types.mjs +0 -2
- package/src/lib/services/delta-api.service.d.ts +0 -12
- package/src/lib/services/price-api.service.d.ts +0 -16
- package/src/lib/services/ramp-api.service.d.ts +0 -13
- package/src/lib/types/price.types.d.ts +0 -5
- package/src/lib/types/quote.types.d.ts +0 -8
- package/src/lib/types/ramp-request.types.d.ts +0 -13
@@ -535,26 +535,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
535
535
|
type: Injectable
|
536
536
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
537
537
|
|
538
|
-
class DeltaApiService {
|
539
|
-
constructor(httpService) {
|
540
|
-
this.httpService = httpService;
|
541
|
-
this.SERVICE_URL = '/delta';
|
542
|
-
}
|
543
|
-
calculate$(request) {
|
544
|
-
return this.httpService.api({
|
545
|
-
method: 'post',
|
546
|
-
url: `${this.SERVICE_URL}/calculate`,
|
547
|
-
body: request,
|
548
|
-
skipErrorHandler: true,
|
549
|
-
});
|
550
|
-
}
|
551
|
-
}
|
552
|
-
DeltaApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
553
|
-
DeltaApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService });
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService, decorators: [{
|
555
|
-
type: Injectable
|
556
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
557
|
-
|
558
538
|
class DocumentAttachmentApiService {
|
559
539
|
constructor(httpService, fileDownloadService) {
|
560
540
|
this.httpService = httpService;
|
@@ -1210,66 +1190,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1210
1190
|
type: Injectable
|
1211
1191
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1212
1192
|
|
1213
|
-
class PriceApiService {
|
1214
|
-
constructor(httpService) {
|
1215
|
-
this.httpService = httpService;
|
1216
|
-
this.SERVICE_URL = '/price';
|
1217
|
-
}
|
1218
|
-
calculate(request) {
|
1219
|
-
return this.httpService.api({
|
1220
|
-
method: 'post',
|
1221
|
-
url: `${this.SERVICE_URL}/calculate`,
|
1222
|
-
body: request,
|
1223
|
-
skipErrorHandler: true,
|
1224
|
-
});
|
1225
|
-
}
|
1226
|
-
getPriceLists() {
|
1227
|
-
return this.httpService.api({
|
1228
|
-
method: 'get',
|
1229
|
-
url: '/price-lists',
|
1230
|
-
});
|
1231
|
-
}
|
1232
|
-
getPriceList(id) {
|
1233
|
-
return this.httpService.api({
|
1234
|
-
method: 'get',
|
1235
|
-
url: `/price-lists/${id}`,
|
1236
|
-
});
|
1237
|
-
}
|
1238
|
-
getSellingTermByEndDate(planId, offeringId, startDate, endDate, frequencyUnit, frequencyDuration) {
|
1239
|
-
return this.httpService.api({
|
1240
|
-
method: 'post',
|
1241
|
-
url: `${this.SERVICE_URL}/selling-term-by-end-date`,
|
1242
|
-
body: {
|
1243
|
-
planId: planId,
|
1244
|
-
offeringId: offeringId,
|
1245
|
-
startDate: startDate,
|
1246
|
-
endDate: endDate,
|
1247
|
-
frequencyUnit: frequencyUnit,
|
1248
|
-
frequencyDuration: frequencyDuration,
|
1249
|
-
},
|
1250
|
-
});
|
1251
|
-
}
|
1252
|
-
getSellingTermByTerm(planId, offeringId, startDate, term, frequencyUnit, frequencyDuration) {
|
1253
|
-
return this.httpService.api({
|
1254
|
-
method: 'post',
|
1255
|
-
url: `${this.SERVICE_URL}/selling-term-by-term`,
|
1256
|
-
body: {
|
1257
|
-
planId: planId,
|
1258
|
-
offeringId: offeringId,
|
1259
|
-
startDate: startDate,
|
1260
|
-
term: term,
|
1261
|
-
frequencyUnit: frequencyUnit,
|
1262
|
-
frequencyDuration: frequencyDuration,
|
1263
|
-
},
|
1264
|
-
});
|
1265
|
-
}
|
1266
|
-
}
|
1267
|
-
PriceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1268
|
-
PriceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService });
|
1269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService, decorators: [{
|
1270
|
-
type: Injectable
|
1271
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1272
|
-
|
1273
1193
|
class ProductApiService {
|
1274
1194
|
constructor(baseHttpService) {
|
1275
1195
|
this.baseHttpService = baseHttpService;
|
@@ -1481,34 +1401,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1481
1401
|
type: Injectable
|
1482
1402
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1483
1403
|
|
1484
|
-
class RampApiService {
|
1485
|
-
constructor(httpService) {
|
1486
|
-
this.httpService = httpService;
|
1487
|
-
this.SERVICE_URL = '/ramp';
|
1488
|
-
}
|
1489
|
-
next(request, options) {
|
1490
|
-
return this.httpService.api({
|
1491
|
-
method: 'post',
|
1492
|
-
url: `${this.SERVICE_URL}/next`,
|
1493
|
-
body: request,
|
1494
|
-
...options,
|
1495
|
-
});
|
1496
|
-
}
|
1497
|
-
renew(request, options) {
|
1498
|
-
return this.httpService.api({
|
1499
|
-
method: 'post',
|
1500
|
-
url: `${this.SERVICE_URL}/renew`,
|
1501
|
-
body: request,
|
1502
|
-
...options,
|
1503
|
-
});
|
1504
|
-
}
|
1505
|
-
}
|
1506
|
-
RampApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1507
|
-
RampApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService });
|
1508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService, decorators: [{
|
1509
|
-
type: Injectable
|
1510
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1511
|
-
|
1512
1404
|
class RebateProgramApiService {
|
1513
1405
|
constructor(baseHttpService) {
|
1514
1406
|
this.baseHttpService = baseHttpService;
|
@@ -1964,8 +1856,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1964
1856
|
XrayService,
|
1965
1857
|
ConfigurationSettingsApiService,
|
1966
1858
|
DocumentAttachmentApiService,
|
1967
|
-
PriceApiService,
|
1968
|
-
RampApiService,
|
1969
1859
|
SalesforceApiService,
|
1970
1860
|
FlowsApiService,
|
1971
1861
|
GuidedSellingsAdminApiService,
|
@@ -1974,7 +1864,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1974
1864
|
CatalogAdminApiService,
|
1975
1865
|
GuidedSellingApiService,
|
1976
1866
|
CatalogApiService,
|
1977
|
-
DeltaApiService,
|
1978
1867
|
AccountApiService,
|
1979
1868
|
PicklistsApiService,
|
1980
1869
|
EndpointsApiService,
|
@@ -2000,8 +1889,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
2000
1889
|
XrayService,
|
2001
1890
|
ConfigurationSettingsApiService,
|
2002
1891
|
DocumentAttachmentApiService,
|
2003
|
-
PriceApiService,
|
2004
|
-
RampApiService,
|
2005
1892
|
SalesforceApiService,
|
2006
1893
|
FlowsApiService,
|
2007
1894
|
GuidedSellingsAdminApiService,
|
@@ -2010,7 +1897,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
2010
1897
|
CatalogAdminApiService,
|
2011
1898
|
GuidedSellingApiService,
|
2012
1899
|
CatalogApiService,
|
2013
|
-
DeltaApiService,
|
2014
1900
|
AccountApiService,
|
2015
1901
|
PicklistsApiService,
|
2016
1902
|
EndpointsApiService,
|
@@ -2034,5 +1920,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
2034
1920
|
* Generated bundle index. Do not edit.
|
2035
1921
|
*/
|
2036
1922
|
|
2037
|
-
export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService,
|
1923
|
+
export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService, DocumentAttachmentApiService, EndpointsApiService, FlowStateApiService, FlowsApiService, GuidedSellingApiService, GuidedSellingsAdminApiService, OffersApiService, OrgInfoApiService, PicklistsApiService, PortalsApiService, ProductApiService, PromotionsApiService, RebateProgramApiService, RebateTypeApiService, SalesforceApiService, SandboxManagerApiService, ShoppingCartSettingsApiService, StatefulConfigurationApiService, VeloceAuthService, VeloceObjectsApiService, handleCanvasResponse };
|
2038
1924
|
//# sourceMappingURL=veloceapps-api.mjs.map
|