@kernelminds/scailo-sdk 0.1.1 → 0.1.3
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/lib/cjs/index.js +34 -0
- package/lib/cjs/permissions.js +13 -10
- package/lib/cjs/src/forms_fields.scailo_pb.js +45 -24
- package/lib/cjs/src/transactional_emails.scailo_connect.js +132 -0
- package/lib/cjs/src/transactional_emails.scailo_pb.js +948 -0
- package/lib/cjs/types/index.d.ts +31 -0
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/permissions.d.ts +15 -0
- package/lib/cjs/types/permissions.d.ts.map +1 -1
- package/lib/cjs/types/src/forms_fields.scailo_pb.d.ts +36 -18
- package/lib/cjs/types/src/forms_fields.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/transactional_emails.scailo_connect.d.ts +126 -0
- package/lib/cjs/types/src/transactional_emails.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/transactional_emails.scailo_pb.d.ts +698 -0
- package/lib/cjs/types/src/transactional_emails.scailo_pb.d.ts.map +1 -0
- package/lib/esm/index.js +34 -0
- package/lib/esm/permissions.js +13 -10
- package/lib/esm/src/forms_fields.scailo_pb.js +45 -24
- package/lib/esm/src/transactional_emails.scailo_connect.js +132 -0
- package/lib/esm/src/transactional_emails.scailo_pb.js +966 -0
- package/lib/esm/types/index.d.ts +31 -0
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/permissions.d.ts +15 -0
- package/lib/esm/types/permissions.d.ts.map +1 -1
- package/lib/esm/types/src/forms_fields.scailo_pb.d.ts +36 -18
- package/lib/esm/types/src/forms_fields.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/transactional_emails.scailo_connect.d.ts +126 -0
- package/lib/esm/types/src/transactional_emails.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/transactional_emails.scailo_pb.d.ts +698 -0
- package/lib/esm/types/src/transactional_emails.scailo_pb.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { TransactionalEmail, TransactionalEmailAttachmentsList, TransactionalEmailRecipientsList, TransactionalEmailsList, TransactionalEmailsServiceCountReq, TransactionalEmailsServiceCreateRequest, TransactionalEmailsServiceFilterReq, TransactionalEmailsServiceSearchAllReq } from "./transactional_emails.scailo_pb.js";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
import { CountResponse, Identifier, IdentifiersList, IdentifierUUID, StandardFile } from "./base.scailo_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Describes the methods applicable on each transactional email
|
|
7
|
+
*
|
|
8
|
+
* @generated from service Scailo.TransactionalEmailsService
|
|
9
|
+
*/
|
|
10
|
+
export declare const TransactionalEmailsService: {
|
|
11
|
+
readonly typeName: "Scailo.TransactionalEmailsService";
|
|
12
|
+
readonly methods: {
|
|
13
|
+
/**
|
|
14
|
+
* Create a transactional email
|
|
15
|
+
*
|
|
16
|
+
* @generated from rpc Scailo.TransactionalEmailsService.Create
|
|
17
|
+
*/
|
|
18
|
+
readonly create: {
|
|
19
|
+
readonly name: "Create";
|
|
20
|
+
readonly I: typeof TransactionalEmailsServiceCreateRequest;
|
|
21
|
+
readonly O: typeof TransactionalEmail;
|
|
22
|
+
readonly kind: MethodKind.Unary;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* View by ID
|
|
26
|
+
*
|
|
27
|
+
* @generated from rpc Scailo.TransactionalEmailsService.ViewByID
|
|
28
|
+
*/
|
|
29
|
+
readonly viewByID: {
|
|
30
|
+
readonly name: "ViewByID";
|
|
31
|
+
readonly I: typeof Identifier;
|
|
32
|
+
readonly O: typeof TransactionalEmail;
|
|
33
|
+
readonly kind: MethodKind.Unary;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* View by UUID
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc Scailo.TransactionalEmailsService.ViewByUUID
|
|
39
|
+
*/
|
|
40
|
+
readonly viewByUUID: {
|
|
41
|
+
readonly name: "ViewByUUID";
|
|
42
|
+
readonly I: typeof IdentifierUUID;
|
|
43
|
+
readonly O: typeof TransactionalEmail;
|
|
44
|
+
readonly kind: MethodKind.Unary;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* View all records with the given IDs
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc Scailo.TransactionalEmailsService.ViewFromIDs
|
|
50
|
+
*/
|
|
51
|
+
readonly viewFromIDs: {
|
|
52
|
+
readonly name: "ViewFromIDs";
|
|
53
|
+
readonly I: typeof IdentifiersList;
|
|
54
|
+
readonly O: typeof TransactionalEmailsList;
|
|
55
|
+
readonly kind: MethodKind.Unary;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* View all recipients of the transactional email
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc Scailo.TransactionalEmailsService.ViewRecipients
|
|
61
|
+
*/
|
|
62
|
+
readonly viewRecipients: {
|
|
63
|
+
readonly name: "ViewRecipients";
|
|
64
|
+
readonly I: typeof IdentifierUUID;
|
|
65
|
+
readonly O: typeof TransactionalEmailRecipientsList;
|
|
66
|
+
readonly kind: MethodKind.Unary;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* View all attachments of the transactional email
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc Scailo.TransactionalEmailsService.ViewAttachments
|
|
72
|
+
*/
|
|
73
|
+
readonly viewAttachments: {
|
|
74
|
+
readonly name: "ViewAttachments";
|
|
75
|
+
readonly I: typeof IdentifierUUID;
|
|
76
|
+
readonly O: typeof TransactionalEmailAttachmentsList;
|
|
77
|
+
readonly kind: MethodKind.Unary;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* View all transactional emails that match the given search key
|
|
81
|
+
*
|
|
82
|
+
* @generated from rpc Scailo.TransactionalEmailsService.SearchAll
|
|
83
|
+
*/
|
|
84
|
+
readonly searchAll: {
|
|
85
|
+
readonly name: "SearchAll";
|
|
86
|
+
readonly I: typeof TransactionalEmailsServiceSearchAllReq;
|
|
87
|
+
readonly O: typeof TransactionalEmailsList;
|
|
88
|
+
readonly kind: MethodKind.Unary;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* View all that match the given filter criteria
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc Scailo.TransactionalEmailsService.Filter
|
|
94
|
+
*/
|
|
95
|
+
readonly filter: {
|
|
96
|
+
readonly name: "Filter";
|
|
97
|
+
readonly I: typeof TransactionalEmailsServiceFilterReq;
|
|
98
|
+
readonly O: typeof TransactionalEmailsList;
|
|
99
|
+
readonly kind: MethodKind.Unary;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Count all that match the given criteria
|
|
103
|
+
*
|
|
104
|
+
* @generated from rpc Scailo.TransactionalEmailsService.Count
|
|
105
|
+
*/
|
|
106
|
+
readonly count: {
|
|
107
|
+
readonly name: "Count";
|
|
108
|
+
readonly I: typeof TransactionalEmailsServiceCountReq;
|
|
109
|
+
readonly O: typeof CountResponse;
|
|
110
|
+
readonly kind: MethodKind.Unary;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* CSV operations
|
|
114
|
+
* Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
|
|
115
|
+
*
|
|
116
|
+
* @generated from rpc Scailo.TransactionalEmailsService.DownloadAsCSV
|
|
117
|
+
*/
|
|
118
|
+
readonly downloadAsCSV: {
|
|
119
|
+
readonly name: "DownloadAsCSV";
|
|
120
|
+
readonly I: typeof TransactionalEmailsServiceFilterReq;
|
|
121
|
+
readonly O: typeof StandardFile;
|
|
122
|
+
readonly kind: MethodKind.Unary;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=transactional_emails.scailo_connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transactional_emails.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/transactional_emails.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,iCAAiC,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kCAAkC,EAAE,uCAAuC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AACjU,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE/G;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;QAGnC;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
|