@bytescale/sdk 3.33.0 → 3.35.0

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.
Files changed (26) hide show
  1. package/dist/browser/cjs/main.js +511 -448
  2. package/dist/browser/esm/main.mjs +513 -449
  3. package/dist/node/cjs/main.js +488 -431
  4. package/dist/node/esm/main.mjs +500 -438
  5. package/dist/types/private/StreamUtils.d.ts +2 -0
  6. package/dist/types/private/UploadManagerBase.d.ts +3 -2
  7. package/dist/types/private/UploadManagerBrowserWorkerBase.d.ts +1 -1
  8. package/dist/types/private/dtos/AuthSwConfigDto.d.ts +1 -1
  9. package/dist/types/private/model/AddCancellationHandler.d.ts +1 -1
  10. package/dist/types/private/model/OnPartProgress.d.ts +1 -1
  11. package/dist/types/private/model/ServiceWorkerConfig.d.ts +1 -1
  12. package/dist/types/private/model/UploadResult.d.ts +7 -0
  13. package/dist/types/private/model/UploadSourceProcessed.d.ts +4 -4
  14. package/dist/types/public/node/UploadManagerNode.d.ts +1 -1
  15. package/dist/types/public/shared/CommonTypes.d.ts +2 -1
  16. package/dist/types/public/shared/UrlBuilderTypes.d.ts +6 -6
  17. package/dist/types/public/shared/generated/apis/CacheApi.d.ts +23 -0
  18. package/dist/types/public/shared/generated/apis/FileApi.d.ts +7 -7
  19. package/dist/types/public/shared/generated/apis/JobApi.d.ts +1 -1
  20. package/dist/types/public/shared/generated/apis/UploadApi.d.ts +2 -2
  21. package/dist/types/public/shared/generated/apis/index.d.ts +1 -0
  22. package/dist/types/public/shared/generated/models/index.d.ts +237 -63
  23. package/dist/types/public/shared/generated/runtime.d.ts +8 -8
  24. package/dist/worker/cjs/main.js +455 -395
  25. package/dist/worker/esm/main.mjs +457 -396
  26. package/package.json +11 -12
@@ -93,22 +93,22 @@ export declare class BytescaleApiError extends Error {
93
93
  readonly details: any | undefined;
94
94
  constructor(response: ErrorResponse);
95
95
  }
96
- export declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
97
- export declare type Json = any;
98
- export declare type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
99
- export declare type HTTPHeaders = {
96
+ export type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
97
+ export type Json = any;
98
+ export type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
99
+ export type HTTPHeaders = {
100
100
  [key: string]: string;
101
101
  };
102
- export declare type HTTPQuery = {
102
+ export type HTTPQuery = {
103
103
  [key: string]: string | number | null | boolean | HTTPQuery;
104
104
  };
105
- export declare type HTTPBody = Json | FormData | URLSearchParams;
106
- export declare type HTTPRequestInit = {
105
+ export type HTTPBody = Json | FormData | URLSearchParams;
106
+ export type HTTPRequestInit = {
107
107
  headers?: HTTPHeaders;
108
108
  method: HTTPMethod;
109
109
  body?: HTTPBody;
110
110
  };
111
- export declare type InitOverrideFunction = (requestContext: {
111
+ export type InitOverrideFunction = (requestContext: {
112
112
  init: HTTPRequestInit;
113
113
  context: RequestOpts;
114
114
  }) => Promise<RequestInit>;