@ignos/api-client 20260615.155.1-alpha → 20260615.156.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.
@@ -3434,7 +3434,7 @@ export interface ISuppliersClient {
3434
3434
  */
3435
3435
  deleteSupplierMappings(): Promise<void>;
3436
3436
  lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3437
- getOrganizationLookupSupportedCountries(): Promise<string[]>;
3437
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3438
3438
  }
3439
3439
  export declare class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
3440
3440
  private http;
@@ -3464,8 +3464,8 @@ export declare class SuppliersClient extends AuthorizedApiBase implements ISuppl
3464
3464
  protected processDeleteSupplierMappings(response: Response): Promise<void>;
3465
3465
  lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
3466
3466
  protected processLookupOrganization(response: Response): Promise<OrganizationDto>;
3467
- getOrganizationLookupSupportedCountries(): Promise<string[]>;
3468
- protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<string[]>;
3467
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
3468
+ protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]>;
3469
3469
  }
3470
3470
  export interface AzureRegionDto {
3471
3471
  displayName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20260615.155.1-alpha",
3
+ "version": "20260615.156.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -30207,7 +30207,7 @@ export interface ISuppliersClient {
30207
30207
 
30208
30208
  lookupOrganization(threeLetterIsoCountry: string | undefined, organizationNumber: string | undefined): Promise<OrganizationDto>;
30209
30209
 
30210
- getOrganizationLookupSupportedCountries(): Promise<string[]>;
30210
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]>;
30211
30211
  }
30212
30212
 
30213
30213
  export class SuppliersClient extends AuthorizedApiBase implements ISuppliersClient {
@@ -30516,7 +30516,7 @@ export class SuppliersClient extends AuthorizedApiBase implements ISuppliersClie
30516
30516
  return Promise.resolve<OrganizationDto>(null as any);
30517
30517
  }
30518
30518
 
30519
- getOrganizationLookupSupportedCountries(): Promise<string[]> {
30519
+ getOrganizationLookupSupportedCountries(): Promise<CountryDto[]> {
30520
30520
  let url_ = this.baseUrl + "/suppliers/organization-lookup-supported-countries";
30521
30521
  url_ = url_.replace(/[?&]$/, "");
30522
30522
 
@@ -30534,13 +30534,13 @@ export class SuppliersClient extends AuthorizedApiBase implements ISuppliersClie
30534
30534
  });
30535
30535
  }
30536
30536
 
30537
- protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<string[]> {
30537
+ protected processGetOrganizationLookupSupportedCountries(response: Response): Promise<CountryDto[]> {
30538
30538
  const status = response.status;
30539
30539
  let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
30540
30540
  if (status === 200) {
30541
30541
  return response.text().then((_responseText) => {
30542
30542
  let result200: any = null;
30543
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as string[];
30543
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as CountryDto[];
30544
30544
  return result200;
30545
30545
  });
30546
30546
  } else if (status !== 200 && status !== 204) {
@@ -30548,7 +30548,7 @@ export class SuppliersClient extends AuthorizedApiBase implements ISuppliersClie
30548
30548
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
30549
30549
  });
30550
30550
  }
30551
- return Promise.resolve<string[]>(null as any);
30551
+ return Promise.resolve<CountryDto[]>(null as any);
30552
30552
  }
30553
30553
  }
30554
30554