@kernelminds/scailo-sdk 0.1.4 → 0.1.6

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 (103) hide show
  1. package/lib/cjs/src/base.scailo_pb.js +7 -0
  2. package/lib/cjs/src/general_settings.scailo_connect.js +43 -18
  3. package/lib/cjs/src/general_settings.scailo_pb.js +50 -28
  4. package/lib/cjs/src/proforma_invoices.scailo_connect.js +11 -0
  5. package/lib/cjs/src/proforma_invoices.scailo_pb.js +51 -1
  6. package/lib/cjs/src/purchases_indents.scailo_connect.js +11 -0
  7. package/lib/cjs/src/purchases_indents.scailo_pb.js +51 -1
  8. package/lib/cjs/src/purchases_orders.scailo_connect.js +11 -0
  9. package/lib/cjs/src/purchases_orders.scailo_pb.js +51 -1
  10. package/lib/cjs/src/sales_invoices.scailo_connect.js +11 -0
  11. package/lib/cjs/src/sales_invoices.scailo_pb.js +51 -1
  12. package/lib/cjs/src/sales_orders.scailo_connect.js +11 -0
  13. package/lib/cjs/src/sales_orders.scailo_pb.js +51 -1
  14. package/lib/cjs/src/sales_quotations.scailo_connect.js +11 -0
  15. package/lib/cjs/src/sales_quotations.scailo_pb.js +51 -1
  16. package/lib/cjs/src/vendor_invoices.scailo_connect.js +11 -0
  17. package/lib/cjs/src/vendor_invoices.scailo_pb.js +51 -1
  18. package/lib/cjs/types/src/base.scailo_pb.d.ts +7 -1
  19. package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
  20. package/lib/cjs/types/src/general_settings.scailo_connect.d.ts +44 -19
  21. package/lib/cjs/types/src/general_settings.scailo_connect.d.ts.map +1 -1
  22. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts +46 -27
  23. package/lib/cjs/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  24. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  25. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  26. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +34 -0
  27. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  28. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts +12 -1
  29. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  30. package/lib/cjs/types/src/purchases_indents.scailo_pb.d.ts +34 -0
  31. package/lib/cjs/types/src/purchases_indents.scailo_pb.d.ts.map +1 -1
  32. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  33. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  34. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts +34 -0
  35. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  36. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  37. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  38. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts +34 -0
  39. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  40. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -1
  41. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  42. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts +34 -0
  43. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  44. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  45. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  46. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts +34 -0
  47. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  48. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  49. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  50. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +34 -0
  51. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  52. package/lib/esm/src/base.scailo_pb.js +7 -0
  53. package/lib/esm/src/general_settings.scailo_connect.js +43 -18
  54. package/lib/esm/src/general_settings.scailo_pb.js +52 -30
  55. package/lib/esm/src/proforma_invoices.scailo_connect.js +11 -0
  56. package/lib/esm/src/proforma_invoices.scailo_pb.js +51 -1
  57. package/lib/esm/src/purchases_indents.scailo_connect.js +11 -0
  58. package/lib/esm/src/purchases_indents.scailo_pb.js +51 -1
  59. package/lib/esm/src/purchases_orders.scailo_connect.js +11 -0
  60. package/lib/esm/src/purchases_orders.scailo_pb.js +51 -1
  61. package/lib/esm/src/sales_invoices.scailo_connect.js +11 -0
  62. package/lib/esm/src/sales_invoices.scailo_pb.js +51 -1
  63. package/lib/esm/src/sales_orders.scailo_connect.js +11 -0
  64. package/lib/esm/src/sales_orders.scailo_pb.js +51 -1
  65. package/lib/esm/src/sales_quotations.scailo_connect.js +11 -0
  66. package/lib/esm/src/sales_quotations.scailo_pb.js +51 -1
  67. package/lib/esm/src/vendor_invoices.scailo_connect.js +11 -0
  68. package/lib/esm/src/vendor_invoices.scailo_pb.js +51 -1
  69. package/lib/esm/types/src/base.scailo_pb.d.ts +7 -1
  70. package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
  71. package/lib/esm/types/src/general_settings.scailo_connect.d.ts +44 -19
  72. package/lib/esm/types/src/general_settings.scailo_connect.d.ts.map +1 -1
  73. package/lib/esm/types/src/general_settings.scailo_pb.d.ts +46 -27
  74. package/lib/esm/types/src/general_settings.scailo_pb.d.ts.map +1 -1
  75. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  76. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  77. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +34 -0
  78. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  79. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts +12 -1
  80. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  81. package/lib/esm/types/src/purchases_indents.scailo_pb.d.ts +34 -0
  82. package/lib/esm/types/src/purchases_indents.scailo_pb.d.ts.map +1 -1
  83. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  84. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  85. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts +34 -0
  86. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  87. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  88. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  89. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts +34 -0
  90. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  91. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -1
  92. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  93. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts +34 -0
  94. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  95. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  96. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  97. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts +34 -0
  98. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  99. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  100. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  101. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +34 -0
  102. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  103. package/package.json +1 -1
@@ -476,6 +476,12 @@ var FORM_TYPE;
476
476
  * @generated from enum value: FORM_TYPE_INFRASTRUCTURE_FORM = 750;
477
477
  */
478
478
  FORM_TYPE[FORM_TYPE["FORM_TYPE_INFRASTRUCTURE_FORM"] = 750] = "FORM_TYPE_INFRASTRUCTURE_FORM";
479
+ /**
480
+ * The form type is "general-settings-form"
481
+ *
482
+ * @generated from enum value: FORM_TYPE_GENERAL_SETTINGS_FORM = 800;
483
+ */
484
+ FORM_TYPE[FORM_TYPE["FORM_TYPE_GENERAL_SETTINGS_FORM"] = 800] = "FORM_TYPE_GENERAL_SETTINGS_FORM";
479
485
  })(FORM_TYPE || (exports.FORM_TYPE = FORM_TYPE = {}));
480
486
  // Retrieve enum metadata with: proto3.getEnumType(FORM_TYPE)
481
487
  protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
@@ -539,6 +545,7 @@ protobuf_1.proto3.util.setEnumType(FORM_TYPE, "Scailo.FORM_TYPE", [
539
545
  { no: 730, name: "FORM_TYPE_MERCHANDISE_FORM" },
540
546
  { no: 740, name: "FORM_TYPE_EQUIPMENT_FORM" },
541
547
  { no: 750, name: "FORM_TYPE_INFRASTRUCTURE_FORM" },
548
+ { no: 800, name: "FORM_TYPE_GENERAL_SETTINGS_FORM" },
542
549
  ]);
543
550
  /**
544
551
  *
@@ -6,11 +6,11 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GeneralSettingsService = void 0;
8
8
  const general_settings_scailo_pb_js_1 = require("./general_settings.scailo_pb.js");
9
- const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
9
  const protobuf_1 = require("@bufbuild/protobuf");
10
+ const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
11
11
  /**
12
12
  *
13
- * Describes the common methods applicable on general settings
13
+ * Describes the methods applicable on each general settings
14
14
  *
15
15
  * @generated from service Scailo.GeneralSettingsService
16
16
  */
@@ -18,24 +18,13 @@ exports.GeneralSettingsService = {
18
18
  typeName: "Scailo.GeneralSettingsService",
19
19
  methods: {
20
20
  /**
21
- * Update General Settings
22
- *
23
- * @generated from rpc Scailo.GeneralSettingsService.UpdateSettings
24
- */
25
- updateSettings: {
26
- name: "UpdateSettings",
27
- I: general_settings_scailo_pb_js_1.GeneralSettingsUpdateRequest,
28
- O: base_scailo_pb_js_1.IdentifierResponse,
29
- kind: protobuf_1.MethodKind.Unary,
30
- },
31
- /**
32
- * View the current settings
21
+ * Create a general settings
33
22
  *
34
- * @generated from rpc Scailo.GeneralSettingsService.ViewSettings
23
+ * @generated from rpc Scailo.GeneralSettingsService.Create
35
24
  */
36
- viewSettings: {
37
- name: "ViewSettings",
38
- I: base_scailo_pb_js_1.Empty,
25
+ create: {
26
+ name: "Create",
27
+ I: general_settings_scailo_pb_js_1.GeneralSettingsServiceCreateRequest,
39
28
  O: general_settings_scailo_pb_js_1.GeneralSettings,
40
29
  kind: protobuf_1.MethodKind.Unary,
41
30
  },
@@ -61,5 +50,41 @@ exports.GeneralSettingsService = {
61
50
  O: base_scailo_pb_js_1.ImageResponse,
62
51
  kind: protobuf_1.MethodKind.Unary,
63
52
  },
53
+ /**
54
+ * ------------------------------------------------------
55
+ * All view operations are listed below
56
+ * View the current settings
57
+ *
58
+ * @generated from rpc Scailo.GeneralSettingsService.ViewSettings
59
+ */
60
+ viewSettings: {
61
+ name: "ViewSettings",
62
+ I: base_scailo_pb_js_1.Empty,
63
+ O: general_settings_scailo_pb_js_1.GeneralSettings,
64
+ kind: protobuf_1.MethodKind.Unary,
65
+ },
66
+ /**
67
+ * CSV operations
68
+ * Download the CSV template that could be used to upload records
69
+ *
70
+ * @generated from rpc Scailo.GeneralSettingsService.DownloadImportTemplate
71
+ */
72
+ downloadImportTemplate: {
73
+ name: "DownloadImportTemplate",
74
+ I: base_scailo_pb_js_1.Empty,
75
+ O: base_scailo_pb_js_1.StandardFile,
76
+ kind: protobuf_1.MethodKind.Unary,
77
+ },
78
+ /**
79
+ * Import records using a CSV file
80
+ *
81
+ * @generated from rpc Scailo.GeneralSettingsService.ImportFromCSV
82
+ */
83
+ importFromCSV: {
84
+ name: "ImportFromCSV",
85
+ I: base_scailo_pb_js_1.StandardFile,
86
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
87
+ kind: protobuf_1.MethodKind.Unary,
88
+ },
64
89
  }
65
90
  };
@@ -4,22 +4,29 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.GeneralSettings = exports.GeneralSettingsUpdateRequest = void 0;
7
+ exports.GeneralSettingsServiceCreateRequest = exports.GeneralSettings = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
+ const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
11
  /**
11
12
  *
12
- * Describes the parameters necessary to update the general settings for the organization
13
+ * Describes the data structure of general settings on the platform
13
14
  *
14
- * @generated from message Scailo.GeneralSettingsUpdateRequest
15
+ * @generated from message Scailo.GeneralSettings
15
16
  */
16
- class GeneralSettingsUpdateRequest extends protobuf_1.Message {
17
+ class GeneralSettings extends protobuf_1.Message {
17
18
  /**
18
19
  * Stores a globally unique entity UUID. This will be set at the organization level
19
20
  *
20
21
  * @generated from field: string entity_uuid = 1;
21
22
  */
22
23
  entityUuid = "";
24
+ /**
25
+ * Stores the metadata of this sales order
26
+ *
27
+ * @generated from field: Scailo.EmployeeMetadata metadata = 2;
28
+ */
29
+ metadata;
23
30
  /**
24
31
  * The name of the organization
25
32
  *
@@ -164,14 +171,27 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
164
171
  * @generated from field: bool auto_req_verify_on_exit_record_entry = 72;
165
172
  */
166
173
  autoReqVerifyOnExitRecordEntry = false;
174
+ /**
175
+ * Stores the name of the organization that holds the license
176
+ *
177
+ * @generated from field: string licensed_to = 100;
178
+ */
179
+ licensedTo = "";
180
+ /**
181
+ * The list of dynamic forms
182
+ *
183
+ * @generated from field: repeated Scailo.FormFieldDatum form_data = 200;
184
+ */
185
+ formData = [];
167
186
  constructor(data) {
168
187
  super();
169
188
  protobuf_1.proto3.util.initPartial(data, this);
170
189
  }
171
190
  static runtime = protobuf_1.proto3;
172
- static typeName = "Scailo.GeneralSettingsUpdateRequest";
191
+ static typeName = "Scailo.GeneralSettings";
173
192
  static fields = protobuf_1.proto3.util.newFieldList(() => [
174
193
  { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
194
+ { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
175
195
  { no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
176
196
  { no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
177
197
  { no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -196,40 +216,36 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
196
216
  { no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
197
217
  { no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
198
218
  { no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
219
+ { no: 100, name: "licensed_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
220
+ { no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
199
221
  ]);
200
222
  static fromBinary(bytes, options) {
201
- return new GeneralSettingsUpdateRequest().fromBinary(bytes, options);
223
+ return new GeneralSettings().fromBinary(bytes, options);
202
224
  }
203
225
  static fromJson(jsonValue, options) {
204
- return new GeneralSettingsUpdateRequest().fromJson(jsonValue, options);
226
+ return new GeneralSettings().fromJson(jsonValue, options);
205
227
  }
206
228
  static fromJsonString(jsonString, options) {
207
- return new GeneralSettingsUpdateRequest().fromJsonString(jsonString, options);
229
+ return new GeneralSettings().fromJsonString(jsonString, options);
208
230
  }
209
231
  static equals(a, b) {
210
- return protobuf_1.proto3.util.equals(GeneralSettingsUpdateRequest, a, b);
232
+ return protobuf_1.proto3.util.equals(GeneralSettings, a, b);
211
233
  }
212
234
  }
213
- exports.GeneralSettingsUpdateRequest = GeneralSettingsUpdateRequest;
235
+ exports.GeneralSettings = GeneralSettings;
214
236
  /**
215
237
  *
216
- * Describes the available general settings
238
+ * Describes the necessary data structure during creation of a general settings
217
239
  *
218
- * @generated from message Scailo.GeneralSettings
240
+ * @generated from message Scailo.GeneralSettingsServiceCreateRequest
219
241
  */
220
- class GeneralSettings extends protobuf_1.Message {
242
+ class GeneralSettingsServiceCreateRequest extends protobuf_1.Message {
221
243
  /**
222
244
  * Stores a globally unique entity UUID. This will be set at the organization level
223
245
  *
224
246
  * @generated from field: string entity_uuid = 1;
225
247
  */
226
248
  entityUuid = "";
227
- /**
228
- * Stores the metadata of this sales order
229
- *
230
- * @generated from field: Scailo.EmployeeMetadata metadata = 2;
231
- */
232
- metadata;
233
249
  /**
234
250
  * The name of the organization
235
251
  *
@@ -375,20 +391,25 @@ class GeneralSettings extends protobuf_1.Message {
375
391
  */
376
392
  autoReqVerifyOnExitRecordEntry = false;
377
393
  /**
378
- * Stores the name of the organization that holds the license
394
+ * Stores the base64 encoded logo of the organization
379
395
  *
380
- * @generated from field: string licensed_to = 100;
396
+ * @generated from field: string logo = 80;
381
397
  */
382
- licensedTo = "";
398
+ logo = "";
399
+ /**
400
+ * The list of dynamic forms
401
+ *
402
+ * @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 200;
403
+ */
404
+ formData = [];
383
405
  constructor(data) {
384
406
  super();
385
407
  protobuf_1.proto3.util.initPartial(data, this);
386
408
  }
387
409
  static runtime = protobuf_1.proto3;
388
- static typeName = "Scailo.GeneralSettings";
410
+ static typeName = "Scailo.GeneralSettingsServiceCreateRequest";
389
411
  static fields = protobuf_1.proto3.util.newFieldList(() => [
390
412
  { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
- { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
392
413
  { no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
393
414
  { no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
394
415
  { no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -413,19 +434,20 @@ class GeneralSettings extends protobuf_1.Message {
413
434
  { no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
414
435
  { no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
415
436
  { no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
416
- { no: 100, name: "licensed_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
437
+ { no: 80, name: "logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
438
+ { no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
417
439
  ]);
418
440
  static fromBinary(bytes, options) {
419
- return new GeneralSettings().fromBinary(bytes, options);
441
+ return new GeneralSettingsServiceCreateRequest().fromBinary(bytes, options);
420
442
  }
421
443
  static fromJson(jsonValue, options) {
422
- return new GeneralSettings().fromJson(jsonValue, options);
444
+ return new GeneralSettingsServiceCreateRequest().fromJson(jsonValue, options);
423
445
  }
424
446
  static fromJsonString(jsonString, options) {
425
- return new GeneralSettings().fromJsonString(jsonString, options);
447
+ return new GeneralSettingsServiceCreateRequest().fromJsonString(jsonString, options);
426
448
  }
427
449
  static equals(a, b) {
428
- return protobuf_1.proto3.util.equals(GeneralSettings, a, b);
450
+ return protobuf_1.proto3.util.equals(GeneralSettingsServiceCreateRequest, a, b);
429
451
  }
430
452
  }
431
- exports.GeneralSettings = GeneralSettings;
453
+ exports.GeneralSettingsServiceCreateRequest = GeneralSettingsServiceCreateRequest;
@@ -261,6 +261,17 @@ exports.ProformaInvoicesService = {
261
261
  O: base_scailo_pb_js_1.IdentifierResponse,
262
262
  kind: protobuf_1.MethodKind.Unary,
263
263
  },
264
+ /**
265
+ * Update specifications of an item in a proforma invoice
266
+ *
267
+ * @generated from rpc Scailo.ProformaInvoicesService.UpdateProformaInvoiceItemSpecifications
268
+ */
269
+ updateProformaInvoiceItemSpecifications: {
270
+ name: "UpdateProformaInvoiceItemSpecifications",
271
+ I: proforma_invoices_scailo_pb_js_1.ProformaInvoicesServiceItemSpecificationsUpdateRequest,
272
+ O: base_scailo_pb_js_1.IdentifierResponse,
273
+ kind: protobuf_1.MethodKind.Unary,
274
+ },
264
275
  /**
265
276
  * Approve an item in a proforma invoice
266
277
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceMultipleItemsCreateRequest = exports.ProformaInvoicesServiceMultipleItemsSingleton = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_REF_FROM = void 0;
7
+ exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemSpecificationsUpdateRequest = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceMultipleItemsCreateRequest = exports.ProformaInvoicesServiceMultipleItemsSingleton = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -1162,6 +1162,56 @@ class ProformaInvoicesServiceItemUpdateRequest extends protobuf_1.Message {
1162
1162
  }
1163
1163
  }
1164
1164
  exports.ProformaInvoicesServiceItemUpdateRequest = ProformaInvoicesServiceItemUpdateRequest;
1165
+ /**
1166
+ *
1167
+ * Describes the parameters required to update the specifications of an item in a proforma invoice
1168
+ *
1169
+ * @generated from message Scailo.ProformaInvoicesServiceItemSpecificationsUpdateRequest
1170
+ */
1171
+ class ProformaInvoicesServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1172
+ /**
1173
+ * Stores any comment that the user might add during this operation
1174
+ *
1175
+ * @generated from field: string user_comment = 1;
1176
+ */
1177
+ userComment = "";
1178
+ /**
1179
+ * The UUID of the record
1180
+ *
1181
+ * @generated from field: string uuid = 2;
1182
+ */
1183
+ uuid = "";
1184
+ /**
1185
+ * The specifications that should be updated
1186
+ *
1187
+ * @generated from field: string specifications = 21;
1188
+ */
1189
+ specifications = "";
1190
+ constructor(data) {
1191
+ super();
1192
+ protobuf_1.proto3.util.initPartial(data, this);
1193
+ }
1194
+ static runtime = protobuf_1.proto3;
1195
+ static typeName = "Scailo.ProformaInvoicesServiceItemSpecificationsUpdateRequest";
1196
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1197
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1198
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1199
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1200
+ ]);
1201
+ static fromBinary(bytes, options) {
1202
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1203
+ }
1204
+ static fromJson(jsonValue, options) {
1205
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1206
+ }
1207
+ static fromJsonString(jsonString, options) {
1208
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1209
+ }
1210
+ static equals(a, b) {
1211
+ return protobuf_1.proto3.util.equals(ProformaInvoicesServiceItemSpecificationsUpdateRequest, a, b);
1212
+ }
1213
+ }
1214
+ exports.ProformaInvoicesServiceItemSpecificationsUpdateRequest = ProformaInvoicesServiceItemSpecificationsUpdateRequest;
1165
1215
  /**
1166
1216
  *
1167
1217
  * Describes the parameters that constitute an item associated to a proforma invoice
@@ -261,6 +261,17 @@ exports.PurchasesIndentsService = {
261
261
  O: base_scailo_pb_js_1.IdentifierResponse,
262
262
  kind: protobuf_1.MethodKind.Unary,
263
263
  },
264
+ /**
265
+ * Update specifications of an item in a purchase indent
266
+ *
267
+ * @generated from rpc Scailo.PurchasesIndentsService.UpdatePurchaseIndentItemSpecifications
268
+ */
269
+ updatePurchaseIndentItemSpecifications: {
270
+ name: "UpdatePurchaseIndentItemSpecifications",
271
+ I: purchases_indents_scailo_pb_js_1.PurchasesIndentsServiceItemSpecificationsUpdateRequest,
272
+ O: base_scailo_pb_js_1.IdentifierResponse,
273
+ kind: protobuf_1.MethodKind.Unary,
274
+ },
264
275
  /**
265
276
  * Approve an item in a purchase indent
266
277
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.PurchaseIndentOrderedStatisticsList = exports.PurchaseIndentOrderedStatistics = exports.PurchasesIndentsServicePaginatedItemsResponse = exports.PurchaseIndentItemsSearchRequest = exports.PurchasesIndentsServiceSearchAllReq = exports.PurchasesIndentsServiceCountReq = exports.PurchasesIndentsServiceFilterReq = exports.PurchasesIndentsServicePaginationResponse = exports.PurchasesIndentsServicePaginationReq = exports.PurchaseIndentItemProspectiveInfoRequest = exports.PurchaseIndentItemHistoryRequest = exports.PurchasesIndentsItemsList = exports.PurchasesIndentsList = exports.PurchaseIndentItem = exports.PurchasesIndentsServiceItemUpdateRequest = exports.PurchasesIndentsServiceMultipleItemsCreateRequest = exports.PurchasesIndentsServiceMultipleItemsSingleton = exports.PurchasesIndentsServiceItemCreateRequest = exports.PurchaseIndent = exports.PurchasesIndentsServiceAutofillRequest = exports.PurchasesIndentsServiceUpdateRequest = exports.PurchasesIndentsServiceCreateRequest = exports.PURCHASE_INDENT_ITEM_STATUS = exports.PURCHASE_INDENT_ITEM_SORT_KEY = exports.PURCHASE_INDENT_SORT_KEY = void 0;
7
+ exports.PurchaseIndentOrderedStatisticsList = exports.PurchaseIndentOrderedStatistics = exports.PurchasesIndentsServicePaginatedItemsResponse = exports.PurchaseIndentItemsSearchRequest = exports.PurchasesIndentsServiceSearchAllReq = exports.PurchasesIndentsServiceCountReq = exports.PurchasesIndentsServiceFilterReq = exports.PurchasesIndentsServicePaginationResponse = exports.PurchasesIndentsServicePaginationReq = exports.PurchaseIndentItemProspectiveInfoRequest = exports.PurchaseIndentItemHistoryRequest = exports.PurchasesIndentsItemsList = exports.PurchasesIndentsList = exports.PurchaseIndentItem = exports.PurchasesIndentsServiceItemSpecificationsUpdateRequest = exports.PurchasesIndentsServiceItemUpdateRequest = exports.PurchasesIndentsServiceMultipleItemsCreateRequest = exports.PurchasesIndentsServiceMultipleItemsSingleton = exports.PurchasesIndentsServiceItemCreateRequest = exports.PurchaseIndent = exports.PurchasesIndentsServiceAutofillRequest = exports.PurchasesIndentsServiceUpdateRequest = exports.PurchasesIndentsServiceCreateRequest = exports.PURCHASE_INDENT_ITEM_STATUS = exports.PURCHASE_INDENT_ITEM_SORT_KEY = exports.PURCHASE_INDENT_SORT_KEY = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -738,6 +738,56 @@ class PurchasesIndentsServiceItemUpdateRequest extends protobuf_1.Message {
738
738
  }
739
739
  }
740
740
  exports.PurchasesIndentsServiceItemUpdateRequest = PurchasesIndentsServiceItemUpdateRequest;
741
+ /**
742
+ *
743
+ * Describes the parameters required to update the specifications of an item in a purchase indent
744
+ *
745
+ * @generated from message Scailo.PurchasesIndentsServiceItemSpecificationsUpdateRequest
746
+ */
747
+ class PurchasesIndentsServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
748
+ /**
749
+ * Stores any comment that the user might add during this operation
750
+ *
751
+ * @generated from field: string user_comment = 1;
752
+ */
753
+ userComment = "";
754
+ /**
755
+ * The UUID of the record
756
+ *
757
+ * @generated from field: string uuid = 2;
758
+ */
759
+ uuid = "";
760
+ /**
761
+ * The specifications that should be updated
762
+ *
763
+ * @generated from field: string specifications = 21;
764
+ */
765
+ specifications = "";
766
+ constructor(data) {
767
+ super();
768
+ protobuf_1.proto3.util.initPartial(data, this);
769
+ }
770
+ static runtime = protobuf_1.proto3;
771
+ static typeName = "Scailo.PurchasesIndentsServiceItemSpecificationsUpdateRequest";
772
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
773
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
774
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
775
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
776
+ ]);
777
+ static fromBinary(bytes, options) {
778
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
779
+ }
780
+ static fromJson(jsonValue, options) {
781
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
782
+ }
783
+ static fromJsonString(jsonString, options) {
784
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
785
+ }
786
+ static equals(a, b) {
787
+ return protobuf_1.proto3.util.equals(PurchasesIndentsServiceItemSpecificationsUpdateRequest, a, b);
788
+ }
789
+ }
790
+ exports.PurchasesIndentsServiceItemSpecificationsUpdateRequest = PurchasesIndentsServiceItemSpecificationsUpdateRequest;
741
791
  /**
742
792
  *
743
793
  * Describes the parameters that constitute an item associated to a purchase indent
@@ -261,6 +261,17 @@ exports.PurchasesOrdersService = {
261
261
  O: base_scailo_pb_js_1.IdentifierResponse,
262
262
  kind: protobuf_1.MethodKind.Unary,
263
263
  },
264
+ /**
265
+ * Update specifications of an item in a purchase order
266
+ *
267
+ * @generated from rpc Scailo.PurchasesOrdersService.UpdatePurchaseOrderItemSpecifications
268
+ */
269
+ updatePurchaseOrderItemSpecifications: {
270
+ name: "UpdatePurchaseOrderItemSpecifications",
271
+ I: purchases_orders_scailo_pb_js_1.PurchasesOrdersServiceItemSpecificationsUpdateRequest,
272
+ O: base_scailo_pb_js_1.IdentifierResponse,
273
+ kind: protobuf_1.MethodKind.Unary,
274
+ },
264
275
  /**
265
276
  * Approve an item in a purchase order
266
277
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.PurchaseOrderPriceMatchList = exports.PurchaseOrderPriceMatch = exports.PurchaseOrderInventoryMatchList = exports.PurchaseOrderInventoryMatch = exports.PurchaseOrderBillingStatistics = exports.PurchaseOrderInventoryStatistics = exports.PurchaseOrderContactsList = exports.PurchaseOrderContact = exports.PurchasesOrdersServiceContactCreateRequest = exports.PurchasesOrdersServicePaginatedItemsResponse = exports.PurchaseOrderItemsSearchRequest = exports.PurchaseOrderReferencesList = exports.PurchaseOrderReference = exports.PurchasesOrdersServiceReferenceCreateRequest = exports.PurchasesOrdersServiceSearchAllReq = exports.PurchasesOrdersServiceCountReq = exports.PurchasesOrdersServiceFilterReq = exports.PurchasesOrdersServicePaginationResponse = exports.PurchasesOrdersServicePaginationReq = exports.PurchaseOrderItemProspectiveInfoRequest = exports.PurchaseOrderItemHistoryRequest = exports.PurchaseOrderItemsList = exports.PurchasesOrdersList = exports.PurchaseOrderItem = exports.PurchasesOrdersServiceItemUpdateRequest = exports.PurchasesOrdersServiceMultipleItemsCreateRequest = exports.PurchasesOrdersServiceMultipleItemsSingleton = exports.PurchasesOrdersServiceItemCreateRequest = exports.PurchaseOrder = exports.PurchaseOrderAncillaryParameters = exports.PurchasesOrdersServiceAutofillRequest = exports.PurchasesOrdersServiceUpdateRequest = exports.PurchasesOrdersServiceCreateRequest = exports.PURCHASE_ORDER_ITEM_STATUS = exports.PURCHASE_ORDER_ITEM_SORT_KEY = exports.PURCHASE_ORDER_REFERENCE_REF_FROM = exports.PURCHASE_ORDER_REFERENCE_CONTEXT = exports.PURCHASE_ORDER_SORT_KEY = void 0;
7
+ exports.PurchaseOrderPriceMatchList = exports.PurchaseOrderPriceMatch = exports.PurchaseOrderInventoryMatchList = exports.PurchaseOrderInventoryMatch = exports.PurchaseOrderBillingStatistics = exports.PurchaseOrderInventoryStatistics = exports.PurchaseOrderContactsList = exports.PurchaseOrderContact = exports.PurchasesOrdersServiceContactCreateRequest = exports.PurchasesOrdersServicePaginatedItemsResponse = exports.PurchaseOrderItemsSearchRequest = exports.PurchaseOrderReferencesList = exports.PurchaseOrderReference = exports.PurchasesOrdersServiceReferenceCreateRequest = exports.PurchasesOrdersServiceSearchAllReq = exports.PurchasesOrdersServiceCountReq = exports.PurchasesOrdersServiceFilterReq = exports.PurchasesOrdersServicePaginationResponse = exports.PurchasesOrdersServicePaginationReq = exports.PurchaseOrderItemProspectiveInfoRequest = exports.PurchaseOrderItemHistoryRequest = exports.PurchaseOrderItemsList = exports.PurchasesOrdersList = exports.PurchaseOrderItem = exports.PurchasesOrdersServiceItemSpecificationsUpdateRequest = exports.PurchasesOrdersServiceItemUpdateRequest = exports.PurchasesOrdersServiceMultipleItemsCreateRequest = exports.PurchasesOrdersServiceMultipleItemsSingleton = exports.PurchasesOrdersServiceItemCreateRequest = exports.PurchaseOrder = exports.PurchaseOrderAncillaryParameters = exports.PurchasesOrdersServiceAutofillRequest = exports.PurchasesOrdersServiceUpdateRequest = exports.PurchasesOrdersServiceCreateRequest = exports.PURCHASE_ORDER_ITEM_STATUS = exports.PURCHASE_ORDER_ITEM_SORT_KEY = exports.PURCHASE_ORDER_REFERENCE_REF_FROM = exports.PURCHASE_ORDER_REFERENCE_CONTEXT = exports.PURCHASE_ORDER_SORT_KEY = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -1295,6 +1295,56 @@ class PurchasesOrdersServiceItemUpdateRequest extends protobuf_1.Message {
1295
1295
  }
1296
1296
  }
1297
1297
  exports.PurchasesOrdersServiceItemUpdateRequest = PurchasesOrdersServiceItemUpdateRequest;
1298
+ /**
1299
+ *
1300
+ * Describes the parameters required to update the specifications of an item in a purchase order
1301
+ *
1302
+ * @generated from message Scailo.PurchasesOrdersServiceItemSpecificationsUpdateRequest
1303
+ */
1304
+ class PurchasesOrdersServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1305
+ /**
1306
+ * Stores any comment that the user might add during this operation
1307
+ *
1308
+ * @generated from field: string user_comment = 1;
1309
+ */
1310
+ userComment = "";
1311
+ /**
1312
+ * The UUID of the record
1313
+ *
1314
+ * @generated from field: string uuid = 2;
1315
+ */
1316
+ uuid = "";
1317
+ /**
1318
+ * The specifications that should be updated
1319
+ *
1320
+ * @generated from field: string specifications = 21;
1321
+ */
1322
+ specifications = "";
1323
+ constructor(data) {
1324
+ super();
1325
+ protobuf_1.proto3.util.initPartial(data, this);
1326
+ }
1327
+ static runtime = protobuf_1.proto3;
1328
+ static typeName = "Scailo.PurchasesOrdersServiceItemSpecificationsUpdateRequest";
1329
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1330
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1331
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1332
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1333
+ ]);
1334
+ static fromBinary(bytes, options) {
1335
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1336
+ }
1337
+ static fromJson(jsonValue, options) {
1338
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1339
+ }
1340
+ static fromJsonString(jsonString, options) {
1341
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1342
+ }
1343
+ static equals(a, b) {
1344
+ return protobuf_1.proto3.util.equals(PurchasesOrdersServiceItemSpecificationsUpdateRequest, a, b);
1345
+ }
1346
+ }
1347
+ exports.PurchasesOrdersServiceItemSpecificationsUpdateRequest = PurchasesOrdersServiceItemSpecificationsUpdateRequest;
1298
1348
  /**
1299
1349
  *
1300
1350
  * Describes the parameters that constitute an item associated to a purchase order
@@ -261,6 +261,17 @@ exports.SalesInvoicesService = {
261
261
  O: base_scailo_pb_js_1.IdentifierResponse,
262
262
  kind: protobuf_1.MethodKind.Unary,
263
263
  },
264
+ /**
265
+ * Update specifications of an item in a sales invoice
266
+ *
267
+ * @generated from rpc Scailo.SalesInvoicesService.UpdateSalesInvoiceItemSpecifications
268
+ */
269
+ updateSalesInvoiceItemSpecifications: {
270
+ name: "UpdateSalesInvoiceItemSpecifications",
271
+ I: sales_invoices_scailo_pb_js_1.SalesInvoicesServiceItemSpecificationsUpdateRequest,
272
+ O: base_scailo_pb_js_1.IdentifierResponse,
273
+ kind: protobuf_1.MethodKind.Unary,
274
+ },
264
275
  /**
265
276
  * Approve an item in a sales invoice
266
277
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceMultipleItemsCreateRequest = exports.SalesInvoicesServiceMultipleItemsSingleton = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = exports.SALES_INVOICE_REF_FROM = void 0;
7
+ exports.SalesInvoiceDispatchedStatisticsList = exports.SalesInvoiceDispatchedStatistics = exports.SalesInvoicesServicePaginatedItemsResponse = exports.SalesInvoiceItemsSearchRequest = exports.SalesInvoiceReferencesList = exports.SalesInvoiceReference = exports.SalesInvoicesServiceReferenceCreateRequest = exports.SalesInvoicesServiceSearchAllReq = exports.SalesInvoicesServiceCountReq = exports.SalesInvoicesServiceFilterReq = exports.SalesInvoicesServicePaginationResponse = exports.SalesInvoicesServicePaginationReq = exports.SalesInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.SalesInvoiceItemProspectiveInfoRequest = exports.SalesInvoiceItemHistoryRequest = exports.SalesInvoiceItemsList = exports.SalesInvoicesList = exports.SalesInvoiceItem = exports.SalesInvoicesServiceItemSpecificationsUpdateRequest = exports.SalesInvoicesServiceItemUpdateRequest = exports.SalesInvoicesServiceMultipleItemsCreateRequest = exports.SalesInvoicesServiceMultipleItemsSingleton = exports.SalesInvoicesServiceItemCreateRequest = exports.SalesInvoice = exports.SalesInvoiceAncillaryParameters = exports.SalesInvoicesServiceAutofillRequest = exports.SalesInvoicesServiceUpdateRequest = exports.SalesInvoicesServiceCreateRequest = exports.SALES_INVOICE_ITEM_STATUS = exports.SALES_INVOICE_ITEM_SORT_KEY = exports.SALES_INVOICE_SORT_KEY = exports.SALES_INVOICE_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -1129,6 +1129,56 @@ class SalesInvoicesServiceItemUpdateRequest extends protobuf_1.Message {
1129
1129
  }
1130
1130
  }
1131
1131
  exports.SalesInvoicesServiceItemUpdateRequest = SalesInvoicesServiceItemUpdateRequest;
1132
+ /**
1133
+ *
1134
+ * Describes the parameters required to update the specifications of an item in a sales invoice
1135
+ *
1136
+ * @generated from message Scailo.SalesInvoicesServiceItemSpecificationsUpdateRequest
1137
+ */
1138
+ class SalesInvoicesServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1139
+ /**
1140
+ * Stores any comment that the user might add during this operation
1141
+ *
1142
+ * @generated from field: string user_comment = 1;
1143
+ */
1144
+ userComment = "";
1145
+ /**
1146
+ * The UUID of the record
1147
+ *
1148
+ * @generated from field: string uuid = 2;
1149
+ */
1150
+ uuid = "";
1151
+ /**
1152
+ * The specifications that should be updated
1153
+ *
1154
+ * @generated from field: string specifications = 21;
1155
+ */
1156
+ specifications = "";
1157
+ constructor(data) {
1158
+ super();
1159
+ protobuf_1.proto3.util.initPartial(data, this);
1160
+ }
1161
+ static runtime = protobuf_1.proto3;
1162
+ static typeName = "Scailo.SalesInvoicesServiceItemSpecificationsUpdateRequest";
1163
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1164
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1165
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1166
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1167
+ ]);
1168
+ static fromBinary(bytes, options) {
1169
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1170
+ }
1171
+ static fromJson(jsonValue, options) {
1172
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1173
+ }
1174
+ static fromJsonString(jsonString, options) {
1175
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1176
+ }
1177
+ static equals(a, b) {
1178
+ return protobuf_1.proto3.util.equals(SalesInvoicesServiceItemSpecificationsUpdateRequest, a, b);
1179
+ }
1180
+ }
1181
+ exports.SalesInvoicesServiceItemSpecificationsUpdateRequest = SalesInvoicesServiceItemSpecificationsUpdateRequest;
1132
1182
  /**
1133
1183
  *
1134
1184
  * Describes the parameters that constitute an item associated to a sales invoice
@@ -261,6 +261,17 @@ exports.SalesOrdersService = {
261
261
  O: base_scailo_pb_js_1.IdentifiersList,
262
262
  kind: protobuf_1.MethodKind.Unary,
263
263
  },
264
+ /**
265
+ * Update specifications of an item in a sales order
266
+ *
267
+ * @generated from rpc Scailo.SalesOrdersService.UpdateSalesOrderItemSpecifications
268
+ */
269
+ updateSalesOrderItemSpecifications: {
270
+ name: "UpdateSalesOrderItemSpecifications",
271
+ I: sales_orders_scailo_pb_js_1.SalesOrdersServiceItemSpecificationsUpdateRequest,
272
+ O: base_scailo_pb_js_1.IdentifierResponse,
273
+ kind: protobuf_1.MethodKind.Unary,
274
+ },
264
275
  /**
265
276
  * Approve an item in a sales order
266
277
  *