@riocrypto/common 1.0.310 → 1.0.312

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/build/index.d.ts CHANGED
@@ -83,7 +83,6 @@ export * from "./types/fees";
83
83
  export * from "./types/user-update";
84
84
  export * from "./types/wyre-webhook-notification";
85
85
  export * from "./types/wyre-payment-method";
86
- export * from "./types/wyre-api-get-card-authorization-response";
87
86
  export * from "./types/partner";
88
87
  export * from "./types/partner-auth";
89
88
  export * from "./types/kyc-status";
@@ -103,3 +102,6 @@ export * from "./types/rio-env";
103
102
  export * from "./types/bank-payout";
104
103
  export * from "./types/checked-address";
105
104
  export * from "./types/address-check-result";
105
+ export * from "./types/business-user";
106
+ export * from "./types/business-user-input";
107
+ export * from "./types/business-user-update";
package/build/index.js CHANGED
@@ -99,7 +99,6 @@ __exportStar(require("./types/fees"), exports);
99
99
  __exportStar(require("./types/user-update"), exports);
100
100
  __exportStar(require("./types/wyre-webhook-notification"), exports);
101
101
  __exportStar(require("./types/wyre-payment-method"), exports);
102
- __exportStar(require("./types/wyre-api-get-card-authorization-response"), exports);
103
102
  __exportStar(require("./types/partner"), exports);
104
103
  __exportStar(require("./types/partner-auth"), exports);
105
104
  __exportStar(require("./types/kyc-status"), exports);
@@ -119,3 +118,6 @@ __exportStar(require("./types/rio-env"), exports);
119
118
  __exportStar(require("./types/bank-payout"), exports);
120
119
  __exportStar(require("./types/checked-address"), exports);
121
120
  __exportStar(require("./types/address-check-result"), exports);
121
+ __exportStar(require("./types/business-user"), exports);
122
+ __exportStar(require("./types/business-user-input"), exports);
123
+ __exportStar(require("./types/business-user-update"), exports);
@@ -0,0 +1,20 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { USState } from "./us-state";
5
+ import { UserAttribute } from "./user-attribute";
6
+ export interface BusinessUserInput {
7
+ legalRepresentative: string;
8
+ phoneNumber?: string;
9
+ email: string;
10
+ street1: string;
11
+ street2?: string;
12
+ city: string;
13
+ state: USState | string;
14
+ postalCode: string;
15
+ country: Country;
16
+ language: Language;
17
+ kycStatus?: KYCStatus;
18
+ COIFile?: string;
19
+ attributes?: UserAttribute[];
20
+ }
@@ -0,0 +1,20 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { UserAttribute } from "./user-attribute";
5
+ export interface BusinessUserUpdate {
6
+ legalRepresentative?: string;
7
+ phoneNumber?: string;
8
+ birthday?: Date;
9
+ email?: string;
10
+ street1?: string;
11
+ street2?: string;
12
+ city?: string;
13
+ state?: string;
14
+ postalCode?: string;
15
+ country?: Country;
16
+ kycStatus?: KYCStatus;
17
+ language?: Language;
18
+ COIFile?: string;
19
+ attributes?: UserAttribute[];
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { USState } from "./us-state";
5
+ import { UserAttribute } from "./user-attribute";
6
+ export interface BusinessUser {
7
+ id: string;
8
+ legalRepresentative: string;
9
+ phoneNumber: string;
10
+ birthday: Date;
11
+ email: string;
12
+ street1: string;
13
+ street2?: string;
14
+ city: string;
15
+ state: USState | string;
16
+ postalCode: string;
17
+ country: Country;
18
+ kycStatus: KYCStatus;
19
+ language?: Language;
20
+ COIFile?: string;
21
+ attributes?: UserAttribute[];
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,6 +0,0 @@
1
- export interface WyreApiGetCardAuthorizationResponse {
2
- walletOrderId: string;
3
- smsNeeded: boolean;
4
- card2faNeeded: boolean;
5
- authorization3dsUrl?: string;
6
- }