@kernelminds/scailo-sdk 0.0.96 → 0.0.98
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 +60 -38
- package/lib/cjs/src/credit_notes.scailo_connect.js +12 -0
- package/lib/cjs/src/debit_notes.scailo_connect.js +12 -0
- package/lib/cjs/src/general_settings.scailo_pb.js +14 -0
- package/lib/cjs/src/goods_dispatches.scailo_connect.js +12 -0
- package/lib/cjs/src/goods_receipts.scailo_connect.js +12 -0
- package/lib/cjs/src/inward_jobs.scailo_connect.js +12 -0
- package/lib/cjs/src/login.scailo_pb.js +7 -0
- package/lib/cjs/src/magic_links.scailo_connect.js +198 -0
- package/lib/cjs/src/magic_links.scailo_pb.js +1035 -0
- package/lib/cjs/src/outward_jobs.scailo_connect.js +12 -0
- package/lib/cjs/src/proforma_invoices.scailo_connect.js +12 -0
- package/lib/cjs/src/purchases_orders.scailo_connect.js +12 -0
- package/lib/cjs/src/purchases_returns.scailo_connect.js +12 -0
- package/lib/cjs/src/sales_enquiries.scailo_connect.js +12 -0
- package/lib/cjs/src/sales_invoices.scailo_connect.js +12 -0
- package/lib/cjs/src/sales_orders.scailo_connect.js +12 -0
- package/lib/cjs/src/sales_quotations.scailo_connect.js +12 -0
- package/lib/cjs/src/sales_returns.scailo_connect.js +12 -0
- package/lib/cjs/src/vendor_invoices.scailo_connect.js +12 -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 +105 -0
- package/lib/cjs/types/permissions.d.ts.map +1 -1
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +12 -0
- package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/login.scailo_pb.d.ts +6 -0
- package/lib/cjs/types/src/login.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/magic_links.scailo_connect.d.ts +192 -0
- package/lib/cjs/types/src/magic_links.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +774 -0
- package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -0
- package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/index.js +34 -0
- package/lib/esm/permissions.js +60 -38
- package/lib/esm/src/credit_notes.scailo_connect.js +12 -0
- package/lib/esm/src/debit_notes.scailo_connect.js +12 -0
- package/lib/esm/src/general_settings.scailo_pb.js +14 -0
- package/lib/esm/src/goods_dispatches.scailo_connect.js +12 -0
- package/lib/esm/src/goods_receipts.scailo_connect.js +12 -0
- package/lib/esm/src/inward_jobs.scailo_connect.js +12 -0
- package/lib/esm/src/login.scailo_pb.js +7 -0
- package/lib/esm/src/magic_links.scailo_connect.js +198 -0
- package/lib/esm/src/magic_links.scailo_pb.js +1047 -0
- package/lib/esm/src/outward_jobs.scailo_connect.js +12 -0
- package/lib/esm/src/proforma_invoices.scailo_connect.js +12 -0
- package/lib/esm/src/purchases_orders.scailo_connect.js +12 -0
- package/lib/esm/src/purchases_returns.scailo_connect.js +12 -0
- package/lib/esm/src/sales_enquiries.scailo_connect.js +12 -0
- package/lib/esm/src/sales_invoices.scailo_connect.js +12 -0
- package/lib/esm/src/sales_orders.scailo_connect.js +12 -0
- package/lib/esm/src/sales_quotations.scailo_connect.js +12 -0
- package/lib/esm/src/sales_returns.scailo_connect.js +12 -0
- package/lib/esm/src/vendor_invoices.scailo_connect.js +12 -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 +105 -0
- package/lib/esm/types/permissions.d.ts.map +1 -1
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/general_settings.scailo_pb.d.ts +12 -0
- package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/login.scailo_pb.d.ts +6 -0
- package/lib/esm/types/src/login.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/magic_links.scailo_connect.d.ts +192 -0
- package/lib/esm/types/src/magic_links.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/magic_links.scailo_pb.d.ts +774 -0
- package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -0
- package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { MagicLink, MagicLinkAccessLogsList, MagicLinkPaginationResp, MagicLinkServiceSearchByCodeReq, MagicLinksList, MagicLinksServiceCountReq, MagicLinksServiceCreateRequest, MagicLinksServiceFilterReq, MagicLinksServicePaginationReq, MagicLinksServiceSearchAllReq, MagicLinksServiceUpdateRequest } from "./magic_links.scailo_pb.js";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
import { ActiveStatus, CountResponse, Identifier, IdentifierResponse, IdentifiersList, IdentifierUUID, IdentifierUUIDWithUserComment, StandardFile } from "./base.scailo_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Describes the methods applicable on each magic link
|
|
7
|
+
*
|
|
8
|
+
* @generated from service Scailo.MagicLinksService
|
|
9
|
+
*/
|
|
10
|
+
export declare const MagicLinksService: {
|
|
11
|
+
readonly typeName: "Scailo.MagicLinksService";
|
|
12
|
+
readonly methods: {
|
|
13
|
+
/**
|
|
14
|
+
* Create a magic link
|
|
15
|
+
*
|
|
16
|
+
* @generated from rpc Scailo.MagicLinksService.Create
|
|
17
|
+
*/
|
|
18
|
+
readonly create: {
|
|
19
|
+
readonly name: "Create";
|
|
20
|
+
readonly I: typeof MagicLinksServiceCreateRequest;
|
|
21
|
+
readonly O: typeof MagicLink;
|
|
22
|
+
readonly kind: MethodKind.Unary;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Update a magic link
|
|
26
|
+
*
|
|
27
|
+
* @generated from rpc Scailo.MagicLinksService.Update
|
|
28
|
+
*/
|
|
29
|
+
readonly update: {
|
|
30
|
+
readonly name: "Update";
|
|
31
|
+
readonly I: typeof MagicLinksServiceUpdateRequest;
|
|
32
|
+
readonly O: typeof MagicLink;
|
|
33
|
+
readonly kind: MethodKind.Unary;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Discard the magic link
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc Scailo.MagicLinksService.Discard
|
|
39
|
+
*/
|
|
40
|
+
readonly discard: {
|
|
41
|
+
readonly name: "Discard";
|
|
42
|
+
readonly I: typeof IdentifierUUIDWithUserComment;
|
|
43
|
+
readonly O: typeof IdentifierResponse;
|
|
44
|
+
readonly kind: MethodKind.Unary;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Restore the magic link
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc Scailo.MagicLinksService.Restore
|
|
50
|
+
*/
|
|
51
|
+
readonly restore: {
|
|
52
|
+
readonly name: "Restore";
|
|
53
|
+
readonly I: typeof IdentifierUUIDWithUserComment;
|
|
54
|
+
readonly O: typeof IdentifierResponse;
|
|
55
|
+
readonly kind: MethodKind.Unary;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* View by ID
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc Scailo.MagicLinksService.ViewByID
|
|
61
|
+
*/
|
|
62
|
+
readonly viewByID: {
|
|
63
|
+
readonly name: "ViewByID";
|
|
64
|
+
readonly I: typeof Identifier;
|
|
65
|
+
readonly O: typeof MagicLink;
|
|
66
|
+
readonly kind: MethodKind.Unary;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* View by UUID
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc Scailo.MagicLinksService.ViewByUUID
|
|
72
|
+
*/
|
|
73
|
+
readonly viewByUUID: {
|
|
74
|
+
readonly name: "ViewByUUID";
|
|
75
|
+
readonly I: typeof IdentifierUUID;
|
|
76
|
+
readonly O: typeof MagicLink;
|
|
77
|
+
readonly kind: MethodKind.Unary;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* View only essential components that matches the given code
|
|
81
|
+
*
|
|
82
|
+
* @generated from rpc Scailo.MagicLinksService.ViewByCode
|
|
83
|
+
*/
|
|
84
|
+
readonly viewByCode: {
|
|
85
|
+
readonly name: "ViewByCode";
|
|
86
|
+
readonly I: typeof MagicLinkServiceSearchByCodeReq;
|
|
87
|
+
readonly O: typeof MagicLink;
|
|
88
|
+
readonly kind: MethodKind.Unary;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* View all records with the given IDs
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc Scailo.MagicLinksService.ViewFromIDs
|
|
94
|
+
*/
|
|
95
|
+
readonly viewFromIDs: {
|
|
96
|
+
readonly name: "ViewFromIDs";
|
|
97
|
+
readonly I: typeof IdentifiersList;
|
|
98
|
+
readonly O: typeof MagicLinksList;
|
|
99
|
+
readonly kind: MethodKind.Unary;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* View all magic links
|
|
103
|
+
*
|
|
104
|
+
* @generated from rpc Scailo.MagicLinksService.ViewAll
|
|
105
|
+
*/
|
|
106
|
+
readonly viewAll: {
|
|
107
|
+
readonly name: "ViewAll";
|
|
108
|
+
readonly I: typeof ActiveStatus;
|
|
109
|
+
readonly O: typeof MagicLinksList;
|
|
110
|
+
readonly kind: MethodKind.Unary;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* View all magic links with the given entity UUID
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc Scailo.MagicLinksService.ViewAllForEntityUUID
|
|
116
|
+
*/
|
|
117
|
+
readonly viewAllForEntityUUID: {
|
|
118
|
+
readonly name: "ViewAllForEntityUUID";
|
|
119
|
+
readonly I: typeof IdentifierUUID;
|
|
120
|
+
readonly O: typeof MagicLinksList;
|
|
121
|
+
readonly kind: MethodKind.Unary;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* View magic links with pagination
|
|
125
|
+
*
|
|
126
|
+
* @generated from rpc Scailo.MagicLinksService.ViewWithPagination
|
|
127
|
+
*/
|
|
128
|
+
readonly viewWithPagination: {
|
|
129
|
+
readonly name: "ViewWithPagination";
|
|
130
|
+
readonly I: typeof MagicLinksServicePaginationReq;
|
|
131
|
+
readonly O: typeof MagicLinkPaginationResp;
|
|
132
|
+
readonly kind: MethodKind.Unary;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* View access logs of magic link
|
|
136
|
+
*
|
|
137
|
+
* @generated from rpc Scailo.MagicLinksService.ViewAccessLogs
|
|
138
|
+
*/
|
|
139
|
+
readonly viewAccessLogs: {
|
|
140
|
+
readonly name: "ViewAccessLogs";
|
|
141
|
+
readonly I: typeof IdentifierUUID;
|
|
142
|
+
readonly O: typeof MagicLinkAccessLogsList;
|
|
143
|
+
readonly kind: MethodKind.Unary;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* View all magic links that match the given search key
|
|
147
|
+
*
|
|
148
|
+
* @generated from rpc Scailo.MagicLinksService.SearchAll
|
|
149
|
+
*/
|
|
150
|
+
readonly searchAll: {
|
|
151
|
+
readonly name: "SearchAll";
|
|
152
|
+
readonly I: typeof MagicLinksServiceSearchAllReq;
|
|
153
|
+
readonly O: typeof MagicLinksList;
|
|
154
|
+
readonly kind: MethodKind.Unary;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* View all that match the given filter criteria
|
|
158
|
+
*
|
|
159
|
+
* @generated from rpc Scailo.MagicLinksService.Filter
|
|
160
|
+
*/
|
|
161
|
+
readonly filter: {
|
|
162
|
+
readonly name: "Filter";
|
|
163
|
+
readonly I: typeof MagicLinksServiceFilterReq;
|
|
164
|
+
readonly O: typeof MagicLinksList;
|
|
165
|
+
readonly kind: MethodKind.Unary;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* Count all that match the given criteria
|
|
169
|
+
*
|
|
170
|
+
* @generated from rpc Scailo.MagicLinksService.Count
|
|
171
|
+
*/
|
|
172
|
+
readonly count: {
|
|
173
|
+
readonly name: "Count";
|
|
174
|
+
readonly I: typeof MagicLinksServiceCountReq;
|
|
175
|
+
readonly O: typeof CountResponse;
|
|
176
|
+
readonly kind: MethodKind.Unary;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* CSV operations
|
|
180
|
+
* 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
|
|
181
|
+
*
|
|
182
|
+
* @generated from rpc Scailo.MagicLinksService.DownloadAsCSV
|
|
183
|
+
*/
|
|
184
|
+
readonly downloadAsCSV: {
|
|
185
|
+
readonly name: "DownloadAsCSV";
|
|
186
|
+
readonly I: typeof MagicLinksServiceFilterReq;
|
|
187
|
+
readonly O: typeof StandardFile;
|
|
188
|
+
readonly kind: MethodKind.Unary;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
//# sourceMappingURL=magic_links.scailo_connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"magic_links.scailo_connect.d.ts","sourceRoot":"","sources":["../../../../src/magic_links.scailo_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,+BAA+B,EAAE,cAAc,EAAE,yBAAyB,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAChV,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,kBAAkB,EAAE,eAAe,EAAE,cAAc,EAAE,6BAA6B,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEhL;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;WAKG;;;;;;;;CAQG,CAAC"}
|