@spscommerce/asst-api 4.1.0 → 4.1.1

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 (86) hide show
  1. package/dist/CompanyBriefByOrg-57oGCtjK.d.ts +3427 -0
  2. package/dist/CompanyBriefByOrg-Dy2omcT0.d.cts +95 -0
  3. package/dist/CompanyBriefByOrg-Dy2omcT0.d.ts +95 -0
  4. package/dist/CompanyBriefByOrg-LTdsUKm4.d.ts +3427 -0
  5. package/dist/chunk-27XV7TS2.js +522 -0
  6. package/dist/chunk-2ETQHIXC.js +528 -0
  7. package/dist/chunk-2VJS5KPH.js +5182 -0
  8. package/dist/chunk-2W3LZ4AO.js +513 -0
  9. package/dist/chunk-3XNXQYIB.js +521 -0
  10. package/dist/chunk-4C475UZX.js +5164 -0
  11. package/dist/chunk-5AROSGQB.js +5034 -0
  12. package/dist/chunk-7F5CQRS2.js +567 -0
  13. package/dist/chunk-7OEXJIWW.js +565 -0
  14. package/dist/chunk-A22SEYVL.js +530 -0
  15. package/dist/chunk-AH5MG2WF.js +5040 -0
  16. package/dist/chunk-BDSSH6MN.js +574 -0
  17. package/dist/chunk-BFIQVABZ.js +528 -0
  18. package/dist/chunk-BJTO4CRW.js +558 -0
  19. package/dist/chunk-BTNVA4NZ.js +568 -0
  20. package/dist/chunk-CNQTNX3M.js +567 -0
  21. package/dist/chunk-CUVSWUIQ.js +5040 -0
  22. package/dist/chunk-DP2ZMQG5.js +4881 -0
  23. package/dist/chunk-EMBJNPTB.js +5040 -0
  24. package/dist/chunk-EO2UMCWY.js +574 -0
  25. package/dist/chunk-FTB465WY.js +575 -0
  26. package/dist/chunk-G6A4EVAL.js +528 -0
  27. package/dist/chunk-GDARBI5R.js +5185 -0
  28. package/dist/chunk-HHJDDPFR.js +4886 -0
  29. package/dist/chunk-HY2SRD5L.js +5003 -0
  30. package/dist/chunk-ISQ3LQRI.js +565 -0
  31. package/dist/chunk-KKX3CXHP.js +558 -0
  32. package/dist/chunk-LCK4AEWB.js +79 -0
  33. package/dist/chunk-LJVJ4SYE.js +568 -0
  34. package/dist/chunk-LYMA4XGG.js +5181 -0
  35. package/dist/chunk-MLAU3LFL.js +527 -0
  36. package/dist/chunk-MQREZR54.js +5164 -0
  37. package/dist/chunk-N4A4BVKV.js +5163 -0
  38. package/dist/chunk-QVEV57JA.js +5185 -0
  39. package/dist/chunk-SK6U2JDX.js +566 -0
  40. package/dist/chunk-SQBB5K5J.js +574 -0
  41. package/dist/chunk-TQ2IQDSM.js +568 -0
  42. package/dist/chunk-TTT6PM27.js +558 -0
  43. package/dist/chunk-VFMKDLXO.js +570 -0
  44. package/dist/chunk-VKPQOGVS.js +565 -0
  45. package/dist/chunk-VLLI4AYA.js +520 -0
  46. package/dist/chunk-VNFLJ5FV.js +530 -0
  47. package/dist/chunk-WNCDQJEM.js +5034 -0
  48. package/dist/chunk-XYZVRJF3.js +5162 -0
  49. package/dist/chunk-YJCJB4OT.js +79 -0
  50. package/dist/chunk-YJMQ4PGM.js +559 -0
  51. package/dist/chunk-Z6PXGHNC.js +570 -0
  52. package/dist/chunk-ZQ32XEVW.js +79 -0
  53. package/dist/chunk-ZXXDLGW7.js +513 -0
  54. package/dist/index-9KKchLwe.d.cts +14 -0
  55. package/dist/index-DeivEdv0.d.ts +14 -0
  56. package/dist/index-Zz-6wNSh.d.ts +106 -0
  57. package/dist/index-fgr_c5Wj.d.ts +106 -0
  58. package/dist/index.cjs +225 -458
  59. package/dist/index.d.cts +6 -24
  60. package/dist/index.d.ts +6 -24
  61. package/dist/index.js +5 -5
  62. package/dist/msw.cjs +225 -510
  63. package/dist/msw.d.cts +10 -197
  64. package/dist/msw.d.ts +10 -197
  65. package/dist/msw.js +51 -117
  66. package/dist/zod-6gU8y6oS.d.cts +6712 -0
  67. package/dist/zod-B4sIVoVX.d.ts +6712 -0
  68. package/dist/zod-BI81QHVK.d.ts +6715 -0
  69. package/dist/zod-BUCQsGOm.d.ts +6712 -0
  70. package/dist/zod-Bl_5j5Nx.d.ts +6712 -0
  71. package/dist/zod-Bxu34bbp.d.ts +6718 -0
  72. package/dist/zod-C4kEHhO8.d.cts +6718 -0
  73. package/dist/zod-C5pRCHei.d.ts +6712 -0
  74. package/dist/zod-CIacR1Kf.d.cts +6712 -0
  75. package/dist/zod-DyBGOUbG.d.ts +5876 -0
  76. package/dist/zod-DzhoVlw_.d.cts +6712 -0
  77. package/dist/zod-FdtLO2-F.d.cts +6715 -0
  78. package/dist/zod-NE2xXWlK.d.ts +3416 -0
  79. package/dist/zod-lSiFMzqK.d.cts +6712 -0
  80. package/dist/zod-rs54beS2.d.cts +5876 -0
  81. package/dist/zod-zxqlYYMG.d.ts +3416 -0
  82. package/dist/zod.cjs +30 -178
  83. package/dist/zod.d.cts +2 -2
  84. package/dist/zod.d.ts +2 -2
  85. package/dist/zod.js +62 -21
  86. package/package.json +4 -4
@@ -0,0 +1,106 @@
1
+ import { z } from 'zod';
2
+ import { A as AsstClient, C as CompanyBriefByOrg } from './CompanyBriefByOrg-57oGCtjK.js';
3
+
4
+ declare const retailerTradingPartnerStages: z.ZodArray<z.ZodEnum<["Core", "Core Plus", "Core Advanced", "Enriched", "Standard Requirements"]>, "many">;
5
+ type RetailerTradingPartnerStages = z.infer<typeof retailerTradingPartnerStages>;
6
+
7
+ declare const itemStatusResponseSchema: z.ZodObject<{
8
+ itemStatuses: z.ZodArray<z.ZodObject<{
9
+ itemId: z.ZodString;
10
+ itemOrgStatuses: z.ZodArray<z.ZodObject<{
11
+ org: z.ZodObject<{
12
+ ref: z.ZodString;
13
+ id: z.ZodString;
14
+ name: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ name: string;
17
+ id: string;
18
+ ref: string;
19
+ }, {
20
+ name: string;
21
+ id: string;
22
+ ref: string;
23
+ }>;
24
+ lowestInvalidStage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
25
+ validForRelationship: z.ZodBoolean;
26
+ }, "strip", z.ZodTypeAny, {
27
+ org: {
28
+ name: string;
29
+ id: string;
30
+ ref: string;
31
+ };
32
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
33
+ validForRelationship: boolean;
34
+ }, {
35
+ org: {
36
+ name: string;
37
+ id: string;
38
+ ref: string;
39
+ };
40
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
41
+ validForRelationship: boolean;
42
+ }>, "many">;
43
+ }, "strip", z.ZodTypeAny, {
44
+ itemId: string;
45
+ itemOrgStatuses: {
46
+ org: {
47
+ name: string;
48
+ id: string;
49
+ ref: string;
50
+ };
51
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
52
+ validForRelationship: boolean;
53
+ }[];
54
+ }, {
55
+ itemId: string;
56
+ itemOrgStatuses: {
57
+ org: {
58
+ name: string;
59
+ id: string;
60
+ ref: string;
61
+ };
62
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
63
+ validForRelationship: boolean;
64
+ }[];
65
+ }>, "many">;
66
+ }, "strip", z.ZodTypeAny, {
67
+ itemStatuses: {
68
+ itemId: string;
69
+ itemOrgStatuses: {
70
+ org: {
71
+ name: string;
72
+ id: string;
73
+ ref: string;
74
+ };
75
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
76
+ validForRelationship: boolean;
77
+ }[];
78
+ }[];
79
+ }, {
80
+ itemStatuses: {
81
+ itemId: string;
82
+ itemOrgStatuses: {
83
+ org: {
84
+ name: string;
85
+ id: string;
86
+ ref: string;
87
+ };
88
+ lowestInvalidStage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
89
+ validForRelationship: boolean;
90
+ }[];
91
+ }[];
92
+ }>;
93
+ type ItemStatusResponse = z.infer<typeof itemStatusResponseSchema>;
94
+
95
+ /**
96
+ * Initialize Companies Api functions
97
+ * @param client Assortment Client instance
98
+ * @returns A CompanyBriefByOrg object containing Companies API functions
99
+ */
100
+ declare function createCompaniesApi(client: AsstClient): {
101
+ getCompanyBriefInfoByOrg: (params?: {
102
+ orgId?: string;
103
+ }, signal?: AbortSignal) => Promise<CompanyBriefByOrg>;
104
+ };
105
+
106
+ export { type ItemStatusResponse as I, type RetailerTradingPartnerStages as R, createCompaniesApi as c };