@kernelminds/scailo-sdk 0.0.116 → 0.1.0
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/README.md +4 -4
- package/lib/cjs/index.js +321 -321
- package/lib/cjs/src/components.scailo_pb.js +2 -2
- package/lib/cjs/src/credit_notes.scailo_connect.js +11 -0
- package/lib/cjs/src/credit_notes.scailo_pb.js +143 -1
- package/lib/cjs/src/debit_notes.scailo_connect.js +11 -0
- package/lib/cjs/src/debit_notes.scailo_pb.js +136 -1
- package/lib/cjs/src/equipments.scailo_pb.js +2 -2
- package/lib/cjs/src/feedstocks.scailo_pb.js +2 -2
- package/lib/cjs/src/goods_dispatches.scailo_connect.js +11 -0
- package/lib/cjs/src/goods_dispatches.scailo_pb.js +122 -1
- package/lib/cjs/src/goods_receipts.scailo_connect.js +11 -0
- package/lib/cjs/src/goods_receipts.scailo_pb.js +108 -1
- package/lib/cjs/src/infrastructures.scailo_pb.js +2 -2
- package/lib/cjs/src/inventory.scailo_pb.js +1 -1
- package/lib/cjs/src/merchandises.scailo_pb.js +2 -2
- package/lib/cjs/src/products.scailo_pb.js +2 -2
- package/lib/cjs/src/proforma_invoices.scailo_connect.js +11 -0
- package/lib/cjs/src/proforma_invoices.scailo_pb.js +143 -1
- package/lib/cjs/src/purchases_orders.scailo_connect.js +11 -0
- package/lib/cjs/src/purchases_orders.scailo_pb.js +143 -1
- package/lib/cjs/src/sales_invoices.scailo_connect.js +11 -0
- package/lib/cjs/src/sales_invoices.scailo_pb.js +143 -1
- package/lib/cjs/src/sales_orders.scailo_connect.js +11 -0
- package/lib/cjs/src/sales_orders.scailo_pb.js +157 -1
- package/lib/cjs/src/sales_quotations.scailo_connect.js +11 -0
- package/lib/cjs/src/sales_quotations.scailo_pb.js +150 -1
- package/lib/cjs/src/vendor_invoices.scailo_connect.js +11 -0
- package/lib/cjs/src/vendor_invoices.scailo_pb.js +136 -1
- package/lib/cjs/types/index.d.ts +108 -108
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/src/components.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts +104 -0
- package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts +98 -0
- package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/equipments.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
- package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts +74 -0
- package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/inventory.scailo_pb.d.ts +1 -1
- package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/products.scailo_pb.d.ts +2 -2
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts +104 -0
- package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts +104 -0
- package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts +116 -0
- package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts +110 -0
- package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
- package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/index.js +321 -321
- package/lib/esm/src/components.scailo_pb.js +2 -2
- package/lib/esm/src/credit_notes.scailo_connect.js +11 -0
- package/lib/esm/src/credit_notes.scailo_pb.js +143 -1
- package/lib/esm/src/debit_notes.scailo_connect.js +11 -0
- package/lib/esm/src/debit_notes.scailo_pb.js +136 -1
- package/lib/esm/src/equipments.scailo_pb.js +2 -2
- package/lib/esm/src/feedstocks.scailo_pb.js +2 -2
- package/lib/esm/src/goods_dispatches.scailo_connect.js +11 -0
- package/lib/esm/src/goods_dispatches.scailo_pb.js +122 -1
- package/lib/esm/src/goods_receipts.scailo_connect.js +11 -0
- package/lib/esm/src/goods_receipts.scailo_pb.js +108 -1
- package/lib/esm/src/infrastructures.scailo_pb.js +2 -2
- package/lib/esm/src/inventory.scailo_pb.js +1 -1
- package/lib/esm/src/merchandises.scailo_pb.js +2 -2
- package/lib/esm/src/products.scailo_pb.js +2 -2
- package/lib/esm/src/proforma_invoices.scailo_connect.js +11 -0
- package/lib/esm/src/proforma_invoices.scailo_pb.js +143 -1
- package/lib/esm/src/purchases_orders.scailo_connect.js +11 -0
- package/lib/esm/src/purchases_orders.scailo_pb.js +143 -1
- package/lib/esm/src/sales_invoices.scailo_connect.js +11 -0
- package/lib/esm/src/sales_invoices.scailo_pb.js +143 -1
- package/lib/esm/src/sales_orders.scailo_connect.js +11 -0
- package/lib/esm/src/sales_orders.scailo_pb.js +157 -1
- package/lib/esm/src/sales_quotations.scailo_connect.js +11 -0
- package/lib/esm/src/sales_quotations.scailo_pb.js +150 -1
- package/lib/esm/src/vendor_invoices.scailo_connect.js +11 -0
- package/lib/esm/src/vendor_invoices.scailo_pb.js +136 -1
- package/lib/esm/types/index.d.ts +108 -108
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/src/components.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/credit_notes.scailo_pb.d.ts +104 -0
- package/lib/esm/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/debit_notes.scailo_pb.d.ts +98 -0
- package/lib/esm/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/equipments.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
- package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts +74 -0
- package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/inventory.scailo_pb.d.ts +1 -1
- package/lib/esm/types/src/merchandises.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/products.scailo_pb.d.ts +2 -2
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts +104 -0
- package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts +104 -0
- package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_orders.scailo_pb.d.ts +116 -0
- package/lib/esm/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts +110 -0
- package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
- package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = exports.SALES_INVOICE_REF_FROM = void 0;
|
|
7
|
+
exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceMultipleItemsCreateRequest = exports.SalesInvoicesServiceMultipleItemsSingleton = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = exports.SALES_INVOICE_REF_FROM = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
10
10
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
@@ -888,6 +888,148 @@ class SalesInvoicesServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
exports.SalesInvoicesServiceItemCreateRequest = SalesInvoicesServiceItemCreateRequest;
|
|
891
|
+
/**
|
|
892
|
+
*
|
|
893
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales invoice
|
|
894
|
+
*
|
|
895
|
+
* @generated from message Scailo.SalesInvoicesServiceMultipleItemsSingleton
|
|
896
|
+
*/
|
|
897
|
+
class SalesInvoicesServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
898
|
+
/**
|
|
899
|
+
* Stores the family ID
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: uint64 family_id = 11;
|
|
902
|
+
*/
|
|
903
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
904
|
+
/**
|
|
905
|
+
* The quantity (in cents) being supplied in internal unit of material
|
|
906
|
+
*
|
|
907
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
908
|
+
*/
|
|
909
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
910
|
+
/**
|
|
911
|
+
* Stores the ID of the client's unit of material
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: uint64 client_uom_id = 13;
|
|
914
|
+
*/
|
|
915
|
+
clientUomId = protobuf_1.protoInt64.zero;
|
|
916
|
+
/**
|
|
917
|
+
* Stores the quantity (in cents) being admitted in client's unit of material
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: uint64 client_quantity = 14;
|
|
920
|
+
*/
|
|
921
|
+
clientQuantity = protobuf_1.protoInt64.zero;
|
|
922
|
+
/**
|
|
923
|
+
* The family code as represented by the client
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: string client_family_code = 15;
|
|
926
|
+
*/
|
|
927
|
+
clientFamilyCode = "";
|
|
928
|
+
/**
|
|
929
|
+
* The unit price of the item (as supplied to the client)
|
|
930
|
+
*
|
|
931
|
+
* @generated from field: uint64 unit_price = 16;
|
|
932
|
+
*/
|
|
933
|
+
unitPrice = protobuf_1.protoInt64.zero;
|
|
934
|
+
/**
|
|
935
|
+
* The ID of the associated tax group
|
|
936
|
+
*
|
|
937
|
+
* @generated from field: uint64 tax_group_id = 17;
|
|
938
|
+
*/
|
|
939
|
+
taxGroupId = protobuf_1.protoInt64.zero;
|
|
940
|
+
/**
|
|
941
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
942
|
+
*
|
|
943
|
+
* @generated from field: int64 round_off = 18;
|
|
944
|
+
*/
|
|
945
|
+
roundOff = protobuf_1.protoInt64.zero;
|
|
946
|
+
/**
|
|
947
|
+
* Optional specifications
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: string specifications = 19;
|
|
950
|
+
*/
|
|
951
|
+
specifications = "";
|
|
952
|
+
constructor(data) {
|
|
953
|
+
super();
|
|
954
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
955
|
+
}
|
|
956
|
+
static runtime = protobuf_1.proto3;
|
|
957
|
+
static typeName = "Scailo.SalesInvoicesServiceMultipleItemsSingleton";
|
|
958
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
959
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
960
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
961
|
+
{ no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
962
|
+
{ no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
963
|
+
{ no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
964
|
+
{ no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
965
|
+
{ no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
966
|
+
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
967
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
968
|
+
]);
|
|
969
|
+
static fromBinary(bytes, options) {
|
|
970
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
971
|
+
}
|
|
972
|
+
static fromJson(jsonValue, options) {
|
|
973
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
974
|
+
}
|
|
975
|
+
static fromJsonString(jsonString, options) {
|
|
976
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
977
|
+
}
|
|
978
|
+
static equals(a, b) {
|
|
979
|
+
return protobuf_1.proto3.util.equals(SalesInvoicesServiceMultipleItemsSingleton, a, b);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
exports.SalesInvoicesServiceMultipleItemsSingleton = SalesInvoicesServiceMultipleItemsSingleton;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* Describes the parameters required to add multiple items to a sales invoice
|
|
986
|
+
*
|
|
987
|
+
* @generated from message Scailo.SalesInvoicesServiceMultipleItemsCreateRequest
|
|
988
|
+
*/
|
|
989
|
+
class SalesInvoicesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
990
|
+
/**
|
|
991
|
+
* Stores any comment that the user might add during this operation
|
|
992
|
+
*
|
|
993
|
+
* @generated from field: string user_comment = 1;
|
|
994
|
+
*/
|
|
995
|
+
userComment = "";
|
|
996
|
+
/**
|
|
997
|
+
* Stores the sales invoice ID
|
|
998
|
+
*
|
|
999
|
+
* @generated from field: uint64 sales_invoice_id = 10;
|
|
1000
|
+
*/
|
|
1001
|
+
salesInvoiceId = protobuf_1.protoInt64.zero;
|
|
1002
|
+
/**
|
|
1003
|
+
* List of items
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from field: repeated Scailo.SalesInvoicesServiceMultipleItemsSingleton list = 11;
|
|
1006
|
+
*/
|
|
1007
|
+
list = [];
|
|
1008
|
+
constructor(data) {
|
|
1009
|
+
super();
|
|
1010
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1011
|
+
}
|
|
1012
|
+
static runtime = protobuf_1.proto3;
|
|
1013
|
+
static typeName = "Scailo.SalesInvoicesServiceMultipleItemsCreateRequest";
|
|
1014
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1015
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1016
|
+
{ no: 10, name: "sales_invoice_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1017
|
+
{ no: 11, name: "list", kind: "message", T: SalesInvoicesServiceMultipleItemsSingleton, repeated: true },
|
|
1018
|
+
]);
|
|
1019
|
+
static fromBinary(bytes, options) {
|
|
1020
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1021
|
+
}
|
|
1022
|
+
static fromJson(jsonValue, options) {
|
|
1023
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1024
|
+
}
|
|
1025
|
+
static fromJsonString(jsonString, options) {
|
|
1026
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1027
|
+
}
|
|
1028
|
+
static equals(a, b) {
|
|
1029
|
+
return protobuf_1.proto3.util.equals(SalesInvoicesServiceMultipleItemsCreateRequest, a, b);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
exports.SalesInvoicesServiceMultipleItemsCreateRequest = SalesInvoicesServiceMultipleItemsCreateRequest;
|
|
891
1033
|
/**
|
|
892
1034
|
*
|
|
893
1035
|
* Describes the parameters required to update an item in a sales invoice
|
|
@@ -228,6 +228,17 @@ exports.SalesOrdersService = {
|
|
|
228
228
|
O: magic_links_scailo_pb_js_1.MagicLink,
|
|
229
229
|
kind: protobuf_1.MethodKind.Unary,
|
|
230
230
|
},
|
|
231
|
+
/**
|
|
232
|
+
* Add multiple items to a sales order
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.SalesOrdersService.AddMultipleSalesOrderItems
|
|
235
|
+
*/
|
|
236
|
+
addMultipleSalesOrderItems: {
|
|
237
|
+
name: "AddMultipleSalesOrderItems",
|
|
238
|
+
I: sales_orders_scailo_pb_js_1.SalesOrdersServiceMultipleItemsCreateRequest,
|
|
239
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
240
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
241
|
+
},
|
|
231
242
|
/**
|
|
232
243
|
* Add an item to a sales order
|
|
233
244
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.SalesOrderPriceMatchList = exports.SalesOrderPriceMatch = exports.SalesOrderInventoryMatchList = exports.SalesOrderInventoryMatch = exports.SalesOrderBillingStatistics = exports.SalesOrderInventoryStatistics = exports.SalesOrderContactsList = exports.SalesOrderContact = exports.SalesOrdersServiceContactCreateRequest = exports.SalesOrdersServicePaginatedItemsResponse = exports.SalesOrderItemsSearchRequest = exports.SalesOrderReferencesList = exports.SalesOrderReference = exports.SalesOrdersServiceReferenceCreateRequest = exports.SalesOrdersServiceSearchAllReq = exports.SalesOrdersServiceCountReq = exports.SalesOrdersServiceFilterReq = exports.SalesOrdersServicePaginationResponse = exports.SalesOrdersServicePaginationReq = exports.SalesOrderItemProspectiveInfoRequest = exports.SalesOrderItemHistoryRequest = exports.SalesOrderItemsList = exports.SalesOrdersList = exports.SalesOrderItem = exports.SalesOrdersServiceItemUpdateRequest = exports.SalesOrdersServiceItemCreateRequest = exports.SalesOrder = exports.SalesOrderAncillaryParameters = exports.SalesOrdersServiceAutofillRequest = exports.SalesOrdersServiceUpdateRequest = exports.SalesOrdersServiceCreateRequest = exports.SALES_ORDER_ITEM_STATUS = exports.SALES_ORDER_ITEM_SORT_KEY = exports.SALES_ORDER_REFERENCE_REF_FROM = exports.SALES_ORDER_REFERENCE_CONTEXT = exports.SALES_ORDER_SORT_KEY = void 0;
|
|
7
|
+
exports.SalesOrderPriceMatchList = exports.SalesOrderPriceMatch = exports.SalesOrderInventoryMatchList = exports.SalesOrderInventoryMatch = exports.SalesOrderBillingStatistics = exports.SalesOrderInventoryStatistics = exports.SalesOrderContactsList = exports.SalesOrderContact = exports.SalesOrdersServiceContactCreateRequest = exports.SalesOrdersServicePaginatedItemsResponse = exports.SalesOrderItemsSearchRequest = exports.SalesOrderReferencesList = exports.SalesOrderReference = exports.SalesOrdersServiceReferenceCreateRequest = exports.SalesOrdersServiceSearchAllReq = exports.SalesOrdersServiceCountReq = exports.SalesOrdersServiceFilterReq = exports.SalesOrdersServicePaginationResponse = exports.SalesOrdersServicePaginationReq = exports.SalesOrderItemProspectiveInfoRequest = exports.SalesOrderItemHistoryRequest = exports.SalesOrderItemsList = exports.SalesOrdersList = exports.SalesOrderItem = exports.SalesOrdersServiceItemUpdateRequest = exports.SalesOrdersServiceMultipleItemsCreateRequest = exports.SalesOrdersServiceMultipleItemsSingleton = exports.SalesOrdersServiceItemCreateRequest = exports.SalesOrder = exports.SalesOrderAncillaryParameters = exports.SalesOrdersServiceAutofillRequest = exports.SalesOrdersServiceUpdateRequest = exports.SalesOrdersServiceCreateRequest = exports.SALES_ORDER_ITEM_STATUS = exports.SALES_ORDER_ITEM_SORT_KEY = exports.SALES_ORDER_REFERENCE_REF_FROM = exports.SALES_ORDER_REFERENCE_CONTEXT = exports.SALES_ORDER_SORT_KEY = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
10
10
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
@@ -1033,6 +1033,162 @@ class SalesOrdersServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
exports.SalesOrdersServiceItemCreateRequest = SalesOrdersServiceItemCreateRequest;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales order
|
|
1039
|
+
*
|
|
1040
|
+
* @generated from message Scailo.SalesOrdersServiceMultipleItemsSingleton
|
|
1041
|
+
*/
|
|
1042
|
+
class SalesOrdersServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
1043
|
+
/**
|
|
1044
|
+
* Stores the family ID
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from field: uint64 family_id = 12;
|
|
1047
|
+
*/
|
|
1048
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
1049
|
+
/**
|
|
1050
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: uint64 internal_quantity = 13;
|
|
1053
|
+
*/
|
|
1054
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
1055
|
+
/**
|
|
1056
|
+
* Stores the ID of the client's unit of material
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: uint64 client_uom_id = 14;
|
|
1059
|
+
*/
|
|
1060
|
+
clientUomId = protobuf_1.protoInt64.zero;
|
|
1061
|
+
/**
|
|
1062
|
+
* Stores the quantity (in cents) being ordered in client's unit of material
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: uint64 client_quantity = 15;
|
|
1065
|
+
*/
|
|
1066
|
+
clientQuantity = protobuf_1.protoInt64.zero;
|
|
1067
|
+
/**
|
|
1068
|
+
* Stores the family code as given by the client
|
|
1069
|
+
*
|
|
1070
|
+
* @generated from field: string client_family_code = 16;
|
|
1071
|
+
*/
|
|
1072
|
+
clientFamilyCode = "";
|
|
1073
|
+
/**
|
|
1074
|
+
* The unit price of the item
|
|
1075
|
+
*
|
|
1076
|
+
* @generated from field: uint64 unit_price = 17;
|
|
1077
|
+
*/
|
|
1078
|
+
unitPrice = protobuf_1.protoInt64.zero;
|
|
1079
|
+
/**
|
|
1080
|
+
* The ID of the associated tax group
|
|
1081
|
+
*
|
|
1082
|
+
* @generated from field: uint64 tax_group_id = 18;
|
|
1083
|
+
*/
|
|
1084
|
+
taxGroupId = protobuf_1.protoInt64.zero;
|
|
1085
|
+
/**
|
|
1086
|
+
* The applicable discount percentage (in cents)
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from field: uint64 discount = 19;
|
|
1089
|
+
*/
|
|
1090
|
+
discount = protobuf_1.protoInt64.zero;
|
|
1091
|
+
/**
|
|
1092
|
+
* The delivery date of the item
|
|
1093
|
+
*
|
|
1094
|
+
* @generated from field: string delivery_date = 20;
|
|
1095
|
+
*/
|
|
1096
|
+
deliveryDate = "";
|
|
1097
|
+
/**
|
|
1098
|
+
* Optional specifications
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from field: string specifications = 21;
|
|
1101
|
+
*/
|
|
1102
|
+
specifications = "";
|
|
1103
|
+
/**
|
|
1104
|
+
* Stores if the item can be invoiced
|
|
1105
|
+
*
|
|
1106
|
+
* @generated from field: bool is_invoiceable = 22;
|
|
1107
|
+
*/
|
|
1108
|
+
isInvoiceable = false;
|
|
1109
|
+
constructor(data) {
|
|
1110
|
+
super();
|
|
1111
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1112
|
+
}
|
|
1113
|
+
static runtime = protobuf_1.proto3;
|
|
1114
|
+
static typeName = "Scailo.SalesOrdersServiceMultipleItemsSingleton";
|
|
1115
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1116
|
+
{ no: 12, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1117
|
+
{ no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1118
|
+
{ no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1119
|
+
{ no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1120
|
+
{ no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1121
|
+
{ no: 17, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1122
|
+
{ no: 18, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1123
|
+
{ no: 19, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1124
|
+
{ no: 20, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1125
|
+
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1126
|
+
{ no: 22, name: "is_invoiceable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1127
|
+
]);
|
|
1128
|
+
static fromBinary(bytes, options) {
|
|
1129
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1130
|
+
}
|
|
1131
|
+
static fromJson(jsonValue, options) {
|
|
1132
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1133
|
+
}
|
|
1134
|
+
static fromJsonString(jsonString, options) {
|
|
1135
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1136
|
+
}
|
|
1137
|
+
static equals(a, b) {
|
|
1138
|
+
return protobuf_1.proto3.util.equals(SalesOrdersServiceMultipleItemsSingleton, a, b);
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
exports.SalesOrdersServiceMultipleItemsSingleton = SalesOrdersServiceMultipleItemsSingleton;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* Describes the parameters required to add multiple items to a sales order
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from message Scailo.SalesOrdersServiceMultipleItemsCreateRequest
|
|
1147
|
+
*/
|
|
1148
|
+
class SalesOrdersServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1149
|
+
/**
|
|
1150
|
+
* Stores any comment that the user might add during this operation
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: string user_comment = 1;
|
|
1153
|
+
*/
|
|
1154
|
+
userComment = "";
|
|
1155
|
+
/**
|
|
1156
|
+
* Stores the sales order ID
|
|
1157
|
+
*
|
|
1158
|
+
* @generated from field: uint64 sales_order_id = 10;
|
|
1159
|
+
*/
|
|
1160
|
+
salesOrderId = protobuf_1.protoInt64.zero;
|
|
1161
|
+
/**
|
|
1162
|
+
* List of items
|
|
1163
|
+
*
|
|
1164
|
+
* @generated from field: repeated Scailo.SalesOrdersServiceMultipleItemsSingleton list = 11;
|
|
1165
|
+
*/
|
|
1166
|
+
list = [];
|
|
1167
|
+
constructor(data) {
|
|
1168
|
+
super();
|
|
1169
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1170
|
+
}
|
|
1171
|
+
static runtime = protobuf_1.proto3;
|
|
1172
|
+
static typeName = "Scailo.SalesOrdersServiceMultipleItemsCreateRequest";
|
|
1173
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1174
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1175
|
+
{ no: 10, name: "sales_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1176
|
+
{ no: 11, name: "list", kind: "message", T: SalesOrdersServiceMultipleItemsSingleton, repeated: true },
|
|
1177
|
+
]);
|
|
1178
|
+
static fromBinary(bytes, options) {
|
|
1179
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1180
|
+
}
|
|
1181
|
+
static fromJson(jsonValue, options) {
|
|
1182
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1183
|
+
}
|
|
1184
|
+
static fromJsonString(jsonString, options) {
|
|
1185
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1186
|
+
}
|
|
1187
|
+
static equals(a, b) {
|
|
1188
|
+
return protobuf_1.proto3.util.equals(SalesOrdersServiceMultipleItemsCreateRequest, a, b);
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
exports.SalesOrdersServiceMultipleItemsCreateRequest = SalesOrdersServiceMultipleItemsCreateRequest;
|
|
1036
1192
|
/**
|
|
1037
1193
|
*
|
|
1038
1194
|
* Describes the parameters required to update an item in a sales order
|
|
@@ -228,6 +228,17 @@ exports.SalesQuotationsService = {
|
|
|
228
228
|
O: magic_links_scailo_pb_js_1.MagicLink,
|
|
229
229
|
kind: protobuf_1.MethodKind.Unary,
|
|
230
230
|
},
|
|
231
|
+
/**
|
|
232
|
+
* Add multiple items to a sales quotation
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.SalesQuotationsService.AddMultipleSalesQuotationItems
|
|
235
|
+
*/
|
|
236
|
+
addMultipleSalesQuotationItems: {
|
|
237
|
+
name: "AddMultipleSalesQuotationItems",
|
|
238
|
+
I: sales_quotations_scailo_pb_js_1.SalesQuotationsServiceMultipleItemsCreateRequest,
|
|
239
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
240
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
241
|
+
},
|
|
231
242
|
/**
|
|
232
243
|
* Add an item to a sales quotation
|
|
233
244
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.SalesQuotationContactsList = exports.SalesQuotationContact = exports.SalesQuotationsServiceContactCreateRequest = exports.SalesQuotationsServicePaginatedItemsResponse = exports.SalesQuotationItemsSearchRequest = exports.SalesQuotationReferencesList = exports.SalesQuotationReference = exports.SalesQuotationsServiceReferenceCreateRequest = exports.SalesQuotationsServiceSearchAllReq = exports.SalesQuotationsServiceCountReq = exports.SalesQuotationsServiceFilterReq = exports.SalesQuotationsServicePaginationResponse = exports.SalesQuotationsServicePaginationReq = exports.SalesQuotationItemProspectiveInfoRequest = exports.SalesQuotationItemHistoryRequest = exports.SalesQuotationItemsList = exports.SalesQuotationsList = exports.SalesQuotationItem = exports.SalesQuotationsServiceItemUpdateRequest = exports.SalesQuotationsServiceItemCreateRequest = exports.SalesQuotation = exports.SalesQuotationsServiceAutofillRequest = exports.SalesQuotationsServiceUpdateRequest = exports.SalesQuotationsServiceCreateRequest = exports.SALES_QUOTATION_ITEM_STATUS = exports.SALES_QUOTATION_ITEM_SORT_KEY = exports.SALES_QUOTATION_REFERENCE_REF_FROM = exports.SALES_QUOTATION_REFERENCE_CONTEXT = exports.SALES_QUOTATION_SORT_KEY = void 0;
|
|
7
|
+
exports.SalesQuotationContactsList = exports.SalesQuotationContact = exports.SalesQuotationsServiceContactCreateRequest = exports.SalesQuotationsServicePaginatedItemsResponse = exports.SalesQuotationItemsSearchRequest = exports.SalesQuotationReferencesList = exports.SalesQuotationReference = exports.SalesQuotationsServiceReferenceCreateRequest = exports.SalesQuotationsServiceSearchAllReq = exports.SalesQuotationsServiceCountReq = exports.SalesQuotationsServiceFilterReq = exports.SalesQuotationsServicePaginationResponse = exports.SalesQuotationsServicePaginationReq = exports.SalesQuotationItemProspectiveInfoRequest = exports.SalesQuotationItemHistoryRequest = exports.SalesQuotationItemsList = exports.SalesQuotationsList = exports.SalesQuotationItem = exports.SalesQuotationsServiceItemUpdateRequest = exports.SalesQuotationsServiceMultipleItemsCreateRequest = exports.SalesQuotationsServiceMultipleItemsSingleton = exports.SalesQuotationsServiceItemCreateRequest = exports.SalesQuotation = exports.SalesQuotationsServiceAutofillRequest = exports.SalesQuotationsServiceUpdateRequest = exports.SalesQuotationsServiceCreateRequest = exports.SALES_QUOTATION_ITEM_STATUS = exports.SALES_QUOTATION_ITEM_SORT_KEY = exports.SALES_QUOTATION_REFERENCE_REF_FROM = exports.SALES_QUOTATION_REFERENCE_CONTEXT = exports.SALES_QUOTATION_SORT_KEY = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
|
|
10
10
|
const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
|
|
@@ -950,6 +950,155 @@ class SalesQuotationsServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
exports.SalesQuotationsServiceItemCreateRequest = SalesQuotationsServiceItemCreateRequest;
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales quotation
|
|
956
|
+
*
|
|
957
|
+
* @generated from message Scailo.SalesQuotationsServiceMultipleItemsSingleton
|
|
958
|
+
*/
|
|
959
|
+
class SalesQuotationsServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
960
|
+
/**
|
|
961
|
+
* Stores the family ID
|
|
962
|
+
*
|
|
963
|
+
* @generated from field: uint64 family_id = 12;
|
|
964
|
+
*/
|
|
965
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
966
|
+
/**
|
|
967
|
+
* The quantity (in cents) being quotationed in internal unit of material
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: uint64 internal_quantity = 13;
|
|
970
|
+
*/
|
|
971
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
972
|
+
/**
|
|
973
|
+
* Stores the ID of the client's unit of material
|
|
974
|
+
*
|
|
975
|
+
* @generated from field: uint64 client_uom_id = 14;
|
|
976
|
+
*/
|
|
977
|
+
clientUomId = protobuf_1.protoInt64.zero;
|
|
978
|
+
/**
|
|
979
|
+
* Stores the quantity (in cents) being quotationed in client's unit of material
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: uint64 client_quantity = 15;
|
|
982
|
+
*/
|
|
983
|
+
clientQuantity = protobuf_1.protoInt64.zero;
|
|
984
|
+
/**
|
|
985
|
+
* Stores the family code as given by the client
|
|
986
|
+
*
|
|
987
|
+
* @generated from field: string client_family_code = 16;
|
|
988
|
+
*/
|
|
989
|
+
clientFamilyCode = "";
|
|
990
|
+
/**
|
|
991
|
+
* The unit price of the item
|
|
992
|
+
*
|
|
993
|
+
* @generated from field: uint64 unit_price = 17;
|
|
994
|
+
*/
|
|
995
|
+
unitPrice = protobuf_1.protoInt64.zero;
|
|
996
|
+
/**
|
|
997
|
+
* The ID of the associated tax group
|
|
998
|
+
*
|
|
999
|
+
* @generated from field: uint64 tax_group_id = 18;
|
|
1000
|
+
*/
|
|
1001
|
+
taxGroupId = protobuf_1.protoInt64.zero;
|
|
1002
|
+
/**
|
|
1003
|
+
* The applicable discount percentage (in cents)
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from field: uint64 discount = 19;
|
|
1006
|
+
*/
|
|
1007
|
+
discount = protobuf_1.protoInt64.zero;
|
|
1008
|
+
/**
|
|
1009
|
+
* The delivery date of the item
|
|
1010
|
+
*
|
|
1011
|
+
* @generated from field: string delivery_date = 20;
|
|
1012
|
+
*/
|
|
1013
|
+
deliveryDate = "";
|
|
1014
|
+
/**
|
|
1015
|
+
* Optional specifications
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: string specifications = 21;
|
|
1018
|
+
*/
|
|
1019
|
+
specifications = "";
|
|
1020
|
+
constructor(data) {
|
|
1021
|
+
super();
|
|
1022
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1023
|
+
}
|
|
1024
|
+
static runtime = protobuf_1.proto3;
|
|
1025
|
+
static typeName = "Scailo.SalesQuotationsServiceMultipleItemsSingleton";
|
|
1026
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1027
|
+
{ no: 12, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1028
|
+
{ no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1029
|
+
{ no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1030
|
+
{ no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1031
|
+
{ no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1032
|
+
{ no: 17, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1033
|
+
{ no: 18, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1034
|
+
{ no: 19, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1035
|
+
{ no: 20, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1036
|
+
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1037
|
+
]);
|
|
1038
|
+
static fromBinary(bytes, options) {
|
|
1039
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1040
|
+
}
|
|
1041
|
+
static fromJson(jsonValue, options) {
|
|
1042
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1043
|
+
}
|
|
1044
|
+
static fromJsonString(jsonString, options) {
|
|
1045
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1046
|
+
}
|
|
1047
|
+
static equals(a, b) {
|
|
1048
|
+
return protobuf_1.proto3.util.equals(SalesQuotationsServiceMultipleItemsSingleton, a, b);
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
exports.SalesQuotationsServiceMultipleItemsSingleton = SalesQuotationsServiceMultipleItemsSingleton;
|
|
1052
|
+
/**
|
|
1053
|
+
*
|
|
1054
|
+
* Describes the parameters required to add multiple items to a sales quotation
|
|
1055
|
+
*
|
|
1056
|
+
* @generated from message Scailo.SalesQuotationsServiceMultipleItemsCreateRequest
|
|
1057
|
+
*/
|
|
1058
|
+
class SalesQuotationsServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1059
|
+
/**
|
|
1060
|
+
* Stores any comment that the user might add during this operation
|
|
1061
|
+
*
|
|
1062
|
+
* @generated from field: string user_comment = 1;
|
|
1063
|
+
*/
|
|
1064
|
+
userComment = "";
|
|
1065
|
+
/**
|
|
1066
|
+
* Stores the sales quotation ID
|
|
1067
|
+
*
|
|
1068
|
+
* @generated from field: uint64 sales_quotation_id = 10;
|
|
1069
|
+
*/
|
|
1070
|
+
salesQuotationId = protobuf_1.protoInt64.zero;
|
|
1071
|
+
/**
|
|
1072
|
+
* List of items
|
|
1073
|
+
*
|
|
1074
|
+
* @generated from field: repeated Scailo.SalesQuotationsServiceMultipleItemsSingleton list = 11;
|
|
1075
|
+
*/
|
|
1076
|
+
list = [];
|
|
1077
|
+
constructor(data) {
|
|
1078
|
+
super();
|
|
1079
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1080
|
+
}
|
|
1081
|
+
static runtime = protobuf_1.proto3;
|
|
1082
|
+
static typeName = "Scailo.SalesQuotationsServiceMultipleItemsCreateRequest";
|
|
1083
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1084
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1085
|
+
{ no: 10, name: "sales_quotation_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1086
|
+
{ no: 11, name: "list", kind: "message", T: SalesQuotationsServiceMultipleItemsSingleton, repeated: true },
|
|
1087
|
+
]);
|
|
1088
|
+
static fromBinary(bytes, options) {
|
|
1089
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1090
|
+
}
|
|
1091
|
+
static fromJson(jsonValue, options) {
|
|
1092
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1093
|
+
}
|
|
1094
|
+
static fromJsonString(jsonString, options) {
|
|
1095
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1096
|
+
}
|
|
1097
|
+
static equals(a, b) {
|
|
1098
|
+
return protobuf_1.proto3.util.equals(SalesQuotationsServiceMultipleItemsCreateRequest, a, b);
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
exports.SalesQuotationsServiceMultipleItemsCreateRequest = SalesQuotationsServiceMultipleItemsCreateRequest;
|
|
953
1102
|
/**
|
|
954
1103
|
*
|
|
955
1104
|
* Describes the parameters required to update an item in a sales quotation
|
|
@@ -228,6 +228,17 @@ exports.VendorInvoicesService = {
|
|
|
228
228
|
O: magic_links_scailo_pb_js_1.MagicLink,
|
|
229
229
|
kind: protobuf_1.MethodKind.Unary,
|
|
230
230
|
},
|
|
231
|
+
/**
|
|
232
|
+
* Add multiple items to a vendor invoice
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.VendorInvoicesService.AddMultipleVendorInvoiceItems
|
|
235
|
+
*/
|
|
236
|
+
addMultipleVendorInvoiceItems: {
|
|
237
|
+
name: "AddMultipleVendorInvoiceItems",
|
|
238
|
+
I: vendor_invoices_scailo_pb_js_1.VendorInvoicesServiceMultipleItemsCreateRequest,
|
|
239
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
240
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
241
|
+
},
|
|
231
242
|
/**
|
|
232
243
|
* Add an item to a vendor invoice
|
|
233
244
|
*
|