@juhuu/sdk-ts 1.2.47 → 1.2.49

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.
package/dist/index.d.mts CHANGED
@@ -509,7 +509,6 @@ interface LocaleString {
509
509
  sv?: string;
510
510
  cs?: string;
511
511
  et?: string;
512
- gsw?: string;
513
512
  }
514
513
 
515
514
  declare class Service {
@@ -523,26 +522,26 @@ declare class Service {
523
522
  setAccessToken: (accessToken: string) => Promise<void>;
524
523
  getRefreshToken: () => Promise<string | null>;
525
524
  setRefreshToken: (refreshToken: string) => Promise<void>;
526
- sendRequest<T>({ url, method, body, useAuthentication, }: {
525
+ sendRequest<T>({ url, method, body, authenticationNotOptional, }: {
527
526
  method: "GET";
528
527
  url: string;
529
528
  body: undefined;
530
- useAuthentication: boolean;
529
+ authenticationNotOptional: boolean;
531
530
  } | {
532
531
  method: "POST";
533
532
  url: string;
534
533
  body: any;
535
- useAuthentication: boolean;
534
+ authenticationNotOptional: boolean;
536
535
  } | {
537
536
  method: "PATCH";
538
537
  url: string;
539
538
  body: any;
540
- useAuthentication: boolean;
539
+ authenticationNotOptional: boolean;
541
540
  } | {
542
541
  method: "DELETE";
543
542
  url: string;
544
543
  body: undefined;
545
- useAuthentication: boolean;
544
+ authenticationNotOptional: boolean;
546
545
  }, options?: JUHUU.RequestOptions): Promise<JUHUU.HttpResponse<T>>;
547
546
  private sendGetRequest;
548
547
  private sendPostRequest;
package/dist/index.d.ts CHANGED
@@ -509,7 +509,6 @@ interface LocaleString {
509
509
  sv?: string;
510
510
  cs?: string;
511
511
  et?: string;
512
- gsw?: string;
513
512
  }
514
513
 
515
514
  declare class Service {
@@ -523,26 +522,26 @@ declare class Service {
523
522
  setAccessToken: (accessToken: string) => Promise<void>;
524
523
  getRefreshToken: () => Promise<string | null>;
525
524
  setRefreshToken: (refreshToken: string) => Promise<void>;
526
- sendRequest<T>({ url, method, body, useAuthentication, }: {
525
+ sendRequest<T>({ url, method, body, authenticationNotOptional, }: {
527
526
  method: "GET";
528
527
  url: string;
529
528
  body: undefined;
530
- useAuthentication: boolean;
529
+ authenticationNotOptional: boolean;
531
530
  } | {
532
531
  method: "POST";
533
532
  url: string;
534
533
  body: any;
535
- useAuthentication: boolean;
534
+ authenticationNotOptional: boolean;
536
535
  } | {
537
536
  method: "PATCH";
538
537
  url: string;
539
538
  body: any;
540
- useAuthentication: boolean;
539
+ authenticationNotOptional: boolean;
541
540
  } | {
542
541
  method: "DELETE";
543
542
  url: string;
544
543
  body: undefined;
545
- useAuthentication: boolean;
544
+ authenticationNotOptional: boolean;
546
545
  }, options?: JUHUU.RequestOptions): Promise<JUHUU.HttpResponse<T>>;
547
546
  private sendGetRequest;
548
547
  private sendPostRequest;