@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.
@@ -17959,7 +17959,7 @@ export class MesResourceClient extends AuthorizedApiBase implements IMesResource
17959
17959
 
17960
17960
  export interface IMeasurementFormSchemasClient {
17961
17961
 
17962
- listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
17962
+ listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto>;
17963
17963
 
17964
17964
  createMeasurementForm(request: CreateMeasurementFormSchema): Promise<MeasurementFormDto>;
17965
17965
 
@@ -18044,7 +18044,7 @@ export interface IMeasurementFormSchemasClient {
18044
18044
  */
18045
18045
  importMeasurementFormSchema(request: ImportMeasurementFormSchema): Promise<MeasurementFormDto>;
18046
18046
 
18047
- listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
18047
+ listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
18048
18048
 
18049
18049
  postListMeasurementFormNeeds(request: ListMeasurementFormNeedsRequest | undefined): Promise<PagedResultOfMeasurementFormNeedDto>;
18050
18050
 
@@ -18056,7 +18056,7 @@ export interface IMeasurementFormSchemasClient {
18056
18056
 
18057
18057
  uploadNeedDrawing(id: string, request: UploadDrawingRequest): Promise<MeasurementFormNeedDto>;
18058
18058
 
18059
- listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
18059
+ listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
18060
18060
 
18061
18061
  postListMeasurementFormSchemasNotNeeded(request: ListMeasurementFormSchemasNotNeededRequest | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto>;
18062
18062
 
@@ -18096,7 +18096,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
18096
18096
  this.baseUrl = baseUrl ?? "";
18097
18097
  }
18098
18098
 
18099
- listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto> {
18099
+ listMeasurmentFormSchemas(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormListDto> {
18100
18100
  let url_ = this.baseUrl + "/measurementforms/schemas?";
18101
18101
  if (pageSize === null)
18102
18102
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -18108,6 +18108,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
18108
18108
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
18109
18109
  if (partNumber !== undefined && partNumber !== null)
18110
18110
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
18111
+ if (partName !== undefined && partName !== null)
18112
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
18111
18113
  if (partRevision !== undefined && partRevision !== null)
18112
18114
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
18113
18115
  if (drawing !== undefined && drawing !== null)
@@ -19563,7 +19565,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
19563
19565
  return Promise.resolve<MeasurementFormDto>(null as any);
19564
19566
  }
19565
19567
 
19566
- listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto> {
19568
+ listMeasurementFormNeeds(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined, onlyWithoutDrawingUrl: boolean | null | undefined): Promise<PagedResultOfMeasurementFormNeedDto> {
19567
19569
  let url_ = this.baseUrl + "/measurementforms/schemas/needs?";
19568
19570
  if (pageSize === null)
19569
19571
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -19575,6 +19577,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
19575
19577
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
19576
19578
  if (partNumber !== undefined && partNumber !== null)
19577
19579
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
19580
+ if (partName !== undefined && partName !== null)
19581
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
19578
19582
  if (partRevision !== undefined && partRevision !== null)
19579
19583
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
19580
19584
  if (drawing !== undefined && drawing !== null)
@@ -19825,7 +19829,7 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
19825
19829
  return Promise.resolve<MeasurementFormNeedDto>(null as any);
19826
19830
  }
19827
19831
 
19828
- listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto> {
19832
+ listMeasurmentFormSchemasNotNeeded(pageSize: number | undefined, customerId: string | null | undefined, customerName: string | null | undefined, partNumber: string | null | undefined, partName: string | null | undefined, partRevision: string | null | undefined, drawing: string | null | undefined, drawingRevision: string | null | undefined, filter: string | null | undefined, continuationToken: string | null | undefined): Promise<PagedResultOfMeasurementFormSchemaNotNeededDto> {
19829
19833
  let url_ = this.baseUrl + "/measurementforms/schemas/schemasnotneeded?";
19830
19834
  if (pageSize === null)
19831
19835
  throw new Error("The parameter 'pageSize' cannot be null.");
@@ -19837,6 +19841,8 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
19837
19841
  url_ += "customerName=" + encodeURIComponent("" + customerName) + "&";
19838
19842
  if (partNumber !== undefined && partNumber !== null)
19839
19843
  url_ += "partNumber=" + encodeURIComponent("" + partNumber) + "&";
19844
+ if (partName !== undefined && partName !== null)
19845
+ url_ += "partName=" + encodeURIComponent("" + partName) + "&";
19840
19846
  if (partRevision !== undefined && partRevision !== null)
19841
19847
  url_ += "partRevision=" + encodeURIComponent("" + partRevision) + "&";
19842
19848
  if (drawing !== undefined && drawing !== null)
@@ -23183,14 +23189,6 @@ export interface IWorkordersClient {
23183
23189
  * Deleteds existing work order mappings.
23184
23190
  */
23185
23191
  deleteWorkOrderMappings(): Promise<void>;
23186
-
23187
- getDiscussionMessages(id: string): Promise<WorkorderDiscussionMessage[]>;
23188
-
23189
- addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessage>;
23190
-
23191
- updateMessage(id: string, messageId: string, content: string): Promise<FileResponse>;
23192
-
23193
- deleteMessage(id: string, messageId: string): Promise<FileResponse>;
23194
23192
  }
23195
23193
 
23196
23194
  export class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
@@ -24270,188 +24268,6 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
24270
24268
  }
24271
24269
  return Promise.resolve<void>(null as any);
24272
24270
  }
24273
-
24274
- getDiscussionMessages(id: string): Promise<WorkorderDiscussionMessage[]> {
24275
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
24276
- if (id === undefined || id === null)
24277
- throw new Error("The parameter 'id' must be defined.");
24278
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24279
- url_ = url_.replace(/[?&]$/, "");
24280
-
24281
- let options_: RequestInit = {
24282
- method: "GET",
24283
- headers: {
24284
- "Accept": "application/json"
24285
- }
24286
- };
24287
-
24288
- return this.transformOptions(options_).then(transformedOptions_ => {
24289
- return this.http.fetch(url_, transformedOptions_);
24290
- }).then((_response: Response) => {
24291
- return this.processGetDiscussionMessages(_response);
24292
- });
24293
- }
24294
-
24295
- protected processGetDiscussionMessages(response: Response): Promise<WorkorderDiscussionMessage[]> {
24296
- const status = response.status;
24297
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24298
- if (status === 200) {
24299
- return response.text().then((_responseText) => {
24300
- let result200: any = null;
24301
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
24302
- if (Array.isArray(resultData200)) {
24303
- result200 = [] as any;
24304
- for (let item of resultData200)
24305
- result200!.push(WorkorderDiscussionMessage.fromJS(item));
24306
- }
24307
- return result200;
24308
- });
24309
- } else if (status !== 200 && status !== 204) {
24310
- return response.text().then((_responseText) => {
24311
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24312
- });
24313
- }
24314
- return Promise.resolve<WorkorderDiscussionMessage[]>(null as any);
24315
- }
24316
-
24317
- addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessage> {
24318
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
24319
- if (id === undefined || id === null)
24320
- throw new Error("The parameter 'id' must be defined.");
24321
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24322
- url_ = url_.replace(/[?&]$/, "");
24323
-
24324
- const content_ = JSON.stringify(request);
24325
-
24326
- let options_: RequestInit = {
24327
- body: content_,
24328
- method: "POST",
24329
- headers: {
24330
- "Content-Type": "application/json",
24331
- "Accept": "application/json"
24332
- }
24333
- };
24334
-
24335
- return this.transformOptions(options_).then(transformedOptions_ => {
24336
- return this.http.fetch(url_, transformedOptions_);
24337
- }).then((_response: Response) => {
24338
- return this.processAddDiscussionMessage(_response);
24339
- });
24340
- }
24341
-
24342
- protected processAddDiscussionMessage(response: Response): Promise<WorkorderDiscussionMessage> {
24343
- const status = response.status;
24344
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24345
- if (status === 201) {
24346
- return response.text().then((_responseText) => {
24347
- let result201: any = null;
24348
- let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
24349
- result201 = WorkorderDiscussionMessage.fromJS(resultData201);
24350
- return result201;
24351
- });
24352
- } else if (status !== 200 && status !== 204) {
24353
- return response.text().then((_responseText) => {
24354
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24355
- });
24356
- }
24357
- return Promise.resolve<WorkorderDiscussionMessage>(null as any);
24358
- }
24359
-
24360
- updateMessage(id: string, messageId: string, content: string): Promise<FileResponse> {
24361
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/{messageId}";
24362
- if (id === undefined || id === null)
24363
- throw new Error("The parameter 'id' must be defined.");
24364
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24365
- if (messageId === undefined || messageId === null)
24366
- throw new Error("The parameter 'messageId' must be defined.");
24367
- url_ = url_.replace("{messageId}", encodeURIComponent("" + messageId));
24368
- url_ = url_.replace(/[?&]$/, "");
24369
-
24370
- const content_ = JSON.stringify(content);
24371
-
24372
- let options_: RequestInit = {
24373
- body: content_,
24374
- method: "PUT",
24375
- headers: {
24376
- "Content-Type": "application/json",
24377
- "Accept": "application/octet-stream"
24378
- }
24379
- };
24380
-
24381
- return this.transformOptions(options_).then(transformedOptions_ => {
24382
- return this.http.fetch(url_, transformedOptions_);
24383
- }).then((_response: Response) => {
24384
- return this.processUpdateMessage(_response);
24385
- });
24386
- }
24387
-
24388
- protected processUpdateMessage(response: Response): Promise<FileResponse> {
24389
- const status = response.status;
24390
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24391
- if (status === 200 || status === 206) {
24392
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
24393
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
24394
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
24395
- if (fileName) {
24396
- fileName = decodeURIComponent(fileName);
24397
- } else {
24398
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
24399
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
24400
- }
24401
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
24402
- } else if (status !== 200 && status !== 204) {
24403
- return response.text().then((_responseText) => {
24404
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24405
- });
24406
- }
24407
- return Promise.resolve<FileResponse>(null as any);
24408
- }
24409
-
24410
- deleteMessage(id: string, messageId: string): Promise<FileResponse> {
24411
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion/{messageId}";
24412
- if (id === undefined || id === null)
24413
- throw new Error("The parameter 'id' must be defined.");
24414
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24415
- if (messageId === undefined || messageId === null)
24416
- throw new Error("The parameter 'messageId' must be defined.");
24417
- url_ = url_.replace("{messageId}", encodeURIComponent("" + messageId));
24418
- url_ = url_.replace(/[?&]$/, "");
24419
-
24420
- let options_: RequestInit = {
24421
- method: "DELETE",
24422
- headers: {
24423
- "Accept": "application/octet-stream"
24424
- }
24425
- };
24426
-
24427
- return this.transformOptions(options_).then(transformedOptions_ => {
24428
- return this.http.fetch(url_, transformedOptions_);
24429
- }).then((_response: Response) => {
24430
- return this.processDeleteMessage(_response);
24431
- });
24432
- }
24433
-
24434
- protected processDeleteMessage(response: Response): Promise<FileResponse> {
24435
- const status = response.status;
24436
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24437
- if (status === 200 || status === 206) {
24438
- const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
24439
- let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
24440
- let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
24441
- if (fileName) {
24442
- fileName = decodeURIComponent(fileName);
24443
- } else {
24444
- fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
24445
- fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
24446
- }
24447
- return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
24448
- } else if (status !== 200 && status !== 204) {
24449
- return response.text().then((_responseText) => {
24450
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24451
- });
24452
- }
24453
- return Promise.resolve<FileResponse>(null as any);
24454
- }
24455
24271
  }
24456
24272
 
24457
24273
  export class AzureRegionDto implements IAzureRegionDto {
@@ -51958,6 +51774,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
51958
51774
  pageSize?: number | null;
51959
51775
  customerId?: string | null;
51960
51776
  customerName?: string | null;
51777
+ partName?: string | null;
51961
51778
  partNumber?: string | null;
51962
51779
  partRevision?: string | null;
51963
51780
  drawing?: string | null;
@@ -51979,6 +51796,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
51979
51796
  this.pageSize = _data["pageSize"];
51980
51797
  this.customerId = _data["customerId"];
51981
51798
  this.customerName = _data["customerName"];
51799
+ this.partName = _data["partName"];
51982
51800
  this.partNumber = _data["partNumber"];
51983
51801
  this.partRevision = _data["partRevision"];
51984
51802
  this.drawing = _data["drawing"];
@@ -52000,6 +51818,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
52000
51818
  data["pageSize"] = this.pageSize;
52001
51819
  data["customerId"] = this.customerId;
52002
51820
  data["customerName"] = this.customerName;
51821
+ data["partName"] = this.partName;
52003
51822
  data["partNumber"] = this.partNumber;
52004
51823
  data["partRevision"] = this.partRevision;
52005
51824
  data["drawing"] = this.drawing;
@@ -52014,6 +51833,7 @@ export interface IListMeasurementFormSchemasRequest {
52014
51833
  pageSize?: number | null;
52015
51834
  customerId?: string | null;
52016
51835
  customerName?: string | null;
51836
+ partName?: string | null;
52017
51837
  partNumber?: string | null;
52018
51838
  partRevision?: string | null;
52019
51839
  drawing?: string | null;
@@ -53949,6 +53769,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
53949
53769
  customerId?: string | null;
53950
53770
  customerName?: string | null;
53951
53771
  partNumber!: string;
53772
+ partName?: string | null;
53952
53773
  partRevision?: string | null;
53953
53774
  drawing?: string | null;
53954
53775
  drawingRevision?: string | null;
@@ -53978,6 +53799,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
53978
53799
  this.customerId = _data["customerId"];
53979
53800
  this.customerName = _data["customerName"];
53980
53801
  this.partNumber = _data["partNumber"];
53802
+ this.partName = _data["partName"];
53981
53803
  this.partRevision = _data["partRevision"];
53982
53804
  this.drawing = _data["drawing"];
53983
53805
  this.drawingRevision = _data["drawingRevision"];
@@ -54012,6 +53834,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
54012
53834
  data["customerId"] = this.customerId;
54013
53835
  data["customerName"] = this.customerName;
54014
53836
  data["partNumber"] = this.partNumber;
53837
+ data["partName"] = this.partName;
54015
53838
  data["partRevision"] = this.partRevision;
54016
53839
  data["drawing"] = this.drawing;
54017
53840
  data["drawingRevision"] = this.drawingRevision;
@@ -54039,6 +53862,7 @@ export interface IImportMeasurementFormSchema {
54039
53862
  customerId?: string | null;
54040
53863
  customerName?: string | null;
54041
53864
  partNumber: string;
53865
+ partName?: string | null;
54042
53866
  partRevision?: string | null;
54043
53867
  drawing?: string | null;
54044
53868
  drawingRevision?: string | null;
@@ -54055,6 +53879,7 @@ export interface IImportMeasurementFormSchema {
54055
53879
  export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImportLinkedSchemaDto {
54056
53880
  customerId?: string | null;
54057
53881
  partNumber?: string | null;
53882
+ partName?: string | null;
54058
53883
  partRevision?: string | null;
54059
53884
  drawing!: string;
54060
53885
  drawingRevision?: string | null;
@@ -54073,6 +53898,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
54073
53898
  if (_data) {
54074
53899
  this.customerId = _data["customerId"];
54075
53900
  this.partNumber = _data["partNumber"];
53901
+ this.partName = _data["partName"];
54076
53902
  this.partRevision = _data["partRevision"];
54077
53903
  this.drawing = _data["drawing"];
54078
53904
  this.drawingRevision = _data["drawingRevision"];
@@ -54091,6 +53917,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
54091
53917
  data = typeof data === 'object' ? data : {};
54092
53918
  data["customerId"] = this.customerId;
54093
53919
  data["partNumber"] = this.partNumber;
53920
+ data["partName"] = this.partName;
54094
53921
  data["partRevision"] = this.partRevision;
54095
53922
  data["drawing"] = this.drawing;
54096
53923
  data["drawingRevision"] = this.drawingRevision;
@@ -54102,6 +53929,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
54102
53929
  export interface IMeasurementFormImportLinkedSchemaDto {
54103
53930
  customerId?: string | null;
54104
53931
  partNumber?: string | null;
53932
+ partName?: string | null;
54105
53933
  partRevision?: string | null;
54106
53934
  drawing: string;
54107
53935
  drawingRevision?: string | null;
@@ -54445,6 +54273,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54445
54273
  customerName?: string | null;
54446
54274
  partNumber?: string | null;
54447
54275
  partRevision?: string | null;
54276
+ partName?: string | null;
54448
54277
  drawing?: string | null;
54449
54278
  drawingRevision?: string | null;
54450
54279
  workorder?: string | null;
@@ -54474,6 +54303,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54474
54303
  this.customerName = _data["customerName"];
54475
54304
  this.partNumber = _data["partNumber"];
54476
54305
  this.partRevision = _data["partRevision"];
54306
+ this.partName = _data["partName"];
54477
54307
  this.drawing = _data["drawing"];
54478
54308
  this.drawingRevision = _data["drawingRevision"];
54479
54309
  this.workorder = _data["workorder"];
@@ -54503,6 +54333,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54503
54333
  data["customerName"] = this.customerName;
54504
54334
  data["partNumber"] = this.partNumber;
54505
54335
  data["partRevision"] = this.partRevision;
54336
+ data["partName"] = this.partName;
54506
54337
  data["drawing"] = this.drawing;
54507
54338
  data["drawingRevision"] = this.drawingRevision;
54508
54339
  data["workorder"] = this.workorder;
@@ -54525,6 +54356,7 @@ export interface IMeasurementFormNeedDto {
54525
54356
  customerName?: string | null;
54526
54357
  partNumber?: string | null;
54527
54358
  partRevision?: string | null;
54359
+ partName?: string | null;
54528
54360
  drawing?: string | null;
54529
54361
  drawingRevision?: string | null;
54530
54362
  workorder?: string | null;
@@ -54542,6 +54374,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54542
54374
  pageSize?: number | null;
54543
54375
  customerId?: string | null;
54544
54376
  customerName?: string | null;
54377
+ partName?: string | null;
54545
54378
  partNumber?: string | null;
54546
54379
  partRevision?: string | null;
54547
54380
  drawing?: string | null;
@@ -54564,6 +54397,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54564
54397
  this.pageSize = _data["pageSize"];
54565
54398
  this.customerId = _data["customerId"];
54566
54399
  this.customerName = _data["customerName"];
54400
+ this.partName = _data["partName"];
54567
54401
  this.partNumber = _data["partNumber"];
54568
54402
  this.partRevision = _data["partRevision"];
54569
54403
  this.drawing = _data["drawing"];
@@ -54586,6 +54420,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54586
54420
  data["pageSize"] = this.pageSize;
54587
54421
  data["customerId"] = this.customerId;
54588
54422
  data["customerName"] = this.customerName;
54423
+ data["partName"] = this.partName;
54589
54424
  data["partNumber"] = this.partNumber;
54590
54425
  data["partRevision"] = this.partRevision;
54591
54426
  data["drawing"] = this.drawing;
@@ -54601,6 +54436,7 @@ export interface IListMeasurementFormNeedsRequest {
54601
54436
  pageSize?: number | null;
54602
54437
  customerId?: string | null;
54603
54438
  customerName?: string | null;
54439
+ partName?: string | null;
54604
54440
  partNumber?: string | null;
54605
54441
  partRevision?: string | null;
54606
54442
  drawing?: string | null;
@@ -54802,6 +54638,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54802
54638
  customerId?: string | null;
54803
54639
  customerName?: string | null;
54804
54640
  partNumber?: string | null;
54641
+ partName?: string | null;
54805
54642
  partRevision?: string | null;
54806
54643
  drawing?: string | null;
54807
54644
  drawingRevision?: string | null;
@@ -54823,6 +54660,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54823
54660
  this.customerId = _data["customerId"];
54824
54661
  this.customerName = _data["customerName"];
54825
54662
  this.partNumber = _data["partNumber"];
54663
+ this.partName = _data["partName"];
54826
54664
  this.partRevision = _data["partRevision"];
54827
54665
  this.drawing = _data["drawing"];
54828
54666
  this.drawingRevision = _data["drawingRevision"];
@@ -54844,6 +54682,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54844
54682
  data["customerId"] = this.customerId;
54845
54683
  data["customerName"] = this.customerName;
54846
54684
  data["partNumber"] = this.partNumber;
54685
+ data["partName"] = this.partName;
54847
54686
  data["partRevision"] = this.partRevision;
54848
54687
  data["drawing"] = this.drawing;
54849
54688
  data["drawingRevision"] = this.drawingRevision;
@@ -54858,6 +54697,7 @@ export interface IListMeasurementFormSchemasNotNeededRequest {
54858
54697
  customerId?: string | null;
54859
54698
  customerName?: string | null;
54860
54699
  partNumber?: string | null;
54700
+ partName?: string | null;
54861
54701
  partRevision?: string | null;
54862
54702
  drawing?: string | null;
54863
54703
  drawingRevision?: string | null;
@@ -55043,6 +54883,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
55043
54883
  latestSchemaDefinitionId?: string | null;
55044
54884
  partNumber?: string | null;
55045
54885
  partRevision?: string | null;
54886
+ partName?: string | null;
55046
54887
  drawing?: string | null;
55047
54888
  drawingRevision?: string | null;
55048
54889
 
@@ -55071,6 +54912,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
55071
54912
  this.latestSchemaDefinitionId = _data["latestSchemaDefinitionId"];
55072
54913
  this.partNumber = _data["partNumber"];
55073
54914
  this.partRevision = _data["partRevision"];
54915
+ this.partName = _data["partName"];
55074
54916
  this.drawing = _data["drawing"];
55075
54917
  this.drawingRevision = _data["drawingRevision"];
55076
54918
  }
@@ -55099,6 +54941,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
55099
54941
  data["latestSchemaDefinitionId"] = this.latestSchemaDefinitionId;
55100
54942
  data["partNumber"] = this.partNumber;
55101
54943
  data["partRevision"] = this.partRevision;
54944
+ data["partName"] = this.partName;
55102
54945
  data["drawing"] = this.drawing;
55103
54946
  data["drawingRevision"] = this.drawingRevision;
55104
54947
  return data;
@@ -55120,6 +54963,7 @@ export interface ISchemaFeedbackDto {
55120
54963
  latestSchemaDefinitionId?: string | null;
55121
54964
  partNumber?: string | null;
55122
54965
  partRevision?: string | null;
54966
+ partName?: string | null;
55123
54967
  drawing?: string | null;
55124
54968
  drawingRevision?: string | null;
55125
54969
  }
@@ -55324,6 +55168,7 @@ export interface IPagedResultOfMeasurementFormInstanceOverviewDto {
55324
55168
  export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInstanceOverviewDto {
55325
55169
  id!: string;
55326
55170
  readonly!: boolean;
55171
+ partName?: string | null;
55327
55172
  partNumber?: string | null;
55328
55173
  partRevision?: string | null;
55329
55174
  drawing?: string | null;
@@ -55354,6 +55199,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55354
55199
  if (_data) {
55355
55200
  this.id = _data["id"];
55356
55201
  this.readonly = _data["readonly"];
55202
+ this.partName = _data["partName"];
55357
55203
  this.partNumber = _data["partNumber"];
55358
55204
  this.partRevision = _data["partRevision"];
55359
55205
  this.drawing = _data["drawing"];
@@ -55384,6 +55230,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55384
55230
  data = typeof data === 'object' ? data : {};
55385
55231
  data["id"] = this.id;
55386
55232
  data["readonly"] = this.readonly;
55233
+ data["partName"] = this.partName;
55387
55234
  data["partNumber"] = this.partNumber;
55388
55235
  data["partRevision"] = this.partRevision;
55389
55236
  data["drawing"] = this.drawing;
@@ -55407,6 +55254,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55407
55254
  export interface IMeasurementFormInstanceOverviewDto {
55408
55255
  id: string;
55409
55256
  readonly: boolean;
55257
+ partName?: string | null;
55410
55258
  partNumber?: string | null;
55411
55259
  partRevision?: string | null;
55412
55260
  drawing?: string | null;
@@ -55674,6 +55522,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55674
55522
  id!: string;
55675
55523
  readonly!: boolean;
55676
55524
  partNumber?: string | null;
55525
+ partName?: string | null;
55677
55526
  partRevision?: string | null;
55678
55527
  drawing?: string | null;
55679
55528
  drawingRevision?: string | null;
@@ -55709,6 +55558,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55709
55558
  this.id = _data["id"];
55710
55559
  this.readonly = _data["readonly"];
55711
55560
  this.partNumber = _data["partNumber"];
55561
+ this.partName = _data["partName"];
55712
55562
  this.partRevision = _data["partRevision"];
55713
55563
  this.drawing = _data["drawing"];
55714
55564
  this.drawingRevision = _data["drawingRevision"];
@@ -55750,6 +55600,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55750
55600
  data["id"] = this.id;
55751
55601
  data["readonly"] = this.readonly;
55752
55602
  data["partNumber"] = this.partNumber;
55603
+ data["partName"] = this.partName;
55753
55604
  data["partRevision"] = this.partRevision;
55754
55605
  data["drawing"] = this.drawing;
55755
55606
  data["drawingRevision"] = this.drawingRevision;
@@ -55784,6 +55635,7 @@ export interface IMeasurementFormInstanceDto {
55784
55635
  id: string;
55785
55636
  readonly: boolean;
55786
55637
  partNumber?: string | null;
55638
+ partName?: string | null;
55787
55639
  partRevision?: string | null;
55788
55640
  drawing?: string | null;
55789
55641
  drawingRevision?: string | null;
@@ -60036,247 +59888,6 @@ export interface ICreateWorkOrderMapping {
60036
59888
  newWorkOrderId: string;
60037
59889
  }
60038
59890
 
60039
- export class TableEntityBase implements ITableEntityBase {
60040
- partitionKey?: string;
60041
- rowKey?: string;
60042
- timestamp?: Date | null;
60043
- eTag?: ETag;
60044
- created?: Date | null;
60045
- createdBy?: string | null;
60046
- createdById?: string | null;
60047
- updatedBy?: string | null;
60048
- updatedById?: string | null;
60049
- insertAuditInfo?: AuditInfo;
60050
-
60051
- constructor(data?: ITableEntityBase) {
60052
- if (data) {
60053
- for (var property in data) {
60054
- if (data.hasOwnProperty(property))
60055
- (<any>this)[property] = (<any>data)[property];
60056
- }
60057
- }
60058
- }
60059
-
60060
- init(_data?: any) {
60061
- if (_data) {
60062
- this.partitionKey = _data["partitionKey"];
60063
- this.rowKey = _data["rowKey"];
60064
- this.timestamp = _data["timestamp"] ? new Date(_data["timestamp"].toString()) : <any>undefined;
60065
- this.eTag = _data["eTag"] ? ETag.fromJS(_data["eTag"]) : <any>undefined;
60066
- this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
60067
- this.createdBy = _data["createdBy"];
60068
- this.createdById = _data["createdById"];
60069
- this.updatedBy = _data["updatedBy"];
60070
- this.updatedById = _data["updatedById"];
60071
- this.insertAuditInfo = _data["insertAuditInfo"] ? AuditInfo.fromJS(_data["insertAuditInfo"]) : <any>undefined;
60072
- }
60073
- }
60074
-
60075
- static fromJS(data: any): TableEntityBase {
60076
- data = typeof data === 'object' ? data : {};
60077
- let result = new TableEntityBase();
60078
- result.init(data);
60079
- return result;
60080
- }
60081
-
60082
- toJSON(data?: any) {
60083
- data = typeof data === 'object' ? data : {};
60084
- data["partitionKey"] = this.partitionKey;
60085
- data["rowKey"] = this.rowKey;
60086
- data["timestamp"] = this.timestamp ? this.timestamp.toISOString() : <any>undefined;
60087
- data["eTag"] = this.eTag ? this.eTag.toJSON() : <any>undefined;
60088
- data["created"] = this.created ? this.created.toISOString() : <any>undefined;
60089
- data["createdBy"] = this.createdBy;
60090
- data["createdById"] = this.createdById;
60091
- data["updatedBy"] = this.updatedBy;
60092
- data["updatedById"] = this.updatedById;
60093
- data["insertAuditInfo"] = this.insertAuditInfo ? this.insertAuditInfo.toJSON() : <any>undefined;
60094
- return data;
60095
- }
60096
- }
60097
-
60098
- export interface ITableEntityBase {
60099
- partitionKey?: string;
60100
- rowKey?: string;
60101
- timestamp?: Date | null;
60102
- eTag?: ETag;
60103
- created?: Date | null;
60104
- createdBy?: string | null;
60105
- createdById?: string | null;
60106
- updatedBy?: string | null;
60107
- updatedById?: string | null;
60108
- insertAuditInfo?: AuditInfo;
60109
- }
60110
-
60111
- export class WorkorderDiscussionMessage extends TableEntityBase implements IWorkorderDiscussionMessage {
60112
- content?: string;
60113
- senderUpn?: string;
60114
- senderName?: string;
60115
- operationId?: string | null;
60116
- resourceId?: string | null;
60117
-
60118
- constructor(data?: IWorkorderDiscussionMessage) {
60119
- super(data);
60120
- }
60121
-
60122
- override init(_data?: any) {
60123
- super.init(_data);
60124
- if (_data) {
60125
- this.content = _data["content"];
60126
- this.senderUpn = _data["senderUpn"];
60127
- this.senderName = _data["senderName"];
60128
- this.operationId = _data["operationId"];
60129
- this.resourceId = _data["resourceId"];
60130
- }
60131
- }
60132
-
60133
- static override fromJS(data: any): WorkorderDiscussionMessage {
60134
- data = typeof data === 'object' ? data : {};
60135
- let result = new WorkorderDiscussionMessage();
60136
- result.init(data);
60137
- return result;
60138
- }
60139
-
60140
- override toJSON(data?: any) {
60141
- data = typeof data === 'object' ? data : {};
60142
- data["content"] = this.content;
60143
- data["senderUpn"] = this.senderUpn;
60144
- data["senderName"] = this.senderName;
60145
- data["operationId"] = this.operationId;
60146
- data["resourceId"] = this.resourceId;
60147
- super.toJSON(data);
60148
- return data;
60149
- }
60150
- }
60151
-
60152
- export interface IWorkorderDiscussionMessage extends ITableEntityBase {
60153
- content?: string;
60154
- senderUpn?: string;
60155
- senderName?: string;
60156
- operationId?: string | null;
60157
- resourceId?: string | null;
60158
- }
60159
-
60160
- /** Represents an HTTP ETag. */
60161
- export class ETag implements IETag {
60162
-
60163
- constructor(data?: IETag) {
60164
- if (data) {
60165
- for (var property in data) {
60166
- if (data.hasOwnProperty(property))
60167
- (<any>this)[property] = (<any>data)[property];
60168
- }
60169
- }
60170
- }
60171
-
60172
- init(_data?: any) {
60173
- }
60174
-
60175
- static fromJS(data: any): ETag {
60176
- data = typeof data === 'object' ? data : {};
60177
- let result = new ETag();
60178
- result.init(data);
60179
- return result;
60180
- }
60181
-
60182
- toJSON(data?: any) {
60183
- data = typeof data === 'object' ? data : {};
60184
- return data;
60185
- }
60186
- }
60187
-
60188
- /** Represents an HTTP ETag. */
60189
- export interface IETag {
60190
- }
60191
-
60192
- export class AuditInfo implements IAuditInfo {
60193
- objectId?: string;
60194
- userId?: string;
60195
- userFullName?: string | null;
60196
-
60197
- constructor(data?: IAuditInfo) {
60198
- if (data) {
60199
- for (var property in data) {
60200
- if (data.hasOwnProperty(property))
60201
- (<any>this)[property] = (<any>data)[property];
60202
- }
60203
- }
60204
- }
60205
-
60206
- init(_data?: any) {
60207
- if (_data) {
60208
- this.objectId = _data["objectId"];
60209
- this.userId = _data["userId"];
60210
- this.userFullName = _data["userFullName"];
60211
- }
60212
- }
60213
-
60214
- static fromJS(data: any): AuditInfo {
60215
- data = typeof data === 'object' ? data : {};
60216
- let result = new AuditInfo();
60217
- result.init(data);
60218
- return result;
60219
- }
60220
-
60221
- toJSON(data?: any) {
60222
- data = typeof data === 'object' ? data : {};
60223
- data["objectId"] = this.objectId;
60224
- data["userId"] = this.userId;
60225
- data["userFullName"] = this.userFullName;
60226
- return data;
60227
- }
60228
- }
60229
-
60230
- export interface IAuditInfo {
60231
- objectId?: string;
60232
- userId?: string;
60233
- userFullName?: string | null;
60234
- }
60235
-
60236
- export class AddDiscussionMessageRequest implements IAddDiscussionMessageRequest {
60237
- message?: string;
60238
- operationId?: string | null;
60239
- resourceId?: string | null;
60240
-
60241
- constructor(data?: IAddDiscussionMessageRequest) {
60242
- if (data) {
60243
- for (var property in data) {
60244
- if (data.hasOwnProperty(property))
60245
- (<any>this)[property] = (<any>data)[property];
60246
- }
60247
- }
60248
- }
60249
-
60250
- init(_data?: any) {
60251
- if (_data) {
60252
- this.message = _data["message"];
60253
- this.operationId = _data["operationId"];
60254
- this.resourceId = _data["resourceId"];
60255
- }
60256
- }
60257
-
60258
- static fromJS(data: any): AddDiscussionMessageRequest {
60259
- data = typeof data === 'object' ? data : {};
60260
- let result = new AddDiscussionMessageRequest();
60261
- result.init(data);
60262
- return result;
60263
- }
60264
-
60265
- toJSON(data?: any) {
60266
- data = typeof data === 'object' ? data : {};
60267
- data["message"] = this.message;
60268
- data["operationId"] = this.operationId;
60269
- data["resourceId"] = this.resourceId;
60270
- return data;
60271
- }
60272
- }
60273
-
60274
- export interface IAddDiscussionMessageRequest {
60275
- message?: string;
60276
- operationId?: string | null;
60277
- resourceId?: string | null;
60278
- }
60279
-
60280
59891
  function formatDate(d: Date) {
60281
59892
  return d.getFullYear() + '-' +
60282
59893
  (d.getMonth() < 9 ? ('0' + (d.getMonth()+1)) : (d.getMonth()+1)) + '-' +