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