@rentbase/common 1.0.10 → 1.0.11

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,7 +1,7 @@
1
1
  /**
2
2
  * KYC Event Types for Document Management & Landlord Applications
3
3
  */
4
- export declare type DocumentType = "national_id" | "passport" | "drivers_license" | "selfie_with_id" | "proof_of_address" | "other";
4
+ export declare type DocumentType = "national_id" | "passport" | "drivers_license" | "selfie" | "proof_of_address" | "other";
5
5
  export declare type DocumentStatus = "pending" | "verified" | "rejected" | "expired";
6
6
  export declare type ApplicationStatus = "draft" | "submitted" | "under_review" | "needs_info" | "approved" | "rejected";
7
7
  export interface LandlordDetails {
@@ -78,7 +78,7 @@ export interface LandlordApplicationCreatedEvent {
78
78
  landlordDetails: LandlordDetails;
79
79
  kycDocuments: {
80
80
  idDocument?: string;
81
- selfieWithId?: string;
81
+ selfie?: string;
82
82
  proofOfAddress?: string;
83
83
  };
84
84
  status: ApplicationStatus;
@@ -132,6 +132,7 @@ export interface LandlordApplicationApprovedEvent {
132
132
  approvedAt: Date;
133
133
  approvedBy: string;
134
134
  adminNotes?: string;
135
+ selfieUrl?: string;
135
136
  }
136
137
  export interface LandlordApplicationRejectedEvent {
137
138
  id: string;
@@ -153,7 +154,7 @@ export interface LandlordApplicationUpdatedEvent {
153
154
  landlordDetails: LandlordDetails;
154
155
  kycDocuments: {
155
156
  idDocument?: string;
156
- selfieWithId?: string;
157
+ selfie?: string;
157
158
  proofOfAddress?: string;
158
159
  };
159
160
  status: ApplicationStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rentbase/common",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "common library for rentbase",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",