@veloceapps/api 8.0.0-19 → 8.0.0-20

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { ApiModule } from './lib/api.module';
2
2
  export { AccountApiService } from './lib/services/account-api.service';
3
+ export { VeloceAuthService } from './lib/services/auth.service';
3
4
  export { CatalogAdminApiService } from './lib/services/catalog-admin-api.service';
4
5
  export { CatalogApiService } from './lib/services/catalog-api.service';
5
6
  export { ConfigurationApiService } from './lib/services/configuration-api.service';
@@ -19,8 +20,11 @@ export { PriceApiService } from './lib/services/price-api.service';
19
20
  export { ProceduresApiService } from './lib/services/procedures-api.service';
20
21
  export { ProductApiService } from './lib/services/product-api.service';
21
22
  export { ProductModelApiService } from './lib/services/product-model-api.service';
23
+ export { PromotionsApiService } from './lib/services/promotions-api.service';
22
24
  export { QuoteApiService } from './lib/services/quote-api.service';
23
25
  export { RampApiService } from './lib/services/ramp-api.service';
26
+ export { RebateProgramApiService } from './lib/services/rebate-program-api.service';
27
+ export { RebateTypeApiService } from './lib/services/rebate-type-api.service';
24
28
  export { RuleGroupsApiService } from './lib/services/rule-groups-api.service';
25
29
  export { RulesApiService } from './lib/services/rules-api.service';
26
30
  export { SalesforceApiService } from './lib/services/salesforce-api.service';
@@ -30,7 +34,4 @@ export { StatefulConfigurationApiService } from './lib/services/stateful-configu
30
34
  export { UIDefinitionsApiService } from './lib/services/ui-definitions-api.service';
31
35
  export { UITemplatesApiService } from './lib/services/ui-templates-api.service';
32
36
  export { VeloceObjectsApiService } from './lib/services/veloce-objects-api.service';
33
- export { RebateProgramApiService } from './lib/services/rebate-program-api.service';
34
- export { RebateTypeApiService } from './lib/services/rebate-type-api.service';
35
- export { PromotionsApiService } from './lib/services/promotions-api.service';
36
37
  export * from './lib/types';
@@ -0,0 +1,11 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { VeloceAuthResponse } from '../types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class VeloceAuthService {
6
+ private http;
7
+ constructor(http: HttpClient);
8
+ auth$(instanceUrl: string, accessToken: string): Observable<VeloceAuthResponse>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<VeloceAuthService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<VeloceAuthService>;
11
+ }
@@ -0,0 +1,4 @@
1
+ export interface VeloceAuthResponse {
2
+ token: string;
3
+ serverUrl: string;
4
+ }
@@ -1,3 +1,4 @@
1
+ export * from './auth.types';
1
2
  export * from './clone-request.types';
2
3
  export * from './delta-request.types';
3
4
  export * from './org-info.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloceapps/api",
3
- "version": "8.0.0-19",
3
+ "version": "8.0.0-20",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "~15.2.0",