update lại thư mục cấu trúc mới của server nodejs và python

This commit is contained in:
Victor Phan
2026-07-21 09:13:52 +07:00
parent 7625bdd37b
commit 58b1dcd170
1555 changed files with 0 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
export declare class ZaloApiError extends Error {
code: number | null;
constructor(message: string, code?: number);
}
+7
View File
@@ -0,0 +1,7 @@
export class ZaloApiError extends Error {
constructor(message, code) {
super(message);
this.name = "ZcaApiError";
this.code = code || null;
}
}
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiLoginQRAborted extends ZaloApiError {
constructor(message?: string);
}
+7
View File
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiLoginQRAborted extends ZaloApiError {
constructor(message = "Operation aborted") {
super(message);
this.name = "ZaloApiLoginQRAborted";
}
}
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiLoginQRDeclined extends ZaloApiError {
constructor(message?: string);
}
+7
View File
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiLoginQRDeclined extends ZaloApiError {
constructor(message = "Login QR request declined") {
super(message);
this.name = "ZaloApiLoginQRDeclined";
}
}
@@ -0,0 +1,4 @@
import { ZaloApiError } from "./ZaloApiError.js";
export declare class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
constructor();
}
@@ -0,0 +1,7 @@
import { ZaloApiError } from "./ZaloApiError.js";
export class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
constructor() {
super("Missing `imageMetadataGetter`. Please provide it in the Zalo object options.");
this.name = "ZaloApiMissingImageMetadataGetter";
}
}
+4
View File
@@ -0,0 +1,4 @@
export * from "./ZaloApiError.js";
export * from "./ZaloApiMissingImageMetadataGetter.js";
export * from "./ZaloApiLoginQRAborted.js";
export * from "./ZaloApiLoginQRDeclined.js";
+4
View File
@@ -0,0 +1,4 @@
export * from "./ZaloApiError.js";
export * from "./ZaloApiMissingImageMetadataGetter.js";
export * from "./ZaloApiLoginQRAborted.js";
export * from "./ZaloApiLoginQRDeclined.js";