@ignos/api-client 20261016.309.1 → 20261019.311.1-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.
@@ -919,12 +919,47 @@ export declare class UtilizationClient extends AuthorizedApiBase implements IUti
919
919
  getCrossCompanyResourceUtilizationDatapoints(utilizationType: ResourceUtilizationTypeDto | undefined, startTime: Date | undefined, endTime: Date | null | undefined, ianaTimeZone: string | null | undefined): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
920
920
  protected processGetCrossCompanyResourceUtilizationDatapoints(response: Response): Promise<CrossCompanyResourceUtilizationDatapointListDto>;
921
921
  }
922
+ export interface IMrbAdminClient {
923
+ getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
924
+ createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
925
+ updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
926
+ deleteMrbSignerTitle(id: string): Promise<void>;
927
+ createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
928
+ updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
929
+ deleteMrbSigner(id: string): Promise<void>;
930
+ }
931
+ export declare class MrbAdminClient extends AuthorizedApiBase implements IMrbAdminClient {
932
+ private http;
933
+ private baseUrl;
934
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
935
+ fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
936
+ });
937
+ getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
938
+ protected processGetMrbSignatureSettings(response: Response): Promise<MrbSignatureSettingsDto>;
939
+ createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
940
+ protected processCreateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto>;
941
+ updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
942
+ protected processUpdateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto>;
943
+ deleteMrbSignerTitle(id: string): Promise<void>;
944
+ protected processDeleteMrbSignerTitle(response: Response): Promise<void>;
945
+ createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
946
+ protected processCreateMrbSigner(response: Response): Promise<MrbSignerDto>;
947
+ updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
948
+ protected processUpdateMrbSigner(response: Response): Promise<MrbSignerDto>;
949
+ deleteMrbSigner(id: string): Promise<void>;
950
+ protected processDeleteMrbSigner(response: Response): Promise<void>;
951
+ }
922
952
  export interface IMrbClient {
953
+ /**
954
+ * All CoC signers including deleted ones, for signer dropdowns.
955
+ */
956
+ listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
923
957
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
924
958
  createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
925
959
  listRecentMrbIntances(): Promise<MrbInstanceDto[]>;
926
960
  getMrbInstance(id: string): Promise<MrbInstanceDto>;
927
961
  updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
962
+ updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
928
963
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
929
964
  createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
930
965
  deleteMrbRevision(id: string, revisionId: number): Promise<void>;
@@ -984,6 +1019,11 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
984
1019
  constructor(configuration: IApiClientConfig, baseUrl?: string, http?: {
985
1020
  fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
986
1021
  });
1022
+ /**
1023
+ * All CoC signers including deleted ones, for signer dropdowns.
1024
+ */
1025
+ listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
1026
+ protected processListMrbCocSigners(response: Response): Promise<MrbCocSignerDto[]>;
987
1027
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
988
1028
  protected processListMrbInstances(response: Response): Promise<MrbInstanceDto[]>;
989
1029
  createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
@@ -994,6 +1034,8 @@ export declare class MrbClient extends AuthorizedApiBase implements IMrbClient {
994
1034
  protected processGetMrbInstance(response: Response): Promise<MrbInstanceDto>;
995
1035
  updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
996
1036
  protected processUpdateMrbInstanceNcInfo(response: Response): Promise<void>;
1037
+ updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
1038
+ protected processUpdateMrbInstanceCocSigner(response: Response): Promise<void>;
997
1039
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
998
1040
  protected processListMrbInstanceRevisions(response: Response): Promise<MrbInstanceRevisionDto[]>;
999
1041
  createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
@@ -5082,6 +5124,39 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
5082
5124
  companyId: string;
5083
5125
  companyName: string;
5084
5126
  }
5127
+ export interface MrbSignatureSettingsDto {
5128
+ titles: MrbSignerTitleDto[];
5129
+ signers: MrbSignerDto[];
5130
+ }
5131
+ export interface MrbSignerTitleDto {
5132
+ id: string;
5133
+ name: string;
5134
+ }
5135
+ export interface MrbSignerDto {
5136
+ id: string;
5137
+ name: string;
5138
+ titleId: string;
5139
+ titleName?: string | null;
5140
+ titleDeleted: boolean;
5141
+ signatureUrl?: string | null;
5142
+ }
5143
+ export interface MrbSignerTitleRequest {
5144
+ name: string;
5145
+ }
5146
+ export interface CreateMrbSignerRequest {
5147
+ name: string;
5148
+ titleId: string;
5149
+ uploadKey: string;
5150
+ /** File name used when uploading to the temp upload location. */
5151
+ uploadFilename: string;
5152
+ }
5153
+ export interface UpdateMrbSignerRequest {
5154
+ name: string;
5155
+ titleId: string;
5156
+ /** Set to replace the signature image. */
5157
+ uploadKey?: string | null;
5158
+ uploadFilename?: string | null;
5159
+ }
5085
5160
  export interface MrbInstanceDto {
5086
5161
  id: string;
5087
5162
  title?: string | null;
@@ -5102,6 +5177,10 @@ export interface MrbInstanceDto {
5102
5177
  showSerialNumbersOnFrontPage?: boolean;
5103
5178
  showSerialNumbersOnCoC?: boolean;
5104
5179
  ncInfo?: string | null;
5180
+ cocSignerSelection: MrbCocSignerSelection;
5181
+ cocSignerId?: string | null;
5182
+ templateShowSignatureOnCoC?: boolean;
5183
+ templateDefaultCocSignerId?: string | null;
5105
5184
  }
5106
5185
  export interface CustomerOrderLineTraceItemDto {
5107
5186
  workOrder: string;
@@ -5144,9 +5223,20 @@ export interface MrbPartDto {
5144
5223
  partName?: string | null;
5145
5224
  partRevision?: string | null;
5146
5225
  }
5226
+ export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
5147
5227
  export interface UpdateMrbInstanceNcInfoRequest {
5148
5228
  ncInfo?: string | null;
5149
5229
  }
5230
+ export interface UpdateMrbInstanceCocSignerRequest {
5231
+ selection: MrbCocSignerSelection;
5232
+ signerId?: string | null;
5233
+ }
5234
+ export interface MrbCocSignerDto {
5235
+ id: string;
5236
+ name: string;
5237
+ title?: string | null;
5238
+ deleted: boolean;
5239
+ }
5150
5240
  export interface MrbInstanceJobDto {
5151
5241
  jobId: string;
5152
5242
  mrbInstanceId: string;
@@ -5246,6 +5336,8 @@ export interface MrbTemplateDto {
5246
5336
  noContentIndicator?: string | null;
5247
5337
  showSerialNumbersOnFrontPage?: boolean;
5248
5338
  showSerialNumbersOnCoC?: boolean;
5339
+ showSignatureOnCoC?: boolean;
5340
+ defaultCocSignerId?: string | null;
5249
5341
  elements: MrbTemplateElementDto[];
5250
5342
  tableOfContents?: MrbTemplateTableOfContentsDto | null;
5251
5343
  }
@@ -5299,6 +5391,8 @@ export interface UpdateMrbTemplate {
5299
5391
  noContentIndicator?: string | null;
5300
5392
  showSerialNumbersOnFrontPage?: boolean;
5301
5393
  showSerialNumbersOnCoC?: boolean;
5394
+ showSignatureOnCoC?: boolean;
5395
+ defaultCocSignerId?: string | null;
5302
5396
  }
5303
5397
  export interface MrbTemplateUpdateElementDto {
5304
5398
  id?: string | null;
@@ -7800,7 +7894,7 @@ export interface SurroundingOperationDto {
7800
7894
  export interface WeekCapacityDto {
7801
7895
  weekGroup: string;
7802
7896
  weekStart: Date;
7803
- capacityHours: number;
7897
+ capacityHours: number | null;
7804
7898
  loadHours: number;
7805
7899
  }
7806
7900
  export interface PublishPlanRequest {
@@ -7303,6 +7303,283 @@ export class UtilizationClient extends AuthorizedApiBase {
7303
7303
  return Promise.resolve(null);
7304
7304
  }
7305
7305
  }
7306
+ export class MrbAdminClient extends AuthorizedApiBase {
7307
+ http;
7308
+ baseUrl;
7309
+ constructor(configuration, baseUrl, http) {
7310
+ super(configuration);
7311
+ this.http = http ? http : window;
7312
+ this.baseUrl = baseUrl ?? "";
7313
+ }
7314
+ getMrbSignatureSettings() {
7315
+ let url_ = this.baseUrl + "/mrb/signature-settings";
7316
+ url_ = url_.replace(/[?&]$/, "");
7317
+ let options_ = {
7318
+ method: "GET",
7319
+ headers: {
7320
+ "Accept": "application/json"
7321
+ }
7322
+ };
7323
+ return this.transformOptions(options_).then(transformedOptions_ => {
7324
+ return this.http.fetch(url_, transformedOptions_);
7325
+ }).then((_response) => {
7326
+ return this.processGetMrbSignatureSettings(_response);
7327
+ });
7328
+ }
7329
+ processGetMrbSignatureSettings(response) {
7330
+ const status = response.status;
7331
+ let _headers = {};
7332
+ if (response.headers && response.headers.forEach) {
7333
+ response.headers.forEach((v, k) => _headers[k] = v);
7334
+ }
7335
+ ;
7336
+ if (status === 200) {
7337
+ return response.text().then((_responseText) => {
7338
+ let result200 = null;
7339
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7340
+ return result200;
7341
+ });
7342
+ }
7343
+ else if (status !== 200 && status !== 204) {
7344
+ return response.text().then((_responseText) => {
7345
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7346
+ });
7347
+ }
7348
+ return Promise.resolve(null);
7349
+ }
7350
+ createMrbSignerTitle(request) {
7351
+ let url_ = this.baseUrl + "/mrb/signer-titles";
7352
+ url_ = url_.replace(/[?&]$/, "");
7353
+ const content_ = JSON.stringify(request);
7354
+ let options_ = {
7355
+ body: content_,
7356
+ method: "POST",
7357
+ headers: {
7358
+ "Content-Type": "application/json",
7359
+ "Accept": "application/json"
7360
+ }
7361
+ };
7362
+ return this.transformOptions(options_).then(transformedOptions_ => {
7363
+ return this.http.fetch(url_, transformedOptions_);
7364
+ }).then((_response) => {
7365
+ return this.processCreateMrbSignerTitle(_response);
7366
+ });
7367
+ }
7368
+ processCreateMrbSignerTitle(response) {
7369
+ const status = response.status;
7370
+ let _headers = {};
7371
+ if (response.headers && response.headers.forEach) {
7372
+ response.headers.forEach((v, k) => _headers[k] = v);
7373
+ }
7374
+ ;
7375
+ if (status === 200) {
7376
+ return response.text().then((_responseText) => {
7377
+ let result200 = null;
7378
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7379
+ return result200;
7380
+ });
7381
+ }
7382
+ else if (status !== 200 && status !== 204) {
7383
+ return response.text().then((_responseText) => {
7384
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7385
+ });
7386
+ }
7387
+ return Promise.resolve(null);
7388
+ }
7389
+ updateMrbSignerTitle(id, request) {
7390
+ let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
7391
+ if (id === undefined || id === null)
7392
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7393
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7394
+ url_ = url_.replace(/[?&]$/, "");
7395
+ const content_ = JSON.stringify(request);
7396
+ let options_ = {
7397
+ body: content_,
7398
+ method: "PUT",
7399
+ headers: {
7400
+ "Content-Type": "application/json",
7401
+ "Accept": "application/json"
7402
+ }
7403
+ };
7404
+ return this.transformOptions(options_).then(transformedOptions_ => {
7405
+ return this.http.fetch(url_, transformedOptions_);
7406
+ }).then((_response) => {
7407
+ return this.processUpdateMrbSignerTitle(_response);
7408
+ });
7409
+ }
7410
+ processUpdateMrbSignerTitle(response) {
7411
+ const status = response.status;
7412
+ let _headers = {};
7413
+ if (response.headers && response.headers.forEach) {
7414
+ response.headers.forEach((v, k) => _headers[k] = v);
7415
+ }
7416
+ ;
7417
+ if (status === 200) {
7418
+ return response.text().then((_responseText) => {
7419
+ let result200 = null;
7420
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7421
+ return result200;
7422
+ });
7423
+ }
7424
+ else if (status !== 200 && status !== 204) {
7425
+ return response.text().then((_responseText) => {
7426
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7427
+ });
7428
+ }
7429
+ return Promise.resolve(null);
7430
+ }
7431
+ deleteMrbSignerTitle(id) {
7432
+ let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
7433
+ if (id === undefined || id === null)
7434
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7435
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7436
+ url_ = url_.replace(/[?&]$/, "");
7437
+ let options_ = {
7438
+ method: "DELETE",
7439
+ headers: {}
7440
+ };
7441
+ return this.transformOptions(options_).then(transformedOptions_ => {
7442
+ return this.http.fetch(url_, transformedOptions_);
7443
+ }).then((_response) => {
7444
+ return this.processDeleteMrbSignerTitle(_response);
7445
+ });
7446
+ }
7447
+ processDeleteMrbSignerTitle(response) {
7448
+ const status = response.status;
7449
+ let _headers = {};
7450
+ if (response.headers && response.headers.forEach) {
7451
+ response.headers.forEach((v, k) => _headers[k] = v);
7452
+ }
7453
+ ;
7454
+ if (status === 204) {
7455
+ return response.text().then((_responseText) => {
7456
+ return;
7457
+ });
7458
+ }
7459
+ else if (status !== 200 && status !== 204) {
7460
+ return response.text().then((_responseText) => {
7461
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7462
+ });
7463
+ }
7464
+ return Promise.resolve(null);
7465
+ }
7466
+ createMrbSigner(request) {
7467
+ let url_ = this.baseUrl + "/mrb/signers";
7468
+ url_ = url_.replace(/[?&]$/, "");
7469
+ const content_ = JSON.stringify(request);
7470
+ let options_ = {
7471
+ body: content_,
7472
+ method: "POST",
7473
+ headers: {
7474
+ "Content-Type": "application/json",
7475
+ "Accept": "application/json"
7476
+ }
7477
+ };
7478
+ return this.transformOptions(options_).then(transformedOptions_ => {
7479
+ return this.http.fetch(url_, transformedOptions_);
7480
+ }).then((_response) => {
7481
+ return this.processCreateMrbSigner(_response);
7482
+ });
7483
+ }
7484
+ processCreateMrbSigner(response) {
7485
+ const status = response.status;
7486
+ let _headers = {};
7487
+ if (response.headers && response.headers.forEach) {
7488
+ response.headers.forEach((v, k) => _headers[k] = v);
7489
+ }
7490
+ ;
7491
+ if (status === 200) {
7492
+ return response.text().then((_responseText) => {
7493
+ let result200 = null;
7494
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7495
+ return result200;
7496
+ });
7497
+ }
7498
+ else if (status !== 200 && status !== 204) {
7499
+ return response.text().then((_responseText) => {
7500
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7501
+ });
7502
+ }
7503
+ return Promise.resolve(null);
7504
+ }
7505
+ updateMrbSigner(id, request) {
7506
+ let url_ = this.baseUrl + "/mrb/signers/{id}";
7507
+ if (id === undefined || id === null)
7508
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7509
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7510
+ url_ = url_.replace(/[?&]$/, "");
7511
+ const content_ = JSON.stringify(request);
7512
+ let options_ = {
7513
+ body: content_,
7514
+ method: "PUT",
7515
+ headers: {
7516
+ "Content-Type": "application/json",
7517
+ "Accept": "application/json"
7518
+ }
7519
+ };
7520
+ return this.transformOptions(options_).then(transformedOptions_ => {
7521
+ return this.http.fetch(url_, transformedOptions_);
7522
+ }).then((_response) => {
7523
+ return this.processUpdateMrbSigner(_response);
7524
+ });
7525
+ }
7526
+ processUpdateMrbSigner(response) {
7527
+ const status = response.status;
7528
+ let _headers = {};
7529
+ if (response.headers && response.headers.forEach) {
7530
+ response.headers.forEach((v, k) => _headers[k] = v);
7531
+ }
7532
+ ;
7533
+ if (status === 200) {
7534
+ return response.text().then((_responseText) => {
7535
+ let result200 = null;
7536
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7537
+ return result200;
7538
+ });
7539
+ }
7540
+ else if (status !== 200 && status !== 204) {
7541
+ return response.text().then((_responseText) => {
7542
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7543
+ });
7544
+ }
7545
+ return Promise.resolve(null);
7546
+ }
7547
+ deleteMrbSigner(id) {
7548
+ let url_ = this.baseUrl + "/mrb/signers/{id}";
7549
+ if (id === undefined || id === null)
7550
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7551
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7552
+ url_ = url_.replace(/[?&]$/, "");
7553
+ let options_ = {
7554
+ method: "DELETE",
7555
+ headers: {}
7556
+ };
7557
+ return this.transformOptions(options_).then(transformedOptions_ => {
7558
+ return this.http.fetch(url_, transformedOptions_);
7559
+ }).then((_response) => {
7560
+ return this.processDeleteMrbSigner(_response);
7561
+ });
7562
+ }
7563
+ processDeleteMrbSigner(response) {
7564
+ const status = response.status;
7565
+ let _headers = {};
7566
+ if (response.headers && response.headers.forEach) {
7567
+ response.headers.forEach((v, k) => _headers[k] = v);
7568
+ }
7569
+ ;
7570
+ if (status === 204) {
7571
+ return response.text().then((_responseText) => {
7572
+ return;
7573
+ });
7574
+ }
7575
+ else if (status !== 200 && status !== 204) {
7576
+ return response.text().then((_responseText) => {
7577
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7578
+ });
7579
+ }
7580
+ return Promise.resolve(null);
7581
+ }
7582
+ }
7306
7583
  export class MrbClient extends AuthorizedApiBase {
7307
7584
  http;
7308
7585
  baseUrl;
@@ -7311,6 +7588,45 @@ export class MrbClient extends AuthorizedApiBase {
7311
7588
  this.http = http ? http : window;
7312
7589
  this.baseUrl = baseUrl ?? "";
7313
7590
  }
7591
+ /**
7592
+ * All CoC signers including deleted ones, for signer dropdowns.
7593
+ */
7594
+ listMrbCocSigners() {
7595
+ let url_ = this.baseUrl + "/mrb/signers";
7596
+ url_ = url_.replace(/[?&]$/, "");
7597
+ let options_ = {
7598
+ method: "GET",
7599
+ headers: {
7600
+ "Accept": "application/json"
7601
+ }
7602
+ };
7603
+ return this.transformOptions(options_).then(transformedOptions_ => {
7604
+ return this.http.fetch(url_, transformedOptions_);
7605
+ }).then((_response) => {
7606
+ return this.processListMrbCocSigners(_response);
7607
+ });
7608
+ }
7609
+ processListMrbCocSigners(response) {
7610
+ const status = response.status;
7611
+ let _headers = {};
7612
+ if (response.headers && response.headers.forEach) {
7613
+ response.headers.forEach((v, k) => _headers[k] = v);
7614
+ }
7615
+ ;
7616
+ if (status === 200) {
7617
+ return response.text().then((_responseText) => {
7618
+ let result200 = null;
7619
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
7620
+ return result200;
7621
+ });
7622
+ }
7623
+ else if (status !== 200 && status !== 204) {
7624
+ return response.text().then((_responseText) => {
7625
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7626
+ });
7627
+ }
7628
+ return Promise.resolve(null);
7629
+ }
7314
7630
  listMrbInstances(customerOrder, customerOrderLine) {
7315
7631
  let url_ = this.baseUrl + "/mrb?";
7316
7632
  if (customerOrder === null)
@@ -7506,6 +7822,45 @@ export class MrbClient extends AuthorizedApiBase {
7506
7822
  }
7507
7823
  return Promise.resolve(null);
7508
7824
  }
7825
+ updateMrbInstanceCocSigner(id, request) {
7826
+ let url_ = this.baseUrl + "/mrb/{id}/coc-signer";
7827
+ if (id === undefined || id === null)
7828
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7829
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7830
+ url_ = url_.replace(/[?&]$/, "");
7831
+ const content_ = JSON.stringify(request);
7832
+ let options_ = {
7833
+ body: content_,
7834
+ method: "PUT",
7835
+ headers: {
7836
+ "Content-Type": "application/json",
7837
+ }
7838
+ };
7839
+ return this.transformOptions(options_).then(transformedOptions_ => {
7840
+ return this.http.fetch(url_, transformedOptions_);
7841
+ }).then((_response) => {
7842
+ return this.processUpdateMrbInstanceCocSigner(_response);
7843
+ });
7844
+ }
7845
+ processUpdateMrbInstanceCocSigner(response) {
7846
+ const status = response.status;
7847
+ let _headers = {};
7848
+ if (response.headers && response.headers.forEach) {
7849
+ response.headers.forEach((v, k) => _headers[k] = v);
7850
+ }
7851
+ ;
7852
+ if (status === 204) {
7853
+ return response.text().then((_responseText) => {
7854
+ return;
7855
+ });
7856
+ }
7857
+ else if (status !== 200 && status !== 204) {
7858
+ return response.text().then((_responseText) => {
7859
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7860
+ });
7861
+ }
7862
+ return Promise.resolve(null);
7863
+ }
7509
7864
  listMrbInstanceRevisions(id) {
7510
7865
  let url_ = this.baseUrl + "/mrb/{id}/revisions";
7511
7866
  if (id === undefined || id === null)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20261016.309.1",
3
+ "version": "20261019.311.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -7773,8 +7773,308 @@ export class UtilizationClient extends AuthorizedApiBase implements IUtilization
7773
7773
  }
7774
7774
  }
7775
7775
 
7776
+ export interface IMrbAdminClient {
7777
+
7778
+ getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto>;
7779
+
7780
+ createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
7781
+
7782
+ updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto>;
7783
+
7784
+ deleteMrbSignerTitle(id: string): Promise<void>;
7785
+
7786
+ createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto>;
7787
+
7788
+ updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto>;
7789
+
7790
+ deleteMrbSigner(id: string): Promise<void>;
7791
+ }
7792
+
7793
+ export class MrbAdminClient extends AuthorizedApiBase implements IMrbAdminClient {
7794
+ private http: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> };
7795
+ private baseUrl: string;
7796
+
7797
+ constructor(configuration: IApiClientConfig, baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
7798
+ super(configuration);
7799
+ this.http = http ? http : window as any;
7800
+ this.baseUrl = baseUrl ?? "";
7801
+ }
7802
+
7803
+ getMrbSignatureSettings(): Promise<MrbSignatureSettingsDto> {
7804
+ let url_ = this.baseUrl + "/mrb/signature-settings";
7805
+ url_ = url_.replace(/[?&]$/, "");
7806
+
7807
+ let options_: RequestInit = {
7808
+ method: "GET",
7809
+ headers: {
7810
+ "Accept": "application/json"
7811
+ }
7812
+ };
7813
+
7814
+ return this.transformOptions(options_).then(transformedOptions_ => {
7815
+ return this.http.fetch(url_, transformedOptions_);
7816
+ }).then((_response: Response) => {
7817
+ return this.processGetMrbSignatureSettings(_response);
7818
+ });
7819
+ }
7820
+
7821
+ protected processGetMrbSignatureSettings(response: Response): Promise<MrbSignatureSettingsDto> {
7822
+ const status = response.status;
7823
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
7824
+ if (status === 200) {
7825
+ return response.text().then((_responseText) => {
7826
+ let result200: any = null;
7827
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignatureSettingsDto;
7828
+ return result200;
7829
+ });
7830
+ } else if (status !== 200 && status !== 204) {
7831
+ return response.text().then((_responseText) => {
7832
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7833
+ });
7834
+ }
7835
+ return Promise.resolve<MrbSignatureSettingsDto>(null as any);
7836
+ }
7837
+
7838
+ createMrbSignerTitle(request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto> {
7839
+ let url_ = this.baseUrl + "/mrb/signer-titles";
7840
+ url_ = url_.replace(/[?&]$/, "");
7841
+
7842
+ const content_ = JSON.stringify(request);
7843
+
7844
+ let options_: RequestInit = {
7845
+ body: content_,
7846
+ method: "POST",
7847
+ headers: {
7848
+ "Content-Type": "application/json",
7849
+ "Accept": "application/json"
7850
+ }
7851
+ };
7852
+
7853
+ return this.transformOptions(options_).then(transformedOptions_ => {
7854
+ return this.http.fetch(url_, transformedOptions_);
7855
+ }).then((_response: Response) => {
7856
+ return this.processCreateMrbSignerTitle(_response);
7857
+ });
7858
+ }
7859
+
7860
+ protected processCreateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto> {
7861
+ const status = response.status;
7862
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
7863
+ if (status === 200) {
7864
+ return response.text().then((_responseText) => {
7865
+ let result200: any = null;
7866
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerTitleDto;
7867
+ return result200;
7868
+ });
7869
+ } else if (status !== 200 && status !== 204) {
7870
+ return response.text().then((_responseText) => {
7871
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7872
+ });
7873
+ }
7874
+ return Promise.resolve<MrbSignerTitleDto>(null as any);
7875
+ }
7876
+
7877
+ updateMrbSignerTitle(id: string, request: MrbSignerTitleRequest): Promise<MrbSignerTitleDto> {
7878
+ let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
7879
+ if (id === undefined || id === null)
7880
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7881
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7882
+ url_ = url_.replace(/[?&]$/, "");
7883
+
7884
+ const content_ = JSON.stringify(request);
7885
+
7886
+ let options_: RequestInit = {
7887
+ body: content_,
7888
+ method: "PUT",
7889
+ headers: {
7890
+ "Content-Type": "application/json",
7891
+ "Accept": "application/json"
7892
+ }
7893
+ };
7894
+
7895
+ return this.transformOptions(options_).then(transformedOptions_ => {
7896
+ return this.http.fetch(url_, transformedOptions_);
7897
+ }).then((_response: Response) => {
7898
+ return this.processUpdateMrbSignerTitle(_response);
7899
+ });
7900
+ }
7901
+
7902
+ protected processUpdateMrbSignerTitle(response: Response): Promise<MrbSignerTitleDto> {
7903
+ const status = response.status;
7904
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
7905
+ if (status === 200) {
7906
+ return response.text().then((_responseText) => {
7907
+ let result200: any = null;
7908
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerTitleDto;
7909
+ return result200;
7910
+ });
7911
+ } else if (status !== 200 && status !== 204) {
7912
+ return response.text().then((_responseText) => {
7913
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7914
+ });
7915
+ }
7916
+ return Promise.resolve<MrbSignerTitleDto>(null as any);
7917
+ }
7918
+
7919
+ deleteMrbSignerTitle(id: string): Promise<void> {
7920
+ let url_ = this.baseUrl + "/mrb/signer-titles/{id}";
7921
+ if (id === undefined || id === null)
7922
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7923
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7924
+ url_ = url_.replace(/[?&]$/, "");
7925
+
7926
+ let options_: RequestInit = {
7927
+ method: "DELETE",
7928
+ headers: {
7929
+ }
7930
+ };
7931
+
7932
+ return this.transformOptions(options_).then(transformedOptions_ => {
7933
+ return this.http.fetch(url_, transformedOptions_);
7934
+ }).then((_response: Response) => {
7935
+ return this.processDeleteMrbSignerTitle(_response);
7936
+ });
7937
+ }
7938
+
7939
+ protected processDeleteMrbSignerTitle(response: Response): Promise<void> {
7940
+ const status = response.status;
7941
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
7942
+ if (status === 204) {
7943
+ return response.text().then((_responseText) => {
7944
+ return;
7945
+ });
7946
+ } else if (status !== 200 && status !== 204) {
7947
+ return response.text().then((_responseText) => {
7948
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7949
+ });
7950
+ }
7951
+ return Promise.resolve<void>(null as any);
7952
+ }
7953
+
7954
+ createMrbSigner(request: CreateMrbSignerRequest): Promise<MrbSignerDto> {
7955
+ let url_ = this.baseUrl + "/mrb/signers";
7956
+ url_ = url_.replace(/[?&]$/, "");
7957
+
7958
+ const content_ = JSON.stringify(request);
7959
+
7960
+ let options_: RequestInit = {
7961
+ body: content_,
7962
+ method: "POST",
7963
+ headers: {
7964
+ "Content-Type": "application/json",
7965
+ "Accept": "application/json"
7966
+ }
7967
+ };
7968
+
7969
+ return this.transformOptions(options_).then(transformedOptions_ => {
7970
+ return this.http.fetch(url_, transformedOptions_);
7971
+ }).then((_response: Response) => {
7972
+ return this.processCreateMrbSigner(_response);
7973
+ });
7974
+ }
7975
+
7976
+ protected processCreateMrbSigner(response: Response): Promise<MrbSignerDto> {
7977
+ const status = response.status;
7978
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
7979
+ if (status === 200) {
7980
+ return response.text().then((_responseText) => {
7981
+ let result200: any = null;
7982
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerDto;
7983
+ return result200;
7984
+ });
7985
+ } else if (status !== 200 && status !== 204) {
7986
+ return response.text().then((_responseText) => {
7987
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
7988
+ });
7989
+ }
7990
+ return Promise.resolve<MrbSignerDto>(null as any);
7991
+ }
7992
+
7993
+ updateMrbSigner(id: string, request: UpdateMrbSignerRequest): Promise<MrbSignerDto> {
7994
+ let url_ = this.baseUrl + "/mrb/signers/{id}";
7995
+ if (id === undefined || id === null)
7996
+ throw new globalThis.Error("The parameter 'id' must be defined.");
7997
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
7998
+ url_ = url_.replace(/[?&]$/, "");
7999
+
8000
+ const content_ = JSON.stringify(request);
8001
+
8002
+ let options_: RequestInit = {
8003
+ body: content_,
8004
+ method: "PUT",
8005
+ headers: {
8006
+ "Content-Type": "application/json",
8007
+ "Accept": "application/json"
8008
+ }
8009
+ };
8010
+
8011
+ return this.transformOptions(options_).then(transformedOptions_ => {
8012
+ return this.http.fetch(url_, transformedOptions_);
8013
+ }).then((_response: Response) => {
8014
+ return this.processUpdateMrbSigner(_response);
8015
+ });
8016
+ }
8017
+
8018
+ protected processUpdateMrbSigner(response: Response): Promise<MrbSignerDto> {
8019
+ const status = response.status;
8020
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8021
+ if (status === 200) {
8022
+ return response.text().then((_responseText) => {
8023
+ let result200: any = null;
8024
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbSignerDto;
8025
+ return result200;
8026
+ });
8027
+ } else if (status !== 200 && status !== 204) {
8028
+ return response.text().then((_responseText) => {
8029
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8030
+ });
8031
+ }
8032
+ return Promise.resolve<MrbSignerDto>(null as any);
8033
+ }
8034
+
8035
+ deleteMrbSigner(id: string): Promise<void> {
8036
+ let url_ = this.baseUrl + "/mrb/signers/{id}";
8037
+ if (id === undefined || id === null)
8038
+ throw new globalThis.Error("The parameter 'id' must be defined.");
8039
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
8040
+ url_ = url_.replace(/[?&]$/, "");
8041
+
8042
+ let options_: RequestInit = {
8043
+ method: "DELETE",
8044
+ headers: {
8045
+ }
8046
+ };
8047
+
8048
+ return this.transformOptions(options_).then(transformedOptions_ => {
8049
+ return this.http.fetch(url_, transformedOptions_);
8050
+ }).then((_response: Response) => {
8051
+ return this.processDeleteMrbSigner(_response);
8052
+ });
8053
+ }
8054
+
8055
+ protected processDeleteMrbSigner(response: Response): Promise<void> {
8056
+ const status = response.status;
8057
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8058
+ if (status === 204) {
8059
+ return response.text().then((_responseText) => {
8060
+ return;
8061
+ });
8062
+ } else if (status !== 200 && status !== 204) {
8063
+ return response.text().then((_responseText) => {
8064
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8065
+ });
8066
+ }
8067
+ return Promise.resolve<void>(null as any);
8068
+ }
8069
+ }
8070
+
7776
8071
  export interface IMrbClient {
7777
8072
 
8073
+ /**
8074
+ * All CoC signers including deleted ones, for signer dropdowns.
8075
+ */
8076
+ listMrbCocSigners(): Promise<MrbCocSignerDto[]>;
8077
+
7778
8078
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]>;
7779
8079
 
7780
8080
  createMrb(createMrb: CreateMrb): Promise<MrbInstanceJobDto>;
@@ -7785,6 +8085,8 @@ export interface IMrbClient {
7785
8085
 
7786
8086
  updateMrbInstanceNcInfo(id: string, request: UpdateMrbInstanceNcInfoRequest): Promise<void>;
7787
8087
 
8088
+ updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void>;
8089
+
7788
8090
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]>;
7789
8091
 
7790
8092
  createMrbRevision(id: string, request: CreateMrbRevisionRequest): Promise<MrbInstanceJobDto>;
@@ -7874,6 +8176,44 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
7874
8176
  this.baseUrl = baseUrl ?? "";
7875
8177
  }
7876
8178
 
8179
+ /**
8180
+ * All CoC signers including deleted ones, for signer dropdowns.
8181
+ */
8182
+ listMrbCocSigners(): Promise<MrbCocSignerDto[]> {
8183
+ let url_ = this.baseUrl + "/mrb/signers";
8184
+ url_ = url_.replace(/[?&]$/, "");
8185
+
8186
+ let options_: RequestInit = {
8187
+ method: "GET",
8188
+ headers: {
8189
+ "Accept": "application/json"
8190
+ }
8191
+ };
8192
+
8193
+ return this.transformOptions(options_).then(transformedOptions_ => {
8194
+ return this.http.fetch(url_, transformedOptions_);
8195
+ }).then((_response: Response) => {
8196
+ return this.processListMrbCocSigners(_response);
8197
+ });
8198
+ }
8199
+
8200
+ protected processListMrbCocSigners(response: Response): Promise<MrbCocSignerDto[]> {
8201
+ const status = response.status;
8202
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8203
+ if (status === 200) {
8204
+ return response.text().then((_responseText) => {
8205
+ let result200: any = null;
8206
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as MrbCocSignerDto[];
8207
+ return result200;
8208
+ });
8209
+ } else if (status !== 200 && status !== 204) {
8210
+ return response.text().then((_responseText) => {
8211
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8212
+ });
8213
+ }
8214
+ return Promise.resolve<MrbCocSignerDto[]>(null as any);
8215
+ }
8216
+
7877
8217
  listMrbInstances(customerOrder: string | undefined, customerOrderLine: number | null | undefined): Promise<MrbInstanceDto[]> {
7878
8218
  let url_ = this.baseUrl + "/mrb?";
7879
8219
  if (customerOrder === null)
@@ -8066,6 +8406,45 @@ export class MrbClient extends AuthorizedApiBase implements IMrbClient {
8066
8406
  return Promise.resolve<void>(null as any);
8067
8407
  }
8068
8408
 
8409
+ updateMrbInstanceCocSigner(id: string, request: UpdateMrbInstanceCocSignerRequest): Promise<void> {
8410
+ let url_ = this.baseUrl + "/mrb/{id}/coc-signer";
8411
+ if (id === undefined || id === null)
8412
+ throw new globalThis.Error("The parameter 'id' must be defined.");
8413
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
8414
+ url_ = url_.replace(/[?&]$/, "");
8415
+
8416
+ const content_ = JSON.stringify(request);
8417
+
8418
+ let options_: RequestInit = {
8419
+ body: content_,
8420
+ method: "PUT",
8421
+ headers: {
8422
+ "Content-Type": "application/json",
8423
+ }
8424
+ };
8425
+
8426
+ return this.transformOptions(options_).then(transformedOptions_ => {
8427
+ return this.http.fetch(url_, transformedOptions_);
8428
+ }).then((_response: Response) => {
8429
+ return this.processUpdateMrbInstanceCocSigner(_response);
8430
+ });
8431
+ }
8432
+
8433
+ protected processUpdateMrbInstanceCocSigner(response: Response): Promise<void> {
8434
+ const status = response.status;
8435
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
8436
+ if (status === 204) {
8437
+ return response.text().then((_responseText) => {
8438
+ return;
8439
+ });
8440
+ } else if (status !== 200 && status !== 204) {
8441
+ return response.text().then((_responseText) => {
8442
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8443
+ });
8444
+ }
8445
+ return Promise.resolve<void>(null as any);
8446
+ }
8447
+
8069
8448
  listMrbInstanceRevisions(id: string): Promise<MrbInstanceRevisionDto[]> {
8070
8449
  let url_ = this.baseUrl + "/mrb/{id}/revisions";
8071
8450
  if (id === undefined || id === null)
@@ -34384,6 +34763,45 @@ export interface NamedCompanyResourceUtilizationDatapointListDto extends Company
34384
34763
  companyName: string;
34385
34764
  }
34386
34765
 
34766
+ export interface MrbSignatureSettingsDto {
34767
+ titles: MrbSignerTitleDto[];
34768
+ signers: MrbSignerDto[];
34769
+ }
34770
+
34771
+ export interface MrbSignerTitleDto {
34772
+ id: string;
34773
+ name: string;
34774
+ }
34775
+
34776
+ export interface MrbSignerDto {
34777
+ id: string;
34778
+ name: string;
34779
+ titleId: string;
34780
+ titleName?: string | null;
34781
+ titleDeleted: boolean;
34782
+ signatureUrl?: string | null;
34783
+ }
34784
+
34785
+ export interface MrbSignerTitleRequest {
34786
+ name: string;
34787
+ }
34788
+
34789
+ export interface CreateMrbSignerRequest {
34790
+ name: string;
34791
+ titleId: string;
34792
+ uploadKey: string;
34793
+ /** File name used when uploading to the temp upload location. */
34794
+ uploadFilename: string;
34795
+ }
34796
+
34797
+ export interface UpdateMrbSignerRequest {
34798
+ name: string;
34799
+ titleId: string;
34800
+ /** Set to replace the signature image. */
34801
+ uploadKey?: string | null;
34802
+ uploadFilename?: string | null;
34803
+ }
34804
+
34387
34805
  export interface MrbInstanceDto {
34388
34806
  id: string;
34389
34807
  title?: string | null;
@@ -34404,6 +34822,10 @@ export interface MrbInstanceDto {
34404
34822
  showSerialNumbersOnFrontPage?: boolean;
34405
34823
  showSerialNumbersOnCoC?: boolean;
34406
34824
  ncInfo?: string | null;
34825
+ cocSignerSelection: MrbCocSignerSelection;
34826
+ cocSignerId?: string | null;
34827
+ templateShowSignatureOnCoC?: boolean;
34828
+ templateDefaultCocSignerId?: string | null;
34407
34829
  }
34408
34830
 
34409
34831
  export interface CustomerOrderLineTraceItemDto {
@@ -34455,10 +34877,24 @@ export interface MrbPartDto {
34455
34877
  partRevision?: string | null;
34456
34878
  }
34457
34879
 
34880
+ export type MrbCocSignerSelection = "TemplateDefault" | "None" | "Signer";
34881
+
34458
34882
  export interface UpdateMrbInstanceNcInfoRequest {
34459
34883
  ncInfo?: string | null;
34460
34884
  }
34461
34885
 
34886
+ export interface UpdateMrbInstanceCocSignerRequest {
34887
+ selection: MrbCocSignerSelection;
34888
+ signerId?: string | null;
34889
+ }
34890
+
34891
+ export interface MrbCocSignerDto {
34892
+ id: string;
34893
+ name: string;
34894
+ title?: string | null;
34895
+ deleted: boolean;
34896
+ }
34897
+
34462
34898
  export interface MrbInstanceJobDto {
34463
34899
  jobId: string;
34464
34900
  mrbInstanceId: string;
@@ -34571,6 +35007,8 @@ export interface MrbTemplateDto {
34571
35007
  noContentIndicator?: string | null;
34572
35008
  showSerialNumbersOnFrontPage?: boolean;
34573
35009
  showSerialNumbersOnCoC?: boolean;
35010
+ showSignatureOnCoC?: boolean;
35011
+ defaultCocSignerId?: string | null;
34574
35012
  elements: MrbTemplateElementDto[];
34575
35013
  tableOfContents?: MrbTemplateTableOfContentsDto | null;
34576
35014
  }
@@ -34631,6 +35069,8 @@ export interface UpdateMrbTemplate {
34631
35069
  noContentIndicator?: string | null;
34632
35070
  showSerialNumbersOnFrontPage?: boolean;
34633
35071
  showSerialNumbersOnCoC?: boolean;
35072
+ showSignatureOnCoC?: boolean;
35073
+ defaultCocSignerId?: string | null;
34634
35074
  }
34635
35075
 
34636
35076
  export interface MrbTemplateUpdateElementDto {
@@ -37482,7 +37922,7 @@ export interface SurroundingOperationDto {
37482
37922
  export interface WeekCapacityDto {
37483
37923
  weekGroup: string;
37484
37924
  weekStart: Date;
37485
- capacityHours: number;
37925
+ capacityHours: number | null;
37486
37926
  loadHours: number;
37487
37927
  }
37488
37928