@simpleapps-com/augur-api 0.3.1 → 0.3.2

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 (165) hide show
  1. package/dist/cjs/core/base-client.js +2 -2
  2. package/dist/cjs/core/base-client.js.map +1 -1
  3. package/dist/cjs/core/schema-factories.d.ts +18 -18
  4. package/dist/cjs/index.d.ts +2 -2
  5. package/dist/cjs/index.d.ts.map +1 -1
  6. package/dist/cjs/index.js +1 -1
  7. package/dist/cjs/services/agr-site/client.d.ts +1 -1
  8. package/dist/cjs/services/agr-site/schemas/content.d.ts +2 -2
  9. package/dist/cjs/services/commerce/client.d.ts +8 -8
  10. package/dist/cjs/services/commerce/schemas/cart.d.ts +14 -14
  11. package/dist/cjs/services/commerce/schemas/checkout.d.ts +28 -28
  12. package/dist/cjs/services/commerce/schemas/recommendations.d.ts +8 -8
  13. package/dist/cjs/services/customers/client.d.ts +19 -19
  14. package/dist/cjs/services/customers/schemas/addresses.d.ts +104 -104
  15. package/dist/cjs/services/customers/schemas/contacts.d.ts +32 -32
  16. package/dist/cjs/services/items/client.d.ts +44 -44
  17. package/dist/cjs/services/items/schemas/attributes.d.ts +16 -16
  18. package/dist/cjs/services/items/schemas/categories.d.ts +18 -18
  19. package/dist/cjs/services/items/schemas/favorites.d.ts +2 -2
  20. package/dist/cjs/services/items/schemas/products.d.ts +88 -88
  21. package/dist/cjs/services/joomla/client.d.ts +39 -364
  22. package/dist/cjs/services/joomla/client.d.ts.map +1 -1
  23. package/dist/cjs/services/joomla/client.js +29 -23
  24. package/dist/cjs/services/joomla/client.js.map +1 -1
  25. package/dist/cjs/services/joomla/schemas/content.d.ts +13 -964
  26. package/dist/cjs/services/joomla/schemas/content.d.ts.map +1 -1
  27. package/dist/cjs/services/joomla/schemas/content.js +12 -88
  28. package/dist/cjs/services/joomla/schemas/content.js.map +1 -1
  29. package/dist/cjs/services/joomla/schemas/groups.d.ts +11 -455
  30. package/dist/cjs/services/joomla/schemas/groups.d.ts.map +1 -1
  31. package/dist/cjs/services/joomla/schemas/groups.js +10 -52
  32. package/dist/cjs/services/joomla/schemas/groups.js.map +1 -1
  33. package/dist/cjs/services/joomla/schemas/index.d.ts +113 -0
  34. package/dist/cjs/services/joomla/schemas/index.d.ts.map +1 -1
  35. package/dist/cjs/services/joomla/schemas/index.js +7 -1
  36. package/dist/cjs/services/joomla/schemas/index.js.map +1 -1
  37. package/dist/cjs/services/joomla/schemas/users.d.ts +40 -1505
  38. package/dist/cjs/services/joomla/schemas/users.d.ts.map +1 -1
  39. package/dist/cjs/services/joomla/schemas/users.js +27 -126
  40. package/dist/cjs/services/joomla/schemas/users.js.map +1 -1
  41. package/dist/cjs/services/legacy/schemas/inventory.d.ts +8 -8
  42. package/dist/cjs/services/open-search/client.d.ts +1 -1
  43. package/dist/cjs/services/open-search/schemas/attributes.d.ts +16 -16
  44. package/dist/cjs/services/open-search/schemas/search.d.ts +2 -2
  45. package/dist/cjs/services/orders/client.d.ts +2 -2
  46. package/dist/cjs/services/orders/schemas/purchase-orders.d.ts +12 -12
  47. package/dist/cjs/services/p21-core/schemas/company.d.ts +2 -2
  48. package/dist/cjs/services/p21-pim/client.d.ts +1 -1
  49. package/dist/cjs/services/p21-pim/schemas/podcasts.d.ts +2 -2
  50. package/dist/cjs/services/payments/schemas/unified.d.ts +2 -2
  51. package/dist/cjs/services/pricing/client.d.ts +2 -2
  52. package/dist/cjs/services/pricing/schemas/job-pricing.d.ts +14 -14
  53. package/dist/cjs/services/pricing/schemas/tax.d.ts +6 -6
  54. package/dist/cjs/services/slack/schemas.d.ts +4 -4
  55. package/dist/cjs/services/smarty-streets/schemas.d.ts +2 -2
  56. package/dist/cjs/services/ups/schemas.d.ts +24 -24
  57. package/dist/cjs/services/vmi/client.d.ts +4 -4
  58. package/dist/cjs/services/vmi/schemas/products.d.ts +2 -2
  59. package/dist/cjs/services/vmi/schemas/warehouse.d.ts +2 -2
  60. package/dist/esm/core/base-client.js +2 -2
  61. package/dist/esm/core/base-client.js.map +1 -1
  62. package/dist/esm/core/schema-factories.d.ts +18 -18
  63. package/dist/esm/index.d.ts +2 -2
  64. package/dist/esm/index.d.ts.map +1 -1
  65. package/dist/esm/index.js +1 -1
  66. package/dist/esm/services/agr-site/client.d.ts +1 -1
  67. package/dist/esm/services/agr-site/schemas/content.d.ts +2 -2
  68. package/dist/esm/services/commerce/client.d.ts +8 -8
  69. package/dist/esm/services/commerce/schemas/cart.d.ts +14 -14
  70. package/dist/esm/services/commerce/schemas/checkout.d.ts +28 -28
  71. package/dist/esm/services/commerce/schemas/recommendations.d.ts +8 -8
  72. package/dist/esm/services/customers/client.d.ts +19 -19
  73. package/dist/esm/services/customers/schemas/addresses.d.ts +104 -104
  74. package/dist/esm/services/customers/schemas/contacts.d.ts +32 -32
  75. package/dist/esm/services/items/client.d.ts +44 -44
  76. package/dist/esm/services/items/schemas/attributes.d.ts +16 -16
  77. package/dist/esm/services/items/schemas/categories.d.ts +18 -18
  78. package/dist/esm/services/items/schemas/favorites.d.ts +2 -2
  79. package/dist/esm/services/items/schemas/products.d.ts +88 -88
  80. package/dist/esm/services/joomla/client.d.ts +39 -364
  81. package/dist/esm/services/joomla/client.d.ts.map +1 -1
  82. package/dist/esm/services/joomla/client.js +36 -24
  83. package/dist/esm/services/joomla/client.js.map +1 -1
  84. package/dist/esm/services/joomla/schemas/content.d.ts +13 -964
  85. package/dist/esm/services/joomla/schemas/content.d.ts.map +1 -1
  86. package/dist/esm/services/joomla/schemas/content.js +13 -87
  87. package/dist/esm/services/joomla/schemas/content.js.map +1 -1
  88. package/dist/esm/services/joomla/schemas/groups.d.ts +11 -455
  89. package/dist/esm/services/joomla/schemas/groups.d.ts.map +1 -1
  90. package/dist/esm/services/joomla/schemas/groups.js +11 -51
  91. package/dist/esm/services/joomla/schemas/groups.js.map +1 -1
  92. package/dist/esm/services/joomla/schemas/index.d.ts +113 -0
  93. package/dist/esm/services/joomla/schemas/index.d.ts.map +1 -1
  94. package/dist/esm/services/joomla/schemas/index.js +6 -1
  95. package/dist/esm/services/joomla/schemas/index.js.map +1 -1
  96. package/dist/esm/services/joomla/schemas/users.d.ts +40 -1505
  97. package/dist/esm/services/joomla/schemas/users.d.ts.map +1 -1
  98. package/dist/esm/services/joomla/schemas/users.js +27 -126
  99. package/dist/esm/services/joomla/schemas/users.js.map +1 -1
  100. package/dist/esm/services/legacy/schemas/inventory.d.ts +8 -8
  101. package/dist/esm/services/open-search/client.d.ts +1 -1
  102. package/dist/esm/services/open-search/schemas/attributes.d.ts +16 -16
  103. package/dist/esm/services/open-search/schemas/search.d.ts +2 -2
  104. package/dist/esm/services/orders/client.d.ts +2 -2
  105. package/dist/esm/services/orders/schemas/purchase-orders.d.ts +12 -12
  106. package/dist/esm/services/p21-core/schemas/company.d.ts +2 -2
  107. package/dist/esm/services/p21-pim/client.d.ts +1 -1
  108. package/dist/esm/services/p21-pim/schemas/podcasts.d.ts +2 -2
  109. package/dist/esm/services/payments/schemas/unified.d.ts +2 -2
  110. package/dist/esm/services/pricing/client.d.ts +2 -2
  111. package/dist/esm/services/pricing/schemas/job-pricing.d.ts +14 -14
  112. package/dist/esm/services/pricing/schemas/tax.d.ts +6 -6
  113. package/dist/esm/services/slack/schemas.d.ts +4 -4
  114. package/dist/esm/services/smarty-streets/schemas.d.ts +2 -2
  115. package/dist/esm/services/ups/schemas.d.ts +24 -24
  116. package/dist/esm/services/vmi/client.d.ts +4 -4
  117. package/dist/esm/services/vmi/schemas/products.d.ts +2 -2
  118. package/dist/esm/services/vmi/schemas/warehouse.d.ts +2 -2
  119. package/dist/types/core/schema-factories.d.ts +18 -18
  120. package/dist/types/index.d.ts +2 -2
  121. package/dist/types/index.d.ts.map +1 -1
  122. package/dist/types/services/agr-site/client.d.ts +1 -1
  123. package/dist/types/services/agr-site/schemas/content.d.ts +2 -2
  124. package/dist/types/services/commerce/client.d.ts +8 -8
  125. package/dist/types/services/commerce/schemas/cart.d.ts +14 -14
  126. package/dist/types/services/commerce/schemas/checkout.d.ts +28 -28
  127. package/dist/types/services/commerce/schemas/recommendations.d.ts +8 -8
  128. package/dist/types/services/customers/client.d.ts +19 -19
  129. package/dist/types/services/customers/schemas/addresses.d.ts +104 -104
  130. package/dist/types/services/customers/schemas/contacts.d.ts +32 -32
  131. package/dist/types/services/items/client.d.ts +44 -44
  132. package/dist/types/services/items/schemas/attributes.d.ts +16 -16
  133. package/dist/types/services/items/schemas/categories.d.ts +18 -18
  134. package/dist/types/services/items/schemas/favorites.d.ts +2 -2
  135. package/dist/types/services/items/schemas/products.d.ts +88 -88
  136. package/dist/types/services/joomla/client.d.ts +39 -364
  137. package/dist/types/services/joomla/client.d.ts.map +1 -1
  138. package/dist/types/services/joomla/schemas/content.d.ts +13 -964
  139. package/dist/types/services/joomla/schemas/content.d.ts.map +1 -1
  140. package/dist/types/services/joomla/schemas/groups.d.ts +11 -455
  141. package/dist/types/services/joomla/schemas/groups.d.ts.map +1 -1
  142. package/dist/types/services/joomla/schemas/index.d.ts +113 -0
  143. package/dist/types/services/joomla/schemas/index.d.ts.map +1 -1
  144. package/dist/types/services/joomla/schemas/users.d.ts +40 -1505
  145. package/dist/types/services/joomla/schemas/users.d.ts.map +1 -1
  146. package/dist/types/services/legacy/schemas/inventory.d.ts +8 -8
  147. package/dist/types/services/open-search/client.d.ts +1 -1
  148. package/dist/types/services/open-search/schemas/attributes.d.ts +16 -16
  149. package/dist/types/services/open-search/schemas/search.d.ts +2 -2
  150. package/dist/types/services/orders/client.d.ts +2 -2
  151. package/dist/types/services/orders/schemas/purchase-orders.d.ts +12 -12
  152. package/dist/types/services/p21-core/schemas/company.d.ts +2 -2
  153. package/dist/types/services/p21-pim/client.d.ts +1 -1
  154. package/dist/types/services/p21-pim/schemas/podcasts.d.ts +2 -2
  155. package/dist/types/services/payments/schemas/unified.d.ts +2 -2
  156. package/dist/types/services/pricing/client.d.ts +2 -2
  157. package/dist/types/services/pricing/schemas/job-pricing.d.ts +14 -14
  158. package/dist/types/services/pricing/schemas/tax.d.ts +6 -6
  159. package/dist/types/services/slack/schemas.d.ts +4 -4
  160. package/dist/types/services/smarty-streets/schemas.d.ts +2 -2
  161. package/dist/types/services/ups/schemas.d.ts +24 -24
  162. package/dist/types/services/vmi/client.d.ts +4 -4
  163. package/dist/types/services/vmi/schemas/products.d.ts +2 -2
  164. package/dist/types/services/vmi/schemas/warehouse.d.ts +2 -2
  165. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../../src/services/joomla/schemas/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBrB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;EAK/B,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC;AAC9E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK9B,CAAC;AAGF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,eAAO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AAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,36 +1,20 @@
1
1
  import { z } from 'zod';
2
- import { BaseResponseSchema, BaseGetParamsSchema } from '../../../core/schemas';
3
- import { flexibleUserFields } from '../../../core/flexible-schemas';
4
- // User schemas - based on actual API response
5
- export const UserSchema = z.object({
6
- id: z.number(),
7
- username: z.string().min(1, 'Username cannot be empty'),
8
- email: z.string().email('Invalid email format'),
9
- name: z.string(),
10
- registerDate: z.string(),
11
- lastvisitDate: z.string(),
12
- lastResetTime: z.string().optional(),
13
- activation: z.string().optional(),
14
- block: z.number().optional(),
15
- timezone: z.string().optional(),
16
- language: z.string().optional(),
17
- customerId: z.string().optional(),
18
- contactId: z.string().optional(),
19
- profileValues: flexibleUserFields.profileValues, // Handles both object and array formats
20
- groups: flexibleUserFields.groups, // Handles various group data formats
21
- });
22
- export const UserListParamsSchema = BaseGetParamsSchema.extend({
23
- limit: z.number().optional().default(10),
24
- offset: z.number().optional().default(0),
25
- orderBy: z.string().optional(),
26
- q: z.string().optional(),
27
- });
28
- // Response schemas using BaseResponseSchema (8-field format)
29
- export const UserListResponseSchema = BaseResponseSchema(z.array(UserSchema));
30
- export const UserResponseSchema = BaseResponseSchema(z.union([
31
- UserSchema,
32
- z.boolean(), // False when user is not found
33
- ]));
2
+ import { BaseResponseSchema } from '../../../core/schemas';
3
+ /**
4
+ * Joomla Users Schemas - ONLY for endpoints with OpenAPI response schema definitions
5
+ *
6
+ * OpenAPI spec defines response schema for:
7
+ * ✅ /users/verify-password (POST) - Complete schema defined
8
+ *
9
+ * OpenAPI spec does NOT define response schemas for:
10
+ * ❌ /users (GET) - Use GenericListResponse
11
+ * ❌ /users/{id} (GET) - Use GenericResponse
12
+ * ❌ /users/{id}/doc (GET) - Use GenericResponse
13
+ * ❌ /users/{id}/trinity (GET) - Use GenericResponse
14
+ * ❌ /users/{id}/groups (GET) - Use GenericResponse
15
+ *
16
+ * Use GenericResponse and GenericListResponse from index.ts for non-spec endpoints.
17
+ */
34
18
  // Password verification schemas
35
19
  export const VerifyPasswordRequestSchema = z.object({
36
20
  username: z.string().min(1, 'Username is required'),
@@ -41,93 +25,16 @@ export const VerifyPasswordDataSchema = z.object({
41
25
  id: z.number(),
42
26
  isVerified: z.boolean(),
43
27
  username: z.string(),
44
- token: z.union([z.string(), z.boolean()]), // string when verified, false when not
28
+ token: z.string(), // JWT authentication token for successful verification (per OpenAPI spec)
45
29
  email: z.string(),
46
30
  });
47
31
  export const VerifyPasswordResponseSchema = BaseResponseSchema(VerifyPasswordDataSchema);
48
- // User document schemas
49
- export const UserDocumentDataSchema = z.union([
50
- z.object({
51
- id: z.number(),
52
- name: z.string(),
53
- username: z.string(),
54
- email: z.string(),
55
- block: z.number(),
56
- registerDate: z.string(),
57
- lastvisitDate: z.string(),
58
- lastResetTime: z.string(),
59
- timezone: z.string(),
60
- language: z.string(),
61
- customerId: z.string(),
62
- contactId: z.string(),
63
- profileValues: z.record(z.union([z.string(), z.array(z.string())])),
64
- groups: z.array(z
65
- .object({
66
- id: z.number(),
67
- title: z.string(),
68
- })
69
- .passthrough()),
70
- }),
71
- z.boolean(), // False when user not found or access denied
72
- ]);
73
- export const UserDocumentResponseSchema = BaseResponseSchema(UserDocumentDataSchema);
74
- // Trinity user doc schemas
75
- export const TrinityDocParamsSchema = BaseGetParamsSchema.extend({
76
- limit: z.number().optional().default(10),
77
- offset: z.number().optional().default(0),
78
- orderBy: z.string().optional(),
79
- q: z.string().optional(),
80
- });
81
- export const TrinityDocDataSchema = z.object({
82
- profile: z.object({
83
- id: z.number(),
84
- name: z.string(),
85
- username: z.string(),
86
- email: z.string(),
87
- lastvisitDate: z.string(),
88
- registerDate: z.string(),
89
- block: z.number(),
90
- contactId: z.union([z.number(), z.null()]),
91
- customerId: z.union([z.number(), z.null()]),
92
- contractNo: z.union([z.string(), z.null()]),
93
- shipTo: z.union([z.string(), z.null()]),
94
- phone: z.union([z.string(), z.null()]),
95
- title: z.union([z.string(), z.null()]),
96
- companyName: z.union([z.string(), z.null()]),
97
- approved: z.union([z.number(), z.null()]),
98
- }),
99
- p21Role: z.union([
100
- z.object({
101
- contactRoleUid: z.number(),
102
- contactRoleId: z.number(),
103
- contactRoleName: z.string(),
104
- parentName: z.string(),
105
- parentGroupId: z.number(),
106
- groupId: z.number(),
107
- id: z.number(),
108
- address: z
109
- .object({
110
- physState: z.union([z.string(), z.null()]),
111
- mailState: z.union([z.string(), z.null()]),
112
- })
113
- .passthrough(), // Allow additional properties
114
- }),
115
- z.null(),
116
- ]),
117
- groups: z.array(z
118
- .object({
119
- id: z.number(),
120
- title: z.string(),
121
- })
122
- .passthrough() // Allow additional properties like level
123
- ),
124
- territory: z.string(),
125
- role: z.string(),
126
- });
127
- export const TrinityDocResponseSchema = BaseResponseSchema(TrinityDocDataSchema).and(z.object({
128
- runTime: z.number().optional(),
129
- }));
130
- // User creation schemas - using request body (OpenAPI spec incomplete for this endpoint)
32
+ // User document schemas - REMOVED: No OpenAPI response schema defined
33
+ // Use GenericResponse from index.ts instead
34
+ // Trinity user doc schemas - REMOVED: No OpenAPI response schema defined
35
+ // Use GenericResponse from index.ts instead
36
+ // User creation schemas - REMOVED: No OpenAPI response schema defined
37
+ // Request schema kept for input validation (based on request body spec)
131
38
  export const CreateUserRequestSchema = z.object({
132
39
  username: z.string().min(1, 'Username is required').max(150),
133
40
  email: z.string().email('Valid email is required').max(100),
@@ -136,13 +43,9 @@ export const CreateUserRequestSchema = z.object({
136
43
  groups: z.array(z.number()).optional(),
137
44
  profileValues: z.record(z.string()).optional(),
138
45
  });
139
- export const CreateUserResponseSchema = BaseResponseSchema(z.object({
140
- id: z.number(),
141
- username: z.string(),
142
- email: z.string(),
143
- name: z.string(),
144
- }));
145
- // User update schemas
46
+ // Response schema removed - use GenericResponse from index.ts
47
+ // User update schemas - REMOVED: No OpenAPI response schema defined
48
+ // Request schema kept for input validation (based on request body spec)
146
49
  export const UpdateUserRequestSchema = z.object({
147
50
  name: z.string().max(400).optional(),
148
51
  username: z.string().max(150).optional(),
@@ -150,7 +53,5 @@ export const UpdateUserRequestSchema = z.object({
150
53
  password: z.string().max(100).optional(),
151
54
  profileValues: z.record(z.union([z.string(), z.array(z.string())])).optional(),
152
55
  });
153
- export const UpdateUserResponseSchema = BaseResponseSchema(z.boolean());
154
- // Block user response schema
155
- export const BlockUserResponseSchema = BaseResponseSchema(z.boolean());
56
+ // All other response types use GenericResponse and GenericListResponse from index.ts
156
57
  //# sourceMappingURL=users.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../../src/services/joomla/schemas/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,8CAA8C;AAC9C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,0BAA0B,CAAC;IACvD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAsB,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,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,GAAG,CAAC,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC7C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC/E,CAAC,CAAC;AAcH,qFAAqF"}
@@ -118,7 +118,6 @@ export declare const AlsoBoughtProductSchema: z.ZodObject<{
118
118
  classId5?: string | null | undefined;
119
119
  }>, z.ZodBoolean]>>;
120
120
  }, "strip", z.ZodTypeAny, {
121
- images: string[];
122
121
  invMastUid: number;
123
122
  itemId: string;
124
123
  deleteFlag: "Y" | "N";
@@ -133,6 +132,7 @@ export declare const AlsoBoughtProductSchema: z.ZodObject<{
133
132
  alternateCodes: string[];
134
133
  legacyTags: string[];
135
134
  attributes: {}[];
135
+ images: string[];
136
136
  categoryList: number[];
137
137
  userDefined: Record<string, unknown>;
138
138
  invMastText: {
@@ -192,7 +192,6 @@ export declare const AlsoBoughtProductSchema: z.ZodObject<{
192
192
  classId5?: string | null | undefined;
193
193
  } | undefined;
194
194
  }, {
195
- images: string[];
196
195
  invMastUid: number;
197
196
  itemId: string;
198
197
  deleteFlag: "Y" | "N";
@@ -207,6 +206,7 @@ export declare const AlsoBoughtProductSchema: z.ZodObject<{
207
206
  alternateCodes: string[];
208
207
  legacyTags: string[];
209
208
  attributes: {}[];
209
+ images: string[];
210
210
  categoryList: number[];
211
211
  userDefined: Record<string, unknown>;
212
212
  invMastText: {
@@ -562,7 +562,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
562
562
  classId5?: string | null | undefined;
563
563
  }>, z.ZodBoolean]>>;
564
564
  }, "strip", z.ZodTypeAny, {
565
- images: string[];
566
565
  invMastUid: number;
567
566
  itemId: string;
568
567
  deleteFlag: "Y" | "N";
@@ -577,6 +576,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
577
576
  alternateCodes: string[];
578
577
  legacyTags: string[];
579
578
  attributes: {}[];
579
+ images: string[];
580
580
  categoryList: number[];
581
581
  userDefined: Record<string, unknown>;
582
582
  invMastText: {
@@ -636,7 +636,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
636
636
  classId5?: string | null | undefined;
637
637
  } | undefined;
638
638
  }, {
639
- images: string[];
640
639
  invMastUid: number;
641
640
  itemId: string;
642
641
  deleteFlag: "Y" | "N";
@@ -651,6 +650,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
651
650
  alternateCodes: string[];
652
651
  legacyTags: string[];
653
652
  attributes: {}[];
653
+ images: string[];
654
654
  categoryList: number[];
655
655
  userDefined: Record<string, unknown>;
656
656
  invMastText: {
@@ -719,7 +719,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
719
719
  }, "strip", z.ZodTypeAny, {
720
720
  params: Record<string, unknown> | unknown[];
721
721
  data: {
722
- images: string[];
723
722
  invMastUid: number;
724
723
  itemId: string;
725
724
  deleteFlag: "Y" | "N";
@@ -734,6 +733,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
734
733
  alternateCodes: string[];
735
734
  legacyTags: string[];
736
735
  attributes: {}[];
736
+ images: string[];
737
737
  categoryList: number[];
738
738
  userDefined: Record<string, unknown>;
739
739
  invMastText: {
@@ -802,7 +802,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
802
802
  }, {
803
803
  params: Record<string, unknown> | unknown[];
804
804
  data: {
805
- images: string[];
806
805
  invMastUid: number;
807
806
  itemId: string;
808
807
  deleteFlag: "Y" | "N";
@@ -817,6 +816,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
817
816
  alternateCodes: string[];
818
817
  legacyTags: string[];
819
818
  attributes: {}[];
819
+ images: string[];
820
820
  categoryList: number[];
821
821
  userDefined: Record<string, unknown>;
822
822
  invMastText: {
@@ -885,7 +885,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
885
885
  }>, {
886
886
  params: Record<string, unknown> | unknown[];
887
887
  data: {
888
- images: string[];
889
888
  invMastUid: number;
890
889
  itemId: string;
891
890
  deleteFlag: "Y" | "N";
@@ -900,6 +899,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
900
899
  alternateCodes: string[];
901
900
  legacyTags: string[];
902
901
  attributes: {}[];
902
+ images: string[];
903
903
  categoryList: number[];
904
904
  userDefined: Record<string, unknown>;
905
905
  invMastText: {
@@ -968,7 +968,6 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
968
968
  }, {
969
969
  params: Record<string, unknown> | unknown[];
970
970
  data: {
971
- images: string[];
972
971
  invMastUid: number;
973
972
  itemId: string;
974
973
  deleteFlag: "Y" | "N";
@@ -983,6 +982,7 @@ export declare const AlsoBoughtListResponseSchema: z.ZodEffects<z.ZodObject<{
983
982
  alternateCodes: string[];
984
983
  legacyTags: string[];
985
984
  attributes: {}[];
985
+ images: string[];
986
986
  categoryList: number[];
987
987
  userDefined: Record<string, unknown>;
988
988
  invMastText: {
@@ -126,12 +126,12 @@ export declare class OpenSearchClient extends BaseServiceClient {
126
126
  sort?: string | undefined;
127
127
  limit?: number | undefined;
128
128
  offset?: number | undefined;
129
- fields?: string | undefined;
130
129
  searchType?: "query" | "similarity" | undefined;
131
130
  cacheTtl?: number | undefined;
132
131
  cacheSiteId?: string | undefined;
133
132
  classId5ExcludeList?: string | undefined;
134
133
  classId5List?: string | undefined;
134
+ fields?: string | undefined;
135
135
  filters?: string | undefined;
136
136
  from?: number | undefined;
137
137
  itemCategoryUidList?: string | undefined;
@@ -26,9 +26,9 @@ export declare const SearchAttributesParamsSchema: z.ZodObject<{
26
26
  sort?: string | undefined;
27
27
  limit?: number | undefined;
28
28
  offset?: number | undefined;
29
- fields?: string | undefined;
30
29
  cacheSiteId?: string | undefined;
31
30
  classId5List?: string | undefined;
31
+ fields?: string | undefined;
32
32
  filters?: string | undefined;
33
33
  from?: number | undefined;
34
34
  operator?: string | undefined;
@@ -41,11 +41,11 @@ export declare const SearchAttributesParamsSchema: z.ZodObject<{
41
41
  sort?: string | undefined;
42
42
  limit?: number | undefined;
43
43
  offset?: number | undefined;
44
- fields?: string | undefined;
45
44
  searchType?: "query" | "similarity" | undefined;
46
45
  cacheTtl?: number | undefined;
47
46
  cacheSiteId?: string | undefined;
48
47
  classId5List?: string | undefined;
48
+ fields?: string | undefined;
49
49
  filters?: string | undefined;
50
50
  from?: number | undefined;
51
51
  operator?: string | undefined;
@@ -91,9 +91,9 @@ export declare const AttributeSchema: z.ZodObject<{
91
91
  attributeValueUid: number;
92
92
  attributeValue: string;
93
93
  }[];
94
- attributeId: string;
95
94
  sequenceNo: number;
96
95
  attributeUid: number;
96
+ attributeId: string;
97
97
  attributeDesc: string;
98
98
  valueCount: number;
99
99
  }, {
@@ -102,9 +102,9 @@ export declare const AttributeSchema: z.ZodObject<{
102
102
  attributeValueUid: number;
103
103
  attributeValue: string;
104
104
  }[];
105
- attributeId: string;
106
105
  sequenceNo: number;
107
106
  attributeUid: number;
107
+ attributeId: string;
108
108
  attributeDesc: string;
109
109
  valueCount: number;
110
110
  }>;
@@ -134,9 +134,9 @@ export declare const SearchAttributesDataSchema: z.ZodObject<{
134
134
  attributeValueUid: number;
135
135
  attributeValue: string;
136
136
  }[];
137
- attributeId: string;
138
137
  sequenceNo: number;
139
138
  attributeUid: number;
139
+ attributeId: string;
140
140
  attributeDesc: string;
141
141
  valueCount: number;
142
142
  }, {
@@ -145,9 +145,9 @@ export declare const SearchAttributesDataSchema: z.ZodObject<{
145
145
  attributeValueUid: number;
146
146
  attributeValue: string;
147
147
  }[];
148
- attributeId: string;
149
148
  sequenceNo: number;
150
149
  attributeUid: number;
150
+ attributeId: string;
151
151
  attributeDesc: string;
152
152
  valueCount: number;
153
153
  }>, "many">;
@@ -158,9 +158,9 @@ export declare const SearchAttributesDataSchema: z.ZodObject<{
158
158
  attributeValueUid: number;
159
159
  attributeValue: string;
160
160
  }[];
161
- attributeId: string;
162
161
  sequenceNo: number;
163
162
  attributeUid: number;
163
+ attributeId: string;
164
164
  attributeDesc: string;
165
165
  valueCount: number;
166
166
  }[];
@@ -171,9 +171,9 @@ export declare const SearchAttributesDataSchema: z.ZodObject<{
171
171
  attributeValueUid: number;
172
172
  attributeValue: string;
173
173
  }[];
174
- attributeId: string;
175
174
  sequenceNo: number;
176
175
  attributeUid: number;
176
+ attributeId: string;
177
177
  attributeDesc: string;
178
178
  valueCount: number;
179
179
  }[];
@@ -206,9 +206,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
206
206
  attributeValueUid: number;
207
207
  attributeValue: string;
208
208
  }[];
209
- attributeId: string;
210
209
  sequenceNo: number;
211
210
  attributeUid: number;
211
+ attributeId: string;
212
212
  attributeDesc: string;
213
213
  valueCount: number;
214
214
  }, {
@@ -217,9 +217,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
217
217
  attributeValueUid: number;
218
218
  attributeValue: string;
219
219
  }[];
220
- attributeId: string;
221
220
  sequenceNo: number;
222
221
  attributeUid: number;
222
+ attributeId: string;
223
223
  attributeDesc: string;
224
224
  valueCount: number;
225
225
  }>, "many">;
@@ -230,9 +230,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
230
230
  attributeValueUid: number;
231
231
  attributeValue: string;
232
232
  }[];
233
- attributeId: string;
234
233
  sequenceNo: number;
235
234
  attributeUid: number;
235
+ attributeId: string;
236
236
  attributeDesc: string;
237
237
  valueCount: number;
238
238
  }[];
@@ -243,9 +243,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
243
243
  attributeValueUid: number;
244
244
  attributeValue: string;
245
245
  }[];
246
- attributeId: string;
247
246
  sequenceNo: number;
248
247
  attributeUid: number;
248
+ attributeId: string;
249
249
  attributeDesc: string;
250
250
  valueCount: number;
251
251
  }[];
@@ -265,9 +265,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
265
265
  attributeValueUid: number;
266
266
  attributeValue: string;
267
267
  }[];
268
- attributeId: string;
269
268
  sequenceNo: number;
270
269
  attributeUid: number;
270
+ attributeId: string;
271
271
  attributeDesc: string;
272
272
  valueCount: number;
273
273
  }[];
@@ -287,9 +287,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
287
287
  attributeValueUid: number;
288
288
  attributeValue: string;
289
289
  }[];
290
- attributeId: string;
291
290
  sequenceNo: number;
292
291
  attributeUid: number;
292
+ attributeId: string;
293
293
  attributeDesc: string;
294
294
  valueCount: number;
295
295
  }[];
@@ -309,9 +309,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
309
309
  attributeValueUid: number;
310
310
  attributeValue: string;
311
311
  }[];
312
- attributeId: string;
313
312
  sequenceNo: number;
314
313
  attributeUid: number;
314
+ attributeId: string;
315
315
  attributeDesc: string;
316
316
  valueCount: number;
317
317
  }[];
@@ -331,9 +331,9 @@ export declare const SearchAttributesResponseSchema: z.ZodEffects<z.ZodObject<{
331
331
  attributeValueUid: number;
332
332
  attributeValue: string;
333
333
  }[];
334
- attributeId: string;
335
334
  sequenceNo: number;
336
335
  attributeUid: number;
336
+ attributeId: string;
337
337
  attributeDesc: string;
338
338
  valueCount: number;
339
339
  }[];
@@ -32,10 +32,10 @@ export declare const ItemSearchParamsSchema: z.ZodObject<{
32
32
  sort?: string | undefined;
33
33
  limit?: number | undefined;
34
34
  offset?: number | undefined;
35
- fields?: string | undefined;
36
35
  cacheSiteId?: string | undefined;
37
36
  classId5ExcludeList?: string | undefined;
38
37
  classId5List?: string | undefined;
38
+ fields?: string | undefined;
39
39
  filters?: string | undefined;
40
40
  from?: number | undefined;
41
41
  itemCategoryUidList?: string | undefined;
@@ -49,12 +49,12 @@ export declare const ItemSearchParamsSchema: z.ZodObject<{
49
49
  sort?: string | undefined;
50
50
  limit?: number | undefined;
51
51
  offset?: number | undefined;
52
- fields?: string | undefined;
53
52
  searchType?: "query" | "similarity" | undefined;
54
53
  cacheTtl?: number | undefined;
55
54
  cacheSiteId?: string | undefined;
56
55
  classId5ExcludeList?: string | undefined;
57
56
  classId5List?: string | undefined;
57
+ fields?: string | undefined;
58
58
  filters?: string | undefined;
59
59
  from?: number | undefined;
60
60
  itemCategoryUidList?: string | undefined;
@@ -711,8 +711,8 @@ export declare class OrdersClient extends BaseServiceClient {
711
711
  invoices?: unknown[] | undefined;
712
712
  poDate?: string | undefined;
713
713
  vendorAddress?: {
714
- state?: string | undefined;
715
714
  city?: string | undefined;
715
+ state?: string | undefined;
716
716
  address1?: string | undefined;
717
717
  zip?: string | undefined;
718
718
  } | undefined;
@@ -760,8 +760,8 @@ export declare class OrdersClient extends BaseServiceClient {
760
760
  invoices?: unknown[] | undefined;
761
761
  poDate?: string | undefined;
762
762
  vendorAddress?: {
763
- state?: string | undefined;
764
763
  city?: string | undefined;
764
+ state?: string | undefined;
765
765
  address1?: string | undefined;
766
766
  zip?: string | undefined;
767
767
  } | undefined;