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