@fiado/api-invoker 1.0.30 → 1.0.32

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.
Files changed (29) hide show
  1. package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +10 -0
  2. package/bin/account-fiadoinc/AccountFiadoIncApi.js +31 -0
  3. package/bin/account-fiadoinc/index.d.ts +1 -0
  4. package/bin/account-fiadoinc/index.js +1 -0
  5. package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +2 -1
  6. package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +10 -0
  7. package/bin/account-fiadosa/AccountFiadoSAApi.js +31 -0
  8. package/bin/account-fiadosa/index.d.ts +1 -0
  9. package/bin/account-fiadosa/index.js +1 -0
  10. package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +2 -1
  11. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +10 -0
  12. package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +31 -0
  13. package/bin/account-pagoconfiado/index.d.ts +1 -0
  14. package/bin/account-pagoconfiado/index.js +1 -0
  15. package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +2 -1
  16. package/bin/address/AddressApi.js +4 -4
  17. package/bin/container.config.js +6 -0
  18. package/package.json +1 -1
  19. package/src/account-fiadoinc/AccountFiadoIncApi.ts +18 -0
  20. package/src/account-fiadoinc/index.ts +2 -3
  21. package/src/account-fiadoinc/interfaces/IAccountFiadoIncApi.ts +2 -3
  22. package/src/account-fiadosa/AccountFiadoSAApi.ts +18 -0
  23. package/src/account-fiadosa/index.ts +2 -2
  24. package/src/account-fiadosa/interfaces/IAccountFiadoSAApi.ts +3 -5
  25. package/src/account-pagoconfiado/AccountPagoConfiadoApi.ts +18 -0
  26. package/src/account-pagoconfiado/index.ts +1 -1
  27. package/src/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.ts +3 -4
  28. package/src/address/AddressApi.ts +4 -4
  29. package/src/container.config.ts +11 -2
@@ -0,0 +1,10 @@
1
+ import { IAccountFiadoIncApi } from "./interfaces/IAccountFiadoIncApi";
2
+ import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
3
+ import { IHttpRequest } from "@fiado/http-client";
4
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
5
+ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
6
+ private httpRequest;
7
+ private readonly baseUrl;
8
+ constructor(httpRequest: IHttpRequest);
9
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const inversify_1 = require("inversify");
16
+ let AccountFiadoIncApi = class AccountFiadoIncApi {
17
+ constructor(httpRequest) {
18
+ this.httpRequest = httpRequest;
19
+ this.baseUrl = process.env.ACCOUNT_FIADOINC_LAMBDA_URL || "";
20
+ }
21
+ async createAccount(data) {
22
+ const url = `${this.baseUrl}`;
23
+ return await this.httpRequest.post(url, data);
24
+ }
25
+ };
26
+ AccountFiadoIncApi = __decorate([
27
+ (0, inversify_1.injectable)(),
28
+ __param(0, (0, inversify_1.inject)("IHttpRequest")),
29
+ __metadata("design:paramtypes", [Object])
30
+ ], AccountFiadoIncApi);
31
+ exports.default = AccountFiadoIncApi;
@@ -1 +1,2 @@
1
1
  export * from './interfaces/IAccountFiadoIncApi';
2
+ export * from './AccountFiadoIncApi';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./interfaces/IAccountFiadoIncApi"), exports);
18
+ __exportStar(require("./AccountFiadoIncApi"), exports);
@@ -1,4 +1,5 @@
1
1
  import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
2
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
3
  export interface IAccountFiadoIncApi {
3
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
4
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
4
5
  }
@@ -0,0 +1,10 @@
1
+ import { IAccountFiadoSAApi } from "./interfaces/IAccountFiadoSAApi";
2
+ import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
3
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
4
+ import { IHttpRequest } from "@fiado/http-client";
5
+ export default class AccountFiadoSAApi implements IAccountFiadoSAApi {
6
+ private httpRequest;
7
+ private readonly baseUrl;
8
+ constructor(httpRequest: IHttpRequest);
9
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const inversify_1 = require("inversify");
16
+ let AccountFiadoSAApi = class AccountFiadoSAApi {
17
+ constructor(httpRequest) {
18
+ this.httpRequest = httpRequest;
19
+ this.baseUrl = process.env.ACCOUNT_FIADOSA_LAMBDA_URL || "";
20
+ }
21
+ async createAccount(data) {
22
+ const url = `${this.baseUrl}`;
23
+ return await this.httpRequest.post(url, data);
24
+ }
25
+ };
26
+ AccountFiadoSAApi = __decorate([
27
+ (0, inversify_1.injectable)(),
28
+ __param(0, (0, inversify_1.inject)("IHttpRequest")),
29
+ __metadata("design:paramtypes", [Object])
30
+ ], AccountFiadoSAApi);
31
+ exports.default = AccountFiadoSAApi;
@@ -1 +1,2 @@
1
1
  export * from './interfaces/IAccountFiadoSAApi';
2
+ export * from './AccountFiadoSAApi';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./interfaces/IAccountFiadoSAApi"), exports);
18
+ __exportStar(require("./AccountFiadoSAApi"), exports);
@@ -1,4 +1,5 @@
1
1
  import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
2
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
3
  export interface IAccountFiadoSAApi {
3
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
4
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
4
5
  }
@@ -0,0 +1,10 @@
1
+ import { IAccountPagoConfiadoApi } from "./interfaces/IAccountPagoConfiadoApi";
2
+ import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
3
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
4
+ import { IHttpRequest } from "@fiado/http-client";
5
+ export default class AccountPagoConfiadoApi implements IAccountPagoConfiadoApi {
6
+ private httpRequest;
7
+ private readonly baseUrl;
8
+ constructor(httpRequest: IHttpRequest);
9
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const inversify_1 = require("inversify");
16
+ let AccountPagoConfiadoApi = class AccountPagoConfiadoApi {
17
+ constructor(httpRequest) {
18
+ this.httpRequest = httpRequest;
19
+ this.baseUrl = process.env.ACCOUNT_PAGOCONFIADO_LAMBDA_URL || "";
20
+ }
21
+ async createAccount(data) {
22
+ const url = `${this.baseUrl}`;
23
+ return await this.httpRequest.post(url, data);
24
+ }
25
+ };
26
+ AccountPagoConfiadoApi = __decorate([
27
+ (0, inversify_1.injectable)(),
28
+ __param(0, (0, inversify_1.inject)("IHttpRequest")),
29
+ __metadata("design:paramtypes", [Object])
30
+ ], AccountPagoConfiadoApi);
31
+ exports.default = AccountPagoConfiadoApi;
@@ -1 +1,2 @@
1
1
  export * from './interfaces/IAccountPagoConfiadoApi';
2
+ export * from './AccountPagoConfiadoApi';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./interfaces/IAccountPagoConfiadoApi"), exports);
18
+ __exportStar(require("./AccountPagoConfiadoApi"), exports);
@@ -1,4 +1,5 @@
1
1
  import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
2
+ import { ApiGatewayResponse } from "@fiado/gateway-adapter";
2
3
  export interface IAccountPagoConfiadoApi {
3
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
4
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
4
5
  }
@@ -22,18 +22,18 @@ let AddressApi = class AddressApi {
22
22
  async getByDirectoryId(directoryId) {
23
23
  this.validateBaseUrl();
24
24
  this.validateDirectoryId(directoryId);
25
- const url = `${this.baseUrl}/users/${directoryId}`;
26
- return await this.httpRequest.post(`${url}`, null);
25
+ const url = `${this.baseUrl}users/${directoryId}`;
26
+ return await this.httpRequest.get(`${url}`, null);
27
27
  }
28
28
  async create(directoryId, address) {
29
29
  this.validateBaseUrl();
30
30
  this.validateDirectoryId(directoryId);
31
- const url = `${this.baseUrl}/users/${directoryId}`;
31
+ const url = `${this.baseUrl}users/${directoryId}`;
32
32
  await this.httpRequest.post(url, address);
33
33
  }
34
34
  async getAddressLocationShipping(input) {
35
35
  this.validateBaseUrl();
36
- const url = `${this.baseUrl}/shipping`;
36
+ const url = `${this.baseUrl}shipping`;
37
37
  return await this.httpRequest.post(url, input);
38
38
  }
39
39
  validateBaseUrl() {
@@ -11,11 +11,17 @@ const NotificationMessagePublisher_1 = __importDefault(require("./notificationMe
11
11
  const TernApi_1 = __importDefault(require("./tern/api/TernApi"));
12
12
  const PomeloApi_1 = __importDefault(require("./pomelo/api/PomeloApi"));
13
13
  const address_1 = require("./address");
14
+ const AccountFiadoIncApi_1 = __importDefault(require("./account-fiadoinc/AccountFiadoIncApi"));
15
+ const AccountPagoConfiadoApi_1 = __importDefault(require("./account-pagoconfiado/AccountPagoConfiadoApi"));
16
+ const AccountFiadoSAApi_1 = __importDefault(require("./account-fiadosa/AccountFiadoSAApi"));
14
17
  exports.apiInvokerBindings = new inversify_1.ContainerModule((bind) => {
15
18
  bind("IDirectoryApi").to(directory_1.DirectoryApi);
16
19
  bind("IIdentityApi").to(identity_1.IdentityApi);
17
20
  bind("IAddressApi").to(address_1.AddressApi);
18
21
  bind("ITernApi").to(TernApi_1.default);
19
22
  bind("IPomeloApi").to(PomeloApi_1.default);
23
+ bind("IAccountFiadoIncApi").to(AccountFiadoIncApi_1.default);
24
+ bind("IAccountPagoConfiadoApi").to(AccountPagoConfiadoApi_1.default);
25
+ bind("IAccountFiadoSAApi").to(AccountFiadoSAApi_1.default);
20
26
  bind("INotificationMessagesPublisher").to(NotificationMessagePublisher_1.default);
21
27
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a traves de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,18 @@
1
+ import {IAccountFiadoIncApi} from "./interfaces/IAccountFiadoIncApi";
2
+ import {AccountCreateRequest, AccountCreateResponse} from "@fiado/type-kit/bin/account";
3
+ import {inject, injectable} from "inversify";
4
+ import {IHttpRequest} from "@fiado/http-client";
5
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
6
+
7
+ @injectable()
8
+ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
9
+ private readonly baseUrl = process.env.ACCOUNT_FIADOINC_LAMBDA_URL || "";
10
+
11
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
12
+ }
13
+
14
+ async createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>> {
15
+ const url = `${this.baseUrl}`;
16
+ return await this.httpRequest.post(url, data);
17
+ }
18
+ }
@@ -1,3 +1,2 @@
1
-
2
-
3
- export * from './interfaces/IAccountFiadoIncApi';
1
+ export * from './interfaces/IAccountFiadoIncApi';
2
+ export * from './AccountFiadoIncApi';
@@ -1,8 +1,7 @@
1
1
  import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
2
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
2
3
 
3
4
 
4
5
  export interface IAccountFiadoIncApi {
5
-
6
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
7
-
6
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
8
7
  }
@@ -0,0 +1,18 @@
1
+ import {IAccountFiadoSAApi} from "./interfaces/IAccountFiadoSAApi";
2
+ import {AccountCreateRequest, AccountCreateResponse} from "@fiado/type-kit/bin/account";
3
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
4
+ import {inject, injectable} from "inversify";
5
+ import {IHttpRequest} from "@fiado/http-client";
6
+
7
+ @injectable()
8
+ export default class AccountFiadoSAApi implements IAccountFiadoSAApi {
9
+ private readonly baseUrl = process.env.ACCOUNT_FIADOSA_LAMBDA_URL || "";
10
+
11
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
12
+ }
13
+
14
+ async createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>> {
15
+ const url = `${this.baseUrl}`;
16
+ return await this.httpRequest.post(url, data);
17
+ }
18
+ }
@@ -1,2 +1,2 @@
1
-
2
- export * from './interfaces/IAccountFiadoSAApi';
1
+ export * from './interfaces/IAccountFiadoSAApi';
2
+ export * from './AccountFiadoSAApi';
@@ -1,9 +1,7 @@
1
- import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
2
-
1
+ import {AccountCreateRequest, AccountCreateResponse} from "@fiado/type-kit/bin/account";
2
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
3
3
 
4
4
 
5
5
  export interface IAccountFiadoSAApi {
6
-
7
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
8
-
6
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
9
7
  }
@@ -0,0 +1,18 @@
1
+ import {IAccountPagoConfiadoApi} from "./interfaces/IAccountPagoConfiadoApi";
2
+ import {AccountCreateRequest, AccountCreateResponse} from "@fiado/type-kit/bin/account";
3
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
4
+ import {inject, injectable} from "inversify";
5
+ import {IHttpRequest} from "@fiado/http-client";
6
+
7
+ @injectable()
8
+ export default class AccountPagoConfiadoApi implements IAccountPagoConfiadoApi {
9
+ private readonly baseUrl = process.env.ACCOUNT_PAGOCONFIADO_LAMBDA_URL || "";
10
+
11
+ constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
12
+ }
13
+
14
+ async createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>> {
15
+ const url = `${this.baseUrl}`;
16
+ return await this.httpRequest.post(url, data);
17
+ }
18
+ }
@@ -1,2 +1,2 @@
1
-
2
1
  export * from './interfaces/IAccountPagoConfiadoApi';
2
+ export * from './AccountPagoConfiadoApi';
@@ -1,8 +1,7 @@
1
- import { AccountCreateRequest, AccountCreateResponse } from "@fiado/type-kit/bin/account";
1
+ import {AccountCreateRequest, AccountCreateResponse} from "@fiado/type-kit/bin/account";
2
+ import {ApiGatewayResponse} from "@fiado/gateway-adapter";
2
3
 
3
4
 
4
5
  export interface IAccountPagoConfiadoApi {
5
-
6
- createAccount(data: AccountCreateRequest): Promise<AccountCreateResponse>;
7
-
6
+ createAccount(data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
8
7
  }
@@ -15,21 +15,21 @@ export class AddressApi implements IAddressApi {
15
15
  this.validateBaseUrl();
16
16
  this.validateDirectoryId(directoryId);
17
17
 
18
- const url = `${this.baseUrl}/users/${directoryId}`;
18
+ const url = `${this.baseUrl}users/${directoryId}`;
19
19
 
20
- return await this.httpRequest.post(`${url}`, null);
20
+ return await this.httpRequest.get(`${url}`, null);
21
21
  }
22
22
 
23
23
  async create(directoryId: string, address: AddressCreateRequest): Promise<void> {
24
24
  this.validateBaseUrl();
25
25
  this.validateDirectoryId(directoryId);
26
- const url = `${this.baseUrl}/users/${directoryId}`;
26
+ const url = `${this.baseUrl}users/${directoryId}`;
27
27
  await this.httpRequest.post<void>(url, address);
28
28
  }
29
29
 
30
30
  async getAddressLocationShipping(input: AddressShippingCardRequest): Promise<AddressShippingCardResponse> {
31
31
  this.validateBaseUrl();
32
- const url = `${this.baseUrl}/shipping`;
32
+ const url = `${this.baseUrl}shipping`;
33
33
  return await this.httpRequest.post<AddressShippingCardResponse>(url, input);
34
34
  }
35
35
 
@@ -5,9 +5,15 @@ import {INotificationMessagesPublisher} from "./notificationMessages";
5
5
  import NotificationMessagePublisher from "./notificationMessages/queue/NotificationMessagePublisher";
6
6
  import {ITernApi} from "./tern";
7
7
  import TernApi from "./tern/api/TernApi";
8
- import { IPomeloApi } from "./pomelo";
8
+ import {IPomeloApi} from "./pomelo";
9
9
  import PomeloApi from "./pomelo/api/PomeloApi";
10
- import { AddressApi, IAddressApi } from "./address";
10
+ import {AddressApi, IAddressApi} from "./address";
11
+ import {IAccountFiadoIncApi} from "./account-fiadoinc";
12
+ import AccountFiadoIncApi from "./account-fiadoinc/AccountFiadoIncApi";
13
+ import {IAccountPagoConfiadoApi} from "./account-pagoconfiado";
14
+ import AccountPagoConfiadoApi from "./account-pagoconfiado/AccountPagoConfiadoApi";
15
+ import {IAccountFiadoSAApi} from "./account-fiadosa";
16
+ import AccountFiadoSAApi from "./account-fiadosa/AccountFiadoSAApi";
11
17
 
12
18
  export const apiInvokerBindings = new ContainerModule((bind: interfaces.Bind) => {
13
19
  bind<IDirectoryApi>("IDirectoryApi").to(DirectoryApi);
@@ -15,5 +21,8 @@ export const apiInvokerBindings = new ContainerModule((bind: interfaces.Bind) =>
15
21
  bind<IAddressApi>("IAddressApi").to(AddressApi);
16
22
  bind<ITernApi>("ITernApi").to(TernApi);
17
23
  bind<IPomeloApi>("IPomeloApi").to(PomeloApi);
24
+ bind<IAccountFiadoIncApi>("IAccountFiadoIncApi").to(AccountFiadoIncApi);
25
+ bind<IAccountPagoConfiadoApi>("IAccountPagoConfiadoApi").to(AccountPagoConfiadoApi);
26
+ bind<IAccountFiadoSAApi>("IAccountFiadoSAApi").to(AccountFiadoSAApi);
18
27
  bind<INotificationMessagesPublisher>("INotificationMessagesPublisher").to(NotificationMessagePublisher);
19
28
  });