@riocrypto/common 1.0.2434 → 1.0.2436

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,6 @@
1
1
  import { Country } from "../types/country";
2
2
  import { CountryOfOrigin } from "../types/country-of-origin";
3
+ import { MexicoInvoicingMethod } from "../types/mexico-invoicing-method";
3
4
  import { OnboardingStatus } from "../types/onboarding-status";
4
5
  import { PlatformFeeRange } from "../types/platform-fee-range";
5
6
  import { UserAttribute } from "../types/user-attribute";
@@ -52,7 +53,7 @@ export interface UserUpdatedEvent {
52
53
  };
53
54
  invoicing?: {
54
55
  MX?: {
55
- shouldInvoice?: boolean;
56
+ method?: MexicoInvoicingMethod;
56
57
  fiscalName?: string;
57
58
  fiscalRegimenCode?: number;
58
59
  };
package/build/index.d.ts CHANGED
@@ -443,6 +443,7 @@ export * from "./types/inbound-crypto-deposit-destination-type";
443
443
  export * from "./types/STP-mxn-withdrawal-status";
444
444
  export * from "./types/bitso-mxn-withdrawal-status";
445
445
  export * from "./types/fireblocks-transfer-status";
446
+ export * from "./types/mexico-invoicing-method";
446
447
  export * from "./classes/KYCFieldClass";
447
448
  export * from "./classes/KYCFileClass";
448
449
  export * from "./classes/CountryAsset";
package/build/index.js CHANGED
@@ -459,6 +459,7 @@ __exportStar(require("./types/inbound-crypto-deposit-destination-type"), exports
459
459
  __exportStar(require("./types/STP-mxn-withdrawal-status"), exports);
460
460
  __exportStar(require("./types/bitso-mxn-withdrawal-status"), exports);
461
461
  __exportStar(require("./types/fireblocks-transfer-status"), exports);
462
+ __exportStar(require("./types/mexico-invoicing-method"), exports);
462
463
  __exportStar(require("./classes/KYCFieldClass"), exports);
463
464
  __exportStar(require("./classes/KYCFileClass"), exports);
464
465
  __exportStar(require("./classes/CountryAsset"), exports);
@@ -0,0 +1,5 @@
1
+ export declare enum MexicoInvoicingMethod {
2
+ UseGeneralPublic = "useGeneralPublic",
3
+ UseProvidedFiscalData = "useProvidedFiscalData",
4
+ DoNotInvoice = "doNotInvoice"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MexicoInvoicingMethod = void 0;
4
+ var MexicoInvoicingMethod;
5
+ (function (MexicoInvoicingMethod) {
6
+ MexicoInvoicingMethod["UseGeneralPublic"] = "useGeneralPublic";
7
+ MexicoInvoicingMethod["UseProvidedFiscalData"] = "useProvidedFiscalData";
8
+ MexicoInvoicingMethod["DoNotInvoice"] = "doNotInvoice";
9
+ })(MexicoInvoicingMethod = exports.MexicoInvoicingMethod || (exports.MexicoInvoicingMethod = {}));
@@ -1,6 +1,7 @@
1
1
  import { Country } from "./country";
2
2
  import { CountryOfOrigin } from "./country-of-origin";
3
3
  import { Fiat } from "./fiat";
4
+ import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
4
5
  import { OnboardingStatus } from "./onboarding-status";
5
6
  import { PlatformFeeRange } from "./platform-fee-range";
6
7
  import { UserAttribute } from "./user-attribute";
@@ -72,7 +73,7 @@ export declare type UserInput = {
72
73
  };
73
74
  invoicing?: {
74
75
  MX?: {
75
- shouldInvoice?: boolean;
76
+ method?: MexicoInvoicingMethod;
76
77
  fiscalName?: string;
77
78
  fiscalRegimenCode?: number;
78
79
  };
@@ -6,6 +6,7 @@ import { UserType } from "./user-type";
6
6
  import { Country } from "./country";
7
7
  import { Fiat } from "./fiat";
8
8
  import { Crypto } from "./crypto";
9
+ import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
9
10
  declare type IndividualUser = {
10
11
  individualData?: {
11
12
  firstName?: string;
@@ -74,7 +75,7 @@ export declare type UserUpdate = {
74
75
  };
75
76
  invoicing?: {
76
77
  MX?: {
77
- shouldInvoice?: boolean;
78
+ method?: MexicoInvoicingMethod;
78
79
  fiscalName?: string;
79
80
  fiscalRegimenCode?: number;
80
81
  postalCode?: string;
@@ -7,6 +7,7 @@ import { Country } from "./country";
7
7
  import { Fiat } from "./fiat";
8
8
  import { Crypto } from "./crypto";
9
9
  import { Side } from "./side";
10
+ import { MexicoInvoicingMethod } from "./mexico-invoicing-method";
10
11
  declare type IndividualUser = {
11
12
  id: string;
12
13
  individualData?: {
@@ -76,7 +77,7 @@ export declare type User = {
76
77
  };
77
78
  invoicing?: {
78
79
  MX?: {
79
- shouldInvoice?: boolean;
80
+ method?: MexicoInvoicingMethod;
80
81
  fiscalName?: string;
81
82
  fiscalRegimenCode?: number;
82
83
  taxId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2434",
3
+ "version": "1.0.2436",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",