@ignos/api-client 20260703.167.1-alpha → 20260706.169.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.
@@ -3465,7 +3465,7 @@ export declare class ExternalAccessClient extends AuthorizedApiBase implements I
3465
3465
  export interface IExternalClient {
3466
3466
  listCompanies(): Promise<CompanyDto[]>;
3467
3467
  getCompany(id: string): Promise<CompanyDto>;
3468
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3468
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3469
3469
  acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3470
3470
  acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
3471
3471
  acceptSupplierInviteCustomer(request: AcceptSupplierInviteCustomer): Promise<SupplierInviteDto>;
@@ -3481,8 +3481,8 @@ export declare class ExternalClient extends AuthorizedApiBase implements IExtern
3481
3481
  protected processListCompanies(response: Response): Promise<CompanyDto[]>;
3482
3482
  getCompany(id: string): Promise<CompanyDto>;
3483
3483
  protected processGetCompany(response: Response): Promise<CompanyDto>;
3484
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
3485
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3484
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3485
+ protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
3486
3486
  acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
3487
3487
  protected processAcceptSupplierInviteNewCompany(response: Response): Promise<SupplierInviteDto>;
3488
3488
  acceptSupplierInviteExistingCompany(request: AcceptSupplierInviteExistingCompany): Promise<SupplierInviteDto>;
@@ -9773,13 +9773,32 @@ export interface SupplierInviteDto {
9773
9773
  threeLetterIsoCountry: string;
9774
9774
  organizationNumber: string;
9775
9775
  supplierName?: string | null;
9776
- customerName?: string | null;
9777
9776
  userId: string;
9778
9777
  userName?: string | null;
9779
9778
  acceptedTimestamp?: Date | null;
9780
9779
  createdTime: Date;
9781
9780
  createdBy: string;
9782
9781
  }
9782
+ export interface CurrentSupplierInviteDto extends SupplierInviteDto {
9783
+ matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
9784
+ }
9785
+ export interface MatchingCustomerOrCompany {
9786
+ customer?: IgnosCustomerDto | null;
9787
+ company?: CompanyDto | null;
9788
+ }
9789
+ export interface IgnosCustomerDto {
9790
+ id: string;
9791
+ name: string;
9792
+ contactPerson: ContactPersonDto;
9793
+ threeLetterIsoCountry: string;
9794
+ organizationNumber: string;
9795
+ country: string;
9796
+ }
9797
+ export interface ContactPersonDto {
9798
+ name: string;
9799
+ phone: string;
9800
+ email: string;
9801
+ }
9783
9802
  export interface AcceptSupplierInviteNewCompany {
9784
9803
  companyName?: string;
9785
9804
  organizationNumber?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260703.167.1-alpha",
3
+ "version": "20260706.169.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -30404,7 +30404,7 @@ export interface IExternalClient {
30404
30404
 
30405
30405
  getCompany(id: string): Promise<CompanyDto>;
30406
30406
 
30407
- getCurrentSupplierInvite(): Promise<SupplierInviteDto>;
30407
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
30408
30408
 
30409
30409
  acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto>;
30410
30410
 
@@ -30498,7 +30498,7 @@ export class ExternalClient extends AuthorizedApiBase implements IExternalClient
30498
30498
  return Promise.resolve<CompanyDto>(null as any);
30499
30499
  }
30500
30500
 
30501
- getCurrentSupplierInvite(): Promise<SupplierInviteDto> {
30501
+ getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto> {
30502
30502
  let url_ = this.baseUrl + "/external/invite";
30503
30503
  url_ = url_.replace(/[?&]$/, "");
30504
30504
 
@@ -30516,13 +30516,13 @@ export class ExternalClient extends AuthorizedApiBase implements IExternalClient
30516
30516
  });
30517
30517
  }
30518
30518
 
30519
- protected processGetCurrentSupplierInvite(response: Response): Promise<SupplierInviteDto> {
30519
+ protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto> {
30520
30520
  const status = response.status;
30521
30521
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
30522
30522
  if (status === 200) {
30523
30523
  return response.text().then((_responseText) => {
30524
30524
  let result200: any = null;
30525
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as SupplierInviteDto;
30525
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CurrentSupplierInviteDto;
30526
30526
  return result200;
30527
30527
  });
30528
30528
  } else if (status !== 200 && status !== 204) {
@@ -30530,7 +30530,7 @@ export class ExternalClient extends AuthorizedApiBase implements IExternalClient
30530
30530
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
30531
30531
  });
30532
30532
  }
30533
- return Promise.resolve<SupplierInviteDto>(null as any);
30533
+ return Promise.resolve<CurrentSupplierInviteDto>(null as any);
30534
30534
  }
30535
30535
 
30536
30536
  acceptSupplierInviteNewCompany(request: AcceptSupplierInviteNewCompany): Promise<SupplierInviteDto> {
@@ -38149,7 +38149,6 @@ export interface SupplierInviteDto {
38149
38149
  threeLetterIsoCountry: string;
38150
38150
  organizationNumber: string;
38151
38151
  supplierName?: string | null;
38152
- customerName?: string | null;
38153
38152
  userId: string;
38154
38153
  userName?: string | null;
38155
38154
  acceptedTimestamp?: Date | null;
@@ -38157,6 +38156,30 @@ export interface SupplierInviteDto {
38157
38156
  createdBy: string;
38158
38157
  }
38159
38158
 
38159
+ export interface CurrentSupplierInviteDto extends SupplierInviteDto {
38160
+ matchingCustomerOrCompany?: MatchingCustomerOrCompany | null;
38161
+ }
38162
+
38163
+ export interface MatchingCustomerOrCompany {
38164
+ customer?: IgnosCustomerDto | null;
38165
+ company?: CompanyDto | null;
38166
+ }
38167
+
38168
+ export interface IgnosCustomerDto {
38169
+ id: string;
38170
+ name: string;
38171
+ contactPerson: ContactPersonDto;
38172
+ threeLetterIsoCountry: string;
38173
+ organizationNumber: string;
38174
+ country: string;
38175
+ }
38176
+
38177
+ export interface ContactPersonDto {
38178
+ name: string;
38179
+ phone: string;
38180
+ email: string;
38181
+ }
38182
+
38160
38183
  export interface AcceptSupplierInviteNewCompany {
38161
38184
  companyName?: string;
38162
38185
  organizationNumber?: string;