@kernelminds/scailo-sdk 0.0.115 → 0.0.117
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/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/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/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/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 -2
|
@@ -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");
|
|
@@ -876,6 +876,148 @@ SalesInvoicesServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFieldLi
|
|
|
876
876
|
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
877
877
|
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
878
878
|
]);
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales invoice
|
|
882
|
+
*
|
|
883
|
+
* @generated from message Scailo.SalesInvoicesServiceMultipleItemsSingleton
|
|
884
|
+
*/
|
|
885
|
+
class SalesInvoicesServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
886
|
+
constructor(data) {
|
|
887
|
+
super();
|
|
888
|
+
/**
|
|
889
|
+
* Stores the family ID
|
|
890
|
+
*
|
|
891
|
+
* @generated from field: uint64 family_id = 11;
|
|
892
|
+
*/
|
|
893
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
894
|
+
/**
|
|
895
|
+
* The quantity (in cents) being supplied in internal unit of material
|
|
896
|
+
*
|
|
897
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
898
|
+
*/
|
|
899
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
900
|
+
/**
|
|
901
|
+
* Stores the ID of the client's unit of material
|
|
902
|
+
*
|
|
903
|
+
* @generated from field: uint64 client_uom_id = 13;
|
|
904
|
+
*/
|
|
905
|
+
this.clientUomId = protobuf_1.protoInt64.zero;
|
|
906
|
+
/**
|
|
907
|
+
* Stores the quantity (in cents) being admitted in client's unit of material
|
|
908
|
+
*
|
|
909
|
+
* @generated from field: uint64 client_quantity = 14;
|
|
910
|
+
*/
|
|
911
|
+
this.clientQuantity = protobuf_1.protoInt64.zero;
|
|
912
|
+
/**
|
|
913
|
+
* The family code as represented by the client
|
|
914
|
+
*
|
|
915
|
+
* @generated from field: string client_family_code = 15;
|
|
916
|
+
*/
|
|
917
|
+
this.clientFamilyCode = "";
|
|
918
|
+
/**
|
|
919
|
+
* The unit price of the item (as supplied to the client)
|
|
920
|
+
*
|
|
921
|
+
* @generated from field: uint64 unit_price = 16;
|
|
922
|
+
*/
|
|
923
|
+
this.unitPrice = protobuf_1.protoInt64.zero;
|
|
924
|
+
/**
|
|
925
|
+
* The ID of the associated tax group
|
|
926
|
+
*
|
|
927
|
+
* @generated from field: uint64 tax_group_id = 17;
|
|
928
|
+
*/
|
|
929
|
+
this.taxGroupId = protobuf_1.protoInt64.zero;
|
|
930
|
+
/**
|
|
931
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
932
|
+
*
|
|
933
|
+
* @generated from field: int64 round_off = 18;
|
|
934
|
+
*/
|
|
935
|
+
this.roundOff = protobuf_1.protoInt64.zero;
|
|
936
|
+
/**
|
|
937
|
+
* Optional specifications
|
|
938
|
+
*
|
|
939
|
+
* @generated from field: string specifications = 19;
|
|
940
|
+
*/
|
|
941
|
+
this.specifications = "";
|
|
942
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
943
|
+
}
|
|
944
|
+
static fromBinary(bytes, options) {
|
|
945
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
946
|
+
}
|
|
947
|
+
static fromJson(jsonValue, options) {
|
|
948
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
949
|
+
}
|
|
950
|
+
static fromJsonString(jsonString, options) {
|
|
951
|
+
return new SalesInvoicesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
952
|
+
}
|
|
953
|
+
static equals(a, b) {
|
|
954
|
+
return protobuf_1.proto3.util.equals(SalesInvoicesServiceMultipleItemsSingleton, a, b);
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
exports.SalesInvoicesServiceMultipleItemsSingleton = SalesInvoicesServiceMultipleItemsSingleton;
|
|
958
|
+
SalesInvoicesServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
959
|
+
SalesInvoicesServiceMultipleItemsSingleton.typeName = "Scailo.SalesInvoicesServiceMultipleItemsSingleton";
|
|
960
|
+
SalesInvoicesServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
961
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
962
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
963
|
+
{ no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
964
|
+
{ no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
965
|
+
{ no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
966
|
+
{ no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
967
|
+
{ no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
968
|
+
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
969
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
970
|
+
]);
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* Describes the parameters required to add multiple items to a sales invoice
|
|
974
|
+
*
|
|
975
|
+
* @generated from message Scailo.SalesInvoicesServiceMultipleItemsCreateRequest
|
|
976
|
+
*/
|
|
977
|
+
class SalesInvoicesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
978
|
+
constructor(data) {
|
|
979
|
+
super();
|
|
980
|
+
/**
|
|
981
|
+
* Stores any comment that the user might add during this operation
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: string user_comment = 1;
|
|
984
|
+
*/
|
|
985
|
+
this.userComment = "";
|
|
986
|
+
/**
|
|
987
|
+
* Stores the sales invoice ID
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: uint64 sales_invoice_id = 10;
|
|
990
|
+
*/
|
|
991
|
+
this.salesInvoiceId = protobuf_1.protoInt64.zero;
|
|
992
|
+
/**
|
|
993
|
+
* List of items
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: repeated Scailo.SalesInvoicesServiceMultipleItemsSingleton list = 11;
|
|
996
|
+
*/
|
|
997
|
+
this.list = [];
|
|
998
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
999
|
+
}
|
|
1000
|
+
static fromBinary(bytes, options) {
|
|
1001
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1002
|
+
}
|
|
1003
|
+
static fromJson(jsonValue, options) {
|
|
1004
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1005
|
+
}
|
|
1006
|
+
static fromJsonString(jsonString, options) {
|
|
1007
|
+
return new SalesInvoicesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1008
|
+
}
|
|
1009
|
+
static equals(a, b) {
|
|
1010
|
+
return protobuf_1.proto3.util.equals(SalesInvoicesServiceMultipleItemsCreateRequest, a, b);
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
exports.SalesInvoicesServiceMultipleItemsCreateRequest = SalesInvoicesServiceMultipleItemsCreateRequest;
|
|
1014
|
+
SalesInvoicesServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
1015
|
+
SalesInvoicesServiceMultipleItemsCreateRequest.typeName = "Scailo.SalesInvoicesServiceMultipleItemsCreateRequest";
|
|
1016
|
+
SalesInvoicesServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1017
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1018
|
+
{ no: 10, name: "sales_invoice_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1019
|
+
{ no: 11, name: "list", kind: "message", T: SalesInvoicesServiceMultipleItemsSingleton, repeated: true },
|
|
1020
|
+
]);
|
|
879
1021
|
/**
|
|
880
1022
|
*
|
|
881
1023
|
* 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");
|
|
@@ -1021,6 +1021,162 @@ SalesOrdersServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFieldList
|
|
|
1021
1021
|
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1022
1022
|
{ no: 22, name: "is_invoiceable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1023
1023
|
]);
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales order
|
|
1027
|
+
*
|
|
1028
|
+
* @generated from message Scailo.SalesOrdersServiceMultipleItemsSingleton
|
|
1029
|
+
*/
|
|
1030
|
+
class SalesOrdersServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
1031
|
+
constructor(data) {
|
|
1032
|
+
super();
|
|
1033
|
+
/**
|
|
1034
|
+
* Stores the family ID
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from field: uint64 family_id = 12;
|
|
1037
|
+
*/
|
|
1038
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1039
|
+
/**
|
|
1040
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
1041
|
+
*
|
|
1042
|
+
* @generated from field: uint64 internal_quantity = 13;
|
|
1043
|
+
*/
|
|
1044
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
1045
|
+
/**
|
|
1046
|
+
* Stores the ID of the client's unit of material
|
|
1047
|
+
*
|
|
1048
|
+
* @generated from field: uint64 client_uom_id = 14;
|
|
1049
|
+
*/
|
|
1050
|
+
this.clientUomId = protobuf_1.protoInt64.zero;
|
|
1051
|
+
/**
|
|
1052
|
+
* Stores the quantity (in cents) being ordered in client's unit of material
|
|
1053
|
+
*
|
|
1054
|
+
* @generated from field: uint64 client_quantity = 15;
|
|
1055
|
+
*/
|
|
1056
|
+
this.clientQuantity = protobuf_1.protoInt64.zero;
|
|
1057
|
+
/**
|
|
1058
|
+
* Stores the family code as given by the client
|
|
1059
|
+
*
|
|
1060
|
+
* @generated from field: string client_family_code = 16;
|
|
1061
|
+
*/
|
|
1062
|
+
this.clientFamilyCode = "";
|
|
1063
|
+
/**
|
|
1064
|
+
* The unit price of the item
|
|
1065
|
+
*
|
|
1066
|
+
* @generated from field: uint64 unit_price = 17;
|
|
1067
|
+
*/
|
|
1068
|
+
this.unitPrice = protobuf_1.protoInt64.zero;
|
|
1069
|
+
/**
|
|
1070
|
+
* The ID of the associated tax group
|
|
1071
|
+
*
|
|
1072
|
+
* @generated from field: uint64 tax_group_id = 18;
|
|
1073
|
+
*/
|
|
1074
|
+
this.taxGroupId = protobuf_1.protoInt64.zero;
|
|
1075
|
+
/**
|
|
1076
|
+
* The applicable discount percentage (in cents)
|
|
1077
|
+
*
|
|
1078
|
+
* @generated from field: uint64 discount = 19;
|
|
1079
|
+
*/
|
|
1080
|
+
this.discount = protobuf_1.protoInt64.zero;
|
|
1081
|
+
/**
|
|
1082
|
+
* The delivery date of the item
|
|
1083
|
+
*
|
|
1084
|
+
* @generated from field: string delivery_date = 20;
|
|
1085
|
+
*/
|
|
1086
|
+
this.deliveryDate = "";
|
|
1087
|
+
/**
|
|
1088
|
+
* Optional specifications
|
|
1089
|
+
*
|
|
1090
|
+
* @generated from field: string specifications = 21;
|
|
1091
|
+
*/
|
|
1092
|
+
this.specifications = "";
|
|
1093
|
+
/**
|
|
1094
|
+
* Stores if the item can be invoiced
|
|
1095
|
+
*
|
|
1096
|
+
* @generated from field: bool is_invoiceable = 22;
|
|
1097
|
+
*/
|
|
1098
|
+
this.isInvoiceable = false;
|
|
1099
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1100
|
+
}
|
|
1101
|
+
static fromBinary(bytes, options) {
|
|
1102
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1103
|
+
}
|
|
1104
|
+
static fromJson(jsonValue, options) {
|
|
1105
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1106
|
+
}
|
|
1107
|
+
static fromJsonString(jsonString, options) {
|
|
1108
|
+
return new SalesOrdersServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1109
|
+
}
|
|
1110
|
+
static equals(a, b) {
|
|
1111
|
+
return protobuf_1.proto3.util.equals(SalesOrdersServiceMultipleItemsSingleton, a, b);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
exports.SalesOrdersServiceMultipleItemsSingleton = SalesOrdersServiceMultipleItemsSingleton;
|
|
1115
|
+
SalesOrdersServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
1116
|
+
SalesOrdersServiceMultipleItemsSingleton.typeName = "Scailo.SalesOrdersServiceMultipleItemsSingleton";
|
|
1117
|
+
SalesOrdersServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1118
|
+
{ no: 12, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1119
|
+
{ no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1120
|
+
{ no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1121
|
+
{ no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1122
|
+
{ no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1123
|
+
{ no: 17, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1124
|
+
{ no: 18, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1125
|
+
{ no: 19, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1126
|
+
{ no: 20, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1127
|
+
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1128
|
+
{ no: 22, name: "is_invoiceable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1129
|
+
]);
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* Describes the parameters required to add multiple items to a sales order
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from message Scailo.SalesOrdersServiceMultipleItemsCreateRequest
|
|
1135
|
+
*/
|
|
1136
|
+
class SalesOrdersServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1137
|
+
constructor(data) {
|
|
1138
|
+
super();
|
|
1139
|
+
/**
|
|
1140
|
+
* Stores any comment that the user might add during this operation
|
|
1141
|
+
*
|
|
1142
|
+
* @generated from field: string user_comment = 1;
|
|
1143
|
+
*/
|
|
1144
|
+
this.userComment = "";
|
|
1145
|
+
/**
|
|
1146
|
+
* Stores the sales order ID
|
|
1147
|
+
*
|
|
1148
|
+
* @generated from field: uint64 sales_order_id = 10;
|
|
1149
|
+
*/
|
|
1150
|
+
this.salesOrderId = protobuf_1.protoInt64.zero;
|
|
1151
|
+
/**
|
|
1152
|
+
* List of items
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from field: repeated Scailo.SalesOrdersServiceMultipleItemsSingleton list = 11;
|
|
1155
|
+
*/
|
|
1156
|
+
this.list = [];
|
|
1157
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1158
|
+
}
|
|
1159
|
+
static fromBinary(bytes, options) {
|
|
1160
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1161
|
+
}
|
|
1162
|
+
static fromJson(jsonValue, options) {
|
|
1163
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1164
|
+
}
|
|
1165
|
+
static fromJsonString(jsonString, options) {
|
|
1166
|
+
return new SalesOrdersServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1167
|
+
}
|
|
1168
|
+
static equals(a, b) {
|
|
1169
|
+
return protobuf_1.proto3.util.equals(SalesOrdersServiceMultipleItemsCreateRequest, a, b);
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
exports.SalesOrdersServiceMultipleItemsCreateRequest = SalesOrdersServiceMultipleItemsCreateRequest;
|
|
1173
|
+
SalesOrdersServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
1174
|
+
SalesOrdersServiceMultipleItemsCreateRequest.typeName = "Scailo.SalesOrdersServiceMultipleItemsCreateRequest";
|
|
1175
|
+
SalesOrdersServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1176
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1177
|
+
{ no: 10, name: "sales_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1178
|
+
{ no: 11, name: "list", kind: "message", T: SalesOrdersServiceMultipleItemsSingleton, repeated: true },
|
|
1179
|
+
]);
|
|
1024
1180
|
/**
|
|
1025
1181
|
*
|
|
1026
1182
|
* 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");
|
|
@@ -938,6 +938,155 @@ SalesQuotationsServiceItemCreateRequest.fields = protobuf_1.proto3.util.newField
|
|
|
938
938
|
{ no: 20, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
939
939
|
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
940
940
|
]);
|
|
941
|
+
/**
|
|
942
|
+
*
|
|
943
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a sales quotation
|
|
944
|
+
*
|
|
945
|
+
* @generated from message Scailo.SalesQuotationsServiceMultipleItemsSingleton
|
|
946
|
+
*/
|
|
947
|
+
class SalesQuotationsServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
948
|
+
constructor(data) {
|
|
949
|
+
super();
|
|
950
|
+
/**
|
|
951
|
+
* Stores the family ID
|
|
952
|
+
*
|
|
953
|
+
* @generated from field: uint64 family_id = 12;
|
|
954
|
+
*/
|
|
955
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
956
|
+
/**
|
|
957
|
+
* The quantity (in cents) being quotationed in internal unit of material
|
|
958
|
+
*
|
|
959
|
+
* @generated from field: uint64 internal_quantity = 13;
|
|
960
|
+
*/
|
|
961
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
962
|
+
/**
|
|
963
|
+
* Stores the ID of the client's unit of material
|
|
964
|
+
*
|
|
965
|
+
* @generated from field: uint64 client_uom_id = 14;
|
|
966
|
+
*/
|
|
967
|
+
this.clientUomId = protobuf_1.protoInt64.zero;
|
|
968
|
+
/**
|
|
969
|
+
* Stores the quantity (in cents) being quotationed in client's unit of material
|
|
970
|
+
*
|
|
971
|
+
* @generated from field: uint64 client_quantity = 15;
|
|
972
|
+
*/
|
|
973
|
+
this.clientQuantity = protobuf_1.protoInt64.zero;
|
|
974
|
+
/**
|
|
975
|
+
* Stores the family code as given by the client
|
|
976
|
+
*
|
|
977
|
+
* @generated from field: string client_family_code = 16;
|
|
978
|
+
*/
|
|
979
|
+
this.clientFamilyCode = "";
|
|
980
|
+
/**
|
|
981
|
+
* The unit price of the item
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: uint64 unit_price = 17;
|
|
984
|
+
*/
|
|
985
|
+
this.unitPrice = protobuf_1.protoInt64.zero;
|
|
986
|
+
/**
|
|
987
|
+
* The ID of the associated tax group
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: uint64 tax_group_id = 18;
|
|
990
|
+
*/
|
|
991
|
+
this.taxGroupId = protobuf_1.protoInt64.zero;
|
|
992
|
+
/**
|
|
993
|
+
* The applicable discount percentage (in cents)
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: uint64 discount = 19;
|
|
996
|
+
*/
|
|
997
|
+
this.discount = protobuf_1.protoInt64.zero;
|
|
998
|
+
/**
|
|
999
|
+
* The delivery date of the item
|
|
1000
|
+
*
|
|
1001
|
+
* @generated from field: string delivery_date = 20;
|
|
1002
|
+
*/
|
|
1003
|
+
this.deliveryDate = "";
|
|
1004
|
+
/**
|
|
1005
|
+
* Optional specifications
|
|
1006
|
+
*
|
|
1007
|
+
* @generated from field: string specifications = 21;
|
|
1008
|
+
*/
|
|
1009
|
+
this.specifications = "";
|
|
1010
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1011
|
+
}
|
|
1012
|
+
static fromBinary(bytes, options) {
|
|
1013
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1014
|
+
}
|
|
1015
|
+
static fromJson(jsonValue, options) {
|
|
1016
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1017
|
+
}
|
|
1018
|
+
static fromJsonString(jsonString, options) {
|
|
1019
|
+
return new SalesQuotationsServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1020
|
+
}
|
|
1021
|
+
static equals(a, b) {
|
|
1022
|
+
return protobuf_1.proto3.util.equals(SalesQuotationsServiceMultipleItemsSingleton, a, b);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
exports.SalesQuotationsServiceMultipleItemsSingleton = SalesQuotationsServiceMultipleItemsSingleton;
|
|
1026
|
+
SalesQuotationsServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
1027
|
+
SalesQuotationsServiceMultipleItemsSingleton.typeName = "Scailo.SalesQuotationsServiceMultipleItemsSingleton";
|
|
1028
|
+
SalesQuotationsServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1029
|
+
{ no: 12, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1030
|
+
{ no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1031
|
+
{ no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1032
|
+
{ no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1033
|
+
{ no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1034
|
+
{ no: 17, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1035
|
+
{ no: 18, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1036
|
+
{ no: 19, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1037
|
+
{ no: 20, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1038
|
+
{ no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1039
|
+
]);
|
|
1040
|
+
/**
|
|
1041
|
+
*
|
|
1042
|
+
* Describes the parameters required to add multiple items to a sales quotation
|
|
1043
|
+
*
|
|
1044
|
+
* @generated from message Scailo.SalesQuotationsServiceMultipleItemsCreateRequest
|
|
1045
|
+
*/
|
|
1046
|
+
class SalesQuotationsServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1047
|
+
constructor(data) {
|
|
1048
|
+
super();
|
|
1049
|
+
/**
|
|
1050
|
+
* Stores any comment that the user might add during this operation
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: string user_comment = 1;
|
|
1053
|
+
*/
|
|
1054
|
+
this.userComment = "";
|
|
1055
|
+
/**
|
|
1056
|
+
* Stores the sales quotation ID
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: uint64 sales_quotation_id = 10;
|
|
1059
|
+
*/
|
|
1060
|
+
this.salesQuotationId = protobuf_1.protoInt64.zero;
|
|
1061
|
+
/**
|
|
1062
|
+
* List of items
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: repeated Scailo.SalesQuotationsServiceMultipleItemsSingleton list = 11;
|
|
1065
|
+
*/
|
|
1066
|
+
this.list = [];
|
|
1067
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1068
|
+
}
|
|
1069
|
+
static fromBinary(bytes, options) {
|
|
1070
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1071
|
+
}
|
|
1072
|
+
static fromJson(jsonValue, options) {
|
|
1073
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1074
|
+
}
|
|
1075
|
+
static fromJsonString(jsonString, options) {
|
|
1076
|
+
return new SalesQuotationsServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1077
|
+
}
|
|
1078
|
+
static equals(a, b) {
|
|
1079
|
+
return protobuf_1.proto3.util.equals(SalesQuotationsServiceMultipleItemsCreateRequest, a, b);
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
exports.SalesQuotationsServiceMultipleItemsCreateRequest = SalesQuotationsServiceMultipleItemsCreateRequest;
|
|
1083
|
+
SalesQuotationsServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
1084
|
+
SalesQuotationsServiceMultipleItemsCreateRequest.typeName = "Scailo.SalesQuotationsServiceMultipleItemsCreateRequest";
|
|
1085
|
+
SalesQuotationsServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1086
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1087
|
+
{ no: 10, name: "sales_quotation_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1088
|
+
{ no: 11, name: "list", kind: "message", T: SalesQuotationsServiceMultipleItemsSingleton, repeated: true },
|
|
1089
|
+
]);
|
|
941
1090
|
/**
|
|
942
1091
|
*
|
|
943
1092
|
* 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
|
*
|