@spscommerce/asst-api 5.3.0 → 5.3.3
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/{CompanySearch-7_L0_02Y.d.cts → CompanySearch-BbVFcsAx.d.ts} +1 -1
- package/dist/{SpsItemIdResponse-CSZKx_Tz.d.cts → SpsItemIdResponse-CorAaMf-.d.ts} +6 -6
- package/dist/chunk-ATHXI7QZ.js +1049 -0
- package/dist/{chunk-35CHQUKC.js → chunk-FECWD4HI.js} +101 -42
- package/dist/{chunk-XSWAONLH.js → chunk-JOTJ2YCI.js} +5 -8
- package/dist/index.cjs +1553 -4590
- package/dist/index.d.ts +8 -7
- package/dist/index.js +3 -3
- package/dist/msw.cjs +765 -4642
- package/dist/msw.d.ts +3 -2
- package/dist/msw.js +41 -25
- package/dist/{zod-CFHO1Ktc.d.cts → zod-BTAcqNX0.d.ts} +21 -4
- package/dist/zod.cjs +736 -4654
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +49 -36
- package/package.json +17 -11
- package/dist/CompanySearch-7_L0_02Y.d.ts +0 -313
- package/dist/SpsItemIdResponse-CSZKx_Tz.d.ts +0 -102
- package/dist/chunk-3H53DOKQ.js +0 -5009
- package/dist/index.d.cts +0 -994
- package/dist/msw.d.cts +0 -808
- package/dist/zod-DOSs4Eg9.d.ts +0 -5876
- package/dist/zod.d.cts +0 -4
|
@@ -310,4 +310,4 @@ declare const companySearchSchema: z.ZodObject<{
|
|
|
310
310
|
type CompanySearchParams = z.infer<typeof companySearchParamsSchema>;
|
|
311
311
|
type CompanySearch = z.infer<typeof companySearchSchema>;
|
|
312
312
|
|
|
313
|
-
export type {
|
|
313
|
+
export type { Company as C, CompanySearch as a, CompanySearchParams as b };
|
|
@@ -64,12 +64,12 @@ declare class AsstClient {
|
|
|
64
64
|
* @returns Function to unsubscribe to config changes
|
|
65
65
|
*/
|
|
66
66
|
subscribeToConfigChange(listener: Listener): () => boolean;
|
|
67
|
-
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise
|
|
68
|
-
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise
|
|
69
|
-
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise
|
|
70
|
-
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise
|
|
67
|
+
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
|
|
68
|
+
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
|
|
69
|
+
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
|
|
70
|
+
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
|
|
71
71
|
head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
72
|
-
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise
|
|
72
|
+
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise<unknown>;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
type Hierarchy = {
|
|
@@ -99,4 +99,4 @@ declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
|
99
99
|
}>;
|
|
100
100
|
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
101
101
|
|
|
102
|
-
export { AsstClient as A, BASE_URLS as B, type CompanyBriefByOrg as C, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type
|
|
102
|
+
export { AsstClient as A, BASE_URLS as B, type CompanyBriefByOrg as C, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type AsstClientOptions as a, type AsstUrl as b, type CompanyType as c, companyBriefByOrgSchema as d, envSchema as e, itemHierarchyResponseSchema as i, spsItemIdResponseSchema as s };
|