@kernelminds/scailo-sdk 0.0.116 → 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 +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.GoodsReceiptsServiceSearchAllReq = exports.GoodsReceiptsServiceCountReq = exports.GoodsReceiptsServiceFilterReq = exports.GoodsReceiptsServicePaginationResponse = exports.GoodsReceiptsServicePaginationReq = exports.GoodsReceiptsServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsReceiptsServicePaginatedItemsResponse = exports.GoodsReceiptItemsSearchRequest = exports.GoodsReceiptItemProspectiveInfoRequest = exports.GoodsReceiptItemHistoryRequest = exports.GoodsReceiptsItemsList = exports.GoodsReceiptsList = exports.GoodsReceiptItem = exports.GoodsReceiptsServiceItemUpdateRequest = exports.GoodsReceiptsServiceItemCreateRequest = exports.GoodsReceipt = exports.GoodsReceiptAncillaryParameters = exports.GoodsReceiptsServiceAutofillRequest = exports.GoodsReceiptsServiceUpdateRequest = exports.GoodsReceiptsServiceCreateRequest = exports.GOODS_RECEIPT_BILLING_STATUS = exports.GOODS_RECEIPT_SORT_KEY = exports.GOODS_RECEIPT_ITEM_STATUS = exports.GOODS_RECEIPT_ITEM_SORT_KEY = exports.GOODS_RECEIPT_REF_FROM = void 0;
|
|
7
|
+
exports.GoodsReceiptsServiceSearchAllReq = exports.GoodsReceiptsServiceCountReq = exports.GoodsReceiptsServiceFilterReq = exports.GoodsReceiptsServicePaginationResponse = exports.GoodsReceiptsServicePaginationReq = exports.GoodsReceiptsServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsReceiptsServicePaginatedItemsResponse = exports.GoodsReceiptItemsSearchRequest = exports.GoodsReceiptItemProspectiveInfoRequest = exports.GoodsReceiptItemHistoryRequest = exports.GoodsReceiptsItemsList = exports.GoodsReceiptsList = exports.GoodsReceiptItem = exports.GoodsReceiptsServiceItemUpdateRequest = exports.GoodsReceiptsServiceMultipleItemsCreateRequest = exports.GoodsReceiptsServiceMultipleItemsSingleton = exports.GoodsReceiptsServiceItemCreateRequest = exports.GoodsReceipt = exports.GoodsReceiptAncillaryParameters = exports.GoodsReceiptsServiceAutofillRequest = exports.GoodsReceiptsServiceUpdateRequest = exports.GoodsReceiptsServiceCreateRequest = exports.GOODS_RECEIPT_BILLING_STATUS = exports.GOODS_RECEIPT_SORT_KEY = exports.GOODS_RECEIPT_ITEM_STATUS = exports.GOODS_RECEIPT_ITEM_SORT_KEY = exports.GOODS_RECEIPT_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");
|
|
@@ -720,6 +720,113 @@ GoodsReceiptsServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFieldLi
|
|
|
720
720
|
{ no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
721
721
|
{ no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
722
722
|
]);
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a goods receipt
|
|
726
|
+
*
|
|
727
|
+
* @generated from message Scailo.GoodsReceiptsServiceMultipleItemsSingleton
|
|
728
|
+
*/
|
|
729
|
+
class GoodsReceiptsServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
730
|
+
constructor(data) {
|
|
731
|
+
super();
|
|
732
|
+
/**
|
|
733
|
+
* Stores the family ID
|
|
734
|
+
*
|
|
735
|
+
* @generated from field: uint64 family_id = 11;
|
|
736
|
+
*/
|
|
737
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
738
|
+
/**
|
|
739
|
+
* The quantity (in cents) being admitted in internal unit of material
|
|
740
|
+
*
|
|
741
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
742
|
+
*/
|
|
743
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
744
|
+
/**
|
|
745
|
+
* Stores the ID of the vendor's unit of material
|
|
746
|
+
*
|
|
747
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
748
|
+
*/
|
|
749
|
+
this.vendorUomId = protobuf_1.protoInt64.zero;
|
|
750
|
+
/**
|
|
751
|
+
* Stores the quantity (in cents) being admitted in vendor's unit of material
|
|
752
|
+
*
|
|
753
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
754
|
+
*/
|
|
755
|
+
this.vendorQuantity = protobuf_1.protoInt64.zero;
|
|
756
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
757
|
+
}
|
|
758
|
+
static fromBinary(bytes, options) {
|
|
759
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
760
|
+
}
|
|
761
|
+
static fromJson(jsonValue, options) {
|
|
762
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
763
|
+
}
|
|
764
|
+
static fromJsonString(jsonString, options) {
|
|
765
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
766
|
+
}
|
|
767
|
+
static equals(a, b) {
|
|
768
|
+
return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsSingleton, a, b);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
exports.GoodsReceiptsServiceMultipleItemsSingleton = GoodsReceiptsServiceMultipleItemsSingleton;
|
|
772
|
+
GoodsReceiptsServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
773
|
+
GoodsReceiptsServiceMultipleItemsSingleton.typeName = "Scailo.GoodsReceiptsServiceMultipleItemsSingleton";
|
|
774
|
+
GoodsReceiptsServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
775
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
776
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
777
|
+
{ no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
778
|
+
{ no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
779
|
+
]);
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* Describes the parameters required to add multiple items to a goods receipt
|
|
783
|
+
*
|
|
784
|
+
* @generated from message Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest
|
|
785
|
+
*/
|
|
786
|
+
class GoodsReceiptsServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
787
|
+
constructor(data) {
|
|
788
|
+
super();
|
|
789
|
+
/**
|
|
790
|
+
* Stores any comment that the user might add during this operation
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: string user_comment = 1;
|
|
793
|
+
*/
|
|
794
|
+
this.userComment = "";
|
|
795
|
+
/**
|
|
796
|
+
* Stores the goods receipt ID
|
|
797
|
+
*
|
|
798
|
+
* @generated from field: uint64 goods_receipt_id = 10;
|
|
799
|
+
*/
|
|
800
|
+
this.goodsReceiptId = protobuf_1.protoInt64.zero;
|
|
801
|
+
/**
|
|
802
|
+
* List of items
|
|
803
|
+
*
|
|
804
|
+
* @generated from field: repeated Scailo.GoodsReceiptsServiceMultipleItemsSingleton list = 11;
|
|
805
|
+
*/
|
|
806
|
+
this.list = [];
|
|
807
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
808
|
+
}
|
|
809
|
+
static fromBinary(bytes, options) {
|
|
810
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
811
|
+
}
|
|
812
|
+
static fromJson(jsonValue, options) {
|
|
813
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
814
|
+
}
|
|
815
|
+
static fromJsonString(jsonString, options) {
|
|
816
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
817
|
+
}
|
|
818
|
+
static equals(a, b) {
|
|
819
|
+
return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsCreateRequest, a, b);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
exports.GoodsReceiptsServiceMultipleItemsCreateRequest = GoodsReceiptsServiceMultipleItemsCreateRequest;
|
|
823
|
+
GoodsReceiptsServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
824
|
+
GoodsReceiptsServiceMultipleItemsCreateRequest.typeName = "Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest";
|
|
825
|
+
GoodsReceiptsServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
826
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
827
|
+
{ no: 10, name: "goods_receipt_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
828
|
+
{ no: 11, name: "list", kind: "message", T: GoodsReceiptsServiceMultipleItemsSingleton, repeated: true },
|
|
829
|
+
]);
|
|
723
830
|
/**
|
|
724
831
|
*
|
|
725
832
|
* Describes the parameters required to update an item in a goods receipt
|
|
@@ -942,7 +942,7 @@ class InfrastructuresServiceFilterReq extends protobuf_1.Message {
|
|
|
942
942
|
*/
|
|
943
943
|
this.code = "";
|
|
944
944
|
/**
|
|
945
|
-
*
|
|
945
|
+
* Filter by the exact internal code
|
|
946
946
|
*
|
|
947
947
|
* @generated from field: string internal_item_code = 35;
|
|
948
948
|
*/
|
|
@@ -1194,7 +1194,7 @@ class InfrastructuresServiceCountReq extends protobuf_1.Message {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
this.code = "";
|
|
1196
1196
|
/**
|
|
1197
|
-
*
|
|
1197
|
+
* Filter by the exact internal code
|
|
1198
1198
|
*
|
|
1199
1199
|
* @generated from field: string internal_item_code = 35;
|
|
1200
1200
|
*/
|
|
@@ -1008,7 +1008,7 @@ class FilterReturnableInventoryReq extends protobuf_1.Message {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
this.code = "";
|
|
1010
1010
|
/**
|
|
1011
|
-
*
|
|
1011
|
+
* Filter by the exact internal code
|
|
1012
1012
|
*
|
|
1013
1013
|
* @generated from field: string internal_item_code = 35;
|
|
1014
1014
|
*/
|
|
@@ -942,7 +942,7 @@ class MerchandisesServiceFilterReq extends protobuf_1.Message {
|
|
|
942
942
|
*/
|
|
943
943
|
this.code = "";
|
|
944
944
|
/**
|
|
945
|
-
*
|
|
945
|
+
* Filter by the exact internal code
|
|
946
946
|
*
|
|
947
947
|
* @generated from field: string internal_item_code = 35;
|
|
948
948
|
*/
|
|
@@ -1194,7 +1194,7 @@ class MerchandisesServiceCountReq extends protobuf_1.Message {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
this.code = "";
|
|
1196
1196
|
/**
|
|
1197
|
-
*
|
|
1197
|
+
* Filter by the exact internal code
|
|
1198
1198
|
*
|
|
1199
1199
|
* @generated from field: string internal_item_code = 35;
|
|
1200
1200
|
*/
|
|
@@ -935,7 +935,7 @@ class ProductsServiceFilterReq extends protobuf_1.Message {
|
|
|
935
935
|
*/
|
|
936
936
|
this.code = "";
|
|
937
937
|
/**
|
|
938
|
-
*
|
|
938
|
+
* Filter by the exact internal code
|
|
939
939
|
*
|
|
940
940
|
* @generated from field: string internal_item_code = 35;
|
|
941
941
|
*/
|
|
@@ -1178,7 +1178,7 @@ class ProductsServiceCountReq extends protobuf_1.Message {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
this.code = "";
|
|
1180
1180
|
/**
|
|
1181
|
-
*
|
|
1181
|
+
* Filter by the exact internal code
|
|
1182
1182
|
*
|
|
1183
1183
|
* @generated from field: string internal_item_code = 35;
|
|
1184
1184
|
*/
|
|
@@ -228,6 +228,17 @@ exports.ProformaInvoicesService = {
|
|
|
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 proforma invoice
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.ProformaInvoicesService.AddMultipleProformaInvoiceItems
|
|
235
|
+
*/
|
|
236
|
+
addMultipleProformaInvoiceItems: {
|
|
237
|
+
name: "AddMultipleProformaInvoiceItems",
|
|
238
|
+
I: proforma_invoices_scailo_pb_js_1.ProformaInvoicesServiceMultipleItemsCreateRequest,
|
|
239
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
240
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
241
|
+
},
|
|
231
242
|
/**
|
|
232
243
|
* Add an item to a proforma invoice
|
|
233
244
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_REF_FROM = void 0;
|
|
7
|
+
exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceMultipleItemsCreateRequest = exports.ProformaInvoicesServiceMultipleItemsSingleton = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_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");
|
|
@@ -909,6 +909,148 @@ ProformaInvoicesServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFiel
|
|
|
909
909
|
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
910
910
|
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
911
911
|
]);
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a proforma invoice
|
|
915
|
+
*
|
|
916
|
+
* @generated from message Scailo.ProformaInvoicesServiceMultipleItemsSingleton
|
|
917
|
+
*/
|
|
918
|
+
class ProformaInvoicesServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
919
|
+
constructor(data) {
|
|
920
|
+
super();
|
|
921
|
+
/**
|
|
922
|
+
* Stores the family ID
|
|
923
|
+
*
|
|
924
|
+
* @generated from field: uint64 family_id = 11;
|
|
925
|
+
*/
|
|
926
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
927
|
+
/**
|
|
928
|
+
* The quantity (in cents) being supplied in internal unit of material
|
|
929
|
+
*
|
|
930
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
931
|
+
*/
|
|
932
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
933
|
+
/**
|
|
934
|
+
* Stores the ID of the client's unit of material
|
|
935
|
+
*
|
|
936
|
+
* @generated from field: uint64 client_uom_id = 13;
|
|
937
|
+
*/
|
|
938
|
+
this.clientUomId = protobuf_1.protoInt64.zero;
|
|
939
|
+
/**
|
|
940
|
+
* Stores the quantity (in cents) being admitted in client's unit of material
|
|
941
|
+
*
|
|
942
|
+
* @generated from field: uint64 client_quantity = 14;
|
|
943
|
+
*/
|
|
944
|
+
this.clientQuantity = protobuf_1.protoInt64.zero;
|
|
945
|
+
/**
|
|
946
|
+
* The family code as represented by the client
|
|
947
|
+
*
|
|
948
|
+
* @generated from field: string client_family_code = 15;
|
|
949
|
+
*/
|
|
950
|
+
this.clientFamilyCode = "";
|
|
951
|
+
/**
|
|
952
|
+
* The unit price of the item (as supplied to the client)
|
|
953
|
+
*
|
|
954
|
+
* @generated from field: uint64 unit_price = 16;
|
|
955
|
+
*/
|
|
956
|
+
this.unitPrice = protobuf_1.protoInt64.zero;
|
|
957
|
+
/**
|
|
958
|
+
* The ID of the associated tax group
|
|
959
|
+
*
|
|
960
|
+
* @generated from field: uint64 tax_group_id = 17;
|
|
961
|
+
*/
|
|
962
|
+
this.taxGroupId = protobuf_1.protoInt64.zero;
|
|
963
|
+
/**
|
|
964
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
965
|
+
*
|
|
966
|
+
* @generated from field: int64 round_off = 18;
|
|
967
|
+
*/
|
|
968
|
+
this.roundOff = protobuf_1.protoInt64.zero;
|
|
969
|
+
/**
|
|
970
|
+
* Optional specifications
|
|
971
|
+
*
|
|
972
|
+
* @generated from field: string specifications = 19;
|
|
973
|
+
*/
|
|
974
|
+
this.specifications = "";
|
|
975
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
976
|
+
}
|
|
977
|
+
static fromBinary(bytes, options) {
|
|
978
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
979
|
+
}
|
|
980
|
+
static fromJson(jsonValue, options) {
|
|
981
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
982
|
+
}
|
|
983
|
+
static fromJsonString(jsonString, options) {
|
|
984
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
985
|
+
}
|
|
986
|
+
static equals(a, b) {
|
|
987
|
+
return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsSingleton, a, b);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
exports.ProformaInvoicesServiceMultipleItemsSingleton = ProformaInvoicesServiceMultipleItemsSingleton;
|
|
991
|
+
ProformaInvoicesServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
992
|
+
ProformaInvoicesServiceMultipleItemsSingleton.typeName = "Scailo.ProformaInvoicesServiceMultipleItemsSingleton";
|
|
993
|
+
ProformaInvoicesServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
994
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
995
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
996
|
+
{ no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
997
|
+
{ no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
998
|
+
{ no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
999
|
+
{ no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1000
|
+
{ no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1001
|
+
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1002
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1003
|
+
]);
|
|
1004
|
+
/**
|
|
1005
|
+
*
|
|
1006
|
+
* Describes the parameters required to add multiple items to a proforma invoice
|
|
1007
|
+
*
|
|
1008
|
+
* @generated from message Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest
|
|
1009
|
+
*/
|
|
1010
|
+
class ProformaInvoicesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1011
|
+
constructor(data) {
|
|
1012
|
+
super();
|
|
1013
|
+
/**
|
|
1014
|
+
* Stores any comment that the user might add during this operation
|
|
1015
|
+
*
|
|
1016
|
+
* @generated from field: string user_comment = 1;
|
|
1017
|
+
*/
|
|
1018
|
+
this.userComment = "";
|
|
1019
|
+
/**
|
|
1020
|
+
* Stores the proforma invoice ID
|
|
1021
|
+
*
|
|
1022
|
+
* @generated from field: uint64 proforma_invoice_id = 10;
|
|
1023
|
+
*/
|
|
1024
|
+
this.proformaInvoiceId = protobuf_1.protoInt64.zero;
|
|
1025
|
+
/**
|
|
1026
|
+
* List of items
|
|
1027
|
+
*
|
|
1028
|
+
* @generated from field: repeated Scailo.ProformaInvoicesServiceMultipleItemsSingleton list = 11;
|
|
1029
|
+
*/
|
|
1030
|
+
this.list = [];
|
|
1031
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1032
|
+
}
|
|
1033
|
+
static fromBinary(bytes, options) {
|
|
1034
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1035
|
+
}
|
|
1036
|
+
static fromJson(jsonValue, options) {
|
|
1037
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1038
|
+
}
|
|
1039
|
+
static fromJsonString(jsonString, options) {
|
|
1040
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1041
|
+
}
|
|
1042
|
+
static equals(a, b) {
|
|
1043
|
+
return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsCreateRequest, a, b);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
exports.ProformaInvoicesServiceMultipleItemsCreateRequest = ProformaInvoicesServiceMultipleItemsCreateRequest;
|
|
1047
|
+
ProformaInvoicesServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
1048
|
+
ProformaInvoicesServiceMultipleItemsCreateRequest.typeName = "Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest";
|
|
1049
|
+
ProformaInvoicesServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1050
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1051
|
+
{ no: 10, name: "proforma_invoice_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1052
|
+
{ no: 11, name: "list", kind: "message", T: ProformaInvoicesServiceMultipleItemsSingleton, repeated: true },
|
|
1053
|
+
]);
|
|
912
1054
|
/**
|
|
913
1055
|
*
|
|
914
1056
|
* Describes the parameters required to update an item in a proforma invoice
|
|
@@ -228,6 +228,17 @@ exports.PurchasesOrdersService = {
|
|
|
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 purchase order
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.PurchasesOrdersService.AddMultiplePurchaseOrderItems
|
|
235
|
+
*/
|
|
236
|
+
addMultiplePurchaseOrderItems: {
|
|
237
|
+
name: "AddMultiplePurchaseOrderItems",
|
|
238
|
+
I: purchases_orders_scailo_pb_js_1.PurchasesOrdersServiceMultipleItemsCreateRequest,
|
|
239
|
+
O: base_scailo_pb_js_1.IdentifierResponse,
|
|
240
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
241
|
+
},
|
|
231
242
|
/**
|
|
232
243
|
* Add an item to a purchase 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.PurchaseOrderPriceMatchList = exports.PurchaseOrderPriceMatch = exports.PurchaseOrderInventoryMatchList = exports.PurchaseOrderInventoryMatch = exports.PurchaseOrderBillingStatistics = exports.PurchaseOrderInventoryStatistics = exports.PurchaseOrderContactsList = exports.PurchaseOrderContact = exports.PurchasesOrdersServiceContactCreateRequest = exports.PurchasesOrdersServicePaginatedItemsResponse = exports.PurchaseOrderItemsSearchRequest = exports.PurchaseOrderReferencesList = exports.PurchaseOrderReference = exports.PurchasesOrdersServiceReferenceCreateRequest = exports.PurchasesOrdersServiceSearchAllReq = exports.PurchasesOrdersServiceCountReq = exports.PurchasesOrdersServiceFilterReq = exports.PurchasesOrdersServicePaginationResponse = exports.PurchasesOrdersServicePaginationReq = exports.PurchaseOrderItemProspectiveInfoRequest = exports.PurchaseOrderItemHistoryRequest = exports.PurchaseOrderItemsList = exports.PurchasesOrdersList = exports.PurchaseOrderItem = exports.PurchasesOrdersServiceItemUpdateRequest = exports.PurchasesOrdersServiceItemCreateRequest = exports.PurchaseOrder = exports.PurchaseOrderAncillaryParameters = exports.PurchasesOrdersServiceAutofillRequest = exports.PurchasesOrdersServiceUpdateRequest = exports.PurchasesOrdersServiceCreateRequest = exports.PURCHASE_ORDER_ITEM_STATUS = exports.PURCHASE_ORDER_ITEM_SORT_KEY = exports.PURCHASE_ORDER_REFERENCE_REF_FROM = exports.PURCHASE_ORDER_REFERENCE_CONTEXT = exports.PURCHASE_ORDER_SORT_KEY = void 0;
|
|
7
|
+
exports.PurchaseOrderPriceMatchList = exports.PurchaseOrderPriceMatch = exports.PurchaseOrderInventoryMatchList = exports.PurchaseOrderInventoryMatch = exports.PurchaseOrderBillingStatistics = exports.PurchaseOrderInventoryStatistics = exports.PurchaseOrderContactsList = exports.PurchaseOrderContact = exports.PurchasesOrdersServiceContactCreateRequest = exports.PurchasesOrdersServicePaginatedItemsResponse = exports.PurchaseOrderItemsSearchRequest = exports.PurchaseOrderReferencesList = exports.PurchaseOrderReference = exports.PurchasesOrdersServiceReferenceCreateRequest = exports.PurchasesOrdersServiceSearchAllReq = exports.PurchasesOrdersServiceCountReq = exports.PurchasesOrdersServiceFilterReq = exports.PurchasesOrdersServicePaginationResponse = exports.PurchasesOrdersServicePaginationReq = exports.PurchaseOrderItemProspectiveInfoRequest = exports.PurchaseOrderItemHistoryRequest = exports.PurchaseOrderItemsList = exports.PurchasesOrdersList = exports.PurchaseOrderItem = exports.PurchasesOrdersServiceItemUpdateRequest = exports.PurchasesOrdersServiceMultipleItemsCreateRequest = exports.PurchasesOrdersServiceMultipleItemsSingleton = exports.PurchasesOrdersServiceItemCreateRequest = exports.PurchaseOrder = exports.PurchaseOrderAncillaryParameters = exports.PurchasesOrdersServiceAutofillRequest = exports.PurchasesOrdersServiceUpdateRequest = exports.PurchasesOrdersServiceCreateRequest = exports.PURCHASE_ORDER_ITEM_STATUS = exports.PURCHASE_ORDER_ITEM_SORT_KEY = exports.PURCHASE_ORDER_REFERENCE_REF_FROM = exports.PURCHASE_ORDER_REFERENCE_CONTEXT = exports.PURCHASE_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");
|
|
@@ -1042,6 +1042,148 @@ PurchasesOrdersServiceItemCreateRequest.fields = protobuf_1.proto3.util.newField
|
|
|
1042
1042
|
{ no: 18, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1043
1043
|
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1044
1044
|
]);
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a purchase order
|
|
1048
|
+
*
|
|
1049
|
+
* @generated from message Scailo.PurchasesOrdersServiceMultipleItemsSingleton
|
|
1050
|
+
*/
|
|
1051
|
+
class PurchasesOrdersServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
1052
|
+
constructor(data) {
|
|
1053
|
+
super();
|
|
1054
|
+
/**
|
|
1055
|
+
* Stores the family ID
|
|
1056
|
+
*
|
|
1057
|
+
* @generated from field: uint64 family_id = 11;
|
|
1058
|
+
*/
|
|
1059
|
+
this.familyId = protobuf_1.protoInt64.zero;
|
|
1060
|
+
/**
|
|
1061
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
1062
|
+
*
|
|
1063
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
1064
|
+
*/
|
|
1065
|
+
this.internalQuantity = protobuf_1.protoInt64.zero;
|
|
1066
|
+
/**
|
|
1067
|
+
* Stores the ID of the vendor's unit of material
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
1070
|
+
*/
|
|
1071
|
+
this.vendorUomId = protobuf_1.protoInt64.zero;
|
|
1072
|
+
/**
|
|
1073
|
+
* Stores the quantity (in cents) being ordered in vendor's unit of material
|
|
1074
|
+
*
|
|
1075
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
1076
|
+
*/
|
|
1077
|
+
this.vendorQuantity = protobuf_1.protoInt64.zero;
|
|
1078
|
+
/**
|
|
1079
|
+
* The unit price of the item (as supplied by the vendor)
|
|
1080
|
+
*
|
|
1081
|
+
* @generated from field: uint64 vendor_unit_price = 15;
|
|
1082
|
+
*/
|
|
1083
|
+
this.vendorUnitPrice = protobuf_1.protoInt64.zero;
|
|
1084
|
+
/**
|
|
1085
|
+
* The ID of the associated tax group
|
|
1086
|
+
*
|
|
1087
|
+
* @generated from field: uint64 tax_group_id = 16;
|
|
1088
|
+
*/
|
|
1089
|
+
this.taxGroupId = protobuf_1.protoInt64.zero;
|
|
1090
|
+
/**
|
|
1091
|
+
* The applicable discount percentage (in cents)
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from field: uint64 discount = 17;
|
|
1094
|
+
*/
|
|
1095
|
+
this.discount = protobuf_1.protoInt64.zero;
|
|
1096
|
+
/**
|
|
1097
|
+
* The delivery date of the item
|
|
1098
|
+
*
|
|
1099
|
+
* @generated from field: string delivery_date = 18;
|
|
1100
|
+
*/
|
|
1101
|
+
this.deliveryDate = "";
|
|
1102
|
+
/**
|
|
1103
|
+
* Optional specifications
|
|
1104
|
+
*
|
|
1105
|
+
* @generated from field: string specifications = 19;
|
|
1106
|
+
*/
|
|
1107
|
+
this.specifications = "";
|
|
1108
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1109
|
+
}
|
|
1110
|
+
static fromBinary(bytes, options) {
|
|
1111
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1112
|
+
}
|
|
1113
|
+
static fromJson(jsonValue, options) {
|
|
1114
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1115
|
+
}
|
|
1116
|
+
static fromJsonString(jsonString, options) {
|
|
1117
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1118
|
+
}
|
|
1119
|
+
static equals(a, b) {
|
|
1120
|
+
return protobuf_1.proto3.util.equals(PurchasesOrdersServiceMultipleItemsSingleton, a, b);
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
exports.PurchasesOrdersServiceMultipleItemsSingleton = PurchasesOrdersServiceMultipleItemsSingleton;
|
|
1124
|
+
PurchasesOrdersServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
|
|
1125
|
+
PurchasesOrdersServiceMultipleItemsSingleton.typeName = "Scailo.PurchasesOrdersServiceMultipleItemsSingleton";
|
|
1126
|
+
PurchasesOrdersServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1127
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1128
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1129
|
+
{ no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1130
|
+
{ no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1131
|
+
{ no: 15, name: "vendor_unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1132
|
+
{ no: 16, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1133
|
+
{ no: 17, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1134
|
+
{ no: 18, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1135
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1136
|
+
]);
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* Describes the parameters required to add multiple items to a purchase order
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from message Scailo.PurchasesOrdersServiceMultipleItemsCreateRequest
|
|
1142
|
+
*/
|
|
1143
|
+
class PurchasesOrdersServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1144
|
+
constructor(data) {
|
|
1145
|
+
super();
|
|
1146
|
+
/**
|
|
1147
|
+
* Stores any comment that the user might add during this operation
|
|
1148
|
+
*
|
|
1149
|
+
* @generated from field: string user_comment = 1;
|
|
1150
|
+
*/
|
|
1151
|
+
this.userComment = "";
|
|
1152
|
+
/**
|
|
1153
|
+
* Stores the purchase order ID
|
|
1154
|
+
*
|
|
1155
|
+
* @generated from field: uint64 purchase_order_id = 10;
|
|
1156
|
+
*/
|
|
1157
|
+
this.purchaseOrderId = protobuf_1.protoInt64.zero;
|
|
1158
|
+
/**
|
|
1159
|
+
* List of items
|
|
1160
|
+
*
|
|
1161
|
+
* @generated from field: repeated Scailo.PurchasesOrdersServiceMultipleItemsSingleton list = 11;
|
|
1162
|
+
*/
|
|
1163
|
+
this.list = [];
|
|
1164
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1165
|
+
}
|
|
1166
|
+
static fromBinary(bytes, options) {
|
|
1167
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1168
|
+
}
|
|
1169
|
+
static fromJson(jsonValue, options) {
|
|
1170
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1171
|
+
}
|
|
1172
|
+
static fromJsonString(jsonString, options) {
|
|
1173
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1174
|
+
}
|
|
1175
|
+
static equals(a, b) {
|
|
1176
|
+
return protobuf_1.proto3.util.equals(PurchasesOrdersServiceMultipleItemsCreateRequest, a, b);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
exports.PurchasesOrdersServiceMultipleItemsCreateRequest = PurchasesOrdersServiceMultipleItemsCreateRequest;
|
|
1180
|
+
PurchasesOrdersServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
|
|
1181
|
+
PurchasesOrdersServiceMultipleItemsCreateRequest.typeName = "Scailo.PurchasesOrdersServiceMultipleItemsCreateRequest";
|
|
1182
|
+
PurchasesOrdersServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1183
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1184
|
+
{ no: 10, name: "purchase_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1185
|
+
{ no: 11, name: "list", kind: "message", T: PurchasesOrdersServiceMultipleItemsSingleton, repeated: true },
|
|
1186
|
+
]);
|
|
1045
1187
|
/**
|
|
1046
1188
|
*
|
|
1047
1189
|
* Describes the parameters required to update an item in a purchase order
|
|
@@ -228,6 +228,17 @@ exports.SalesInvoicesService = {
|
|
|
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 invoice
|
|
233
|
+
*
|
|
234
|
+
* @generated from rpc Scailo.SalesInvoicesService.AddMultipleSalesInvoiceItems
|
|
235
|
+
*/
|
|
236
|
+
addMultipleSalesInvoiceItems: {
|
|
237
|
+
name: "AddMultipleSalesInvoiceItems",
|
|
238
|
+
I: sales_invoices_scailo_pb_js_1.SalesInvoicesServiceMultipleItemsCreateRequest,
|
|
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 invoice
|
|
233
244
|
*
|