@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,16 +4,17 @@
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
  constructor(data) {
18
19
  super();
19
20
  /**
@@ -166,26 +167,39 @@ class GeneralSettingsUpdateRequest extends protobuf_1.Message {
166
167
  * @generated from field: bool auto_req_verify_on_exit_record_entry = 72;
167
168
  */
168
169
  this.autoReqVerifyOnExitRecordEntry = false;
170
+ /**
171
+ * Stores the name of the organization that holds the license
172
+ *
173
+ * @generated from field: string licensed_to = 100;
174
+ */
175
+ this.licensedTo = "";
176
+ /**
177
+ * The list of dynamic forms
178
+ *
179
+ * @generated from field: repeated Scailo.FormFieldDatum form_data = 200;
180
+ */
181
+ this.formData = [];
169
182
  protobuf_1.proto3.util.initPartial(data, this);
170
183
  }
171
184
  static fromBinary(bytes, options) {
172
- return new GeneralSettingsUpdateRequest().fromBinary(bytes, options);
185
+ return new GeneralSettings().fromBinary(bytes, options);
173
186
  }
174
187
  static fromJson(jsonValue, options) {
175
- return new GeneralSettingsUpdateRequest().fromJson(jsonValue, options);
188
+ return new GeneralSettings().fromJson(jsonValue, options);
176
189
  }
177
190
  static fromJsonString(jsonString, options) {
178
- return new GeneralSettingsUpdateRequest().fromJsonString(jsonString, options);
191
+ return new GeneralSettings().fromJsonString(jsonString, options);
179
192
  }
180
193
  static equals(a, b) {
181
- return protobuf_1.proto3.util.equals(GeneralSettingsUpdateRequest, a, b);
194
+ return protobuf_1.proto3.util.equals(GeneralSettings, a, b);
182
195
  }
183
196
  }
184
- exports.GeneralSettingsUpdateRequest = GeneralSettingsUpdateRequest;
185
- GeneralSettingsUpdateRequest.runtime = protobuf_1.proto3;
186
- GeneralSettingsUpdateRequest.typeName = "Scailo.GeneralSettingsUpdateRequest";
187
- GeneralSettingsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
197
+ exports.GeneralSettings = GeneralSettings;
198
+ GeneralSettings.runtime = protobuf_1.proto3;
199
+ GeneralSettings.typeName = "Scailo.GeneralSettings";
200
+ GeneralSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
188
201
  { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
202
+ { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
189
203
  { no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
204
  { no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
191
205
  { no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -210,14 +224,16 @@ GeneralSettingsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() =>
210
224
  { no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
211
225
  { no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
212
226
  { no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
227
+ { no: 100, name: "licensed_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
228
+ { no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatum, repeated: true },
213
229
  ]);
214
230
  /**
215
231
  *
216
- * Describes the available general settings
232
+ * Describes the necessary data structure during creation of a general settings
217
233
  *
218
- * @generated from message Scailo.GeneralSettings
234
+ * @generated from message Scailo.GeneralSettingsServiceCreateRequest
219
235
  */
220
- class GeneralSettings extends protobuf_1.Message {
236
+ class GeneralSettingsServiceCreateRequest extends protobuf_1.Message {
221
237
  constructor(data) {
222
238
  super();
223
239
  /**
@@ -371,32 +387,37 @@ class GeneralSettings extends protobuf_1.Message {
371
387
  */
372
388
  this.autoReqVerifyOnExitRecordEntry = false;
373
389
  /**
374
- * Stores the name of the organization that holds the license
390
+ * Stores the base64 encoded logo of the organization
375
391
  *
376
- * @generated from field: string licensed_to = 100;
392
+ * @generated from field: string logo = 80;
377
393
  */
378
- this.licensedTo = "";
394
+ this.logo = "";
395
+ /**
396
+ * The list of dynamic forms
397
+ *
398
+ * @generated from field: repeated Scailo.FormFieldDatumCreateRequest form_data = 200;
399
+ */
400
+ this.formData = [];
379
401
  protobuf_1.proto3.util.initPartial(data, this);
380
402
  }
381
403
  static fromBinary(bytes, options) {
382
- return new GeneralSettings().fromBinary(bytes, options);
404
+ return new GeneralSettingsServiceCreateRequest().fromBinary(bytes, options);
383
405
  }
384
406
  static fromJson(jsonValue, options) {
385
- return new GeneralSettings().fromJson(jsonValue, options);
407
+ return new GeneralSettingsServiceCreateRequest().fromJson(jsonValue, options);
386
408
  }
387
409
  static fromJsonString(jsonString, options) {
388
- return new GeneralSettings().fromJsonString(jsonString, options);
410
+ return new GeneralSettingsServiceCreateRequest().fromJsonString(jsonString, options);
389
411
  }
390
412
  static equals(a, b) {
391
- return protobuf_1.proto3.util.equals(GeneralSettings, a, b);
413
+ return protobuf_1.proto3.util.equals(GeneralSettingsServiceCreateRequest, a, b);
392
414
  }
393
415
  }
394
- exports.GeneralSettings = GeneralSettings;
395
- GeneralSettings.runtime = protobuf_1.proto3;
396
- GeneralSettings.typeName = "Scailo.GeneralSettings";
397
- GeneralSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
416
+ exports.GeneralSettingsServiceCreateRequest = GeneralSettingsServiceCreateRequest;
417
+ GeneralSettingsServiceCreateRequest.runtime = protobuf_1.proto3;
418
+ GeneralSettingsServiceCreateRequest.typeName = "Scailo.GeneralSettingsServiceCreateRequest";
419
+ GeneralSettingsServiceCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
398
420
  { no: 1, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
399
- { no: 2, name: "metadata", kind: "message", T: base_scailo_pb_js_1.EmployeeMetadata },
400
421
  { no: 10, name: "company_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
401
422
  { no: 11, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
402
423
  { no: 12, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -421,5 +442,6 @@ GeneralSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
421
442
  { no: 70, name: "disable_vi_creation_with_bill_date_after_po_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
422
443
  { no: 71, name: "require_mfa_for_record_approval", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
423
444
  { no: 72, name: "auto_req_verify_on_exit_record_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
424
- { no: 100, name: "licensed_to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
445
+ { no: 80, name: "logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
446
+ { no: 200, name: "form_data", kind: "message", T: forms_fields_data_scailo_pb_js_1.FormFieldDatumCreateRequest, repeated: true },
425
447
  ]);
@@ -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");
@@ -1150,6 +1150,56 @@ ProformaInvoicesServiceItemUpdateRequest.fields = protobuf_1.proto3.util.newFiel
1150
1150
  { no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1151
1151
  { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1152
1152
  ]);
1153
+ /**
1154
+ *
1155
+ * Describes the parameters required to update the specifications of an item in a proforma invoice
1156
+ *
1157
+ * @generated from message Scailo.ProformaInvoicesServiceItemSpecificationsUpdateRequest
1158
+ */
1159
+ class ProformaInvoicesServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1160
+ constructor(data) {
1161
+ super();
1162
+ /**
1163
+ * Stores any comment that the user might add during this operation
1164
+ *
1165
+ * @generated from field: string user_comment = 1;
1166
+ */
1167
+ this.userComment = "";
1168
+ /**
1169
+ * The UUID of the record
1170
+ *
1171
+ * @generated from field: string uuid = 2;
1172
+ */
1173
+ this.uuid = "";
1174
+ /**
1175
+ * The specifications that should be updated
1176
+ *
1177
+ * @generated from field: string specifications = 21;
1178
+ */
1179
+ this.specifications = "";
1180
+ protobuf_1.proto3.util.initPartial(data, this);
1181
+ }
1182
+ static fromBinary(bytes, options) {
1183
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1184
+ }
1185
+ static fromJson(jsonValue, options) {
1186
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1187
+ }
1188
+ static fromJsonString(jsonString, options) {
1189
+ return new ProformaInvoicesServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1190
+ }
1191
+ static equals(a, b) {
1192
+ return protobuf_1.proto3.util.equals(ProformaInvoicesServiceItemSpecificationsUpdateRequest, a, b);
1193
+ }
1194
+ }
1195
+ exports.ProformaInvoicesServiceItemSpecificationsUpdateRequest = ProformaInvoicesServiceItemSpecificationsUpdateRequest;
1196
+ ProformaInvoicesServiceItemSpecificationsUpdateRequest.runtime = protobuf_1.proto3;
1197
+ ProformaInvoicesServiceItemSpecificationsUpdateRequest.typeName = "Scailo.ProformaInvoicesServiceItemSpecificationsUpdateRequest";
1198
+ ProformaInvoicesServiceItemSpecificationsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1199
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1200
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1201
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1202
+ ]);
1153
1203
  /**
1154
1204
  *
1155
1205
  * 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");
@@ -726,6 +726,56 @@ PurchasesIndentsServiceItemUpdateRequest.fields = protobuf_1.proto3.util.newFiel
726
726
  { no: 13, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
727
727
  { no: 14, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
728
728
  ]);
729
+ /**
730
+ *
731
+ * Describes the parameters required to update the specifications of an item in a purchase indent
732
+ *
733
+ * @generated from message Scailo.PurchasesIndentsServiceItemSpecificationsUpdateRequest
734
+ */
735
+ class PurchasesIndentsServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
736
+ constructor(data) {
737
+ super();
738
+ /**
739
+ * Stores any comment that the user might add during this operation
740
+ *
741
+ * @generated from field: string user_comment = 1;
742
+ */
743
+ this.userComment = "";
744
+ /**
745
+ * The UUID of the record
746
+ *
747
+ * @generated from field: string uuid = 2;
748
+ */
749
+ this.uuid = "";
750
+ /**
751
+ * The specifications that should be updated
752
+ *
753
+ * @generated from field: string specifications = 21;
754
+ */
755
+ this.specifications = "";
756
+ protobuf_1.proto3.util.initPartial(data, this);
757
+ }
758
+ static fromBinary(bytes, options) {
759
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
760
+ }
761
+ static fromJson(jsonValue, options) {
762
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
763
+ }
764
+ static fromJsonString(jsonString, options) {
765
+ return new PurchasesIndentsServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
766
+ }
767
+ static equals(a, b) {
768
+ return protobuf_1.proto3.util.equals(PurchasesIndentsServiceItemSpecificationsUpdateRequest, a, b);
769
+ }
770
+ }
771
+ exports.PurchasesIndentsServiceItemSpecificationsUpdateRequest = PurchasesIndentsServiceItemSpecificationsUpdateRequest;
772
+ PurchasesIndentsServiceItemSpecificationsUpdateRequest.runtime = protobuf_1.proto3;
773
+ PurchasesIndentsServiceItemSpecificationsUpdateRequest.typeName = "Scailo.PurchasesIndentsServiceItemSpecificationsUpdateRequest";
774
+ PurchasesIndentsServiceItemSpecificationsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
775
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
776
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
777
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
778
+ ]);
729
779
  /**
730
780
  *
731
781
  * 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");
@@ -1283,6 +1283,56 @@ PurchasesOrdersServiceItemUpdateRequest.fields = protobuf_1.proto3.util.newField
1283
1283
  { no: 18, name: "delivery_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1284
1284
  { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1285
1285
  ]);
1286
+ /**
1287
+ *
1288
+ * Describes the parameters required to update the specifications of an item in a purchase order
1289
+ *
1290
+ * @generated from message Scailo.PurchasesOrdersServiceItemSpecificationsUpdateRequest
1291
+ */
1292
+ class PurchasesOrdersServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1293
+ constructor(data) {
1294
+ super();
1295
+ /**
1296
+ * Stores any comment that the user might add during this operation
1297
+ *
1298
+ * @generated from field: string user_comment = 1;
1299
+ */
1300
+ this.userComment = "";
1301
+ /**
1302
+ * The UUID of the record
1303
+ *
1304
+ * @generated from field: string uuid = 2;
1305
+ */
1306
+ this.uuid = "";
1307
+ /**
1308
+ * The specifications that should be updated
1309
+ *
1310
+ * @generated from field: string specifications = 21;
1311
+ */
1312
+ this.specifications = "";
1313
+ protobuf_1.proto3.util.initPartial(data, this);
1314
+ }
1315
+ static fromBinary(bytes, options) {
1316
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1317
+ }
1318
+ static fromJson(jsonValue, options) {
1319
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1320
+ }
1321
+ static fromJsonString(jsonString, options) {
1322
+ return new PurchasesOrdersServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1323
+ }
1324
+ static equals(a, b) {
1325
+ return protobuf_1.proto3.util.equals(PurchasesOrdersServiceItemSpecificationsUpdateRequest, a, b);
1326
+ }
1327
+ }
1328
+ exports.PurchasesOrdersServiceItemSpecificationsUpdateRequest = PurchasesOrdersServiceItemSpecificationsUpdateRequest;
1329
+ PurchasesOrdersServiceItemSpecificationsUpdateRequest.runtime = protobuf_1.proto3;
1330
+ PurchasesOrdersServiceItemSpecificationsUpdateRequest.typeName = "Scailo.PurchasesOrdersServiceItemSpecificationsUpdateRequest";
1331
+ PurchasesOrdersServiceItemSpecificationsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1332
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1333
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1334
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1335
+ ]);
1286
1336
  /**
1287
1337
  *
1288
1338
  * 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");
@@ -1117,6 +1117,56 @@ SalesInvoicesServiceItemUpdateRequest.fields = protobuf_1.proto3.util.newFieldLi
1117
1117
  { no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1118
1118
  { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1119
1119
  ]);
1120
+ /**
1121
+ *
1122
+ * Describes the parameters required to update the specifications of an item in a sales invoice
1123
+ *
1124
+ * @generated from message Scailo.SalesInvoicesServiceItemSpecificationsUpdateRequest
1125
+ */
1126
+ class SalesInvoicesServiceItemSpecificationsUpdateRequest extends protobuf_1.Message {
1127
+ constructor(data) {
1128
+ super();
1129
+ /**
1130
+ * Stores any comment that the user might add during this operation
1131
+ *
1132
+ * @generated from field: string user_comment = 1;
1133
+ */
1134
+ this.userComment = "";
1135
+ /**
1136
+ * The UUID of the record
1137
+ *
1138
+ * @generated from field: string uuid = 2;
1139
+ */
1140
+ this.uuid = "";
1141
+ /**
1142
+ * The specifications that should be updated
1143
+ *
1144
+ * @generated from field: string specifications = 21;
1145
+ */
1146
+ this.specifications = "";
1147
+ protobuf_1.proto3.util.initPartial(data, this);
1148
+ }
1149
+ static fromBinary(bytes, options) {
1150
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromBinary(bytes, options);
1151
+ }
1152
+ static fromJson(jsonValue, options) {
1153
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromJson(jsonValue, options);
1154
+ }
1155
+ static fromJsonString(jsonString, options) {
1156
+ return new SalesInvoicesServiceItemSpecificationsUpdateRequest().fromJsonString(jsonString, options);
1157
+ }
1158
+ static equals(a, b) {
1159
+ return protobuf_1.proto3.util.equals(SalesInvoicesServiceItemSpecificationsUpdateRequest, a, b);
1160
+ }
1161
+ }
1162
+ exports.SalesInvoicesServiceItemSpecificationsUpdateRequest = SalesInvoicesServiceItemSpecificationsUpdateRequest;
1163
+ SalesInvoicesServiceItemSpecificationsUpdateRequest.runtime = protobuf_1.proto3;
1164
+ SalesInvoicesServiceItemSpecificationsUpdateRequest.typeName = "Scailo.SalesInvoicesServiceItemSpecificationsUpdateRequest";
1165
+ SalesInvoicesServiceItemSpecificationsUpdateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1166
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1167
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1168
+ { no: 21, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1169
+ ]);
1120
1170
  /**
1121
1171
  *
1122
1172
  * 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
  *