@ignos/api-client 20250725.0.12210-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,10 +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
23192
  }
23191
23193
 
23192
23194
  export class WorkordersClient extends AuthorizedApiBase implements IWorkordersClient {
@@ -24266,92 +24268,6 @@ export class WorkordersClient extends AuthorizedApiBase implements IWorkordersCl
24266
24268
  }
24267
24269
  return Promise.resolve<void>(null as any);
24268
24270
  }
24269
-
24270
- getDiscussionMessages(id: string): Promise<WorkorderDiscussionMessage[]> {
24271
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
24272
- if (id === undefined || id === null)
24273
- throw new Error("The parameter 'id' must be defined.");
24274
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24275
- url_ = url_.replace(/[?&]$/, "");
24276
-
24277
- let options_: RequestInit = {
24278
- method: "GET",
24279
- headers: {
24280
- "Accept": "application/json"
24281
- }
24282
- };
24283
-
24284
- return this.transformOptions(options_).then(transformedOptions_ => {
24285
- return this.http.fetch(url_, transformedOptions_);
24286
- }).then((_response: Response) => {
24287
- return this.processGetDiscussionMessages(_response);
24288
- });
24289
- }
24290
-
24291
- protected processGetDiscussionMessages(response: Response): Promise<WorkorderDiscussionMessage[]> {
24292
- const status = response.status;
24293
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24294
- if (status === 200) {
24295
- return response.text().then((_responseText) => {
24296
- let result200: any = null;
24297
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
24298
- if (Array.isArray(resultData200)) {
24299
- result200 = [] as any;
24300
- for (let item of resultData200)
24301
- result200!.push(WorkorderDiscussionMessage.fromJS(item));
24302
- }
24303
- return result200;
24304
- });
24305
- } else if (status !== 200 && status !== 204) {
24306
- return response.text().then((_responseText) => {
24307
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24308
- });
24309
- }
24310
- return Promise.resolve<WorkorderDiscussionMessage[]>(null as any);
24311
- }
24312
-
24313
- addDiscussionMessage(id: string, request: AddDiscussionMessageRequest): Promise<WorkorderDiscussionMessage> {
24314
- let url_ = this.baseUrl + "/erp/workorders/{id}/discussion";
24315
- if (id === undefined || id === null)
24316
- throw new Error("The parameter 'id' must be defined.");
24317
- url_ = url_.replace("{id}", encodeURIComponent("" + id));
24318
- url_ = url_.replace(/[?&]$/, "");
24319
-
24320
- const content_ = JSON.stringify(request);
24321
-
24322
- let options_: RequestInit = {
24323
- body: content_,
24324
- method: "POST",
24325
- headers: {
24326
- "Content-Type": "application/json",
24327
- "Accept": "application/json"
24328
- }
24329
- };
24330
-
24331
- return this.transformOptions(options_).then(transformedOptions_ => {
24332
- return this.http.fetch(url_, transformedOptions_);
24333
- }).then((_response: Response) => {
24334
- return this.processAddDiscussionMessage(_response);
24335
- });
24336
- }
24337
-
24338
- protected processAddDiscussionMessage(response: Response): Promise<WorkorderDiscussionMessage> {
24339
- const status = response.status;
24340
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
24341
- if (status === 201) {
24342
- return response.text().then((_responseText) => {
24343
- let result201: any = null;
24344
- let resultData201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
24345
- result201 = WorkorderDiscussionMessage.fromJS(resultData201);
24346
- return result201;
24347
- });
24348
- } else if (status !== 200 && status !== 204) {
24349
- return response.text().then((_responseText) => {
24350
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
24351
- });
24352
- }
24353
- return Promise.resolve<WorkorderDiscussionMessage>(null as any);
24354
- }
24355
24271
  }
24356
24272
 
24357
24273
  export class AzureRegionDto implements IAzureRegionDto {
@@ -51858,6 +51774,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
51858
51774
  pageSize?: number | null;
51859
51775
  customerId?: string | null;
51860
51776
  customerName?: string | null;
51777
+ partName?: string | null;
51861
51778
  partNumber?: string | null;
51862
51779
  partRevision?: string | null;
51863
51780
  drawing?: string | null;
@@ -51879,6 +51796,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
51879
51796
  this.pageSize = _data["pageSize"];
51880
51797
  this.customerId = _data["customerId"];
51881
51798
  this.customerName = _data["customerName"];
51799
+ this.partName = _data["partName"];
51882
51800
  this.partNumber = _data["partNumber"];
51883
51801
  this.partRevision = _data["partRevision"];
51884
51802
  this.drawing = _data["drawing"];
@@ -51900,6 +51818,7 @@ export class ListMeasurementFormSchemasRequest implements IListMeasurementFormSc
51900
51818
  data["pageSize"] = this.pageSize;
51901
51819
  data["customerId"] = this.customerId;
51902
51820
  data["customerName"] = this.customerName;
51821
+ data["partName"] = this.partName;
51903
51822
  data["partNumber"] = this.partNumber;
51904
51823
  data["partRevision"] = this.partRevision;
51905
51824
  data["drawing"] = this.drawing;
@@ -51914,6 +51833,7 @@ export interface IListMeasurementFormSchemasRequest {
51914
51833
  pageSize?: number | null;
51915
51834
  customerId?: string | null;
51916
51835
  customerName?: string | null;
51836
+ partName?: string | null;
51917
51837
  partNumber?: string | null;
51918
51838
  partRevision?: string | null;
51919
51839
  drawing?: string | null;
@@ -53849,6 +53769,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
53849
53769
  customerId?: string | null;
53850
53770
  customerName?: string | null;
53851
53771
  partNumber!: string;
53772
+ partName?: string | null;
53852
53773
  partRevision?: string | null;
53853
53774
  drawing?: string | null;
53854
53775
  drawingRevision?: string | null;
@@ -53878,6 +53799,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
53878
53799
  this.customerId = _data["customerId"];
53879
53800
  this.customerName = _data["customerName"];
53880
53801
  this.partNumber = _data["partNumber"];
53802
+ this.partName = _data["partName"];
53881
53803
  this.partRevision = _data["partRevision"];
53882
53804
  this.drawing = _data["drawing"];
53883
53805
  this.drawingRevision = _data["drawingRevision"];
@@ -53912,6 +53834,7 @@ export class ImportMeasurementFormSchema implements IImportMeasurementFormSchema
53912
53834
  data["customerId"] = this.customerId;
53913
53835
  data["customerName"] = this.customerName;
53914
53836
  data["partNumber"] = this.partNumber;
53837
+ data["partName"] = this.partName;
53915
53838
  data["partRevision"] = this.partRevision;
53916
53839
  data["drawing"] = this.drawing;
53917
53840
  data["drawingRevision"] = this.drawingRevision;
@@ -53939,6 +53862,7 @@ export interface IImportMeasurementFormSchema {
53939
53862
  customerId?: string | null;
53940
53863
  customerName?: string | null;
53941
53864
  partNumber: string;
53865
+ partName?: string | null;
53942
53866
  partRevision?: string | null;
53943
53867
  drawing?: string | null;
53944
53868
  drawingRevision?: string | null;
@@ -53955,6 +53879,7 @@ export interface IImportMeasurementFormSchema {
53955
53879
  export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImportLinkedSchemaDto {
53956
53880
  customerId?: string | null;
53957
53881
  partNumber?: string | null;
53882
+ partName?: string | null;
53958
53883
  partRevision?: string | null;
53959
53884
  drawing!: string;
53960
53885
  drawingRevision?: string | null;
@@ -53973,6 +53898,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
53973
53898
  if (_data) {
53974
53899
  this.customerId = _data["customerId"];
53975
53900
  this.partNumber = _data["partNumber"];
53901
+ this.partName = _data["partName"];
53976
53902
  this.partRevision = _data["partRevision"];
53977
53903
  this.drawing = _data["drawing"];
53978
53904
  this.drawingRevision = _data["drawingRevision"];
@@ -53991,6 +53917,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
53991
53917
  data = typeof data === 'object' ? data : {};
53992
53918
  data["customerId"] = this.customerId;
53993
53919
  data["partNumber"] = this.partNumber;
53920
+ data["partName"] = this.partName;
53994
53921
  data["partRevision"] = this.partRevision;
53995
53922
  data["drawing"] = this.drawing;
53996
53923
  data["drawingRevision"] = this.drawingRevision;
@@ -54002,6 +53929,7 @@ export class MeasurementFormImportLinkedSchemaDto implements IMeasurementFormImp
54002
53929
  export interface IMeasurementFormImportLinkedSchemaDto {
54003
53930
  customerId?: string | null;
54004
53931
  partNumber?: string | null;
53932
+ partName?: string | null;
54005
53933
  partRevision?: string | null;
54006
53934
  drawing: string;
54007
53935
  drawingRevision?: string | null;
@@ -54345,6 +54273,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54345
54273
  customerName?: string | null;
54346
54274
  partNumber?: string | null;
54347
54275
  partRevision?: string | null;
54276
+ partName?: string | null;
54348
54277
  drawing?: string | null;
54349
54278
  drawingRevision?: string | null;
54350
54279
  workorder?: string | null;
@@ -54374,6 +54303,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54374
54303
  this.customerName = _data["customerName"];
54375
54304
  this.partNumber = _data["partNumber"];
54376
54305
  this.partRevision = _data["partRevision"];
54306
+ this.partName = _data["partName"];
54377
54307
  this.drawing = _data["drawing"];
54378
54308
  this.drawingRevision = _data["drawingRevision"];
54379
54309
  this.workorder = _data["workorder"];
@@ -54403,6 +54333,7 @@ export class MeasurementFormNeedDto implements IMeasurementFormNeedDto {
54403
54333
  data["customerName"] = this.customerName;
54404
54334
  data["partNumber"] = this.partNumber;
54405
54335
  data["partRevision"] = this.partRevision;
54336
+ data["partName"] = this.partName;
54406
54337
  data["drawing"] = this.drawing;
54407
54338
  data["drawingRevision"] = this.drawingRevision;
54408
54339
  data["workorder"] = this.workorder;
@@ -54425,6 +54356,7 @@ export interface IMeasurementFormNeedDto {
54425
54356
  customerName?: string | null;
54426
54357
  partNumber?: string | null;
54427
54358
  partRevision?: string | null;
54359
+ partName?: string | null;
54428
54360
  drawing?: string | null;
54429
54361
  drawingRevision?: string | null;
54430
54362
  workorder?: string | null;
@@ -54442,6 +54374,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54442
54374
  pageSize?: number | null;
54443
54375
  customerId?: string | null;
54444
54376
  customerName?: string | null;
54377
+ partName?: string | null;
54445
54378
  partNumber?: string | null;
54446
54379
  partRevision?: string | null;
54447
54380
  drawing?: string | null;
@@ -54464,6 +54397,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54464
54397
  this.pageSize = _data["pageSize"];
54465
54398
  this.customerId = _data["customerId"];
54466
54399
  this.customerName = _data["customerName"];
54400
+ this.partName = _data["partName"];
54467
54401
  this.partNumber = _data["partNumber"];
54468
54402
  this.partRevision = _data["partRevision"];
54469
54403
  this.drawing = _data["drawing"];
@@ -54486,6 +54420,7 @@ export class ListMeasurementFormNeedsRequest implements IListMeasurementFormNeed
54486
54420
  data["pageSize"] = this.pageSize;
54487
54421
  data["customerId"] = this.customerId;
54488
54422
  data["customerName"] = this.customerName;
54423
+ data["partName"] = this.partName;
54489
54424
  data["partNumber"] = this.partNumber;
54490
54425
  data["partRevision"] = this.partRevision;
54491
54426
  data["drawing"] = this.drawing;
@@ -54501,6 +54436,7 @@ export interface IListMeasurementFormNeedsRequest {
54501
54436
  pageSize?: number | null;
54502
54437
  customerId?: string | null;
54503
54438
  customerName?: string | null;
54439
+ partName?: string | null;
54504
54440
  partNumber?: string | null;
54505
54441
  partRevision?: string | null;
54506
54442
  drawing?: string | null;
@@ -54702,6 +54638,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54702
54638
  customerId?: string | null;
54703
54639
  customerName?: string | null;
54704
54640
  partNumber?: string | null;
54641
+ partName?: string | null;
54705
54642
  partRevision?: string | null;
54706
54643
  drawing?: string | null;
54707
54644
  drawingRevision?: string | null;
@@ -54723,6 +54660,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54723
54660
  this.customerId = _data["customerId"];
54724
54661
  this.customerName = _data["customerName"];
54725
54662
  this.partNumber = _data["partNumber"];
54663
+ this.partName = _data["partName"];
54726
54664
  this.partRevision = _data["partRevision"];
54727
54665
  this.drawing = _data["drawing"];
54728
54666
  this.drawingRevision = _data["drawingRevision"];
@@ -54744,6 +54682,7 @@ export class ListMeasurementFormSchemasNotNeededRequest implements IListMeasurem
54744
54682
  data["customerId"] = this.customerId;
54745
54683
  data["customerName"] = this.customerName;
54746
54684
  data["partNumber"] = this.partNumber;
54685
+ data["partName"] = this.partName;
54747
54686
  data["partRevision"] = this.partRevision;
54748
54687
  data["drawing"] = this.drawing;
54749
54688
  data["drawingRevision"] = this.drawingRevision;
@@ -54758,6 +54697,7 @@ export interface IListMeasurementFormSchemasNotNeededRequest {
54758
54697
  customerId?: string | null;
54759
54698
  customerName?: string | null;
54760
54699
  partNumber?: string | null;
54700
+ partName?: string | null;
54761
54701
  partRevision?: string | null;
54762
54702
  drawing?: string | null;
54763
54703
  drawingRevision?: string | null;
@@ -54943,6 +54883,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
54943
54883
  latestSchemaDefinitionId?: string | null;
54944
54884
  partNumber?: string | null;
54945
54885
  partRevision?: string | null;
54886
+ partName?: string | null;
54946
54887
  drawing?: string | null;
54947
54888
  drawingRevision?: string | null;
54948
54889
 
@@ -54971,6 +54912,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
54971
54912
  this.latestSchemaDefinitionId = _data["latestSchemaDefinitionId"];
54972
54913
  this.partNumber = _data["partNumber"];
54973
54914
  this.partRevision = _data["partRevision"];
54915
+ this.partName = _data["partName"];
54974
54916
  this.drawing = _data["drawing"];
54975
54917
  this.drawingRevision = _data["drawingRevision"];
54976
54918
  }
@@ -54999,6 +54941,7 @@ export class SchemaFeedbackDto implements ISchemaFeedbackDto {
54999
54941
  data["latestSchemaDefinitionId"] = this.latestSchemaDefinitionId;
55000
54942
  data["partNumber"] = this.partNumber;
55001
54943
  data["partRevision"] = this.partRevision;
54944
+ data["partName"] = this.partName;
55002
54945
  data["drawing"] = this.drawing;
55003
54946
  data["drawingRevision"] = this.drawingRevision;
55004
54947
  return data;
@@ -55020,6 +54963,7 @@ export interface ISchemaFeedbackDto {
55020
54963
  latestSchemaDefinitionId?: string | null;
55021
54964
  partNumber?: string | null;
55022
54965
  partRevision?: string | null;
54966
+ partName?: string | null;
55023
54967
  drawing?: string | null;
55024
54968
  drawingRevision?: string | null;
55025
54969
  }
@@ -55224,6 +55168,7 @@ export interface IPagedResultOfMeasurementFormInstanceOverviewDto {
55224
55168
  export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInstanceOverviewDto {
55225
55169
  id!: string;
55226
55170
  readonly!: boolean;
55171
+ partName?: string | null;
55227
55172
  partNumber?: string | null;
55228
55173
  partRevision?: string | null;
55229
55174
  drawing?: string | null;
@@ -55254,6 +55199,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55254
55199
  if (_data) {
55255
55200
  this.id = _data["id"];
55256
55201
  this.readonly = _data["readonly"];
55202
+ this.partName = _data["partName"];
55257
55203
  this.partNumber = _data["partNumber"];
55258
55204
  this.partRevision = _data["partRevision"];
55259
55205
  this.drawing = _data["drawing"];
@@ -55284,6 +55230,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55284
55230
  data = typeof data === 'object' ? data : {};
55285
55231
  data["id"] = this.id;
55286
55232
  data["readonly"] = this.readonly;
55233
+ data["partName"] = this.partName;
55287
55234
  data["partNumber"] = this.partNumber;
55288
55235
  data["partRevision"] = this.partRevision;
55289
55236
  data["drawing"] = this.drawing;
@@ -55307,6 +55254,7 @@ export class MeasurementFormInstanceOverviewDto implements IMeasurementFormInsta
55307
55254
  export interface IMeasurementFormInstanceOverviewDto {
55308
55255
  id: string;
55309
55256
  readonly: boolean;
55257
+ partName?: string | null;
55310
55258
  partNumber?: string | null;
55311
55259
  partRevision?: string | null;
55312
55260
  drawing?: string | null;
@@ -55574,6 +55522,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55574
55522
  id!: string;
55575
55523
  readonly!: boolean;
55576
55524
  partNumber?: string | null;
55525
+ partName?: string | null;
55577
55526
  partRevision?: string | null;
55578
55527
  drawing?: string | null;
55579
55528
  drawingRevision?: string | null;
@@ -55609,6 +55558,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55609
55558
  this.id = _data["id"];
55610
55559
  this.readonly = _data["readonly"];
55611
55560
  this.partNumber = _data["partNumber"];
55561
+ this.partName = _data["partName"];
55612
55562
  this.partRevision = _data["partRevision"];
55613
55563
  this.drawing = _data["drawing"];
55614
55564
  this.drawingRevision = _data["drawingRevision"];
@@ -55650,6 +55600,7 @@ export class MeasurementFormInstanceDto implements IMeasurementFormInstanceDto {
55650
55600
  data["id"] = this.id;
55651
55601
  data["readonly"] = this.readonly;
55652
55602
  data["partNumber"] = this.partNumber;
55603
+ data["partName"] = this.partName;
55653
55604
  data["partRevision"] = this.partRevision;
55654
55605
  data["drawing"] = this.drawing;
55655
55606
  data["drawingRevision"] = this.drawingRevision;
@@ -55684,6 +55635,7 @@ export interface IMeasurementFormInstanceDto {
55684
55635
  id: string;
55685
55636
  readonly: boolean;
55686
55637
  partNumber?: string | null;
55638
+ partName?: string | null;
55687
55639
  partRevision?: string | null;
55688
55640
  drawing?: string | null;
55689
55641
  drawingRevision?: string | null;
@@ -59936,231 +59888,6 @@ export interface ICreateWorkOrderMapping {
59936
59888
  newWorkOrderId: string;
59937
59889
  }
59938
59890
 
59939
- export class TableEntityBase implements ITableEntityBase {
59940
- partitionKey?: string;
59941
- rowKey?: string;
59942
- timestamp?: Date | null;
59943
- eTag?: ETag;
59944
- created?: Date | null;
59945
- createdBy?: string | null;
59946
- createdById?: string | null;
59947
- updatedBy?: string | null;
59948
- updatedById?: string | null;
59949
- insertAuditInfo?: AuditInfo;
59950
-
59951
- constructor(data?: ITableEntityBase) {
59952
- if (data) {
59953
- for (var property in data) {
59954
- if (data.hasOwnProperty(property))
59955
- (<any>this)[property] = (<any>data)[property];
59956
- }
59957
- }
59958
- }
59959
-
59960
- init(_data?: any) {
59961
- if (_data) {
59962
- this.partitionKey = _data["partitionKey"];
59963
- this.rowKey = _data["rowKey"];
59964
- this.timestamp = _data["timestamp"] ? new Date(_data["timestamp"].toString()) : <any>undefined;
59965
- this.eTag = _data["eTag"] ? ETag.fromJS(_data["eTag"]) : <any>undefined;
59966
- this.created = _data["created"] ? new Date(_data["created"].toString()) : <any>undefined;
59967
- this.createdBy = _data["createdBy"];
59968
- this.createdById = _data["createdById"];
59969
- this.updatedBy = _data["updatedBy"];
59970
- this.updatedById = _data["updatedById"];
59971
- this.insertAuditInfo = _data["insertAuditInfo"] ? AuditInfo.fromJS(_data["insertAuditInfo"]) : <any>undefined;
59972
- }
59973
- }
59974
-
59975
- static fromJS(data: any): TableEntityBase {
59976
- data = typeof data === 'object' ? data : {};
59977
- let result = new TableEntityBase();
59978
- result.init(data);
59979
- return result;
59980
- }
59981
-
59982
- toJSON(data?: any) {
59983
- data = typeof data === 'object' ? data : {};
59984
- data["partitionKey"] = this.partitionKey;
59985
- data["rowKey"] = this.rowKey;
59986
- data["timestamp"] = this.timestamp ? this.timestamp.toISOString() : <any>undefined;
59987
- data["eTag"] = this.eTag ? this.eTag.toJSON() : <any>undefined;
59988
- data["created"] = this.created ? this.created.toISOString() : <any>undefined;
59989
- data["createdBy"] = this.createdBy;
59990
- data["createdById"] = this.createdById;
59991
- data["updatedBy"] = this.updatedBy;
59992
- data["updatedById"] = this.updatedById;
59993
- data["insertAuditInfo"] = this.insertAuditInfo ? this.insertAuditInfo.toJSON() : <any>undefined;
59994
- return data;
59995
- }
59996
- }
59997
-
59998
- export interface ITableEntityBase {
59999
- partitionKey?: string;
60000
- rowKey?: string;
60001
- timestamp?: Date | null;
60002
- eTag?: ETag;
60003
- created?: Date | null;
60004
- createdBy?: string | null;
60005
- createdById?: string | null;
60006
- updatedBy?: string | null;
60007
- updatedById?: string | null;
60008
- insertAuditInfo?: AuditInfo;
60009
- }
60010
-
60011
- export class WorkorderDiscussionMessage extends TableEntityBase implements IWorkorderDiscussionMessage {
60012
- content?: string;
60013
- senderUpn?: string;
60014
- senderName?: string;
60015
-
60016
- constructor(data?: IWorkorderDiscussionMessage) {
60017
- super(data);
60018
- }
60019
-
60020
- override init(_data?: any) {
60021
- super.init(_data);
60022
- if (_data) {
60023
- this.content = _data["content"];
60024
- this.senderUpn = _data["senderUpn"];
60025
- this.senderName = _data["senderName"];
60026
- }
60027
- }
60028
-
60029
- static override fromJS(data: any): WorkorderDiscussionMessage {
60030
- data = typeof data === 'object' ? data : {};
60031
- let result = new WorkorderDiscussionMessage();
60032
- result.init(data);
60033
- return result;
60034
- }
60035
-
60036
- override toJSON(data?: any) {
60037
- data = typeof data === 'object' ? data : {};
60038
- data["content"] = this.content;
60039
- data["senderUpn"] = this.senderUpn;
60040
- data["senderName"] = this.senderName;
60041
- super.toJSON(data);
60042
- return data;
60043
- }
60044
- }
60045
-
60046
- export interface IWorkorderDiscussionMessage extends ITableEntityBase {
60047
- content?: string;
60048
- senderUpn?: string;
60049
- senderName?: string;
60050
- }
60051
-
60052
- /** Represents an HTTP ETag. */
60053
- export class ETag implements IETag {
60054
-
60055
- constructor(data?: IETag) {
60056
- if (data) {
60057
- for (var property in data) {
60058
- if (data.hasOwnProperty(property))
60059
- (<any>this)[property] = (<any>data)[property];
60060
- }
60061
- }
60062
- }
60063
-
60064
- init(_data?: any) {
60065
- }
60066
-
60067
- static fromJS(data: any): ETag {
60068
- data = typeof data === 'object' ? data : {};
60069
- let result = new ETag();
60070
- result.init(data);
60071
- return result;
60072
- }
60073
-
60074
- toJSON(data?: any) {
60075
- data = typeof data === 'object' ? data : {};
60076
- return data;
60077
- }
60078
- }
60079
-
60080
- /** Represents an HTTP ETag. */
60081
- export interface IETag {
60082
- }
60083
-
60084
- export class AuditInfo implements IAuditInfo {
60085
- objectId?: string;
60086
- userId?: string;
60087
- userFullName?: string | null;
60088
-
60089
- constructor(data?: IAuditInfo) {
60090
- if (data) {
60091
- for (var property in data) {
60092
- if (data.hasOwnProperty(property))
60093
- (<any>this)[property] = (<any>data)[property];
60094
- }
60095
- }
60096
- }
60097
-
60098
- init(_data?: any) {
60099
- if (_data) {
60100
- this.objectId = _data["objectId"];
60101
- this.userId = _data["userId"];
60102
- this.userFullName = _data["userFullName"];
60103
- }
60104
- }
60105
-
60106
- static fromJS(data: any): AuditInfo {
60107
- data = typeof data === 'object' ? data : {};
60108
- let result = new AuditInfo();
60109
- result.init(data);
60110
- return result;
60111
- }
60112
-
60113
- toJSON(data?: any) {
60114
- data = typeof data === 'object' ? data : {};
60115
- data["objectId"] = this.objectId;
60116
- data["userId"] = this.userId;
60117
- data["userFullName"] = this.userFullName;
60118
- return data;
60119
- }
60120
- }
60121
-
60122
- export interface IAuditInfo {
60123
- objectId?: string;
60124
- userId?: string;
60125
- userFullName?: string | null;
60126
- }
60127
-
60128
- export class AddDiscussionMessageRequest implements IAddDiscussionMessageRequest {
60129
- message?: string;
60130
-
60131
- constructor(data?: IAddDiscussionMessageRequest) {
60132
- if (data) {
60133
- for (var property in data) {
60134
- if (data.hasOwnProperty(property))
60135
- (<any>this)[property] = (<any>data)[property];
60136
- }
60137
- }
60138
- }
60139
-
60140
- init(_data?: any) {
60141
- if (_data) {
60142
- this.message = _data["message"];
60143
- }
60144
- }
60145
-
60146
- static fromJS(data: any): AddDiscussionMessageRequest {
60147
- data = typeof data === 'object' ? data : {};
60148
- let result = new AddDiscussionMessageRequest();
60149
- result.init(data);
60150
- return result;
60151
- }
60152
-
60153
- toJSON(data?: any) {
60154
- data = typeof data === 'object' ? data : {};
60155
- data["message"] = this.message;
60156
- return data;
60157
- }
60158
- }
60159
-
60160
- export interface IAddDiscussionMessageRequest {
60161
- message?: string;
60162
- }
60163
-
60164
59891
  function formatDate(d: Date) {
60165
59892
  return d.getFullYear() + '-' +
60166
59893
  (d.getMonth() < 9 ? ('0' + (d.getMonth()+1)) : (d.getMonth()+1)) + '-' +