@ignos/api-client 20260707.177.1-alpha → 20260707.178.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.
@@ -3466,7 +3466,7 @@ export interface IExternalClient {
3466
3466
  listCompanies(): Promise<CompanyDto[]>;
3467
3467
  getCompany(id: string): Promise<CompanyDto>;
3468
3468
  getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3469
- acceptSupplierInvite(): Promise<SupplierInviteDto>;
3469
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3470
3470
  listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3471
3471
  }
3472
3472
  export declare class ExternalClient extends AuthorizedApiBase implements IExternalClient {
@@ -3481,7 +3481,7 @@ export declare class ExternalClient extends AuthorizedApiBase implements IExtern
3481
3481
  protected processGetCompany(response: Response): Promise<CompanyDto>;
3482
3482
  getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
3483
3483
  protected processGetCurrentSupplierInvite(response: Response): Promise<CurrentSupplierInviteDto>;
3484
- acceptSupplierInvite(): Promise<SupplierInviteDto>;
3484
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
3485
3485
  protected processAcceptSupplierInvite(response: Response): Promise<SupplierInviteDto>;
3486
3486
  listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
3487
3487
  protected processListTenantsWithSuppliers(response: Response): Promise<TenantWithSupplierDto[]>;
@@ -28543,8 +28543,10 @@ export class ExternalClient extends AuthorizedApiBase {
28543
28543
  }
28544
28544
  return Promise.resolve(null);
28545
28545
  }
28546
- acceptSupplierInvite() {
28547
- let url_ = this.baseUrl + "/external/invite/accept";
28546
+ acceptSupplierInvite(acceptingTenantId) {
28547
+ let url_ = this.baseUrl + "/external/invite/accept?";
28548
+ if (acceptingTenantId !== undefined && acceptingTenantId !== null)
28549
+ url_ += "acceptingTenantId=" + encodeURIComponent("" + acceptingTenantId) + "&";
28548
28550
  url_ = url_.replace(/[?&]$/, "");
28549
28551
  let options_ = {
28550
28552
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260707.177.1-alpha",
3
+ "version": "20260707.178.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -30406,7 +30406,7 @@ export interface IExternalClient {
30406
30406
 
30407
30407
  getCurrentSupplierInvite(): Promise<CurrentSupplierInviteDto>;
30408
30408
 
30409
- acceptSupplierInvite(): Promise<SupplierInviteDto>;
30409
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto>;
30410
30410
 
30411
30411
  listTenantsWithSuppliers(): Promise<TenantWithSupplierDto[]>;
30412
30412
  }
@@ -30529,8 +30529,10 @@ export class ExternalClient extends AuthorizedApiBase implements IExternalClient
30529
30529
  return Promise.resolve<CurrentSupplierInviteDto>(null as any);
30530
30530
  }
30531
30531
 
30532
- acceptSupplierInvite(): Promise<SupplierInviteDto> {
30533
- let url_ = this.baseUrl + "/external/invite/accept";
30532
+ acceptSupplierInvite(acceptingTenantId: string | null | undefined): Promise<SupplierInviteDto> {
30533
+ let url_ = this.baseUrl + "/external/invite/accept?";
30534
+ if (acceptingTenantId !== undefined && acceptingTenantId !== null)
30535
+ url_ += "acceptingTenantId=" + encodeURIComponent("" + acceptingTenantId) + "&";
30534
30536
  url_ = url_.replace(/[?&]$/, "");
30535
30537
 
30536
30538
  let options_: RequestInit = {