@veloceapps/api 11.0.0-21 → 11.0.0-23
Sign up to get free protection for your applications and to get access to all the features.
- 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/esm2020/v2/services/context-definition-api.service.mjs +11 -8
- package/fesm2015/veloceapps-api-v2.mjs +10 -7
- package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
- package/fesm2015/veloceapps-api.mjs +1 -105
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api-v2.mjs +10 -7
- package/fesm2020/veloceapps-api-v2.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
@@ -466,26 +466,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
466
466
|
type: Injectable
|
467
467
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
468
468
|
|
469
|
-
class DeltaApiService {
|
470
|
-
constructor(httpService) {
|
471
|
-
this.httpService = httpService;
|
472
|
-
this.SERVICE_URL = '/delta';
|
473
|
-
}
|
474
|
-
calculate$(request) {
|
475
|
-
return this.httpService.api({
|
476
|
-
method: 'post',
|
477
|
-
url: `${this.SERVICE_URL}/calculate`,
|
478
|
-
body: request,
|
479
|
-
skipErrorHandler: true,
|
480
|
-
});
|
481
|
-
}
|
482
|
-
}
|
483
|
-
DeltaApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
484
|
-
DeltaApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService });
|
485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DeltaApiService, decorators: [{
|
486
|
-
type: Injectable
|
487
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
488
|
-
|
489
469
|
class DocumentAttachmentApiService {
|
490
470
|
constructor(httpService, fileDownloadService) {
|
491
471
|
this.httpService = httpService;
|
@@ -1135,66 +1115,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1135
1115
|
type: Injectable
|
1136
1116
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1137
1117
|
|
1138
|
-
class PriceApiService {
|
1139
|
-
constructor(httpService) {
|
1140
|
-
this.httpService = httpService;
|
1141
|
-
this.SERVICE_URL = '/price';
|
1142
|
-
}
|
1143
|
-
calculate(request) {
|
1144
|
-
return this.httpService.api({
|
1145
|
-
method: 'post',
|
1146
|
-
url: `${this.SERVICE_URL}/calculate`,
|
1147
|
-
body: request,
|
1148
|
-
skipErrorHandler: true,
|
1149
|
-
});
|
1150
|
-
}
|
1151
|
-
getPriceLists() {
|
1152
|
-
return this.httpService.api({
|
1153
|
-
method: 'get',
|
1154
|
-
url: '/price-lists',
|
1155
|
-
});
|
1156
|
-
}
|
1157
|
-
getPriceList(id) {
|
1158
|
-
return this.httpService.api({
|
1159
|
-
method: 'get',
|
1160
|
-
url: `/price-lists/${id}`,
|
1161
|
-
});
|
1162
|
-
}
|
1163
|
-
getSellingTermByEndDate(planId, offeringId, startDate, endDate, frequencyUnit, frequencyDuration) {
|
1164
|
-
return this.httpService.api({
|
1165
|
-
method: 'post',
|
1166
|
-
url: `${this.SERVICE_URL}/selling-term-by-end-date`,
|
1167
|
-
body: {
|
1168
|
-
planId: planId,
|
1169
|
-
offeringId: offeringId,
|
1170
|
-
startDate: startDate,
|
1171
|
-
endDate: endDate,
|
1172
|
-
frequencyUnit: frequencyUnit,
|
1173
|
-
frequencyDuration: frequencyDuration,
|
1174
|
-
},
|
1175
|
-
});
|
1176
|
-
}
|
1177
|
-
getSellingTermByTerm(planId, offeringId, startDate, term, frequencyUnit, frequencyDuration) {
|
1178
|
-
return this.httpService.api({
|
1179
|
-
method: 'post',
|
1180
|
-
url: `${this.SERVICE_URL}/selling-term-by-term`,
|
1181
|
-
body: {
|
1182
|
-
planId: planId,
|
1183
|
-
offeringId: offeringId,
|
1184
|
-
startDate: startDate,
|
1185
|
-
term: term,
|
1186
|
-
frequencyUnit: frequencyUnit,
|
1187
|
-
frequencyDuration: frequencyDuration,
|
1188
|
-
},
|
1189
|
-
});
|
1190
|
-
}
|
1191
|
-
}
|
1192
|
-
PriceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1193
|
-
PriceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService });
|
1194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PriceApiService, decorators: [{
|
1195
|
-
type: Injectable
|
1196
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1197
|
-
|
1198
1118
|
class ProductApiService {
|
1199
1119
|
constructor(baseHttpService) {
|
1200
1120
|
this.baseHttpService = baseHttpService;
|
@@ -1406,24 +1326,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1406
1326
|
type: Injectable
|
1407
1327
|
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1408
1328
|
|
1409
|
-
class RampApiService {
|
1410
|
-
constructor(httpService) {
|
1411
|
-
this.httpService = httpService;
|
1412
|
-
this.SERVICE_URL = '/ramp';
|
1413
|
-
}
|
1414
|
-
next(request, options) {
|
1415
|
-
return this.httpService.api(Object.assign({ method: 'post', url: `${this.SERVICE_URL}/next`, body: request }, options));
|
1416
|
-
}
|
1417
|
-
renew(request, options) {
|
1418
|
-
return this.httpService.api(Object.assign({ method: 'post', url: `${this.SERVICE_URL}/renew`, body: request }, options));
|
1419
|
-
}
|
1420
|
-
}
|
1421
|
-
RampApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
1422
|
-
RampApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService });
|
1423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RampApiService, decorators: [{
|
1424
|
-
type: Injectable
|
1425
|
-
}], ctorParameters: function () { return [{ type: i1.BaseHttpService }]; } });
|
1426
|
-
|
1427
1329
|
class RebateProgramApiService {
|
1428
1330
|
constructor(baseHttpService) {
|
1429
1331
|
this.baseHttpService = baseHttpService;
|
@@ -1861,8 +1763,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1861
1763
|
XrayService,
|
1862
1764
|
ConfigurationSettingsApiService,
|
1863
1765
|
DocumentAttachmentApiService,
|
1864
|
-
PriceApiService,
|
1865
|
-
RampApiService,
|
1866
1766
|
SalesforceApiService,
|
1867
1767
|
FlowsApiService,
|
1868
1768
|
GuidedSellingsAdminApiService,
|
@@ -1871,7 +1771,6 @@ ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.
|
|
1871
1771
|
CatalogAdminApiService,
|
1872
1772
|
GuidedSellingApiService,
|
1873
1773
|
CatalogApiService,
|
1874
|
-
DeltaApiService,
|
1875
1774
|
AccountApiService,
|
1876
1775
|
PicklistsApiService,
|
1877
1776
|
EndpointsApiService,
|
@@ -1897,8 +1796,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1897
1796
|
XrayService,
|
1898
1797
|
ConfigurationSettingsApiService,
|
1899
1798
|
DocumentAttachmentApiService,
|
1900
|
-
PriceApiService,
|
1901
|
-
RampApiService,
|
1902
1799
|
SalesforceApiService,
|
1903
1800
|
FlowsApiService,
|
1904
1801
|
GuidedSellingsAdminApiService,
|
@@ -1907,7 +1804,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1907
1804
|
CatalogAdminApiService,
|
1908
1805
|
GuidedSellingApiService,
|
1909
1806
|
CatalogApiService,
|
1910
|
-
DeltaApiService,
|
1911
1807
|
AccountApiService,
|
1912
1808
|
PicklistsApiService,
|
1913
1809
|
EndpointsApiService,
|
@@ -1931,5 +1827,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
1931
1827
|
* Generated bundle index. Do not edit.
|
1932
1828
|
*/
|
1933
1829
|
|
1934
|
-
export { AccountApiService, ApiModule, CatalogAdminApiService, CatalogApiService, ConfigurationSettingsApiService, ContractedPriceApiService,
|
1830
|
+
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 };
|
1935
1831
|
//# sourceMappingURL=veloceapps-api.mjs.map
|