@kernelminds/scailo-sdk 0.0.95 → 0.0.97

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 (121) hide show
  1. package/lib/cjs/index.js +34 -0
  2. package/lib/cjs/permissions.js +56 -36
  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/families.scailo_pb.js +0 -42
  6. package/lib/cjs/src/general_settings.scailo_pb.js +14 -0
  7. package/lib/cjs/src/goods_dispatches.scailo_connect.js +12 -0
  8. package/lib/cjs/src/goods_receipts.scailo_connect.js +12 -0
  9. package/lib/cjs/src/inward_jobs.scailo_connect.js +12 -0
  10. package/lib/cjs/src/login.scailo_pb.js +7 -0
  11. package/lib/cjs/src/magic_links.scailo_connect.js +198 -0
  12. package/lib/cjs/src/magic_links.scailo_pb.js +1021 -0
  13. package/lib/cjs/src/outward_jobs.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_returns.scailo_connect.js +12 -0
  20. package/lib/cjs/src/vendor_invoices.scailo_connect.js +12 -0
  21. package/lib/cjs/types/index.d.ts +31 -0
  22. package/lib/cjs/types/index.d.ts.map +1 -1
  23. package/lib/cjs/types/permissions.d.ts +95 -0
  24. package/lib/cjs/types/permissions.d.ts.map +1 -1
  25. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -0
  26. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  27. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -0
  28. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  29. package/lib/cjs/types/src/families.scailo_pb.d.ts +0 -36
  30. package/lib/cjs/types/src/families.scailo_pb.d.ts.map +1 -1
  31. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +12 -0
  32. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  33. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  34. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  35. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  36. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  37. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  38. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  39. package/lib/cjs/types/src/login.scailo_pb.d.ts +6 -0
  40. package/lib/cjs/types/src/login.scailo_pb.d.ts.map +1 -1
  41. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts +192 -0
  42. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  43. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +762 -0
  44. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  45. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  46. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  47. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  48. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  49. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  50. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  51. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  52. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  53. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  54. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  55. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -0
  56. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  57. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +12 -0
  58. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  59. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  60. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  61. package/lib/esm/index.js +34 -0
  62. package/lib/esm/permissions.js +56 -36
  63. package/lib/esm/src/credit_notes.scailo_connect.js +12 -0
  64. package/lib/esm/src/debit_notes.scailo_connect.js +12 -0
  65. package/lib/esm/src/families.scailo_pb.js +0 -42
  66. package/lib/esm/src/general_settings.scailo_pb.js +14 -0
  67. package/lib/esm/src/goods_dispatches.scailo_connect.js +12 -0
  68. package/lib/esm/src/goods_receipts.scailo_connect.js +12 -0
  69. package/lib/esm/src/inward_jobs.scailo_connect.js +12 -0
  70. package/lib/esm/src/login.scailo_pb.js +7 -0
  71. package/lib/esm/src/magic_links.scailo_connect.js +198 -0
  72. package/lib/esm/src/magic_links.scailo_pb.js +1033 -0
  73. package/lib/esm/src/outward_jobs.scailo_connect.js +12 -0
  74. package/lib/esm/src/purchases_orders.scailo_connect.js +12 -0
  75. package/lib/esm/src/purchases_returns.scailo_connect.js +12 -0
  76. package/lib/esm/src/sales_enquiries.scailo_connect.js +12 -0
  77. package/lib/esm/src/sales_invoices.scailo_connect.js +12 -0
  78. package/lib/esm/src/sales_orders.scailo_connect.js +12 -0
  79. package/lib/esm/src/sales_returns.scailo_connect.js +12 -0
  80. package/lib/esm/src/vendor_invoices.scailo_connect.js +12 -0
  81. package/lib/esm/types/index.d.ts +31 -0
  82. package/lib/esm/types/index.d.ts.map +1 -1
  83. package/lib/esm/types/permissions.d.ts +95 -0
  84. package/lib/esm/types/permissions.d.ts.map +1 -1
  85. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -0
  86. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  87. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -0
  88. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  89. package/lib/esm/types/src/families.scailo_pb.d.ts +0 -36
  90. package/lib/esm/types/src/families.scailo_pb.d.ts.map +1 -1
  91. package/lib/esm/types/src/general_settings.scailo_pb.d.ts +12 -0
  92. package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  93. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  94. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  95. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  96. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  97. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  98. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  99. package/lib/esm/types/src/login.scailo_pb.d.ts +6 -0
  100. package/lib/esm/types/src/login.scailo_pb.d.ts.map +1 -1
  101. package/lib/esm/types/src/magic_links.scailo_connect.d.ts +192 -0
  102. package/lib/esm/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  103. package/lib/esm/types/src/magic_links.scailo_pb.d.ts +762 -0
  104. package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  105. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  106. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  107. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  108. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  109. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  110. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  111. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  112. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  113. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  114. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  115. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -0
  116. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  117. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +12 -0
  118. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  119. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  120. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  121. package/package.json +1 -1
@@ -187,12 +187,6 @@ var FAMILY_SORT_KEY;
187
187
  * @generated from enum value: FAMILY_SORT_KEY_NAME = 10;
188
188
  */
189
189
  FAMILY_SORT_KEY[FAMILY_SORT_KEY["FAMILY_SORT_KEY_NAME"] = 10] = "FAMILY_SORT_KEY_NAME";
190
- /**
191
- * Fetch ordered results by the drawing number
192
- *
193
- * @generated from enum value: FAMILY_SORT_KEY_DRAWING_NUMBER = 11;
194
- */
195
- FAMILY_SORT_KEY[FAMILY_SORT_KEY["FAMILY_SORT_KEY_DRAWING_NUMBER"] = 11] = "FAMILY_SORT_KEY_DRAWING_NUMBER";
196
190
  /**
197
191
  * Fetch ordered results by the code
198
192
  *
@@ -227,7 +221,6 @@ protobuf_1.proto3.util.setEnumType(FAMILY_SORT_KEY, "Scailo.FAMILY_SORT_KEY", [
227
221
  { no: 4, name: "FAMILY_SORT_KEY_APPROVED_BY" },
228
222
  { no: 5, name: "FAMILY_SORT_KEY_APPROVER_ROLE_ID" },
229
223
  { no: 10, name: "FAMILY_SORT_KEY_NAME" },
230
- { no: 11, name: "FAMILY_SORT_KEY_DRAWING_NUMBER" },
231
224
  { no: 12, name: "FAMILY_SORT_KEY_CODE" },
232
225
  { no: 13, name: "FAMILY_SORT_KEY_UNIT_QUANTITY" },
233
226
  { no: 14, name: "FAMILY_SORT_KEY_PRICE" },
@@ -312,12 +305,6 @@ class FamiliesServiceCreateRequest extends protobuf_1.Message {
312
305
  * @generated from field: string code = 12;
313
306
  */
314
307
  code = "";
315
- /**
316
- * The drawing number of the family
317
- *
318
- * @generated from field: string drawing_number = 13;
319
- */
320
- drawingNumber = "";
321
308
  /**
322
309
  * The description of the family
323
310
  *
@@ -409,7 +396,6 @@ class FamiliesServiceCreateRequest extends protobuf_1.Message {
409
396
  { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
410
397
  { no: 11, name: "print_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
411
398
  { no: 12, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
- { no: 13, name: "drawing_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
413
399
  { no: 14, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
414
400
  { no: 15, name: "family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE) },
415
401
  { no: 16, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -487,12 +473,6 @@ class FamiliesServiceUpdateRequest extends protobuf_1.Message {
487
473
  * @generated from field: string code = 12;
488
474
  */
489
475
  code = "";
490
- /**
491
- * The drawing number of the family
492
- *
493
- * @generated from field: string drawing_number = 13;
494
- */
495
- drawingNumber = "";
496
476
  /**
497
477
  * The description of the family
498
478
  *
@@ -585,7 +565,6 @@ class FamiliesServiceUpdateRequest extends protobuf_1.Message {
585
565
  { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
586
566
  { no: 11, name: "print_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
587
567
  { no: 12, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
588
- { no: 13, name: "drawing_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
589
568
  { no: 14, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
590
569
  { no: 15, name: "family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE) },
591
570
  { no: 16, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -675,12 +654,6 @@ class Family extends protobuf_1.Message {
675
654
  * @generated from field: string code = 12;
676
655
  */
677
656
  code = "";
678
- /**
679
- * The drawing number of the family
680
- *
681
- * @generated from field: string drawing_number = 13;
682
- */
683
- drawingNumber = "";
684
657
  /**
685
658
  * The description of the family
686
659
  *
@@ -781,7 +754,6 @@ class Family extends protobuf_1.Message {
781
754
  { no: 10, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
782
755
  { no: 11, name: "print_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
783
756
  { no: 12, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
784
- { no: 13, name: "drawing_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
785
757
  { no: 14, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
786
758
  { no: 15, name: "family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE) },
787
759
  { no: 16, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1090,12 +1062,6 @@ class FamiliesServiceFilterReq extends protobuf_1.Message {
1090
1062
  * @generated from field: string code = 22;
1091
1063
  */
1092
1064
  code = "";
1093
- /**
1094
- * The drawing number of the family
1095
- *
1096
- * @generated from field: string drawing_number = 23;
1097
- */
1098
- drawingNumber = "";
1099
1065
  /**
1100
1066
  * The type of the family
1101
1067
  *
@@ -1205,7 +1171,6 @@ class FamiliesServiceFilterReq extends protobuf_1.Message {
1205
1171
  { no: 14, name: "approver_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1206
1172
  { no: 20, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1207
1173
  { no: 22, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1208
- { no: 23, name: "drawing_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1209
1174
  { no: 25, name: "family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE) },
1210
1175
  { no: 250, name: "multi_family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE), repeated: true },
1211
1176
  { no: 26, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1326,12 +1291,6 @@ class FamiliesServiceCountReq extends protobuf_1.Message {
1326
1291
  * @generated from field: string code = 22;
1327
1292
  */
1328
1293
  code = "";
1329
- /**
1330
- * The drawing number of the family
1331
- *
1332
- * @generated from field: string drawing_number = 23;
1333
- */
1334
- drawingNumber = "";
1335
1294
  /**
1336
1295
  * The type of the family
1337
1296
  *
@@ -1437,7 +1396,6 @@ class FamiliesServiceCountReq extends protobuf_1.Message {
1437
1396
  { no: 14, name: "approver_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1438
1397
  { no: 20, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1439
1398
  { no: 22, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1440
- { no: 23, name: "drawing_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1441
1399
  { no: 25, name: "family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE) },
1442
1400
  { no: 250, name: "multi_family_type", kind: "enum", T: protobuf_1.proto3.getEnumType(FAMILY_TYPE), repeated: true },
1443
1401
  { no: 26, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -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
+ };