@kernelminds/scailo-sdk 0.0.8 → 0.0.9
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 +68 -0
- package/lib/cjs/src/base.scailo_pb.js +28 -0
- package/lib/cjs/src/proforma_invoices.scailo_connect.js +573 -0
- package/lib/cjs/src/proforma_invoices.scailo_pb.js +2220 -0
- package/lib/cjs/src/supply_offers.scailo_connect.js +563 -0
- package/lib/cjs/src/supply_offers.scailo_pb.js +2246 -0
- package/lib/cjs/src/workflows_rules.scailo_pb.js +14 -0
- package/lib/cjs/types/index.d.ts +62 -0
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts +25 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +567 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +1734 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -0
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts +557 -0
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts +1767 -0
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts.map +1 -0
- package/lib/cjs/types/src/workflows_rules.scailo_pb.d.ts +12 -0
- package/lib/cjs/types/src/workflows_rules.scailo_pb.d.ts.map +1 -1
- package/lib/esm/index.js +68 -0
- package/lib/esm/src/base.scailo_pb.js +28 -0
- package/lib/esm/src/proforma_invoices.scailo_connect.js +573 -0
- package/lib/esm/src/proforma_invoices.scailo_pb.js +2244 -0
- package/lib/esm/src/supply_offers.scailo_connect.js +563 -0
- package/lib/esm/src/supply_offers.scailo_pb.js +2270 -0
- package/lib/esm/src/workflows_rules.scailo_pb.js +14 -0
- package/lib/esm/types/index.d.ts +62 -0
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts +25 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +567 -0
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +1734 -0
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -0
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts +557 -0
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts +1767 -0
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts.map +1 -0
- package/lib/esm/types/src/workflows_rules.scailo_pb.d.ts +12 -0
- package/lib/esm/types/src/workflows_rules.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -76,6 +76,7 @@ exports.getClientForPayrollParamsService = getClientForPayrollParamsService;
|
|
|
76
76
|
exports.getClientForProductionIndentsService = getClientForProductionIndentsService;
|
|
77
77
|
exports.getClientForProductionPlansService = getClientForProductionPlansService;
|
|
78
78
|
exports.getClientForProductsService = getClientForProductsService;
|
|
79
|
+
exports.getClientForProformaInvoicesService = getClientForProformaInvoicesService;
|
|
79
80
|
exports.getClientForProjectsService = getClientForProjectsService;
|
|
80
81
|
exports.getClientForPurchasesEnquiriesService = getClientForPurchasesEnquiriesService;
|
|
81
82
|
exports.getClientForPurchasesIndentsService = getClientForPurchasesIndentsService;
|
|
@@ -106,6 +107,7 @@ exports.getClientForStockIssuancesService = getClientForStockIssuancesService;
|
|
|
106
107
|
exports.getClientForStockReturnsService = getClientForStockReturnsService;
|
|
107
108
|
exports.getClientForStoragesService = getClientForStoragesService;
|
|
108
109
|
exports.getClientForStoresService = getClientForStoresService;
|
|
110
|
+
exports.getClientForSupplyOffersService = getClientForSupplyOffersService;
|
|
109
111
|
exports.getClientForTaxGroupsService = getClientForTaxGroupsService;
|
|
110
112
|
exports.getClientForTaxParamsService = getClientForTaxParamsService;
|
|
111
113
|
exports.getClientForTeamsService = getClientForTeamsService;
|
|
@@ -244,6 +246,8 @@ __exportStar(require("./src/production_plans.scailo_connect"), exports);
|
|
|
244
246
|
__exportStar(require("./src/production_plans.scailo_pb"), exports);
|
|
245
247
|
__exportStar(require("./src/products.scailo_connect"), exports);
|
|
246
248
|
__exportStar(require("./src/products.scailo_pb"), exports);
|
|
249
|
+
__exportStar(require("./src/proforma_invoices.scailo_connect"), exports);
|
|
250
|
+
__exportStar(require("./src/proforma_invoices.scailo_pb"), exports);
|
|
247
251
|
__exportStar(require("./src/projects.scailo_connect"), exports);
|
|
248
252
|
__exportStar(require("./src/projects.scailo_pb"), exports);
|
|
249
253
|
__exportStar(require("./src/purchases_enquiries.scailo_connect"), exports);
|
|
@@ -304,6 +308,8 @@ __exportStar(require("./src/storages.scailo_connect"), exports);
|
|
|
304
308
|
__exportStar(require("./src/storages.scailo_pb"), exports);
|
|
305
309
|
__exportStar(require("./src/stores.scailo_connect"), exports);
|
|
306
310
|
__exportStar(require("./src/stores.scailo_pb"), exports);
|
|
311
|
+
__exportStar(require("./src/supply_offers.scailo_connect"), exports);
|
|
312
|
+
__exportStar(require("./src/supply_offers.scailo_pb"), exports);
|
|
307
313
|
__exportStar(require("./src/tax_groups.scailo_connect"), exports);
|
|
308
314
|
__exportStar(require("./src/tax_groups.scailo_pb"), exports);
|
|
309
315
|
__exportStar(require("./src/tax_params.scailo_connect"), exports);
|
|
@@ -394,6 +400,7 @@ const payroll_params_scailo_connect_1 = require("./src/payroll_params.scailo_con
|
|
|
394
400
|
const production_indents_scailo_connect_1 = require("./src/production_indents.scailo_connect");
|
|
395
401
|
const production_plans_scailo_connect_1 = require("./src/production_plans.scailo_connect");
|
|
396
402
|
const products_scailo_connect_1 = require("./src/products.scailo_connect");
|
|
403
|
+
const proforma_invoices_scailo_connect_1 = require("./src/proforma_invoices.scailo_connect");
|
|
397
404
|
const projects_scailo_connect_1 = require("./src/projects.scailo_connect");
|
|
398
405
|
const purchases_enquiries_scailo_connect_1 = require("./src/purchases_enquiries.scailo_connect");
|
|
399
406
|
const purchases_indents_scailo_connect_1 = require("./src/purchases_indents.scailo_connect");
|
|
@@ -424,6 +431,7 @@ const stock_issuances_scailo_connect_1 = require("./src/stock_issuances.scailo_c
|
|
|
424
431
|
const stock_returns_scailo_connect_1 = require("./src/stock_returns.scailo_connect");
|
|
425
432
|
const storages_scailo_connect_1 = require("./src/storages.scailo_connect");
|
|
426
433
|
const stores_scailo_connect_1 = require("./src/stores.scailo_connect");
|
|
434
|
+
const supply_offers_scailo_connect_1 = require("./src/supply_offers.scailo_connect");
|
|
427
435
|
const tax_groups_scailo_connect_1 = require("./src/tax_groups.scailo_connect");
|
|
428
436
|
const tax_params_scailo_connect_1 = require("./src/tax_params.scailo_connect");
|
|
429
437
|
const teams_scailo_connect_1 = require("./src/teams.scailo_connect");
|
|
@@ -2298,6 +2306,36 @@ function getClientForProductsService(transport) {
|
|
|
2298
2306
|
}
|
|
2299
2307
|
/**
|
|
2300
2308
|
|
|
2309
|
+
Get the client to access the ProformaInvoicesService. Transport is a connectrpc Transport, which is created as follows:
|
|
2310
|
+
|
|
2311
|
+
For web:
|
|
2312
|
+
```
|
|
2313
|
+
import { createConnectTransport } from "@connectrpc/connect-web";
|
|
2314
|
+
|
|
2315
|
+
function getWebTransport(apiEndPoint: string = location.origin) {
|
|
2316
|
+
return createConnectTransport({
|
|
2317
|
+
baseUrl: apiEndPoint, useBinaryFormat: false, interceptors: []
|
|
2318
|
+
});
|
|
2319
|
+
}
|
|
2320
|
+
```
|
|
2321
|
+
|
|
2322
|
+
For node:
|
|
2323
|
+
```
|
|
2324
|
+
import { createConnectTransport } from "@connectrpc/connect-node";
|
|
2325
|
+
|
|
2326
|
+
function getNodeTransport(apiEndPoint: string) {
|
|
2327
|
+
return createConnectTransport({
|
|
2328
|
+
baseUrl: apiEndPoint, httpVersion: "1.1", useBinaryFormat: false, interceptors: []
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
```
|
|
2332
|
+
|
|
2333
|
+
*/
|
|
2334
|
+
function getClientForProformaInvoicesService(transport) {
|
|
2335
|
+
return (0, connect_1.createPromiseClient)(proforma_invoices_scailo_connect_1.ProformaInvoicesService, transport);
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
|
|
2301
2339
|
Get the client to access the ProjectsService. Transport is a connectrpc Transport, which is created as follows:
|
|
2302
2340
|
|
|
2303
2341
|
For web:
|
|
@@ -3198,6 +3236,36 @@ function getClientForStoresService(transport) {
|
|
|
3198
3236
|
}
|
|
3199
3237
|
/**
|
|
3200
3238
|
|
|
3239
|
+
Get the client to access the SupplyOffersService. Transport is a connectrpc Transport, which is created as follows:
|
|
3240
|
+
|
|
3241
|
+
For web:
|
|
3242
|
+
```
|
|
3243
|
+
import { createConnectTransport } from "@connectrpc/connect-web";
|
|
3244
|
+
|
|
3245
|
+
function getWebTransport(apiEndPoint: string = location.origin) {
|
|
3246
|
+
return createConnectTransport({
|
|
3247
|
+
baseUrl: apiEndPoint, useBinaryFormat: false, interceptors: []
|
|
3248
|
+
});
|
|
3249
|
+
}
|
|
3250
|
+
```
|
|
3251
|
+
|
|
3252
|
+
For node:
|
|
3253
|
+
```
|
|
3254
|
+
import { createConnectTransport } from "@connectrpc/connect-node";
|
|
3255
|
+
|
|
3256
|
+
function getNodeTransport(apiEndPoint: string) {
|
|
3257
|
+
return createConnectTransport({
|
|
3258
|
+
baseUrl: apiEndPoint, httpVersion: "1.1", useBinaryFormat: false, interceptors: []
|
|
3259
|
+
});
|
|
3260
|
+
}
|
|
3261
|
+
```
|
|
3262
|
+
|
|
3263
|
+
*/
|
|
3264
|
+
function getClientForSupplyOffersService(transport) {
|
|
3265
|
+
return (0, connect_1.createPromiseClient)(supply_offers_scailo_connect_1.SupplyOffersService, transport);
|
|
3266
|
+
}
|
|
3267
|
+
/**
|
|
3268
|
+
|
|
3201
3269
|
Get the client to access the TaxGroupsService. Transport is a connectrpc Transport, which is created as follows:
|
|
3202
3270
|
|
|
3203
3271
|
For web:
|
|
@@ -170,6 +170,12 @@ var FORM_TYPE;
|
|
|
170
170
|
* @generated from enum value: FORM_TYPE_PURCHASE_ORDER_FORM = 80;
|
|
171
171
|
*/
|
|
172
172
|
FORM_TYPE[FORM_TYPE["FORM_TYPE_PURCHASE_ORDER_FORM"] = 80] = "FORM_TYPE_PURCHASE_ORDER_FORM";
|
|
173
|
+
/**
|
|
174
|
+
* The form type is "supply-offer-form"
|
|
175
|
+
*
|
|
176
|
+
* @generated from enum value: FORM_TYPE_SUPPLY_OFFER_FORM = 85;
|
|
177
|
+
*/
|
|
178
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_SUPPLY_OFFER_FORM"] = 85] = "FORM_TYPE_SUPPLY_OFFER_FORM";
|
|
173
179
|
/**
|
|
174
180
|
* The form type is "purchase-indent-form"
|
|
175
181
|
*
|
|
@@ -182,6 +188,12 @@ var FORM_TYPE;
|
|
|
182
188
|
* @generated from enum value: FORM_TYPE_SALES_INVOICE_FORM = 100;
|
|
183
189
|
*/
|
|
184
190
|
FORM_TYPE[FORM_TYPE["FORM_TYPE_SALES_INVOICE_FORM"] = 100] = "FORM_TYPE_SALES_INVOICE_FORM";
|
|
191
|
+
/**
|
|
192
|
+
* The form type is "proforma-invoice-form"
|
|
193
|
+
*
|
|
194
|
+
* @generated from enum value: FORM_TYPE_PROFORMA_INVOICE_FORM = 105;
|
|
195
|
+
*/
|
|
196
|
+
FORM_TYPE[FORM_TYPE["FORM_TYPE_PROFORMA_INVOICE_FORM"] = 105] = "FORM_TYPE_PROFORMA_INVOICE_FORM";
|
|
185
197
|
/**
|
|
186
198
|
* The form type is "goods-dispatch-form"
|
|
187
199
|
*
|
|
@@ -434,8 +446,10 @@ protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
|
|
|
434
446
|
{ no: 60, name: "FORM_TYPE_CLIENT_FORM" },
|
|
435
447
|
{ no: 70, name: "FORM_TYPE_USER_FORM" },
|
|
436
448
|
{ no: 80, name: "FORM_TYPE_PURCHASE_ORDER_FORM" },
|
|
449
|
+
{ no: 85, name: "FORM_TYPE_SUPPLY_OFFER_FORM" },
|
|
437
450
|
{ no: 90, name: "FORM_TYPE_PURCHASE_INDENT_FORM" },
|
|
438
451
|
{ no: 100, name: "FORM_TYPE_SALES_INVOICE_FORM" },
|
|
452
|
+
{ no: 105, name: "FORM_TYPE_PROFORMA_INVOICE_FORM" },
|
|
439
453
|
{ no: 110, name: "FORM_TYPE_GOODS_DISPATCH_FORM" },
|
|
440
454
|
{ no: 120, name: "FORM_TYPE_VENDOR_INVOICE_FORM" },
|
|
441
455
|
{ no: 130, name: "FORM_TYPE_GOODS_RECEIPT_FORM" },
|
|
@@ -986,6 +1000,12 @@ var AMENDMENT_LOG_REF_FOR;
|
|
|
986
1000
|
* @generated from enum value: AMENDMENT_LOG_REF_FOR_PURCHASE_ORDER = 2;
|
|
987
1001
|
*/
|
|
988
1002
|
AMENDMENT_LOG_REF_FOR[AMENDMENT_LOG_REF_FOR["AMENDMENT_LOG_REF_FOR_PURCHASE_ORDER"] = 2] = "AMENDMENT_LOG_REF_FOR_PURCHASE_ORDER";
|
|
1003
|
+
/**
|
|
1004
|
+
* Denotes that the log is made while amending a supply offer
|
|
1005
|
+
*
|
|
1006
|
+
* @generated from enum value: AMENDMENT_LOG_REF_FOR_SUPPLY_OFFER = 21;
|
|
1007
|
+
*/
|
|
1008
|
+
AMENDMENT_LOG_REF_FOR[AMENDMENT_LOG_REF_FOR["AMENDMENT_LOG_REF_FOR_SUPPLY_OFFER"] = 21] = "AMENDMENT_LOG_REF_FOR_SUPPLY_OFFER";
|
|
989
1009
|
/**
|
|
990
1010
|
* Denotes that the log is made while amending a sales order
|
|
991
1011
|
*
|
|
@@ -1010,16 +1030,24 @@ var AMENDMENT_LOG_REF_FOR;
|
|
|
1010
1030
|
* @generated from enum value: AMENDMENT_LOG_REF_FOR_SALES_INVOICE = 6;
|
|
1011
1031
|
*/
|
|
1012
1032
|
AMENDMENT_LOG_REF_FOR[AMENDMENT_LOG_REF_FOR["AMENDMENT_LOG_REF_FOR_SALES_INVOICE"] = 6] = "AMENDMENT_LOG_REF_FOR_SALES_INVOICE";
|
|
1033
|
+
/**
|
|
1034
|
+
* Denotes that the log is made while amending a proforma invoice
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from enum value: AMENDMENT_LOG_REF_FOR_PROFORMA_INVOICE = 7;
|
|
1037
|
+
*/
|
|
1038
|
+
AMENDMENT_LOG_REF_FOR[AMENDMENT_LOG_REF_FOR["AMENDMENT_LOG_REF_FOR_PROFORMA_INVOICE"] = 7] = "AMENDMENT_LOG_REF_FOR_PROFORMA_INVOICE";
|
|
1013
1039
|
})(AMENDMENT_LOG_REF_FOR || (exports.AMENDMENT_LOG_REF_FOR = AMENDMENT_LOG_REF_FOR = {}));
|
|
1014
1040
|
// Retrieve enum metadata with: proto3.getEnumType(AMENDMENT_LOG_REF_FOR)
|
|
1015
1041
|
protobuf_1.proto3.util.setEnumType(AMENDMENT_LOG_REF_FOR, "Scailo.AMENDMENT_LOG_REF_FOR", [
|
|
1016
1042
|
{ no: 0, name: "AMENDMENT_LOG_REF_FOR_ANY_UNSPECIFIED" },
|
|
1017
1043
|
{ no: 1, name: "AMENDMENT_LOG_REF_FOR_FAMILY" },
|
|
1018
1044
|
{ no: 2, name: "AMENDMENT_LOG_REF_FOR_PURCHASE_ORDER" },
|
|
1045
|
+
{ no: 21, name: "AMENDMENT_LOG_REF_FOR_SUPPLY_OFFER" },
|
|
1019
1046
|
{ no: 3, name: "AMENDMENT_LOG_REF_FOR_SALES_ORDER" },
|
|
1020
1047
|
{ no: 4, name: "AMENDMENT_LOG_REF_FOR_SALES_ENQUIRY" },
|
|
1021
1048
|
{ no: 5, name: "AMENDMENT_LOG_REF_FOR_SALES_QUOTATION" },
|
|
1022
1049
|
{ no: 6, name: "AMENDMENT_LOG_REF_FOR_SALES_INVOICE" },
|
|
1050
|
+
{ no: 7, name: "AMENDMENT_LOG_REF_FOR_PROFORMA_INVOICE" },
|
|
1023
1051
|
]);
|
|
1024
1052
|
/**
|
|
1025
1053
|
*
|