@fiado/api-invoker 1.0.43 → 1.0.44

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.
@@ -1,5 +1,5 @@
1
1
  import { CreateBankAccountRequest, CreateBankAccountUserRequest, UpdateBankAccountUserRequest } from "@fiado/type-kit/bin/account";
2
- import { UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
2
+ import { CreateBankAccountCardShippingRequest, GetBankAccountShippingRequest, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
3
3
  export interface IPomeloApi {
4
4
  updateUser(object: UpdateBankAccountUserRequest): Promise<any>;
5
5
  getUserById(externalUserId: string): Promise<any>;
@@ -11,4 +11,6 @@ export interface IPomeloApi {
11
11
  blockCard(object: UpdateBankAccountCardRequest): Promise<any>;
12
12
  changePin(object: UpdateBankAccountCardRequest): Promise<any>;
13
13
  activateCard(object: UpdateBankAccountCardRequest): Promise<any>;
14
+ createShipment(object: CreateBankAccountCardShippingRequest): Promise<any>;
15
+ getShipment(object: GetBankAccountShippingRequest): Promise<any>;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
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",
@@ -17,7 +17,7 @@ import AccountFiadoSAApi from "./account-fiadosa/AccountFiadoSAApi";
17
17
  import {ISTPAccountApi} from "./stpAccount";
18
18
  import STPAccountApi from "./stpAccount/api/STPAccountApi";
19
19
  import {ISessionActivityPublisher, SessionActivityPublisher} from "./sessionActivity";
20
- import {IExchangeRatesApi} from "./exchangeRates/interfaces/IExchangeRatesApi";
20
+ import {IExchangeRatesApi} from "./exchangeRates";
21
21
  import ExchangeRatesApi from "./exchangeRates/ExchangeRatesApi";
22
22
 
23
23
  export const apiInvokerBindings = new ContainerModule((bind: interfaces.Bind) => {
@@ -1,5 +1,5 @@
1
1
  import {CreateBankAccountRequest, CreateBankAccountUserRequest, UpdateBankAccountUserRequest } from "@fiado/type-kit/bin/account";
2
- import { UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
2
+ import { CreateBankAccountCardShippingRequest, GetBankAccountShippingRequest, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
3
3
 
4
4
  export interface IPomeloApi {
5
5
 
@@ -17,4 +17,12 @@ export interface IPomeloApi {
17
17
  changePin(object: UpdateBankAccountCardRequest): Promise<any>
18
18
  activateCard(object: UpdateBankAccountCardRequest): Promise<any>
19
19
 
20
+
21
+ // //Shipping
22
+
23
+ createShipment(object: CreateBankAccountCardShippingRequest): Promise<any>
24
+ getShipment(object: GetBankAccountShippingRequest): Promise<any>
25
+
26
+
27
+
20
28
  }