@kernelminds/scailo-sdk 0.0.96 → 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 (115) 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/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 +1021 -0
  12. package/lib/cjs/src/outward_jobs.scailo_connect.js +12 -0
  13. package/lib/cjs/src/purchases_orders.scailo_connect.js +12 -0
  14. package/lib/cjs/src/purchases_returns.scailo_connect.js +12 -0
  15. package/lib/cjs/src/sales_enquiries.scailo_connect.js +12 -0
  16. package/lib/cjs/src/sales_invoices.scailo_connect.js +12 -0
  17. package/lib/cjs/src/sales_orders.scailo_connect.js +12 -0
  18. package/lib/cjs/src/sales_returns.scailo_connect.js +12 -0
  19. package/lib/cjs/src/vendor_invoices.scailo_connect.js +12 -0
  20. package/lib/cjs/types/index.d.ts +31 -0
  21. package/lib/cjs/types/index.d.ts.map +1 -1
  22. package/lib/cjs/types/permissions.d.ts +95 -0
  23. package/lib/cjs/types/permissions.d.ts.map +1 -1
  24. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -0
  25. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  26. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -0
  27. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  28. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +12 -0
  29. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  30. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  31. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  32. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  33. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  34. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  35. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  36. package/lib/cjs/types/src/login.scailo_pb.d.ts +6 -0
  37. package/lib/cjs/types/src/login.scailo_pb.d.ts.map +1 -1
  38. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts +192 -0
  39. package/lib/cjs/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  40. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +762 -0
  41. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  42. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  43. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  44. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  45. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  46. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  47. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  48. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  49. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  50. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  51. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  52. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -0
  53. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  54. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +12 -0
  55. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  56. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  57. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  58. package/lib/esm/index.js +34 -0
  59. package/lib/esm/permissions.js +56 -36
  60. package/lib/esm/src/credit_notes.scailo_connect.js +12 -0
  61. package/lib/esm/src/debit_notes.scailo_connect.js +12 -0
  62. package/lib/esm/src/general_settings.scailo_pb.js +14 -0
  63. package/lib/esm/src/goods_dispatches.scailo_connect.js +12 -0
  64. package/lib/esm/src/goods_receipts.scailo_connect.js +12 -0
  65. package/lib/esm/src/inward_jobs.scailo_connect.js +12 -0
  66. package/lib/esm/src/login.scailo_pb.js +7 -0
  67. package/lib/esm/src/magic_links.scailo_connect.js +198 -0
  68. package/lib/esm/src/magic_links.scailo_pb.js +1033 -0
  69. package/lib/esm/src/outward_jobs.scailo_connect.js +12 -0
  70. package/lib/esm/src/purchases_orders.scailo_connect.js +12 -0
  71. package/lib/esm/src/purchases_returns.scailo_connect.js +12 -0
  72. package/lib/esm/src/sales_enquiries.scailo_connect.js +12 -0
  73. package/lib/esm/src/sales_invoices.scailo_connect.js +12 -0
  74. package/lib/esm/src/sales_orders.scailo_connect.js +12 -0
  75. package/lib/esm/src/sales_returns.scailo_connect.js +12 -0
  76. package/lib/esm/src/vendor_invoices.scailo_connect.js +12 -0
  77. package/lib/esm/types/index.d.ts +31 -0
  78. package/lib/esm/types/index.d.ts.map +1 -1
  79. package/lib/esm/types/permissions.d.ts +95 -0
  80. package/lib/esm/types/permissions.d.ts.map +1 -1
  81. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -0
  82. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  83. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -0
  84. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  85. package/lib/esm/types/src/general_settings.scailo_pb.d.ts +12 -0
  86. package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  87. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -0
  88. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  89. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -0
  90. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  91. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts +12 -0
  92. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  93. package/lib/esm/types/src/login.scailo_pb.d.ts +6 -0
  94. package/lib/esm/types/src/login.scailo_pb.d.ts.map +1 -1
  95. package/lib/esm/types/src/magic_links.scailo_connect.d.ts +192 -0
  96. package/lib/esm/types/src/magic_links.scailo_connect.d.ts.map +1 -0
  97. package/lib/esm/types/src/magic_links.scailo_pb.d.ts +762 -0
  98. package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -0
  99. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts +12 -0
  100. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  101. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -0
  102. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  103. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +12 -0
  104. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  105. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +12 -0
  106. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  107. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -0
  108. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  109. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -0
  110. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  111. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +12 -0
  112. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  113. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -0
  114. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  115. 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"}