@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.
Files changed (127) hide show
  1. package/lib/cjs/index.js +34 -0
  2. package/lib/cjs/permissions.js +60 -38
  3. package/lib/cjs/src/credit_notes.scailo_connect.js +12 -0
  4. package/lib/cjs/src/debit_notes.scailo_connect.js +12 -0
  5. package/lib/cjs/src/general_settings.scailo_pb.js +14 -0
  6. package/lib/cjs/src/goods_dispatches.scailo_connect.js +12 -0
  7. package/lib/cjs/src/goods_receipts.scailo_connect.js +12 -0
  8. package/lib/cjs/src/inward_jobs.scailo_connect.js +12 -0
  9. package/lib/cjs/src/login.scailo_pb.js +7 -0
  10. package/lib/cjs/src/magic_links.scailo_connect.js +198 -0
  11. package/lib/cjs/src/magic_links.scailo_pb.js +1035 -0
  12. package/lib/cjs/src/outward_jobs.scailo_connect.js +12 -0
  13. package/lib/cjs/src/proforma_invoices.scailo_connect.js +12 -0
  14. package/lib/cjs/src/purchases_orders.scailo_connect.js +12 -0
  15. package/lib/cjs/src/purchases_returns.scailo_connect.js +12 -0
  16. package/lib/cjs/src/sales_enquiries.scailo_connect.js +12 -0
  17. package/lib/cjs/src/sales_invoices.scailo_connect.js +12 -0
  18. package/lib/cjs/src/sales_orders.scailo_connect.js +12 -0
  19. package/lib/cjs/src/sales_quotations.scailo_connect.js +12 -0
  20. package/lib/cjs/src/sales_returns.scailo_connect.js +12 -0
  21. package/lib/cjs/src/vendor_invoices.scailo_connect.js +12 -0
  22. package/lib/cjs/types/index.d.ts +31 -0
  23. package/lib/cjs/types/index.d.ts.map +1 -1
  24. package/lib/cjs/types/permissions.d.ts +105 -0
  25. package/lib/cjs/types/permissions.d.ts.map +1 -1
  26. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -0
  27. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  28. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -0
  29. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  30. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +12 -0
  31. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  32. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  33. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  34. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  35. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  36. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  37. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  38. package/lib/cjs/types/src/login.scailo_pb.d.ts +6 -0
  39. package/lib/cjs/types/src/login.scailo_pb.d.ts.map +1 -1
  40. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts +192 -0
  41. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  42. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +774 -0
  43. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  44. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  45. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  46. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -0
  47. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  48. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  49. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  50. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  51. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  52. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  53. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  54. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  55. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  56. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -0
  57. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  58. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -0
  59. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  60. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +12 -0
  61. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  62. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  63. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  64. package/lib/esm/index.js +34 -0
  65. package/lib/esm/permissions.js +60 -38
  66. package/lib/esm/src/credit_notes.scailo_connect.js +12 -0
  67. package/lib/esm/src/debit_notes.scailo_connect.js +12 -0
  68. package/lib/esm/src/general_settings.scailo_pb.js +14 -0
  69. package/lib/esm/src/goods_dispatches.scailo_connect.js +12 -0
  70. package/lib/esm/src/goods_receipts.scailo_connect.js +12 -0
  71. package/lib/esm/src/inward_jobs.scailo_connect.js +12 -0
  72. package/lib/esm/src/login.scailo_pb.js +7 -0
  73. package/lib/esm/src/magic_links.scailo_connect.js +198 -0
  74. package/lib/esm/src/magic_links.scailo_pb.js +1047 -0
  75. package/lib/esm/src/outward_jobs.scailo_connect.js +12 -0
  76. package/lib/esm/src/proforma_invoices.scailo_connect.js +12 -0
  77. package/lib/esm/src/purchases_orders.scailo_connect.js +12 -0
  78. package/lib/esm/src/purchases_returns.scailo_connect.js +12 -0
  79. package/lib/esm/src/sales_enquiries.scailo_connect.js +12 -0
  80. package/lib/esm/src/sales_invoices.scailo_connect.js +12 -0
  81. package/lib/esm/src/sales_orders.scailo_connect.js +12 -0
  82. package/lib/esm/src/sales_quotations.scailo_connect.js +12 -0
  83. package/lib/esm/src/sales_returns.scailo_connect.js +12 -0
  84. package/lib/esm/src/vendor_invoices.scailo_connect.js +12 -0
  85. package/lib/esm/types/index.d.ts +31 -0
  86. package/lib/esm/types/index.d.ts.map +1 -1
  87. package/lib/esm/types/permissions.d.ts +105 -0
  88. package/lib/esm/types/permissions.d.ts.map +1 -1
  89. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -0
  90. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  91. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -0
  92. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  93. package/lib/esm/types/src/general_settings.scailo_pb.d.ts +12 -0
  94. package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  95. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  96. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  97. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  98. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  99. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  100. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  101. package/lib/esm/types/src/login.scailo_pb.d.ts +6 -0
  102. package/lib/esm/types/src/login.scailo_pb.d.ts.map +1 -1
  103. package/lib/esm/types/src/magic_links.scailo_connect.d.ts +192 -0
  104. package/lib/esm/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  105. package/lib/esm/types/src/magic_links.scailo_pb.d.ts +774 -0
  106. package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  107. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  108. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  109. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -0
  110. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  111. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  112. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  113. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  114. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  115. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  116. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  117. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  118. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  119. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -0
  120. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  121. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -0
  122. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  123. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +12 -0
  124. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  125. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  126. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  127. package/package.json +1 -1
@@ -8,6 +8,7 @@ exports.DebitNotesService = void 0;
8
8
  const debit_notes_scailo_pb_js_1 = require("./debit_notes.scailo_pb.js");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
10
  const protobuf_1 = require("@bufbuild/protobuf");
11
+ const magic_links_scailo_pb_js_1 = require("./magic_links.scailo_pb.js");
11
12
  const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
12
13
  /**
13
14
  *
@@ -205,6 +206,17 @@ exports.DebitNotesService = {
205
206
  O: base_scailo_pb_js_1.IdentifierResponse,
206
207
  kind: protobuf_1.MethodKind.Unary,
207
208
  },
209
+ /**
210
+ * Create a magic link
211
+ *
212
+ * @generated from rpc Scailo.DebitNotesService.CreateMagicLink
213
+ */
214
+ createMagicLink: {
215
+ name: "CreateMagicLink",
216
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCreateRequestForSpecificResource,
217
+ O: magic_links_scailo_pb_js_1.MagicLink,
218
+ kind: protobuf_1.MethodKind.Unary,
219
+ },
208
220
  /**
209
221
  * Add an item to a debit note
210
222
  *
@@ -92,6 +92,12 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
92
92
  * @generated from field: string domain_name = 40;
93
93
  */
94
94
  domainName = "";
95
+ /**
96
+ * The name of the domain using which users can access records without logging in
97
+ *
98
+ * @generated from field: string authless_access_domain = 41;
99
+ */
100
+ authlessAccessDomain = "";
95
101
  /**
96
102
  * The email address from which purchase orders will be sent
97
103
  *
@@ -178,6 +184,7 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
178
184
  { no: 19, name: "pan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
179
185
  { no: 20, name: "gstin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
180
186
  { no: 40, name: "domain_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 41, name: "authless_access_domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
181
188
  { no: 50, name: "purchase_order_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
189
  { no: 51, name: "sales_enquiry_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
190
  { no: 52, name: "sales_order_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -295,6 +302,12 @@ class GeneralSettings extends protobuf_1.Message {
295
302
  * @generated from field: string domain_name = 40;
296
303
  */
297
304
  domainName = "";
305
+ /**
306
+ * The name of the domain using which users can access records without logging in
307
+ *
308
+ * @generated from field: string authless_access_domain = 41;
309
+ */
310
+ authlessAccessDomain = "";
298
311
  /**
299
312
  * The email address from which purchase orders will be sent
300
313
  *
@@ -388,6 +401,7 @@ class GeneralSettings extends protobuf_1.Message {
388
401
  { no: 19, name: "pan", kind: "scalar", T: 9 /* ScalarType.STRING */ },
389
402
  { no: 20, name: "gstin", kind: "scalar", T: 9 /* ScalarType.STRING */ },
390
403
  { no: 40, name: "domain_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
+ { no: 41, name: "authless_access_domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
405
  { no: 50, name: "purchase_order_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
392
406
  { no: 51, name: "sales_enquiry_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
393
407
  { no: 52, name: "sales_order_sender_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -8,6 +8,7 @@ exports.GoodsDispatchesService = void 0;
8
8
  const goods_dispatches_scailo_pb_js_1 = require("./goods_dispatches.scailo_pb.js");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
10
  const protobuf_1 = require("@bufbuild/protobuf");
11
+ const magic_links_scailo_pb_js_1 = require("./magic_links.scailo_pb.js");
11
12
  const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
12
13
  /**
13
14
  *
@@ -216,6 +217,17 @@ exports.GoodsDispatchesService = {
216
217
  O: base_scailo_pb_js_1.BooleanResponse,
217
218
  kind: protobuf_1.MethodKind.Unary,
218
219
  },
220
+ /**
221
+ * Create a magic link
222
+ *
223
+ * @generated from rpc Scailo.GoodsDispatchesService.CreateMagicLink
224
+ */
225
+ createMagicLink: {
226
+ name: "CreateMagicLink",
227
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCreateRequestForSpecificResource,
228
+ O: magic_links_scailo_pb_js_1.MagicLink,
229
+ kind: protobuf_1.MethodKind.Unary,
230
+ },
219
231
  /**
220
232
  * Add an item to a goods dispatch
221
233
  *
@@ -8,6 +8,7 @@ exports.GoodsReceiptsService = void 0;
8
8
  const goods_receipts_scailo_pb_js_1 = require("./goods_receipts.scailo_pb.js");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
10
  const protobuf_1 = require("@bufbuild/protobuf");
11
+ const magic_links_scailo_pb_js_1 = require("./magic_links.scailo_pb.js");
11
12
  const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
12
13
  /**
13
14
  *
@@ -216,6 +217,17 @@ exports.GoodsReceiptsService = {
216
217
  O: base_scailo_pb_js_1.BooleanResponse,
217
218
  kind: protobuf_1.MethodKind.Unary,
218
219
  },
220
+ /**
221
+ * Create a magic link
222
+ *
223
+ * @generated from rpc Scailo.GoodsReceiptsService.CreateMagicLink
224
+ */
225
+ createMagicLink: {
226
+ name: "CreateMagicLink",
227
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCreateRequestForSpecificResource,
228
+ O: magic_links_scailo_pb_js_1.MagicLink,
229
+ kind: protobuf_1.MethodKind.Unary,
230
+ },
219
231
  /**
220
232
  * Add an item to a goods receipt
221
233
  *
@@ -8,6 +8,7 @@ exports.InwardJobsService = void 0;
8
8
  const inward_jobs_scailo_pb_js_1 = require("./inward_jobs.scailo_pb.js");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
10
  const protobuf_1 = require("@bufbuild/protobuf");
11
+ const magic_links_scailo_pb_js_1 = require("./magic_links.scailo_pb.js");
11
12
  const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
12
13
  /**
13
14
  *
@@ -205,6 +206,17 @@ exports.InwardJobsService = {
205
206
  O: base_scailo_pb_js_1.IdentifierResponse,
206
207
  kind: protobuf_1.MethodKind.Unary,
207
208
  },
209
+ /**
210
+ * Create a magic link
211
+ *
212
+ * @generated from rpc Scailo.InwardJobsService.CreateMagicLink
213
+ */
214
+ createMagicLink: {
215
+ name: "CreateMagicLink",
216
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCreateRequestForSpecificResource,
217
+ O: magic_links_scailo_pb_js_1.MagicLink,
218
+ kind: protobuf_1.MethodKind.Unary,
219
+ },
208
220
  /**
209
221
  * Checks if the Inward Job can be marked as completed (is true when all the inward items have been ordered and all the outward items have been received)
210
222
  *
@@ -32,6 +32,12 @@ class UserLoginRequest extends protobuf_1.Message {
32
32
  * @generated from field: string otp = 13;
33
33
  */
34
34
  otp = "";
35
+ /**
36
+ * Optional session expiry time in seconds. The value is ignored if set to 0.
37
+ *
38
+ * @generated from field: uint64 expires_in = 20;
39
+ */
40
+ expiresIn = protobuf_1.protoInt64.zero;
35
41
  constructor(data) {
36
42
  super();
37
43
  protobuf_1.proto3.util.initPartial(data, this);
@@ -42,6 +48,7 @@ class UserLoginRequest extends protobuf_1.Message {
42
48
  { no: 1, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
49
  { no: 12, name: "plain_text_password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
44
50
  { no: 13, name: "otp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
51
+ { no: 20, name: "expires_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
45
52
  ]);
46
53
  static fromBinary(bytes, options) {
47
54
  return new UserLoginRequest().fromBinary(bytes, options);
@@ -0,0 +1,198 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
3
+ // @generated from file magic_links.scailo.proto (package Scailo, syntax proto3)
4
+ /* eslint-disable */
5
+ // @ts-nocheck
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.MagicLinksService = void 0;
8
+ const magic_links_scailo_pb_js_1 = require("./magic_links.scailo_pb.js");
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
11
+ /**
12
+ *
13
+ * Describes the methods applicable on each magic link
14
+ *
15
+ * @generated from service Scailo.MagicLinksService
16
+ */
17
+ exports.MagicLinksService = {
18
+ typeName: "Scailo.MagicLinksService",
19
+ methods: {
20
+ /**
21
+ * Create a magic link
22
+ *
23
+ * @generated from rpc Scailo.MagicLinksService.Create
24
+ */
25
+ create: {
26
+ name: "Create",
27
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCreateRequest,
28
+ O: magic_links_scailo_pb_js_1.MagicLink,
29
+ kind: protobuf_1.MethodKind.Unary,
30
+ },
31
+ /**
32
+ * Update a magic link
33
+ *
34
+ * @generated from rpc Scailo.MagicLinksService.Update
35
+ */
36
+ update: {
37
+ name: "Update",
38
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceUpdateRequest,
39
+ O: magic_links_scailo_pb_js_1.MagicLink,
40
+ kind: protobuf_1.MethodKind.Unary,
41
+ },
42
+ /**
43
+ * Discard the magic link
44
+ *
45
+ * @generated from rpc Scailo.MagicLinksService.Discard
46
+ */
47
+ discard: {
48
+ name: "Discard",
49
+ I: base_scailo_pb_js_1.IdentifierUUIDWithUserComment,
50
+ O: base_scailo_pb_js_1.IdentifierResponse,
51
+ kind: protobuf_1.MethodKind.Unary,
52
+ },
53
+ /**
54
+ * Restore the magic link
55
+ *
56
+ * @generated from rpc Scailo.MagicLinksService.Restore
57
+ */
58
+ restore: {
59
+ name: "Restore",
60
+ I: base_scailo_pb_js_1.IdentifierUUIDWithUserComment,
61
+ O: base_scailo_pb_js_1.IdentifierResponse,
62
+ kind: protobuf_1.MethodKind.Unary,
63
+ },
64
+ /**
65
+ * View by ID
66
+ *
67
+ * @generated from rpc Scailo.MagicLinksService.ViewByID
68
+ */
69
+ viewByID: {
70
+ name: "ViewByID",
71
+ I: base_scailo_pb_js_1.Identifier,
72
+ O: magic_links_scailo_pb_js_1.MagicLink,
73
+ kind: protobuf_1.MethodKind.Unary,
74
+ },
75
+ /**
76
+ * View by UUID
77
+ *
78
+ * @generated from rpc Scailo.MagicLinksService.ViewByUUID
79
+ */
80
+ viewByUUID: {
81
+ name: "ViewByUUID",
82
+ I: base_scailo_pb_js_1.IdentifierUUID,
83
+ O: magic_links_scailo_pb_js_1.MagicLink,
84
+ kind: protobuf_1.MethodKind.Unary,
85
+ },
86
+ /**
87
+ * View only essential components that matches the given code
88
+ *
89
+ * @generated from rpc Scailo.MagicLinksService.ViewByCode
90
+ */
91
+ viewByCode: {
92
+ name: "ViewByCode",
93
+ I: magic_links_scailo_pb_js_1.MagicLinkServiceSearchByCodeReq,
94
+ O: magic_links_scailo_pb_js_1.MagicLink,
95
+ kind: protobuf_1.MethodKind.Unary,
96
+ },
97
+ /**
98
+ * View all records with the given IDs
99
+ *
100
+ * @generated from rpc Scailo.MagicLinksService.ViewFromIDs
101
+ */
102
+ viewFromIDs: {
103
+ name: "ViewFromIDs",
104
+ I: base_scailo_pb_js_1.IdentifiersList,
105
+ O: magic_links_scailo_pb_js_1.MagicLinksList,
106
+ kind: protobuf_1.MethodKind.Unary,
107
+ },
108
+ /**
109
+ * View all magic links
110
+ *
111
+ * @generated from rpc Scailo.MagicLinksService.ViewAll
112
+ */
113
+ viewAll: {
114
+ name: "ViewAll",
115
+ I: base_scailo_pb_js_1.ActiveStatus,
116
+ O: magic_links_scailo_pb_js_1.MagicLinksList,
117
+ kind: protobuf_1.MethodKind.Unary,
118
+ },
119
+ /**
120
+ * View all magic links with the given entity UUID
121
+ *
122
+ * @generated from rpc Scailo.MagicLinksService.ViewAllForEntityUUID
123
+ */
124
+ viewAllForEntityUUID: {
125
+ name: "ViewAllForEntityUUID",
126
+ I: base_scailo_pb_js_1.IdentifierUUID,
127
+ O: magic_links_scailo_pb_js_1.MagicLinksList,
128
+ kind: protobuf_1.MethodKind.Unary,
129
+ },
130
+ /**
131
+ * View magic links with pagination
132
+ *
133
+ * @generated from rpc Scailo.MagicLinksService.ViewWithPagination
134
+ */
135
+ viewWithPagination: {
136
+ name: "ViewWithPagination",
137
+ I: magic_links_scailo_pb_js_1.MagicLinksServicePaginationReq,
138
+ O: magic_links_scailo_pb_js_1.MagicLinkPaginationResp,
139
+ kind: protobuf_1.MethodKind.Unary,
140
+ },
141
+ /**
142
+ * View access logs of magic link
143
+ *
144
+ * @generated from rpc Scailo.MagicLinksService.ViewAccessLogs
145
+ */
146
+ viewAccessLogs: {
147
+ name: "ViewAccessLogs",
148
+ I: base_scailo_pb_js_1.IdentifierUUID,
149
+ O: magic_links_scailo_pb_js_1.MagicLinkAccessLogsList,
150
+ kind: protobuf_1.MethodKind.Unary,
151
+ },
152
+ /**
153
+ * View all magic links that match the given search key
154
+ *
155
+ * @generated from rpc Scailo.MagicLinksService.SearchAll
156
+ */
157
+ searchAll: {
158
+ name: "SearchAll",
159
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceSearchAllReq,
160
+ O: magic_links_scailo_pb_js_1.MagicLinksList,
161
+ kind: protobuf_1.MethodKind.Unary,
162
+ },
163
+ /**
164
+ * View all that match the given filter criteria
165
+ *
166
+ * @generated from rpc Scailo.MagicLinksService.Filter
167
+ */
168
+ filter: {
169
+ name: "Filter",
170
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceFilterReq,
171
+ O: magic_links_scailo_pb_js_1.MagicLinksList,
172
+ kind: protobuf_1.MethodKind.Unary,
173
+ },
174
+ /**
175
+ * Count all that match the given criteria
176
+ *
177
+ * @generated from rpc Scailo.MagicLinksService.Count
178
+ */
179
+ count: {
180
+ name: "Count",
181
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceCountReq,
182
+ O: base_scailo_pb_js_1.CountResponse,
183
+ kind: protobuf_1.MethodKind.Unary,
184
+ },
185
+ /**
186
+ * CSV operations
187
+ * 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
188
+ *
189
+ * @generated from rpc Scailo.MagicLinksService.DownloadAsCSV
190
+ */
191
+ downloadAsCSV: {
192
+ name: "DownloadAsCSV",
193
+ I: magic_links_scailo_pb_js_1.MagicLinksServiceFilterReq,
194
+ O: base_scailo_pb_js_1.StandardFile,
195
+ kind: protobuf_1.MethodKind.Unary,
196
+ },
197
+ }
198
+ };