@conduitplatform/grpc-sdk 0.16.24 → 0.16.26
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/dist/index.cjs +172 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +172 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/database/index.d.ts +1 -0
- package/dist/modules/email/index.d.ts +7 -1
- package/dist/protoUtils/chat.d.ts +1 -0
- package/dist/protoUtils/database.d.ts +22 -0
- package/dist/protoUtils/email.d.ts +16 -1
- package/package.json +1 -1
|
@@ -59,5 +59,6 @@ export declare class DatabaseProvider extends ConduitModule<typeof DatabaseProvi
|
|
|
59
59
|
columnExistence(schemaName: string, columns: string[]): Promise<boolean>;
|
|
60
60
|
migrate(schemaName: string): Promise<import("../../protoUtils/google/protobuf/empty.js").Empty>;
|
|
61
61
|
getDatabaseType(): Promise<import("../../protoUtils/database.js").GetDatabaseTypeResponse>;
|
|
62
|
+
generateId(): Promise<string>;
|
|
62
63
|
private constructSortObj;
|
|
63
64
|
}
|
|
@@ -23,7 +23,13 @@ export declare class Email extends ConduitModule<typeof EmailDefinition> {
|
|
|
23
23
|
sender?: string;
|
|
24
24
|
replyTo?: string;
|
|
25
25
|
cc?: string[];
|
|
26
|
-
attachments?:
|
|
26
|
+
attachments?: {
|
|
27
|
+
filename: string;
|
|
28
|
+
contentType?: string;
|
|
29
|
+
content?: Buffer;
|
|
30
|
+
href?: string;
|
|
31
|
+
httpHeaders?: Record<string, string>;
|
|
32
|
+
}[];
|
|
27
33
|
}): Promise<string>;
|
|
28
34
|
resendEmail(emailRecordId: string): Promise<string>;
|
|
29
35
|
getEmailStatus(messageId: string): Promise<any>;
|
|
@@ -502,6 +502,28 @@ export declare const DatabaseProviderDefinition: {
|
|
|
502
502
|
readonly responseStream: false;
|
|
503
503
|
readonly options: {};
|
|
504
504
|
};
|
|
505
|
+
readonly generateId: {
|
|
506
|
+
readonly name: "GenerateId";
|
|
507
|
+
readonly requestType: {
|
|
508
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
|
509
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Empty;
|
|
510
|
+
fromJSON(_: any): Empty;
|
|
511
|
+
toJSON(_: Empty): unknown;
|
|
512
|
+
create(base?: {}): Empty;
|
|
513
|
+
fromPartial(_: {}): Empty;
|
|
514
|
+
};
|
|
515
|
+
readonly requestStream: false;
|
|
516
|
+
readonly responseType: {
|
|
517
|
+
encode(message: GetDatabaseTypeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
518
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetDatabaseTypeResponse;
|
|
519
|
+
fromJSON(object: any): GetDatabaseTypeResponse;
|
|
520
|
+
toJSON(message: GetDatabaseTypeResponse): unknown;
|
|
521
|
+
create(base?: DeepPartial<GetDatabaseTypeResponse>): GetDatabaseTypeResponse;
|
|
522
|
+
fromPartial(object: DeepPartial<GetDatabaseTypeResponse>): GetDatabaseTypeResponse;
|
|
523
|
+
};
|
|
524
|
+
readonly responseStream: false;
|
|
525
|
+
readonly options: {};
|
|
526
|
+
};
|
|
505
527
|
/** Database queries */
|
|
506
528
|
readonly findOne: {
|
|
507
529
|
readonly name: "findOne";
|
|
@@ -18,6 +18,13 @@ export interface UpdateTemplateRequest {
|
|
|
18
18
|
export interface RegisterTemplateResponse {
|
|
19
19
|
template: string;
|
|
20
20
|
}
|
|
21
|
+
export interface Attachment {
|
|
22
|
+
filename: string;
|
|
23
|
+
contentType?: string | undefined;
|
|
24
|
+
content?: Uint8Array | undefined;
|
|
25
|
+
href?: string | undefined;
|
|
26
|
+
httpHeaders?: string | undefined;
|
|
27
|
+
}
|
|
21
28
|
export interface SendEmailRequest {
|
|
22
29
|
templateName: string;
|
|
23
30
|
params: SendEmailRequest_SendEmailParams | undefined;
|
|
@@ -30,7 +37,7 @@ export interface SendEmailRequest_SendEmailParams {
|
|
|
30
37
|
sender?: string | undefined;
|
|
31
38
|
cc: string[];
|
|
32
39
|
replyTo?: string | undefined;
|
|
33
|
-
attachments:
|
|
40
|
+
attachments: Attachment[];
|
|
34
41
|
}
|
|
35
42
|
export interface SendEmailResponse {
|
|
36
43
|
sentMessageInfo: string;
|
|
@@ -71,6 +78,14 @@ export declare const RegisterTemplateResponse: {
|
|
|
71
78
|
create(base?: DeepPartial<RegisterTemplateResponse>): RegisterTemplateResponse;
|
|
72
79
|
fromPartial(object: DeepPartial<RegisterTemplateResponse>): RegisterTemplateResponse;
|
|
73
80
|
};
|
|
81
|
+
export declare const Attachment: {
|
|
82
|
+
encode(message: Attachment, writer?: _m0.Writer): _m0.Writer;
|
|
83
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Attachment;
|
|
84
|
+
fromJSON(object: any): Attachment;
|
|
85
|
+
toJSON(message: Attachment): unknown;
|
|
86
|
+
create(base?: DeepPartial<Attachment>): Attachment;
|
|
87
|
+
fromPartial(object: DeepPartial<Attachment>): Attachment;
|
|
88
|
+
};
|
|
74
89
|
export declare const SendEmailRequest: {
|
|
75
90
|
encode(message: SendEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
76
91
|
decode(input: _m0.Reader | Uint8Array, length?: number): SendEmailRequest;
|