@ignos/api-client 20250728.0.12218-alpha → 20250729.0.12224-alpha

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.
@@ -16819,7 +16819,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
16819
16819
  this.http = http ? http : window;
16820
16820
  this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
16821
16821
  }
16822
- listMeasurmentFormSchemas(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken) {
16822
+ listMeasurmentFormSchemas(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken) {
16823
16823
  let url_ = this.baseUrl + "/measurementforms/schemas?";
16824
16824
  if (pageSize === null)
16825
16825
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -16831,6 +16831,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
16831
16831
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
16832
16832
  if (partNumber !== undefined && partNumber !== null)
16833
16833
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
16834
+ if (partName !== undefined && partName !== null)
16835
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
16834
16836
  if (partRevision !== undefined && partRevision !== null)
16835
16837
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
16836
16838
  if (drawing !== undefined && drawing !== null)
@@ -18300,7 +18302,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
18300
18302
  }
18301
18303
  return Promise.resolve(null);
18302
18304
  }
18303
- listMeasurementFormNeeds(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken, onlyWithoutDrawingUrl) {
18305
+ listMeasurementFormNeeds(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken, onlyWithoutDrawingUrl) {
18304
18306
  let url_ = this.baseUrl + "/measurementforms/schemas/needs?";
18305
18307
  if (pageSize === null)
18306
18308
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -18312,6 +18314,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
18312
18314
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
18313
18315
  if (partNumber !== undefined && partNumber !== null)
18314
18316
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
18317
+ if (partName !== undefined && partName !== null)
18318
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
18315
18319
  if (partRevision !== undefined && partRevision !== null)
18316
18320
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
18317
18321
  if (drawing !== undefined && drawing !== null)
@@ -18564,7 +18568,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
18564
18568
  }
18565
18569
  return Promise.resolve(null);
18566
18570
  }
18567
- listMeasurmentFormSchemasNotNeeded(pageSize, customerId, customerName, partNumber, partRevision, drawing, drawingRevision, filter, continuationToken) {
18571
+ listMeasurmentFormSchemasNotNeeded(pageSize, customerId, customerName, partNumber, partName, partRevision, drawing, drawingRevision, filter, continuationToken) {
18568
18572
  let url_ = this.baseUrl + "/measurementforms/schemas/schemasnotneeded?";
18569
18573
  if (pageSize === null)
18570
18574
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -18576,6 +18580,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
18576
18580
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
18577
18581
  if (partNumber !== undefined && partNumber !== null)
18578
18582
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
18583
+ if (partName !== undefined && partName !== null)
18584
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
18579
18585
  if (partRevision !== undefined && partRevision !== null)
18580
18586
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
18581
18587
  if (drawing !== undefined && drawing !== null)
@@ -22722,192 +22728,6 @@ export class WorkordersClient extends AuthorizedApiBase {
22722
22728
  }
22723
22729
  return Promise.resolve(null);
22724
22730
  }
22725
- getDiscussionMessages(id) {
22726
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
22727
- if (id === undefined || id === null)
22728
- throw new Error("The parameter 'id' must be defined.");
22729
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
22730
- url_ = url_.replace(/[?&]$/, "");
22731
- let options_ = {
22732
- method: "GET",
22733
- headers: {
22734
- "Accept": "application/json"
22735
- }
22736
- };
22737
- return this.transformOptions(options_).then(transformedOptions_ => {
22738
- return this.http.fetch(url_, transformedOptions_);
22739
- }).then((_response) => {
22740
- return this.processGetDiscussionMessages(_response);
22741
- });
22742
- }
22743
- processGetDiscussionMessages(response) {
22744
- const status = response.status;
22745
- let _headers = {};
22746
- if (response.headers && response.headers.forEach) {
22747
- response.headers.forEach((v, k) => _headers[k] = v);
22748
- }
22749
- ;
22750
- if (status === 200) {
22751
- return response.text().then((_responseText) => {
22752
- let result200 = null;
22753
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
22754
- if (Array.isArray(resultData200)) {
22755
- result200 = [];
22756
- for (let item of resultData200)
22757
- result200.push(WorkorderDiscussionMessage.fromJS(item));
22758
- }
22759
- return result200;
22760
- });
22761
- }
22762
- else if (status !== 200 && status !== 204) {
22763
- return response.text().then((_responseText) => {
22764
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22765
- });
22766
- }
22767
- return Promise.resolve(null);
22768
- }
22769
- addDiscussionMessage(id, request) {
22770
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
22771
- if (id === undefined || id === null)
22772
- throw new Error("The parameter 'id' must be defined.");
22773
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
22774
- url_ = url_.replace(/[?&]$/, "");
22775
- const content_ = JSON.stringify(request);
22776
- let options_ = {
22777
- body: content_,
22778
- method: "POST",
22779
- headers: {
22780
- "Content-Type": "application/json",
22781
- "Accept": "application/json"
22782
- }
22783
- };
22784
- return this.transformOptions(options_).then(transformedOptions_ => {
22785
- return this.http.fetch(url_, transformedOptions_);
22786
- }).then((_response) => {
22787
- return this.processAddDiscussionMessage(_response);
22788
- });
22789
- }
22790
- processAddDiscussionMessage(response) {
22791
- const status = response.status;
22792
- let _headers = {};
22793
- if (response.headers && response.headers.forEach) {
22794
- response.headers.forEach((v, k) => _headers[k] = v);
22795
- }
22796
- ;
22797
- if (status === 201) {
22798
- return response.text().then((_responseText) => {
22799
- let result201 = null;
22800
- let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
22801
- result201 = WorkorderDiscussionMessage.fromJS(resultData201);
22802
- return result201;
22803
- });
22804
- }
22805
- else if (status !== 200 && status !== 204) {
22806
- return response.text().then((_responseText) => {
22807
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22808
- });
22809
- }
22810
- return Promise.resolve(null);
22811
- }
22812
- updateMessage(id, messageId, content) {
22813
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/{messageId}";
22814
- if (id === undefined || id === null)
22815
- throw new Error("The parameter 'id' must be defined.");
22816
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
22817
- if (messageId === undefined || messageId === null)
22818
- throw new Error("The parameter 'messageId' must be defined.");
22819
- url_ = url_.replace("{messageId}", encodeURIComponent("" + messageId));
22820
- url_ = url_.replace(/[?&]$/, "");
22821
- const content_ = JSON.stringify(content);
22822
- let options_ = {
22823
- body: content_,
22824
- method: "PUT",
22825
- headers: {
22826
- "Content-Type": "application/json",
22827
- "Accept": "application/octet-stream"
22828
- }
22829
- };
22830
- return this.transformOptions(options_).then(transformedOptions_ => {
22831
- return this.http.fetch(url_, transformedOptions_);
22832
- }).then((_response) => {
22833
- return this.processUpdateMessage(_response);
22834
- });
22835
- }
22836
- processUpdateMessage(response) {
22837
- const status = response.status;
22838
- let _headers = {};
22839
- if (response.headers && response.headers.forEach) {
22840
- response.headers.forEach((v, k) => _headers[k] = v);
22841
- }
22842
- ;
22843
- if (status === 200 || status === 206) {
22844
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
22845
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
22846
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
22847
- if (fileName) {
22848
- fileName = decodeURIComponent(fileName);
22849
- }
22850
- else {
22851
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
22852
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
22853
- }
22854
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
22855
- }
22856
- else if (status !== 200 && status !== 204) {
22857
- return response.text().then((_responseText) => {
22858
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22859
- });
22860
- }
22861
- return Promise.resolve(null);
22862
- }
22863
- deleteMessage(id, messageId) {
22864
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/{messageId}";
22865
- if (id === undefined || id === null)
22866
- throw new Error("The parameter 'id' must be defined.");
22867
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
22868
- if (messageId === undefined || messageId === null)
22869
- throw new Error("The parameter 'messageId' must be defined.");
22870
- url_ = url_.replace("{messageId}", encodeURIComponent("" + messageId));
22871
- url_ = url_.replace(/[?&]$/, "");
22872
- let options_ = {
22873
- method: "DELETE",
22874
- headers: {
22875
- "Accept": "application/octet-stream"
22876
- }
22877
- };
22878
- return this.transformOptions(options_).then(transformedOptions_ => {
22879
- return this.http.fetch(url_, transformedOptions_);
22880
- }).then((_response) => {
22881
- return this.processDeleteMessage(_response);
22882
- });
22883
- }
22884
- processDeleteMessage(response) {
22885
- const status = response.status;
22886
- let _headers = {};
22887
- if (response.headers && response.headers.forEach) {
22888
- response.headers.forEach((v, k) => _headers[k] = v);
22889
- }
22890
- ;
22891
- if (status === 200 || status === 206) {
22892
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
22893
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
22894
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
22895
- if (fileName) {
22896
- fileName = decodeURIComponent(fileName);
22897
- }
22898
- else {
22899
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
22900
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
22901
- }
22902
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
22903
- }
22904
- else if (status !== 200 && status !== 204) {
22905
- return response.text().then((_responseText) => {
22906
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
22907
- });
22908
- }
22909
- return Promise.resolve(null);
22910
- }
22911
22731
  }
22912
22732
  export class AzureRegionDto {
22913
22733
  constructor(data) {
@@ -41453,6 +41273,7 @@ export class ListMeasurementFormSchemasRequest {
41453
41273
  this.pageSize = _data["pageSize"];
41454
41274
  this.customerId = _data["customerId"];
41455
41275
  this.customerName = _data["customerName"];
41276
+ this.partName = _data["partName"];
41456
41277
  this.partNumber = _data["partNumber"];
41457
41278
  this.partRevision = _data["partRevision"];
41458
41279
  this.drawing = _data["drawing"];
@@ -41472,6 +41293,7 @@ export class ListMeasurementFormSchemasRequest {
41472
41293
  data["pageSize"] = this.pageSize;
41473
41294
  data["customerId"] = this.customerId;
41474
41295
  data["customerName"] = this.customerName;
41296
+ data["partName"] = this.partName;
41475
41297
  data["partNumber"] = this.partNumber;
41476
41298
  data["partRevision"] = this.partRevision;
41477
41299
  data["drawing"] = this.drawing;
@@ -42753,6 +42575,7 @@ export class ImportMeasurementFormSchema {
42753
42575
  this.customerId = _data["customerId"];
42754
42576
  this.customerName = _data["customerName"];
42755
42577
  this.partNumber = _data["partNumber"];
42578
+ this.partName = _data["partName"];
42756
42579
  this.partRevision = _data["partRevision"];
42757
42580
  this.drawing = _data["drawing"];
42758
42581
  this.drawingRevision = _data["drawingRevision"];
@@ -42785,6 +42608,7 @@ export class ImportMeasurementFormSchema {
42785
42608
  data["customerId"] = this.customerId;
42786
42609
  data["customerName"] = this.customerName;
42787
42610
  data["partNumber"] = this.partNumber;
42611
+ data["partName"] = this.partName;
42788
42612
  data["partRevision"] = this.partRevision;
42789
42613
  data["drawing"] = this.drawing;
42790
42614
  data["drawingRevision"] = this.drawingRevision;
@@ -42820,6 +42644,7 @@ export class MeasurementFormImportLinkedSchemaDto {
42820
42644
  if (_data) {
42821
42645
  this.customerId = _data["customerId"];
42822
42646
  this.partNumber = _data["partNumber"];
42647
+ this.partName = _data["partName"];
42823
42648
  this.partRevision = _data["partRevision"];
42824
42649
  this.drawing = _data["drawing"];
42825
42650
  this.drawingRevision = _data["drawingRevision"];
@@ -42836,6 +42661,7 @@ export class MeasurementFormImportLinkedSchemaDto {
42836
42661
  data = typeof data === 'object' ? data : {};
42837
42662
  data["customerId"] = this.customerId;
42838
42663
  data["partNumber"] = this.partNumber;
42664
+ data["partName"] = this.partName;
42839
42665
  data["partRevision"] = this.partRevision;
42840
42666
  data["drawing"] = this.drawing;
42841
42667
  data["drawingRevision"] = this.drawingRevision;
@@ -43060,6 +42886,7 @@ export class MeasurementFormNeedDto {
43060
42886
  this.customerName = _data["customerName"];
43061
42887
  this.partNumber = _data["partNumber"];
43062
42888
  this.partRevision = _data["partRevision"];
42889
+ this.partName = _data["partName"];
43063
42890
  this.drawing = _data["drawing"];
43064
42891
  this.drawingRevision = _data["drawingRevision"];
43065
42892
  this.workorder = _data["workorder"];
@@ -43087,6 +42914,7 @@ export class MeasurementFormNeedDto {
43087
42914
  data["customerName"] = this.customerName;
43088
42915
  data["partNumber"] = this.partNumber;
43089
42916
  data["partRevision"] = this.partRevision;
42917
+ data["partName"] = this.partName;
43090
42918
  data["drawing"] = this.drawing;
43091
42919
  data["drawingRevision"] = this.drawingRevision;
43092
42920
  data["workorder"] = this.workorder;
@@ -43115,6 +42943,7 @@ export class ListMeasurementFormNeedsRequest {
43115
42943
  this.pageSize = _data["pageSize"];
43116
42944
  this.customerId = _data["customerId"];
43117
42945
  this.customerName = _data["customerName"];
42946
+ this.partName = _data["partName"];
43118
42947
  this.partNumber = _data["partNumber"];
43119
42948
  this.partRevision = _data["partRevision"];
43120
42949
  this.drawing = _data["drawing"];
@@ -43135,6 +42964,7 @@ export class ListMeasurementFormNeedsRequest {
43135
42964
  data["pageSize"] = this.pageSize;
43136
42965
  data["customerId"] = this.customerId;
43137
42966
  data["customerName"] = this.customerName;
42967
+ data["partName"] = this.partName;
43138
42968
  data["partNumber"] = this.partNumber;
43139
42969
  data["partRevision"] = this.partRevision;
43140
42970
  data["drawing"] = this.drawing;
@@ -43291,6 +43121,7 @@ export class ListMeasurementFormSchemasNotNeededRequest {
43291
43121
  this.customerId = _data["customerId"];
43292
43122
  this.customerName = _data["customerName"];
43293
43123
  this.partNumber = _data["partNumber"];
43124
+ this.partName = _data["partName"];
43294
43125
  this.partRevision = _data["partRevision"];
43295
43126
  this.drawing = _data["drawing"];
43296
43127
  this.drawingRevision = _data["drawingRevision"];
@@ -43310,6 +43141,7 @@ export class ListMeasurementFormSchemasNotNeededRequest {
43310
43141
  data["customerId"] = this.customerId;
43311
43142
  data["customerName"] = this.customerName;
43312
43143
  data["partNumber"] = this.partNumber;
43144
+ data["partName"] = this.partName;
43313
43145
  data["partRevision"] = this.partRevision;
43314
43146
  data["drawing"] = this.drawing;
43315
43147
  data["drawingRevision"] = this.drawingRevision;
@@ -43462,6 +43294,7 @@ export class SchemaFeedbackDto {
43462
43294
  this.latestSchemaDefinitionId = _data["latestSchemaDefinitionId"];
43463
43295
  this.partNumber = _data["partNumber"];
43464
43296
  this.partRevision = _data["partRevision"];
43297
+ this.partName = _data["partName"];
43465
43298
  this.drawing = _data["drawing"];
43466
43299
  this.drawingRevision = _data["drawingRevision"];
43467
43300
  }
@@ -43488,6 +43321,7 @@ export class SchemaFeedbackDto {
43488
43321
  data["latestSchemaDefinitionId"] = this.latestSchemaDefinitionId;
43489
43322
  data["partNumber"] = this.partNumber;
43490
43323
  data["partRevision"] = this.partRevision;
43324
+ data["partName"] = this.partName;
43491
43325
  data["drawing"] = this.drawing;
43492
43326
  data["drawingRevision"] = this.drawingRevision;
43493
43327
  return data;
@@ -43645,6 +43479,7 @@ export class MeasurementFormInstanceOverviewDto {
43645
43479
  if (_data) {
43646
43480
  this.id = _data["id"];
43647
43481
  this.readonly = _data["readonly"];
43482
+ this.partName = _data["partName"];
43648
43483
  this.partNumber = _data["partNumber"];
43649
43484
  this.partRevision = _data["partRevision"];
43650
43485
  this.drawing = _data["drawing"];
@@ -43673,6 +43508,7 @@ export class MeasurementFormInstanceOverviewDto {
43673
43508
  data = typeof data === 'object' ? data : {};
43674
43509
  data["id"] = this.id;
43675
43510
  data["readonly"] = this.readonly;
43511
+ data["partName"] = this.partName;
43676
43512
  data["partNumber"] = this.partNumber;
43677
43513
  data["partRevision"] = this.partRevision;
43678
43514
  data["drawing"] = this.drawing;
@@ -43881,6 +43717,7 @@ export class MeasurementFormInstanceDto {
43881
43717
  this.id = _data["id"];
43882
43718
  this.readonly = _data["readonly"];
43883
43719
  this.partNumber = _data["partNumber"];
43720
+ this.partName = _data["partName"];
43884
43721
  this.partRevision = _data["partRevision"];
43885
43722
  this.drawing = _data["drawing"];
43886
43723
  this.drawingRevision = _data["drawingRevision"];
@@ -43920,6 +43757,7 @@ export class MeasurementFormInstanceDto {
43920
43757
  data["id"] = this.id;
43921
43758
  data["readonly"] = this.readonly;
43922
43759
  data["partNumber"] = this.partNumber;
43760
+ data["partName"] = this.partName;
43923
43761
  data["partRevision"] = this.partRevision;
43924
43762
  data["drawing"] = this.drawing;
43925
43763
  data["drawingRevision"] = this.drawingRevision;
@@ -46783,164 +46621,6 @@ export class CreateWorkOrderMapping {
46783
46621
  return data;
46784
46622
  }
46785
46623
  }
46786
- export class TableEntityBase {
46787
- constructor(data) {
46788
- if (data) {
46789
- for (var property in data) {
46790
- if (data.hasOwnProperty(property))
46791
- this[property] = data[property];
46792
- }
46793
- }
46794
- }
46795
- init(_data) {
46796
- if (_data) {
46797
- this.partitionKey = _data["partitionKey"];
46798
- this.rowKey = _data["rowKey"];
46799
- this.timestamp = _data["timestamp"] ? new Date(_data["timestamp"].toString()) : undefined;
46800
- this.eTag = _data["eTag"] ? ETag.fromJS(_data["eTag"]) : undefined;
46801
- this.created = _data["created"] ? new Date(_data["created"].toString()) : undefined;
46802
- this.createdBy = _data["createdBy"];
46803
- this.createdById = _data["createdById"];
46804
- this.updatedBy = _data["updatedBy"];
46805
- this.updatedById = _data["updatedById"];
46806
- this.insertAuditInfo = _data["insertAuditInfo"] ? AuditInfo.fromJS(_data["insertAuditInfo"]) : undefined;
46807
- }
46808
- }
46809
- static fromJS(data) {
46810
- data = typeof data === 'object' ? data : {};
46811
- let result = new TableEntityBase();
46812
- result.init(data);
46813
- return result;
46814
- }
46815
- toJSON(data) {
46816
- data = typeof data === 'object' ? data : {};
46817
- data["partitionKey"] = this.partitionKey;
46818
- data["rowKey"] = this.rowKey;
46819
- data["timestamp"] = this.timestamp ? this.timestamp.toISOString() : undefined;
46820
- data["eTag"] = this.eTag ? this.eTag.toJSON() : undefined;
46821
- data["created"] = this.created ? this.created.toISOString() : undefined;
46822
- data["createdBy"] = this.createdBy;
46823
- data["createdById"] = this.createdById;
46824
- data["updatedBy"] = this.updatedBy;
46825
- data["updatedById"] = this.updatedById;
46826
- data["insertAuditInfo"] = this.insertAuditInfo ? this.insertAuditInfo.toJSON() : undefined;
46827
- return data;
46828
- }
46829
- }
46830
- export class WorkorderDiscussionMessage extends TableEntityBase {
46831
- constructor(data) {
46832
- super(data);
46833
- }
46834
- init(_data) {
46835
- super.init(_data);
46836
- if (_data) {
46837
- this.content = _data["content"];
46838
- this.senderUpn = _data["senderUpn"];
46839
- this.senderName = _data["senderName"];
46840
- this.operationId = _data["operationId"];
46841
- this.resourceId = _data["resourceId"];
46842
- }
46843
- }
46844
- static fromJS(data) {
46845
- data = typeof data === 'object' ? data : {};
46846
- let result = new WorkorderDiscussionMessage();
46847
- result.init(data);
46848
- return result;
46849
- }
46850
- toJSON(data) {
46851
- data = typeof data === 'object' ? data : {};
46852
- data["content"] = this.content;
46853
- data["senderUpn"] = this.senderUpn;
46854
- data["senderName"] = this.senderName;
46855
- data["operationId"] = this.operationId;
46856
- data["resourceId"] = this.resourceId;
46857
- super.toJSON(data);
46858
- return data;
46859
- }
46860
- }
46861
- /** Represents an HTTP ETag. */
46862
- export class ETag {
46863
- constructor(data) {
46864
- if (data) {
46865
- for (var property in data) {
46866
- if (data.hasOwnProperty(property))
46867
- this[property] = data[property];
46868
- }
46869
- }
46870
- }
46871
- init(_data) {
46872
- }
46873
- static fromJS(data) {
46874
- data = typeof data === 'object' ? data : {};
46875
- let result = new ETag();
46876
- result.init(data);
46877
- return result;
46878
- }
46879
- toJSON(data) {
46880
- data = typeof data === 'object' ? data : {};
46881
- return data;
46882
- }
46883
- }
46884
- export class AuditInfo {
46885
- constructor(data) {
46886
- if (data) {
46887
- for (var property in data) {
46888
- if (data.hasOwnProperty(property))
46889
- this[property] = data[property];
46890
- }
46891
- }
46892
- }
46893
- init(_data) {
46894
- if (_data) {
46895
- this.objectId = _data["objectId"];
46896
- this.userId = _data["userId"];
46897
- this.userFullName = _data["userFullName"];
46898
- }
46899
- }
46900
- static fromJS(data) {
46901
- data = typeof data === 'object' ? data : {};
46902
- let result = new AuditInfo();
46903
- result.init(data);
46904
- return result;
46905
- }
46906
- toJSON(data) {
46907
- data = typeof data === 'object' ? data : {};
46908
- data["objectId"] = this.objectId;
46909
- data["userId"] = this.userId;
46910
- data["userFullName"] = this.userFullName;
46911
- return data;
46912
- }
46913
- }
46914
- export class AddDiscussionMessageRequest {
46915
- constructor(data) {
46916
- if (data) {
46917
- for (var property in data) {
46918
- if (data.hasOwnProperty(property))
46919
- this[property] = data[property];
46920
- }
46921
- }
46922
- }
46923
- init(_data) {
46924
- if (_data) {
46925
- this.message = _data["message"];
46926
- this.operationId = _data["operationId"];
46927
- this.resourceId = _data["resourceId"];
46928
- }
46929
- }
46930
- static fromJS(data) {
46931
- data = typeof data === 'object' ? data : {};
46932
- let result = new AddDiscussionMessageRequest();
46933
- result.init(data);
46934
- return result;
46935
- }
46936
- toJSON(data) {
46937
- data = typeof data === 'object' ? data : {};
46938
- data["message"] = this.message;
46939
- data["operationId"] = this.operationId;
46940
- data["resourceId"] = this.resourceId;
46941
- return data;
46942
- }
46943
- }
46944
46624
  function formatDate(d) {
46945
46625
  return d.getFullYear() + '-' +
46946
46626
  (d.getMonth() < 9 ? ('0' + (d.getMonth() + 1)) : (d.getMonth() + 1)) + '-' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250728.0.12218-alpha",
3
+ "version": "20250729.0.12224-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",