@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
1,277 lines • 54.6 kB
JavaScript
"use strict";
// @generated by protoc-gen-es v1.3.0 with parameter "target=ts"
// @generated from file quotations_requests.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.QuotationsRequestsServiceSearchAllReq = exports.QuotationsRequestsServiceFilterReq = exports.QuotationsRequestsServiceEntityPaginationReq = exports.QuotationsRequestsServicePaginationResponse = exports.QuotationsRequestsServicePaginationReq = exports.QuotationRequestItemHistoryRequest = exports.QuotationsRequestsItemsList = exports.QuotationsRequestsList = exports.QuotationRequestItem = exports.QuotationsRequestsServiceItemUpdateRequest = exports.QuotationsRequestsServiceItemCreateRequest = exports.QuotationRequest = exports.QuotationsRequestsServiceAutofillRequest = exports.QuotationsRequestsServiceUpdateRequest = exports.QuotationsRequestsServiceCreateRequest = exports.QUOTATION_REQUEST_SORT_KEY = void 0;
const protobuf_1 = require("@bufbuild/protobuf");
const forms_pb_js_1 = require("./forms_pb.js");
const base_pb_js_1 = require("./base_pb.js");
/**
*
* Describes the available sort keys
*
* @generated from enum Genesis.QUOTATION_REQUEST_SORT_KEY
*/
var QUOTATION_REQUEST_SORT_KEY;
(function (QUOTATION_REQUEST_SORT_KEY) {
/**
* Fetch ordered results by id
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED = 0;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED"] = 0] = "QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED";
/**
* Fetch ordered results by the creation timestamp
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_CREATED_AT = 1;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_CREATED_AT"] = 1] = "QUOTATION_REQUEST_SORT_KEY_CREATED_AT";
/**
* Fetch ordered results by the modified timestamp
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_MODIFIED_AT = 2;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_MODIFIED_AT"] = 2] = "QUOTATION_REQUEST_SORT_KEY_MODIFIED_AT";
/**
* Fetch ordered results by the approved on timestamp
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_APPROVED_ON = 3;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_APPROVED_ON"] = 3] = "QUOTATION_REQUEST_SORT_KEY_APPROVED_ON";
/**
* Fetch ordered results by the approved by field
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_APPROVED_BY = 4;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_APPROVED_BY"] = 4] = "QUOTATION_REQUEST_SORT_KEY_APPROVED_BY";
/**
* Fetch ordered results by the approver's role ID
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_APPROVER_ROLE_ID = 5;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_APPROVER_ROLE_ID"] = 5] = "QUOTATION_REQUEST_SORT_KEY_APPROVER_ROLE_ID";
/**
* Fetch ordered results by the approver's completed on timestamp
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_COMPLETED_ON = 6;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_COMPLETED_ON"] = 6] = "QUOTATION_REQUEST_SORT_KEY_COMPLETED_ON";
/**
* Fetch ordered results by the reference ID
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_REFERENCE_ID = 10;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_REFERENCE_ID"] = 10] = "QUOTATION_REQUEST_SORT_KEY_REFERENCE_ID";
/**
* Fetch ordered results by the final ref number
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_FINAL_REF_NUMBER = 11;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_FINAL_REF_NUMBER"] = 11] = "QUOTATION_REQUEST_SORT_KEY_FINAL_REF_NUMBER";
/**
* Fetch ordered results by the priority
*
* @generated from enum value: QUOTATION_REQUEST_SORT_KEY_PRIORITY = 14;
*/
QUOTATION_REQUEST_SORT_KEY[QUOTATION_REQUEST_SORT_KEY["QUOTATION_REQUEST_SORT_KEY_PRIORITY"] = 14] = "QUOTATION_REQUEST_SORT_KEY_PRIORITY";
})(QUOTATION_REQUEST_SORT_KEY || (exports.QUOTATION_REQUEST_SORT_KEY = QUOTATION_REQUEST_SORT_KEY = {}));
// Retrieve enum metadata with: proto3.getEnumType(QUOTATION_REQUEST_SORT_KEY)
protobuf_1.proto3.util.setEnumType(QUOTATION_REQUEST_SORT_KEY, "Genesis.QUOTATION_REQUEST_SORT_KEY", [
{ no: 0, name: "QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED" },
{ no: 1, name: "QUOTATION_REQUEST_SORT_KEY_CREATED_AT" },
{ no: 2, name: "QUOTATION_REQUEST_SORT_KEY_MODIFIED_AT" },
{ no: 3, name: "QUOTATION_REQUEST_SORT_KEY_APPROVED_ON" },
{ no: 4, name: "QUOTATION_REQUEST_SORT_KEY_APPROVED_BY" },
{ no: 5, name: "QUOTATION_REQUEST_SORT_KEY_APPROVER_ROLE_ID" },
{ no: 6, name: "QUOTATION_REQUEST_SORT_KEY_COMPLETED_ON" },
{ no: 10, name: "QUOTATION_REQUEST_SORT_KEY_REFERENCE_ID" },
{ no: 11, name: "QUOTATION_REQUEST_SORT_KEY_FINAL_REF_NUMBER" },
{ no: 14, name: "QUOTATION_REQUEST_SORT_KEY_PRIORITY" },
]);
/**
*
* Describes the parameters necessary to create a record
*
* @generated from message Genesis.QuotationsRequestsServiceCreateRequest
*/
class QuotationsRequestsServiceCreateRequest extends protobuf_1.Message {
/**
* Stores a globally unique entity UUID. This will be set at the organization level
*
* @generated from field: string entity_uuid = 1;
*/
entityUuid = "";
/**
* Stores any comment that the user might add during this operation
*
* @generated from field: string user_comment = 2;
*/
userComment = "";
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* The reference ID of the quotation request
*
* @generated from field: string reference_id = 10;
*/
referenceId = "";
/**
* The associated purchase enquiry
*
* @generated from field: int64 purchase_enquiry_id = 12;
*/
purchaseEnquiryId = protobuf_1.protoInt64.zero;
/**
* The date until which quotations responses can be sent
*
* @generated from field: string last_date = 13;
*/
lastDate = "";
/**
* The associated currency
*
* @generated from field: int64 currency_id = 14;
*/
currencyId = protobuf_1.protoInt64.zero;
/**
* The number of days until which the quotation request is valid
*
* @generated from field: int64 renewal_period = 15;
*/
renewalPeriod = protobuf_1.protoInt64.zero;
/**
* The priority of the quotation request. Possible values are "low", "medium", "high".
*
* @generated from field: string priority = 16;
*/
priority = "";
/**
* The description of the quotation request
*
* @generated from field: string description = 17;
*/
description = "";
/**
* The list of dynamic forms
*
* @generated from field: repeated Genesis.FormFieldDatumCreateRequest form_data = 30;
*/
formData = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceCreateRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 12, name: "purchase_enquiry_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 13, name: "last_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 14, name: "currency_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "renewal_period", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "priority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 30, name: "form_data", kind: "message", T: forms_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceCreateRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceCreateRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceCreateRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceCreateRequest, a, b);
}
}
exports.QuotationsRequestsServiceCreateRequest = QuotationsRequestsServiceCreateRequest;
/**
*
* Describes the parameters necessary to update a record
*
* @generated from message Genesis.QuotationsRequestsServiceUpdateRequest
*/
class QuotationsRequestsServiceUpdateRequest extends protobuf_1.Message {
/**
* Stores any comment that the user might add during this operation
*
* @generated from field: string user_comment = 1;
*/
userComment = "";
/**
* The ID of the record that needs to be updated
*
* @generated from field: int64 id = 2;
*/
id = protobuf_1.protoInt64.zero;
/**
* Optional boolean value that stores if a notification needs to be sent to users about the update to the record. This is useful when a subsequent operation needs to be performed immediately (such as send to verification after updating the revision)
*
* @generated from field: bool notify_users = 3;
*/
notifyUsers = false;
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* The reference ID of the quotation request
*
* @generated from field: string reference_id = 10;
*/
referenceId = "";
/**
* The date until which quotations responses can be sent
*
* @generated from field: string last_date = 13;
*/
lastDate = "";
/**
* The associated currency
*
* @generated from field: int64 currency_id = 14;
*/
currencyId = protobuf_1.protoInt64.zero;
/**
* The number of days until which the quotation request is valid
*
* @generated from field: int64 renewal_period = 15;
*/
renewalPeriod = protobuf_1.protoInt64.zero;
/**
* The priority of the quotation request. Possible values are "low", "medium", "high".
*
* @generated from field: string priority = 16;
*/
priority = "";
/**
* The description of the quotation request
*
* @generated from field: string description = 17;
*/
description = "";
/**
* The list of dynamic forms
*
* @generated from field: repeated Genesis.FormFieldDatumCreateRequest form_data = 30;
*/
formData = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceUpdateRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 3, name: "notify_users", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 13, name: "last_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 14, name: "currency_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "renewal_period", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "priority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 30, name: "form_data", kind: "message", T: forms_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceUpdateRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceUpdateRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceUpdateRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceUpdateRequest, a, b);
}
}
exports.QuotationsRequestsServiceUpdateRequest = QuotationsRequestsServiceUpdateRequest;
/**
*
* Describes the parameters necessary to perform an autofill request
*
* @generated from message Genesis.QuotationsRequestsServiceAutofillRequest
*/
class QuotationsRequestsServiceAutofillRequest extends protobuf_1.Message {
/**
* Stores any comment that the user might add during this operation
*
* @generated from field: string user_comment = 1;
*/
userComment = "";
/**
* The ID of the record that needs to be updated
*
* @generated from field: int64 id = 2;
*/
id = protobuf_1.protoInt64.zero;
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceAutofillRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceAutofillRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceAutofillRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceAutofillRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceAutofillRequest, a, b);
}
}
exports.QuotationsRequestsServiceAutofillRequest = QuotationsRequestsServiceAutofillRequest;
/**
*
* Describes the parameters that are part of a standard response
*
* @generated from message Genesis.QuotationRequest
*/
class QuotationRequest extends protobuf_1.Message {
/**
* Stores a globally unique entity UUID. This will be set at the organization level
*
* @generated from field: string entity_uuid = 1;
*/
entityUuid = "";
/**
* Stores the metadata of this quotation request
*
* @generated from field: Genesis.EmployeeMetadata metadata = 2;
*/
metadata;
/**
* Stores the approval metadata
*
* @generated from field: Genesis.ApprovalMetadata approval_metadata = 3;
*/
approvalMetadata;
/**
* The status of this quotation request
*
* @generated from field: Genesis.STANDARD_LIFECYCLE_STATUS status = 4;
*/
status = base_pb_js_1.STANDARD_LIFECYCLE_STATUS.PREVERIFY_UNSPECIFIED;
/**
* Stores the logs of every operation performed on this quotation request
*
* @generated from field: repeated Genesis.LogbookLogConciseSLC logs = 5;
*/
logs = [];
/**
* The timestamp of when this quotation request was marked as completed
*
* @generated from field: int64 completed_on = 6;
*/
completedOn = protobuf_1.protoInt64.zero;
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* The reference ID of the quotation request
*
* @generated from field: string reference_id = 10;
*/
referenceId = "";
/**
* The unique reference number that has been automatically generated
*
* @generated from field: string final_ref_number = 11;
*/
finalRefNumber = "";
/**
* The associated purchase enquiry
*
* @generated from field: int64 purchase_enquiry_id = 12;
*/
purchaseEnquiryId = protobuf_1.protoInt64.zero;
/**
* The date until which quotations responses can be sent
*
* @generated from field: string last_date = 13;
*/
lastDate = "";
/**
* The associated currency
*
* @generated from field: int64 currency_id = 14;
*/
currencyId = protobuf_1.protoInt64.zero;
/**
* The number of days until which the quotation request is valid
*
* @generated from field: int64 renewal_period = 15;
*/
renewalPeriod = protobuf_1.protoInt64.zero;
/**
* The priority of the quotation request. Possible values are "low", "medium", "high".
*
* @generated from field: string priority = 16;
*/
priority = "";
/**
* The description of the quotation request
*
* @generated from field: string description = 17;
*/
description = "";
/**
* The list of associated quotation request items
*
* @generated from field: repeated Genesis.QuotationRequestItem list = 20;
*/
list = [];
/**
* The list of dynamic forms
*
* @generated from field: repeated Genesis.FormFieldDatum form_data = 30;
*/
formData = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "metadata", kind: "message", T: base_pb_js_1.EmployeeMetadata },
{ no: 3, name: "approval_metadata", kind: "message", T: base_pb_js_1.ApprovalMetadata },
{ no: 4, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
{ no: 5, name: "logs", kind: "message", T: base_pb_js_1.LogbookLogConciseSLC, repeated: true },
{ no: 6, name: "completed_on", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 10, name: "reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 11, name: "final_ref_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 12, name: "purchase_enquiry_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 13, name: "last_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 14, name: "currency_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "renewal_period", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "priority", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 20, name: "list", kind: "message", T: QuotationRequestItem, repeated: true },
{ no: 30, name: "form_data", kind: "message", T: forms_pb_js_1.FormFieldDatum, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationRequest, a, b);
}
}
exports.QuotationRequest = QuotationRequest;
/**
*
* Describes the parameters required to add an item to a quotation request
*
* @generated from message Genesis.QuotationsRequestsServiceItemCreateRequest
*/
class QuotationsRequestsServiceItemCreateRequest extends protobuf_1.Message {
/**
* Stores any comment that the user might add during this operation
*
* @generated from field: string user_comment = 1;
*/
userComment = "";
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* Stores the quotation request ID
*
* @generated from field: int64 quotation_request_id = 10;
*/
quotationRequestId = protobuf_1.protoInt64.zero;
/**
* Stores the name of the item
*
* @generated from field: string name = 11;
*/
name = "";
/**
* Stores the HSN/SAC code of the item
*
* @generated from field: string hsn_sac_code = 12;
*/
hsnSacCode = "";
/**
* The min price (in cents)
*
* @generated from field: int64 baseline_price = 13;
*/
baselinePrice = protobuf_1.protoInt64.zero;
/**
* The quantity required (in cents)
*
* @generated from field: int64 quantity = 14;
*/
quantity = protobuf_1.protoInt64.zero;
/**
* The ID of the associated unit of material
*
* @generated from field: int64 uom_id = 15;
*/
uomId = protobuf_1.protoInt64.zero;
/**
* The delivery date
*
* @generated from field: string delivery_date = 16;
*/
deliveryDate = "";
/**
* The specifications of the item
*
* @generated from field: string specifications = 17;
*/
specifications = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceItemCreateRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 10, name: "quotation_request_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 12, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 13, name: "baseline_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 14, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "uom_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceItemCreateRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceItemCreateRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceItemCreateRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceItemCreateRequest, a, b);
}
}
exports.QuotationsRequestsServiceItemCreateRequest = QuotationsRequestsServiceItemCreateRequest;
/**
*
* Describes the parameters required to update an item in a quotation request
*
* @generated from message Genesis.QuotationsRequestsServiceItemUpdateRequest
*/
class QuotationsRequestsServiceItemUpdateRequest extends protobuf_1.Message {
/**
* Stores any comment that the user might add during this operation
*
* @generated from field: string user_comment = 1;
*/
userComment = "";
/**
* The ID of the record
*
* @generated from field: int64 id = 2;
*/
id = protobuf_1.protoInt64.zero;
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* Stores the name of the item
*
* @generated from field: string name = 11;
*/
name = "";
/**
* Stores the HSN/SAC code of the item
*
* @generated from field: string hsn_sac_code = 12;
*/
hsnSacCode = "";
/**
* The min price (in cents)
*
* @generated from field: int64 baseline_price = 13;
*/
baselinePrice = protobuf_1.protoInt64.zero;
/**
* The quantity required (in cents)
*
* @generated from field: int64 quantity = 14;
*/
quantity = protobuf_1.protoInt64.zero;
/**
* The ID of the associated unit of material
*
* @generated from field: int64 uom_id = 15;
*/
uomId = protobuf_1.protoInt64.zero;
/**
* The delivery date
*
* @generated from field: string delivery_date = 16;
*/
deliveryDate = "";
/**
* The specifications of the item
*
* @generated from field: string specifications = 17;
*/
specifications = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceItemUpdateRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 12, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 13, name: "baseline_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 14, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "uom_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceItemUpdateRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceItemUpdateRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceItemUpdateRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceItemUpdateRequest, a, b);
}
}
exports.QuotationsRequestsServiceItemUpdateRequest = QuotationsRequestsServiceItemUpdateRequest;
/**
*
* Describes the parameters that constitute an item associated to a quotation request
*
* @generated from message Genesis.QuotationRequestItem
*/
class QuotationRequestItem extends protobuf_1.Message {
/**
* Stores a globally unique entity UUID. This will be set at the organization level
*
* @generated from field: string entity_uuid = 1;
*/
entityUuid = "";
/**
* Stores the metadata of this quotation request
*
* @generated from field: Genesis.EmployeeMetadata metadata = 2;
*/
metadata;
/**
* Stores the approval metadata
*
* @generated from field: Genesis.ApprovalMetadata approval_metadata = 3;
*/
approvalMetadata;
/**
* Denotes if this record requires approval (or has been approved)
*
* @generated from field: bool need_approval = 4;
*/
needApproval = false;
/**
* Stores any comment that the user might have added during an operation
*
* @generated from field: string user_comment = 5;
*/
userComment = "";
/**
* The associated vault folder ID
*
* @generated from field: int64 vault_folder_id = 9;
*/
vaultFolderId = protobuf_1.protoInt64.zero;
/**
* Stores the quotation request ID
*
* @generated from field: int64 quotation_request_id = 10;
*/
quotationRequestId = protobuf_1.protoInt64.zero;
/**
* Stores the name of the item
*
* @generated from field: string name = 11;
*/
name = "";
/**
* Stores the HSN/SAC code of the item
*
* @generated from field: string hsn_sac_code = 12;
*/
hsnSacCode = "";
/**
* The min price (in cents)
*
* @generated from field: int64 baseline_price = 13;
*/
baselinePrice = protobuf_1.protoInt64.zero;
/**
* The quantity required (in cents)
*
* @generated from field: int64 quantity = 14;
*/
quantity = protobuf_1.protoInt64.zero;
/**
* The ID of the associated unit of material
*
* @generated from field: int64 uom_id = 15;
*/
uomId = protobuf_1.protoInt64.zero;
/**
* The delivery date
*
* @generated from field: string delivery_date = 16;
*/
deliveryDate = "";
/**
* The specifications of the item
*
* @generated from field: string specifications = 17;
*/
specifications = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationRequestItem";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "metadata", kind: "message", T: base_pb_js_1.EmployeeMetadata },
{ no: 3, name: "approval_metadata", kind: "message", T: base_pb_js_1.ApprovalMetadata },
{ no: 4, name: "need_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 5, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 9, name: "vault_folder_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 10, name: "quotation_request_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 12, name: "hsn_sac_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 13, name: "baseline_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 14, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "uom_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 17, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes, options) {
return new QuotationRequestItem().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationRequestItem().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationRequestItem().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationRequestItem, a, b);
}
}
exports.QuotationRequestItem = QuotationRequestItem;
/**
*
* Describes the message consisting of the list of quotations requests
*
* @generated from message Genesis.QuotationsRequestsList
*/
class QuotationsRequestsList extends protobuf_1.Message {
/**
* List of records
*
* @generated from field: repeated Genesis.QuotationRequest list = 1;
*/
list = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsList";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "list", kind: "message", T: QuotationRequest, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsList().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsList().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsList().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsList, a, b);
}
}
exports.QuotationsRequestsList = QuotationsRequestsList;
/**
*
* Describes the message consisting of the list of quotation request items
*
* @generated from message Genesis.QuotationsRequestsItemsList
*/
class QuotationsRequestsItemsList extends protobuf_1.Message {
/**
* List of records
*
* @generated from field: repeated Genesis.QuotationRequestItem list = 1;
*/
list = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsItemsList";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "list", kind: "message", T: QuotationRequestItem, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsItemsList().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsItemsList().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsItemsList().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsItemsList, a, b);
}
}
exports.QuotationsRequestsItemsList = QuotationsRequestsItemsList;
/**
*
* Describes the parameters that are required to retrieve the history of the record
*
* @generated from message Genesis.QuotationRequestItemHistoryRequest
*/
class QuotationRequestItemHistoryRequest extends protobuf_1.Message {
/**
* Stores the quotation request ID
*
* @generated from field: int64 quotation_request_id = 10;
*/
quotationRequestId = protobuf_1.protoInt64.zero;
/**
* Stores the name of the item
*
* @generated from field: string name = 11;
*/
name = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationRequestItemHistoryRequest";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 10, name: "quotation_request_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 11, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes, options) {
return new QuotationRequestItemHistoryRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationRequestItemHistoryRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationRequestItemHistoryRequest().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationRequestItemHistoryRequest, a, b);
}
}
exports.QuotationRequestItemHistoryRequest = QuotationRequestItemHistoryRequest;
/**
*
* Describes a pagination request to retrieve records
*
* @generated from message Genesis.QuotationsRequestsServicePaginationReq
*/
class QuotationsRequestsServicePaginationReq extends protobuf_1.Message {
/**
* If true, then returns only active records. If false, then returns only inactive records
*
* @generated from field: bool is_active = 1;
*/
isActive = false;
/**
* The number of records that need to be sent in the response
*
* @generated from field: int64 count = 2;
*/
count = protobuf_1.protoInt64.zero;
/**
* The number that need to be offset by before fetching the records
*
* @generated from field: int64 offset = 3;
*/
offset = protobuf_1.protoInt64.zero;
/**
* The sort order that is to be used to fetch the pagination response
*
* @generated from field: Genesis.SORT_ORDER sort_order = 4;
*/
sortOrder = base_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
/**
* The sort key that is to be used to fetch the pagination response
*
* @generated from field: Genesis.QUOTATION_REQUEST_SORT_KEY sort_key = 5;
*/
sortKey = QUOTATION_REQUEST_SORT_KEY.QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED;
/**
* The status of this quotation request
*
* @generated from field: Genesis.STANDARD_LIFECYCLE_STATUS status = 6;
*/
status = base_pb_js_1.STANDARD_LIFECYCLE_STATUS.PREVERIFY_UNSPECIFIED;
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServicePaginationReq";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.SORT_ORDER) },
{ no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QUOTATION_REQUEST_SORT_KEY) },
{ no: 6, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServicePaginationReq().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServicePaginationReq().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServicePaginationReq().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServicePaginationReq, a, b);
}
}
exports.QuotationsRequestsServicePaginationReq = QuotationsRequestsServicePaginationReq;
/**
*
* Describes the response to a pagination request
*
* @generated from message Genesis.QuotationsRequestsServicePaginationResponse
*/
class QuotationsRequestsServicePaginationResponse extends protobuf_1.Message {
/**
* The number of records in this payload
*
* @generated from field: int64 count = 1;
*/
count = protobuf_1.protoInt64.zero;
/**
* The number that has been offset before fetching the records. This is the same value that has been sent as part of the pagination request
*
* @generated from field: int64 offset = 2;
*/
offset = protobuf_1.protoInt64.zero;
/**
* The total number of records that are available
*
* @generated from field: int64 total = 3;
*/
total = protobuf_1.protoInt64.zero;
/**
* The list of records
*
* @generated from field: repeated Genesis.QuotationRequest payload = 4;
*/
payload = [];
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServicePaginationResponse";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 3, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 4, name: "payload", kind: "message", T: QuotationRequest, repeated: true },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServicePaginationResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServicePaginationResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServicePaginationResponse().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServicePaginationResponse, a, b);
}
}
exports.QuotationsRequestsServicePaginationResponse = QuotationsRequestsServicePaginationResponse;
/**
*
* Describes a pagination request to retrieve records associated with an entity UUID
*
* @generated from message Genesis.QuotationsRequestsServiceEntityPaginationReq
*/
class QuotationsRequestsServiceEntityPaginationReq extends protobuf_1.Message {
/**
* If true, then returns only active records. If false, then returns only inactive records
*
* @generated from field: bool is_active = 1;
*/
isActive = false;
/**
* The number of records that need to be sent in the response
*
* @generated from field: int64 count = 2;
*/
count = protobuf_1.protoInt64.zero;
/**
* The number that need to be offset by before fetching the records
*
* @generated from field: int64 offset = 3;
*/
offset = protobuf_1.protoInt64.zero;
/**
* The sort order that is to be used to fetch the pagination response
*
* @generated from field: Genesis.SORT_ORDER sort_order = 4;
*/
sortOrder = base_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
/**
* The sort key that is to be used to fetch the pagination response
*
* @generated from field: Genesis.QUOTATION_REQUEST_SORT_KEY sort_key = 5;
*/
sortKey = QUOTATION_REQUEST_SORT_KEY.QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED;
/**
* The entity UUID that is to be used to filter records
*
* @generated from field: string entity_uuid = 6;
*/
entityUuid = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceEntityPaginationReq";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.SORT_ORDER) },
{ no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QUOTATION_REQUEST_SORT_KEY) },
{ no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes, options) {
return new QuotationsRequestsServiceEntityPaginationReq().fromBinary(bytes, options);
}
static fromJson(jsonValue, options) {
return new QuotationsRequestsServiceEntityPaginationReq().fromJson(jsonValue, options);
}
static fromJsonString(jsonString, options) {
return new QuotationsRequestsServiceEntityPaginationReq().fromJsonString(jsonString, options);
}
static equals(a, b) {
return protobuf_1.proto3.util.equals(QuotationsRequestsServiceEntityPaginationReq, a, b);
}
}
exports.QuotationsRequestsServiceEntityPaginationReq = QuotationsRequestsServiceEntityPaginationReq;
/**
*
* Describes the base request payload of a filter search
*
* @generated from message Genesis.QuotationsRequestsServiceFilterReq
*/
class QuotationsRequestsServiceFilterReq extends protobuf_1.Message {
/**
* If true, then returns only active records. If false, then returns only inactive records
*
* @generated from field: bool is_active = 1;
*/
isActive = false;
/**
* The number of records that need to be sent in the response. Returns all records if it is set to -1
*
* @generated from field: int64 count = 2;
*/
count = protobuf_1.protoInt64.zero;
/**
* The number that need to be offset by before fetching the records
*
* @generated from field: int64 offset = 3;
*/
offset = protobuf_1.protoInt64.zero;
/**
* The sort order that is to be used to fetch the pagination response
*
* @generated from field: Genesis.SORT_ORDER sort_order = 4;
*/
sortOrder = base_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
/**
* The sort key that is to be used to fetch the pagination response
*
* @generated from field: Genesis.QUOTATION_REQUEST_SORT_KEY sort_key = 5;
*/
sortKey = QUOTATION_REQUEST_SORT_KEY.QUOTATION_REQUEST_SORT_KEY_ID_UNSPECIFIED;
/**
* The minimum timestamp that needs to be considered to filter by creation
*
* @generated from field: int64 creation_timestamp_start = 6;
*/
creationTimestampStart = protobuf_1.protoInt64.zero;
/**
* The maximum timestamp that needs to be considered to filter by creation
*
* @generated from field: int64 creation_timestamp_end = 7;
*/
creationTimestampEnd = protobuf_1.protoInt64.zero;
/**
* The entity UUID that is to be used to filter records
*
* @generated from field: string entity_uuid = 8;
*/
entityUuid = "";
/**
* The status of this quotation request
*
* @generated from field: Genesis.STANDARD_LIFECYCLE_STATUS status = 10;
*/
status = base_pb_js_1.STANDARD_LIFECYCLE_STATUS.PREVERIFY_UNSPECIFIED;
/**
* The start range of approved timestamp
*
* @generated from field: int64 approved_on_start = 11;
*/
approvedOnStart = protobuf_1.protoInt64.zero;
/**
* The end range of approved timestamp
*
* @generated from field: int64 approved_on_end = 12;
*/
approvedOnEnd = protobuf_1.protoInt64.zero;
/**
* The ID of the approver
*
* @generated from field: int64 approved_by_user_id = 13;
*/
approvedByUserId = protobuf_1.protoInt64.zero;
/**
* The role ID of the approver
*
* @generated from field: int64 approver_role_id = 14;
*/
approverRoleId = protobuf_1.protoInt64.zero;
/**
* The start range of completed timestamp
*
* @generated from field: int64 completed_on_start = 15;
*/
completedOnStart = protobuf_1.protoInt64.zero;
/**
* The end range of completed timestamp
*
* @generated from field: int64 completed_on_end = 16;
*/
completedOnEnd = protobuf_1.protoInt64.zero;
/**
* The reference ID of the quotation request
*
* @generated from field: string reference_id = 20;
*/
referenceId = "";
/**
* The unique reference number that has been automatically generated
*
* @generated from field: string final_ref_number = 21;
*/
finalRefNumber = "";
/**
* The associated purchase enquiry
*
* @generated from field: int64 purchase_enquiry_id = 22;
*/
purchaseEnquiryId = protobuf_1.protoInt64.zero;
/**
* The priority of the quotation request. Possible values are "low", "medium", "high".
*
* @generated from field: string priority = 24;
*/
priority = "";
constructor(data) {
super();
protobuf_1.proto3.util.initPartial(data, this);
}
static runtime = protobuf_1.proto3;
static typeName = "Genesis.QuotationsRequestsServiceFilterReq";
static fields = protobuf_1.proto3.util.newFieldList(() => [
{ no: 1, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.SORT_ORDER) },
{ no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QUOTATION_REQUEST_SORT_KEY) },
{ no: 6, name: "creation_timestamp_start", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 7, name: "creation_timestamp_end", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 8, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 10, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(base_pb_js_1.STANDARD_LIFECYCLE_STATUS) },
{ no: 11, name: "approved_on_start", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 12, name: "approved_on_end", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 13, name: "approved_by_user_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 14, name: "approver_role_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 15, name: "completed_on_start", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 16, name: "completed_on_end", kind: "