@kernelminds/scailo-sdk 0.0.8 → 0.0.10
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/index.js +68 -0
- package/lib/cjs/src/base.scailo_pb.js +28 -0
- package/lib/cjs/src/proforma_invoices.scailo_connect.js +573 -0
- package/lib/cjs/src/proforma_invoices.scailo_pb.js +2220 -0
- package/lib/cjs/src/supply_offers.scailo_connect.js +563 -0
- package/lib/cjs/src/supply_offers.scailo_pb.js +2246 -0
- package/lib/cjs/src/vendors.scailo_connect.js +11 -0
- package/lib/cjs/src/vendors.scailo_pb.js +95 -1
- package/lib/cjs/src/workflows_rules.scailo_pb.js +14 -0
- package/lib/cjs/types/index.d.ts +62 -0
- package/lib/cjs/types/index.d.ts.map +1 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts +25 -1
- package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +567 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +1734 -0
- package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -0
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts +557 -0
- package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts.map +1 -0
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts +1767 -0
- package/lib/cjs/types/src/supply_offers.scailo_pb.d.ts.map +1 -0
- package/lib/cjs/types/src/vendors.scailo_connect.d.ts +12 -1
- package/lib/cjs/types/src/vendors.scailo_connect.d.ts.map +1 -1
- package/lib/cjs/types/src/vendors.scailo_pb.d.ts +68 -0
- package/lib/cjs/types/src/vendors.scailo_pb.d.ts.map +1 -1
- package/lib/cjs/types/src/workflows_rules.scailo_pb.d.ts +12 -0
- package/lib/cjs/types/src/workflows_rules.scailo_pb.d.ts.map +1 -1
- package/lib/esm/index.js +68 -0
- package/lib/esm/src/base.scailo_pb.js +28 -0
- package/lib/esm/src/proforma_invoices.scailo_connect.js +573 -0
- package/lib/esm/src/proforma_invoices.scailo_pb.js +2244 -0
- package/lib/esm/src/supply_offers.scailo_connect.js +563 -0
- package/lib/esm/src/supply_offers.scailo_pb.js +2270 -0
- package/lib/esm/src/vendors.scailo_connect.js +11 -0
- package/lib/esm/src/vendors.scailo_pb.js +101 -1
- package/lib/esm/src/workflows_rules.scailo_pb.js +14 -0
- package/lib/esm/types/index.d.ts +62 -0
- package/lib/esm/types/index.d.ts.map +1 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts +25 -1
- package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +567 -0
- package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +1734 -0
- package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -0
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts +557 -0
- package/lib/esm/types/src/supply_offers.scailo_connect.d.ts.map +1 -0
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts +1767 -0
- package/lib/esm/types/src/supply_offers.scailo_pb.d.ts.map +1 -0
- package/lib/esm/types/src/vendors.scailo_connect.d.ts +12 -1
- package/lib/esm/types/src/vendors.scailo_connect.d.ts.map +1 -1
- package/lib/esm/types/src/vendors.scailo_pb.d.ts +68 -0
- package/lib/esm/types/src/vendors.scailo_pb.d.ts.map +1 -1
- package/lib/esm/types/src/workflows_rules.scailo_pb.d.ts +12 -0
- package/lib/esm/types/src/workflows_rules.scailo_pb.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1767 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { FormFieldDatum, FormFieldDatumCreateRequest } from "./forms_fields_data.scailo_pb.js";
|
|
4
|
+
import { ApprovalMetadata, BOOL_FILTER, EmployeeMetadata, LogbookLogConciseSLC, SORT_ORDER, STANDARD_LIFECYCLE_STATUS } from "./base.scailo_pb.js";
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* Describes the available sort keys
|
|
8
|
+
*
|
|
9
|
+
* @generated from enum Scailo.SUPPLY_OFFER_SORT_KEY
|
|
10
|
+
*/
|
|
11
|
+
export declare enum SUPPLY_OFFER_SORT_KEY {
|
|
12
|
+
/**
|
|
13
|
+
* Fetch ordered results by id
|
|
14
|
+
*
|
|
15
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_ID_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
SUPPLY_OFFER_SORT_KEY_ID_UNSPECIFIED = 0,
|
|
18
|
+
/**
|
|
19
|
+
* Fetch ordered results by the creation timestamp
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_CREATED_AT = 1;
|
|
22
|
+
*/
|
|
23
|
+
SUPPLY_OFFER_SORT_KEY_CREATED_AT = 1,
|
|
24
|
+
/**
|
|
25
|
+
* Fetch ordered results by the modified timestamp
|
|
26
|
+
*
|
|
27
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_MODIFIED_AT = 2;
|
|
28
|
+
*/
|
|
29
|
+
SUPPLY_OFFER_SORT_KEY_MODIFIED_AT = 2,
|
|
30
|
+
/**
|
|
31
|
+
* Fetch ordered results by the approved on timestamp
|
|
32
|
+
*
|
|
33
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_APPROVED_ON = 3;
|
|
34
|
+
*/
|
|
35
|
+
SUPPLY_OFFER_SORT_KEY_APPROVED_ON = 3,
|
|
36
|
+
/**
|
|
37
|
+
* Fetch ordered results by the approved by field
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_APPROVED_BY = 4;
|
|
40
|
+
*/
|
|
41
|
+
SUPPLY_OFFER_SORT_KEY_APPROVED_BY = 4,
|
|
42
|
+
/**
|
|
43
|
+
* Fetch ordered results by the approver's role ID
|
|
44
|
+
*
|
|
45
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_APPROVER_ROLE_ID = 5;
|
|
46
|
+
*/
|
|
47
|
+
SUPPLY_OFFER_SORT_KEY_APPROVER_ROLE_ID = 5,
|
|
48
|
+
/**
|
|
49
|
+
* Fetch ordered results by the approver's completed on timestamp
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_COMPLETED_ON = 6;
|
|
52
|
+
*/
|
|
53
|
+
SUPPLY_OFFER_SORT_KEY_COMPLETED_ON = 6,
|
|
54
|
+
/**
|
|
55
|
+
* Fetch ordered results by the reference ID
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_REFERENCE_ID = 10;
|
|
58
|
+
*/
|
|
59
|
+
SUPPLY_OFFER_SORT_KEY_REFERENCE_ID = 10,
|
|
60
|
+
/**
|
|
61
|
+
* Fetch ordered results by the final ref number
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_FINAL_REF_NUMBER = 11;
|
|
64
|
+
*/
|
|
65
|
+
SUPPLY_OFFER_SORT_KEY_FINAL_REF_NUMBER = 11,
|
|
66
|
+
/**
|
|
67
|
+
* Fetch ordered results by the consignee location ID
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_CONSIGNEE_LOCATION_ID = 12;
|
|
70
|
+
*/
|
|
71
|
+
SUPPLY_OFFER_SORT_KEY_CONSIGNEE_LOCATION_ID = 12,
|
|
72
|
+
/**
|
|
73
|
+
* Fetch ordered results by the buyer location ID
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_BUYER_LOCATION_ID = 13;
|
|
76
|
+
*/
|
|
77
|
+
SUPPLY_OFFER_SORT_KEY_BUYER_LOCATION_ID = 13,
|
|
78
|
+
/**
|
|
79
|
+
* Fetch ordered results by the vendor ID
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_VENDOR_ID = 14;
|
|
82
|
+
*/
|
|
83
|
+
SUPPLY_OFFER_SORT_KEY_VENDOR_ID = 14,
|
|
84
|
+
/**
|
|
85
|
+
* Fetch ordered results by the currency ID
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_CURRENCY_ID = 15;
|
|
88
|
+
*/
|
|
89
|
+
SUPPLY_OFFER_SORT_KEY_CURRENCY_ID = 15,
|
|
90
|
+
/**
|
|
91
|
+
* Fetch ordered results by the project ID
|
|
92
|
+
*
|
|
93
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_PROJECT_ID = 16;
|
|
94
|
+
*/
|
|
95
|
+
SUPPLY_OFFER_SORT_KEY_PROJECT_ID = 16,
|
|
96
|
+
/**
|
|
97
|
+
* Fetch ordered results by the advance payment
|
|
98
|
+
*
|
|
99
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_PAYMENT_ADVANCE = 17;
|
|
100
|
+
*/
|
|
101
|
+
SUPPLY_OFFER_SORT_KEY_PAYMENT_ADVANCE = 17,
|
|
102
|
+
/**
|
|
103
|
+
* Fetch ordered results by the amendment count
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_AMENDMENT_COUNT = 18;
|
|
106
|
+
*/
|
|
107
|
+
SUPPLY_OFFER_SORT_KEY_AMENDMENT_COUNT = 18,
|
|
108
|
+
/**
|
|
109
|
+
* Fetch ordered results by the total value
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: SUPPLY_OFFER_SORT_KEY_TOTAL_VALUE = 30;
|
|
112
|
+
*/
|
|
113
|
+
SUPPLY_OFFER_SORT_KEY_TOTAL_VALUE = 30
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* Describes the available sort keys
|
|
118
|
+
*
|
|
119
|
+
* @generated from enum Scailo.SUPPLY_OFFER_ITEM_SORT_KEY
|
|
120
|
+
*/
|
|
121
|
+
export declare enum SUPPLY_OFFER_ITEM_SORT_KEY {
|
|
122
|
+
/**
|
|
123
|
+
* Fetch ordered results by id
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_ID_UNSPECIFIED = 0;
|
|
126
|
+
*/
|
|
127
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_ID_UNSPECIFIED = 0,
|
|
128
|
+
/**
|
|
129
|
+
* Fetch ordered results by the creation timestamp
|
|
130
|
+
*
|
|
131
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_CREATED_AT = 1;
|
|
132
|
+
*/
|
|
133
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_CREATED_AT = 1,
|
|
134
|
+
/**
|
|
135
|
+
* Fetch ordered results by the modified timestamp
|
|
136
|
+
*
|
|
137
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_MODIFIED_AT = 2;
|
|
138
|
+
*/
|
|
139
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_MODIFIED_AT = 2,
|
|
140
|
+
/**
|
|
141
|
+
* Fetch ordered results by the approved on timestamp
|
|
142
|
+
*
|
|
143
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_APPROVED_ON = 3;
|
|
144
|
+
*/
|
|
145
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_APPROVED_ON = 3,
|
|
146
|
+
/**
|
|
147
|
+
* Fetch ordered results by the approved by field
|
|
148
|
+
*
|
|
149
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_APPROVED_BY = 4;
|
|
150
|
+
*/
|
|
151
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_APPROVED_BY = 4,
|
|
152
|
+
/**
|
|
153
|
+
* Fetch ordered results by the approver's role ID
|
|
154
|
+
*
|
|
155
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_APPROVER_ROLE_ID = 5;
|
|
156
|
+
*/
|
|
157
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_APPROVER_ROLE_ID = 5,
|
|
158
|
+
/**
|
|
159
|
+
* Fetch ordered results by the family ID
|
|
160
|
+
*
|
|
161
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_FAMILY_ID = 10;
|
|
162
|
+
*/
|
|
163
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_FAMILY_ID = 10,
|
|
164
|
+
/**
|
|
165
|
+
* Fetch ordered results by the internal quantity
|
|
166
|
+
*
|
|
167
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_INTERNAL_QUANTITY = 11;
|
|
168
|
+
*/
|
|
169
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_INTERNAL_QUANTITY = 11,
|
|
170
|
+
/**
|
|
171
|
+
* Fetch ordered results by the vendor unit of material ID
|
|
172
|
+
*
|
|
173
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_UOM_ID = 12;
|
|
174
|
+
*/
|
|
175
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_UOM_ID = 12,
|
|
176
|
+
/**
|
|
177
|
+
* Fetch ordered results by the vendor quantity
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_QUANTITY = 13;
|
|
180
|
+
*/
|
|
181
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_QUANTITY = 13,
|
|
182
|
+
/**
|
|
183
|
+
* Fetch ordered results by the vendor unit price
|
|
184
|
+
*
|
|
185
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_UNIT_PRICE = 14;
|
|
186
|
+
*/
|
|
187
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_VENDOR_UNIT_PRICE = 14,
|
|
188
|
+
/**
|
|
189
|
+
* Fetch ordered results by the tax group ID
|
|
190
|
+
*
|
|
191
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_TAX_GROUP_ID = 15;
|
|
192
|
+
*/
|
|
193
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_TAX_GROUP_ID = 15,
|
|
194
|
+
/**
|
|
195
|
+
* Fetch ordered results by the discount
|
|
196
|
+
*
|
|
197
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_DISCOUNT = 16;
|
|
198
|
+
*/
|
|
199
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_DISCOUNT = 16,
|
|
200
|
+
/**
|
|
201
|
+
* Fetch ordered results by the delivery date
|
|
202
|
+
*
|
|
203
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_SORT_KEY_DELIVERY_DATE = 17;
|
|
204
|
+
*/
|
|
205
|
+
SUPPLY_OFFER_ITEM_SORT_KEY_DELIVERY_DATE = 17
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* Describes the applicable statuses of supply offer items
|
|
210
|
+
*
|
|
211
|
+
* @generated from enum Scailo.SUPPLY_OFFER_ITEM_STATUS
|
|
212
|
+
*/
|
|
213
|
+
export declare enum SUPPLY_OFFER_ITEM_STATUS {
|
|
214
|
+
/**
|
|
215
|
+
* Denotes that status be disregarded. This is used only within search APIs
|
|
216
|
+
*
|
|
217
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_STATUS_ANY_UNSPECIFIED = 0;
|
|
218
|
+
*/
|
|
219
|
+
SUPPLY_OFFER_ITEM_STATUS_ANY_UNSPECIFIED = 0,
|
|
220
|
+
/**
|
|
221
|
+
* Denotes that the supply offer items must have been approved
|
|
222
|
+
*
|
|
223
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_STATUS_APPROVED = 1;
|
|
224
|
+
*/
|
|
225
|
+
SUPPLY_OFFER_ITEM_STATUS_APPROVED = 1,
|
|
226
|
+
/**
|
|
227
|
+
* Denotes that the supply offer items must be waiting for approval
|
|
228
|
+
*
|
|
229
|
+
* @generated from enum value: SUPPLY_OFFER_ITEM_STATUS_UNAPPROVED = 2;
|
|
230
|
+
*/
|
|
231
|
+
SUPPLY_OFFER_ITEM_STATUS_UNAPPROVED = 2
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* Describes the parameters necessary to create a record
|
|
236
|
+
*
|
|
237
|
+
* @generated from message Scailo.SupplyOffersServiceCreateRequest
|
|
238
|
+
*/
|
|
239
|
+
export declare class SupplyOffersServiceCreateRequest extends Message<SupplyOffersServiceCreateRequest> {
|
|
240
|
+
/**
|
|
241
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string entity_uuid = 1;
|
|
244
|
+
*/
|
|
245
|
+
entityUuid: string;
|
|
246
|
+
/**
|
|
247
|
+
* Stores any comment that the user might add during this operation
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: string user_comment = 2;
|
|
250
|
+
*/
|
|
251
|
+
userComment: string;
|
|
252
|
+
/**
|
|
253
|
+
* The associated vault folder ID
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: uint64 vault_folder_id = 9;
|
|
256
|
+
*/
|
|
257
|
+
vaultFolderId: bigint;
|
|
258
|
+
/**
|
|
259
|
+
* The reference ID of the supply offer
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: string reference_id = 10;
|
|
262
|
+
*/
|
|
263
|
+
referenceId: string;
|
|
264
|
+
/**
|
|
265
|
+
* The location ID of the consignee
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: uint64 consignee_location_id = 12;
|
|
268
|
+
*/
|
|
269
|
+
consigneeLocationId: bigint;
|
|
270
|
+
/**
|
|
271
|
+
* The location ID of the buyer
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: uint64 buyer_location_id = 13;
|
|
274
|
+
*/
|
|
275
|
+
buyerLocationId: bigint;
|
|
276
|
+
/**
|
|
277
|
+
* The ID of the vendor
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: uint64 vendor_id = 14;
|
|
280
|
+
*/
|
|
281
|
+
vendorId: bigint;
|
|
282
|
+
/**
|
|
283
|
+
* The associated ID of the currency
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: uint64 currency_id = 15;
|
|
286
|
+
*/
|
|
287
|
+
currencyId: bigint;
|
|
288
|
+
/**
|
|
289
|
+
* The optional associated ID of the project
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: uint64 project_id = 16;
|
|
292
|
+
*/
|
|
293
|
+
projectId: bigint;
|
|
294
|
+
/**
|
|
295
|
+
* Any miscellaneous cost
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: uint64 miscellaneous_cost = 17;
|
|
298
|
+
*/
|
|
299
|
+
miscellaneousCost: bigint;
|
|
300
|
+
/**
|
|
301
|
+
* The optional discount amount
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: uint64 overall_discount = 18;
|
|
304
|
+
*/
|
|
305
|
+
overallDiscount: bigint;
|
|
306
|
+
/**
|
|
307
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: int64 round_off = 19;
|
|
310
|
+
*/
|
|
311
|
+
roundOff: bigint;
|
|
312
|
+
/**
|
|
313
|
+
* The amount paid in advance
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: uint64 payment_advance = 20;
|
|
316
|
+
*/
|
|
317
|
+
paymentAdvance: bigint;
|
|
318
|
+
/**
|
|
319
|
+
* The payment cycle in days
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: uint64 payment_cycle_in_days = 21;
|
|
322
|
+
*/
|
|
323
|
+
paymentCycleInDays: bigint;
|
|
324
|
+
/**
|
|
325
|
+
* The list of dynamic forms
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 30;
|
|
328
|
+
*/
|
|
329
|
+
formData: FormFieldDatumCreateRequest[];
|
|
330
|
+
constructor(data?: PartialMessage<SupplyOffersServiceCreateRequest>);
|
|
331
|
+
static readonly runtime: typeof proto3;
|
|
332
|
+
static readonly typeName = "Scailo.SupplyOffersServiceCreateRequest";
|
|
333
|
+
static readonly fields: FieldList;
|
|
334
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceCreateRequest;
|
|
335
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceCreateRequest;
|
|
336
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceCreateRequest;
|
|
337
|
+
static equals(a: SupplyOffersServiceCreateRequest | PlainMessage<SupplyOffersServiceCreateRequest> | undefined, b: SupplyOffersServiceCreateRequest | PlainMessage<SupplyOffersServiceCreateRequest> | undefined): boolean;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* Describes the parameters necessary to update a record
|
|
342
|
+
*
|
|
343
|
+
* @generated from message Scailo.SupplyOffersServiceUpdateRequest
|
|
344
|
+
*/
|
|
345
|
+
export declare class SupplyOffersServiceUpdateRequest extends Message<SupplyOffersServiceUpdateRequest> {
|
|
346
|
+
/**
|
|
347
|
+
* Stores any comment that the user might add during this operation
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: string user_comment = 1;
|
|
350
|
+
*/
|
|
351
|
+
userComment: string;
|
|
352
|
+
/**
|
|
353
|
+
* The ID of the record that needs to be updated
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: uint64 id = 2;
|
|
356
|
+
*/
|
|
357
|
+
id: bigint;
|
|
358
|
+
/**
|
|
359
|
+
* 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)
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: bool notify_users = 3;
|
|
362
|
+
*/
|
|
363
|
+
notifyUsers: boolean;
|
|
364
|
+
/**
|
|
365
|
+
* The associated vault folder ID
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: uint64 vault_folder_id = 9;
|
|
368
|
+
*/
|
|
369
|
+
vaultFolderId: bigint;
|
|
370
|
+
/**
|
|
371
|
+
* The reference ID of the supply offer
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: string reference_id = 10;
|
|
374
|
+
*/
|
|
375
|
+
referenceId: string;
|
|
376
|
+
/**
|
|
377
|
+
* The location ID of the consignee
|
|
378
|
+
*
|
|
379
|
+
* @generated from field: uint64 consignee_location_id = 12;
|
|
380
|
+
*/
|
|
381
|
+
consigneeLocationId: bigint;
|
|
382
|
+
/**
|
|
383
|
+
* The location ID of the buyer
|
|
384
|
+
*
|
|
385
|
+
* @generated from field: uint64 buyer_location_id = 13;
|
|
386
|
+
*/
|
|
387
|
+
buyerLocationId: bigint;
|
|
388
|
+
/**
|
|
389
|
+
* The associated ID of the currency
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: uint64 currency_id = 15;
|
|
392
|
+
*/
|
|
393
|
+
currencyId: bigint;
|
|
394
|
+
/**
|
|
395
|
+
* The optional associated ID of the project
|
|
396
|
+
*
|
|
397
|
+
* @generated from field: uint64 project_id = 16;
|
|
398
|
+
*/
|
|
399
|
+
projectId: bigint;
|
|
400
|
+
/**
|
|
401
|
+
* Any miscellaneous cost
|
|
402
|
+
*
|
|
403
|
+
* @generated from field: uint64 miscellaneous_cost = 17;
|
|
404
|
+
*/
|
|
405
|
+
miscellaneousCost: bigint;
|
|
406
|
+
/**
|
|
407
|
+
* The optional discount amount
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: uint64 overall_discount = 18;
|
|
410
|
+
*/
|
|
411
|
+
overallDiscount: bigint;
|
|
412
|
+
/**
|
|
413
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: int64 round_off = 19;
|
|
416
|
+
*/
|
|
417
|
+
roundOff: bigint;
|
|
418
|
+
/**
|
|
419
|
+
* The amount paid in advance
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: uint64 payment_advance = 20;
|
|
422
|
+
*/
|
|
423
|
+
paymentAdvance: bigint;
|
|
424
|
+
/**
|
|
425
|
+
* The payment cycle in days
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: uint64 payment_cycle_in_days = 21;
|
|
428
|
+
*/
|
|
429
|
+
paymentCycleInDays: bigint;
|
|
430
|
+
/**
|
|
431
|
+
* The list of dynamic forms
|
|
432
|
+
*
|
|
433
|
+
* @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 30;
|
|
434
|
+
*/
|
|
435
|
+
formData: FormFieldDatumCreateRequest[];
|
|
436
|
+
constructor(data?: PartialMessage<SupplyOffersServiceUpdateRequest>);
|
|
437
|
+
static readonly runtime: typeof proto3;
|
|
438
|
+
static readonly typeName = "Scailo.SupplyOffersServiceUpdateRequest";
|
|
439
|
+
static readonly fields: FieldList;
|
|
440
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceUpdateRequest;
|
|
441
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceUpdateRequest;
|
|
442
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceUpdateRequest;
|
|
443
|
+
static equals(a: SupplyOffersServiceUpdateRequest | PlainMessage<SupplyOffersServiceUpdateRequest> | undefined, b: SupplyOffersServiceUpdateRequest | PlainMessage<SupplyOffersServiceUpdateRequest> | undefined): boolean;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* Describes the parameters necessary to perform an autofill request
|
|
448
|
+
*
|
|
449
|
+
* @generated from message Scailo.SupplyOffersServiceAutofillRequest
|
|
450
|
+
*/
|
|
451
|
+
export declare class SupplyOffersServiceAutofillRequest extends Message<SupplyOffersServiceAutofillRequest> {
|
|
452
|
+
/**
|
|
453
|
+
* Stores any comment that the user might add during this operation
|
|
454
|
+
*
|
|
455
|
+
* @generated from field: string user_comment = 1;
|
|
456
|
+
*/
|
|
457
|
+
userComment: string;
|
|
458
|
+
/**
|
|
459
|
+
* The ID of the record that needs to be updated
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: uint64 id = 2;
|
|
462
|
+
*/
|
|
463
|
+
id: bigint;
|
|
464
|
+
constructor(data?: PartialMessage<SupplyOffersServiceAutofillRequest>);
|
|
465
|
+
static readonly runtime: typeof proto3;
|
|
466
|
+
static readonly typeName = "Scailo.SupplyOffersServiceAutofillRequest";
|
|
467
|
+
static readonly fields: FieldList;
|
|
468
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceAutofillRequest;
|
|
469
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceAutofillRequest;
|
|
470
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceAutofillRequest;
|
|
471
|
+
static equals(a: SupplyOffersServiceAutofillRequest | PlainMessage<SupplyOffersServiceAutofillRequest> | undefined, b: SupplyOffersServiceAutofillRequest | PlainMessage<SupplyOffersServiceAutofillRequest> | undefined): boolean;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* Stores the UUID references of the record
|
|
476
|
+
*
|
|
477
|
+
* @generated from message Scailo.SupplyOfferAncillaryParameters
|
|
478
|
+
*/
|
|
479
|
+
export declare class SupplyOfferAncillaryParameters extends Message<SupplyOfferAncillaryParameters> {
|
|
480
|
+
/**
|
|
481
|
+
* The UUID of the consignee location (the UUID of the associated consignee_location_id)
|
|
482
|
+
*
|
|
483
|
+
* @generated from field: string consignee_location_uuid = 212;
|
|
484
|
+
*/
|
|
485
|
+
consigneeLocationUuid: string;
|
|
486
|
+
/**
|
|
487
|
+
* The UUID of the buyer location (the UUID of the associated buyer_location_id)
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: string buyer_location_uuid = 213;
|
|
490
|
+
*/
|
|
491
|
+
buyerLocationUuid: string;
|
|
492
|
+
/**
|
|
493
|
+
* The UUID of the vendor (the UUID of the associated vendor_id)
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: string vendor_uuid = 214;
|
|
496
|
+
*/
|
|
497
|
+
vendorUuid: string;
|
|
498
|
+
/**
|
|
499
|
+
* The UUID of the currency (the UUID of the associated currency)
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: string currency_uuid = 215;
|
|
502
|
+
*/
|
|
503
|
+
currencyUuid: string;
|
|
504
|
+
constructor(data?: PartialMessage<SupplyOfferAncillaryParameters>);
|
|
505
|
+
static readonly runtime: typeof proto3;
|
|
506
|
+
static readonly typeName = "Scailo.SupplyOfferAncillaryParameters";
|
|
507
|
+
static readonly fields: FieldList;
|
|
508
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferAncillaryParameters;
|
|
509
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferAncillaryParameters;
|
|
510
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferAncillaryParameters;
|
|
511
|
+
static equals(a: SupplyOfferAncillaryParameters | PlainMessage<SupplyOfferAncillaryParameters> | undefined, b: SupplyOfferAncillaryParameters | PlainMessage<SupplyOfferAncillaryParameters> | undefined): boolean;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
*
|
|
515
|
+
* Describes the parameters that are part of a standard response
|
|
516
|
+
*
|
|
517
|
+
* @generated from message Scailo.SupplyOffer
|
|
518
|
+
*/
|
|
519
|
+
export declare class SupplyOffer extends Message<SupplyOffer> {
|
|
520
|
+
/**
|
|
521
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
522
|
+
*
|
|
523
|
+
* @generated from field: string entity_uuid = 1;
|
|
524
|
+
*/
|
|
525
|
+
entityUuid: string;
|
|
526
|
+
/**
|
|
527
|
+
* Stores the metadata of this supply offer
|
|
528
|
+
*
|
|
529
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
530
|
+
*/
|
|
531
|
+
metadata?: EmployeeMetadata;
|
|
532
|
+
/**
|
|
533
|
+
* Stores the approval metadata
|
|
534
|
+
*
|
|
535
|
+
* @generated from field: Scailo.ApprovalMetadata approval_metadata = 3;
|
|
536
|
+
*/
|
|
537
|
+
approvalMetadata?: ApprovalMetadata;
|
|
538
|
+
/**
|
|
539
|
+
* The status of this supply offer
|
|
540
|
+
*
|
|
541
|
+
* @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 4;
|
|
542
|
+
*/
|
|
543
|
+
status: STANDARD_LIFECYCLE_STATUS;
|
|
544
|
+
/**
|
|
545
|
+
* Stores the logs of every operation performed on this supply offer
|
|
546
|
+
*
|
|
547
|
+
* @generated from field: repeated Scailo.LogbookLogConciseSLC logs = 5;
|
|
548
|
+
*/
|
|
549
|
+
logs: LogbookLogConciseSLC[];
|
|
550
|
+
/**
|
|
551
|
+
* The timestamp of when this supply offer was marked as completed
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: uint64 completed_on = 6;
|
|
554
|
+
*/
|
|
555
|
+
completedOn: bigint;
|
|
556
|
+
/**
|
|
557
|
+
* The associated vault folder ID
|
|
558
|
+
*
|
|
559
|
+
* @generated from field: uint64 vault_folder_id = 9;
|
|
560
|
+
*/
|
|
561
|
+
vaultFolderId: bigint;
|
|
562
|
+
/**
|
|
563
|
+
* The reference ID of the supply offer
|
|
564
|
+
*
|
|
565
|
+
* @generated from field: string reference_id = 10;
|
|
566
|
+
*/
|
|
567
|
+
referenceId: string;
|
|
568
|
+
/**
|
|
569
|
+
* The unique reference number that has been automatically generated
|
|
570
|
+
*
|
|
571
|
+
* @generated from field: string final_ref_number = 11;
|
|
572
|
+
*/
|
|
573
|
+
finalRefNumber: string;
|
|
574
|
+
/**
|
|
575
|
+
* The location ID of the consignee
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: uint64 consignee_location_id = 12;
|
|
578
|
+
*/
|
|
579
|
+
consigneeLocationId: bigint;
|
|
580
|
+
/**
|
|
581
|
+
* The location ID of the buyer
|
|
582
|
+
*
|
|
583
|
+
* @generated from field: uint64 buyer_location_id = 13;
|
|
584
|
+
*/
|
|
585
|
+
buyerLocationId: bigint;
|
|
586
|
+
/**
|
|
587
|
+
* The ID of the vendor
|
|
588
|
+
*
|
|
589
|
+
* @generated from field: uint64 vendor_id = 14;
|
|
590
|
+
*/
|
|
591
|
+
vendorId: bigint;
|
|
592
|
+
/**
|
|
593
|
+
* The associated ID of the currency
|
|
594
|
+
*
|
|
595
|
+
* @generated from field: uint64 currency_id = 15;
|
|
596
|
+
*/
|
|
597
|
+
currencyId: bigint;
|
|
598
|
+
/**
|
|
599
|
+
* The optional associated ID of the project
|
|
600
|
+
*
|
|
601
|
+
* @generated from field: uint64 project_id = 16;
|
|
602
|
+
*/
|
|
603
|
+
projectId: bigint;
|
|
604
|
+
/**
|
|
605
|
+
* Any miscellaneous cost
|
|
606
|
+
*
|
|
607
|
+
* @generated from field: uint64 miscellaneous_cost = 17;
|
|
608
|
+
*/
|
|
609
|
+
miscellaneousCost: bigint;
|
|
610
|
+
/**
|
|
611
|
+
* The optional discount amount
|
|
612
|
+
*
|
|
613
|
+
* @generated from field: uint64 overall_discount = 18;
|
|
614
|
+
*/
|
|
615
|
+
overallDiscount: bigint;
|
|
616
|
+
/**
|
|
617
|
+
* The applicable round off amount (optional, and can be positive or negative)
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: int64 round_off = 19;
|
|
620
|
+
*/
|
|
621
|
+
roundOff: bigint;
|
|
622
|
+
/**
|
|
623
|
+
* The amount paid in advance
|
|
624
|
+
*
|
|
625
|
+
* @generated from field: uint64 payment_advance = 20;
|
|
626
|
+
*/
|
|
627
|
+
paymentAdvance: bigint;
|
|
628
|
+
/**
|
|
629
|
+
* The payment cycle in days
|
|
630
|
+
*
|
|
631
|
+
* @generated from field: uint64 payment_cycle_in_days = 21;
|
|
632
|
+
*/
|
|
633
|
+
paymentCycleInDays: bigint;
|
|
634
|
+
/**
|
|
635
|
+
* The number of times that the supply offer has been amended
|
|
636
|
+
*
|
|
637
|
+
* @generated from field: uint64 amendment_count = 22;
|
|
638
|
+
*/
|
|
639
|
+
amendmentCount: bigint;
|
|
640
|
+
/**
|
|
641
|
+
* Stores the total value of the supply offer (as a double, which requires no adjustments)
|
|
642
|
+
*
|
|
643
|
+
* @generated from field: double total_value = 30;
|
|
644
|
+
*/
|
|
645
|
+
totalValue: number;
|
|
646
|
+
/**
|
|
647
|
+
* The list of associated supply offer items
|
|
648
|
+
*
|
|
649
|
+
* @generated from field: repeated Scailo.SupplyOfferItem list = 40;
|
|
650
|
+
*/
|
|
651
|
+
list: SupplyOfferItem[];
|
|
652
|
+
/**
|
|
653
|
+
* The list of dynamic forms
|
|
654
|
+
*
|
|
655
|
+
* @generated from field: repeated Scailo.FormFieldDatum form_data = 50;
|
|
656
|
+
*/
|
|
657
|
+
formData: FormFieldDatum[];
|
|
658
|
+
constructor(data?: PartialMessage<SupplyOffer>);
|
|
659
|
+
static readonly runtime: typeof proto3;
|
|
660
|
+
static readonly typeName = "Scailo.SupplyOffer";
|
|
661
|
+
static readonly fields: FieldList;
|
|
662
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffer;
|
|
663
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffer;
|
|
664
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffer;
|
|
665
|
+
static equals(a: SupplyOffer | PlainMessage<SupplyOffer> | undefined, b: SupplyOffer | PlainMessage<SupplyOffer> | undefined): boolean;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* Describes the parameters required to add an item to a supply offer
|
|
670
|
+
*
|
|
671
|
+
* @generated from message Scailo.SupplyOffersServiceItemCreateRequest
|
|
672
|
+
*/
|
|
673
|
+
export declare class SupplyOffersServiceItemCreateRequest extends Message<SupplyOffersServiceItemCreateRequest> {
|
|
674
|
+
/**
|
|
675
|
+
* Stores any comment that the user might add during this operation
|
|
676
|
+
*
|
|
677
|
+
* @generated from field: string user_comment = 1;
|
|
678
|
+
*/
|
|
679
|
+
userComment: string;
|
|
680
|
+
/**
|
|
681
|
+
* Stores the supply offer ID
|
|
682
|
+
*
|
|
683
|
+
* @generated from field: uint64 supply_offer_id = 10;
|
|
684
|
+
*/
|
|
685
|
+
supplyOfferId: bigint;
|
|
686
|
+
/**
|
|
687
|
+
* Stores the family ID
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: uint64 family_id = 11;
|
|
690
|
+
*/
|
|
691
|
+
familyId: bigint;
|
|
692
|
+
/**
|
|
693
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
696
|
+
*/
|
|
697
|
+
internalQuantity: bigint;
|
|
698
|
+
/**
|
|
699
|
+
* Stores the ID of the vendor's unit of material
|
|
700
|
+
*
|
|
701
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
702
|
+
*/
|
|
703
|
+
vendorUomId: bigint;
|
|
704
|
+
/**
|
|
705
|
+
* Stores the quantity (in cents) being ordered in vendor's unit of material
|
|
706
|
+
*
|
|
707
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
708
|
+
*/
|
|
709
|
+
vendorQuantity: bigint;
|
|
710
|
+
/**
|
|
711
|
+
* The unit price of the item (as supplied by the vendor)
|
|
712
|
+
*
|
|
713
|
+
* @generated from field: uint64 vendor_unit_price = 15;
|
|
714
|
+
*/
|
|
715
|
+
vendorUnitPrice: bigint;
|
|
716
|
+
/**
|
|
717
|
+
* The ID of the associated tax group
|
|
718
|
+
*
|
|
719
|
+
* @generated from field: uint64 tax_group_id = 16;
|
|
720
|
+
*/
|
|
721
|
+
taxGroupId: bigint;
|
|
722
|
+
/**
|
|
723
|
+
* The applicable discount percentage (in cents)
|
|
724
|
+
*
|
|
725
|
+
* @generated from field: uint64 discount = 17;
|
|
726
|
+
*/
|
|
727
|
+
discount: bigint;
|
|
728
|
+
/**
|
|
729
|
+
* The delivery date of the item
|
|
730
|
+
*
|
|
731
|
+
* @generated from field: string delivery_date = 18;
|
|
732
|
+
*/
|
|
733
|
+
deliveryDate: string;
|
|
734
|
+
/**
|
|
735
|
+
* Optional specifications
|
|
736
|
+
*
|
|
737
|
+
* @generated from field: string specifications = 19;
|
|
738
|
+
*/
|
|
739
|
+
specifications: string;
|
|
740
|
+
constructor(data?: PartialMessage<SupplyOffersServiceItemCreateRequest>);
|
|
741
|
+
static readonly runtime: typeof proto3;
|
|
742
|
+
static readonly typeName = "Scailo.SupplyOffersServiceItemCreateRequest";
|
|
743
|
+
static readonly fields: FieldList;
|
|
744
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceItemCreateRequest;
|
|
745
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceItemCreateRequest;
|
|
746
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceItemCreateRequest;
|
|
747
|
+
static equals(a: SupplyOffersServiceItemCreateRequest | PlainMessage<SupplyOffersServiceItemCreateRequest> | undefined, b: SupplyOffersServiceItemCreateRequest | PlainMessage<SupplyOffersServiceItemCreateRequest> | undefined): boolean;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
*
|
|
751
|
+
* Describes the parameters required to update an item in a supply offer
|
|
752
|
+
*
|
|
753
|
+
* @generated from message Scailo.SupplyOffersServiceItemUpdateRequest
|
|
754
|
+
*/
|
|
755
|
+
export declare class SupplyOffersServiceItemUpdateRequest extends Message<SupplyOffersServiceItemUpdateRequest> {
|
|
756
|
+
/**
|
|
757
|
+
* Stores any comment that the user might add during this operation
|
|
758
|
+
*
|
|
759
|
+
* @generated from field: string user_comment = 1;
|
|
760
|
+
*/
|
|
761
|
+
userComment: string;
|
|
762
|
+
/**
|
|
763
|
+
* The ID of the record
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: uint64 id = 2;
|
|
766
|
+
*/
|
|
767
|
+
id: bigint;
|
|
768
|
+
/**
|
|
769
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
770
|
+
*
|
|
771
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
772
|
+
*/
|
|
773
|
+
internalQuantity: bigint;
|
|
774
|
+
/**
|
|
775
|
+
* Stores the ID of the vendor's unit of material
|
|
776
|
+
*
|
|
777
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
778
|
+
*/
|
|
779
|
+
vendorUomId: bigint;
|
|
780
|
+
/**
|
|
781
|
+
* Stores the quantity (in cents) being ordered in vendor's unit of material
|
|
782
|
+
*
|
|
783
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
784
|
+
*/
|
|
785
|
+
vendorQuantity: bigint;
|
|
786
|
+
/**
|
|
787
|
+
* The unit price of the item (as supplied by the vendor)
|
|
788
|
+
*
|
|
789
|
+
* @generated from field: uint64 vendor_unit_price = 15;
|
|
790
|
+
*/
|
|
791
|
+
vendorUnitPrice: bigint;
|
|
792
|
+
/**
|
|
793
|
+
* The ID of the associated tax group
|
|
794
|
+
*
|
|
795
|
+
* @generated from field: uint64 tax_group_id = 16;
|
|
796
|
+
*/
|
|
797
|
+
taxGroupId: bigint;
|
|
798
|
+
/**
|
|
799
|
+
* The applicable discount percentage (in cents)
|
|
800
|
+
*
|
|
801
|
+
* @generated from field: uint64 discount = 17;
|
|
802
|
+
*/
|
|
803
|
+
discount: bigint;
|
|
804
|
+
/**
|
|
805
|
+
* The delivery date of the item
|
|
806
|
+
*
|
|
807
|
+
* @generated from field: string delivery_date = 18;
|
|
808
|
+
*/
|
|
809
|
+
deliveryDate: string;
|
|
810
|
+
/**
|
|
811
|
+
* Optional specifications
|
|
812
|
+
*
|
|
813
|
+
* @generated from field: string specifications = 19;
|
|
814
|
+
*/
|
|
815
|
+
specifications: string;
|
|
816
|
+
constructor(data?: PartialMessage<SupplyOffersServiceItemUpdateRequest>);
|
|
817
|
+
static readonly runtime: typeof proto3;
|
|
818
|
+
static readonly typeName = "Scailo.SupplyOffersServiceItemUpdateRequest";
|
|
819
|
+
static readonly fields: FieldList;
|
|
820
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceItemUpdateRequest;
|
|
821
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceItemUpdateRequest;
|
|
822
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceItemUpdateRequest;
|
|
823
|
+
static equals(a: SupplyOffersServiceItemUpdateRequest | PlainMessage<SupplyOffersServiceItemUpdateRequest> | undefined, b: SupplyOffersServiceItemUpdateRequest | PlainMessage<SupplyOffersServiceItemUpdateRequest> | undefined): boolean;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
*
|
|
827
|
+
* Describes the parameters that constitute an item associated to a supply offer
|
|
828
|
+
*
|
|
829
|
+
* @generated from message Scailo.SupplyOfferItem
|
|
830
|
+
*/
|
|
831
|
+
export declare class SupplyOfferItem extends Message<SupplyOfferItem> {
|
|
832
|
+
/**
|
|
833
|
+
* Stores a globally unique entity UUID. This will be set at the organization level
|
|
834
|
+
*
|
|
835
|
+
* @generated from field: string entity_uuid = 1;
|
|
836
|
+
*/
|
|
837
|
+
entityUuid: string;
|
|
838
|
+
/**
|
|
839
|
+
* Stores the metadata of this supply offer
|
|
840
|
+
*
|
|
841
|
+
* @generated from field: Scailo.EmployeeMetadata metadata = 2;
|
|
842
|
+
*/
|
|
843
|
+
metadata?: EmployeeMetadata;
|
|
844
|
+
/**
|
|
845
|
+
* Stores the approval metadata
|
|
846
|
+
*
|
|
847
|
+
* @generated from field: Scailo.ApprovalMetadata approval_metadata = 3;
|
|
848
|
+
*/
|
|
849
|
+
approvalMetadata?: ApprovalMetadata;
|
|
850
|
+
/**
|
|
851
|
+
* Denotes if this record requires approval (or has been approved)
|
|
852
|
+
*
|
|
853
|
+
* @generated from field: bool need_approval = 4;
|
|
854
|
+
*/
|
|
855
|
+
needApproval: boolean;
|
|
856
|
+
/**
|
|
857
|
+
* Stores any comment that the user might have added during an operation
|
|
858
|
+
*
|
|
859
|
+
* @generated from field: string user_comment = 5;
|
|
860
|
+
*/
|
|
861
|
+
userComment: string;
|
|
862
|
+
/**
|
|
863
|
+
* Stores the supply offer ID
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: uint64 supply_offer_id = 10;
|
|
866
|
+
*/
|
|
867
|
+
supplyOfferId: bigint;
|
|
868
|
+
/**
|
|
869
|
+
* Stores the family ID
|
|
870
|
+
*
|
|
871
|
+
* @generated from field: uint64 family_id = 11;
|
|
872
|
+
*/
|
|
873
|
+
familyId: bigint;
|
|
874
|
+
/**
|
|
875
|
+
* The quantity (in cents) being ordered in internal unit of material
|
|
876
|
+
*
|
|
877
|
+
* @generated from field: uint64 internal_quantity = 12;
|
|
878
|
+
*/
|
|
879
|
+
internalQuantity: bigint;
|
|
880
|
+
/**
|
|
881
|
+
* Stores the ID of the vendor's unit of material
|
|
882
|
+
*
|
|
883
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
884
|
+
*/
|
|
885
|
+
vendorUomId: bigint;
|
|
886
|
+
/**
|
|
887
|
+
* Stores the quantity (in cents) being ordered in vendor's unit of material
|
|
888
|
+
*
|
|
889
|
+
* @generated from field: uint64 vendor_quantity = 14;
|
|
890
|
+
*/
|
|
891
|
+
vendorQuantity: bigint;
|
|
892
|
+
/**
|
|
893
|
+
* The unit price of the item (as supplied by the vendor)
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: uint64 vendor_unit_price = 15;
|
|
896
|
+
*/
|
|
897
|
+
vendorUnitPrice: bigint;
|
|
898
|
+
/**
|
|
899
|
+
* The ID of the associated tax group
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: uint64 tax_group_id = 16;
|
|
902
|
+
*/
|
|
903
|
+
taxGroupId: bigint;
|
|
904
|
+
/**
|
|
905
|
+
* The applicable discount percentage (in cents)
|
|
906
|
+
*
|
|
907
|
+
* @generated from field: uint64 discount = 17;
|
|
908
|
+
*/
|
|
909
|
+
discount: bigint;
|
|
910
|
+
/**
|
|
911
|
+
* The delivery date of the item
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: string delivery_date = 18;
|
|
914
|
+
*/
|
|
915
|
+
deliveryDate: string;
|
|
916
|
+
/**
|
|
917
|
+
* Optional specifications
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: string specifications = 19;
|
|
920
|
+
*/
|
|
921
|
+
specifications: string;
|
|
922
|
+
/**
|
|
923
|
+
* Stores the vendor unit price after factoring in the discount
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: uint64 discounted_vendor_unit_price = 30;
|
|
926
|
+
*/
|
|
927
|
+
discountedVendorUnitPrice: bigint;
|
|
928
|
+
constructor(data?: PartialMessage<SupplyOfferItem>);
|
|
929
|
+
static readonly runtime: typeof proto3;
|
|
930
|
+
static readonly typeName = "Scailo.SupplyOfferItem";
|
|
931
|
+
static readonly fields: FieldList;
|
|
932
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferItem;
|
|
933
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferItem;
|
|
934
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferItem;
|
|
935
|
+
static equals(a: SupplyOfferItem | PlainMessage<SupplyOfferItem> | undefined, b: SupplyOfferItem | PlainMessage<SupplyOfferItem> | undefined): boolean;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* Describes the message consisting of the list of supply offers
|
|
940
|
+
*
|
|
941
|
+
* @generated from message Scailo.SupplyOffersList
|
|
942
|
+
*/
|
|
943
|
+
export declare class SupplyOffersList extends Message<SupplyOffersList> {
|
|
944
|
+
/**
|
|
945
|
+
* List of records
|
|
946
|
+
*
|
|
947
|
+
* @generated from field: repeated Scailo.SupplyOffer list = 1;
|
|
948
|
+
*/
|
|
949
|
+
list: SupplyOffer[];
|
|
950
|
+
constructor(data?: PartialMessage<SupplyOffersList>);
|
|
951
|
+
static readonly runtime: typeof proto3;
|
|
952
|
+
static readonly typeName = "Scailo.SupplyOffersList";
|
|
953
|
+
static readonly fields: FieldList;
|
|
954
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersList;
|
|
955
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersList;
|
|
956
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersList;
|
|
957
|
+
static equals(a: SupplyOffersList | PlainMessage<SupplyOffersList> | undefined, b: SupplyOffersList | PlainMessage<SupplyOffersList> | undefined): boolean;
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* Describes the message consisting of the list of supply offer items
|
|
962
|
+
*
|
|
963
|
+
* @generated from message Scailo.SupplyOfferItemsList
|
|
964
|
+
*/
|
|
965
|
+
export declare class SupplyOfferItemsList extends Message<SupplyOfferItemsList> {
|
|
966
|
+
/**
|
|
967
|
+
* List of records
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: repeated Scailo.SupplyOfferItem list = 1;
|
|
970
|
+
*/
|
|
971
|
+
list: SupplyOfferItem[];
|
|
972
|
+
constructor(data?: PartialMessage<SupplyOfferItemsList>);
|
|
973
|
+
static readonly runtime: typeof proto3;
|
|
974
|
+
static readonly typeName = "Scailo.SupplyOfferItemsList";
|
|
975
|
+
static readonly fields: FieldList;
|
|
976
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferItemsList;
|
|
977
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferItemsList;
|
|
978
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferItemsList;
|
|
979
|
+
static equals(a: SupplyOfferItemsList | PlainMessage<SupplyOfferItemsList> | undefined, b: SupplyOfferItemsList | PlainMessage<SupplyOfferItemsList> | undefined): boolean;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* Describes the parameters that are required to retrieve the history of the record
|
|
984
|
+
*
|
|
985
|
+
* @generated from message Scailo.SupplyOfferItemHistoryRequest
|
|
986
|
+
*/
|
|
987
|
+
export declare class SupplyOfferItemHistoryRequest extends Message<SupplyOfferItemHistoryRequest> {
|
|
988
|
+
/**
|
|
989
|
+
* Stores the supply offer ID
|
|
990
|
+
*
|
|
991
|
+
* @generated from field: uint64 supply_offer_id = 10;
|
|
992
|
+
*/
|
|
993
|
+
supplyOfferId: bigint;
|
|
994
|
+
/**
|
|
995
|
+
* Stores the family ID
|
|
996
|
+
*
|
|
997
|
+
* @generated from field: uint64 family_id = 11;
|
|
998
|
+
*/
|
|
999
|
+
familyId: bigint;
|
|
1000
|
+
constructor(data?: PartialMessage<SupplyOfferItemHistoryRequest>);
|
|
1001
|
+
static readonly runtime: typeof proto3;
|
|
1002
|
+
static readonly typeName = "Scailo.SupplyOfferItemHistoryRequest";
|
|
1003
|
+
static readonly fields: FieldList;
|
|
1004
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferItemHistoryRequest;
|
|
1005
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferItemHistoryRequest;
|
|
1006
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferItemHistoryRequest;
|
|
1007
|
+
static equals(a: SupplyOfferItemHistoryRequest | PlainMessage<SupplyOfferItemHistoryRequest> | undefined, b: SupplyOfferItemHistoryRequest | PlainMessage<SupplyOfferItemHistoryRequest> | undefined): boolean;
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
*
|
|
1011
|
+
* Describes the parameters that are required to retrieve the info of a prospective supply offer item
|
|
1012
|
+
*
|
|
1013
|
+
* @generated from message Scailo.SupplyOfferItemProspectiveInfoRequest
|
|
1014
|
+
*/
|
|
1015
|
+
export declare class SupplyOfferItemProspectiveInfoRequest extends Message<SupplyOfferItemProspectiveInfoRequest> {
|
|
1016
|
+
/**
|
|
1017
|
+
* Stores the supply offer ID
|
|
1018
|
+
*
|
|
1019
|
+
* @generated from field: uint64 supply_offer_id = 10;
|
|
1020
|
+
*/
|
|
1021
|
+
supplyOfferId: bigint;
|
|
1022
|
+
/**
|
|
1023
|
+
* Stores the family ID
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: uint64 family_id = 11;
|
|
1026
|
+
*/
|
|
1027
|
+
familyId: bigint;
|
|
1028
|
+
/**
|
|
1029
|
+
* Stores the ID of the vendor's unit of material (if 0, the value is ignored while retrieving records)
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: uint64 vendor_uom_id = 13;
|
|
1032
|
+
*/
|
|
1033
|
+
vendorUomId: bigint;
|
|
1034
|
+
constructor(data?: PartialMessage<SupplyOfferItemProspectiveInfoRequest>);
|
|
1035
|
+
static readonly runtime: typeof proto3;
|
|
1036
|
+
static readonly typeName = "Scailo.SupplyOfferItemProspectiveInfoRequest";
|
|
1037
|
+
static readonly fields: FieldList;
|
|
1038
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferItemProspectiveInfoRequest;
|
|
1039
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferItemProspectiveInfoRequest;
|
|
1040
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferItemProspectiveInfoRequest;
|
|
1041
|
+
static equals(a: SupplyOfferItemProspectiveInfoRequest | PlainMessage<SupplyOfferItemProspectiveInfoRequest> | undefined, b: SupplyOfferItemProspectiveInfoRequest | PlainMessage<SupplyOfferItemProspectiveInfoRequest> | undefined): boolean;
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* Describes a pagination request to retrieve records
|
|
1046
|
+
*
|
|
1047
|
+
* @generated from message Scailo.SupplyOffersServicePaginationReq
|
|
1048
|
+
*/
|
|
1049
|
+
export declare class SupplyOffersServicePaginationReq extends Message<SupplyOffersServicePaginationReq> {
|
|
1050
|
+
/**
|
|
1051
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1052
|
+
*
|
|
1053
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1054
|
+
*/
|
|
1055
|
+
isActive: BOOL_FILTER;
|
|
1056
|
+
/**
|
|
1057
|
+
* The number of records that need to be sent in the response
|
|
1058
|
+
*
|
|
1059
|
+
* @generated from field: int64 count = 2;
|
|
1060
|
+
*/
|
|
1061
|
+
count: bigint;
|
|
1062
|
+
/**
|
|
1063
|
+
* The number that need to be offset by before fetching the records
|
|
1064
|
+
*
|
|
1065
|
+
* @generated from field: uint64 offset = 3;
|
|
1066
|
+
*/
|
|
1067
|
+
offset: bigint;
|
|
1068
|
+
/**
|
|
1069
|
+
* The sort order that is to be used to fetch the pagination response
|
|
1070
|
+
*
|
|
1071
|
+
* @generated from field: Scailo.SORT_ORDER sort_order = 4;
|
|
1072
|
+
*/
|
|
1073
|
+
sortOrder: SORT_ORDER;
|
|
1074
|
+
/**
|
|
1075
|
+
* The sort key that is to be used to fetch the pagination response
|
|
1076
|
+
*
|
|
1077
|
+
* @generated from field: Scailo.SUPPLY_OFFER_SORT_KEY sort_key = 5;
|
|
1078
|
+
*/
|
|
1079
|
+
sortKey: SUPPLY_OFFER_SORT_KEY;
|
|
1080
|
+
/**
|
|
1081
|
+
* The status of this supply offer
|
|
1082
|
+
*
|
|
1083
|
+
* @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 6;
|
|
1084
|
+
*/
|
|
1085
|
+
status: STANDARD_LIFECYCLE_STATUS;
|
|
1086
|
+
constructor(data?: PartialMessage<SupplyOffersServicePaginationReq>);
|
|
1087
|
+
static readonly runtime: typeof proto3;
|
|
1088
|
+
static readonly typeName = "Scailo.SupplyOffersServicePaginationReq";
|
|
1089
|
+
static readonly fields: FieldList;
|
|
1090
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServicePaginationReq;
|
|
1091
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginationReq;
|
|
1092
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginationReq;
|
|
1093
|
+
static equals(a: SupplyOffersServicePaginationReq | PlainMessage<SupplyOffersServicePaginationReq> | undefined, b: SupplyOffersServicePaginationReq | PlainMessage<SupplyOffersServicePaginationReq> | undefined): boolean;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* Describes the response to a pagination request
|
|
1098
|
+
*
|
|
1099
|
+
* @generated from message Scailo.SupplyOffersServicePaginationResponse
|
|
1100
|
+
*/
|
|
1101
|
+
export declare class SupplyOffersServicePaginationResponse extends Message<SupplyOffersServicePaginationResponse> {
|
|
1102
|
+
/**
|
|
1103
|
+
* The number of records in this payload
|
|
1104
|
+
*
|
|
1105
|
+
* @generated from field: uint64 count = 1;
|
|
1106
|
+
*/
|
|
1107
|
+
count: bigint;
|
|
1108
|
+
/**
|
|
1109
|
+
* 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
|
|
1110
|
+
*
|
|
1111
|
+
* @generated from field: uint64 offset = 2;
|
|
1112
|
+
*/
|
|
1113
|
+
offset: bigint;
|
|
1114
|
+
/**
|
|
1115
|
+
* The total number of records that are available
|
|
1116
|
+
*
|
|
1117
|
+
* @generated from field: uint64 total = 3;
|
|
1118
|
+
*/
|
|
1119
|
+
total: bigint;
|
|
1120
|
+
/**
|
|
1121
|
+
* The list of records
|
|
1122
|
+
*
|
|
1123
|
+
* @generated from field: repeated Scailo.SupplyOffer payload = 4;
|
|
1124
|
+
*/
|
|
1125
|
+
payload: SupplyOffer[];
|
|
1126
|
+
constructor(data?: PartialMessage<SupplyOffersServicePaginationResponse>);
|
|
1127
|
+
static readonly runtime: typeof proto3;
|
|
1128
|
+
static readonly typeName = "Scailo.SupplyOffersServicePaginationResponse";
|
|
1129
|
+
static readonly fields: FieldList;
|
|
1130
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServicePaginationResponse;
|
|
1131
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginationResponse;
|
|
1132
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginationResponse;
|
|
1133
|
+
static equals(a: SupplyOffersServicePaginationResponse | PlainMessage<SupplyOffersServicePaginationResponse> | undefined, b: SupplyOffersServicePaginationResponse | PlainMessage<SupplyOffersServicePaginationResponse> | undefined): boolean;
|
|
1134
|
+
}
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* Describes the base request payload of a filter search
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from message Scailo.SupplyOffersServiceFilterReq
|
|
1140
|
+
*/
|
|
1141
|
+
export declare class SupplyOffersServiceFilterReq extends Message<SupplyOffersServiceFilterReq> {
|
|
1142
|
+
/**
|
|
1143
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1144
|
+
*
|
|
1145
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1146
|
+
*/
|
|
1147
|
+
isActive: BOOL_FILTER;
|
|
1148
|
+
/**
|
|
1149
|
+
* The number of records that need to be sent in the response. Returns all records if it is set to -1
|
|
1150
|
+
*
|
|
1151
|
+
* @generated from field: int64 count = 2;
|
|
1152
|
+
*/
|
|
1153
|
+
count: bigint;
|
|
1154
|
+
/**
|
|
1155
|
+
* The number that need to be offset by before fetching the records
|
|
1156
|
+
*
|
|
1157
|
+
* @generated from field: uint64 offset = 3;
|
|
1158
|
+
*/
|
|
1159
|
+
offset: bigint;
|
|
1160
|
+
/**
|
|
1161
|
+
* The sort order that is to be used to fetch the pagination response
|
|
1162
|
+
*
|
|
1163
|
+
* @generated from field: Scailo.SORT_ORDER sort_order = 4;
|
|
1164
|
+
*/
|
|
1165
|
+
sortOrder: SORT_ORDER;
|
|
1166
|
+
/**
|
|
1167
|
+
* The sort key that is to be used to fetch the pagination response
|
|
1168
|
+
*
|
|
1169
|
+
* @generated from field: Scailo.SUPPLY_OFFER_SORT_KEY sort_key = 5;
|
|
1170
|
+
*/
|
|
1171
|
+
sortKey: SUPPLY_OFFER_SORT_KEY;
|
|
1172
|
+
/**
|
|
1173
|
+
* The minimum timestamp that needs to be considered to filter by creation
|
|
1174
|
+
*
|
|
1175
|
+
* @generated from field: uint64 creation_timestamp_start = 101;
|
|
1176
|
+
*/
|
|
1177
|
+
creationTimestampStart: bigint;
|
|
1178
|
+
/**
|
|
1179
|
+
* The maximum timestamp that needs to be considered to filter by creation
|
|
1180
|
+
*
|
|
1181
|
+
* @generated from field: uint64 creation_timestamp_end = 102;
|
|
1182
|
+
*/
|
|
1183
|
+
creationTimestampEnd: bigint;
|
|
1184
|
+
/**
|
|
1185
|
+
* The minimum timestamp that needs to be considered to filter by modification
|
|
1186
|
+
*
|
|
1187
|
+
* @generated from field: uint64 modification_timestamp_start = 103;
|
|
1188
|
+
*/
|
|
1189
|
+
modificationTimestampStart: bigint;
|
|
1190
|
+
/**
|
|
1191
|
+
* The maximum timestamp that needs to be considered to filter by modification
|
|
1192
|
+
*
|
|
1193
|
+
* @generated from field: uint64 modification_timestamp_end = 104;
|
|
1194
|
+
*/
|
|
1195
|
+
modificationTimestampEnd: bigint;
|
|
1196
|
+
/**
|
|
1197
|
+
* The entity UUID that is to be used to filter records
|
|
1198
|
+
*
|
|
1199
|
+
* @generated from field: string entity_uuid = 8;
|
|
1200
|
+
*/
|
|
1201
|
+
entityUuid: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* The status of this supply offer
|
|
1204
|
+
*
|
|
1205
|
+
* @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
|
|
1206
|
+
*/
|
|
1207
|
+
status: STANDARD_LIFECYCLE_STATUS;
|
|
1208
|
+
/**
|
|
1209
|
+
* The start range of approved timestamp
|
|
1210
|
+
*
|
|
1211
|
+
* @generated from field: uint64 approved_on_start = 11;
|
|
1212
|
+
*/
|
|
1213
|
+
approvedOnStart: bigint;
|
|
1214
|
+
/**
|
|
1215
|
+
* The end range of approved timestamp
|
|
1216
|
+
*
|
|
1217
|
+
* @generated from field: uint64 approved_on_end = 12;
|
|
1218
|
+
*/
|
|
1219
|
+
approvedOnEnd: bigint;
|
|
1220
|
+
/**
|
|
1221
|
+
* The ID of the approver
|
|
1222
|
+
*
|
|
1223
|
+
* @generated from field: uint64 approved_by_user_id = 13;
|
|
1224
|
+
*/
|
|
1225
|
+
approvedByUserId: bigint;
|
|
1226
|
+
/**
|
|
1227
|
+
* The role ID of the approver
|
|
1228
|
+
*
|
|
1229
|
+
* @generated from field: uint64 approver_role_id = 14;
|
|
1230
|
+
*/
|
|
1231
|
+
approverRoleId: bigint;
|
|
1232
|
+
/**
|
|
1233
|
+
* The start range of completed timestamp
|
|
1234
|
+
*
|
|
1235
|
+
* @generated from field: uint64 completed_on_start = 15;
|
|
1236
|
+
*/
|
|
1237
|
+
completedOnStart: bigint;
|
|
1238
|
+
/**
|
|
1239
|
+
* The end range of completed timestamp
|
|
1240
|
+
*
|
|
1241
|
+
* @generated from field: uint64 completed_on_end = 16;
|
|
1242
|
+
*/
|
|
1243
|
+
completedOnEnd: bigint;
|
|
1244
|
+
/**
|
|
1245
|
+
* The reference ID of the supply offer
|
|
1246
|
+
*
|
|
1247
|
+
* @generated from field: string reference_id = 20;
|
|
1248
|
+
*/
|
|
1249
|
+
referenceId: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* The unique reference number that has been automatically generated
|
|
1252
|
+
*
|
|
1253
|
+
* @generated from field: string final_ref_number = 21;
|
|
1254
|
+
*/
|
|
1255
|
+
finalRefNumber: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* The associated consignee location ID
|
|
1258
|
+
*
|
|
1259
|
+
* @generated from field: uint64 consignee_location_id = 22;
|
|
1260
|
+
*/
|
|
1261
|
+
consigneeLocationId: bigint;
|
|
1262
|
+
/**
|
|
1263
|
+
* The associated buyer location ID
|
|
1264
|
+
*
|
|
1265
|
+
* @generated from field: uint64 buyer_location_id = 23;
|
|
1266
|
+
*/
|
|
1267
|
+
buyerLocationId: bigint;
|
|
1268
|
+
/**
|
|
1269
|
+
* The ID of the associated vendor
|
|
1270
|
+
*
|
|
1271
|
+
* @generated from field: uint64 vendor_id = 24;
|
|
1272
|
+
*/
|
|
1273
|
+
vendorId: bigint;
|
|
1274
|
+
/**
|
|
1275
|
+
* The ID of the associated currency
|
|
1276
|
+
*
|
|
1277
|
+
* @generated from field: uint64 currency_id = 25;
|
|
1278
|
+
*/
|
|
1279
|
+
currencyId: bigint;
|
|
1280
|
+
/**
|
|
1281
|
+
* The ID of the associated project
|
|
1282
|
+
*
|
|
1283
|
+
* @generated from field: uint64 project_id = 26;
|
|
1284
|
+
*/
|
|
1285
|
+
projectId: bigint;
|
|
1286
|
+
/**
|
|
1287
|
+
* The ID of the family
|
|
1288
|
+
*
|
|
1289
|
+
* @generated from field: uint64 family_id = 40;
|
|
1290
|
+
*/
|
|
1291
|
+
familyId: bigint;
|
|
1292
|
+
/**
|
|
1293
|
+
* The exact delivery date of the item in the supply offer
|
|
1294
|
+
*
|
|
1295
|
+
* @generated from field: string delivery_date_exact = 41;
|
|
1296
|
+
*/
|
|
1297
|
+
deliveryDateExact: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* The start delivery date of the item in the supply offer
|
|
1300
|
+
*
|
|
1301
|
+
* @generated from field: string delivery_date_start = 42;
|
|
1302
|
+
*/
|
|
1303
|
+
deliveryDateStart: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* The end delivery date of the item in the supply offer
|
|
1306
|
+
*
|
|
1307
|
+
* @generated from field: string delivery_date_end = 43;
|
|
1308
|
+
*/
|
|
1309
|
+
deliveryDateEnd: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Stores the minimum value of the supply offer (ignored if 0)
|
|
1312
|
+
*
|
|
1313
|
+
* @generated from field: uint64 total_value_min = 50;
|
|
1314
|
+
*/
|
|
1315
|
+
totalValueMin: bigint;
|
|
1316
|
+
/**
|
|
1317
|
+
* Stores the maximum value of the supply offer (ignored if 0)
|
|
1318
|
+
*
|
|
1319
|
+
* @generated from field: uint64 total_value_max = 51;
|
|
1320
|
+
*/
|
|
1321
|
+
totalValueMax: bigint;
|
|
1322
|
+
constructor(data?: PartialMessage<SupplyOffersServiceFilterReq>);
|
|
1323
|
+
static readonly runtime: typeof proto3;
|
|
1324
|
+
static readonly typeName = "Scailo.SupplyOffersServiceFilterReq";
|
|
1325
|
+
static readonly fields: FieldList;
|
|
1326
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceFilterReq;
|
|
1327
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceFilterReq;
|
|
1328
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceFilterReq;
|
|
1329
|
+
static equals(a: SupplyOffersServiceFilterReq | PlainMessage<SupplyOffersServiceFilterReq> | undefined, b: SupplyOffersServiceFilterReq | PlainMessage<SupplyOffersServiceFilterReq> | undefined): boolean;
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
*
|
|
1333
|
+
* Describes the base request payload of a count search
|
|
1334
|
+
*
|
|
1335
|
+
* @generated from message Scailo.SupplyOffersServiceCountReq
|
|
1336
|
+
*/
|
|
1337
|
+
export declare class SupplyOffersServiceCountReq extends Message<SupplyOffersServiceCountReq> {
|
|
1338
|
+
/**
|
|
1339
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1340
|
+
*
|
|
1341
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1342
|
+
*/
|
|
1343
|
+
isActive: BOOL_FILTER;
|
|
1344
|
+
/**
|
|
1345
|
+
* The minimum timestamp that needs to be considered to filter by creation
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from field: uint64 creation_timestamp_start = 101;
|
|
1348
|
+
*/
|
|
1349
|
+
creationTimestampStart: bigint;
|
|
1350
|
+
/**
|
|
1351
|
+
* The maximum timestamp that needs to be considered to filter by creation
|
|
1352
|
+
*
|
|
1353
|
+
* @generated from field: uint64 creation_timestamp_end = 102;
|
|
1354
|
+
*/
|
|
1355
|
+
creationTimestampEnd: bigint;
|
|
1356
|
+
/**
|
|
1357
|
+
* The minimum timestamp that needs to be considered to filter by modification
|
|
1358
|
+
*
|
|
1359
|
+
* @generated from field: uint64 modification_timestamp_start = 103;
|
|
1360
|
+
*/
|
|
1361
|
+
modificationTimestampStart: bigint;
|
|
1362
|
+
/**
|
|
1363
|
+
* The maximum timestamp that needs to be considered to filter by modification
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from field: uint64 modification_timestamp_end = 104;
|
|
1366
|
+
*/
|
|
1367
|
+
modificationTimestampEnd: bigint;
|
|
1368
|
+
/**
|
|
1369
|
+
* The entity UUID that is to be used to filter records
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from field: string entity_uuid = 8;
|
|
1372
|
+
*/
|
|
1373
|
+
entityUuid: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* The status of this supply offer
|
|
1376
|
+
*
|
|
1377
|
+
* @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
|
|
1378
|
+
*/
|
|
1379
|
+
status: STANDARD_LIFECYCLE_STATUS;
|
|
1380
|
+
/**
|
|
1381
|
+
* The start range of approved timestamp
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from field: uint64 approved_on_start = 11;
|
|
1384
|
+
*/
|
|
1385
|
+
approvedOnStart: bigint;
|
|
1386
|
+
/**
|
|
1387
|
+
* The end range of approved timestamp
|
|
1388
|
+
*
|
|
1389
|
+
* @generated from field: uint64 approved_on_end = 12;
|
|
1390
|
+
*/
|
|
1391
|
+
approvedOnEnd: bigint;
|
|
1392
|
+
/**
|
|
1393
|
+
* The ID of the approver
|
|
1394
|
+
*
|
|
1395
|
+
* @generated from field: uint64 approved_by_user_id = 13;
|
|
1396
|
+
*/
|
|
1397
|
+
approvedByUserId: bigint;
|
|
1398
|
+
/**
|
|
1399
|
+
* The role ID of the approver
|
|
1400
|
+
*
|
|
1401
|
+
* @generated from field: uint64 approver_role_id = 14;
|
|
1402
|
+
*/
|
|
1403
|
+
approverRoleId: bigint;
|
|
1404
|
+
/**
|
|
1405
|
+
* The start range of completed timestamp
|
|
1406
|
+
*
|
|
1407
|
+
* @generated from field: uint64 completed_on_start = 15;
|
|
1408
|
+
*/
|
|
1409
|
+
completedOnStart: bigint;
|
|
1410
|
+
/**
|
|
1411
|
+
* The end range of completed timestamp
|
|
1412
|
+
*
|
|
1413
|
+
* @generated from field: uint64 completed_on_end = 16;
|
|
1414
|
+
*/
|
|
1415
|
+
completedOnEnd: bigint;
|
|
1416
|
+
/**
|
|
1417
|
+
* The reference ID of the supply offer
|
|
1418
|
+
*
|
|
1419
|
+
* @generated from field: string reference_id = 20;
|
|
1420
|
+
*/
|
|
1421
|
+
referenceId: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* The unique reference number that has been automatically generated
|
|
1424
|
+
*
|
|
1425
|
+
* @generated from field: string final_ref_number = 21;
|
|
1426
|
+
*/
|
|
1427
|
+
finalRefNumber: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* The associated consignee location ID
|
|
1430
|
+
*
|
|
1431
|
+
* @generated from field: uint64 consignee_location_id = 22;
|
|
1432
|
+
*/
|
|
1433
|
+
consigneeLocationId: bigint;
|
|
1434
|
+
/**
|
|
1435
|
+
* The associated buyer location ID
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: uint64 buyer_location_id = 23;
|
|
1438
|
+
*/
|
|
1439
|
+
buyerLocationId: bigint;
|
|
1440
|
+
/**
|
|
1441
|
+
* The ID of the associated vendor
|
|
1442
|
+
*
|
|
1443
|
+
* @generated from field: uint64 vendor_id = 24;
|
|
1444
|
+
*/
|
|
1445
|
+
vendorId: bigint;
|
|
1446
|
+
/**
|
|
1447
|
+
* The ID of the associated currency
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from field: uint64 currency_id = 25;
|
|
1450
|
+
*/
|
|
1451
|
+
currencyId: bigint;
|
|
1452
|
+
/**
|
|
1453
|
+
* The ID of the associated project
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from field: uint64 project_id = 26;
|
|
1456
|
+
*/
|
|
1457
|
+
projectId: bigint;
|
|
1458
|
+
/**
|
|
1459
|
+
* The ID of the family
|
|
1460
|
+
*
|
|
1461
|
+
* @generated from field: uint64 family_id = 40;
|
|
1462
|
+
*/
|
|
1463
|
+
familyId: bigint;
|
|
1464
|
+
/**
|
|
1465
|
+
* The exact delivery date of the item in the supply offer
|
|
1466
|
+
*
|
|
1467
|
+
* @generated from field: string delivery_date_exact = 41;
|
|
1468
|
+
*/
|
|
1469
|
+
deliveryDateExact: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* The start delivery date of the item in the supply offer
|
|
1472
|
+
*
|
|
1473
|
+
* @generated from field: string delivery_date_start = 42;
|
|
1474
|
+
*/
|
|
1475
|
+
deliveryDateStart: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* The end delivery date of the item in the supply offer
|
|
1478
|
+
*
|
|
1479
|
+
* @generated from field: string delivery_date_end = 43;
|
|
1480
|
+
*/
|
|
1481
|
+
deliveryDateEnd: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* Stores the minimum value of the supply offer (ignored if 0)
|
|
1484
|
+
*
|
|
1485
|
+
* @generated from field: uint64 total_value_min = 50;
|
|
1486
|
+
*/
|
|
1487
|
+
totalValueMin: bigint;
|
|
1488
|
+
/**
|
|
1489
|
+
* Stores the maximum value of the supply offer (ignored if 0)
|
|
1490
|
+
*
|
|
1491
|
+
* @generated from field: uint64 total_value_max = 51;
|
|
1492
|
+
*/
|
|
1493
|
+
totalValueMax: bigint;
|
|
1494
|
+
constructor(data?: PartialMessage<SupplyOffersServiceCountReq>);
|
|
1495
|
+
static readonly runtime: typeof proto3;
|
|
1496
|
+
static readonly typeName = "Scailo.SupplyOffersServiceCountReq";
|
|
1497
|
+
static readonly fields: FieldList;
|
|
1498
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceCountReq;
|
|
1499
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceCountReq;
|
|
1500
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceCountReq;
|
|
1501
|
+
static equals(a: SupplyOffersServiceCountReq | PlainMessage<SupplyOffersServiceCountReq> | undefined, b: SupplyOffersServiceCountReq | PlainMessage<SupplyOffersServiceCountReq> | undefined): boolean;
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
* Describes the request payload for performing a generic search operation on records
|
|
1506
|
+
*
|
|
1507
|
+
* @generated from message Scailo.SupplyOffersServiceSearchAllReq
|
|
1508
|
+
*/
|
|
1509
|
+
export declare class SupplyOffersServiceSearchAllReq extends Message<SupplyOffersServiceSearchAllReq> {
|
|
1510
|
+
/**
|
|
1511
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1512
|
+
*
|
|
1513
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1514
|
+
*/
|
|
1515
|
+
isActive: BOOL_FILTER;
|
|
1516
|
+
/**
|
|
1517
|
+
* The number of records that need to be sent in the response. Returns all records if it is set to -1
|
|
1518
|
+
*
|
|
1519
|
+
* @generated from field: int64 count = 2;
|
|
1520
|
+
*/
|
|
1521
|
+
count: bigint;
|
|
1522
|
+
/**
|
|
1523
|
+
* The number that need to be offset by before fetching the records
|
|
1524
|
+
*
|
|
1525
|
+
* @generated from field: uint64 offset = 3;
|
|
1526
|
+
*/
|
|
1527
|
+
offset: bigint;
|
|
1528
|
+
/**
|
|
1529
|
+
* The sort order that is to be used to fetch the pagination response
|
|
1530
|
+
*
|
|
1531
|
+
* @generated from field: Scailo.SORT_ORDER sort_order = 4;
|
|
1532
|
+
*/
|
|
1533
|
+
sortOrder: SORT_ORDER;
|
|
1534
|
+
/**
|
|
1535
|
+
* The sort key that is to be used to fetch the pagination response
|
|
1536
|
+
*
|
|
1537
|
+
* @generated from field: Scailo.SUPPLY_OFFER_SORT_KEY sort_key = 5;
|
|
1538
|
+
*/
|
|
1539
|
+
sortKey: SUPPLY_OFFER_SORT_KEY;
|
|
1540
|
+
/**
|
|
1541
|
+
* The entity UUID that is to be used to filter records
|
|
1542
|
+
*
|
|
1543
|
+
* @generated from field: string entity_uuid = 6;
|
|
1544
|
+
*/
|
|
1545
|
+
entityUuid: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* Limit the search space to the given status
|
|
1548
|
+
*
|
|
1549
|
+
* @generated from field: Scailo.STANDARD_LIFECYCLE_STATUS status = 10;
|
|
1550
|
+
*/
|
|
1551
|
+
status: STANDARD_LIFECYCLE_STATUS;
|
|
1552
|
+
/**
|
|
1553
|
+
* Describes the key with which the search operation needs to be performed
|
|
1554
|
+
*
|
|
1555
|
+
* @generated from field: string search_key = 11;
|
|
1556
|
+
*/
|
|
1557
|
+
searchKey: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* The associated consignee location ID
|
|
1560
|
+
*
|
|
1561
|
+
* @generated from field: uint64 consignee_location_id = 22;
|
|
1562
|
+
*/
|
|
1563
|
+
consigneeLocationId: bigint;
|
|
1564
|
+
/**
|
|
1565
|
+
* The associated buyer location ID
|
|
1566
|
+
*
|
|
1567
|
+
* @generated from field: uint64 buyer_location_id = 23;
|
|
1568
|
+
*/
|
|
1569
|
+
buyerLocationId: bigint;
|
|
1570
|
+
/**
|
|
1571
|
+
* The ID of the associated vendor
|
|
1572
|
+
*
|
|
1573
|
+
* @generated from field: uint64 vendor_id = 24;
|
|
1574
|
+
*/
|
|
1575
|
+
vendorId: bigint;
|
|
1576
|
+
/**
|
|
1577
|
+
* The ID of the associated currency
|
|
1578
|
+
*
|
|
1579
|
+
* @generated from field: uint64 currency_id = 25;
|
|
1580
|
+
*/
|
|
1581
|
+
currencyId: bigint;
|
|
1582
|
+
/**
|
|
1583
|
+
* The ID of the associated project
|
|
1584
|
+
*
|
|
1585
|
+
* @generated from field: uint64 project_id = 26;
|
|
1586
|
+
*/
|
|
1587
|
+
projectId: bigint;
|
|
1588
|
+
constructor(data?: PartialMessage<SupplyOffersServiceSearchAllReq>);
|
|
1589
|
+
static readonly runtime: typeof proto3;
|
|
1590
|
+
static readonly typeName = "Scailo.SupplyOffersServiceSearchAllReq";
|
|
1591
|
+
static readonly fields: FieldList;
|
|
1592
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServiceSearchAllReq;
|
|
1593
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServiceSearchAllReq;
|
|
1594
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServiceSearchAllReq;
|
|
1595
|
+
static equals(a: SupplyOffersServiceSearchAllReq | PlainMessage<SupplyOffersServiceSearchAllReq> | undefined, b: SupplyOffersServiceSearchAllReq | PlainMessage<SupplyOffersServiceSearchAllReq> | undefined): boolean;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* Describes the request payload to retrieve approved or unapproved items.
|
|
1600
|
+
*
|
|
1601
|
+
* @generated from message Scailo.SupplyOfferItemsSearchRequest
|
|
1602
|
+
*/
|
|
1603
|
+
export declare class SupplyOfferItemsSearchRequest extends Message<SupplyOfferItemsSearchRequest> {
|
|
1604
|
+
/**
|
|
1605
|
+
* If true, then returns only active records. If false, then returns only inactive records
|
|
1606
|
+
*
|
|
1607
|
+
* @generated from field: Scailo.BOOL_FILTER is_active = 1;
|
|
1608
|
+
*/
|
|
1609
|
+
isActive: BOOL_FILTER;
|
|
1610
|
+
/**
|
|
1611
|
+
* The number of records that need to be sent in the response. Returns all records if it is set to -1
|
|
1612
|
+
*
|
|
1613
|
+
* @generated from field: int64 count = 2;
|
|
1614
|
+
*/
|
|
1615
|
+
count: bigint;
|
|
1616
|
+
/**
|
|
1617
|
+
* The number that need to be offset by before fetching the records
|
|
1618
|
+
*
|
|
1619
|
+
* @generated from field: uint64 offset = 3;
|
|
1620
|
+
*/
|
|
1621
|
+
offset: bigint;
|
|
1622
|
+
/**
|
|
1623
|
+
* The sort order that is to be used to fetch the pagination response
|
|
1624
|
+
*
|
|
1625
|
+
* @generated from field: Scailo.SORT_ORDER sort_order = 4;
|
|
1626
|
+
*/
|
|
1627
|
+
sortOrder: SORT_ORDER;
|
|
1628
|
+
/**
|
|
1629
|
+
* The sort key that is to be used to fetch the pagination response
|
|
1630
|
+
*
|
|
1631
|
+
* @generated from field: Scailo.SUPPLY_OFFER_ITEM_SORT_KEY sort_key = 5;
|
|
1632
|
+
*/
|
|
1633
|
+
sortKey: SUPPLY_OFFER_ITEM_SORT_KEY;
|
|
1634
|
+
/**
|
|
1635
|
+
* The entity UUID that is to be used to filter records
|
|
1636
|
+
*
|
|
1637
|
+
* @generated from field: string entity_uuid = 6;
|
|
1638
|
+
*/
|
|
1639
|
+
entityUuid: string;
|
|
1640
|
+
/**
|
|
1641
|
+
* The status of the items
|
|
1642
|
+
*
|
|
1643
|
+
* @generated from field: Scailo.SUPPLY_OFFER_ITEM_STATUS status = 7;
|
|
1644
|
+
*/
|
|
1645
|
+
status: SUPPLY_OFFER_ITEM_STATUS;
|
|
1646
|
+
/**
|
|
1647
|
+
* The start range of approved timestamp
|
|
1648
|
+
*
|
|
1649
|
+
* @generated from field: uint64 approved_on_start = 10;
|
|
1650
|
+
*/
|
|
1651
|
+
approvedOnStart: bigint;
|
|
1652
|
+
/**
|
|
1653
|
+
* The end range of approved timestamp
|
|
1654
|
+
*
|
|
1655
|
+
* @generated from field: uint64 approved_on_end = 11;
|
|
1656
|
+
*/
|
|
1657
|
+
approvedOnEnd: bigint;
|
|
1658
|
+
/**
|
|
1659
|
+
* The ID of the approver
|
|
1660
|
+
*
|
|
1661
|
+
* @generated from field: uint64 approved_by_user_id = 12;
|
|
1662
|
+
*/
|
|
1663
|
+
approvedByUserId: bigint;
|
|
1664
|
+
/**
|
|
1665
|
+
* The role ID of the approver
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from field: uint64 approver_role_id = 13;
|
|
1668
|
+
*/
|
|
1669
|
+
approverRoleId: bigint;
|
|
1670
|
+
/**
|
|
1671
|
+
* The ID of the supply offer
|
|
1672
|
+
*
|
|
1673
|
+
* @generated from field: uint64 supply_offer_id = 20;
|
|
1674
|
+
*/
|
|
1675
|
+
supplyOfferId: bigint;
|
|
1676
|
+
/**
|
|
1677
|
+
* The ID of the family
|
|
1678
|
+
*
|
|
1679
|
+
* @generated from field: uint64 family_id = 21;
|
|
1680
|
+
*/
|
|
1681
|
+
familyId: bigint;
|
|
1682
|
+
/**
|
|
1683
|
+
* The ID of the vendor's unit of material
|
|
1684
|
+
*
|
|
1685
|
+
* @generated from field: uint64 vendor_uom_id = 22;
|
|
1686
|
+
*/
|
|
1687
|
+
vendorUomId: bigint;
|
|
1688
|
+
/**
|
|
1689
|
+
* The ID of the tax group
|
|
1690
|
+
*
|
|
1691
|
+
* @generated from field: uint64 tax_group_id = 23;
|
|
1692
|
+
*/
|
|
1693
|
+
taxGroupId: bigint;
|
|
1694
|
+
/**
|
|
1695
|
+
* The exact delivery date of the item in the supply offer
|
|
1696
|
+
*
|
|
1697
|
+
* @generated from field: string delivery_date_exact = 28;
|
|
1698
|
+
*/
|
|
1699
|
+
deliveryDateExact: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* The start delivery date of the item in the supply offer
|
|
1702
|
+
*
|
|
1703
|
+
* @generated from field: string delivery_date_start = 29;
|
|
1704
|
+
*/
|
|
1705
|
+
deliveryDateStart: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* The end delivery date of the item in the supply offer
|
|
1708
|
+
*
|
|
1709
|
+
* @generated from field: string delivery_date_end = 30;
|
|
1710
|
+
*/
|
|
1711
|
+
deliveryDateEnd: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Describes the key with which the search operation needs to be performed
|
|
1714
|
+
*
|
|
1715
|
+
* @generated from field: string search_key = 40;
|
|
1716
|
+
*/
|
|
1717
|
+
searchKey: string;
|
|
1718
|
+
constructor(data?: PartialMessage<SupplyOfferItemsSearchRequest>);
|
|
1719
|
+
static readonly runtime: typeof proto3;
|
|
1720
|
+
static readonly typeName = "Scailo.SupplyOfferItemsSearchRequest";
|
|
1721
|
+
static readonly fields: FieldList;
|
|
1722
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOfferItemsSearchRequest;
|
|
1723
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOfferItemsSearchRequest;
|
|
1724
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOfferItemsSearchRequest;
|
|
1725
|
+
static equals(a: SupplyOfferItemsSearchRequest | PlainMessage<SupplyOfferItemsSearchRequest> | undefined, b: SupplyOfferItemsSearchRequest | PlainMessage<SupplyOfferItemsSearchRequest> | undefined): boolean;
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
*
|
|
1729
|
+
* Describes the response to a pagination items request
|
|
1730
|
+
*
|
|
1731
|
+
* @generated from message Scailo.SupplyOffersServicePaginatedItemsResponse
|
|
1732
|
+
*/
|
|
1733
|
+
export declare class SupplyOffersServicePaginatedItemsResponse extends Message<SupplyOffersServicePaginatedItemsResponse> {
|
|
1734
|
+
/**
|
|
1735
|
+
* The number of records in this payload
|
|
1736
|
+
*
|
|
1737
|
+
* @generated from field: uint64 count = 1;
|
|
1738
|
+
*/
|
|
1739
|
+
count: bigint;
|
|
1740
|
+
/**
|
|
1741
|
+
* 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
|
|
1742
|
+
*
|
|
1743
|
+
* @generated from field: uint64 offset = 2;
|
|
1744
|
+
*/
|
|
1745
|
+
offset: bigint;
|
|
1746
|
+
/**
|
|
1747
|
+
* The total number of records that are available
|
|
1748
|
+
*
|
|
1749
|
+
* @generated from field: uint64 total = 3;
|
|
1750
|
+
*/
|
|
1751
|
+
total: bigint;
|
|
1752
|
+
/**
|
|
1753
|
+
* The list of records
|
|
1754
|
+
*
|
|
1755
|
+
* @generated from field: repeated Scailo.SupplyOfferItem payload = 4;
|
|
1756
|
+
*/
|
|
1757
|
+
payload: SupplyOfferItem[];
|
|
1758
|
+
constructor(data?: PartialMessage<SupplyOffersServicePaginatedItemsResponse>);
|
|
1759
|
+
static readonly runtime: typeof proto3;
|
|
1760
|
+
static readonly typeName = "Scailo.SupplyOffersServicePaginatedItemsResponse";
|
|
1761
|
+
static readonly fields: FieldList;
|
|
1762
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SupplyOffersServicePaginatedItemsResponse;
|
|
1763
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginatedItemsResponse;
|
|
1764
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SupplyOffersServicePaginatedItemsResponse;
|
|
1765
|
+
static equals(a: SupplyOffersServicePaginatedItemsResponse | PlainMessage<SupplyOffersServicePaginatedItemsResponse> | undefined, b: SupplyOffersServicePaginatedItemsResponse | PlainMessage<SupplyOffersServicePaginatedItemsResponse> | undefined): boolean;
|
|
1766
|
+
}
|
|
1767
|
+
//# sourceMappingURL=supply_offers.scailo_pb.d.ts.map
|