@spscommerce/asst-api 1.2.0 → 1.3.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.
@@ -1,3427 +0,0 @@
1
- import * as ky from 'ky';
2
- import { Options } from 'ky';
3
- import { z } from 'zod';
4
-
5
- declare const baseUrlsSchema: z.ZodObject<{
6
- local: z.ZodLiteral<"https://localhost:8443/">;
7
- test: z.ZodLiteral<"https://integration.api.spscommerce.com/assortment/gateway/">;
8
- prod: z.ZodLiteral<"https://api.spscommerce.com/assortment/gateway/">;
9
- }, "strip", z.ZodTypeAny, {
10
- local: "https://localhost:8443/";
11
- test: "https://integration.api.spscommerce.com/assortment/gateway/";
12
- prod: "https://api.spscommerce.com/assortment/gateway/";
13
- }, {
14
- local: "https://localhost:8443/";
15
- test: "https://integration.api.spscommerce.com/assortment/gateway/";
16
- prod: "https://api.spscommerce.com/assortment/gateway/";
17
- }>;
18
- type BaseUrls = z.infer<typeof baseUrlsSchema>;
19
- declare const BASE_URLS: BaseUrls;
20
- declare const envSchema: z.ZodEnum<["local", "test", "prod"]>;
21
- type Env = z.infer<typeof envSchema>;
22
- type AsstUrl = BaseUrls[Env];
23
- interface AsstClientOptions extends Options {
24
- prefixUrl?: AsstUrl;
25
- }
26
- type Input = string | URL | Request;
27
- type Listener = (config: AsstClientOptions) => void;
28
- declare class AsstClient {
29
- #private;
30
- constructor(options?: AsstClientOptions);
31
- updateConfig(options: AsstClientOptions): void;
32
- getBaseUrl(): AsstUrl;
33
- /**
34
- * Subscribe to config changes. The callback will be immediately invoked with the current config.
35
- * @param subscriptionCallback Function that will be called with the new config every time it is changed
36
- * @returns Function to unsubscribe to config changes
37
- */
38
- subscribeToConfigChange(listener: Listener): () => boolean;
39
- get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
40
- post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
41
- put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
42
- patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
43
- head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
44
- delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
45
- }
46
-
47
- declare const importSchema: z.ZodObject<{
48
- count: z.ZodNumber;
49
- imports: z.ZodArray<z.ZodObject<{
50
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
- errorCount: z.ZodNumber;
52
- importId: z.ZodNumber;
53
- name: z.ZodString;
54
- startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- status: z.ZodString;
56
- uploadedAt: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
58
- status: string;
59
- errorCount: number;
60
- importId: number;
61
- name: string;
62
- uploadedAt: string;
63
- completedAt?: number | null | undefined;
64
- startedAt?: string | null | undefined;
65
- }, {
66
- status: string;
67
- errorCount: number;
68
- importId: number;
69
- name: string;
70
- uploadedAt: string;
71
- completedAt?: number | null | undefined;
72
- startedAt?: string | null | undefined;
73
- }>, "many">;
74
- }, "strip", z.ZodTypeAny, {
75
- count: number;
76
- imports: {
77
- status: string;
78
- errorCount: number;
79
- importId: number;
80
- name: string;
81
- uploadedAt: string;
82
- completedAt?: number | null | undefined;
83
- startedAt?: string | null | undefined;
84
- }[];
85
- }, {
86
- count: number;
87
- imports: {
88
- status: string;
89
- errorCount: number;
90
- importId: number;
91
- name: string;
92
- uploadedAt: string;
93
- completedAt?: number | null | undefined;
94
- startedAt?: string | null | undefined;
95
- }[];
96
- }>;
97
- type Import = z.infer<typeof importSchema>;
98
-
99
- declare const importErrorsSchema: z.ZodObject<{
100
- count: z.ZodNumber;
101
- errors: z.ZodArray<z.ZodObject<{
102
- attribute: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
- description: z.ZodString;
104
- importErrorId: z.ZodNumber;
105
- row: z.ZodNumber;
106
- }, "strip", z.ZodTypeAny, {
107
- description: string;
108
- importErrorId: number;
109
- row: number;
110
- attribute?: string | null | undefined;
111
- }, {
112
- description: string;
113
- importErrorId: number;
114
- row: number;
115
- attribute?: string | null | undefined;
116
- }>, "many">;
117
- hasNext: z.ZodBoolean;
118
- importId: z.ZodNumber;
119
- totalCount: z.ZodNumber;
120
- }, "strip", z.ZodTypeAny, {
121
- importId: number;
122
- count: number;
123
- errors: {
124
- description: string;
125
- importErrorId: number;
126
- row: number;
127
- attribute?: string | null | undefined;
128
- }[];
129
- hasNext: boolean;
130
- totalCount: number;
131
- }, {
132
- importId: number;
133
- count: number;
134
- errors: {
135
- description: string;
136
- importErrorId: number;
137
- row: number;
138
- attribute?: string | null | undefined;
139
- }[];
140
- hasNext: boolean;
141
- totalCount: number;
142
- }>;
143
- type ImportErrors = z.infer<typeof importErrorsSchema>;
144
-
145
- declare const importsStatusSchema: z.ZodObject<{
146
- completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
- docInEventId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
- errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
149
- importId: z.ZodNumber;
150
- invalidItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
151
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
- status: z.ZodEnum<["QUEUED_FOR_IMPORT", "IN_PROGRESS", "DOC_FAILED", "VALIDATION_FAILED", "COMPLETED"]>;
153
- totalItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
154
- validItemCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
155
- }, "strip", z.ZodTypeAny, {
156
- status: "QUEUED_FOR_IMPORT" | "IN_PROGRESS" | "DOC_FAILED" | "VALIDATION_FAILED" | "COMPLETED";
157
- importId: number;
158
- completedAt?: string | null | undefined;
159
- errorCount?: number | null | undefined;
160
- name?: string | null | undefined;
161
- docInEventId?: string | null | undefined;
162
- invalidItemCount?: number | null | undefined;
163
- totalItemCount?: number | null | undefined;
164
- validItemCount?: number | null | undefined;
165
- }, {
166
- status: "QUEUED_FOR_IMPORT" | "IN_PROGRESS" | "DOC_FAILED" | "VALIDATION_FAILED" | "COMPLETED";
167
- importId: number;
168
- completedAt?: string | null | undefined;
169
- errorCount?: number | null | undefined;
170
- name?: string | null | undefined;
171
- docInEventId?: string | null | undefined;
172
- invalidItemCount?: number | null | undefined;
173
- totalItemCount?: number | null | undefined;
174
- validItemCount?: number | null | undefined;
175
- }>;
176
- type ImportsStatus = z.infer<typeof importsStatusSchema>;
177
-
178
- declare const vendorPartnerAttGroupsSchema: z.ZodObject<{
179
- partnerCompanyId: z.ZodNumber;
180
- partnerCompanyName: z.ZodString;
181
- partnerAttributeGroups: z.ZodArray<z.ZodNumber, "many">;
182
- }, "strip", z.ZodTypeAny, {
183
- partnerCompanyId: number;
184
- partnerCompanyName: string;
185
- partnerAttributeGroups: number[];
186
- }, {
187
- partnerCompanyId: number;
188
- partnerCompanyName: string;
189
- partnerAttributeGroups: number[];
190
- }>;
191
- type VendorPartnerAttGroups = z.infer<typeof vendorPartnerAttGroupsSchema>;
192
-
193
- declare const exportSchema: z.ZodObject<{
194
- exportName: z.ZodString;
195
- exportDescription: z.ZodString;
196
- isActive: z.ZodBoolean;
197
- exportType: z.ZodEnum<["ALL", "UPDATES", "DELTAS_UPDATE", "NO_BUYER_PART_NUMBER"]>;
198
- exportFrequency: z.ZodEnum<["IMMEDIATE", "ONETIME", "DAILY", "WEEKLY", "MONTHLY"]>;
199
- includeValidAttributes: z.ZodOptional<z.ZodBoolean>;
200
- dayOfMonth: z.ZodOptional<z.ZodNumber>;
201
- dayOfWeek: z.ZodOptional<z.ZodEnum<["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]>>;
202
- hourOfDay: z.ZodOptional<z.ZodNumber>;
203
- date: z.ZodOptional<z.ZodString>;
204
- catalogIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
205
- itemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
206
- excludeItemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
207
- selectionCodeIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
208
- productCodeIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
209
- productTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
210
- deliveryType: z.ZodOptional<z.ZodString>;
211
- spreadsheetTemplateId: z.ZodOptional<z.ZodNumber>;
212
- emailAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
213
- subjectLine: z.ZodOptional<z.ZodString>;
214
- additionalLocales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
- availableAttributeList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
- }, "strip", z.ZodTypeAny, {
217
- exportName: string;
218
- exportDescription: string;
219
- isActive: boolean;
220
- exportType: "ALL" | "UPDATES" | "DELTAS_UPDATE" | "NO_BUYER_PART_NUMBER";
221
- exportFrequency: "IMMEDIATE" | "ONETIME" | "DAILY" | "WEEKLY" | "MONTHLY";
222
- date?: string | undefined;
223
- includeValidAttributes?: boolean | undefined;
224
- dayOfMonth?: number | undefined;
225
- dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
226
- hourOfDay?: number | undefined;
227
- catalogIds?: number[] | undefined;
228
- itemInfoIds?: number[] | undefined;
229
- excludeItemInfoIds?: number[] | undefined;
230
- selectionCodeIds?: number[] | undefined;
231
- productCodeIds?: number[] | undefined;
232
- productTypes?: string[] | undefined;
233
- deliveryType?: string | undefined;
234
- spreadsheetTemplateId?: number | undefined;
235
- emailAddresses?: string[] | undefined;
236
- subjectLine?: string | undefined;
237
- additionalLocales?: string[] | undefined;
238
- availableAttributeList?: string[] | undefined;
239
- }, {
240
- exportName: string;
241
- exportDescription: string;
242
- isActive: boolean;
243
- exportType: "ALL" | "UPDATES" | "DELTAS_UPDATE" | "NO_BUYER_PART_NUMBER";
244
- exportFrequency: "IMMEDIATE" | "ONETIME" | "DAILY" | "WEEKLY" | "MONTHLY";
245
- date?: string | undefined;
246
- includeValidAttributes?: boolean | undefined;
247
- dayOfMonth?: number | undefined;
248
- dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
249
- hourOfDay?: number | undefined;
250
- catalogIds?: number[] | undefined;
251
- itemInfoIds?: number[] | undefined;
252
- excludeItemInfoIds?: number[] | undefined;
253
- selectionCodeIds?: number[] | undefined;
254
- productCodeIds?: number[] | undefined;
255
- productTypes?: string[] | undefined;
256
- deliveryType?: string | undefined;
257
- spreadsheetTemplateId?: number | undefined;
258
- emailAddresses?: string[] | undefined;
259
- subjectLine?: string | undefined;
260
- additionalLocales?: string[] | undefined;
261
- availableAttributeList?: string[] | undefined;
262
- }>;
263
- type Export = z.infer<typeof exportSchema>;
264
-
265
- declare const attrProdTypeSchema: z.ZodObject<{
266
- attrProdTypeId: z.ZodNumber;
267
- productType: z.ZodString;
268
- description: z.ZodString;
269
- createdDate: z.ZodNumber;
270
- createdBy: z.ZodString;
271
- modifiedDate: z.ZodOptional<z.ZodNumber>;
272
- modifiedBy: z.ZodOptional<z.ZodString>;
273
- retailerId: z.ZodOptional<z.ZodNumber>;
274
- }, "strip", z.ZodTypeAny, {
275
- description: string;
276
- attrProdTypeId: number;
277
- productType: string;
278
- createdDate: number;
279
- createdBy: string;
280
- modifiedDate?: number | undefined;
281
- modifiedBy?: string | undefined;
282
- retailerId?: number | undefined;
283
- }, {
284
- description: string;
285
- attrProdTypeId: number;
286
- productType: string;
287
- createdDate: number;
288
- createdBy: string;
289
- modifiedDate?: number | undefined;
290
- modifiedBy?: string | undefined;
291
- retailerId?: number | undefined;
292
- }>;
293
- type AttrProdType = z.infer<typeof attrProdTypeSchema>;
294
-
295
- declare const companyRelationshipUpsertBodySchema: z.ZodObject<{
296
- supplierId: z.ZodNumber;
297
- retailerId: z.ZodNumber;
298
- catalogId: z.ZodNumber;
299
- active: z.ZodBoolean;
300
- applicationType: z.ZodDefault<z.ZodArray<z.ZodEnum<["ASSORTMENT", "ITEM-XREF"]>, "many">>;
301
- }, "strip", z.ZodTypeAny, {
302
- retailerId: number;
303
- supplierId: number;
304
- catalogId: number;
305
- active: boolean;
306
- applicationType: ("ASSORTMENT" | "ITEM-XREF")[];
307
- }, {
308
- retailerId: number;
309
- supplierId: number;
310
- catalogId: number;
311
- active: boolean;
312
- applicationType?: ("ASSORTMENT" | "ITEM-XREF")[] | undefined;
313
- }>;
314
- type CompanyRelationshipUpsertBody = z.infer<typeof companyRelationshipUpsertBodySchema>;
315
-
316
- declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
317
- companyId: z.ZodNumber;
318
- companyType: z.ZodString;
319
- identityOrgId: z.ZodString;
320
- companyName: z.ZodString;
321
- count: z.ZodNumber;
322
- connections: z.ZodArray<z.ZodObject<{
323
- catalog_id: z.ZodNumber;
324
- catalog_name: z.ZodNullable<z.ZodString>;
325
- partner_company_name: z.ZodString;
326
- partner_company_id: z.ZodNumber;
327
- partner_org_id: z.ZodString;
328
- }, "strip", z.ZodTypeAny, {
329
- catalog_id: number;
330
- catalog_name: string | null;
331
- partner_company_name: string;
332
- partner_company_id: number;
333
- partner_org_id: string;
334
- }, {
335
- catalog_id: number;
336
- catalog_name: string | null;
337
- partner_company_name: string;
338
- partner_company_id: number;
339
- partner_org_id: string;
340
- }>, "many">;
341
- }, "strip", z.ZodTypeAny, {
342
- count: number;
343
- companyId: number;
344
- companyType: string;
345
- identityOrgId: string;
346
- companyName: string;
347
- connections: {
348
- catalog_id: number;
349
- catalog_name: string | null;
350
- partner_company_name: string;
351
- partner_company_id: number;
352
- partner_org_id: string;
353
- }[];
354
- }, {
355
- count: number;
356
- companyId: number;
357
- companyType: string;
358
- identityOrgId: string;
359
- companyName: string;
360
- connections: {
361
- catalog_id: number;
362
- catalog_name: string | null;
363
- partner_company_name: string;
364
- partner_company_id: number;
365
- partner_org_id: string;
366
- }[];
367
- }>;
368
- type TradingPartnerAccessByCompanyId = z.infer<typeof tradingPartnerAccessByCompanyIdSchema>;
369
-
370
- declare const itemCategoriesSearchSchema: z.ZodObject<{
371
- count: z.ZodNumber;
372
- data: z.ZodArray<z.ZodObject<{
373
- categoryid: z.ZodNumber;
374
- encodedCategoryId: z.ZodString;
375
- companyId: z.ZodNumber;
376
- name: z.ZodString;
377
- isActive: z.ZodNumber;
378
- createdDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
379
- categorytimestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
380
- typeId: z.ZodNumber;
381
- type: z.ZodString;
382
- categorykey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
383
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
384
- categoryCatalogName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
385
- }, "strip", z.ZodTypeAny, {
386
- type: string;
387
- name: string;
388
- isActive: number;
389
- companyId: number;
390
- categoryid: number;
391
- encodedCategoryId: string;
392
- typeId: number;
393
- description?: string | null | undefined;
394
- createdDate?: number | null | undefined;
395
- categorytimestamp?: number | null | undefined;
396
- categorykey?: string | null | undefined;
397
- categoryCatalogName?: string | null | undefined;
398
- }, {
399
- type: string;
400
- name: string;
401
- isActive: number;
402
- companyId: number;
403
- categoryid: number;
404
- encodedCategoryId: string;
405
- typeId: number;
406
- description?: string | null | undefined;
407
- createdDate?: number | null | undefined;
408
- categorytimestamp?: number | null | undefined;
409
- categorykey?: string | null | undefined;
410
- categoryCatalogName?: string | null | undefined;
411
- }>, "many">;
412
- }, "strip", z.ZodTypeAny, {
413
- count: number;
414
- data: {
415
- type: string;
416
- name: string;
417
- isActive: number;
418
- companyId: number;
419
- categoryid: number;
420
- encodedCategoryId: string;
421
- typeId: number;
422
- description?: string | null | undefined;
423
- createdDate?: number | null | undefined;
424
- categorytimestamp?: number | null | undefined;
425
- categorykey?: string | null | undefined;
426
- categoryCatalogName?: string | null | undefined;
427
- }[];
428
- }, {
429
- count: number;
430
- data: {
431
- type: string;
432
- name: string;
433
- isActive: number;
434
- companyId: number;
435
- categoryid: number;
436
- encodedCategoryId: string;
437
- typeId: number;
438
- description?: string | null | undefined;
439
- createdDate?: number | null | undefined;
440
- categorytimestamp?: number | null | undefined;
441
- categorykey?: string | null | undefined;
442
- categoryCatalogName?: string | null | undefined;
443
- }[];
444
- }>;
445
- type ItemCategoriesSearch = z.infer<typeof itemCategoriesSearchSchema>;
446
-
447
- declare const attributeMetaDataSchema: z.ZodObject<{
448
- dbName: z.ZodString;
449
- label: z.ZodString;
450
- group: z.ZodString;
451
- aliases: z.ZodArray<z.ZodString, "many">;
452
- orderBy: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
453
- type: z.ZodString;
454
- storageType: z.ZodString;
455
- rsxPath: z.ZodString;
456
- indexed: z.ZodBoolean;
457
- repeatable: z.ZodBoolean;
458
- extended: z.ZodBoolean;
459
- hybrid: z.ZodBoolean;
460
- userVisible: z.ZodBoolean;
461
- retailerOwnedId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
462
- }, "strip", z.ZodTypeAny, {
463
- type: string;
464
- label: string;
465
- dbName: string;
466
- group: string;
467
- aliases: string[];
468
- orderBy: string | number;
469
- storageType: string;
470
- rsxPath: string;
471
- indexed: boolean;
472
- repeatable: boolean;
473
- extended: boolean;
474
- hybrid: boolean;
475
- userVisible: boolean;
476
- retailerOwnedId?: number | null | undefined;
477
- }, {
478
- type: string;
479
- label: string;
480
- dbName: string;
481
- group: string;
482
- aliases: string[];
483
- orderBy: string | number;
484
- storageType: string;
485
- rsxPath: string;
486
- indexed: boolean;
487
- repeatable: boolean;
488
- extended: boolean;
489
- hybrid: boolean;
490
- userVisible: boolean;
491
- retailerOwnedId?: number | null | undefined;
492
- }>;
493
- type AttributeMetaData = z.infer<typeof attributeMetaDataSchema>;
494
-
495
- declare const attributesByCompanySchema: z.ZodObject<{
496
- next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
- previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
- count: z.ZodNumber;
499
- results: z.ZodArray<z.ZodObject<{
500
- attributeId: z.ZodNumber;
501
- attributeName: z.ZodString;
502
- displayName: z.ZodString;
503
- modifiedBy: z.ZodString;
504
- modifiedDate: z.ZodNumber;
505
- retailerOwnedId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
506
- clusterAttrGroupId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
507
- attributeType: z.ZodString;
508
- }, "strip", z.ZodTypeAny, {
509
- modifiedDate: number;
510
- modifiedBy: string;
511
- attributeId: number;
512
- attributeName: string;
513
- displayName: string;
514
- attributeType: string;
515
- retailerOwnedId?: number | null | undefined;
516
- clusterAttrGroupId?: number | null | undefined;
517
- }, {
518
- modifiedDate: number;
519
- modifiedBy: string;
520
- attributeId: number;
521
- attributeName: string;
522
- displayName: string;
523
- attributeType: string;
524
- retailerOwnedId?: number | null | undefined;
525
- clusterAttrGroupId?: number | null | undefined;
526
- }>, "many">;
527
- }, "strip", z.ZodTypeAny, {
528
- count: number;
529
- results: {
530
- modifiedDate: number;
531
- modifiedBy: string;
532
- attributeId: number;
533
- attributeName: string;
534
- displayName: string;
535
- attributeType: string;
536
- retailerOwnedId?: number | null | undefined;
537
- clusterAttrGroupId?: number | null | undefined;
538
- }[];
539
- next?: string | null | undefined;
540
- previous?: string | null | undefined;
541
- }, {
542
- count: number;
543
- results: {
544
- modifiedDate: number;
545
- modifiedBy: string;
546
- attributeId: number;
547
- attributeName: string;
548
- displayName: string;
549
- attributeType: string;
550
- retailerOwnedId?: number | null | undefined;
551
- clusterAttrGroupId?: number | null | undefined;
552
- }[];
553
- next?: string | null | undefined;
554
- previous?: string | null | undefined;
555
- }>;
556
- type AttributesByCompany = z.infer<typeof attributesByCompanySchema>;
557
-
558
- declare const attributeDefinitionSchema: z.ZodObject<{
559
- attrDataTypeId: z.ZodNumber;
560
- attrDatatype: z.ZodObject<{
561
- attrDatatypeId: z.ZodNumber;
562
- datatypeName: z.ZodEnum<["TEXT", "SET", "INTEGER", "FLOAT", "BOOLEAN", "DATE", "KEYVALUE", "STRING", "REAL"]>;
563
- displayOnly: z.ZodBoolean;
564
- }, "strip", z.ZodTypeAny, {
565
- attrDatatypeId: number;
566
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
567
- displayOnly: boolean;
568
- }, {
569
- attrDatatypeId: number;
570
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
571
- displayOnly: boolean;
572
- }>;
573
- attrGroupId: z.ZodNumber;
574
- attrGroups: z.ZodArray<z.ZodObject<{
575
- attrGroupId: z.ZodNumber;
576
- attrGroupType: z.ZodObject<{
577
- attrGroupTypeId: z.ZodNumber;
578
- groupTypeName: z.ZodString;
579
- primary: z.ZodBoolean;
580
- restricted: z.ZodBoolean;
581
- }, "strip", z.ZodTypeAny, {
582
- attrGroupTypeId: number;
583
- groupTypeName: string;
584
- primary: boolean;
585
- restricted: boolean;
586
- }, {
587
- attrGroupTypeId: number;
588
- groupTypeName: string;
589
- primary: boolean;
590
- restricted: boolean;
591
- }>;
592
- attrGroupTypeId: z.ZodNumber;
593
- groupName: z.ZodString;
594
- isDefault: z.ZodBoolean;
595
- orderWeight: z.ZodNumber;
596
- primary: z.ZodBoolean;
597
- }, "strip", z.ZodTypeAny, {
598
- attrGroupId: number;
599
- attrGroupType: {
600
- attrGroupTypeId: number;
601
- groupTypeName: string;
602
- primary: boolean;
603
- restricted: boolean;
604
- };
605
- attrGroupTypeId: number;
606
- primary: boolean;
607
- groupName: string;
608
- isDefault: boolean;
609
- orderWeight: number;
610
- }, {
611
- attrGroupId: number;
612
- attrGroupType: {
613
- attrGroupTypeId: number;
614
- groupTypeName: string;
615
- primary: boolean;
616
- restricted: boolean;
617
- };
618
- attrGroupTypeId: number;
619
- primary: boolean;
620
- groupName: string;
621
- isDefault: boolean;
622
- orderWeight: number;
623
- }>, "many">;
624
- attrRestrictions: z.ZodOptional<z.ZodArray<z.ZodObject<{
625
- attrRestrictId: z.ZodNumber;
626
- ignoreGlobal: z.ZodOptional<z.ZodBoolean>;
627
- isDefault: z.ZodBoolean;
628
- isEssential: z.ZodBoolean;
629
- locale: z.ZodString;
630
- mandatory: z.ZodBoolean;
631
- repeatable: z.ZodBoolean;
632
- minLength: z.ZodOptional<z.ZodNumber>;
633
- maxLength: z.ZodOptional<z.ZodNumber>;
634
- }, "strip", z.ZodTypeAny, {
635
- repeatable: boolean;
636
- isDefault: boolean;
637
- attrRestrictId: number;
638
- isEssential: boolean;
639
- locale: string;
640
- mandatory: boolean;
641
- ignoreGlobal?: boolean | undefined;
642
- minLength?: number | undefined;
643
- maxLength?: number | undefined;
644
- }, {
645
- repeatable: boolean;
646
- isDefault: boolean;
647
- attrRestrictId: number;
648
- isEssential: boolean;
649
- locale: string;
650
- mandatory: boolean;
651
- ignoreGlobal?: boolean | undefined;
652
- minLength?: number | undefined;
653
- maxLength?: number | undefined;
654
- }>, "many">>;
655
- attrRoundId: z.ZodNumber;
656
- attrStorage: z.ZodObject<{
657
- attrStorageId: z.ZodNumber;
658
- storageName: z.ZodString;
659
- }, "strip", z.ZodTypeAny, {
660
- attrStorageId: number;
661
- storageName: string;
662
- }, {
663
- attrStorageId: number;
664
- storageName: string;
665
- }>;
666
- attrStorageId: z.ZodNumber;
667
- attrValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
- attrKeyPair: z.ZodString;
669
- attrValueId: z.ZodOptional<z.ZodNumber>;
670
- isDefault: z.ZodBoolean;
671
- locale: z.ZodString;
672
- value: z.ZodString;
673
- }, "strip", z.ZodTypeAny, {
674
- value: string;
675
- isDefault: boolean;
676
- locale: string;
677
- attrKeyPair: string;
678
- attrValueId?: number | undefined;
679
- }, {
680
- value: string;
681
- isDefault: boolean;
682
- locale: string;
683
- attrKeyPair: string;
684
- attrValueId?: number | undefined;
685
- }>, "many">>;
686
- attributeId: z.ZodNumber;
687
- attributeName: z.ZodString;
688
- createdBy: z.ZodString;
689
- createdDate: z.ZodNumber;
690
- description: z.ZodOptional<z.ZodString>;
691
- displayName: z.ZodString;
692
- modifiedDate: z.ZodNumber;
693
- orderWeight: z.ZodOptional<z.ZodNumber>;
694
- parentAttribute: z.ZodOptional<z.ZodObject<{
695
- attrDataTypeId: z.ZodNumber;
696
- attrDatatype: z.ZodObject<{
697
- attrDatatypeId: z.ZodNumber;
698
- datatypeName: z.ZodEnum<["TEXT", "SET", "INTEGER", "FLOAT", "BOOLEAN", "DATE", "KEYVALUE", "STRING", "REAL"]>;
699
- displayOnly: z.ZodBoolean;
700
- }, "strip", z.ZodTypeAny, {
701
- attrDatatypeId: number;
702
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
703
- displayOnly: boolean;
704
- }, {
705
- attrDatatypeId: number;
706
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
707
- displayOnly: boolean;
708
- }>;
709
- attrGroupId: z.ZodNumber;
710
- attrGroups: z.ZodArray<z.ZodObject<{
711
- attrGroupId: z.ZodNumber;
712
- attrGroupType: z.ZodObject<{
713
- attrGroupTypeId: z.ZodNumber;
714
- groupTypeName: z.ZodString;
715
- primary: z.ZodBoolean;
716
- restricted: z.ZodBoolean;
717
- }, "strip", z.ZodTypeAny, {
718
- attrGroupTypeId: number;
719
- groupTypeName: string;
720
- primary: boolean;
721
- restricted: boolean;
722
- }, {
723
- attrGroupTypeId: number;
724
- groupTypeName: string;
725
- primary: boolean;
726
- restricted: boolean;
727
- }>;
728
- attrGroupTypeId: z.ZodNumber;
729
- groupName: z.ZodString;
730
- isDefault: z.ZodBoolean;
731
- orderWeight: z.ZodNumber;
732
- primary: z.ZodBoolean;
733
- }, "strip", z.ZodTypeAny, {
734
- attrGroupId: number;
735
- attrGroupType: {
736
- attrGroupTypeId: number;
737
- groupTypeName: string;
738
- primary: boolean;
739
- restricted: boolean;
740
- };
741
- attrGroupTypeId: number;
742
- primary: boolean;
743
- groupName: string;
744
- isDefault: boolean;
745
- orderWeight: number;
746
- }, {
747
- attrGroupId: number;
748
- attrGroupType: {
749
- attrGroupTypeId: number;
750
- groupTypeName: string;
751
- primary: boolean;
752
- restricted: boolean;
753
- };
754
- attrGroupTypeId: number;
755
- primary: boolean;
756
- groupName: string;
757
- isDefault: boolean;
758
- orderWeight: number;
759
- }>, "many">;
760
- attrRoundId: z.ZodNumber;
761
- attrStorageId: z.ZodNumber;
762
- attributeId: z.ZodNumber;
763
- attributeName: z.ZodString;
764
- createdBy: z.ZodString;
765
- createdDate: z.ZodNumber;
766
- description: z.ZodOptional<z.ZodString>;
767
- displayName: z.ZodString;
768
- modifiedDate: z.ZodNumber;
769
- orderWeight: z.ZodNumber;
770
- parentAttributeId: z.ZodOptional<z.ZodNumber>;
771
- primaryAttrGroup: z.ZodObject<{
772
- attrGroupId: z.ZodNumber;
773
- attrGroupType: z.ZodObject<{
774
- attrGroupTypeId: z.ZodNumber;
775
- groupTypeName: z.ZodString;
776
- primary: z.ZodBoolean;
777
- restricted: z.ZodBoolean;
778
- }, "strip", z.ZodTypeAny, {
779
- attrGroupTypeId: number;
780
- groupTypeName: string;
781
- primary: boolean;
782
- restricted: boolean;
783
- }, {
784
- attrGroupTypeId: number;
785
- groupTypeName: string;
786
- primary: boolean;
787
- restricted: boolean;
788
- }>;
789
- attrGroupTypeId: z.ZodNumber;
790
- groupName: z.ZodString;
791
- isDefault: z.ZodBoolean;
792
- orderWeight: z.ZodNumber;
793
- primary: z.ZodBoolean;
794
- }, "strip", z.ZodTypeAny, {
795
- attrGroupId: number;
796
- attrGroupType: {
797
- attrGroupTypeId: number;
798
- groupTypeName: string;
799
- primary: boolean;
800
- restricted: boolean;
801
- };
802
- attrGroupTypeId: number;
803
- primary: boolean;
804
- groupName: string;
805
- isDefault: boolean;
806
- orderWeight: number;
807
- }, {
808
- attrGroupId: number;
809
- attrGroupType: {
810
- attrGroupTypeId: number;
811
- groupTypeName: string;
812
- primary: boolean;
813
- restricted: boolean;
814
- };
815
- attrGroupTypeId: number;
816
- primary: boolean;
817
- groupName: string;
818
- isDefault: boolean;
819
- orderWeight: number;
820
- }>;
821
- }, "strip", z.ZodTypeAny, {
822
- createdDate: number;
823
- createdBy: string;
824
- modifiedDate: number;
825
- attributeId: number;
826
- attributeName: string;
827
- displayName: string;
828
- attrGroupId: number;
829
- orderWeight: number;
830
- attrDataTypeId: number;
831
- attrDatatype: {
832
- attrDatatypeId: number;
833
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
834
- displayOnly: boolean;
835
- };
836
- attrGroups: {
837
- attrGroupId: number;
838
- attrGroupType: {
839
- attrGroupTypeId: number;
840
- groupTypeName: string;
841
- primary: boolean;
842
- restricted: boolean;
843
- };
844
- attrGroupTypeId: number;
845
- primary: boolean;
846
- groupName: string;
847
- isDefault: boolean;
848
- orderWeight: number;
849
- }[];
850
- attrRoundId: number;
851
- attrStorageId: number;
852
- primaryAttrGroup: {
853
- attrGroupId: number;
854
- attrGroupType: {
855
- attrGroupTypeId: number;
856
- groupTypeName: string;
857
- primary: boolean;
858
- restricted: boolean;
859
- };
860
- attrGroupTypeId: number;
861
- primary: boolean;
862
- groupName: string;
863
- isDefault: boolean;
864
- orderWeight: number;
865
- };
866
- description?: string | undefined;
867
- parentAttributeId?: number | undefined;
868
- }, {
869
- createdDate: number;
870
- createdBy: string;
871
- modifiedDate: number;
872
- attributeId: number;
873
- attributeName: string;
874
- displayName: string;
875
- attrGroupId: number;
876
- orderWeight: number;
877
- attrDataTypeId: number;
878
- attrDatatype: {
879
- attrDatatypeId: number;
880
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
881
- displayOnly: boolean;
882
- };
883
- attrGroups: {
884
- attrGroupId: number;
885
- attrGroupType: {
886
- attrGroupTypeId: number;
887
- groupTypeName: string;
888
- primary: boolean;
889
- restricted: boolean;
890
- };
891
- attrGroupTypeId: number;
892
- primary: boolean;
893
- groupName: string;
894
- isDefault: boolean;
895
- orderWeight: number;
896
- }[];
897
- attrRoundId: number;
898
- attrStorageId: number;
899
- primaryAttrGroup: {
900
- attrGroupId: number;
901
- attrGroupType: {
902
- attrGroupTypeId: number;
903
- groupTypeName: string;
904
- primary: boolean;
905
- restricted: boolean;
906
- };
907
- attrGroupTypeId: number;
908
- primary: boolean;
909
- groupName: string;
910
- isDefault: boolean;
911
- orderWeight: number;
912
- };
913
- description?: string | undefined;
914
- parentAttributeId?: number | undefined;
915
- }>>;
916
- parentAttributeId: z.ZodOptional<z.ZodNumber>;
917
- primaryAttrGroup: z.ZodObject<{
918
- attrGroupId: z.ZodNumber;
919
- attrGroupType: z.ZodObject<{
920
- attrGroupTypeId: z.ZodNumber;
921
- groupTypeName: z.ZodString;
922
- primary: z.ZodBoolean;
923
- restricted: z.ZodBoolean;
924
- }, "strip", z.ZodTypeAny, {
925
- attrGroupTypeId: number;
926
- groupTypeName: string;
927
- primary: boolean;
928
- restricted: boolean;
929
- }, {
930
- attrGroupTypeId: number;
931
- groupTypeName: string;
932
- primary: boolean;
933
- restricted: boolean;
934
- }>;
935
- attrGroupTypeId: z.ZodNumber;
936
- groupName: z.ZodString;
937
- isDefault: z.ZodBoolean;
938
- orderWeight: z.ZodNumber;
939
- primary: z.ZodBoolean;
940
- }, "strip", z.ZodTypeAny, {
941
- attrGroupId: number;
942
- attrGroupType: {
943
- attrGroupTypeId: number;
944
- groupTypeName: string;
945
- primary: boolean;
946
- restricted: boolean;
947
- };
948
- attrGroupTypeId: number;
949
- primary: boolean;
950
- groupName: string;
951
- isDefault: boolean;
952
- orderWeight: number;
953
- }, {
954
- attrGroupId: number;
955
- attrGroupType: {
956
- attrGroupTypeId: number;
957
- groupTypeName: string;
958
- primary: boolean;
959
- restricted: boolean;
960
- };
961
- attrGroupTypeId: number;
962
- primary: boolean;
963
- groupName: string;
964
- isDefault: boolean;
965
- orderWeight: number;
966
- }>;
967
- }, "strip", z.ZodTypeAny, {
968
- createdDate: number;
969
- createdBy: string;
970
- modifiedDate: number;
971
- attributeId: number;
972
- attributeName: string;
973
- displayName: string;
974
- attrGroupId: number;
975
- attrDataTypeId: number;
976
- attrDatatype: {
977
- attrDatatypeId: number;
978
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
979
- displayOnly: boolean;
980
- };
981
- attrGroups: {
982
- attrGroupId: number;
983
- attrGroupType: {
984
- attrGroupTypeId: number;
985
- groupTypeName: string;
986
- primary: boolean;
987
- restricted: boolean;
988
- };
989
- attrGroupTypeId: number;
990
- primary: boolean;
991
- groupName: string;
992
- isDefault: boolean;
993
- orderWeight: number;
994
- }[];
995
- attrRoundId: number;
996
- attrStorageId: number;
997
- primaryAttrGroup: {
998
- attrGroupId: number;
999
- attrGroupType: {
1000
- attrGroupTypeId: number;
1001
- groupTypeName: string;
1002
- primary: boolean;
1003
- restricted: boolean;
1004
- };
1005
- attrGroupTypeId: number;
1006
- primary: boolean;
1007
- groupName: string;
1008
- isDefault: boolean;
1009
- orderWeight: number;
1010
- };
1011
- attrStorage: {
1012
- attrStorageId: number;
1013
- storageName: string;
1014
- };
1015
- description?: string | undefined;
1016
- orderWeight?: number | undefined;
1017
- parentAttributeId?: number | undefined;
1018
- attrRestrictions?: {
1019
- repeatable: boolean;
1020
- isDefault: boolean;
1021
- attrRestrictId: number;
1022
- isEssential: boolean;
1023
- locale: string;
1024
- mandatory: boolean;
1025
- ignoreGlobal?: boolean | undefined;
1026
- minLength?: number | undefined;
1027
- maxLength?: number | undefined;
1028
- }[] | undefined;
1029
- attrValues?: {
1030
- value: string;
1031
- isDefault: boolean;
1032
- locale: string;
1033
- attrKeyPair: string;
1034
- attrValueId?: number | undefined;
1035
- }[] | undefined;
1036
- parentAttribute?: {
1037
- createdDate: number;
1038
- createdBy: string;
1039
- modifiedDate: number;
1040
- attributeId: number;
1041
- attributeName: string;
1042
- displayName: string;
1043
- attrGroupId: number;
1044
- orderWeight: number;
1045
- attrDataTypeId: number;
1046
- attrDatatype: {
1047
- attrDatatypeId: number;
1048
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
1049
- displayOnly: boolean;
1050
- };
1051
- attrGroups: {
1052
- attrGroupId: number;
1053
- attrGroupType: {
1054
- attrGroupTypeId: number;
1055
- groupTypeName: string;
1056
- primary: boolean;
1057
- restricted: boolean;
1058
- };
1059
- attrGroupTypeId: number;
1060
- primary: boolean;
1061
- groupName: string;
1062
- isDefault: boolean;
1063
- orderWeight: number;
1064
- }[];
1065
- attrRoundId: number;
1066
- attrStorageId: number;
1067
- primaryAttrGroup: {
1068
- attrGroupId: number;
1069
- attrGroupType: {
1070
- attrGroupTypeId: number;
1071
- groupTypeName: string;
1072
- primary: boolean;
1073
- restricted: boolean;
1074
- };
1075
- attrGroupTypeId: number;
1076
- primary: boolean;
1077
- groupName: string;
1078
- isDefault: boolean;
1079
- orderWeight: number;
1080
- };
1081
- description?: string | undefined;
1082
- parentAttributeId?: number | undefined;
1083
- } | undefined;
1084
- }, {
1085
- createdDate: number;
1086
- createdBy: string;
1087
- modifiedDate: number;
1088
- attributeId: number;
1089
- attributeName: string;
1090
- displayName: string;
1091
- attrGroupId: number;
1092
- attrDataTypeId: number;
1093
- attrDatatype: {
1094
- attrDatatypeId: number;
1095
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
1096
- displayOnly: boolean;
1097
- };
1098
- attrGroups: {
1099
- attrGroupId: number;
1100
- attrGroupType: {
1101
- attrGroupTypeId: number;
1102
- groupTypeName: string;
1103
- primary: boolean;
1104
- restricted: boolean;
1105
- };
1106
- attrGroupTypeId: number;
1107
- primary: boolean;
1108
- groupName: string;
1109
- isDefault: boolean;
1110
- orderWeight: number;
1111
- }[];
1112
- attrRoundId: number;
1113
- attrStorageId: number;
1114
- primaryAttrGroup: {
1115
- attrGroupId: number;
1116
- attrGroupType: {
1117
- attrGroupTypeId: number;
1118
- groupTypeName: string;
1119
- primary: boolean;
1120
- restricted: boolean;
1121
- };
1122
- attrGroupTypeId: number;
1123
- primary: boolean;
1124
- groupName: string;
1125
- isDefault: boolean;
1126
- orderWeight: number;
1127
- };
1128
- attrStorage: {
1129
- attrStorageId: number;
1130
- storageName: string;
1131
- };
1132
- description?: string | undefined;
1133
- orderWeight?: number | undefined;
1134
- parentAttributeId?: number | undefined;
1135
- attrRestrictions?: {
1136
- repeatable: boolean;
1137
- isDefault: boolean;
1138
- attrRestrictId: number;
1139
- isEssential: boolean;
1140
- locale: string;
1141
- mandatory: boolean;
1142
- ignoreGlobal?: boolean | undefined;
1143
- minLength?: number | undefined;
1144
- maxLength?: number | undefined;
1145
- }[] | undefined;
1146
- attrValues?: {
1147
- value: string;
1148
- isDefault: boolean;
1149
- locale: string;
1150
- attrKeyPair: string;
1151
- attrValueId?: number | undefined;
1152
- }[] | undefined;
1153
- parentAttribute?: {
1154
- createdDate: number;
1155
- createdBy: string;
1156
- modifiedDate: number;
1157
- attributeId: number;
1158
- attributeName: string;
1159
- displayName: string;
1160
- attrGroupId: number;
1161
- orderWeight: number;
1162
- attrDataTypeId: number;
1163
- attrDatatype: {
1164
- attrDatatypeId: number;
1165
- datatypeName: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
1166
- displayOnly: boolean;
1167
- };
1168
- attrGroups: {
1169
- attrGroupId: number;
1170
- attrGroupType: {
1171
- attrGroupTypeId: number;
1172
- groupTypeName: string;
1173
- primary: boolean;
1174
- restricted: boolean;
1175
- };
1176
- attrGroupTypeId: number;
1177
- primary: boolean;
1178
- groupName: string;
1179
- isDefault: boolean;
1180
- orderWeight: number;
1181
- }[];
1182
- attrRoundId: number;
1183
- attrStorageId: number;
1184
- primaryAttrGroup: {
1185
- attrGroupId: number;
1186
- attrGroupType: {
1187
- attrGroupTypeId: number;
1188
- groupTypeName: string;
1189
- primary: boolean;
1190
- restricted: boolean;
1191
- };
1192
- attrGroupTypeId: number;
1193
- primary: boolean;
1194
- groupName: string;
1195
- isDefault: boolean;
1196
- orderWeight: number;
1197
- };
1198
- description?: string | undefined;
1199
- parentAttributeId?: number | undefined;
1200
- } | undefined;
1201
- }>;
1202
- type AttributeDefinition = z.infer<typeof attributeDefinitionSchema>;
1203
-
1204
- declare const attributeValidValuesSchema: z.ZodObject<{
1205
- value: z.ZodString;
1206
- isDefault: z.ZodBoolean;
1207
- locale: z.ZodString;
1208
- createdBy: z.ZodString;
1209
- createdDate: z.ZodNumber;
1210
- modifiedDate: z.ZodNumber;
1211
- modifiedBy: z.ZodString;
1212
- attributeId: z.ZodNumber;
1213
- attrValueId: z.ZodNumber;
1214
- attrKeyPair: z.ZodString;
1215
- }, "strip", z.ZodTypeAny, {
1216
- value: string;
1217
- createdDate: number;
1218
- createdBy: string;
1219
- modifiedDate: number;
1220
- modifiedBy: string;
1221
- attributeId: number;
1222
- isDefault: boolean;
1223
- locale: string;
1224
- attrKeyPair: string;
1225
- attrValueId: number;
1226
- }, {
1227
- value: string;
1228
- createdDate: number;
1229
- createdBy: string;
1230
- modifiedDate: number;
1231
- modifiedBy: string;
1232
- attributeId: number;
1233
- isDefault: boolean;
1234
- locale: string;
1235
- attrKeyPair: string;
1236
- attrValueId: number;
1237
- }>;
1238
- type AttributeValidValues = z.infer<typeof attributeValidValuesSchema>;
1239
-
1240
- declare const localeSchema: z.ZodObject<{
1241
- localeCode: z.ZodString;
1242
- localeDescription: z.ZodString;
1243
- }, "strip", z.ZodTypeAny, {
1244
- localeCode: string;
1245
- localeDescription: string;
1246
- }, {
1247
- localeCode: string;
1248
- localeDescription: string;
1249
- }>;
1250
- type Locale = z.infer<typeof localeSchema>;
1251
-
1252
- declare const spreadsheetTemplateSchema: z.ZodObject<{
1253
- id: z.ZodNumber;
1254
- fileLocation: z.ZodString;
1255
- name: z.ZodString;
1256
- templateType: z.ZodString;
1257
- maxItemsPerDoc: z.ZodNumber;
1258
- companies: z.ZodArray<z.ZodObject<{
1259
- companyName: z.ZodString;
1260
- companyId: z.ZodNumber;
1261
- createdAt: z.ZodNumber;
1262
- }, "strip", z.ZodTypeAny, {
1263
- companyId: number;
1264
- companyName: string;
1265
- createdAt: number;
1266
- }, {
1267
- companyId: number;
1268
- companyName: string;
1269
- createdAt: number;
1270
- }>, "many">;
1271
- createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1272
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1273
- modifiedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
- modifiedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1275
- }, "strip", z.ZodTypeAny, {
1276
- name: string;
1277
- id: number;
1278
- fileLocation: string;
1279
- templateType: string;
1280
- maxItemsPerDoc: number;
1281
- companies: {
1282
- companyId: number;
1283
- companyName: string;
1284
- createdAt: number;
1285
- }[];
1286
- createdBy?: string | null | undefined;
1287
- modifiedBy?: string | null | undefined;
1288
- createdAt?: number | null | undefined;
1289
- modifiedAt?: number | null | undefined;
1290
- }, {
1291
- name: string;
1292
- id: number;
1293
- fileLocation: string;
1294
- templateType: string;
1295
- maxItemsPerDoc: number;
1296
- companies: {
1297
- companyId: number;
1298
- companyName: string;
1299
- createdAt: number;
1300
- }[];
1301
- createdBy?: string | null | undefined;
1302
- modifiedBy?: string | null | undefined;
1303
- createdAt?: number | null | undefined;
1304
- modifiedAt?: number | null | undefined;
1305
- }>;
1306
- type SpreadsheetTemplate = z.infer<typeof spreadsheetTemplateSchema>;
1307
-
1308
- declare const userAccountSchema: z.ZodObject<{
1309
- identityUser: z.ZodObject<{
1310
- id: z.ZodString;
1311
- email: z.ZodOptional<z.ZodString>;
1312
- first_name: z.ZodOptional<z.ZodString>;
1313
- last_name: z.ZodOptional<z.ZodString>;
1314
- job_title: z.ZodOptional<z.ZodString>;
1315
- externally_managed: z.ZodOptional<z.ZodBoolean>;
1316
- city: z.ZodOptional<z.ZodString>;
1317
- name: z.ZodString;
1318
- state: z.ZodOptional<z.ZodString>;
1319
- country: z.ZodOptional<z.ZodString>;
1320
- user_type: z.ZodOptional<z.ZodString>;
1321
- token_type: z.ZodOptional<z.ZodString>;
1322
- avatar_image_id: z.ZodOptional<z.ZodString>;
1323
- avatar_image_url: z.ZodOptional<z.ZodString>;
1324
- origin_avatar_image_id: z.ZodOptional<z.ZodString>;
1325
- bio: z.ZodOptional<z.ZodString>;
1326
- phone_number: z.ZodOptional<z.ZodString>;
1327
- twitter_handle: z.ZodOptional<z.ZodString>;
1328
- linkedin_url: z.ZodOptional<z.ZodString>;
1329
- description: z.ZodOptional<z.ZodString>;
1330
- preferences: z.ZodOptional<z.ZodObject<{
1331
- locale: z.ZodString;
1332
- timezone: z.ZodString;
1333
- cpUpgrade: z.ZodOptional<z.ZodString>;
1334
- language: z.ZodArray<z.ZodString, "many">;
1335
- datetime: z.ZodObject<{
1336
- DATE_TIME: z.ZodString;
1337
- TIME: z.ZodString;
1338
- SHORT_DATE: z.ZodString;
1339
- LONG_DATETIME: z.ZodString;
1340
- LONG_TIME: z.ZodString;
1341
- DATE: z.ZodString;
1342
- }, "strip", z.ZodTypeAny, {
1343
- DATE: string;
1344
- DATE_TIME: string;
1345
- TIME: string;
1346
- SHORT_DATE: string;
1347
- LONG_DATETIME: string;
1348
- LONG_TIME: string;
1349
- }, {
1350
- DATE: string;
1351
- DATE_TIME: string;
1352
- TIME: string;
1353
- SHORT_DATE: string;
1354
- LONG_DATETIME: string;
1355
- LONG_TIME: string;
1356
- }>;
1357
- }, "strip", z.ZodTypeAny, {
1358
- locale: string;
1359
- timezone: string;
1360
- language: string[];
1361
- datetime: {
1362
- DATE: string;
1363
- DATE_TIME: string;
1364
- TIME: string;
1365
- SHORT_DATE: string;
1366
- LONG_DATETIME: string;
1367
- LONG_TIME: string;
1368
- };
1369
- cpUpgrade?: string | undefined;
1370
- }, {
1371
- locale: string;
1372
- timezone: string;
1373
- language: string[];
1374
- datetime: {
1375
- DATE: string;
1376
- DATE_TIME: string;
1377
- TIME: string;
1378
- SHORT_DATE: string;
1379
- LONG_DATETIME: string;
1380
- LONG_TIME: string;
1381
- };
1382
- cpUpgrade?: string | undefined;
1383
- }>>;
1384
- roles: z.ZodArray<z.ZodString, "many">;
1385
- organization: z.ZodObject<{
1386
- organization_name: z.ZodOptional<z.ZodString>;
1387
- organization_site: z.ZodOptional<z.ZodString>;
1388
- namespace: z.ZodOptional<z.ZodString>;
1389
- id: z.ZodString;
1390
- permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
- metadata: z.ZodOptional<z.ZodObject<{
1392
- namespace: z.ZodString;
1393
- key: z.ZodString;
1394
- value: z.ZodString;
1395
- }, "strip", z.ZodTypeAny, {
1396
- value: string;
1397
- namespace: string;
1398
- key: string;
1399
- }, {
1400
- value: string;
1401
- namespace: string;
1402
- key: string;
1403
- }>>;
1404
- }, "strip", z.ZodTypeAny, {
1405
- id: string;
1406
- namespace?: string | undefined;
1407
- organization_name?: string | undefined;
1408
- organization_site?: string | undefined;
1409
- permissions?: string[] | undefined;
1410
- metadata?: {
1411
- value: string;
1412
- namespace: string;
1413
- key: string;
1414
- } | undefined;
1415
- }, {
1416
- id: string;
1417
- namespace?: string | undefined;
1418
- organization_name?: string | undefined;
1419
- organization_site?: string | undefined;
1420
- permissions?: string[] | undefined;
1421
- metadata?: {
1422
- value: string;
1423
- namespace: string;
1424
- key: string;
1425
- } | undefined;
1426
- }>;
1427
- password: z.ZodString;
1428
- verified: z.ZodBoolean;
1429
- }, "strip", z.ZodTypeAny, {
1430
- name: string;
1431
- id: string;
1432
- roles: string[];
1433
- organization: {
1434
- id: string;
1435
- namespace?: string | undefined;
1436
- organization_name?: string | undefined;
1437
- organization_site?: string | undefined;
1438
- permissions?: string[] | undefined;
1439
- metadata?: {
1440
- value: string;
1441
- namespace: string;
1442
- key: string;
1443
- } | undefined;
1444
- };
1445
- password: string;
1446
- verified: boolean;
1447
- description?: string | undefined;
1448
- email?: string | undefined;
1449
- first_name?: string | undefined;
1450
- last_name?: string | undefined;
1451
- job_title?: string | undefined;
1452
- externally_managed?: boolean | undefined;
1453
- city?: string | undefined;
1454
- state?: string | undefined;
1455
- country?: string | undefined;
1456
- user_type?: string | undefined;
1457
- token_type?: string | undefined;
1458
- avatar_image_id?: string | undefined;
1459
- avatar_image_url?: string | undefined;
1460
- origin_avatar_image_id?: string | undefined;
1461
- bio?: string | undefined;
1462
- phone_number?: string | undefined;
1463
- twitter_handle?: string | undefined;
1464
- linkedin_url?: string | undefined;
1465
- preferences?: {
1466
- locale: string;
1467
- timezone: string;
1468
- language: string[];
1469
- datetime: {
1470
- DATE: string;
1471
- DATE_TIME: string;
1472
- TIME: string;
1473
- SHORT_DATE: string;
1474
- LONG_DATETIME: string;
1475
- LONG_TIME: string;
1476
- };
1477
- cpUpgrade?: string | undefined;
1478
- } | undefined;
1479
- }, {
1480
- name: string;
1481
- id: string;
1482
- roles: string[];
1483
- organization: {
1484
- id: string;
1485
- namespace?: string | undefined;
1486
- organization_name?: string | undefined;
1487
- organization_site?: string | undefined;
1488
- permissions?: string[] | undefined;
1489
- metadata?: {
1490
- value: string;
1491
- namespace: string;
1492
- key: string;
1493
- } | undefined;
1494
- };
1495
- password: string;
1496
- verified: boolean;
1497
- description?: string | undefined;
1498
- email?: string | undefined;
1499
- first_name?: string | undefined;
1500
- last_name?: string | undefined;
1501
- job_title?: string | undefined;
1502
- externally_managed?: boolean | undefined;
1503
- city?: string | undefined;
1504
- state?: string | undefined;
1505
- country?: string | undefined;
1506
- user_type?: string | undefined;
1507
- token_type?: string | undefined;
1508
- avatar_image_id?: string | undefined;
1509
- avatar_image_url?: string | undefined;
1510
- origin_avatar_image_id?: string | undefined;
1511
- bio?: string | undefined;
1512
- phone_number?: string | undefined;
1513
- twitter_handle?: string | undefined;
1514
- linkedin_url?: string | undefined;
1515
- preferences?: {
1516
- locale: string;
1517
- timezone: string;
1518
- language: string[];
1519
- datetime: {
1520
- DATE: string;
1521
- DATE_TIME: string;
1522
- TIME: string;
1523
- SHORT_DATE: string;
1524
- LONG_DATETIME: string;
1525
- LONG_TIME: string;
1526
- };
1527
- cpUpgrade?: string | undefined;
1528
- } | undefined;
1529
- }>;
1530
- companyId: z.ZodNumber;
1531
- companyName: z.ZodString;
1532
- name: z.ZodString;
1533
- assortmentPartnerCompanyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1534
- retailer: z.ZodBoolean;
1535
- supplier: z.ZodBoolean;
1536
- registeredService: z.ZodObject<{
1537
- serviceId: z.ZodNumber;
1538
- identityServiceId: z.ZodNumber;
1539
- name: z.ZodString;
1540
- isActive: z.ZodBoolean;
1541
- }, "strip", z.ZodTypeAny, {
1542
- name: string;
1543
- isActive: boolean;
1544
- serviceId: number;
1545
- identityServiceId: number;
1546
- }, {
1547
- name: string;
1548
- isActive: boolean;
1549
- serviceId: number;
1550
- identityServiceId: number;
1551
- }>;
1552
- uniqueAttributes: z.ZodArray<z.ZodString, "many">;
1553
- admin: z.ZodBoolean;
1554
- adminToolUser: z.ZodBoolean;
1555
- attributeRegistryAdmin: z.ZodBoolean;
1556
- attributeRegistryDev: z.ZodBoolean;
1557
- attributeRegistryRsx: z.ZodBoolean;
1558
- attributeRegistryUser: z.ZodBoolean;
1559
- attributeRegistryViewer: z.ZodBoolean;
1560
- }, "strip", z.ZodTypeAny, {
1561
- name: string;
1562
- companyId: number;
1563
- companyName: string;
1564
- identityUser: {
1565
- name: string;
1566
- id: string;
1567
- roles: string[];
1568
- organization: {
1569
- id: string;
1570
- namespace?: string | undefined;
1571
- organization_name?: string | undefined;
1572
- organization_site?: string | undefined;
1573
- permissions?: string[] | undefined;
1574
- metadata?: {
1575
- value: string;
1576
- namespace: string;
1577
- key: string;
1578
- } | undefined;
1579
- };
1580
- password: string;
1581
- verified: boolean;
1582
- description?: string | undefined;
1583
- email?: string | undefined;
1584
- first_name?: string | undefined;
1585
- last_name?: string | undefined;
1586
- job_title?: string | undefined;
1587
- externally_managed?: boolean | undefined;
1588
- city?: string | undefined;
1589
- state?: string | undefined;
1590
- country?: string | undefined;
1591
- user_type?: string | undefined;
1592
- token_type?: string | undefined;
1593
- avatar_image_id?: string | undefined;
1594
- avatar_image_url?: string | undefined;
1595
- origin_avatar_image_id?: string | undefined;
1596
- bio?: string | undefined;
1597
- phone_number?: string | undefined;
1598
- twitter_handle?: string | undefined;
1599
- linkedin_url?: string | undefined;
1600
- preferences?: {
1601
- locale: string;
1602
- timezone: string;
1603
- language: string[];
1604
- datetime: {
1605
- DATE: string;
1606
- DATE_TIME: string;
1607
- TIME: string;
1608
- SHORT_DATE: string;
1609
- LONG_DATETIME: string;
1610
- LONG_TIME: string;
1611
- };
1612
- cpUpgrade?: string | undefined;
1613
- } | undefined;
1614
- };
1615
- retailer: boolean;
1616
- supplier: boolean;
1617
- registeredService: {
1618
- name: string;
1619
- isActive: boolean;
1620
- serviceId: number;
1621
- identityServiceId: number;
1622
- };
1623
- uniqueAttributes: string[];
1624
- admin: boolean;
1625
- adminToolUser: boolean;
1626
- attributeRegistryAdmin: boolean;
1627
- attributeRegistryDev: boolean;
1628
- attributeRegistryRsx: boolean;
1629
- attributeRegistryUser: boolean;
1630
- attributeRegistryViewer: boolean;
1631
- assortmentPartnerCompanyId?: number | null | undefined;
1632
- }, {
1633
- name: string;
1634
- companyId: number;
1635
- companyName: string;
1636
- identityUser: {
1637
- name: string;
1638
- id: string;
1639
- roles: string[];
1640
- organization: {
1641
- id: string;
1642
- namespace?: string | undefined;
1643
- organization_name?: string | undefined;
1644
- organization_site?: string | undefined;
1645
- permissions?: string[] | undefined;
1646
- metadata?: {
1647
- value: string;
1648
- namespace: string;
1649
- key: string;
1650
- } | undefined;
1651
- };
1652
- password: string;
1653
- verified: boolean;
1654
- description?: string | undefined;
1655
- email?: string | undefined;
1656
- first_name?: string | undefined;
1657
- last_name?: string | undefined;
1658
- job_title?: string | undefined;
1659
- externally_managed?: boolean | undefined;
1660
- city?: string | undefined;
1661
- state?: string | undefined;
1662
- country?: string | undefined;
1663
- user_type?: string | undefined;
1664
- token_type?: string | undefined;
1665
- avatar_image_id?: string | undefined;
1666
- avatar_image_url?: string | undefined;
1667
- origin_avatar_image_id?: string | undefined;
1668
- bio?: string | undefined;
1669
- phone_number?: string | undefined;
1670
- twitter_handle?: string | undefined;
1671
- linkedin_url?: string | undefined;
1672
- preferences?: {
1673
- locale: string;
1674
- timezone: string;
1675
- language: string[];
1676
- datetime: {
1677
- DATE: string;
1678
- DATE_TIME: string;
1679
- TIME: string;
1680
- SHORT_DATE: string;
1681
- LONG_DATETIME: string;
1682
- LONG_TIME: string;
1683
- };
1684
- cpUpgrade?: string | undefined;
1685
- } | undefined;
1686
- };
1687
- retailer: boolean;
1688
- supplier: boolean;
1689
- registeredService: {
1690
- name: string;
1691
- isActive: boolean;
1692
- serviceId: number;
1693
- identityServiceId: number;
1694
- };
1695
- uniqueAttributes: string[];
1696
- admin: boolean;
1697
- adminToolUser: boolean;
1698
- attributeRegistryAdmin: boolean;
1699
- attributeRegistryDev: boolean;
1700
- attributeRegistryRsx: boolean;
1701
- attributeRegistryUser: boolean;
1702
- attributeRegistryViewer: boolean;
1703
- assortmentPartnerCompanyId?: number | null | undefined;
1704
- }>;
1705
- type UserAccount = z.infer<typeof userAccountSchema>;
1706
-
1707
- declare const itemSearchViewSchema: z.ZodObject<{
1708
- itemTable: z.ZodObject<{
1709
- headers: z.ZodObject<{
1710
- status: z.ZodOptional<z.ZodString>;
1711
- catalogName: z.ZodString;
1712
- productCodeName: z.ZodString;
1713
- selectionCodeName: z.ZodString;
1714
- gtin: z.ZodString;
1715
- upc: z.ZodString;
1716
- ean: z.ZodString;
1717
- isbn: z.ZodString;
1718
- partNumber: z.ZodString;
1719
- lastUpdatedDateString: z.ZodString;
1720
- companyId: z.ZodString;
1721
- itemInfoId: z.ZodString;
1722
- }, "strip", z.ZodTypeAny, {
1723
- companyId: string;
1724
- catalogName: string;
1725
- productCodeName: string;
1726
- selectionCodeName: string;
1727
- gtin: string;
1728
- upc: string;
1729
- ean: string;
1730
- isbn: string;
1731
- partNumber: string;
1732
- lastUpdatedDateString: string;
1733
- itemInfoId: string;
1734
- status?: string | undefined;
1735
- }, {
1736
- companyId: string;
1737
- catalogName: string;
1738
- productCodeName: string;
1739
- selectionCodeName: string;
1740
- gtin: string;
1741
- upc: string;
1742
- ean: string;
1743
- isbn: string;
1744
- partNumber: string;
1745
- lastUpdatedDateString: string;
1746
- itemInfoId: string;
1747
- status?: string | undefined;
1748
- }>;
1749
- itemMaps: z.ZodArray<z.ZodObject<{
1750
- rn: z.ZodOptional<z.ZodNumber>;
1751
- iteminfoid: z.ZodString;
1752
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1753
- companyId: z.ZodNumber;
1754
- companyName: z.ZodString;
1755
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1756
- isValid: z.ZodBoolean;
1757
- }, "strip", z.ZodTypeAny, {
1758
- companyId: number;
1759
- companyName: string;
1760
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1761
- isValid: boolean;
1762
- }, {
1763
- companyId: number;
1764
- companyName: string;
1765
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1766
- isValid: boolean;
1767
- }>, "many">>;
1768
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1769
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1770
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1772
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1773
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1774
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1775
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1777
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1778
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1779
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1780
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1781
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1782
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1783
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1784
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1785
- rn: z.ZodOptional<z.ZodNumber>;
1786
- iteminfoid: z.ZodString;
1787
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1788
- companyId: z.ZodNumber;
1789
- companyName: z.ZodString;
1790
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1791
- isValid: z.ZodBoolean;
1792
- }, "strip", z.ZodTypeAny, {
1793
- companyId: number;
1794
- companyName: string;
1795
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1796
- isValid: boolean;
1797
- }, {
1798
- companyId: number;
1799
- companyName: string;
1800
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1801
- isValid: boolean;
1802
- }>, "many">>;
1803
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1804
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1805
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1806
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1807
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1808
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1809
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1810
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1811
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1812
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1813
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1814
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1815
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1816
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1817
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1818
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1819
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1820
- rn: z.ZodOptional<z.ZodNumber>;
1821
- iteminfoid: z.ZodString;
1822
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1823
- companyId: z.ZodNumber;
1824
- companyName: z.ZodString;
1825
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1826
- isValid: z.ZodBoolean;
1827
- }, "strip", z.ZodTypeAny, {
1828
- companyId: number;
1829
- companyName: string;
1830
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1831
- isValid: boolean;
1832
- }, {
1833
- companyId: number;
1834
- companyName: string;
1835
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1836
- isValid: boolean;
1837
- }>, "many">>;
1838
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1839
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1841
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1842
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1843
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1844
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1845
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1846
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1847
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1849
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1850
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1851
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1852
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1853
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1854
- }, z.ZodTypeAny, "passthrough">>, "many">;
1855
- }, "strip", z.ZodTypeAny, {
1856
- headers: {
1857
- companyId: string;
1858
- catalogName: string;
1859
- productCodeName: string;
1860
- selectionCodeName: string;
1861
- gtin: string;
1862
- upc: string;
1863
- ean: string;
1864
- isbn: string;
1865
- partNumber: string;
1866
- lastUpdatedDateString: string;
1867
- itemInfoId: string;
1868
- status?: string | undefined;
1869
- };
1870
- itemMaps: z.objectOutputType<{
1871
- rn: z.ZodOptional<z.ZodNumber>;
1872
- iteminfoid: z.ZodString;
1873
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1874
- companyId: z.ZodNumber;
1875
- companyName: z.ZodString;
1876
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1877
- isValid: z.ZodBoolean;
1878
- }, "strip", z.ZodTypeAny, {
1879
- companyId: number;
1880
- companyName: string;
1881
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1882
- isValid: boolean;
1883
- }, {
1884
- companyId: number;
1885
- companyName: string;
1886
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1887
- isValid: boolean;
1888
- }>, "many">>;
1889
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1890
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1891
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1893
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1894
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1895
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1896
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1897
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1898
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1899
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1900
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1901
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1902
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1903
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1904
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1905
- }, z.ZodTypeAny, "passthrough">[];
1906
- }, {
1907
- headers: {
1908
- companyId: string;
1909
- catalogName: string;
1910
- productCodeName: string;
1911
- selectionCodeName: string;
1912
- gtin: string;
1913
- upc: string;
1914
- ean: string;
1915
- isbn: string;
1916
- partNumber: string;
1917
- lastUpdatedDateString: string;
1918
- itemInfoId: string;
1919
- status?: string | undefined;
1920
- };
1921
- itemMaps: z.objectInputType<{
1922
- rn: z.ZodOptional<z.ZodNumber>;
1923
- iteminfoid: z.ZodString;
1924
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1925
- companyId: z.ZodNumber;
1926
- companyName: z.ZodString;
1927
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1928
- isValid: z.ZodBoolean;
1929
- }, "strip", z.ZodTypeAny, {
1930
- companyId: number;
1931
- companyName: string;
1932
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1933
- isValid: boolean;
1934
- }, {
1935
- companyId: number;
1936
- companyName: string;
1937
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1938
- isValid: boolean;
1939
- }>, "many">>;
1940
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1941
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1942
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1943
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1944
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1945
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1947
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1948
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1949
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1950
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1951
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1952
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1953
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1954
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1955
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1956
- }, z.ZodTypeAny, "passthrough">[];
1957
- }>;
1958
- hasNext: z.ZodBoolean;
1959
- count: z.ZodNumber;
1960
- }, "strip", z.ZodTypeAny, {
1961
- count: number;
1962
- hasNext: boolean;
1963
- itemTable: {
1964
- headers: {
1965
- companyId: string;
1966
- catalogName: string;
1967
- productCodeName: string;
1968
- selectionCodeName: string;
1969
- gtin: string;
1970
- upc: string;
1971
- ean: string;
1972
- isbn: string;
1973
- partNumber: string;
1974
- lastUpdatedDateString: string;
1975
- itemInfoId: string;
1976
- status?: string | undefined;
1977
- };
1978
- itemMaps: z.objectOutputType<{
1979
- rn: z.ZodOptional<z.ZodNumber>;
1980
- iteminfoid: z.ZodString;
1981
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1982
- companyId: z.ZodNumber;
1983
- companyName: z.ZodString;
1984
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
1985
- isValid: z.ZodBoolean;
1986
- }, "strip", z.ZodTypeAny, {
1987
- companyId: number;
1988
- companyName: string;
1989
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1990
- isValid: boolean;
1991
- }, {
1992
- companyId: number;
1993
- companyName: string;
1994
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
1995
- isValid: boolean;
1996
- }>, "many">>;
1997
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1998
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1999
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2000
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2001
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2002
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2003
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2004
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2005
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2006
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2007
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2008
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2009
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2010
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2011
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2012
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2013
- }, z.ZodTypeAny, "passthrough">[];
2014
- };
2015
- }, {
2016
- count: number;
2017
- hasNext: boolean;
2018
- itemTable: {
2019
- headers: {
2020
- companyId: string;
2021
- catalogName: string;
2022
- productCodeName: string;
2023
- selectionCodeName: string;
2024
- gtin: string;
2025
- upc: string;
2026
- ean: string;
2027
- isbn: string;
2028
- partNumber: string;
2029
- lastUpdatedDateString: string;
2030
- itemInfoId: string;
2031
- status?: string | undefined;
2032
- };
2033
- itemMaps: z.objectInputType<{
2034
- rn: z.ZodOptional<z.ZodNumber>;
2035
- iteminfoid: z.ZodString;
2036
- tradingPartnerStages: z.ZodOptional<z.ZodArray<z.ZodObject<{
2037
- companyId: z.ZodNumber;
2038
- companyName: z.ZodString;
2039
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
2040
- isValid: z.ZodBoolean;
2041
- }, "strip", z.ZodTypeAny, {
2042
- companyId: number;
2043
- companyName: string;
2044
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
2045
- isValid: boolean;
2046
- }, {
2047
- companyId: number;
2048
- companyName: string;
2049
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
2050
- isValid: boolean;
2051
- }>, "many">>;
2052
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2053
- catalogname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2054
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2055
- lastupdateddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2056
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2057
- productcodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2058
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2059
- selectioncodename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2060
- createddatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2061
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2062
- consumeravailabledatestring: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2063
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2064
- nrfcolorcode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2065
- nrfsizecode: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2066
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2067
- productsizedescription: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2068
- }, z.ZodTypeAny, "passthrough">[];
2069
- };
2070
- }>;
2071
- type ItemSearchView = z.infer<typeof itemSearchViewSchema>;
2072
-
2073
- declare const itemDetailViewSchema: z.ZodObject<{
2074
- item: z.ZodObject<{
2075
- iteminfoid: z.ZodNumber;
2076
- companyid: z.ZodNumber;
2077
- status: z.ZodString;
2078
- createdDate: z.ZodString;
2079
- lastUpdatedDate: z.ZodString;
2080
- identifiers: z.ZodRecord<z.ZodString, z.ZodAny>;
2081
- hierarchyDetails: z.ZodObject<{
2082
- catalogs: z.ZodArray<z.ZodObject<{
2083
- name: z.ZodString;
2084
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2085
- id: z.ZodNumber;
2086
- companyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2087
- type: z.ZodEnum<["ALIAS", "CATALOG", "EXPORT", "LEGACY_PRODUCT_TYPE", "PRODUCT_CLASSIFICATION", "PRODUCT_CODE", "SELECTION_CODE", "TAG", "TAXONOMY_ROOT"]>;
2088
- }, "strip", z.ZodTypeAny, {
2089
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2090
- name: string;
2091
- id: number;
2092
- description?: string | null | undefined;
2093
- companyId?: number | null | undefined;
2094
- }, {
2095
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2096
- name: string;
2097
- id: number;
2098
- description?: string | null | undefined;
2099
- companyId?: number | null | undefined;
2100
- }>, "many">;
2101
- selectionCodes: z.ZodArray<z.ZodObject<{
2102
- name: z.ZodString;
2103
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
- id: z.ZodNumber;
2105
- companyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2106
- type: z.ZodEnum<["ALIAS", "CATALOG", "EXPORT", "LEGACY_PRODUCT_TYPE", "PRODUCT_CLASSIFICATION", "PRODUCT_CODE", "SELECTION_CODE", "TAG", "TAXONOMY_ROOT"]>;
2107
- }, "strip", z.ZodTypeAny, {
2108
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2109
- name: string;
2110
- id: number;
2111
- description?: string | null | undefined;
2112
- companyId?: number | null | undefined;
2113
- }, {
2114
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2115
- name: string;
2116
- id: number;
2117
- description?: string | null | undefined;
2118
- companyId?: number | null | undefined;
2119
- }>, "many">;
2120
- productCodes: z.ZodArray<z.ZodObject<{
2121
- name: z.ZodString;
2122
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2123
- id: z.ZodNumber;
2124
- companyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2125
- type: z.ZodEnum<["ALIAS", "CATALOG", "EXPORT", "LEGACY_PRODUCT_TYPE", "PRODUCT_CLASSIFICATION", "PRODUCT_CODE", "SELECTION_CODE", "TAG", "TAXONOMY_ROOT"]>;
2126
- }, "strip", z.ZodTypeAny, {
2127
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2128
- name: string;
2129
- id: number;
2130
- description?: string | null | undefined;
2131
- companyId?: number | null | undefined;
2132
- }, {
2133
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2134
- name: string;
2135
- id: number;
2136
- description?: string | null | undefined;
2137
- companyId?: number | null | undefined;
2138
- }>, "many">;
2139
- }, "strip", z.ZodTypeAny, {
2140
- catalogs: {
2141
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2142
- name: string;
2143
- id: number;
2144
- description?: string | null | undefined;
2145
- companyId?: number | null | undefined;
2146
- }[];
2147
- selectionCodes: {
2148
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2149
- name: string;
2150
- id: number;
2151
- description?: string | null | undefined;
2152
- companyId?: number | null | undefined;
2153
- }[];
2154
- productCodes: {
2155
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2156
- name: string;
2157
- id: number;
2158
- description?: string | null | undefined;
2159
- companyId?: number | null | undefined;
2160
- }[];
2161
- }, {
2162
- catalogs: {
2163
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2164
- name: string;
2165
- id: number;
2166
- description?: string | null | undefined;
2167
- companyId?: number | null | undefined;
2168
- }[];
2169
- selectionCodes: {
2170
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2171
- name: string;
2172
- id: number;
2173
- description?: string | null | undefined;
2174
- companyId?: number | null | undefined;
2175
- }[];
2176
- productCodes: {
2177
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2178
- name: string;
2179
- id: number;
2180
- description?: string | null | undefined;
2181
- companyId?: number | null | undefined;
2182
- }[];
2183
- }>;
2184
- groupedAttributes: z.ZodArray<z.ZodObject<{
2185
- type: z.ZodString;
2186
- attributes: z.ZodArray<z.ZodObject<{
2187
- type: z.ZodEnum<["TEXT", "SET", "INTEGER", "FLOAT", "BOOLEAN", "DATE", "KEYVALUE", "STRING", "REAL"]>;
2188
- name: z.ZodString;
2189
- value: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodNumber, "many">]>>;
2190
- label: z.ZodString;
2191
- group: z.ZodString;
2192
- orderBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2193
- }, "strip", z.ZodTypeAny, {
2194
- value: string | number | string[] | number[] | null;
2195
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2196
- name: string;
2197
- label: string;
2198
- group: string;
2199
- orderBy?: string | number | null | undefined;
2200
- }, {
2201
- value: string | number | string[] | number[] | null;
2202
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2203
- name: string;
2204
- label: string;
2205
- group: string;
2206
- orderBy?: string | number | null | undefined;
2207
- }>, "many">;
2208
- attributeGroups: z.ZodArray<z.ZodObject<{
2209
- type: z.ZodString;
2210
- rows: z.ZodArray<z.ZodArray<z.ZodObject<{
2211
- type: z.ZodEnum<["TEXT", "SET", "INTEGER", "FLOAT", "BOOLEAN", "DATE", "KEYVALUE", "STRING", "REAL"]>;
2212
- name: z.ZodString;
2213
- value: z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodString, "many">]>, z.ZodArray<z.ZodNumber, "many">]>>;
2214
- label: z.ZodString;
2215
- group: z.ZodString;
2216
- orderBy: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2217
- }, "strip", z.ZodTypeAny, {
2218
- value: string | number | string[] | number[] | null;
2219
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2220
- name: string;
2221
- label: string;
2222
- group: string;
2223
- orderBy?: string | number | null | undefined;
2224
- }, {
2225
- value: string | number | string[] | number[] | null;
2226
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2227
- name: string;
2228
- label: string;
2229
- group: string;
2230
- orderBy?: string | number | null | undefined;
2231
- }>, "many">, "many">;
2232
- repeatableGroups: z.ZodArray<z.ZodObject<{
2233
- repeatableGroupId: z.ZodString;
2234
- repeatableNumber: z.ZodNumber;
2235
- }, "strip", z.ZodTypeAny, {
2236
- repeatableGroupId: string;
2237
- repeatableNumber: number;
2238
- }, {
2239
- repeatableGroupId: string;
2240
- repeatableNumber: number;
2241
- }>, "many">;
2242
- }, "strip", z.ZodTypeAny, {
2243
- type: string;
2244
- rows: {
2245
- value: string | number | string[] | number[] | null;
2246
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2247
- name: string;
2248
- label: string;
2249
- group: string;
2250
- orderBy?: string | number | null | undefined;
2251
- }[][];
2252
- repeatableGroups: {
2253
- repeatableGroupId: string;
2254
- repeatableNumber: number;
2255
- }[];
2256
- }, {
2257
- type: string;
2258
- rows: {
2259
- value: string | number | string[] | number[] | null;
2260
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2261
- name: string;
2262
- label: string;
2263
- group: string;
2264
- orderBy?: string | number | null | undefined;
2265
- }[][];
2266
- repeatableGroups: {
2267
- repeatableGroupId: string;
2268
- repeatableNumber: number;
2269
- }[];
2270
- }>, "many">;
2271
- }, "strip", z.ZodTypeAny, {
2272
- type: string;
2273
- attributes: {
2274
- value: string | number | string[] | number[] | null;
2275
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2276
- name: string;
2277
- label: string;
2278
- group: string;
2279
- orderBy?: string | number | null | undefined;
2280
- }[];
2281
- attributeGroups: {
2282
- type: string;
2283
- rows: {
2284
- value: string | number | string[] | number[] | null;
2285
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2286
- name: string;
2287
- label: string;
2288
- group: string;
2289
- orderBy?: string | number | null | undefined;
2290
- }[][];
2291
- repeatableGroups: {
2292
- repeatableGroupId: string;
2293
- repeatableNumber: number;
2294
- }[];
2295
- }[];
2296
- }, {
2297
- type: string;
2298
- attributes: {
2299
- value: string | number | string[] | number[] | null;
2300
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2301
- name: string;
2302
- label: string;
2303
- group: string;
2304
- orderBy?: string | number | null | undefined;
2305
- }[];
2306
- attributeGroups: {
2307
- type: string;
2308
- rows: {
2309
- value: string | number | string[] | number[] | null;
2310
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2311
- name: string;
2312
- label: string;
2313
- group: string;
2314
- orderBy?: string | number | null | undefined;
2315
- }[][];
2316
- repeatableGroups: {
2317
- repeatableGroupId: string;
2318
- repeatableNumber: number;
2319
- }[];
2320
- }[];
2321
- }>, "many">;
2322
- packComponentDetails: z.ZodArray<z.ZodObject<{
2323
- itemInfo: z.ZodObject<{
2324
- companyid: z.ZodNumber;
2325
- createddate: z.ZodNumber;
2326
- isServiceApi: z.ZodBoolean;
2327
- isactive: z.ZodNumber;
2328
- isvalid: z.ZodNumber;
2329
- itemType: z.ZodString;
2330
- iteminfoid: z.ZodNumber;
2331
- itemtimestamp: z.ZodNumber;
2332
- serviceId: z.ZodNumber;
2333
- attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2334
- }, "strip", z.ZodTypeAny, {
2335
- attributes: Record<string, string | string[]>;
2336
- serviceId: number;
2337
- iteminfoid: number;
2338
- companyid: number;
2339
- createddate: number;
2340
- isServiceApi: boolean;
2341
- isactive: number;
2342
- isvalid: number;
2343
- itemType: string;
2344
- itemtimestamp: number;
2345
- }, {
2346
- attributes: Record<string, string | string[]>;
2347
- serviceId: number;
2348
- iteminfoid: number;
2349
- companyid: number;
2350
- createddate: number;
2351
- isServiceApi: boolean;
2352
- isactive: number;
2353
- isvalid: number;
2354
- itemType: string;
2355
- itemtimestamp: number;
2356
- }>;
2357
- itemPrices: z.ZodArray<z.ZodObject<{
2358
- amount: z.ZodNumber;
2359
- currency: z.ZodString;
2360
- id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2361
- priceDivision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2362
- iteminfoid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2363
- startdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2364
- enddate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2365
- qualifier: z.ZodString;
2366
- region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2367
- regionqualifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2368
- regiondescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2369
- partnercompanyid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2370
- itempricetimestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2371
- range_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2372
- date_range_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2373
- min_range: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2374
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2375
- priceConditionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2376
- priceUnitQuantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2377
- priceUnitQuantityUOM: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2378
- }, "strip", z.ZodTypeAny, {
2379
- amount: number;
2380
- currency: string;
2381
- qualifier: string;
2382
- id?: number | null | undefined;
2383
- gtin?: string | null | undefined;
2384
- iteminfoid?: number | null | undefined;
2385
- priceDivision?: string | null | undefined;
2386
- startdate?: string | null | undefined;
2387
- enddate?: string | null | undefined;
2388
- region?: string | null | undefined;
2389
- regionqualifier?: string | null | undefined;
2390
- regiondescription?: string | null | undefined;
2391
- partnercompanyid?: string | null | undefined;
2392
- itempricetimestamp?: number | null | undefined;
2393
- range_type?: string | null | undefined;
2394
- date_range_type?: string | null | undefined;
2395
- min_range?: number | null | undefined;
2396
- priceConditionDescription?: string | null | undefined;
2397
- priceUnitQuantity?: number | null | undefined;
2398
- priceUnitQuantityUOM?: string | null | undefined;
2399
- }, {
2400
- amount: number;
2401
- currency: string;
2402
- qualifier: string;
2403
- id?: number | null | undefined;
2404
- gtin?: string | null | undefined;
2405
- iteminfoid?: number | null | undefined;
2406
- priceDivision?: string | null | undefined;
2407
- startdate?: string | null | undefined;
2408
- enddate?: string | null | undefined;
2409
- region?: string | null | undefined;
2410
- regionqualifier?: string | null | undefined;
2411
- regiondescription?: string | null | undefined;
2412
- partnercompanyid?: string | null | undefined;
2413
- itempricetimestamp?: number | null | undefined;
2414
- range_type?: string | null | undefined;
2415
- date_range_type?: string | null | undefined;
2416
- min_range?: number | null | undefined;
2417
- priceConditionDescription?: string | null | undefined;
2418
- priceUnitQuantity?: number | null | undefined;
2419
- priceUnitQuantityUOM?: string | null | undefined;
2420
- }>, "many">;
2421
- }, "strip", z.ZodTypeAny, {
2422
- itemInfo: {
2423
- attributes: Record<string, string | string[]>;
2424
- serviceId: number;
2425
- iteminfoid: number;
2426
- companyid: number;
2427
- createddate: number;
2428
- isServiceApi: boolean;
2429
- isactive: number;
2430
- isvalid: number;
2431
- itemType: string;
2432
- itemtimestamp: number;
2433
- };
2434
- itemPrices: {
2435
- amount: number;
2436
- currency: string;
2437
- qualifier: string;
2438
- id?: number | null | undefined;
2439
- gtin?: string | null | undefined;
2440
- iteminfoid?: number | null | undefined;
2441
- priceDivision?: string | null | undefined;
2442
- startdate?: string | null | undefined;
2443
- enddate?: string | null | undefined;
2444
- region?: string | null | undefined;
2445
- regionqualifier?: string | null | undefined;
2446
- regiondescription?: string | null | undefined;
2447
- partnercompanyid?: string | null | undefined;
2448
- itempricetimestamp?: number | null | undefined;
2449
- range_type?: string | null | undefined;
2450
- date_range_type?: string | null | undefined;
2451
- min_range?: number | null | undefined;
2452
- priceConditionDescription?: string | null | undefined;
2453
- priceUnitQuantity?: number | null | undefined;
2454
- priceUnitQuantityUOM?: string | null | undefined;
2455
- }[];
2456
- }, {
2457
- itemInfo: {
2458
- attributes: Record<string, string | string[]>;
2459
- serviceId: number;
2460
- iteminfoid: number;
2461
- companyid: number;
2462
- createddate: number;
2463
- isServiceApi: boolean;
2464
- isactive: number;
2465
- isvalid: number;
2466
- itemType: string;
2467
- itemtimestamp: number;
2468
- };
2469
- itemPrices: {
2470
- amount: number;
2471
- currency: string;
2472
- qualifier: string;
2473
- id?: number | null | undefined;
2474
- gtin?: string | null | undefined;
2475
- iteminfoid?: number | null | undefined;
2476
- priceDivision?: string | null | undefined;
2477
- startdate?: string | null | undefined;
2478
- enddate?: string | null | undefined;
2479
- region?: string | null | undefined;
2480
- regionqualifier?: string | null | undefined;
2481
- regiondescription?: string | null | undefined;
2482
- partnercompanyid?: string | null | undefined;
2483
- itempricetimestamp?: number | null | undefined;
2484
- range_type?: string | null | undefined;
2485
- date_range_type?: string | null | undefined;
2486
- min_range?: number | null | undefined;
2487
- priceConditionDescription?: string | null | undefined;
2488
- priceUnitQuantity?: number | null | undefined;
2489
- priceUnitQuantityUOM?: string | null | undefined;
2490
- }[];
2491
- }>, "many">;
2492
- childComponentDetails: z.ZodArray<z.ZodObject<{
2493
- itemInfoId: z.ZodNumber;
2494
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2495
- saleable: z.ZodBoolean;
2496
- valid: z.ZodBoolean;
2497
- uniqueCriteria: z.ZodArray<z.ZodObject<{
2498
- name: z.ZodString;
2499
- value: z.ZodString;
2500
- }, "strip", z.ZodTypeAny, {
2501
- value: string;
2502
- name: string;
2503
- }, {
2504
- value: string;
2505
- name: string;
2506
- }>, "many">;
2507
- }, "strip", z.ZodTypeAny, {
2508
- valid: boolean;
2509
- itemInfoId: number;
2510
- saleable: boolean;
2511
- uniqueCriteria: {
2512
- value: string;
2513
- name: string;
2514
- }[];
2515
- description?: string | null | undefined;
2516
- }, {
2517
- valid: boolean;
2518
- itemInfoId: number;
2519
- saleable: boolean;
2520
- uniqueCriteria: {
2521
- value: string;
2522
- name: string;
2523
- }[];
2524
- description?: string | null | undefined;
2525
- }>, "many">;
2526
- parentComponentDetails: z.ZodArray<z.ZodObject<{
2527
- itemInfoId: z.ZodNumber;
2528
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2529
- saleable: z.ZodBoolean;
2530
- valid: z.ZodBoolean;
2531
- uniqueCriteria: z.ZodArray<z.ZodObject<{
2532
- name: z.ZodString;
2533
- value: z.ZodString;
2534
- }, "strip", z.ZodTypeAny, {
2535
- value: string;
2536
- name: string;
2537
- }, {
2538
- value: string;
2539
- name: string;
2540
- }>, "many">;
2541
- }, "strip", z.ZodTypeAny, {
2542
- valid: boolean;
2543
- itemInfoId: number;
2544
- saleable: boolean;
2545
- uniqueCriteria: {
2546
- value: string;
2547
- name: string;
2548
- }[];
2549
- description?: string | null | undefined;
2550
- }, {
2551
- valid: boolean;
2552
- itemInfoId: number;
2553
- saleable: boolean;
2554
- uniqueCriteria: {
2555
- value: string;
2556
- name: string;
2557
- }[];
2558
- description?: string | null | undefined;
2559
- }>, "many">;
2560
- locales: z.ZodArray<z.ZodString, "many">;
2561
- }, "strip", z.ZodTypeAny, {
2562
- status: string;
2563
- createdDate: string;
2564
- iteminfoid: number;
2565
- companyid: number;
2566
- lastUpdatedDate: string;
2567
- identifiers: Record<string, any>;
2568
- hierarchyDetails: {
2569
- catalogs: {
2570
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2571
- name: string;
2572
- id: number;
2573
- description?: string | null | undefined;
2574
- companyId?: number | null | undefined;
2575
- }[];
2576
- selectionCodes: {
2577
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2578
- name: string;
2579
- id: number;
2580
- description?: string | null | undefined;
2581
- companyId?: number | null | undefined;
2582
- }[];
2583
- productCodes: {
2584
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2585
- name: string;
2586
- id: number;
2587
- description?: string | null | undefined;
2588
- companyId?: number | null | undefined;
2589
- }[];
2590
- };
2591
- groupedAttributes: {
2592
- type: string;
2593
- attributes: {
2594
- value: string | number | string[] | number[] | null;
2595
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2596
- name: string;
2597
- label: string;
2598
- group: string;
2599
- orderBy?: string | number | null | undefined;
2600
- }[];
2601
- attributeGroups: {
2602
- type: string;
2603
- rows: {
2604
- value: string | number | string[] | number[] | null;
2605
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2606
- name: string;
2607
- label: string;
2608
- group: string;
2609
- orderBy?: string | number | null | undefined;
2610
- }[][];
2611
- repeatableGroups: {
2612
- repeatableGroupId: string;
2613
- repeatableNumber: number;
2614
- }[];
2615
- }[];
2616
- }[];
2617
- packComponentDetails: {
2618
- itemInfo: {
2619
- attributes: Record<string, string | string[]>;
2620
- serviceId: number;
2621
- iteminfoid: number;
2622
- companyid: number;
2623
- createddate: number;
2624
- isServiceApi: boolean;
2625
- isactive: number;
2626
- isvalid: number;
2627
- itemType: string;
2628
- itemtimestamp: number;
2629
- };
2630
- itemPrices: {
2631
- amount: number;
2632
- currency: string;
2633
- qualifier: string;
2634
- id?: number | null | undefined;
2635
- gtin?: string | null | undefined;
2636
- iteminfoid?: number | null | undefined;
2637
- priceDivision?: string | null | undefined;
2638
- startdate?: string | null | undefined;
2639
- enddate?: string | null | undefined;
2640
- region?: string | null | undefined;
2641
- regionqualifier?: string | null | undefined;
2642
- regiondescription?: string | null | undefined;
2643
- partnercompanyid?: string | null | undefined;
2644
- itempricetimestamp?: number | null | undefined;
2645
- range_type?: string | null | undefined;
2646
- date_range_type?: string | null | undefined;
2647
- min_range?: number | null | undefined;
2648
- priceConditionDescription?: string | null | undefined;
2649
- priceUnitQuantity?: number | null | undefined;
2650
- priceUnitQuantityUOM?: string | null | undefined;
2651
- }[];
2652
- }[];
2653
- childComponentDetails: {
2654
- valid: boolean;
2655
- itemInfoId: number;
2656
- saleable: boolean;
2657
- uniqueCriteria: {
2658
- value: string;
2659
- name: string;
2660
- }[];
2661
- description?: string | null | undefined;
2662
- }[];
2663
- parentComponentDetails: {
2664
- valid: boolean;
2665
- itemInfoId: number;
2666
- saleable: boolean;
2667
- uniqueCriteria: {
2668
- value: string;
2669
- name: string;
2670
- }[];
2671
- description?: string | null | undefined;
2672
- }[];
2673
- locales: string[];
2674
- }, {
2675
- status: string;
2676
- createdDate: string;
2677
- iteminfoid: number;
2678
- companyid: number;
2679
- lastUpdatedDate: string;
2680
- identifiers: Record<string, any>;
2681
- hierarchyDetails: {
2682
- catalogs: {
2683
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2684
- name: string;
2685
- id: number;
2686
- description?: string | null | undefined;
2687
- companyId?: number | null | undefined;
2688
- }[];
2689
- selectionCodes: {
2690
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2691
- name: string;
2692
- id: number;
2693
- description?: string | null | undefined;
2694
- companyId?: number | null | undefined;
2695
- }[];
2696
- productCodes: {
2697
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2698
- name: string;
2699
- id: number;
2700
- description?: string | null | undefined;
2701
- companyId?: number | null | undefined;
2702
- }[];
2703
- };
2704
- groupedAttributes: {
2705
- type: string;
2706
- attributes: {
2707
- value: string | number | string[] | number[] | null;
2708
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2709
- name: string;
2710
- label: string;
2711
- group: string;
2712
- orderBy?: string | number | null | undefined;
2713
- }[];
2714
- attributeGroups: {
2715
- type: string;
2716
- rows: {
2717
- value: string | number | string[] | number[] | null;
2718
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2719
- name: string;
2720
- label: string;
2721
- group: string;
2722
- orderBy?: string | number | null | undefined;
2723
- }[][];
2724
- repeatableGroups: {
2725
- repeatableGroupId: string;
2726
- repeatableNumber: number;
2727
- }[];
2728
- }[];
2729
- }[];
2730
- packComponentDetails: {
2731
- itemInfo: {
2732
- attributes: Record<string, string | string[]>;
2733
- serviceId: number;
2734
- iteminfoid: number;
2735
- companyid: number;
2736
- createddate: number;
2737
- isServiceApi: boolean;
2738
- isactive: number;
2739
- isvalid: number;
2740
- itemType: string;
2741
- itemtimestamp: number;
2742
- };
2743
- itemPrices: {
2744
- amount: number;
2745
- currency: string;
2746
- qualifier: string;
2747
- id?: number | null | undefined;
2748
- gtin?: string | null | undefined;
2749
- iteminfoid?: number | null | undefined;
2750
- priceDivision?: string | null | undefined;
2751
- startdate?: string | null | undefined;
2752
- enddate?: string | null | undefined;
2753
- region?: string | null | undefined;
2754
- regionqualifier?: string | null | undefined;
2755
- regiondescription?: string | null | undefined;
2756
- partnercompanyid?: string | null | undefined;
2757
- itempricetimestamp?: number | null | undefined;
2758
- range_type?: string | null | undefined;
2759
- date_range_type?: string | null | undefined;
2760
- min_range?: number | null | undefined;
2761
- priceConditionDescription?: string | null | undefined;
2762
- priceUnitQuantity?: number | null | undefined;
2763
- priceUnitQuantityUOM?: string | null | undefined;
2764
- }[];
2765
- }[];
2766
- childComponentDetails: {
2767
- valid: boolean;
2768
- itemInfoId: number;
2769
- saleable: boolean;
2770
- uniqueCriteria: {
2771
- value: string;
2772
- name: string;
2773
- }[];
2774
- description?: string | null | undefined;
2775
- }[];
2776
- parentComponentDetails: {
2777
- valid: boolean;
2778
- itemInfoId: number;
2779
- saleable: boolean;
2780
- uniqueCriteria: {
2781
- value: string;
2782
- name: string;
2783
- }[];
2784
- description?: string | null | undefined;
2785
- }[];
2786
- locales: string[];
2787
- }>;
2788
- }, "strip", z.ZodTypeAny, {
2789
- item: {
2790
- status: string;
2791
- createdDate: string;
2792
- iteminfoid: number;
2793
- companyid: number;
2794
- lastUpdatedDate: string;
2795
- identifiers: Record<string, any>;
2796
- hierarchyDetails: {
2797
- catalogs: {
2798
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2799
- name: string;
2800
- id: number;
2801
- description?: string | null | undefined;
2802
- companyId?: number | null | undefined;
2803
- }[];
2804
- selectionCodes: {
2805
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2806
- name: string;
2807
- id: number;
2808
- description?: string | null | undefined;
2809
- companyId?: number | null | undefined;
2810
- }[];
2811
- productCodes: {
2812
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2813
- name: string;
2814
- id: number;
2815
- description?: string | null | undefined;
2816
- companyId?: number | null | undefined;
2817
- }[];
2818
- };
2819
- groupedAttributes: {
2820
- type: string;
2821
- attributes: {
2822
- value: string | number | string[] | number[] | null;
2823
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2824
- name: string;
2825
- label: string;
2826
- group: string;
2827
- orderBy?: string | number | null | undefined;
2828
- }[];
2829
- attributeGroups: {
2830
- type: string;
2831
- rows: {
2832
- value: string | number | string[] | number[] | null;
2833
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2834
- name: string;
2835
- label: string;
2836
- group: string;
2837
- orderBy?: string | number | null | undefined;
2838
- }[][];
2839
- repeatableGroups: {
2840
- repeatableGroupId: string;
2841
- repeatableNumber: number;
2842
- }[];
2843
- }[];
2844
- }[];
2845
- packComponentDetails: {
2846
- itemInfo: {
2847
- attributes: Record<string, string | string[]>;
2848
- serviceId: number;
2849
- iteminfoid: number;
2850
- companyid: number;
2851
- createddate: number;
2852
- isServiceApi: boolean;
2853
- isactive: number;
2854
- isvalid: number;
2855
- itemType: string;
2856
- itemtimestamp: number;
2857
- };
2858
- itemPrices: {
2859
- amount: number;
2860
- currency: string;
2861
- qualifier: string;
2862
- id?: number | null | undefined;
2863
- gtin?: string | null | undefined;
2864
- iteminfoid?: number | null | undefined;
2865
- priceDivision?: string | null | undefined;
2866
- startdate?: string | null | undefined;
2867
- enddate?: string | null | undefined;
2868
- region?: string | null | undefined;
2869
- regionqualifier?: string | null | undefined;
2870
- regiondescription?: string | null | undefined;
2871
- partnercompanyid?: string | null | undefined;
2872
- itempricetimestamp?: number | null | undefined;
2873
- range_type?: string | null | undefined;
2874
- date_range_type?: string | null | undefined;
2875
- min_range?: number | null | undefined;
2876
- priceConditionDescription?: string | null | undefined;
2877
- priceUnitQuantity?: number | null | undefined;
2878
- priceUnitQuantityUOM?: string | null | undefined;
2879
- }[];
2880
- }[];
2881
- childComponentDetails: {
2882
- valid: boolean;
2883
- itemInfoId: number;
2884
- saleable: boolean;
2885
- uniqueCriteria: {
2886
- value: string;
2887
- name: string;
2888
- }[];
2889
- description?: string | null | undefined;
2890
- }[];
2891
- parentComponentDetails: {
2892
- valid: boolean;
2893
- itemInfoId: number;
2894
- saleable: boolean;
2895
- uniqueCriteria: {
2896
- value: string;
2897
- name: string;
2898
- }[];
2899
- description?: string | null | undefined;
2900
- }[];
2901
- locales: string[];
2902
- };
2903
- }, {
2904
- item: {
2905
- status: string;
2906
- createdDate: string;
2907
- iteminfoid: number;
2908
- companyid: number;
2909
- lastUpdatedDate: string;
2910
- identifiers: Record<string, any>;
2911
- hierarchyDetails: {
2912
- catalogs: {
2913
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2914
- name: string;
2915
- id: number;
2916
- description?: string | null | undefined;
2917
- companyId?: number | null | undefined;
2918
- }[];
2919
- selectionCodes: {
2920
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2921
- name: string;
2922
- id: number;
2923
- description?: string | null | undefined;
2924
- companyId?: number | null | undefined;
2925
- }[];
2926
- productCodes: {
2927
- type: "CATALOG" | "PRODUCT_CODE" | "SELECTION_CODE" | "ALIAS" | "EXPORT" | "LEGACY_PRODUCT_TYPE" | "PRODUCT_CLASSIFICATION" | "TAG" | "TAXONOMY_ROOT";
2928
- name: string;
2929
- id: number;
2930
- description?: string | null | undefined;
2931
- companyId?: number | null | undefined;
2932
- }[];
2933
- };
2934
- groupedAttributes: {
2935
- type: string;
2936
- attributes: {
2937
- value: string | number | string[] | number[] | null;
2938
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2939
- name: string;
2940
- label: string;
2941
- group: string;
2942
- orderBy?: string | number | null | undefined;
2943
- }[];
2944
- attributeGroups: {
2945
- type: string;
2946
- rows: {
2947
- value: string | number | string[] | number[] | null;
2948
- type: "TEXT" | "SET" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATE" | "KEYVALUE" | "STRING" | "REAL";
2949
- name: string;
2950
- label: string;
2951
- group: string;
2952
- orderBy?: string | number | null | undefined;
2953
- }[][];
2954
- repeatableGroups: {
2955
- repeatableGroupId: string;
2956
- repeatableNumber: number;
2957
- }[];
2958
- }[];
2959
- }[];
2960
- packComponentDetails: {
2961
- itemInfo: {
2962
- attributes: Record<string, string | string[]>;
2963
- serviceId: number;
2964
- iteminfoid: number;
2965
- companyid: number;
2966
- createddate: number;
2967
- isServiceApi: boolean;
2968
- isactive: number;
2969
- isvalid: number;
2970
- itemType: string;
2971
- itemtimestamp: number;
2972
- };
2973
- itemPrices: {
2974
- amount: number;
2975
- currency: string;
2976
- qualifier: string;
2977
- id?: number | null | undefined;
2978
- gtin?: string | null | undefined;
2979
- iteminfoid?: number | null | undefined;
2980
- priceDivision?: string | null | undefined;
2981
- startdate?: string | null | undefined;
2982
- enddate?: string | null | undefined;
2983
- region?: string | null | undefined;
2984
- regionqualifier?: string | null | undefined;
2985
- regiondescription?: string | null | undefined;
2986
- partnercompanyid?: string | null | undefined;
2987
- itempricetimestamp?: number | null | undefined;
2988
- range_type?: string | null | undefined;
2989
- date_range_type?: string | null | undefined;
2990
- min_range?: number | null | undefined;
2991
- priceConditionDescription?: string | null | undefined;
2992
- priceUnitQuantity?: number | null | undefined;
2993
- priceUnitQuantityUOM?: string | null | undefined;
2994
- }[];
2995
- }[];
2996
- childComponentDetails: {
2997
- valid: boolean;
2998
- itemInfoId: number;
2999
- saleable: boolean;
3000
- uniqueCriteria: {
3001
- value: string;
3002
- name: string;
3003
- }[];
3004
- description?: string | null | undefined;
3005
- }[];
3006
- parentComponentDetails: {
3007
- valid: boolean;
3008
- itemInfoId: number;
3009
- saleable: boolean;
3010
- uniqueCriteria: {
3011
- value: string;
3012
- name: string;
3013
- }[];
3014
- description?: string | null | undefined;
3015
- }[];
3016
- locales: string[];
3017
- };
3018
- }>;
3019
- type ItemDetailView = z.infer<typeof itemDetailViewSchema>;
3020
-
3021
- declare const itemErrorDetailsResultSchema: z.ZodObject<{
3022
- itemInfoId: z.ZodNumber;
3023
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3024
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3025
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3026
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3027
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3028
- itemName: z.ZodNullable<z.ZodString>;
3029
- itemErrorDetails: z.ZodArray<z.ZodObject<{
3030
- errorMessage: z.ZodString;
3031
- attributeName: z.ZodNullable<z.ZodString>;
3032
- tradingPartnerNames: z.ZodArray<z.ZodString, "many">;
3033
- phases: z.ZodArray<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>, "many">;
3034
- attributeDbNames: z.ZodArray<z.ZodString, "many">;
3035
- tradingPartnerStages: z.ZodArray<z.ZodObject<{
3036
- companyId: z.ZodNumber;
3037
- companyName: z.ZodString;
3038
- stage: z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED", "STANDARD_REQUIREMENTS"]>>;
3039
- isValid: z.ZodBoolean;
3040
- }, "strip", z.ZodTypeAny, {
3041
- companyId: number;
3042
- companyName: string;
3043
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3044
- isValid: boolean;
3045
- }, {
3046
- companyId: number;
3047
- companyName: string;
3048
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3049
- isValid: boolean;
3050
- }>, "many">;
3051
- repeatableGroupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3052
- }, "strip", z.ZodTypeAny, {
3053
- attributeName: string | null;
3054
- tradingPartnerStages: {
3055
- companyId: number;
3056
- companyName: string;
3057
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3058
- isValid: boolean;
3059
- }[];
3060
- errorMessage: string;
3061
- tradingPartnerNames: string[];
3062
- phases: ("CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS")[];
3063
- attributeDbNames: string[];
3064
- repeatableGroupId?: string | null | undefined;
3065
- }, {
3066
- attributeName: string | null;
3067
- tradingPartnerStages: {
3068
- companyId: number;
3069
- companyName: string;
3070
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3071
- isValid: boolean;
3072
- }[];
3073
- errorMessage: string;
3074
- tradingPartnerNames: string[];
3075
- phases: ("CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS")[];
3076
- attributeDbNames: string[];
3077
- repeatableGroupId?: string | null | undefined;
3078
- }>, "many">;
3079
- }, "strip", z.ZodTypeAny, {
3080
- itemInfoId: number;
3081
- itemName: string | null;
3082
- itemErrorDetails: {
3083
- attributeName: string | null;
3084
- tradingPartnerStages: {
3085
- companyId: number;
3086
- companyName: string;
3087
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3088
- isValid: boolean;
3089
- }[];
3090
- errorMessage: string;
3091
- tradingPartnerNames: string[];
3092
- phases: ("CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS")[];
3093
- attributeDbNames: string[];
3094
- repeatableGroupId?: string | null | undefined;
3095
- }[];
3096
- gtin?: string | null | undefined;
3097
- upc?: string | null | undefined;
3098
- ean?: string | null | undefined;
3099
- isbn?: string | null | undefined;
3100
- partnumber?: string | null | undefined;
3101
- }, {
3102
- itemInfoId: number;
3103
- itemName: string | null;
3104
- itemErrorDetails: {
3105
- attributeName: string | null;
3106
- tradingPartnerStages: {
3107
- companyId: number;
3108
- companyName: string;
3109
- stage: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS" | null;
3110
- isValid: boolean;
3111
- }[];
3112
- errorMessage: string;
3113
- tradingPartnerNames: string[];
3114
- phases: ("CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | "STANDARD_REQUIREMENTS")[];
3115
- attributeDbNames: string[];
3116
- repeatableGroupId?: string | null | undefined;
3117
- }[];
3118
- gtin?: string | null | undefined;
3119
- upc?: string | null | undefined;
3120
- ean?: string | null | undefined;
3121
- isbn?: string | null | undefined;
3122
- partnumber?: string | null | undefined;
3123
- }>;
3124
- type ItemErrorDetailsResult = z.infer<typeof itemErrorDetailsResultSchema>;
3125
-
3126
- declare const itemErrorSummaryResultV2Schema: z.ZodObject<{
3127
- hasNext: z.ZodBoolean;
3128
- errors: z.ZodArray<z.ZodObject<{
3129
- itemInfoId: z.ZodNumber;
3130
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3132
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3133
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3134
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3135
- colorfamily: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3136
- fit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3137
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3138
- distributioncentercode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3139
- accountnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3140
- erpid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3141
- totalErrors: z.ZodNumber;
3142
- tradingPartners: z.ZodArray<z.ZodString, "many">;
3143
- tradingPartnerIds: z.ZodArray<z.ZodNumber, "many">;
3144
- phases: z.ZodArray<z.ZodString, "many">;
3145
- tradingPartnerStages: z.ZodArray<z.ZodObject<{
3146
- companyId: z.ZodNumber;
3147
- companyName: z.ZodString;
3148
- stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED"]>>>;
3149
- isValid: z.ZodBoolean;
3150
- }, "strip", z.ZodTypeAny, {
3151
- companyId: number;
3152
- companyName: string;
3153
- isValid: boolean;
3154
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3155
- }, {
3156
- companyId: number;
3157
- companyName: string;
3158
- isValid: boolean;
3159
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3160
- }>, "many">;
3161
- validatedDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodNumber, z.ZodDate>>>;
3162
- }, "strip", z.ZodTypeAny, {
3163
- itemInfoId: number;
3164
- tradingPartnerStages: {
3165
- companyId: number;
3166
- companyName: string;
3167
- isValid: boolean;
3168
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3169
- }[];
3170
- phases: string[];
3171
- totalErrors: number;
3172
- tradingPartners: string[];
3173
- tradingPartnerIds: number[];
3174
- gtin?: string | null | undefined;
3175
- upc?: string | null | undefined;
3176
- ean?: string | null | undefined;
3177
- isbn?: string | null | undefined;
3178
- partnumber?: string | null | undefined;
3179
- productcolordescription?: string | null | undefined;
3180
- colorfamily?: string | null | undefined;
3181
- fit?: string | null | undefined;
3182
- distributioncentercode?: string | null | undefined;
3183
- accountnumber?: string | null | undefined;
3184
- erpid?: string | null | undefined;
3185
- validatedDate?: Date | null | undefined;
3186
- }, {
3187
- itemInfoId: number;
3188
- tradingPartnerStages: {
3189
- companyId: number;
3190
- companyName: string;
3191
- isValid: boolean;
3192
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3193
- }[];
3194
- phases: string[];
3195
- totalErrors: number;
3196
- tradingPartners: string[];
3197
- tradingPartnerIds: number[];
3198
- gtin?: string | null | undefined;
3199
- upc?: string | null | undefined;
3200
- ean?: string | null | undefined;
3201
- isbn?: string | null | undefined;
3202
- partnumber?: string | null | undefined;
3203
- productcolordescription?: string | null | undefined;
3204
- colorfamily?: string | null | undefined;
3205
- fit?: string | null | undefined;
3206
- distributioncentercode?: string | null | undefined;
3207
- accountnumber?: string | null | undefined;
3208
- erpid?: string | null | undefined;
3209
- validatedDate?: number | null | undefined;
3210
- }>, "many">;
3211
- }, "strip", z.ZodTypeAny, {
3212
- errors: {
3213
- itemInfoId: number;
3214
- tradingPartnerStages: {
3215
- companyId: number;
3216
- companyName: string;
3217
- isValid: boolean;
3218
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3219
- }[];
3220
- phases: string[];
3221
- totalErrors: number;
3222
- tradingPartners: string[];
3223
- tradingPartnerIds: number[];
3224
- gtin?: string | null | undefined;
3225
- upc?: string | null | undefined;
3226
- ean?: string | null | undefined;
3227
- isbn?: string | null | undefined;
3228
- partnumber?: string | null | undefined;
3229
- productcolordescription?: string | null | undefined;
3230
- colorfamily?: string | null | undefined;
3231
- fit?: string | null | undefined;
3232
- distributioncentercode?: string | null | undefined;
3233
- accountnumber?: string | null | undefined;
3234
- erpid?: string | null | undefined;
3235
- validatedDate?: Date | null | undefined;
3236
- }[];
3237
- hasNext: boolean;
3238
- }, {
3239
- errors: {
3240
- itemInfoId: number;
3241
- tradingPartnerStages: {
3242
- companyId: number;
3243
- companyName: string;
3244
- isValid: boolean;
3245
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3246
- }[];
3247
- phases: string[];
3248
- totalErrors: number;
3249
- tradingPartners: string[];
3250
- tradingPartnerIds: number[];
3251
- gtin?: string | null | undefined;
3252
- upc?: string | null | undefined;
3253
- ean?: string | null | undefined;
3254
- isbn?: string | null | undefined;
3255
- partnumber?: string | null | undefined;
3256
- productcolordescription?: string | null | undefined;
3257
- colorfamily?: string | null | undefined;
3258
- fit?: string | null | undefined;
3259
- distributioncentercode?: string | null | undefined;
3260
- accountnumber?: string | null | undefined;
3261
- erpid?: string | null | undefined;
3262
- validatedDate?: number | null | undefined;
3263
- }[];
3264
- hasNext: boolean;
3265
- }>;
3266
- type ItemErrorSummaryResultV2 = z.infer<typeof itemErrorSummaryResultV2Schema>;
3267
-
3268
- declare const itemErrorDetailsResultV2Schema: z.ZodObject<{
3269
- itemInfoId: z.ZodNumber;
3270
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3271
- isbn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3272
- gtin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3273
- partnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3274
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3275
- colorfamily: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3276
- fit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3277
- productcolordescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3278
- distributioncentercode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3279
- accountnumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3280
- erpid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3281
- itemName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3282
- itemErrorDetails: z.ZodArray<z.ZodObject<{
3283
- errorMessage: z.ZodString;
3284
- attributeName: z.ZodString;
3285
- attributeDbNames: z.ZodArray<z.ZodString, "many">;
3286
- tradingPartnerNames: z.ZodArray<z.ZodString, "many">;
3287
- phases: z.ZodSet<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED"]>>;
3288
- tradingPartnerStages: z.ZodArray<z.ZodObject<{
3289
- companyId: z.ZodNumber;
3290
- companyName: z.ZodString;
3291
- stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["CORE", "CORE_PLUS", "CORE_ADVANCED", "ENRICHED"]>>>;
3292
- isValid: z.ZodBoolean;
3293
- }, "strip", z.ZodTypeAny, {
3294
- companyId: number;
3295
- companyName: string;
3296
- isValid: boolean;
3297
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3298
- }, {
3299
- companyId: number;
3300
- companyName: string;
3301
- isValid: boolean;
3302
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3303
- }>, "many">;
3304
- repeatableGroupId: z.ZodString;
3305
- }, "strip", z.ZodTypeAny, {
3306
- attributeName: string;
3307
- tradingPartnerStages: {
3308
- companyId: number;
3309
- companyName: string;
3310
- isValid: boolean;
3311
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3312
- }[];
3313
- errorMessage: string;
3314
- tradingPartnerNames: string[];
3315
- phases: Set<"CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED">;
3316
- attributeDbNames: string[];
3317
- repeatableGroupId: string;
3318
- }, {
3319
- attributeName: string;
3320
- tradingPartnerStages: {
3321
- companyId: number;
3322
- companyName: string;
3323
- isValid: boolean;
3324
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3325
- }[];
3326
- errorMessage: string;
3327
- tradingPartnerNames: string[];
3328
- phases: Set<"CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED">;
3329
- attributeDbNames: string[];
3330
- repeatableGroupId: string;
3331
- }>, "many">;
3332
- }, "strip", z.ZodTypeAny, {
3333
- itemInfoId: number;
3334
- itemErrorDetails: {
3335
- attributeName: string;
3336
- tradingPartnerStages: {
3337
- companyId: number;
3338
- companyName: string;
3339
- isValid: boolean;
3340
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3341
- }[];
3342
- errorMessage: string;
3343
- tradingPartnerNames: string[];
3344
- phases: Set<"CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED">;
3345
- attributeDbNames: string[];
3346
- repeatableGroupId: string;
3347
- }[];
3348
- gtin?: string | null | undefined;
3349
- upc?: string | null | undefined;
3350
- ean?: string | null | undefined;
3351
- isbn?: string | null | undefined;
3352
- partnumber?: string | null | undefined;
3353
- productcolordescription?: string | null | undefined;
3354
- itemName?: string | null | undefined;
3355
- colorfamily?: string | null | undefined;
3356
- fit?: string | null | undefined;
3357
- distributioncentercode?: string | null | undefined;
3358
- accountnumber?: string | null | undefined;
3359
- erpid?: string | null | undefined;
3360
- }, {
3361
- itemInfoId: number;
3362
- itemErrorDetails: {
3363
- attributeName: string;
3364
- tradingPartnerStages: {
3365
- companyId: number;
3366
- companyName: string;
3367
- isValid: boolean;
3368
- stage?: "CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED" | null | undefined;
3369
- }[];
3370
- errorMessage: string;
3371
- tradingPartnerNames: string[];
3372
- phases: Set<"CORE" | "CORE_PLUS" | "CORE_ADVANCED" | "ENRICHED">;
3373
- attributeDbNames: string[];
3374
- repeatableGroupId: string;
3375
- }[];
3376
- gtin?: string | null | undefined;
3377
- upc?: string | null | undefined;
3378
- ean?: string | null | undefined;
3379
- isbn?: string | null | undefined;
3380
- partnumber?: string | null | undefined;
3381
- productcolordescription?: string | null | undefined;
3382
- itemName?: string | null | undefined;
3383
- colorfamily?: string | null | undefined;
3384
- fit?: string | null | undefined;
3385
- distributioncentercode?: string | null | undefined;
3386
- accountnumber?: string | null | undefined;
3387
- erpid?: string | null | undefined;
3388
- }>;
3389
- type ItemErrorDetailsResultV2 = z.infer<typeof itemErrorDetailsResultV2Schema>;
3390
-
3391
- declare const companyBriefByOrgSchema: z.ZodObject<{
3392
- companyId: z.ZodNumber;
3393
- name: z.ZodString;
3394
- orgId: z.ZodString;
3395
- companyType: z.ZodObject<{
3396
- type: z.ZodEnum<["SUPPLIER", "RETAILER"]>;
3397
- display: z.ZodEnum<["SUPPLIER", "RETAILER"]>;
3398
- }, "strip", z.ZodTypeAny, {
3399
- type: "SUPPLIER" | "RETAILER";
3400
- display: "SUPPLIER" | "RETAILER";
3401
- }, {
3402
- type: "SUPPLIER" | "RETAILER";
3403
- display: "SUPPLIER" | "RETAILER";
3404
- }>;
3405
- dc4Id: z.ZodNumber;
3406
- }, "strip", z.ZodTypeAny, {
3407
- name: string;
3408
- orgId: string;
3409
- companyId: number;
3410
- companyType: {
3411
- type: "SUPPLIER" | "RETAILER";
3412
- display: "SUPPLIER" | "RETAILER";
3413
- };
3414
- dc4Id: number;
3415
- }, {
3416
- name: string;
3417
- orgId: string;
3418
- companyId: number;
3419
- companyType: {
3420
- type: "SUPPLIER" | "RETAILER";
3421
- display: "SUPPLIER" | "RETAILER";
3422
- };
3423
- dc4Id: number;
3424
- }>;
3425
- type CompanyBriefByOrg = z.infer<typeof companyBriefByOrgSchema>;
3426
-
3427
- export { AsstClient as A, BASE_URLS as B, type CompanyBriefByOrg as C, attributeMetaDataSchema as D, type Export as E, attributesByCompanySchema as F, attributeValidValuesSchema as G, itemSearchViewSchema as H, type ImportErrors as I, itemDetailViewSchema as J, localeSchema as K, type Locale as L, spreadsheetTemplateSchema as M, tradingPartnerAccessByCompanyIdSchema as N, companyRelationshipUpsertBodySchema as O, userAccountSchema as P, itemErrorDetailsResultSchema as Q, itemErrorDetailsResultV2Schema as R, type SpreadsheetTemplate as S, type TradingPartnerAccessByCompanyId as T, type UserAccount as U, type VendorPartnerAttGroups as V, itemErrorSummaryResultV2Schema as W, companyBriefByOrgSchema as X, type Import as a, type ImportsStatus as b, type ItemCategoriesSearch as c, attrProdTypeSchema as d, type CompanyRelationshipUpsertBody as e, type ItemErrorDetailsResult as f, type ItemErrorSummaryResultV2 as g, type ItemErrorDetailsResultV2 as h, type ItemSearchView as i, type ItemDetailView as j, type AttributeMetaData as k, type AttributesByCompany as l, type AttributeDefinition as m, type AttributeValidValues as n, type AttrProdType as o, envSchema as p, type AsstClientOptions as q, type AsstUrl as r, type Env as s, importErrorsSchema as t, importSchema as u, importsStatusSchema as v, vendorPartnerAttGroupsSchema as w, exportSchema as x, itemCategoriesSearchSchema as y, attributeDefinitionSchema as z };