@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.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");
|
|
@@ -732,6 +732,113 @@ class GoodsReceiptsServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
exports.GoodsReceiptsServiceItemCreateRequest = GoodsReceiptsServiceItemCreateRequest;
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a goods receipt
|
|
738
|
+
*
|
|
739
|
+
* @generated from message Scailo.GoodsReceiptsServiceMultipleItemsSingleton
|
|
740
|
+
*/
|
|
741
|
+
class GoodsReceiptsServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
742
|
+
/**
|
|
743
|
+
* Stores the family ID
|
|
744
|
+
*
|
|
745
|
+
* @generated from field: uint64 family_id = 11;
|
|
746
|
+
*/
|
|
747
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
748
|
+
/**
|
|
749
|
+
* The quantity (in cents) being admitted in internal unit of material
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
752
|
+
*/
|
|
753
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
754
|
+
/**
|
|
755
|
+
* Stores the ID of the vendor's unit of material
|
|
756
|
+
*
|
|
757
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
758
|
+
*/
|
|
759
|
+
vendorUomId = protobuf_1.protoInt64.zero;
|
|
760
|
+
/**
|
|
761
|
+
* Stores the quantity (in cents) being admitted in vendor's unit of material
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
764
|
+
*/
|
|
765
|
+
vendorQuantity = protobuf_1.protoInt64.zero;
|
|
766
|
+
constructor(data) {
|
|
767
|
+
super();
|
|
768
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
769
|
+
}
|
|
770
|
+
static runtime = protobuf_1.proto3;
|
|
771
|
+
static typeName = "Scailo.GoodsReceiptsServiceMultipleItemsSingleton";
|
|
772
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
773
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
774
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
775
|
+
{ no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
776
|
+
{ no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
777
|
+
]);
|
|
778
|
+
static fromBinary(bytes, options) {
|
|
779
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
780
|
+
}
|
|
781
|
+
static fromJson(jsonValue, options) {
|
|
782
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
783
|
+
}
|
|
784
|
+
static fromJsonString(jsonString, options) {
|
|
785
|
+
return new GoodsReceiptsServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
786
|
+
}
|
|
787
|
+
static equals(a, b) {
|
|
788
|
+
return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsSingleton, a, b);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
exports.GoodsReceiptsServiceMultipleItemsSingleton = GoodsReceiptsServiceMultipleItemsSingleton;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* Describes the parameters required to add multiple items to a goods receipt
|
|
795
|
+
*
|
|
796
|
+
* @generated from message Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest
|
|
797
|
+
*/
|
|
798
|
+
class GoodsReceiptsServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
799
|
+
/**
|
|
800
|
+
* Stores any comment that the user might add during this operation
|
|
801
|
+
*
|
|
802
|
+
* @generated from field: string user_comment = 1;
|
|
803
|
+
*/
|
|
804
|
+
userComment = "";
|
|
805
|
+
/**
|
|
806
|
+
* Stores the goods receipt ID
|
|
807
|
+
*
|
|
808
|
+
* @generated from field: uint64 goods_receipt_id = 10;
|
|
809
|
+
*/
|
|
810
|
+
goodsReceiptId = protobuf_1.protoInt64.zero;
|
|
811
|
+
/**
|
|
812
|
+
* List of items
|
|
813
|
+
*
|
|
814
|
+
* @generated from field: repeated Scailo.GoodsReceiptsServiceMultipleItemsSingleton list = 11;
|
|
815
|
+
*/
|
|
816
|
+
list = [];
|
|
817
|
+
constructor(data) {
|
|
818
|
+
super();
|
|
819
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
820
|
+
}
|
|
821
|
+
static runtime = protobuf_1.proto3;
|
|
822
|
+
static typeName = "Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest";
|
|
823
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
824
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
825
|
+
{ no: 10, name: "goods_receipt_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
826
|
+
{ no: 11, name: "list", kind: "message", T: GoodsReceiptsServiceMultipleItemsSingleton, repeated: true },
|
|
827
|
+
]);
|
|
828
|
+
static fromBinary(bytes, options) {
|
|
829
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
830
|
+
}
|
|
831
|
+
static fromJson(jsonValue, options) {
|
|
832
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
833
|
+
}
|
|
834
|
+
static fromJsonString(jsonString, options) {
|
|
835
|
+
return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
836
|
+
}
|
|
837
|
+
static equals(a, b) {
|
|
838
|
+
return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsCreateRequest, a, b);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
exports.GoodsReceiptsServiceMultipleItemsCreateRequest = GoodsReceiptsServiceMultipleItemsCreateRequest;
|
|
735
842
|
/**
|
|
736
843
|
*
|
|
737
844
|
* Describes the parameters required to update an item in a goods receipt
|
|
@@ -946,7 +946,7 @@ class InfrastructuresServiceFilterReq extends protobuf_1.Message {
|
|
|
946
946
|
*/
|
|
947
947
|
code = "";
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* Filter by the exact internal code
|
|
950
950
|
*
|
|
951
951
|
* @generated from field: string internal_item_code = 35;
|
|
952
952
|
*/
|
|
@@ -1198,7 +1198,7 @@ class InfrastructuresServiceCountReq extends protobuf_1.Message {
|
|
|
1198
1198
|
*/
|
|
1199
1199
|
code = "";
|
|
1200
1200
|
/**
|
|
1201
|
-
*
|
|
1201
|
+
* Filter by the exact internal code
|
|
1202
1202
|
*
|
|
1203
1203
|
* @generated from field: string internal_item_code = 35;
|
|
1204
1204
|
*/
|
|
@@ -1024,7 +1024,7 @@ class FilterReturnableInventoryReq extends protobuf_1.Message {
|
|
|
1024
1024
|
*/
|
|
1025
1025
|
code = "";
|
|
1026
1026
|
/**
|
|
1027
|
-
*
|
|
1027
|
+
* Filter by the exact internal code
|
|
1028
1028
|
*
|
|
1029
1029
|
* @generated from field: string internal_item_code = 35;
|
|
1030
1030
|
*/
|
|
@@ -946,7 +946,7 @@ class MerchandisesServiceFilterReq extends protobuf_1.Message {
|
|
|
946
946
|
*/
|
|
947
947
|
code = "";
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* Filter by the exact internal code
|
|
950
950
|
*
|
|
951
951
|
* @generated from field: string internal_item_code = 35;
|
|
952
952
|
*/
|
|
@@ -1198,7 +1198,7 @@ class MerchandisesServiceCountReq extends protobuf_1.Message {
|
|
|
1198
1198
|
*/
|
|
1199
1199
|
code = "";
|
|
1200
1200
|
/**
|
|
1201
|
-
*
|
|
1201
|
+
* Filter by the exact internal code
|
|
1202
1202
|
*
|
|
1203
1203
|
* @generated from field: string internal_item_code = 35;
|
|
1204
1204
|
*/
|
|
@@ -939,7 +939,7 @@ class ProductsServiceFilterReq extends protobuf_1.Message {
|
|
|
939
939
|
*/
|
|
940
940
|
code = "";
|
|
941
941
|
/**
|
|
942
|
-
*
|
|
942
|
+
* Filter by the exact internal code
|
|
943
943
|
*
|
|
944
944
|
* @generated from field: string internal_item_code = 35;
|
|
945
945
|
*/
|
|
@@ -1182,7 +1182,7 @@ class ProductsServiceCountReq extends protobuf_1.Message {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
code = "";
|
|
1184
1184
|
/**
|
|
1185
|
-
*
|
|
1185
|
+
* Filter by the exact internal code
|
|
1186
1186
|
*
|
|
1187
1187
|
* @generated from field: string internal_item_code = 35;
|
|
1188
1188
|
*/
|
|
@@ -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");
|
|
@@ -921,6 +921,148 @@ class ProformaInvoicesServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
exports.ProformaInvoicesServiceItemCreateRequest = ProformaInvoicesServiceItemCreateRequest;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a proforma invoice
|
|
927
|
+
*
|
|
928
|
+
* @generated from message Scailo.ProformaInvoicesServiceMultipleItemsSingleton
|
|
929
|
+
*/
|
|
930
|
+
class ProformaInvoicesServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
931
|
+
/**
|
|
932
|
+
* Stores the family ID
|
|
933
|
+
*
|
|
934
|
+
* @generated from field: uint64 family_id = 11;
|
|
935
|
+
*/
|
|
936
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
937
|
+
/**
|
|
938
|
+
* The quantity (in cents) being supplied in internal unit of material
|
|
939
|
+
*
|
|
940
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
941
|
+
*/
|
|
942
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
943
|
+
/**
|
|
944
|
+
* Stores the ID of the client's unit of material
|
|
945
|
+
*
|
|
946
|
+
* @generated from field: uint64 client_uom_id = 13;
|
|
947
|
+
*/
|
|
948
|
+
clientUomId = protobuf_1.protoInt64.zero;
|
|
949
|
+
/**
|
|
950
|
+
* Stores the quantity (in cents) being admitted in client's unit of material
|
|
951
|
+
*
|
|
952
|
+
* @generated from field: uint64 client_quantity = 14;
|
|
953
|
+
*/
|
|
954
|
+
clientQuantity = protobuf_1.protoInt64.zero;
|
|
955
|
+
/**
|
|
956
|
+
* The family code as represented by the client
|
|
957
|
+
*
|
|
958
|
+
* @generated from field: string client_family_code = 15;
|
|
959
|
+
*/
|
|
960
|
+
clientFamilyCode = "";
|
|
961
|
+
/**
|
|
962
|
+
* The unit price of the item (as supplied to the client)
|
|
963
|
+
*
|
|
964
|
+
* @generated from field: uint64 unit_price = 16;
|
|
965
|
+
*/
|
|
966
|
+
unitPrice = protobuf_1.protoInt64.zero;
|
|
967
|
+
/**
|
|
968
|
+
* The ID of the associated tax group
|
|
969
|
+
*
|
|
970
|
+
* @generated from field: uint64 tax_group_id = 17;
|
|
971
|
+
*/
|
|
972
|
+
taxGroupId = protobuf_1.protoInt64.zero;
|
|
973
|
+
/**
|
|
974
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
975
|
+
*
|
|
976
|
+
* @generated from field: int64 round_off = 18;
|
|
977
|
+
*/
|
|
978
|
+
roundOff = protobuf_1.protoInt64.zero;
|
|
979
|
+
/**
|
|
980
|
+
* Optional specifications
|
|
981
|
+
*
|
|
982
|
+
* @generated from field: string specifications = 19;
|
|
983
|
+
*/
|
|
984
|
+
specifications = "";
|
|
985
|
+
constructor(data) {
|
|
986
|
+
super();
|
|
987
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
988
|
+
}
|
|
989
|
+
static runtime = protobuf_1.proto3;
|
|
990
|
+
static typeName = "Scailo.ProformaInvoicesServiceMultipleItemsSingleton";
|
|
991
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
992
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
993
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
994
|
+
{ no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
995
|
+
{ no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
996
|
+
{ no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
997
|
+
{ no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
998
|
+
{ no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
999
|
+
{ no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
1000
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1001
|
+
]);
|
|
1002
|
+
static fromBinary(bytes, options) {
|
|
1003
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1004
|
+
}
|
|
1005
|
+
static fromJson(jsonValue, options) {
|
|
1006
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1007
|
+
}
|
|
1008
|
+
static fromJsonString(jsonString, options) {
|
|
1009
|
+
return new ProformaInvoicesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1010
|
+
}
|
|
1011
|
+
static equals(a, b) {
|
|
1012
|
+
return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsSingleton, a, b);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
exports.ProformaInvoicesServiceMultipleItemsSingleton = ProformaInvoicesServiceMultipleItemsSingleton;
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* Describes the parameters required to add multiple items to a proforma invoice
|
|
1019
|
+
*
|
|
1020
|
+
* @generated from message Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest
|
|
1021
|
+
*/
|
|
1022
|
+
class ProformaInvoicesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1023
|
+
/**
|
|
1024
|
+
* Stores any comment that the user might add during this operation
|
|
1025
|
+
*
|
|
1026
|
+
* @generated from field: string user_comment = 1;
|
|
1027
|
+
*/
|
|
1028
|
+
userComment = "";
|
|
1029
|
+
/**
|
|
1030
|
+
* Stores the proforma invoice ID
|
|
1031
|
+
*
|
|
1032
|
+
* @generated from field: uint64 proforma_invoice_id = 10;
|
|
1033
|
+
*/
|
|
1034
|
+
proformaInvoiceId = protobuf_1.protoInt64.zero;
|
|
1035
|
+
/**
|
|
1036
|
+
* List of items
|
|
1037
|
+
*
|
|
1038
|
+
* @generated from field: repeated Scailo.ProformaInvoicesServiceMultipleItemsSingleton list = 11;
|
|
1039
|
+
*/
|
|
1040
|
+
list = [];
|
|
1041
|
+
constructor(data) {
|
|
1042
|
+
super();
|
|
1043
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1044
|
+
}
|
|
1045
|
+
static runtime = protobuf_1.proto3;
|
|
1046
|
+
static typeName = "Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest";
|
|
1047
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1048
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1049
|
+
{ no: 10, name: "proforma_invoice_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1050
|
+
{ no: 11, name: "list", kind: "message", T: ProformaInvoicesServiceMultipleItemsSingleton, repeated: true },
|
|
1051
|
+
]);
|
|
1052
|
+
static fromBinary(bytes, options) {
|
|
1053
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1054
|
+
}
|
|
1055
|
+
static fromJson(jsonValue, options) {
|
|
1056
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1057
|
+
}
|
|
1058
|
+
static fromJsonString(jsonString, options) {
|
|
1059
|
+
return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1060
|
+
}
|
|
1061
|
+
static equals(a, b) {
|
|
1062
|
+
return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsCreateRequest, a, b);
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
exports.ProformaInvoicesServiceMultipleItemsCreateRequest = ProformaInvoicesServiceMultipleItemsCreateRequest;
|
|
924
1066
|
/**
|
|
925
1067
|
*
|
|
926
1068
|
* 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");
|
|
@@ -1054,6 +1054,148 @@ class PurchasesOrdersServiceItemCreateRequest extends protobuf_1.Message {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
1056
|
exports.PurchasesOrdersServiceItemCreateRequest = PurchasesOrdersServiceItemCreateRequest;
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* Describes the parameters required to add an individual item as part of multiple item addition to a purchase order
|
|
1060
|
+
*
|
|
1061
|
+
* @generated from message Scailo.PurchasesOrdersServiceMultipleItemsSingleton
|
|
1062
|
+
*/
|
|
1063
|
+
class PurchasesOrdersServiceMultipleItemsSingleton extends protobuf_1.Message {
|
|
1064
|
+
/**
|
|
1065
|
+
* Stores the family ID
|
|
1066
|
+
*
|
|
1067
|
+
* @generated from field: uint64 family_id = 11;
|
|
1068
|
+
*/
|
|
1069
|
+
familyId = protobuf_1.protoInt64.zero;
|
|
1070
|
+
/**
|
|
1071
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
1072
|
+
*
|
|
1073
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
1074
|
+
*/
|
|
1075
|
+
internalQuantity = protobuf_1.protoInt64.zero;
|
|
1076
|
+
/**
|
|
1077
|
+
* Stores the ID of the vendor's unit of material
|
|
1078
|
+
*
|
|
1079
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
1080
|
+
*/
|
|
1081
|
+
vendorUomId = protobuf_1.protoInt64.zero;
|
|
1082
|
+
/**
|
|
1083
|
+
* Stores the quantity (in cents) being ordered in vendor's unit of material
|
|
1084
|
+
*
|
|
1085
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
1086
|
+
*/
|
|
1087
|
+
vendorQuantity = protobuf_1.protoInt64.zero;
|
|
1088
|
+
/**
|
|
1089
|
+
* The unit price of the item (as supplied by the vendor)
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from field: uint64 vendor_unit_price = 15;
|
|
1092
|
+
*/
|
|
1093
|
+
vendorUnitPrice = protobuf_1.protoInt64.zero;
|
|
1094
|
+
/**
|
|
1095
|
+
* The ID of the associated tax group
|
|
1096
|
+
*
|
|
1097
|
+
* @generated from field: uint64 tax_group_id = 16;
|
|
1098
|
+
*/
|
|
1099
|
+
taxGroupId = protobuf_1.protoInt64.zero;
|
|
1100
|
+
/**
|
|
1101
|
+
* The applicable discount percentage (in cents)
|
|
1102
|
+
*
|
|
1103
|
+
* @generated from field: uint64 discount = 17;
|
|
1104
|
+
*/
|
|
1105
|
+
discount = protobuf_1.protoInt64.zero;
|
|
1106
|
+
/**
|
|
1107
|
+
* The delivery date of the item
|
|
1108
|
+
*
|
|
1109
|
+
* @generated from field: string delivery_date = 18;
|
|
1110
|
+
*/
|
|
1111
|
+
deliveryDate = "";
|
|
1112
|
+
/**
|
|
1113
|
+
* Optional specifications
|
|
1114
|
+
*
|
|
1115
|
+
* @generated from field: string specifications = 19;
|
|
1116
|
+
*/
|
|
1117
|
+
specifications = "";
|
|
1118
|
+
constructor(data) {
|
|
1119
|
+
super();
|
|
1120
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1121
|
+
}
|
|
1122
|
+
static runtime = protobuf_1.proto3;
|
|
1123
|
+
static typeName = "Scailo.PurchasesOrdersServiceMultipleItemsSingleton";
|
|
1124
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1125
|
+
{ no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1126
|
+
{ no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1127
|
+
{ no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1128
|
+
{ no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1129
|
+
{ no: 15, name: "vendor_unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1130
|
+
{ no: 16, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1131
|
+
{ no: 17, name: "discount", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1132
|
+
{ no: 18, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1133
|
+
{ no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1134
|
+
]);
|
|
1135
|
+
static fromBinary(bytes, options) {
|
|
1136
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromBinary(bytes, options);
|
|
1137
|
+
}
|
|
1138
|
+
static fromJson(jsonValue, options) {
|
|
1139
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromJson(jsonValue, options);
|
|
1140
|
+
}
|
|
1141
|
+
static fromJsonString(jsonString, options) {
|
|
1142
|
+
return new PurchasesOrdersServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
|
|
1143
|
+
}
|
|
1144
|
+
static equals(a, b) {
|
|
1145
|
+
return protobuf_1.proto3.util.equals(PurchasesOrdersServiceMultipleItemsSingleton, a, b);
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
exports.PurchasesOrdersServiceMultipleItemsSingleton = PurchasesOrdersServiceMultipleItemsSingleton;
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* Describes the parameters required to add multiple items to a purchase order
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from message Scailo.PurchasesOrdersServiceMultipleItemsCreateRequest
|
|
1154
|
+
*/
|
|
1155
|
+
class PurchasesOrdersServiceMultipleItemsCreateRequest extends protobuf_1.Message {
|
|
1156
|
+
/**
|
|
1157
|
+
* Stores any comment that the user might add during this operation
|
|
1158
|
+
*
|
|
1159
|
+
* @generated from field: string user_comment = 1;
|
|
1160
|
+
*/
|
|
1161
|
+
userComment = "";
|
|
1162
|
+
/**
|
|
1163
|
+
* Stores the purchase order ID
|
|
1164
|
+
*
|
|
1165
|
+
* @generated from field: uint64 purchase_order_id = 10;
|
|
1166
|
+
*/
|
|
1167
|
+
purchaseOrderId = protobuf_1.protoInt64.zero;
|
|
1168
|
+
/**
|
|
1169
|
+
* List of items
|
|
1170
|
+
*
|
|
1171
|
+
* @generated from field: repeated Scailo.PurchasesOrdersServiceMultipleItemsSingleton list = 11;
|
|
1172
|
+
*/
|
|
1173
|
+
list = [];
|
|
1174
|
+
constructor(data) {
|
|
1175
|
+
super();
|
|
1176
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1177
|
+
}
|
|
1178
|
+
static runtime = protobuf_1.proto3;
|
|
1179
|
+
static typeName = "Scailo.PurchasesOrdersServiceMultipleItemsCreateRequest";
|
|
1180
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1181
|
+
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1182
|
+
{ no: 10, name: "purchase_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
1183
|
+
{ no: 11, name: "list", kind: "message", T: PurchasesOrdersServiceMultipleItemsSingleton, repeated: true },
|
|
1184
|
+
]);
|
|
1185
|
+
static fromBinary(bytes, options) {
|
|
1186
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
|
|
1187
|
+
}
|
|
1188
|
+
static fromJson(jsonValue, options) {
|
|
1189
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
|
|
1190
|
+
}
|
|
1191
|
+
static fromJsonString(jsonString, options) {
|
|
1192
|
+
return new PurchasesOrdersServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
|
|
1193
|
+
}
|
|
1194
|
+
static equals(a, b) {
|
|
1195
|
+
return protobuf_1.proto3.util.equals(PurchasesOrdersServiceMultipleItemsCreateRequest, a, b);
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
exports.PurchasesOrdersServiceMultipleItemsCreateRequest = PurchasesOrdersServiceMultipleItemsCreateRequest;
|
|
1057
1199
|
/**
|
|
1058
1200
|
*
|
|
1059
1201
|
* 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
|
*
|