@spscommerce/asst-api 4.1.1 → 4.2.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 (73) hide show
  1. package/package.json +4 -4
  2. package/dist/CompanyBriefByOrg-57oGCtjK.d.ts +0 -3427
  3. package/dist/CompanyBriefByOrg-LTdsUKm4.d.ts +0 -3427
  4. package/dist/CompanyBriefByOrg-itus4RMD.d.cts +0 -131
  5. package/dist/CompanyBriefByOrg-itus4RMD.d.ts +0 -131
  6. package/dist/chunk-27XV7TS2.js +0 -522
  7. package/dist/chunk-2VJS5KPH.js +0 -5182
  8. package/dist/chunk-2W3LZ4AO.js +0 -513
  9. package/dist/chunk-3XNXQYIB.js +0 -521
  10. package/dist/chunk-4C475UZX.js +0 -5164
  11. package/dist/chunk-5AROSGQB.js +0 -5034
  12. package/dist/chunk-7F5CQRS2.js +0 -567
  13. package/dist/chunk-7OEXJIWW.js +0 -565
  14. package/dist/chunk-A22SEYVL.js +0 -530
  15. package/dist/chunk-AH5MG2WF.js +0 -5040
  16. package/dist/chunk-BDSSH6MN.js +0 -574
  17. package/dist/chunk-BFIQVABZ.js +0 -528
  18. package/dist/chunk-BJTO4CRW.js +0 -558
  19. package/dist/chunk-BLMS4KUD.js +0 -5164
  20. package/dist/chunk-BTNVA4NZ.js +0 -568
  21. package/dist/chunk-CNQTNX3M.js +0 -567
  22. package/dist/chunk-CUVSWUIQ.js +0 -5040
  23. package/dist/chunk-DP2ZMQG5.js +0 -4881
  24. package/dist/chunk-EMBJNPTB.js +0 -5040
  25. package/dist/chunk-EO2UMCWY.js +0 -574
  26. package/dist/chunk-FTB465WY.js +0 -575
  27. package/dist/chunk-G6A4EVAL.js +0 -528
  28. package/dist/chunk-GDARBI5R.js +0 -5185
  29. package/dist/chunk-HY2SRD5L.js +0 -5003
  30. package/dist/chunk-ISQ3LQRI.js +0 -565
  31. package/dist/chunk-KKX3CXHP.js +0 -558
  32. package/dist/chunk-LJVJ4SYE.js +0 -568
  33. package/dist/chunk-LYMA4XGG.js +0 -5181
  34. package/dist/chunk-MLAU3LFL.js +0 -527
  35. package/dist/chunk-MQREZR54.js +0 -5164
  36. package/dist/chunk-N4A4BVKV.js +0 -5163
  37. package/dist/chunk-QVEV57JA.js +0 -5185
  38. package/dist/chunk-SI7CWAHC.js +0 -574
  39. package/dist/chunk-SK6U2JDX.js +0 -566
  40. package/dist/chunk-SQBB5K5J.js +0 -574
  41. package/dist/chunk-TQ2IQDSM.js +0 -568
  42. package/dist/chunk-TTT6PM27.js +0 -558
  43. package/dist/chunk-VFMKDLXO.js +0 -570
  44. package/dist/chunk-VKPQOGVS.js +0 -565
  45. package/dist/chunk-VLLI4AYA.js +0 -520
  46. package/dist/chunk-VNFLJ5FV.js +0 -530
  47. package/dist/chunk-WNCDQJEM.js +0 -5034
  48. package/dist/chunk-XYZVRJF3.js +0 -5162
  49. package/dist/chunk-YJCJB4OT.js +0 -79
  50. package/dist/chunk-YJMQ4PGM.js +0 -559
  51. package/dist/chunk-Z6PXGHNC.js +0 -570
  52. package/dist/chunk-ZQ32XEVW.js +0 -79
  53. package/dist/chunk-ZXXDLGW7.js +0 -513
  54. package/dist/index-B8ovDTs5.d.cts +0 -14
  55. package/dist/index-BFKgtuVI.d.ts +0 -14
  56. package/dist/index-Zz-6wNSh.d.ts +0 -106
  57. package/dist/index-fgr_c5Wj.d.ts +0 -106
  58. package/dist/zod-6gU8y6oS.d.cts +0 -6712
  59. package/dist/zod-B4sIVoVX.d.ts +0 -6712
  60. package/dist/zod-BI81QHVK.d.ts +0 -6715
  61. package/dist/zod-BUCQsGOm.d.ts +0 -6712
  62. package/dist/zod-BdDmL7rg.d.ts +0 -6718
  63. package/dist/zod-Bl_5j5Nx.d.ts +0 -6712
  64. package/dist/zod-Bxu34bbp.d.ts +0 -6718
  65. package/dist/zod-C4kEHhO8.d.cts +0 -6718
  66. package/dist/zod-C5pRCHei.d.ts +0 -6712
  67. package/dist/zod-CIacR1Kf.d.cts +0 -6712
  68. package/dist/zod-DBbdP-KT.d.cts +0 -6718
  69. package/dist/zod-DzhoVlw_.d.cts +0 -6712
  70. package/dist/zod-FdtLO2-F.d.cts +0 -6715
  71. package/dist/zod-NE2xXWlK.d.ts +0 -3416
  72. package/dist/zod-lSiFMzqK.d.cts +0 -6712
  73. package/dist/zod-zxqlYYMG.d.ts +0 -3416
@@ -1,106 +0,0 @@
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 };