2021-02-13 14:15:59 +01:00
|
|
|
/// <reference path="MongoBigInt.d.ts" />
|
|
|
|
import { Schema, Document } from "mongoose";
|
2021-02-05 16:14:17 +01:00
|
|
|
import "missing-native-js-functions";
|
|
|
|
declare const _default: {
|
2021-02-13 14:18:19 +01:00
|
|
|
init: (defaultOpts?: any) => Promise<import("mongodb").UpdateWriteOpResult>;
|
2021-02-05 16:14:17 +01:00
|
|
|
getAll: () => DefaultOptions;
|
2021-02-13 14:15:59 +01:00
|
|
|
setAll: (val: any) => Promise<import("mongodb").UpdateWriteOpResult>;
|
2021-02-05 16:14:17 +01:00
|
|
|
};
|
|
|
|
export default _default;
|
2021-02-13 14:15:59 +01:00
|
|
|
export declare const DefaultOptions: {
|
|
|
|
api: {};
|
|
|
|
gateway: {};
|
|
|
|
voice: {};
|
|
|
|
};
|
|
|
|
export interface DefaultOptions extends Document {
|
2021-02-05 16:20:34 +01:00
|
|
|
api?: any;
|
|
|
|
gateway?: any;
|
|
|
|
voice?: any;
|
2021-02-05 16:14:17 +01:00
|
|
|
}
|
2021-02-13 14:15:59 +01:00
|
|
|
export declare const ConfigSchema: Schema<Document<any>, import("mongoose").Model<Document<any>>, undefined>;
|
|
|
|
export declare const ConfigModel: import("mongoose").Model<DefaultOptions>;
|