@tonder.io/ionic-lite-sdk 0.0.35-beta.4 → 0.0.35-beta.6

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 (55) hide show
  1. package/.idea/workspace.xml +4 -8
  2. package/dist/{src/classes → classes}/BaseInlineCheckout.d.ts +1 -1
  3. package/dist/{src/classes → classes}/errorResponse.d.ts +1 -1
  4. package/dist/{src/classes → classes}/liteCheckout.d.ts +2 -3
  5. package/dist/{src/data → data}/businessApi.d.ts +1 -1
  6. package/dist/{src/data → data}/cardApi.d.ts +1 -1
  7. package/dist/{src/data → data}/checkoutApi.d.ts +1 -1
  8. package/dist/{src/data → data}/customerApi.d.ts +1 -1
  9. package/dist/{src/data → data}/paymentMethodApi.d.ts +1 -1
  10. package/dist/{src/helpers → helpers}/skyflow.d.ts +1 -1
  11. package/dist/index.js +1 -1
  12. package/package.json +2 -2
  13. package/src/classes/BaseInlineCheckout.ts +1 -1
  14. package/src/classes/errorResponse.ts +1 -1
  15. package/src/classes/liteCheckout.ts +2 -7
  16. package/src/data/businessApi.ts +1 -1
  17. package/src/data/cardApi.ts +1 -1
  18. package/src/data/checkoutApi.ts +1 -1
  19. package/src/data/customerApi.ts +1 -1
  20. package/src/data/paymentMethodApi.ts +1 -1
  21. package/src/helpers/skyflow.ts +1 -1
  22. package/src/helpers/utils.ts +1 -1
  23. package/src/types/card.ts +34 -0
  24. package/src/types/checkout.ts +118 -0
  25. package/src/types/commons.ts +125 -0
  26. package/src/types/customer.ts +12 -0
  27. package/src/types/index.d.ts +10 -0
  28. package/src/types/liteInlineCheckout.d.ts +191 -0
  29. package/src/types/paymentMethod.ts +24 -0
  30. package/src/types/requests.ts +115 -0
  31. package/src/types/responses.ts +189 -0
  32. package/src/types/skyflow.ts +17 -0
  33. package/src/types/validations.d.ts +11 -0
  34. package/tests/methods/createOrder.test.ts +1 -1
  35. package/tests/methods/createPayment.test.ts +1 -1
  36. package/tests/methods/customerRegister.test.ts +1 -1
  37. package/tests/methods/getBusiness.test.ts +1 -1
  38. package/tests/methods/getCustomerCards.test.ts +1 -1
  39. package/tests/methods/registerCustomerCard.test.ts +1 -1
  40. package/tests/methods/startCheckoutRouter.test.ts +1 -1
  41. package/tests/methods/startCheckoutRouterFull.test.ts +1 -1
  42. package/tests/utils/mockClasses.ts +3 -3
  43. /package/dist/{src/classes → classes}/3dsHandler.d.ts +0 -0
  44. /package/dist/{src/data → data}/api.d.ts +0 -0
  45. /package/dist/{src/data → data}/openPayApi.d.ts +0 -0
  46. /package/dist/{src/data → data}/skyflowApi.d.ts +0 -0
  47. /package/dist/{src/helpers → helpers}/constants.d.ts +0 -0
  48. /package/dist/{src/helpers → helpers}/mercadopago.d.ts +0 -0
  49. /package/dist/{src/helpers → helpers}/utils.d.ts +0 -0
  50. /package/dist/{src/helpers → helpers}/validations.d.ts +0 -0
  51. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  52. /package/dist/{src/shared → shared}/catalog/paymentMethodsCatalog.d.ts +0 -0
  53. /package/dist/{src/shared → shared}/constants/messages.d.ts +0 -0
  54. /package/dist/{src/shared → shared}/constants/paymentMethodAPM.d.ts +0 -0
  55. /package/dist/{src/shared → shared}/constants/tonderUrl.d.ts +0 -0
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { CreatePaymentResponseClass, CreatePaymentRequestClass } from "../utils/mockClasses";
8
8
 
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { BusinessClass, CustomerRegisterClass } from "../utils/mockClasses";
8
8
 
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { BusinessClass } from "../utils/mockClasses";
8
8
 
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { GetCustomerCardsResponseClass } from "../utils/mockClasses";
8
8
 
@@ -4,7 +4,7 @@ import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
4
4
  import { constructorFields } from "../utils/defaultMock";
5
5
  import { RegisterCustomerCardRequestClass, RegisterCustomerCardResponseClass } from "../utils/mockClasses";
6
6
  import { ErrorResponse } from "../../src/classes/errorResponse";
7
- import { IErrorResponse } from "../../types/responses";
7
+ import { IErrorResponse } from "../../src/types/responses";
8
8
 
9
9
  declare global {
10
10
  interface Window {
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { StartCheckoutResponseClass, StartCheckoutRequestClass, CreatePaymentRequestClass } from "../utils/mockClasses";
8
8
 
@@ -2,7 +2,7 @@ import "../utils/defaultMock";
2
2
  import { LiteCheckout } from "../../src";
3
3
  import { ErrorResponse } from "../../src/classes/errorResponse";
4
4
  import { LiteCheckoutConstructor } from "../../src/classes/liteCheckout";
5
- import { IErrorResponse } from "../../types/responses";
5
+ import { IErrorResponse } from "../../src/types/responses";
6
6
  import { constructorFields } from "../utils/defaultMock";
7
7
  import { StartCheckoutResponseClass, StartCheckoutFullRequestClass, BusinessClass, CustomerRegisterClass, OrderResponseClass, CreatePaymentResponseClass } from "../utils/mockClasses";
8
8
 
@@ -1,4 +1,4 @@
1
- import { Business, OrderItem } from "../../types/commons";
1
+ import { Business, OrderItem } from "../../src/types/commons";
2
2
  import {
3
3
  CreateOrderRequest,
4
4
  CreatePaymentRequest,
@@ -6,7 +6,7 @@ import {
6
6
  StartCheckoutRequest,
7
7
  StartCheckoutFullRequest,
8
8
  StartCheckoutRequestWithCard, TokensSkyflowRequest
9
- } from "../../types/requests";
9
+ } from "../../src/types/requests";
10
10
  import {
11
11
  CreateOrderResponse,
12
12
  CreatePaymentResponse,
@@ -15,7 +15,7 @@ import {
15
15
  RegisterCustomerCardResponse,
16
16
  StartCheckoutResponse,
17
17
  CustomerRegisterResponse
18
- } from "../../types/responses";
18
+ } from "../../src/types/responses";
19
19
 
20
20
  export class BusinessClass implements Business {
21
21
  business!: {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes